ARM GAS /tmp/cc9HXhVl.s page 1 1 .cpu cortex-m4 2 .arch armv7e-m 3 .fpu fpv4-sp-d16 4 .eabi_attribute 27, 1 5 .eabi_attribute 28, 1 6 .eabi_attribute 20, 1 7 .eabi_attribute 21, 1 8 .eabi_attribute 23, 3 9 .eabi_attribute 24, 1 10 .eabi_attribute 25, 1 11 .eabi_attribute 26, 1 12 .eabi_attribute 30, 1 13 .eabi_attribute 34, 1 14 .eabi_attribute 18, 4 15 .file "stm32g4xx_hal_tim_ex.c" 16 .text 17 .Ltext0: 18 .cfi_sections .debug_frame 19 .file 1 "Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c" 20 .section .text.TIM_CCxNChannelCmd,"ax",%progbits 21 .align 1 22 .syntax unified 23 .thumb 24 .thumb_func 26 TIM_CCxNChannelCmd: 27 .LVL0: 28 .LFB397: 1:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 2:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ****************************************************************************** 3:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @file stm32g4xx_hal_tim_ex.c 4:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @author MCD Application Team 5:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief TIM HAL module driver. 6:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This file provides firmware functions to manage the following 7:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * functionalities of the Timer Extended peripheral: 8:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * + Time Hall Sensor Interface Initialization 9:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * + Time Hall Sensor Interface Start 10:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * + Time Complementary signal break and dead time configuration 11:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * + Time Master and Slave synchronization configuration 12:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * + Time Output Compare/PWM Channel Configuration (for channels 5 and 6) 13:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * + Time OCRef clear configuration 14:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * + Timer remapping capabilities configuration 15:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * + Timer encoder index configuration 16:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ****************************************************************************** 17:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @attention 18:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 19:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * Copyright (c) 2019 STMicroelectronics. 20:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * All rights reserved. 21:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 22:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This software is licensed under terms that can be found in the LICENSE file 23:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * in the root directory of this software component. 24:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * If no LICENSE file comes with this software, it is provided AS-IS. 25:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 26:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ****************************************************************************** 27:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim 28:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== 29:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### TIMER Extended features ##### 30:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== ARM GAS /tmp/cc9HXhVl.s page 2 31:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..] 32:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** The Timer Extended features include: 33:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Complementary outputs with programmable dead-time for : 34:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) Output Compare 35:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) PWM generation (Edge and Center-aligned Mode) 36:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) One-pulse mode output 37:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Synchronization circuit to control the timer with external signals and to 38:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** interconnect several timers together. 39:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Break input to put the timer output signals in reset state or in a known state. 40:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Supports incremental (quadrature) encoder and hall-sensor circuitry for 41:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** positioning purposes 42:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) In case of Pulse on compare, configure pulse length and delay 43:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Encoder index configuration 44:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 45:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### How to use this driver ##### 46:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== 47:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..] 48:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Initialize the TIM low level resources by implementing the following functions 49:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** depending on the selected feature: 50:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) Hall Sensor output : HAL_TIMEx_HallSensor_MspInit() 51:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 52:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Initialize the TIM low level resources : 53:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (##) Enable the TIM interface clock using __HAL_RCC_TIMx_CLK_ENABLE(); 54:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (##) TIM pins configuration 55:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+++) Enable the clock for the TIM GPIOs using the following function: 56:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_RCC_GPIOx_CLK_ENABLE(); 57:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+++) Configure these TIM pins in Alternate function mode using HAL_GPIO_Init(); 58:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 59:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) The external Clock can be configured, if needed (the default clock is the 60:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** internal clock from the APBx), using the following function: 61:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ConfigClockSource, the clock configuration should be done before 62:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** any start function. 63:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 64:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Configure the TIM in the desired functioning mode using one of the 65:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** initialization function of this driver: 66:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) HAL_TIMEx_HallSensor_Init() and HAL_TIMEx_ConfigCommutEvent(): to use the 67:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Timer Hall Sensor Interface and the commutation event with the corresponding 68:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Interrupt and DMA request if needed (Note that One Timer is used to interface 69:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** with the Hall sensor Interface and another Timer should be used to use 70:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the commutation event). 71:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) In case of Pulse On Compare: 72:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) HAL_TIMEx_OC_ConfigPulseOnCompare(): to configure pulse width and prescaler 73:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 74:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 75:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Activate the TIM peripheral using one of the start functions: 76:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) Complementary Output Compare : HAL_TIMEx_OCN_Start(), HAL_TIMEx_OCN_Start_DMA(), 77:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIMEx_OCN_Start_IT() 78:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) Complementary PWM generation : HAL_TIMEx_PWMN_Start(), HAL_TIMEx_PWMN_Start_DMA(), 79:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIMEx_PWMN_Start_IT() 80:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) Complementary One-pulse mode output : HAL_TIMEx_OnePulseN_Start(), HAL_TIMEx_OnePul 81:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) Hall Sensor output : HAL_TIMEx_HallSensor_Start(), HAL_TIMEx_HallSensor_Start_DMA() 82:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIMEx_HallSensor_Start_IT(). 83:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 84:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim 85:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ****************************************************************************** 86:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 87:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/cc9HXhVl.s page 3 88:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Includes ------------------------------------------------------------------*/ 89:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #include "stm32g4xx_hal.h" 90:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 91:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @addtogroup STM32G4xx_HAL_Driver 92:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{ 93:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 94:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 95:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx TIMEx 96:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief TIM Extended HAL module driver 97:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{ 98:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 99:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #ifdef HAL_TIM_MODULE_ENABLED 101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Private typedef -----------------------------------------------------------*/ 103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Private define ------------------------------------------------------------*/ 104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Private constants ---------------------------------------------------------*/ 105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Private_Constants TIM Extended Private Constants 106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{ 107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Timeout for break input rearm */ 109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #define TIM_BREAKINPUT_REARM_TIMEOUT 5UL /* 5 milliseconds */ 110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @} 112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* End of private constants --------------------------------------------------*/ 114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Private macros ------------------------------------------------------------*/ 116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Private variables ---------------------------------------------------------*/ 117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Private function prototypes -----------------------------------------------*/ 118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** static void TIM_DMADelayPulseNCplt(DMA_HandleTypeDef *hdma); 119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** static void TIM_DMAErrorCCxN(DMA_HandleTypeDef *hdma); 120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** static void TIM_CCxNChannelCmd(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ChannelNState); 121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Exported functions --------------------------------------------------------*/ 123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions TIM Extended Exported Functions 124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{ 125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group1 Extended Timer Hall Sensor functions 128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Timer Hall Sensor functions 129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim 131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== 132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Timer Hall Sensor functions ##### 133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== 134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..] 135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** This section provides functions allowing to: 136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Initialize and configure TIM HAL Sensor. 137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) De-initialize TIM HAL Sensor. 138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Hall Sensor Interface. 139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Hall Sensor Interface. 140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Hall Sensor Interface and enable interrupts. 141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Hall Sensor Interface and disable interrupts. 142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Hall Sensor Interface and enable DMA transfers. 143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Hall Sensor Interface and disable DMA transfers. 144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/cc9HXhVl.s page 4 145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim 146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{ 147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Initializes the TIM Hall Sensor Interface and initialize the associated handle. 150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note When the timer instance is initialized in Hall Sensor Interface mode, 151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * timer channels 1 and channel 2 are reserved and cannot be used for 152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * other purpose. 153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle 154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param sConfig TIM Hall Sensor configuration structure 155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Init(TIM_HandleTypeDef *htim, TIM_HallSensor_InitTypeDef *sC 158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_OC_InitTypeDef OC_Config; 160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM handle allocation */ 162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (htim == NULL) 163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance)); 169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_IC_POLARITY(sConfig->IC1Polarity)); 173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->IC1Prescaler)); 174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_IC_FILTER(sConfig->IC1Filter)); 175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (htim->State == HAL_TIM_STATE_RESET) 177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Allocate lock resource and initialize it */ 179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Lock = HAL_UNLOCKED; 180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset interrupt callbacks to legacy week callbacks */ 183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ResetCallback(htim); 184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (htim->HallSensor_MspInitCallback == NULL) 186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->HallSensor_MspInitCallback = HAL_TIMEx_HallSensor_MspInit; 188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */ 190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->HallSensor_MspInitCallback(htim); 191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else 192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC and DMA */ 193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIMEx_HallSensor_MspInit(htim); 194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM state */ 198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_BUSY; 199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Configure the Time base in the Encoder Mode */ 201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_Base_SetConfig(htim->Instance, &htim->Init); ARM GAS /tmp/cc9HXhVl.s page 5 202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Configure the Channel 1 as Input Channel to interface with the three Outputs of the Hall sens 204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_TI1_SetConfig(htim->Instance, sConfig->IC1Polarity, TIM_ICSELECTION_TRC, sConfig->IC1Filter); 205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the IC1PSC Bits */ 207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CCMR1 &= ~TIM_CCMR1_IC1PSC; 208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the IC1PSC value */ 209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CCMR1 |= sConfig->IC1Prescaler; 210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Hall sensor interface (XOR function of the three inputs) */ 212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_CR2_TI1S; 213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TIM_TS_TI1F_ED signal as Input trigger for the TIM */ 215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS; 216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_TS_TI1F_ED; 217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Use the TIM_TS_TI1F_ED signal to reset the TIM counter each edge detection */ 219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR &= ~TIM_SMCR_SMS; 220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_RESET; 221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Program channel 2 in PWM 2 mode with the desired Commutation_Delay*/ 223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCFastMode = TIM_OCFAST_DISABLE; 224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCIdleState = TIM_OCIDLESTATE_RESET; 225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCMode = TIM_OCMODE_PWM2; 226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCNIdleState = TIM_OCNIDLESTATE_RESET; 227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCNPolarity = TIM_OCNPOLARITY_HIGH; 228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCPolarity = TIM_OCPOLARITY_HIGH; 229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.Pulse = sConfig->Commutation_Delay; 230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_OC2_SetConfig(htim->Instance, &OC_Config); 232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select OC2REF as trigger output on TRGO: write the MMS bits in the TIMx_CR2 234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** register to 101 */ 235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 &= ~TIM_CR2_MMS; 236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_TRGO_OC2REF; 237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Initialize the DMA burst operation state */ 239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY; 240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Initialize the TIM channels state */ 242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Initialize the TIM state*/ 248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY; 249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief DeInitializes the TIM Hall Sensor interface 255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle 256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_DeInit(TIM_HandleTypeDef *htim) ARM GAS /tmp/cc9HXhVl.s page 6 259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_BUSY; 264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Peripheral Clock */ 266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim); 267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (htim->HallSensor_MspDeInitCallback == NULL) 270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->HallSensor_MspDeInitCallback = HAL_TIMEx_HallSensor_MspDeInit; 272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* DeInit the low level hardware */ 274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->HallSensor_MspDeInitCallback(htim); 275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else 276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC */ 277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIMEx_HallSensor_MspDeInit(htim); 278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the DMA burst operation state */ 281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_RESET; 282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the TIM channels state */ 284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET); 285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET); 286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET); 287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET); 288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change TIM state */ 290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_RESET; 291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Release Lock */ 293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim); 294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Initializes the TIM Hall Sensor MSP. 300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle 301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_HallSensor_MspInit(TIM_HandleTypeDef *htim) 304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim); 307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed, 309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_HallSensor_MspInit could be implemented in the user file 310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief DeInitializes TIM Hall Sensor MSP. 315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle ARM GAS /tmp/cc9HXhVl.s page 7 316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_HallSensor_MspDeInit(TIM_HandleTypeDef *htim) 319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim); 322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed, 324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_HallSensor_MspDeInit could be implemented in the user file 325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM Hall Sensor Interface. 330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle 331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start(TIM_HandleTypeDef *htim) 334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance)); 343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM channels state */ 345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */ 354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Input Capture channel 1 360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (in the Hall Sensor Interface the three possible channels that can be used are TIM_CHANNEL_1, 361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_2 and TIM_CHANNEL_3) */ 362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); 363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger 365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } ARM GAS /tmp/cc9HXhVl.s page 8 373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM Hall sensor Interface. 384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle 385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop(TIM_HandleTypeDef *htim) 388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance)); 391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Input Capture channels 1, 2 and 3 393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (in the Hall Sensor Interface the three possible channels that can be used are TIM_CHANNEL_1, 394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_2 and TIM_CHANNEL_3) */ 395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE); 396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */ 398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim); 399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */ 401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM Hall Sensor Interface in interrupt mode. 412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle 413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start_IT(TIM_HandleTypeDef *htim) 416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance)); 425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM channels state */ 427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) ARM GAS /tmp/cc9HXhVl.s page 9 430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */ 436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the capture compare Interrupts 1 event */ 442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Input Capture channel 1 445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (in the Hall Sensor Interface the three possible channels that can be used are TIM_CHANNEL_1, 446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_2 and TIM_CHANNEL_3) */ 447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); 448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger 450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM Hall Sensor Interface in interrupt mode. 469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle 470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_IT(TIM_HandleTypeDef *htim) 473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance)); 476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Input Capture channel 1 478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (in the Hall Sensor Interface the three possible channels that can be used are TIM_CHANNEL_1, 479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_2 and TIM_CHANNEL_3) */ 480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE); 481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the capture compare Interrupts event */ 483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1); 484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */ 486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim); ARM GAS /tmp/cc9HXhVl.s page 10 487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */ 489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM Hall Sensor Interface in DMA mode. 500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle 501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param pData The destination Buffer address. 502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Length The length of data to be transferred from TIM peripheral to memory. 503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start_DMA(TIM_HandleTypeDef *htim, uint32_t *pData, uint16_t 506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance)); 513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channel state */ 515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY) 516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY)) 517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_BUSY; 519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if ((channel_1_state == HAL_TIM_CHANNEL_STATE_READY) 521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY)) 522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((pData == NULL) && (Length > 0U)) 524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Input Capture channel 1 539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (in the Hall Sensor Interface the three possible channels that can be used are TIM_CHANNEL_1, 540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_2 and TIM_CHANNEL_3) */ 541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); 542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA Input Capture 1 Callbacks */ ARM GAS /tmp/cc9HXhVl.s page 11 544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMACaptureCplt; 545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ; 548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel for Capture 1*/ 550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)&htim->Instance->CCR1, (uint32_t)pData 551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */ 553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the capture compare 1 Interrupt */ 556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1); 557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger 559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM Hall Sensor Interface in DMA mode. 578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle 579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_DMA(TIM_HandleTypeDef *htim) 582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance)); 585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Input Capture channel 1 587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (in the Hall Sensor Interface the three possible channels that can be used are TIM_CHANNEL_1, 588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_2 and TIM_CHANNEL_3) */ 589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE); 590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the capture compare Interrupts 1 event */ 593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1); 594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */ 598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim); 599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channel state */ ARM GAS /tmp/cc9HXhVl.s page 12 601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @} 610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group2 Extended Timer Complementary Output Compare functions 613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Timer Complementary Output Compare functions 614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim 616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== 617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Timer Complementary Output Compare functions ##### 618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== 619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..] 620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** This section provides functions allowing to: 621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary Output Compare/PWM. 622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary Output Compare/PWM. 623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary Output Compare/PWM and enable interrupts. 624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary Output Compare/PWM and disable interrupts. 625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary Output Compare/PWM and enable DMA transfers. 626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary Output Compare/PWM and disable DMA transfers. 627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim 629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{ 630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM Output Compare signal generation on the complementary 634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * output. 635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Output Compare handle 636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be enabled 637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Start(TIM_HandleTypeDef *htim, uint32_t Channel) 645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); 650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM complementary channel state */ 652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY) 653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */ ARM GAS /tmp/cc9HXhVl.s page 13 658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Capture compare channel N */ 661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE); 662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */ 664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim); 665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger 667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM Output Compare signal generation on the complementary 686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * output. 687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled 689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel) 697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); 700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Capture compare channel N */ 702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE); 703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */ 705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim); 706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */ 708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim); 709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */ 711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; ARM GAS /tmp/cc9HXhVl.s page 14 715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM Output Compare signal generation in interrupt mode 719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * on the complementary output. 720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM OC handle 721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be enabled 722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel) 730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); 736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM complementary channel state */ 738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY) 739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */ 744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel) 747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1: 749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare interrupt */ 751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2: 756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare interrupt */ 758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3: 763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare interrupt */ 765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC3); 766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4: 771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { ARM GAS /tmp/cc9HXhVl.s page 15 772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare interrupt */ 773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC4); 774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR; 779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (status == HAL_OK) 783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Break interrupt */ 785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_BREAK); 786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Capture compare channel N */ 788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE); 789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */ 791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim); 792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigge 794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status; 810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM Output Compare signal generation in interrupt mode 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * on the complementary output. 815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Output Compare handle 816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled 817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel) 825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpccer; 828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/cc9HXhVl.s page 16 829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); 831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel) 833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1: 835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare interrupt */ 837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1); 838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2: 842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare interrupt */ 844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2); 845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3: 849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare interrupt */ 851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC3); 852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4: 856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare interrupt */ 858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC4); 859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR; 864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (status == HAL_OK) 868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Capture compare channel N */ 870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE); 871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Break interrupt (only if no more channel is active) */ 873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpccer = htim->Instance->CCER; 874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & (TIM_CCER_CC1NE | TIM_CCER_CC2NE | TIM_CCER_CC3NE | TIM_CCER_CC4NE)) == (uint32 875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_BREAK); 877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */ 880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim); 881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */ 883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim); 884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */ ARM GAS /tmp/cc9HXhVl.s page 17 886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status; 891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM Output Compare signal generation in DMA mode 895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * on the complementary output. 896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Output Compare handle 897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be enabled 898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param pData The source Buffer address. 904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Length The length of data to be transferred from memory to TIM peripheral 905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pDat 908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); 914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */ 916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_BUSY) 917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_BUSY; 919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_READY) 921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((pData == NULL) && (Length > 0U)) 923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel) 937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1: 939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */ 941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMADelayPulseNCplt; 942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; ARM GAS /tmp/cc9HXhVl.s page 18 943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAErrorCCxN ; 946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */ 948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)pData, (uint32_t)&htim->Instance-> 949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */ 952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare DMA request */ 955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1); 956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2: 960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */ 962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMADelayPulseNCplt; 963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAErrorCCxN ; 967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */ 969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)pData, (uint32_t)&htim->Instance-> 970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */ 973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare DMA request */ 976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2); 977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3: 981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */ 983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferCpltCallback = TIM_DMADelayPulseNCplt; 984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferErrorCallback = TIM_DMAErrorCCxN ; 988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */ 990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)pData, (uint32_t)&htim->Instance-> 991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */ 994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare DMA request */ 997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC3); 998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } ARM GAS /tmp/cc9HXhVl.s page 19 1000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4: 1002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */ 1004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferCpltCallback = TIM_DMADelayPulseNCplt; 1005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 1008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferErrorCallback = TIM_DMAErrorCCxN ; 1009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */ 1011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC4], (uint32_t)pData, (uint32_t)&htim->Instance-> 1012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 1013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */ 1015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 1016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare DMA request */ 1018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC4); 1019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 1023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR; 1024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (status == HAL_OK) 1028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Capture compare channel N */ 1030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE); 1031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */ 1033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim); 1034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigge 1036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 1037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 1039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 1042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 1045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 1047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 1051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status; 1052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM Output Compare signal generation in DMA mode 1056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * on the complementary output. ARM GAS /tmp/cc9HXhVl.s page 20 1057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Output Compare handle 1058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled 1059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 1065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel) 1067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 1069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); 1072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel) 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1: 1076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare DMA request */ 1078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1); 1079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 1080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2: 1084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare DMA request */ 1086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2); 1087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 1088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3: 1092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare DMA request */ 1094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC3); 1095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 1096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4: 1100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare interrupt */ 1102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC4); 1103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 1104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 1108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR; 1109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (status == HAL_OK) 1113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { ARM GAS /tmp/cc9HXhVl.s page 21 1114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Capture compare channel N */ 1115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE); 1116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */ 1118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim); 1119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */ 1121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim); 1122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */ 1124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 1125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 1128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status; 1129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @} 1133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group3 Extended Timer Complementary PWM functions 1136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Timer Complementary PWM functions 1137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 1138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim 1139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== 1140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Timer Complementary PWM functions ##### 1141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== 1142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..] 1143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** This section provides functions allowing to: 1144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary PWM. 1145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary PWM. 1146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary PWM and enable interrupts. 1147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary PWM and disable interrupts. 1148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary PWM and enable DMA transfers. 1149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary PWM and disable DMA transfers. 1150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary Input Capture measurement. 1151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary Input Capture. 1152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary Input Capture and enable interrupts. 1153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary Input Capture and disable interrupts. 1154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary Input Capture and enable DMA transfers. 1155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary Input Capture and disable DMA transfers. 1156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary One Pulse generation. 1157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary One Pulse. 1158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary One Pulse and enable interrupts. 1159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary One Pulse and disable interrupts. 1160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim 1162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{ 1163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the PWM signal generation on the complementary output. 1167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 1168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be enabled 1169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected ARM GAS /tmp/cc9HXhVl.s page 22 1171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Start(TIM_HandleTypeDef *htim, uint32_t Channel) 1177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 1179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); 1182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM complementary channel state */ 1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY) 1185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 1187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */ 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 1191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the complementary PWM output */ 1193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE); 1194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */ 1196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim); 1197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger 1199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 1200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 1205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 1208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 1210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 1213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 1214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the PWM signal generation on the complementary output. 1218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 1219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled 1220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 1226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel) ARM GAS /tmp/cc9HXhVl.s page 23 1228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); 1231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the complementary PWM output */ 1233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE); 1234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */ 1236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim); 1237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */ 1239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim); 1240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */ 1242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 1243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 1245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 1246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the PWM signal generation in interrupt mode on the 1250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * complementary output. 1251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 1252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled 1253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 1259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel) 1261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 1263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 1264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); 1267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM complementary channel state */ 1269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY) 1270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 1272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */ 1275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 1276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel) 1278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1: 1280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 1 interrupt */ 1282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 1283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } ARM GAS /tmp/cc9HXhVl.s page 24 1285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2: 1287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 2 interrupt */ 1289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 1290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3: 1294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 3 interrupt */ 1296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC3); 1297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4: 1301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 4 interrupt */ 1303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC4); 1304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 1308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR; 1309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (status == HAL_OK) 1313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Break interrupt */ 1315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_BREAK); 1316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the complementary PWM output */ 1318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE); 1319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */ 1321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim); 1322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigge 1324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 1325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 1327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 1330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 1333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 1335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 1339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status; 1340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/cc9HXhVl.s page 25 1342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the PWM signal generation in interrupt mode on the 1344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * complementary output. 1345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 1346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled 1347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 1353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel) 1355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 1357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpccer; 1358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); 1361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel) 1363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1: 1365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 1 interrupt */ 1367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1); 1368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2: 1372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 2 interrupt */ 1374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2); 1375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3: 1379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 3 interrupt */ 1381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC3); 1382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4: 1386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 4 interrupt */ 1388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC4); 1389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 1393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR; 1394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (status == HAL_OK) 1398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { ARM GAS /tmp/cc9HXhVl.s page 26 1399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the complementary PWM output */ 1400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE); 1401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Break interrupt (only if no more channel is active) */ 1403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpccer = htim->Instance->CCER; 1404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & (TIM_CCER_CC1NE | TIM_CCER_CC2NE | TIM_CCER_CC3NE | TIM_CCER_CC4NE)) == (uint32 1405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_BREAK); 1407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */ 1410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim); 1411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */ 1413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim); 1414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */ 1416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 1417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 1420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status; 1421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM PWM signal generation in DMA mode on the 1425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * complementary output 1426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 1427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be enabled 1428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param pData The source Buffer address. 1434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Length The length of data to be transferred from memory to TIM peripheral 1435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 1436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pDa 1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 1440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 1441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); 1444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */ 1446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_BUSY) 1447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_BUSY; 1449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_READY) 1451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((pData == NULL) && (Length > 0U)) 1453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 1455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } ARM GAS /tmp/cc9HXhVl.s page 27 1456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 1457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 1459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 1462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 1464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel) 1467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1: 1469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */ 1471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMADelayPulseNCplt; 1472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 1475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAErrorCCxN ; 1476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */ 1478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)pData, (uint32_t)&htim->Instance-> 1479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 1480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */ 1482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 1 DMA request */ 1485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1); 1486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2: 1490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */ 1492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMADelayPulseNCplt; 1493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 1496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAErrorCCxN ; 1497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */ 1499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)pData, (uint32_t)&htim->Instance-> 1500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 1501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */ 1503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 1504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 2 DMA request */ 1506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2); 1507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3: 1511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */ ARM GAS /tmp/cc9HXhVl.s page 28 1513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferCpltCallback = TIM_DMADelayPulseNCplt; 1514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 1517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferErrorCallback = TIM_DMAErrorCCxN ; 1518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */ 1520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)pData, (uint32_t)&htim->Instance-> 1521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 1522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */ 1524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 1525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 3 DMA request */ 1527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC3); 1528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4: 1532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */ 1534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferCpltCallback = TIM_DMADelayPulseNCplt; 1535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 1538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferErrorCallback = TIM_DMAErrorCCxN ; 1539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */ 1541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC4], (uint32_t)pData, (uint32_t)&htim->Instance-> 1542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 1543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */ 1545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 1546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 4 DMA request */ 1548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC4); 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 1553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR; 1554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (status == HAL_OK) 1558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the complementary PWM output */ 1560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE); 1561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */ 1563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim); 1564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigge 1566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 1567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 1569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) ARM GAS /tmp/cc9HXhVl.s page 29 1570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 1572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 1577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 1581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status; 1582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM PWM signal generation in DMA mode on the complementary 1586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * output 1587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 1588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled 1589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 1595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel) 1597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 1599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); 1602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel) 1604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1: 1606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 1 DMA request */ 1608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1); 1609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 1610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2: 1614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 2 DMA request */ 1616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2); 1617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 1618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3: 1622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 3 DMA request */ 1624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC3); 1625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 1626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; ARM GAS /tmp/cc9HXhVl.s page 30 1627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4: 1630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 4 DMA request */ 1632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC4); 1633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 1634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 1638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR; 1639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (status == HAL_OK) 1643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the complementary PWM output */ 1645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE); 1646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */ 1648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim); 1649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */ 1651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim); 1652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */ 1654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 1655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 1658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status; 1659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @} 1663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group4 Extended Timer Complementary One Pulse functions 1666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Timer Complementary One Pulse functions 1667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 1668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim 1669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== 1670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Timer Complementary One Pulse functions ##### 1671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== 1672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..] 1673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** This section provides functions allowing to: 1674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary One Pulse generation. 1675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary One Pulse. 1676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary One Pulse and enable interrupts. 1677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary One Pulse and disable interrupts. 1678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim 1680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{ 1681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** ARM GAS /tmp/cc9HXhVl.s page 31 1684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM One Pulse signal generation on the complementary 1685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * output. 1686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note OutputChannel must match the pulse output channel chosen when calling 1687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @ref HAL_TIM_OnePulse_ConfigChannel(). 1688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM One Pulse handle 1689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param OutputChannel pulse output channel to enable 1690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 1694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start(TIM_HandleTypeDef *htim, uint32_t OutputChannel) 1696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1; 1698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 1699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 1700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 1701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 1702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, OutputChannel)); 1705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM channels state */ 1707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 1708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 1710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 1711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 1713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */ 1716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 1717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 1718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 1719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 1720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the complementary One Pulse output channel and the Input Capture channel */ 1722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, OutputChannel, TIM_CCxN_ENABLE); 1723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE); 1724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */ 1726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim); 1727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 1729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 1730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM One Pulse signal generation on the complementary 1734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * output. 1735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note OutputChannel must match the pulse output channel chosen when calling 1736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @ref HAL_TIM_OnePulse_ConfigChannel(). 1737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM One Pulse handle 1738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param OutputChannel pulse output channel to disable 1739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected ARM GAS /tmp/cc9HXhVl.s page 32 1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 1743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop(TIM_HandleTypeDef *htim, uint32_t OutputChannel) 1745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1; 1747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, OutputChannel)); 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the complementary One Pulse output channel and the Input Capture channel */ 1752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, OutputChannel, TIM_CCxN_DISABLE); 1753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_DISABLE); 1754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */ 1756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim); 1757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */ 1759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim); 1760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */ 1762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 1763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 1764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 1765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 1766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 1768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 1769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM One Pulse signal generation in interrupt mode on the 1773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * complementary channel. 1774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note OutputChannel must match the pulse output channel chosen when calling 1775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @ref HAL_TIM_OnePulse_ConfigChannel(). 1776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM One Pulse handle 1777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param OutputChannel pulse output channel to enable 1778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 1782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel) 1784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1; 1786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 1787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 1788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 1789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 1790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, OutputChannel)); 1793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM channels state */ 1795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 1796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 1797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) ARM GAS /tmp/cc9HXhVl.s page 33 1798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 1799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 1801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */ 1804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 1805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 1806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 1807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 1808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 1 interrupt */ 1810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 1811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 2 interrupt */ 1813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 1814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the complementary One Pulse output channel and the Input Capture channel */ 1816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, OutputChannel, TIM_CCxN_ENABLE); 1817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE); 1818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */ 1820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim); 1821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 1823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 1824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM One Pulse signal generation in interrupt mode on the 1828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * complementary channel. 1829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note OutputChannel must match the pulse output channel chosen when calling 1830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @ref HAL_TIM_OnePulse_ConfigChannel(). 1831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM One Pulse handle 1832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param OutputChannel pulse output channel to disable 1833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 1837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel) 1839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1; 1841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, OutputChannel)); 1844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 1 interrupt */ 1846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1); 1847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 2 interrupt */ 1849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2); 1850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the complementary One Pulse output channel and the Input Capture channel */ 1852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, OutputChannel, TIM_CCxN_DISABLE); 1853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_DISABLE); 1854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/cc9HXhVl.s page 34 1855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */ 1856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim); 1857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */ 1859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim); 1860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */ 1862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 1863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 1864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 1865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 1866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 1868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 1869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @} 1873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group5 Extended Peripheral Control functions 1876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Peripheral Control functions 1877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 1878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim 1879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== 1880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Peripheral Control functions ##### 1881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== 1882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..] 1883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** This section provides functions allowing to: 1884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure the commutation event in case of use of the Hall sensor interface. 1885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure Output channels for OC and PWM mode. 1886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure Complementary channels, break features and dead time. 1888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure Master synchronization. 1889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure timer remapping capabilities. 1890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Select timer input source. 1891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Enable or disable channel grouping. 1892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure Pulse on compare. 1893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure Encoder index. 1894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim 1896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{ 1897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configure the TIM commutation event sequence. 1901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note This function is mandatory to use the commutation event in order to 1902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * update the configuration at each commutation detection on the TRGI input of the Timer, 1903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * the typical use of this feature is with the use of another Timer(interface Timer) 1904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * configured in Hall sensor interface, this interface Timer will generate the 1905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * commutation at its TRGO output (connected to Timer used in this function) each time 1906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * the TI1 of the Interface Timer detect a commutation at its input TI1. 1907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 1908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param InputTrigger the Internal trigger corresponding to the Timer Interfacing with the Hall 1909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR0: Internal trigger 0 selected 1911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR1: Internal trigger 1 selected ARM GAS /tmp/cc9HXhVl.s page 35 1912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR2: Internal trigger 2 selected 1913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR3: Internal trigger 3 selected 1914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR4: Internal trigger 4 selected (*) 1915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR5: Internal trigger 5 selected 1916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR6: Internal trigger 6 selected 1917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR7: Internal trigger 7 selected 1918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR8: Internal trigger 8 selected 1919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR9: Internal trigger 9 selected (*) 1920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR10: Internal trigger 10 selected 1921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR11: Internal trigger 11 selected 1922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_NONE: No trigger is needed 1923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 1924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (*) Value not defined in all devices. 1925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 1926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param CommutationSource the Commutation Event source 1927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_TRGI: Commutation source is the TRGI of the Interface Timer 1929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_SOFTWARE: Commutation source is set by software using the COMG 1930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 1931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent(TIM_HandleTypeDef *htim, uint32_t InputTrigger, 1933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t CommutationSource) 1934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_COMMUTATION_EVENT_INSTANCE(htim->Instance)); 1937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_INSTANCE(htim->Instance, InputTrigger)); 1938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim); 1940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined(TIM5) && defined(TIM20) 1942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) || 1943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 1944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR4) || (InputTrigger == TIM_TS_ITR5) || 1945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR6) || (InputTrigger == TIM_TS_ITR7) || 1946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR8) || (InputTrigger == TIM_TS_ITR9) || 1947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR10) || (InputTrigger == TIM_TS_ITR11)) 1948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #elif defined(TIM5) 1949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) || 1950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 1951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR4) || (InputTrigger == TIM_TS_ITR5) || 1952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR6) || (InputTrigger == TIM_TS_ITR7) || 1953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR8) || (InputTrigger == TIM_TS_ITR11)) 1954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #elif defined(TIM20) 1955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) || 1956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 1957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) || 1958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) || 1959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR9) || (InputTrigger == TIM_TS_ITR11)) 1960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else 1961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) || 1962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 1963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) || 1964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) || 1965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR11)) 1966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* TIM5 && TIM20 */ 1967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Input trigger */ ARM GAS /tmp/cc9HXhVl.s page 36 1969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS; 1970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 1971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Capture Compare preload feature */ 1974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_CR2_CCPC; 1975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 1976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 &= ~TIM_CR2_CCUS; 1977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 1978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable Commutation Interrupt */ 1980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_COM); 1981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable Commutation DMA request */ 1983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_COM); 1984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim); 1986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 1988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configure the TIM commutation event sequence with interrupt. 1992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note This function is mandatory to use the commutation event in order to 1993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * update the configuration at each commutation detection on the TRGI input of the Timer, 1994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * the typical use of this feature is with the use of another Timer(interface Timer) 1995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * configured in Hall sensor interface, this interface Timer will generate the 1996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * commutation at its TRGO output (connected to Timer used in this function) each time 1997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * the TI1 of the Interface Timer detect a commutation at its input TI1. 1998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 1999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param InputTrigger the Internal trigger corresponding to the Timer Interfacing with the Hall 2000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 2001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR0: Internal trigger 0 selected 2002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR1: Internal trigger 1 selected 2003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR2: Internal trigger 2 selected 2004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR3: Internal trigger 3 selected 2005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR4: Internal trigger 4 selected (*) 2006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR5: Internal trigger 5 selected 2007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR6: Internal trigger 6 selected 2008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR7: Internal trigger 7 selected 2009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR8: Internal trigger 8 selected 2010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR9: Internal trigger 9 selected (*) 2011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR10: Internal trigger 10 selected 2012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR11: Internal trigger 11 selected 2013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_NONE: No trigger is needed 2014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (*) Value not defined in all devices. 2016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param CommutationSource the Commutation Event source 2018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 2019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_TRGI: Commutation source is the TRGI of the Interface Timer 2020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_SOFTWARE: Commutation source is set by software using the COMG 2021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 2022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 2023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent_IT(TIM_HandleTypeDef *htim, uint32_t InputTrigger, 2024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t CommutationSource) 2025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { ARM GAS /tmp/cc9HXhVl.s page 37 2026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 2027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_COMMUTATION_EVENT_INSTANCE(htim->Instance)); 2028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_INSTANCE(htim->Instance, InputTrigger)); 2029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim); 2031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined(TIM5) && defined(TIM20) 2033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) || 2034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 2035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR4) || (InputTrigger == TIM_TS_ITR5) || 2036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR6) || (InputTrigger == TIM_TS_ITR7) || 2037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR8) || (InputTrigger == TIM_TS_ITR9) || 2038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR10) || (InputTrigger == TIM_TS_ITR11)) 2039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #elif defined(TIM5) 2040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) || 2041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 2042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR4) || (InputTrigger == TIM_TS_ITR5) || 2043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR6) || (InputTrigger == TIM_TS_ITR7) || 2044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR8) || (InputTrigger == TIM_TS_ITR11)) 2045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #elif defined(TIM20) 2046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) || 2047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 2048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) || 2049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) || 2050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR9) || (InputTrigger == TIM_TS_ITR11)) 2051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else 2052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) || 2053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 2054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) || 2055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) || 2056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR11)) 2057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* TIM5 && TIM20 */ 2058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Input trigger */ 2060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS; 2061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 2062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Capture Compare preload feature */ 2065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_CR2_CCPC; 2066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 2067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 &= ~TIM_CR2_CCUS; 2068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 2069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable Commutation DMA request */ 2071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_COM); 2072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Commutation Interrupt */ 2074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_COM); 2075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim); 2077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 2079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 2082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configure the TIM commutation event sequence with DMA. ARM GAS /tmp/cc9HXhVl.s page 38 2083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note This function is mandatory to use the commutation event in order to 2084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * update the configuration at each commutation detection on the TRGI input of the Timer, 2085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * the typical use of this feature is with the use of another Timer(interface Timer) 2086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * configured in Hall sensor interface, this interface Timer will generate the 2087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * commutation at its TRGO output (connected to Timer used in this function) each time 2088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * the TI1 of the Interface Timer detect a commutation at its input TI1. 2089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note The user should configure the DMA in his own software, in This function only the COMDE b 2090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 2091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param InputTrigger the Internal trigger corresponding to the Timer Interfacing with the Hall 2092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 2093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR0: Internal trigger 0 selected 2094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR1: Internal trigger 1 selected 2095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR2: Internal trigger 2 selected 2096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR3: Internal trigger 3 selected 2097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR4: Internal trigger 4 selected (*) 2098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR5: Internal trigger 5 selected 2099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR6: Internal trigger 6 selected 2100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR7: Internal trigger 7 selected 2101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR8: Internal trigger 8 selected 2102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR9: Internal trigger 9 selected (*) 2103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR10: Internal trigger 10 selected 2104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR11: Internal trigger 11 selected 2105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_NONE: No trigger is needed 2106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (*) Value not defined in all devices. 2108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param CommutationSource the Commutation Event source 2110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 2111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_TRGI: Commutation source is the TRGI of the Interface Timer 2112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_SOFTWARE: Commutation source is set by software using the COMG 2113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 2114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 2115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent_DMA(TIM_HandleTypeDef *htim, uint32_t InputTrigger, 2116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t CommutationSource) 2117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 2119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_COMMUTATION_EVENT_INSTANCE(htim->Instance)); 2120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_INSTANCE(htim->Instance, InputTrigger)); 2121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim); 2123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined(TIM5) && defined(TIM20) 2125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) || 2126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 2127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR4) || (InputTrigger == TIM_TS_ITR5) || 2128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR6) || (InputTrigger == TIM_TS_ITR7) || 2129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR8) || (InputTrigger == TIM_TS_ITR9) || 2130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR10) || (InputTrigger == TIM_TS_ITR11)) 2131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #elif defined(TIM5) 2132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) || 2133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 2134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR4) || (InputTrigger == TIM_TS_ITR5) || 2135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR6) || (InputTrigger == TIM_TS_ITR7) || 2136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR8) || (InputTrigger == TIM_TS_ITR11)) 2137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #elif defined(TIM20) 2138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) || 2139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || ARM GAS /tmp/cc9HXhVl.s page 39 2140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) || 2141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) || 2142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR9) || (InputTrigger == TIM_TS_ITR11)) 2143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) || 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 2146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) || 2147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) || 2148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR11)) 2149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* TIM5 && TIM20 */ 2150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Input trigger */ 2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS; 2153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 2154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Capture Compare preload feature */ 2157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_CR2_CCPC; 2158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 &= ~TIM_CR2_CCUS; 2160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 2161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Commutation DMA Request */ 2163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA Commutation Callback */ 2164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferCpltCallback = TIMEx_DMACommutationCplt; 2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 2166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 2167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferErrorCallback = TIM_DMAError; 2168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable Commutation Interrupt */ 2170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_COM); 2171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Commutation DMA Request */ 2173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_COM); 2174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim); 2176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 2178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 2181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configures the TIM in master mode. 2182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle. 2183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param sMasterConfig pointer to a TIM_MasterConfigTypeDef structure that 2184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * contains the selected trigger output (TRGO) and the Master/Slave 2185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * mode. 2186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 2187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 2188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_MasterConfigSynchronization(TIM_HandleTypeDef *htim, 2189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_MasterConfigTypeDef *sMasterConfig) 2190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpcr2; 2192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 2193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 2195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_MASTER_INSTANCE(htim->Instance)); 2196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_TRGO_SOURCE(sMasterConfig->MasterOutputTrigger)); ARM GAS /tmp/cc9HXhVl.s page 40 2197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_MSM_STATE(sMasterConfig->MasterSlaveMode)); 2198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check input state */ 2200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim); 2201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the handler state */ 2203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_BUSY; 2204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Get the TIMx CR2 register value */ 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpcr2 = htim->Instance->CR2; 2207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Get the TIMx SMCR register value */ 2209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR; 2210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* If the timer supports ADC synchronization through TRGO2, set the master mode selection 2 */ 2212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_TRGO2_INSTANCE(htim->Instance)) 2213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 2215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_TRGO2_SOURCE(sMasterConfig->MasterOutputTrigger2)); 2216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Clear the MMS2 bits */ 2218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpcr2 &= ~TIM_CR2_MMS2; 2219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO2 source*/ 2220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpcr2 |= sMasterConfig->MasterOutputTrigger2; 2221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the MMS Bits */ 2224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpcr2 &= ~TIM_CR2_MMS; 2225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO source */ 2226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpcr2 |= sMasterConfig->MasterOutputTrigger; 2227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Update TIMx CR2 */ 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 = tmpcr2; 2230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 2232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the MSM Bit */ 2234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr &= ~TIM_SMCR_MSM; 2235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set master mode */ 2236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr |= sMasterConfig->MasterSlaveMode; 2237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Update TIMx SMCR */ 2239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR = tmpsmcr; 2240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the htim state */ 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY; 2244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim); 2246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 2248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 2251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configures the Break feature, dead time, Lock level, OSSI/OSSR State 2252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * and the AOE(automatic output enable). 2253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle ARM GAS /tmp/cc9HXhVl.s page 41 2254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param sBreakDeadTimeConfig pointer to a TIM_ConfigBreakDeadConfigTypeDef structure that 2255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * contains the BDTR Register configuration information for the TIM peripheral. 2256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Interrupts can be generated when an active level is detected on the 2257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * break input, the break 2 input or the system break input. Break 2258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * interrupt can be enabled by calling the @ref __HAL_TIM_ENABLE_IT macro. 2259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 2260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 2261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigBreakDeadTime(TIM_HandleTypeDef *htim, 2262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_BreakDeadTimeConfigTypeDef *sBreakDeadTimeConfi 2263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Keep this variable initialized to 0 as it is used to configure BDTR register */ 2265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr = 0U; 2266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 2268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance)); 2269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_OSSR_STATE(sBreakDeadTimeConfig->OffStateRunMode)); 2270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_OSSI_STATE(sBreakDeadTimeConfig->OffStateIDLEMode)); 2271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_LOCK_LEVEL(sBreakDeadTimeConfig->LockLevel)); 2272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_DEADTIME(sBreakDeadTimeConfig->DeadTime)); 2273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_STATE(sBreakDeadTimeConfig->BreakState)); 2274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_POLARITY(sBreakDeadTimeConfig->BreakPolarity)); 2275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_FILTER(sBreakDeadTimeConfig->BreakFilter)); 2276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_AUTOMATIC_OUTPUT_STATE(sBreakDeadTimeConfig->AutomaticOutput)); 2277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check input state */ 2279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim); 2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the Lock level, the Break enable Bit and the Polarity, the OSSR State, 2282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the OSSI State, the dead time value and the Automatic Output Enable Bit */ 2283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the BDTR bits */ 2285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_DTG, sBreakDeadTimeConfig->DeadTime); 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_LOCK, sBreakDeadTimeConfig->LockLevel); 2287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSI, sBreakDeadTimeConfig->OffStateIDLEMode); 2288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSR, sBreakDeadTimeConfig->OffStateRunMode); 2289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKE, sBreakDeadTimeConfig->BreakState); 2290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKP, sBreakDeadTimeConfig->BreakPolarity); 2291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_AOE, sBreakDeadTimeConfig->AutomaticOutput); 2292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKF, (sBreakDeadTimeConfig->BreakFilter << TIM_BDTR_BKF_Pos)); 2293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_ADVANCED_INSTANCE(htim->Instance)) 2295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 2297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_AFMODE(sBreakDeadTimeConfig->BreakAFMode)); 2298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set BREAK AF mode */ 2300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKBID, sBreakDeadTimeConfig->BreakAFMode); 2301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_BKIN2_INSTANCE(htim->Instance)) 2304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 2306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK2_STATE(sBreakDeadTimeConfig->Break2State)); 2307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK2_POLARITY(sBreakDeadTimeConfig->Break2Polarity)); 2308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_FILTER(sBreakDeadTimeConfig->Break2Filter)); 2309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the BREAK2 input related BDTR bits */ ARM GAS /tmp/cc9HXhVl.s page 42 2311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2F, (sBreakDeadTimeConfig->Break2Filter << TIM_BDTR_BK2F_Pos)); 2312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2E, sBreakDeadTimeConfig->Break2State); 2313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2P, sBreakDeadTimeConfig->Break2Polarity); 2314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_ADVANCED_INSTANCE(htim->Instance)) 2316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 2318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK2_AFMODE(sBreakDeadTimeConfig->Break2AFMode)); 2319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set BREAK2 AF mode */ 2321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2BID, sBreakDeadTimeConfig->Break2AFMode); 2322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set TIMx_BDTR */ 2326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->BDTR = tmpbdtr; 2327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim); 2329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 2331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 2334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configures the break input source. 2335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle. 2336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param BreakInput Break input to configure 2337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 2338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_BREAKINPUT_BRK: Timer break input 2339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_BREAKINPUT_BRK2: Timer break 2 input 2340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param sBreakInputConfig Break input source configuration 2341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 2342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 2343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigBreakInput(TIM_HandleTypeDef *htim, 2344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t BreakInput, 2345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIMEx_BreakInputConfigTypeDef *sBreakInputConfig) 2346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 2349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmporx; 2350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_enable_mask; 2351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_polarity_mask; 2352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_enable_bitpos; 2353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_polarity_bitpos; 2354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 2356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance)); 2357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUT(BreakInput)); 2358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUTSOURCE(sBreakInputConfig->Source)); 2359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUTSOURCE_STATE(sBreakInputConfig->Enable)); 2360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUTSOURCE_POLARITY(sBreakInputConfig->Polarity)); 2361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check input state */ 2363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim); 2364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (sBreakInputConfig->Source) 2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_BKIN: ARM GAS /tmp/cc9HXhVl.s page 43 2368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKINE; 2370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKINE_Pos; 2371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKINP; 2372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKINP_Pos; 2373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP1: 2376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP1E; 2378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP1E_Pos; 2379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP1P; 2380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP1P_Pos; 2381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP2: 2384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP2E; 2386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP2E_Pos; 2387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP2P; 2388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP2P_Pos; 2389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP3: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP3E; 2394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP3E_Pos; 2395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP3P; 2396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP3P_Pos; 2397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP4: 2400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP4E; 2402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP4E_Pos; 2403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP4P; 2404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP4P_Pos; 2405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined (COMP5) 2408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP5: 2409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP5E; 2411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP5E_Pos; 2412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* No palarity bit for this COMP. Variable bkin_polarity_mask keeps its default value 0 */ 2413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = 0U; 2414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = 0U; 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* COMP5 */ 2418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined (COMP6) 2419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP6: 2420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP6E; 2422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP6E_Pos; 2423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* No palarity bit for this COMP. Variable bkin_polarity_mask keeps its default value 0 */ 2424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = 0U; ARM GAS /tmp/cc9HXhVl.s page 44 2425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = 0U; 2426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* COMP7 */ 2429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined (COMP7) 2430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP7: 2431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP7E; 2433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP7E_Pos; 2434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* No palarity bit for this COMP. Variable bkin_polarity_mask keeps its default value 0 */ 2435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = 0U; 2436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = 0U; 2437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* COMP7 */ 2440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 2442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = 0U; 2444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = 0U; 2445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = 0U; 2446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = 0U; 2447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (BreakInput) 2452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUT_BRK: 2454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Get the TIMx_AF1 register value */ 2456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx = htim->Instance->AF1; 2457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the break input */ 2459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx &= ~bkin_enable_mask; 2460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Enable << bkin_enable_bitpos) & bkin_enable_mask; 2461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the break input polarity */ 2463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx &= ~bkin_polarity_mask; 2464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Polarity << bkin_polarity_bitpos) & bkin_polarity_mask; 2465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set TIMx_AF1 */ 2467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->AF1 = tmporx; 2468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUT_BRK2: 2471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Get the TIMx_AF2 register value */ 2473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx = htim->Instance->AF2; 2474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the break input */ 2476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx &= ~bkin_enable_mask; 2477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Enable << bkin_enable_bitpos) & bkin_enable_mask; 2478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the break input polarity */ 2480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx &= ~bkin_polarity_mask; 2481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Polarity << bkin_polarity_bitpos) & bkin_polarity_mask; ARM GAS /tmp/cc9HXhVl.s page 45 2482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set TIMx_AF2 */ 2484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->AF2 = tmporx; 2485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 2488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR; 2489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim); 2493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status; 2495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 2498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configures the TIMx Remapping input capabilities. 2499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle. 2500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Remap specifies the TIM remapping source. 2501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM1, the parameter can take one of the following values: 2502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_GPIO TIM1 ETR is connected to GPIO 2503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP1 TIM1 ETR is connected to COMP1 output 2504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP2 TIM1 ETR is connected to COMP2 output 2505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP3 TIM1 ETR is connected to COMP3 output 2506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP4 TIM1 ETR is connected to COMP4 output 2507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP5 TIM1 ETR is connected to COMP5 output (*) 2508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP6 TIM1 ETR is connected to COMP6 output (*) 2509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP7 TIM1 ETR is connected to COMP7 output (*) 2510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_ADC1_AWD1 TIM1 ETR is connected to ADC1 AWD1 2511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_ADC1_AWD2 TIM1 ETR is connected to ADC1 AWD2 2512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_ADC1_AWD3 TIM1 ETR is connected to ADC1 AWD3 2513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_ADC4_AWD1 TIM1 ETR is connected to ADC4 AWD1 (*) 2514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_ADC4_AWD2 TIM1 ETR is connected to ADC4 AWD2 (*) 2515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_ADC4_AWD3 TIM1 ETR is connected to ADC4 AWD3 (*) 2516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM2, the parameter can take one of the following values: 2518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_GPIO TIM2 ETR is connected to GPIO 2519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP1 TIM2 ETR is connected to COMP1 output 2520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP2 TIM2 ETR is connected to COMP2 output 2521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP3 TIM2 ETR is connected to COMP3 output 2522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP4 TIM2 ETR is connected to COMP4 output 2523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP5 TIM2 ETR is connected to COMP5 output (*) 2524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP6 TIM2 ETR is connected to COMP6 output (*) 2525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP7 TIM2 ETR is connected to COMP7 output (*) 2526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_TIM3_ETR TIM2 ETR is connected to TIM3 ETR pin 2527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_TIM4_ETR TIM2 ETR is connected to TIM4 ETR pin 2528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_TIM5_ETR TIM2 ETR is connected to TIM5 ETR pin (*) 2529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_LSE 2530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM3, the parameter can take one of the following values: 2532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_GPIO TIM3 ETR is connected to GPIO 2533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP1 TIM3 ETR is connected to COMP1 output 2534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP2 TIM3 ETR is connected to COMP2 output 2535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP3 TIM3 ETR is connected to COMP3 output 2536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP4 TIM3 ETR is connected to COMP4 output 2537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP5 TIM3 ETR is connected to COMP5 output (*) 2538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP6 TIM3 ETR is connected to COMP6 output (*) ARM GAS /tmp/cc9HXhVl.s page 46 2539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP7 TIM3 ETR is connected to COMP7 output (*) 2540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_TIM2_ETR TIM3 ETR is connected to TIM2 ETR pin 2541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_TIM4_ETR TIM3 ETR is connected to TIM4 ETR pin 2542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_ADC2_AWD1 TIM3 ETR is connected to ADC2 AWD1 2543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_ADC2_AWD2 TIM3 ETR is connected to ADC2 AWD2 2544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_ADC2_AWD3 TIM3 ETR is connected to ADC2 AWD3 2545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM4, the parameter can take one of the following values: 2547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_GPIO TIM4 ETR is connected to GPIO 2548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP1 TIM4 ETR is connected to COMP1 output 2549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP2 TIM4 ETR is connected to COMP2 output 2550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP3 TIM4 ETR is connected to COMP3 output 2551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP4 TIM4 ETR is connected to COMP4 output 2552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP5 TIM4 ETR is connected to COMP5 output (*) 2553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP6 TIM4 ETR is connected to COMP6 output (*) 2554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP7 TIM4 ETR is connected to COMP7 output (*) 2555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_TIM3_ETR TIM4 ETR is connected to TIM3 ETR pin 2556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_TIM5_ETR TIM4 ETR is connected to TIM5 ETR pin (*) 2557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM5, the parameter can take one of the following values: (**) 2559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_GPIO TIM5 ETR is connected to GPIO (*) 2560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP1 TIM5 ETR is connected to COMP1 output (*) 2561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP2 TIM5 ETR is connected to COMP2 output (*) 2562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP3 TIM5 ETR is connected to COMP3 output (*) 2563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP4 TIM5 ETR is connected to COMP4 output (*) 2564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP5 TIM5 ETR is connected to COMP5 output (*) 2565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP6 TIM5 ETR is connected to COMP6 output (*) 2566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP7 TIM5 ETR is connected to COMP7 output (*) 2567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_TIM2_ETR TIM5 ETR is connected to TIM2 ETR pin (*) 2568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_TIM3_ETR TIM5 ETR is connected to TIM3 ETR pin (*) 2569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM8, the parameter can take one of the following values: 2571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_GPIO TIM8 ETR is connected to GPIO 2572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP1 TIM8 ETR is connected to COMP1 output 2573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP2 TIM8 ETR is connected to COMP2 output 2574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP3 TIM8 ETR is connected to COMP3 output 2575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP4 TIM8 ETR is connected to COMP4 output 2576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP5 TIM8 ETR is connected to COMP5 output (*) 2577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP6 TIM8 ETR is connected to COMP6 output (*) 2578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP7 TIM8 ETR is connected to COMP7 output (*) 2579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_ADC2_AWD1 TIM8 ETR is connected to ADC2 AWD1 2580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_ADC2_AWD2 TIM8 ETR is connected to ADC2 AWD2 2581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_ADC2_AWD3 TIM8 ETR is connected to ADC2 AWD3 2582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_ADC3_AWD1 TIM8 ETR is connected to ADC3 AWD1 (*) 2583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_ADC3_AWD2 TIM8 ETR is connected to ADC3 AWD2 (*) 2584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_ADC3_AWD3 TIM8 ETR is connected to ADC3 AWD3 (*) 2585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM20, the parameter can take one of the following values: (**) 2587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_GPIO TIM20 ETR is connected to GPIO 2588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP1 TIM20 ETR is connected to COMP1 output (*) 2589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP2 TIM20 ETR is connected to COMP2 output (*) 2590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP3 TIM20 ETR is connected to COMP3 output (*) 2591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP4 TIM20 ETR is connected to COMP4 output (*) 2592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP5 TIM20 ETR is connected to COMP5 output (*) 2593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP6 TIM20 ETR is connected to COMP6 output (*) 2594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP7 TIM20 ETR is connected to COMP7 output (*) 2595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_ADC3_AWD1 TIM20 ETR is connected to ADC3 AWD1 (*) ARM GAS /tmp/cc9HXhVl.s page 47 2596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_ADC3_AWD2 TIM20 ETR is connected to ADC3 AWD2 (*) 2597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_ADC3_AWD3 TIM20 ETR is connected to ADC3 AWD3 (*) 2598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_ADC5_AWD1 TIM20 ETR is connected to ADC5 AWD1 (*) 2599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_ADC5_AWD2 TIM20 ETR is connected to ADC5 AWD2 (*) 2600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_ADC5_AWD3 TIM20 ETR is connected to ADC5 AWD3 (*) 2601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (*) Value not defined in all devices. \n 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (**) Register not available in all devices. 2604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 2606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 2607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_RemapConfig(TIM_HandleTypeDef *htim, uint32_t Remap) 2608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check parameters */ 2610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_REMAP_INSTANCE(htim->Instance)); 2611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_REMAP(Remap)); 2612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim); 2614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->AF1, TIM1_AF1_ETRSEL_Msk, Remap); 2616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim); 2618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 2620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 2623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Select the timer input source 2624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle. 2625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel specifies the TIM Channel 2626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 2627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TI1 input channel 2628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TI2 input channel 2629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TI3 input channel 2630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TI4 input channel 2631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param TISelection specifies the timer input source 2632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM1 this parameter can be one of the following values: 2633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_TI1_GPIO: TIM1 TI1 is connected to GPIO 2634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_TI1_COMP1: TIM1 TI1 is connected to COMP1 output 2635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_TI1_COMP2: TIM1 TI1 is connected to COMP2 output 2636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_TI1_COMP3: TIM1 TI1 is connected to COMP3 output 2637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_TI1_COMP4: TIM1 TI1 is connected to COMP4 output 2638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM2 this parameter can be one of the following values: 2640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI1_GPIO: TIM2 TI1 is connected to GPIO 2641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI1_COMP1: TIM2 TI1 is connected to COMP1 output 2642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI1_COMP2: TIM2 TI1 is connected to COMP2 output 2643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI1_COMP3: TIM2 TI1 is connected to COMP3 output 2644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI1_COMP4: TIM2 TI1 is connected to COMP4 output 2645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI1_COMP5: TIM2 TI1 is connected to COMP5 output (*) 2646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI2_GPIO: TIM1 TI2 is connected to GPIO 2648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI2_COMP1: TIM2 TI2 is connected to COMP1 output 2649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI2_COMP2: TIM2 TI2 is connected to COMP2 output 2650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI2_COMP3: TIM2 TI2 is connected to COMP3 output 2651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI2_COMP4: TIM2 TI2 is connected to COMP4 output 2652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI2_COMP6: TIM2 TI2 is connected to COMP6 output (*) ARM GAS /tmp/cc9HXhVl.s page 48 2653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI3_GPIO: TIM2 TI3 is connected to GPIO 2655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI3_COMP4: TIM2 TI3 is connected to COMP4 output 2656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI4_GPIO: TIM2 TI4 is connected to GPIO 2658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI4_COMP1: TIM2 TI4 is connected to COMP1 output 2659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI4_COMP2: TIM2 TI4 is connected to COMP2 output 2660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM3 this parameter can be one of the following values: 2662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_GPIO: TIM3 TI1 is connected to GPIO 2663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP1: TIM3 TI1 is connected to COMP1 output 2664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP2: TIM3 TI1 is connected to COMP2 output 2665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP3: TIM3 TI1 is connected to COMP3 output 2666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP4: TIM3 TI1 is connected to COMP4 output 2667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP5: TIM3 TI1 is connected to COMP5 output (*) 2668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP6: TIM3 TI1 is connected to COMP6 output (*) 2669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP7: TIM3 TI1 is connected to COMP7 output (*) 2670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_GPIO: TIM3 TI2 is connected to GPIO 2672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP1: TIM3 TI2 is connected to COMP1 output 2673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP2: TIM3 TI2 is connected to COMP2 output 2674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP3: TIM3 TI2 is connected to COMP3 output 2675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP4: TIM3 TI2 is connected to COMP4 output 2676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP5: TIM3 TI2 is connected to COMP5 output (*) 2677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP6: TIM3 TI2 is connected to COMP6 output (*) 2678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP7: TIM3 TI2 is connected to COMP7 output (*) 2679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI3_GPIO: TIM3 TI3 is connected to GPIO 2681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI3_COMP3: TIM3 TI3 is connected to COMP3 output 2682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM4 this parameter can be one of the following values: 2684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_GPIO: TIM4 TI1 is connected to GPIO 2685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP1: TIM4 TI1 is connected to COMP1 output 2686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP2: TIM4 TI1 is connected to COMP2 output 2687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP3: TIM4 TI1 is connected to COMP3 output 2688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP4: TIM4 TI1 is connected to COMP4 output 2689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP5: TIM4 TI1 is connected to COMP5 output (*) 2690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP6: TIM4 TI1 is connected to COMP6 output (*) 2691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP7: TIM4 TI1 is connected to COMP7 output (*) 2692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_GPIO: TIM4 TI2 is connected to GPIO 2694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP1: TIM4 TI2 is connected to COMP1 output 2695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP2: TIM4 TI2 is connected to COMP2 output 2696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP3: TIM4 TI2 is connected to COMP3 output 2697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP4: TIM4 TI2 is connected to COMP4 output 2698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP5: TIM4 TI2 is connected to COMP5 output (*) 2699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP6: TIM4 TI2 is connected to COMP6 output (*) 2700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP7: TIM4 TI2 is connected to COMP7 output (*) 2701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI3_GPIO: TIM4 TI3 is connected to GPIO 2703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI3_COMP5: TIM4 TI3 is connected to COMP5 output (*) 2704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI4_GPIO: TIM4 TI4 is connected to GPIO 2706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI4_COMP6: TIM4 TI4 is connected to COMP6 output (*) 2707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM5 this parameter can be one of the following values: (**) 2709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_GPIO: TIM5 TI1 is connected to GPIO ARM GAS /tmp/cc9HXhVl.s page 49 2710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_LSI: TIM5 TI1 is connected to LSI clock (*) 2711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_LSE: TIM5 TI1 is connected to LSE clock (*) 2712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_RTC_WK: TIM5 TI1 is connected to RTC Wakeup (*) 2713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP1: TIM5 TI1 is connected to COMP1 output (*) 2714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP2: TIM5 TI1 is connected to COMP2 output (*) 2715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP3: TIM5 TI1 is connected to COMP3 output (*) 2716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP4: TIM5 TI1 is connected to COMP4 output (*) 2717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP5: TIM5 TI1 is connected to COMP5 output (*) 2718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP6: TIM5 TI1 is connected to COMP6 output (*) 2719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP7: TIM5 TI1 is connected to COMP7 output (*) 2720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_GPIO: TIM5 TI2 is connected to GPIO 2722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP1: TIM5 TI2 is connected to COMP1 output 2723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP2: TIM5 TI2 is connected to COMP2 output 2724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP3: TIM5 TI2 is connected to COMP3 output 2725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP4: TIM5 TI2 is connected to COMP4 output 2726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP5: TIM5 TI2 is connected to COMP5 output (*) 2727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP6: TIM5 TI2 is connected to COMP6 output (*) 2728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP7: TIM5 TI2 is connected to COMP7 output (*) 2729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM8 this parameter can be one of the following values: 2731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_TI1_GPIO: TIM8 TI1 is connected to GPIO 2732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_TI1_COMP1: TIM8 TI1 is connected to COMP1 output 2733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_TI1_COMP2: TIM8 TI1 is connected to COMP2 output 2734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_TI1_COMP3: TIM8 TI1 is connected to COMP3 output 2735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_TI1_COMP4: TIM8 TI1 is connected to COMP4 output 2736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM15 this parameter can be one of the following values: 2738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI1_GPIO: TIM15 TI1 is connected to GPIO 2739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI1_LSE: TIM15 TI1 is connected to LSE clock 2740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI1_COMP1: TIM15 TI1 is connected to COMP1 output 2741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI1_COMP2: TIM15 TI1 is connected to COMP2 output 2742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI1_COMP5: TIM15 TI1 is connected to COMP5 output ( 2743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI1_COMP7: TIM15 TI1 is connected to COMP7 output ( 2744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI2_GPIO: TIM15 TI2 is connected to GPIO 2746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI2_COMP2: TIM15 TI2 is connected to COMP2 output 2747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI2_COMP3: TIM15 TI2 is connected to COMP3 output 2748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI2_COMP6: TIM15 TI2 is connected to COMP6 output ( 2749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI2_COMP7: TIM15 TI2 is connected to COMP7 output ( 2750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM16 this parameter can be one of the following values: 2752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_GPIO: TIM16 TI1 is connected to GPIO 2753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_COMP6: TIM16 TI1 is connected to COMP6 output ( 2754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_MCO: TIM15 TI1 is connected to MCO output 2755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_HSE_32: TIM15 TI1 is connected to HSE div 32 2756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_RTC_WK: TIM15 TI1 is connected to RTC wakeup 2757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_LSE: TIM15 TI1 is connected to LSE clock 2758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_LSI: TIM15 TI1 is connected to LSI clock 2759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM17 this parameter can be one of the following values: 2761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_GPIO: TIM17 TI1 is connected to GPIO 2762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_COMP5: TIM17 TI1 is connected to COMP5 output ( 2763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_MCO: TIM17 TI1 is connected to MCO output 2764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_HSE_32: TIM17 TI1 is connected to HSE div 32 2765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_RTC_WK: TIM17 TI1 is connected to RTC wakeup 2766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_LSE: TIM17 TI1 is connected to LSE clock ARM GAS /tmp/cc9HXhVl.s page 50 2767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_LSI: TIM17 TI1 is connected to LSI clock 2768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM20 this parameter can be one of the following values: (**) 2770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_TI1_GPIO: TIM20 TI1 is connected to GPIO 2771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_TI1_COMP1: TIM20 TI1 is connected to COMP1 output ( 2772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_TI1_COMP2: TIM20 TI1 is connected to COMP2 output ( 2773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_TI1_COMP3: TIM20 TI1 is connected to COMP3 output ( 2774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_TI1_COMP4: TIM20 TI1 is connected to COMP4 output ( 2775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (*) Value not defined in all devices. \n 2777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (**) Register not available in all devices. 2778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 2780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 2781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_TISelection(TIM_HandleTypeDef *htim, uint32_t TISelection, uint32_t Ch 2782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 2784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check parameters */ 2786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_TISEL_TIX_INSTANCE(htim->Instance, Channel)); 2787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_TISEL(TISelection)); 2788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim); 2790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel) 2792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1: 2794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->TISEL, TIM_TISEL_TI1SEL, TISelection); 2795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* If required, set OR bit to request HSE/32 clock */ 2797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_HSE32_INSTANCE(htim->Instance)) 2798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->OR, TIM_OR_HSE32EN); 2800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 2802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->OR, TIM_OR_HSE32EN); 2804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2: 2807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->TISEL, TIM_TISEL_TI2SEL, TISelection); 2808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3: 2810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->TISEL, TIM_TISEL_TI3SEL, TISelection); 2811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4: 2813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->TISEL, TIM_TISEL_TI4SEL, TISelection); 2814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 2816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR; 2817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim); 2821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status; 2823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } ARM GAS /tmp/cc9HXhVl.s page 51 2824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 2826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Group channel 5 and channel 1, 2 or 3 2827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle. 2828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channels specifies the reference signal(s) the OC5REF is combined with. 2829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be any combination of the following values: 2830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * TIM_GROUPCH5_NONE: No effect of OC5REF on OC1REFC, OC2REFC and OC3REFC 2831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * TIM_GROUPCH5_OC1REFC: OC1REFC is the logical AND of OC1REFC and OC5REF 2832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * TIM_GROUPCH5_OC2REFC: OC2REFC is the logical AND of OC2REFC and OC5REF 2833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * TIM_GROUPCH5_OC3REFC: OC3REFC is the logical AND of OC3REFC and OC5REF 2834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 2835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 2836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_GroupChannel5(TIM_HandleTypeDef *htim, uint32_t Channels) 2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check parameters */ 2839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_COMBINED3PHASEPWM_INSTANCE(htim->Instance)); 2840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_GROUPCH5(Channels)); 2841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Process Locked */ 2843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim); 2844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_BUSY; 2846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Clear GC5Cx bit fields */ 2848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CCR5 &= ~(TIM_CCR5_GC5C3 | TIM_CCR5_GC5C2 | TIM_CCR5_GC5C1); 2849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set GC5Cx bit fields */ 2851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CCR5 |= Channels; 2852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the htim state */ 2854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY; 2855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim); 2857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 2859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 2862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disarm the designated break input (when it operates in bidirectional mode). 2863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle. 2864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param BreakInput Break input to disarm 2865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 2866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_BREAKINPUT_BRK: Timer break input 2867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_BREAKINPUT_BRK2: Timer break 2 input 2868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note The break input can be disarmed only when it is configured in 2869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * bidirectional mode and when when MOE is reset. 2870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Purpose is to be able to have the input voltage back to high-state, 2871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * whatever the time constant on the output . 2872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 2873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 2874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DisarmBreakInput(TIM_HandleTypeDef *htim, uint32_t BreakInput) 2875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 2877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr; 2878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 2880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ADVANCED_INSTANCE(htim->Instance)); ARM GAS /tmp/cc9HXhVl.s page 52 2881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUT(BreakInput)); 2882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (BreakInput) 2884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUT_BRK: 2886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check initial conditions */ 2888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpbdtr = READ_REG(htim->Instance->BDTR); 2889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BKBID) == TIM_BDTR_BKBID) && 2890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U)) 2891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Break input BRK is disarmed */ 2893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->BDTR, TIM_BDTR_BKDSRM); 2894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUT_BRK2: 2899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check initial conditions */ 2901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpbdtr = READ_REG(htim->Instance->BDTR); 2902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BK2BID) == TIM_BDTR_BK2BID) && 2903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U)) 2904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Break input BRK is disarmed */ 2906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->BDTR, TIM_BDTR_BK2DSRM); 2907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR; 2912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status; 2916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 2919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Arm the designated break input (when it operates in bidirectional mode). 2920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle. 2921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param BreakInput Break input to arm 2922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 2923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_BREAKINPUT_BRK: Timer break input 2924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_BREAKINPUT_BRK2: Timer break 2 input 2925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Arming is possible at anytime, even if fault is present. 2926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Break input is automatically armed as soon as MOE bit is set. 2927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 2928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 2929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ReArmBreakInput(TIM_HandleTypeDef *htim, uint32_t BreakInput) 2930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 2932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart; 2933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 2935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ADVANCED_INSTANCE(htim->Instance)); 2936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUT(BreakInput)); 2937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/cc9HXhVl.s page 53 2938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (BreakInput) 2939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUT_BRK: 2941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check initial conditions */ 2943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BKBID) == TIM_BDTR_BKBID) 2944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Break input BRK is re-armed automatically by hardware. Poll to check whether fault condi 2946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Init tickstart for timeout management */ 2947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tickstart = HAL_GetTick(); 2948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** while (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BKDSRM) != 0UL) 2949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((HAL_GetTick() - tickstart) > TIM_BREAKINPUT_REARM_TIMEOUT) 2951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* New check to avoid false timeout detection in case of preemption */ 2953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BKDSRM) != 0UL) 2954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_TIMEOUT; 2956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUT_BRK2: 2964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check initial conditions */ 2966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BK2BID) == TIM_BDTR_BK2BID) 2967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Break input BRK2 is re-armed automatically by hardware. Poll to check whether fault cond 2969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Init tickstart for timeout management */ 2970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tickstart = HAL_GetTick(); 2971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** while (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BK2DSRM) != 0UL) 2972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((HAL_GetTick() - tickstart) > TIM_BREAKINPUT_REARM_TIMEOUT) 2974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* New check to avoid false timeout detection in case of preemption */ 2976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BK2DSRM) != 0UL) 2977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_TIMEOUT; 2979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 2986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR; 2987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status; 2991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 2994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enable dithering ARM GAS /tmp/cc9HXhVl.s page 54 2995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 2996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Main usage is PWM mode 2997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note This function must be called when timer is stopped or disabled (CEN =0) 2998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note If dithering is activated, pay attention to ARR, CCRx, CNT interpretation: 2999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * - CNT: only CNT[11:0] holds the non-dithered part for 16b timers (or CNT[26:0] for 32 3000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * - ARR: ARR[15:4] holds the non-dithered part, and ARR[3:0] the dither part for 16b ti 3001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * - CCRx: CCRx[15:4] holds the non-dithered part, and CCRx[3:0] the dither part for 16b 3002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * - ARR and CCRx values are limited to 0xFFEF in dithering mode for 16b timers 3003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (corresponds to 4094 for the integer part and 15 for the dithered part). 3004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Macros @ref __HAL_TIM_CALC_PERIOD_DITHER() __HAL_TIM_CALC_DELAY_DITHER() __HAL_TIM_CAL 3005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * can be used to calculate period (ARR) and delay (CCRx) value. 3006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Enabling dithering, modifies automatically values of registers ARR/CCRx to keep the sam 3007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Enabling dithering, modifies automatically values of registers ARR/CCRx to keep the sam 3008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * So it may be necessary to read ARR value or CCRx value with macros @ref __HAL_TIM_GET_A 3009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * __HAL_TIM_GET_COMPARE() and if necessary update Init structure field htim->Init.Period 3010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DitheringEnable(TIM_HandleTypeDef *htim) 3013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 3016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->CR1, TIM_CR1_DITHEN); 3018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disable dithering 3023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note This function must be called when timer is stopped or disabled (CEN =0) 3025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note If dithering is activated, pay attention to ARR, CCRx, CNT interpretation: 3026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * - CNT: only CNT[11:0] holds the non-dithered part for 16b timers (or CNT[26:0] for 32 3027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * - ARR: ARR[15:4] holds the non-dithered part, and ARR[3:0] the dither part for 16b ti 3028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * - CCRx: CCRx[15:4] holds the non-dithered part, and CCRx[3:0] the dither part for 16b 3029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * - ARR and CCRx values are limited to 0xFFEF in dithering mode 3030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (corresponds to 4094 for the integer part and 15 for the dithered part). 3031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Disabling dithering, modifies automatically values of registers ARR/CCRx to keep the sa 3032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * So it may be necessary to read ARR value or CCRx value with macros @ref __HAL_TIM_GET_A 3033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * __HAL_TIM_GET_COMPARE() and if necessary update Init structure field htim->Init.Period 3034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DitheringDisable(TIM_HandleTypeDef *htim) 3037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 3040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->CR1, TIM_CR1_DITHEN); 3042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Initializes the pulse on compare pulse width and pulse prescaler 3047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Output Compare handle 3048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param PulseWidthPrescaler Pulse width prescaler 3049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be a number between Min_Data = 0x0 and Max_Data = 0x7 3050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param PulseWidth Pulse width 3051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be a number between Min_Data = 0x00 and Max_Data = 0xFF ARM GAS /tmp/cc9HXhVl.s page 55 3052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OC_ConfigPulseOnCompare(TIM_HandleTypeDef *htim, 3055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t PulseWidthPrescaler, 3056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t PulseWidth) 3057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpecr; 3059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_PULSEONCOMPARE_INSTANCE(htim->Instance)); 3062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_PULSEONCOMPARE_WIDTH(PulseWidth)); 3063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_PULSEONCOMPARE_WIDTHPRESCALER(PulseWidthPrescaler)); 3064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Process Locked */ 3066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim); 3067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM state */ 3069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_BUSY; 3070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Get the TIMx ECR register value */ 3072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpecr = htim->Instance->ECR; 3073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the Pulse width prescaler and the Pulse width */ 3074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpecr &= ~(TIM_ECR_PWPRSC | TIM_ECR_PW); 3075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the Pulse width prescaler and Pulse width*/ 3076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpecr |= PulseWidthPrescaler << TIM_ECR_PWPRSC_Pos; 3077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpecr |= PulseWidth << TIM_ECR_PW_Pos; 3078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Write to TIMx ECR */ 3079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->ECR = tmpecr; 3080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the TIM state */ 3082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY; 3083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Release Lock */ 3085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim); 3086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configure preload source of Slave Mode Selection bitfield (SMS in SMCR register) 3092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Source Source of slave mode selection preload 3094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 3095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_SMS_PRELOAD_SOURCE_UPDATE: Timer update event is used as source of Slave Mo 3096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_SMS_PRELOAD_SOURCE_INDEX: Timer index event is used as source of Slave Mode 3097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigSlaveModePreload(TIM_HandleTypeDef *htim, uint32_t Source) 3100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_SLAVE_INSTANCE(htim->Instance)); 3103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_SLAVE_PRELOAD_SOURCE(Source)); 3104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->SMCR, TIM_SMCR_SMSPS, Source); 3106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/cc9HXhVl.s page 56 3109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enable preload of Slave Mode Selection bitfield (SMS in SMCR register) 3111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_EnableSlaveModePreload(TIM_HandleTypeDef *htim) 3115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_SLAVE_INSTANCE(htim->Instance)); 3118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->SMCR, TIM_SMCR_SMSPE); 3120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disable preload of Slave Mode Selection bitfield (SMS in SMCR register) 3125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DisableSlaveModePreload(TIM_HandleTypeDef *htim) 3129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_SLAVE_INSTANCE(htim->Instance)); 3132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->SMCR, TIM_SMCR_SMSPE); 3134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enable deadtime preload 3139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_EnableDeadTimePreload(TIM_HandleTypeDef *htim) 3143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance)); 3146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->DTR2, TIM_DTR2_DTPE); 3148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disable deadtime preload 3153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DisableDeadTimePreload(TIM_HandleTypeDef *htim) 3157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance)); 3160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->DTR2, TIM_DTR2_DTPE); 3162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** ARM GAS /tmp/cc9HXhVl.s page 57 3166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configure deadtime 3167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Deadtime Deadtime value 3169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note This parameter can be a number between Min_Data = 0x00 and Max_Data = 0xFF 3170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigDeadTime(TIM_HandleTypeDef *htim, uint32_t Deadtime) 3173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance)); 3176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_DEADTIME(Deadtime)); 3177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->BDTR, TIM_BDTR_DTG, Deadtime); 3179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configure asymmetrical deadtime 3184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param FallingDeadtime Falling edge deadtime value 3186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note This parameter can be a number between Min_Data = 0x00 and Max_Data = 0xFF 3187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigAsymmetricalDeadTime(TIM_HandleTypeDef *htim, uint32_t FallingDea 3190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance)); 3193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_DEADTIME(FallingDeadtime)); 3194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->DTR2, TIM_DTR2_DTGF, FallingDeadtime); 3196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enable asymmetrical deadtime 3201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_EnableAsymmetricalDeadTime(TIM_HandleTypeDef *htim) 3205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance)); 3208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->DTR2, TIM_DTR2_DTAE); 3210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disable asymmetrical deadtime 3215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DisableAsymmetricalDeadTime(TIM_HandleTypeDef *htim) 3219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance)); 3222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/cc9HXhVl.s page 58 3223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->DTR2, TIM_DTR2_DTAE); 3224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configures the encoder index. 3229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note warning in case of encoder mode clock plus direction 3230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @ref TIM_ENCODERMODE_CLOCKPLUSDIRECTION_X1 or @ref TIM_ENCODERMODE_CLOCKPLUS 3231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * Direction must be set to @ref TIM_ENCODERINDEX_DIRECTION_UP_DOWN 3232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle. 3233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param sEncoderIndexConfig Encoder index configuration 3234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigEncoderIndex(TIM_HandleTypeDef *htim, 3237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIMEx_EncoderIndexConfigTypeDef *sEncoderIndexConfig 3238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance)); 3241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_POLARITY(sEncoderIndexConfig->Polarity)); 3242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_PRESCALER(sEncoderIndexConfig->Prescaler)); 3243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_FILTER(sEncoderIndexConfig->Filter)); 3244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_FUNCTIONAL_STATE(sEncoderIndexConfig->FirstIndexEnable)); 3245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_POSITION(sEncoderIndexConfig->Position)); 3246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_DIRECTION(sEncoderIndexConfig->Direction)); 3247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Process Locked */ 3249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim); 3250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Configures the TIMx External Trigger (ETR) which is used as Index input */ 3252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ETR_SetConfig(htim->Instance, 3253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Prescaler, 3254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Polarity, 3255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Filter); 3256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Configures the encoder index */ 3258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->ECR, 3259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ECR_IDIR_Msk | TIM_ECR_FIDX_Msk | TIM_ECR_IPOS_Msk, 3260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (sEncoderIndexConfig->Direction | 3261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ((sEncoderIndexConfig->FirstIndexEnable == ENABLE) ? (0x1U << TIM_ECR_FIDX_Pos) : 0U) 3262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Position | 3263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ECR_IE)); 3264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim); 3266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enable encoder index 3272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_EnableEncoderIndex(TIM_HandleTypeDef *htim) 3276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance)); 3279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/cc9HXhVl.s page 59 3280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->ECR, TIM_ECR_IE); 3281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disable encoder index 3286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DisableEncoderIndex(TIM_HandleTypeDef *htim) 3290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance)); 3293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->ECR, TIM_ECR_IE); 3295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enable encoder first index 3300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_EnableEncoderFirstIndex(TIM_HandleTypeDef *htim) 3304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance)); 3307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->ECR, TIM_ECR_FIDX); 3309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disable encoder first index 3314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DisableEncoderFirstIndex(TIM_HandleTypeDef *htim) 3318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance)); 3321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->ECR, TIM_ECR_FIDX); 3323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @} 3328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group6 Extended Callbacks functions 3331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Extended Callbacks functions 3332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 3333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim 3334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== 3335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Extended Callbacks functions ##### 3336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== ARM GAS /tmp/cc9HXhVl.s page 60 3337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..] 3338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** This section provides Extended TIM callback functions: 3339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Timer Commutation callback 3340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Timer Break callback 3341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim 3343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{ 3344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Hall commutation changed callback in non-blocking mode 3348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 3350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_CommutCallback(TIM_HandleTypeDef *htim) 3352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 3354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim); 3355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed, 3357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_CommutCallback could be implemented in the user file 3358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Hall commutation changed half complete callback in non-blocking mode 3362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 3364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_CommutHalfCpltCallback(TIM_HandleTypeDef *htim) 3366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 3368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim); 3369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed, 3371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_CommutHalfCpltCallback could be implemented in the user file 3372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Hall Break detection callback in non-blocking mode 3377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 3379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_BreakCallback(TIM_HandleTypeDef *htim) 3381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 3383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim); 3384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed, 3386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_BreakCallback could be implemented in the user file 3387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Hall Break2 detection callback in non blocking mode 3392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim: TIM handle 3393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None ARM GAS /tmp/cc9HXhVl.s page 61 3394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_Break2Callback(TIM_HandleTypeDef *htim) 3396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 3398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim); 3399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function Should not be modified, when the callback is needed, 3401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_Break2Callback could be implemented in the user file 3402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Encoder index callback in non-blocking mode 3407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 3409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_EncoderIndexCallback(TIM_HandleTypeDef *htim) 3411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 3413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim); 3414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed, 3416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_EncoderIndexCallback could be implemented in the user file 3417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Direction change callback in non-blocking mode 3422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 3424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_DirectionChangeCallback(TIM_HandleTypeDef *htim) 3426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 3428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim); 3429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed, 3431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_DirectionChangeCallback could be implemented in the user file 3432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Index error callback in non-blocking mode 3437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 3439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_IndexErrorCallback(TIM_HandleTypeDef *htim) 3441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 3443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim); 3444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed, 3446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_IndexErrorCallback could be implemented in the user file 3447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** ARM GAS /tmp/cc9HXhVl.s page 62 3451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Transition error callback in non-blocking mode 3452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 3454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_TransitionErrorCallback(TIM_HandleTypeDef *htim) 3456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 3458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim); 3459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed, 3461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_TransitionErrorCallback could be implemented in the user file 3462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @} 3467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group7 Extended Peripheral State functions 3470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Extended Peripheral State functions 3471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 3472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim 3473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== 3474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Extended Peripheral State functions ##### 3475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== 3476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..] 3477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** This subsection permits to get in run-time the status of the peripheral 3478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** and the data flow. 3479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim 3481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{ 3482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Return the TIM Hall Sensor interface handle state. 3486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor handle 3487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL state 3488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_StateTypeDef HAL_TIMEx_HallSensor_GetState(TIM_HandleTypeDef *htim) 3490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return htim->State; 3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Return actual state of the TIM complementary channel. 3496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param ChannelN TIM Complementary channel 3498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 3499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 3500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 3501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 3502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 3503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval TIM Complementary channel state 3504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef HAL_TIMEx_GetChannelNState(TIM_HandleTypeDef *htim, uint32_t ChannelN) 3506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_state; ARM GAS /tmp/cc9HXhVl.s page 63 3508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, ChannelN)); 3511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** channel_state = TIM_CHANNEL_N_STATE_GET(htim, ChannelN); 3513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return channel_state; 3515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @} 3518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @} 3522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Private functions ---------------------------------------------------------*/ 3525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Private_Functions TIM Extended Private Functions 3526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{ 3527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief TIM DMA Commutation callback. 3531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param hdma pointer to DMA handle. 3532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 3533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** void TIMEx_DMACommutationCplt(DMA_HandleTypeDef *hdma) 3535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 3537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the htim state */ 3539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY; 3540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->CommutationCallback(htim); 3543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else 3544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIMEx_CommutCallback(htim); 3545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief TIM DMA Commutation half complete callback. 3550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param hdma pointer to DMA handle. 3551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 3552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** void TIMEx_DMACommutationHalfCplt(DMA_HandleTypeDef *hdma) 3554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 3556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the htim state */ 3558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY; 3559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->CommutationHalfCpltCallback(htim); 3562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else 3563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIMEx_CommutHalfCpltCallback(htim); 3564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ ARM GAS /tmp/cc9HXhVl.s page 64 3565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief TIM DMA Delay Pulse complete callback (complementary channel). 3570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param hdma pointer to DMA handle. 3571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 3572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** static void TIM_DMADelayPulseNCplt(DMA_HandleTypeDef *hdma) 3574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 3576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (hdma == htim->hdma[TIM_DMA_ID_CC1]) 3578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1; 3580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (hdma->Init.Mode == DMA_NORMAL) 3582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 3584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC2]) 3587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2; 3589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (hdma->Init.Mode == DMA_NORMAL) 3591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 3593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC3]) 3596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3; 3598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (hdma->Init.Mode == DMA_NORMAL) 3600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY); 3602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC4]) 3605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4; 3607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (hdma->Init.Mode == DMA_NORMAL) 3609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY); 3611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* nothing to do */ 3616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->PWM_PulseFinishedCallback(htim); 3620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else 3621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_PWM_PulseFinishedCallback(htim); ARM GAS /tmp/cc9HXhVl.s page 65 3622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; 3625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief TIM DMA error callback (complementary channel) 3629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param hdma pointer to DMA handle. 3630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 3631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** static void TIM_DMAErrorCCxN(DMA_HandleTypeDef *hdma) 3633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 3635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (hdma == htim->hdma[TIM_DMA_ID_CC1]) 3637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1; 3639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 3640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC2]) 3642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2; 3644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 3645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC3]) 3647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3; 3649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY); 3650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 3652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* nothing to do */ 3654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->ErrorCallback(htim); 3658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else 3659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ErrorCallback(htim); 3660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; 3663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enables or disables the TIM Capture Compare Channel xN. 3667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param TIMx to select the TIM peripheral 3668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel specifies the TIM Channel 3669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 3670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 3671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 3672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 3673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 3674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param ChannelNState specifies the TIM Channel CCxNE bit new state. 3675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be: TIM_CCxN_ENABLE or TIM_CCxN_Disable. 3676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 3677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** static void TIM_CCxNChannelCmd(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ChannelNState) ARM GAS /tmp/cc9HXhVl.s page 66 3679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 29 .loc 1 3679 1 view -0 30 .cfi_startproc 31 @ args = 0, pretend = 0, frame = 0 32 @ frame_needed = 0, uses_anonymous_args = 0 33 @ link register save eliminated. 3680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmp; 34 .loc 1 3680 3 view .LVU1 3681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmp = TIM_CCER_CC1NE << (Channel & 0x1FU); /* 0x1FU = 31 bits max shift */ 35 .loc 1 3682 3 view .LVU2 36 .loc 1 3682 36 is_stmt 0 view .LVU3 37 0000 01F01F01 and r1, r1, #31 38 .LVL1: 39 .loc 1 3682 7 view .LVU4 40 0004 4FF0040C mov ip, #4 41 0008 0CFA01FC lsl ip, ip, r1 42 .LVL2: 3683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the CCxNE Bit */ 3685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIMx->CCER &= ~tmp; 43 .loc 1 3685 3 is_stmt 1 view .LVU5 44 .loc 1 3685 7 is_stmt 0 view .LVU6 45 000c 036A ldr r3, [r0, #32] 46 .loc 1 3685 14 view .LVU7 47 000e 23EA0C03 bic r3, r3, ip 48 0012 0362 str r3, [r0, #32] 3686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set or reset the CCxNE Bit */ 3688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIMx->CCER |= (uint32_t)(ChannelNState << (Channel & 0x1FU)); /* 0x1FU = 31 bits max shift */ 49 .loc 1 3688 3 is_stmt 1 view .LVU8 50 .loc 1 3688 7 is_stmt 0 view .LVU9 51 0014 036A ldr r3, [r0, #32] 52 .loc 1 3688 42 view .LVU10 53 0016 8A40 lsls r2, r2, r1 54 .LVL3: 55 .loc 1 3688 14 view .LVU11 56 0018 1343 orrs r3, r3, r2 57 001a 0362 str r3, [r0, #32] 3689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 58 .loc 1 3689 1 view .LVU12 59 001c 7047 bx lr 60 .cfi_endproc 61 .LFE397: 63 .section .text.TIM_DMAErrorCCxN,"ax",%progbits 64 .align 1 65 .syntax unified 66 .thumb 67 .thumb_func 69 TIM_DMAErrorCCxN: 70 .LVL4: 71 .LFB396: 3633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 72 .loc 1 3633 1 is_stmt 1 view -0 73 .cfi_startproc 74 @ args = 0, pretend = 0, frame = 0 75 @ frame_needed = 0, uses_anonymous_args = 0 ARM GAS /tmp/cc9HXhVl.s page 67 3633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 76 .loc 1 3633 1 is_stmt 0 view .LVU14 77 0000 10B5 push {r4, lr} 78 .LCFI0: 79 .cfi_def_cfa_offset 8 80 .cfi_offset 4, -8 81 .cfi_offset 14, -4 3634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 82 .loc 1 3634 3 is_stmt 1 view .LVU15 3634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 83 .loc 1 3634 22 is_stmt 0 view .LVU16 84 0002 846A ldr r4, [r0, #40] 85 .LVL5: 3636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 86 .loc 1 3636 3 is_stmt 1 view .LVU17 3636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 87 .loc 1 3636 25 is_stmt 0 view .LVU18 88 0004 636A ldr r3, [r4, #36] 3636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 89 .loc 1 3636 6 view .LVU19 90 0006 8342 cmp r3, r0 91 0008 0BD0 beq .L7 3641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 92 .loc 1 3641 8 is_stmt 1 view .LVU20 3641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 93 .loc 1 3641 30 is_stmt 0 view .LVU21 94 000a A36A ldr r3, [r4, #40] 3641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 95 .loc 1 3641 11 view .LVU22 96 000c 8342 cmp r3, r0 97 000e 0DD0 beq .L8 3646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 98 .loc 1 3646 8 is_stmt 1 view .LVU23 3646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 99 .loc 1 3646 30 is_stmt 0 view .LVU24 100 0010 E36A ldr r3, [r4, #44] 3646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 101 .loc 1 3646 11 view .LVU25 102 0012 8342 cmp r3, r0 103 0014 10D0 beq .L9 104 .L4: 3654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 105 .loc 1 3654 3 is_stmt 1 view .LVU26 3659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 106 .loc 1 3659 3 view .LVU27 107 0016 2046 mov r0, r4 108 .LVL6: 3659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 109 .loc 1 3659 3 is_stmt 0 view .LVU28 110 0018 FFF7FEFF bl HAL_TIM_ErrorCallback 111 .LVL7: 3662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 112 .loc 1 3662 3 is_stmt 1 view .LVU29 3662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 113 .loc 1 3662 17 is_stmt 0 view .LVU30 114 001c 0023 movs r3, #0 115 001e 2377 strb r3, [r4, #28] ARM GAS /tmp/cc9HXhVl.s page 68 3663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 116 .loc 1 3663 1 view .LVU31 117 0020 10BD pop {r4, pc} 118 .LVL8: 119 .L7: 3638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 120 .loc 1 3638 5 is_stmt 1 view .LVU32 3638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 121 .loc 1 3638 19 is_stmt 0 view .LVU33 122 0022 0123 movs r3, #1 123 0024 2377 strb r3, [r4, #28] 3639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 124 .loc 1 3639 5 is_stmt 1 view .LVU34 125 0026 84F84430 strb r3, [r4, #68] 126 002a F4E7 b .L4 127 .L8: 3643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 128 .loc 1 3643 5 view .LVU35 3643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 129 .loc 1 3643 19 is_stmt 0 view .LVU36 130 002c 0223 movs r3, #2 131 002e 2377 strb r3, [r4, #28] 3644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 132 .loc 1 3644 5 is_stmt 1 view .LVU37 133 0030 0123 movs r3, #1 134 0032 84F84530 strb r3, [r4, #69] 135 0036 EEE7 b .L4 136 .L9: 3648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY); 137 .loc 1 3648 5 view .LVU38 3648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY); 138 .loc 1 3648 19 is_stmt 0 view .LVU39 139 0038 0423 movs r3, #4 140 003a 2377 strb r3, [r4, #28] 3649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 141 .loc 1 3649 5 is_stmt 1 view .LVU40 142 003c 0123 movs r3, #1 143 003e 84F84630 strb r3, [r4, #70] 144 0042 E8E7 b .L4 145 .cfi_endproc 146 .LFE396: 148 .section .text.TIM_DMADelayPulseNCplt,"ax",%progbits 149 .align 1 150 .syntax unified 151 .thumb 152 .thumb_func 154 TIM_DMADelayPulseNCplt: 155 .LVL9: 156 .LFB395: 3574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 157 .loc 1 3574 1 view -0 158 .cfi_startproc 159 @ args = 0, pretend = 0, frame = 0 160 @ frame_needed = 0, uses_anonymous_args = 0 3574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 161 .loc 1 3574 1 is_stmt 0 view .LVU42 162 0000 10B5 push {r4, lr} ARM GAS /tmp/cc9HXhVl.s page 69 163 .LCFI1: 164 .cfi_def_cfa_offset 8 165 .cfi_offset 4, -8 166 .cfi_offset 14, -4 3575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 167 .loc 1 3575 3 is_stmt 1 view .LVU43 3575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 168 .loc 1 3575 22 is_stmt 0 view .LVU44 169 0002 846A ldr r4, [r0, #40] 170 .LVL10: 3577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 171 .loc 1 3577 3 is_stmt 1 view .LVU45 3577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 172 .loc 1 3577 25 is_stmt 0 view .LVU46 173 0004 636A ldr r3, [r4, #36] 3577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 174 .loc 1 3577 6 view .LVU47 175 0006 8342 cmp r3, r0 176 0008 0ED0 beq .L16 3586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 177 .loc 1 3586 8 is_stmt 1 view .LVU48 3586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 178 .loc 1 3586 30 is_stmt 0 view .LVU49 179 000a A36A ldr r3, [r4, #40] 3586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 180 .loc 1 3586 11 view .LVU50 181 000c 8342 cmp r3, r0 182 000e 14D0 beq .L17 3595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 183 .loc 1 3595 8 is_stmt 1 view .LVU51 3595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 184 .loc 1 3595 30 is_stmt 0 view .LVU52 185 0010 E36A ldr r3, [r4, #44] 3595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 186 .loc 1 3595 11 view .LVU53 187 0012 8342 cmp r3, r0 188 0014 1AD0 beq .L18 3604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 189 .loc 1 3604 8 is_stmt 1 view .LVU54 3604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 190 .loc 1 3604 30 is_stmt 0 view .LVU55 191 0016 236B ldr r3, [r4, #48] 3604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 192 .loc 1 3604 11 view .LVU56 193 0018 8342 cmp r3, r0 194 001a 20D0 beq .L19 195 .L12: 3616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 196 .loc 1 3616 3 is_stmt 1 view .LVU57 3621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 197 .loc 1 3621 3 view .LVU58 198 001c 2046 mov r0, r4 199 .LVL11: 3621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 200 .loc 1 3621 3 is_stmt 0 view .LVU59 201 001e FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback 202 .LVL12: ARM GAS /tmp/cc9HXhVl.s page 70 3624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 203 .loc 1 3624 3 is_stmt 1 view .LVU60 3624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 204 .loc 1 3624 17 is_stmt 0 view .LVU61 205 0022 0023 movs r3, #0 206 0024 2377 strb r3, [r4, #28] 3625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 207 .loc 1 3625 1 view .LVU62 208 0026 10BD pop {r4, pc} 209 .LVL13: 210 .L16: 3579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 211 .loc 1 3579 5 is_stmt 1 view .LVU63 3579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 212 .loc 1 3579 19 is_stmt 0 view .LVU64 213 0028 0123 movs r3, #1 214 002a 2377 strb r3, [r4, #28] 3581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 215 .loc 1 3581 5 is_stmt 1 view .LVU65 3581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 216 .loc 1 3581 19 is_stmt 0 view .LVU66 217 002c C369 ldr r3, [r0, #28] 3581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 218 .loc 1 3581 8 view .LVU67 219 002e 002B cmp r3, #0 220 0030 F4D1 bne .L12 3583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 221 .loc 1 3583 7 is_stmt 1 view .LVU68 222 0032 0123 movs r3, #1 223 0034 84F84430 strb r3, [r4, #68] 224 0038 F0E7 b .L12 225 .L17: 3588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 226 .loc 1 3588 5 view .LVU69 3588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 227 .loc 1 3588 19 is_stmt 0 view .LVU70 228 003a 0223 movs r3, #2 229 003c 2377 strb r3, [r4, #28] 3590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 230 .loc 1 3590 5 is_stmt 1 view .LVU71 3590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 231 .loc 1 3590 19 is_stmt 0 view .LVU72 232 003e C369 ldr r3, [r0, #28] 3590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 233 .loc 1 3590 8 view .LVU73 234 0040 002B cmp r3, #0 235 0042 EBD1 bne .L12 3592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 236 .loc 1 3592 7 is_stmt 1 view .LVU74 237 0044 0123 movs r3, #1 238 0046 84F84530 strb r3, [r4, #69] 239 004a E7E7 b .L12 240 .L18: 3597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 241 .loc 1 3597 5 view .LVU75 3597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 242 .loc 1 3597 19 is_stmt 0 view .LVU76 ARM GAS /tmp/cc9HXhVl.s page 71 243 004c 0423 movs r3, #4 244 004e 2377 strb r3, [r4, #28] 3599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 245 .loc 1 3599 5 is_stmt 1 view .LVU77 3599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 246 .loc 1 3599 19 is_stmt 0 view .LVU78 247 0050 C369 ldr r3, [r0, #28] 3599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 248 .loc 1 3599 8 view .LVU79 249 0052 002B cmp r3, #0 250 0054 E2D1 bne .L12 3601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 251 .loc 1 3601 7 is_stmt 1 view .LVU80 252 0056 0123 movs r3, #1 253 0058 84F84630 strb r3, [r4, #70] 254 005c DEE7 b .L12 255 .L19: 3606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 256 .loc 1 3606 5 view .LVU81 3606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 257 .loc 1 3606 19 is_stmt 0 view .LVU82 258 005e 0823 movs r3, #8 259 0060 2377 strb r3, [r4, #28] 3608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 260 .loc 1 3608 5 is_stmt 1 view .LVU83 3608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 261 .loc 1 3608 19 is_stmt 0 view .LVU84 262 0062 C369 ldr r3, [r0, #28] 3608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 263 .loc 1 3608 8 view .LVU85 264 0064 002B cmp r3, #0 265 0066 D9D1 bne .L12 3610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 266 .loc 1 3610 7 is_stmt 1 view .LVU86 267 0068 0123 movs r3, #1 268 006a 84F84730 strb r3, [r4, #71] 269 006e D5E7 b .L12 270 .cfi_endproc 271 .LFE395: 273 .section .text.HAL_TIMEx_HallSensor_MspInit,"ax",%progbits 274 .align 1 275 .weak HAL_TIMEx_HallSensor_MspInit 276 .syntax unified 277 .thumb 278 .thumb_func 280 HAL_TIMEx_HallSensor_MspInit: 281 .LVL14: 282 .LFB331: 304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 283 .loc 1 304 1 view -0 284 .cfi_startproc 285 @ args = 0, pretend = 0, frame = 0 286 @ frame_needed = 0, uses_anonymous_args = 0 287 @ link register save eliminated. 306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 288 .loc 1 306 3 view .LVU88 311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/cc9HXhVl.s page 72 289 .loc 1 311 1 is_stmt 0 view .LVU89 290 0000 7047 bx lr 291 .cfi_endproc 292 .LFE331: 294 .section .text.HAL_TIMEx_HallSensor_Init,"ax",%progbits 295 .align 1 296 .global HAL_TIMEx_HallSensor_Init 297 .syntax unified 298 .thumb 299 .thumb_func 301 HAL_TIMEx_HallSensor_Init: 302 .LVL15: 303 .LFB329: 158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_OC_InitTypeDef OC_Config; 304 .loc 1 158 1 is_stmt 1 view -0 305 .cfi_startproc 306 @ args = 0, pretend = 0, frame = 32 307 @ frame_needed = 0, uses_anonymous_args = 0 159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 308 .loc 1 159 3 view .LVU91 162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 309 .loc 1 162 3 view .LVU92 162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 310 .loc 1 162 6 is_stmt 0 view .LVU93 311 0000 0028 cmp r0, #0 312 0002 6BD0 beq .L24 158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_OC_InitTypeDef OC_Config; 313 .loc 1 158 1 view .LVU94 314 0004 70B5 push {r4, r5, r6, lr} 315 .LCFI2: 316 .cfi_def_cfa_offset 16 317 .cfi_offset 4, -16 318 .cfi_offset 5, -12 319 .cfi_offset 6, -8 320 .cfi_offset 14, -4 321 0006 88B0 sub sp, sp, #32 322 .LCFI3: 323 .cfi_def_cfa_offset 48 324 0008 0E46 mov r6, r1 325 000a 0446 mov r4, r0 168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 326 .loc 1 168 3 is_stmt 1 view .LVU95 169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 327 .loc 1 169 3 view .LVU96 170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 328 .loc 1 170 3 view .LVU97 171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_IC_POLARITY(sConfig->IC1Polarity)); 329 .loc 1 171 3 view .LVU98 172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->IC1Prescaler)); 330 .loc 1 172 3 view .LVU99 173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_IC_FILTER(sConfig->IC1Filter)); 331 .loc 1 173 3 view .LVU100 174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 332 .loc 1 174 3 view .LVU101 176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 333 .loc 1 176 3 view .LVU102 176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { ARM GAS /tmp/cc9HXhVl.s page 73 334 .loc 1 176 11 is_stmt 0 view .LVU103 335 000c 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 336 .loc 1 176 6 view .LVU104 337 0010 002B cmp r3, #0 338 0012 5ED0 beq .L29 339 .LVL16: 340 .L23: 198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 341 .loc 1 198 3 is_stmt 1 view .LVU105 198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 342 .loc 1 198 15 is_stmt 0 view .LVU106 343 0014 0223 movs r3, #2 344 0016 84F83D30 strb r3, [r4, #61] 201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 345 .loc 1 201 3 is_stmt 1 view .LVU107 346 001a 2146 mov r1, r4 347 001c 51F8040B ldr r0, [r1], #4 348 0020 FFF7FEFF bl TIM_Base_SetConfig 349 .LVL17: 204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 350 .loc 1 204 3 view .LVU108 351 0024 B368 ldr r3, [r6, #8] 352 0026 0322 movs r2, #3 353 0028 3168 ldr r1, [r6] 354 002a 2068 ldr r0, [r4] 355 002c FFF7FEFF bl TIM_TI1_SetConfig 356 .LVL18: 207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the IC1PSC value */ 357 .loc 1 207 3 view .LVU109 207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the IC1PSC value */ 358 .loc 1 207 7 is_stmt 0 view .LVU110 359 0030 2268 ldr r2, [r4] 207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the IC1PSC value */ 360 .loc 1 207 17 view .LVU111 361 0032 9369 ldr r3, [r2, #24] 207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the IC1PSC value */ 362 .loc 1 207 25 view .LVU112 363 0034 23F00C03 bic r3, r3, #12 364 0038 9361 str r3, [r2, #24] 209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 365 .loc 1 209 3 is_stmt 1 view .LVU113 209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 366 .loc 1 209 7 is_stmt 0 view .LVU114 367 003a 2268 ldr r2, [r4] 209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 368 .loc 1 209 17 view .LVU115 369 003c 9369 ldr r3, [r2, #24] 209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 370 .loc 1 209 35 view .LVU116 371 003e 7168 ldr r1, [r6, #4] 209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 372 .loc 1 209 25 view .LVU117 373 0040 0B43 orrs r3, r3, r1 374 0042 9361 str r3, [r2, #24] 212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 375 .loc 1 212 3 is_stmt 1 view .LVU118 ARM GAS /tmp/cc9HXhVl.s page 74 212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 376 .loc 1 212 7 is_stmt 0 view .LVU119 377 0044 2268 ldr r2, [r4] 212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 378 .loc 1 212 17 view .LVU120 379 0046 5368 ldr r3, [r2, #4] 212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 380 .loc 1 212 23 view .LVU121 381 0048 43F08003 orr r3, r3, #128 382 004c 5360 str r3, [r2, #4] 215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_TS_TI1F_ED; 383 .loc 1 215 3 is_stmt 1 view .LVU122 215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_TS_TI1F_ED; 384 .loc 1 215 7 is_stmt 0 view .LVU123 385 004e 2268 ldr r2, [r4] 215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_TS_TI1F_ED; 386 .loc 1 215 17 view .LVU124 387 0050 9368 ldr r3, [r2, #8] 215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_TS_TI1F_ED; 388 .loc 1 215 24 view .LVU125 389 0052 23F44013 bic r3, r3, #3145728 390 0056 23F07003 bic r3, r3, #112 391 005a 9360 str r3, [r2, #8] 216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 392 .loc 1 216 3 is_stmt 1 view .LVU126 216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 393 .loc 1 216 7 is_stmt 0 view .LVU127 394 005c 2268 ldr r2, [r4] 216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 395 .loc 1 216 17 view .LVU128 396 005e 9368 ldr r3, [r2, #8] 216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 397 .loc 1 216 24 view .LVU129 398 0060 43F04003 orr r3, r3, #64 399 0064 9360 str r3, [r2, #8] 219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_RESET; 400 .loc 1 219 3 is_stmt 1 view .LVU130 219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_RESET; 401 .loc 1 219 7 is_stmt 0 view .LVU131 402 0066 2268 ldr r2, [r4] 219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_RESET; 403 .loc 1 219 17 view .LVU132 404 0068 9368 ldr r3, [r2, #8] 219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_RESET; 405 .loc 1 219 24 view .LVU133 406 006a 23F48033 bic r3, r3, #65536 407 006e 23F00703 bic r3, r3, #7 408 0072 9360 str r3, [r2, #8] 220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 409 .loc 1 220 3 is_stmt 1 view .LVU134 220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 410 .loc 1 220 7 is_stmt 0 view .LVU135 411 0074 2268 ldr r2, [r4] 220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 412 .loc 1 220 17 view .LVU136 413 0076 9368 ldr r3, [r2, #8] 220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/cc9HXhVl.s page 75 414 .loc 1 220 24 view .LVU137 415 0078 43F00403 orr r3, r3, #4 416 007c 9360 str r3, [r2, #8] 223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCIdleState = TIM_OCIDLESTATE_RESET; 417 .loc 1 223 3 is_stmt 1 view .LVU138 223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCIdleState = TIM_OCIDLESTATE_RESET; 418 .loc 1 223 24 is_stmt 0 view .LVU139 419 007e 0025 movs r5, #0 420 0080 0595 str r5, [sp, #20] 224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCMode = TIM_OCMODE_PWM2; 421 .loc 1 224 3 is_stmt 1 view .LVU140 224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCMode = TIM_OCMODE_PWM2; 422 .loc 1 224 25 is_stmt 0 view .LVU141 423 0082 0695 str r5, [sp, #24] 225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCNIdleState = TIM_OCNIDLESTATE_RESET; 424 .loc 1 225 3 is_stmt 1 view .LVU142 225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCNIdleState = TIM_OCNIDLESTATE_RESET; 425 .loc 1 225 20 is_stmt 0 view .LVU143 426 0084 7023 movs r3, #112 427 0086 0193 str r3, [sp, #4] 226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCNPolarity = TIM_OCNPOLARITY_HIGH; 428 .loc 1 226 3 is_stmt 1 view .LVU144 226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCNPolarity = TIM_OCNPOLARITY_HIGH; 429 .loc 1 226 26 is_stmt 0 view .LVU145 430 0088 0795 str r5, [sp, #28] 227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCPolarity = TIM_OCPOLARITY_HIGH; 431 .loc 1 227 3 is_stmt 1 view .LVU146 227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCPolarity = TIM_OCPOLARITY_HIGH; 432 .loc 1 227 25 is_stmt 0 view .LVU147 433 008a 0495 str r5, [sp, #16] 228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.Pulse = sConfig->Commutation_Delay; 434 .loc 1 228 3 is_stmt 1 view .LVU148 228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.Pulse = sConfig->Commutation_Delay; 435 .loc 1 228 24 is_stmt 0 view .LVU149 436 008c 0395 str r5, [sp, #12] 229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 437 .loc 1 229 3 is_stmt 1 view .LVU150 229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 438 .loc 1 229 28 is_stmt 0 view .LVU151 439 008e F368 ldr r3, [r6, #12] 229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 440 .loc 1 229 19 view .LVU152 441 0090 0293 str r3, [sp, #8] 231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 442 .loc 1 231 3 is_stmt 1 view .LVU153 443 0092 01A9 add r1, sp, #4 444 0094 2068 ldr r0, [r4] 445 0096 FFF7FEFF bl TIM_OC2_SetConfig 446 .LVL19: 235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_TRGO_OC2REF; 447 .loc 1 235 3 view .LVU154 235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_TRGO_OC2REF; 448 .loc 1 235 7 is_stmt 0 view .LVU155 449 009a 2268 ldr r2, [r4] 235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_TRGO_OC2REF; 450 .loc 1 235 17 view .LVU156 451 009c 5368 ldr r3, [r2, #4] ARM GAS /tmp/cc9HXhVl.s page 76 235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_TRGO_OC2REF; 452 .loc 1 235 23 view .LVU157 453 009e 23F00073 bic r3, r3, #33554432 454 00a2 23F07003 bic r3, r3, #112 455 00a6 5360 str r3, [r2, #4] 236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 456 .loc 1 236 3 is_stmt 1 view .LVU158 236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 457 .loc 1 236 7 is_stmt 0 view .LVU159 458 00a8 2268 ldr r2, [r4] 236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 459 .loc 1 236 17 view .LVU160 460 00aa 5368 ldr r3, [r2, #4] 236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 461 .loc 1 236 23 view .LVU161 462 00ac 43F05003 orr r3, r3, #80 463 00b0 5360 str r3, [r2, #4] 239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 464 .loc 1 239 3 is_stmt 1 view .LVU162 239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 465 .loc 1 239 23 is_stmt 0 view .LVU163 466 00b2 0123 movs r3, #1 467 00b4 84F84830 strb r3, [r4, #72] 242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 468 .loc 1 242 3 is_stmt 1 view .LVU164 469 00b8 84F83E30 strb r3, [r4, #62] 243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 470 .loc 1 243 3 view .LVU165 471 00bc 84F83F30 strb r3, [r4, #63] 244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 472 .loc 1 244 3 view .LVU166 473 00c0 84F84430 strb r3, [r4, #68] 245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 474 .loc 1 245 3 view .LVU167 475 00c4 84F84530 strb r3, [r4, #69] 248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 476 .loc 1 248 3 view .LVU168 248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 477 .loc 1 248 15 is_stmt 0 view .LVU169 478 00c8 84F83D30 strb r3, [r4, #61] 250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 479 .loc 1 250 3 is_stmt 1 view .LVU170 250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 480 .loc 1 250 10 is_stmt 0 view .LVU171 481 00cc 2846 mov r0, r5 251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 482 .loc 1 251 1 view .LVU172 483 00ce 08B0 add sp, sp, #32 484 .LCFI4: 485 .cfi_remember_state 486 .cfi_def_cfa_offset 16 487 @ sp needed 488 00d0 70BD pop {r4, r5, r6, pc} 489 .LVL20: 490 .L29: 491 .LCFI5: 492 .cfi_restore_state ARM GAS /tmp/cc9HXhVl.s page 77 179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 493 .loc 1 179 5 is_stmt 1 view .LVU173 179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 494 .loc 1 179 16 is_stmt 0 view .LVU174 495 00d2 80F83C30 strb r3, [r0, #60] 193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 496 .loc 1 193 5 is_stmt 1 view .LVU175 497 00d6 FFF7FEFF bl HAL_TIMEx_HallSensor_MspInit 498 .LVL21: 193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 499 .loc 1 193 5 is_stmt 0 view .LVU176 500 00da 9BE7 b .L23 501 .LVL22: 502 .L24: 503 .LCFI6: 504 .cfi_def_cfa_offset 0 505 .cfi_restore 4 506 .cfi_restore 5 507 .cfi_restore 6 508 .cfi_restore 14 164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 509 .loc 1 164 12 view .LVU177 510 00dc 0120 movs r0, #1 511 .LVL23: 251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 512 .loc 1 251 1 view .LVU178 513 00de 7047 bx lr 514 .cfi_endproc 515 .LFE329: 517 .section .text.HAL_TIMEx_HallSensor_MspDeInit,"ax",%progbits 518 .align 1 519 .weak HAL_TIMEx_HallSensor_MspDeInit 520 .syntax unified 521 .thumb 522 .thumb_func 524 HAL_TIMEx_HallSensor_MspDeInit: 525 .LVL24: 526 .LFB332: 319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 527 .loc 1 319 1 is_stmt 1 view -0 528 .cfi_startproc 529 @ args = 0, pretend = 0, frame = 0 530 @ frame_needed = 0, uses_anonymous_args = 0 531 @ link register save eliminated. 321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 532 .loc 1 321 3 view .LVU180 326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 533 .loc 1 326 1 is_stmt 0 view .LVU181 534 0000 7047 bx lr 535 .cfi_endproc 536 .LFE332: 538 .section .text.HAL_TIMEx_HallSensor_DeInit,"ax",%progbits 539 .align 1 540 .global HAL_TIMEx_HallSensor_DeInit 541 .syntax unified 542 .thumb 543 .thumb_func ARM GAS /tmp/cc9HXhVl.s page 78 545 HAL_TIMEx_HallSensor_DeInit: 546 .LVL25: 547 .LFB330: 259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 548 .loc 1 259 1 is_stmt 1 view -0 549 .cfi_startproc 550 @ args = 0, pretend = 0, frame = 0 551 @ frame_needed = 0, uses_anonymous_args = 0 259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 552 .loc 1 259 1 is_stmt 0 view .LVU183 553 0000 10B5 push {r4, lr} 554 .LCFI7: 555 .cfi_def_cfa_offset 8 556 .cfi_offset 4, -8 557 .cfi_offset 14, -4 558 0002 0446 mov r4, r0 261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 559 .loc 1 261 3 is_stmt 1 view .LVU184 263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 560 .loc 1 263 3 view .LVU185 263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 561 .loc 1 263 15 is_stmt 0 view .LVU186 562 0004 0223 movs r3, #2 563 0006 80F83D30 strb r3, [r0, #61] 266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 564 .loc 1 266 3 is_stmt 1 view .LVU187 266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 565 .loc 1 266 3 view .LVU188 566 000a 0368 ldr r3, [r0] 567 000c 196A ldr r1, [r3, #32] 568 000e 41F21112 movw r2, #4369 569 0012 1142 tst r1, r2 570 0014 08D1 bne .L32 266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 571 .loc 1 266 3 discriminator 1 view .LVU189 572 0016 196A ldr r1, [r3, #32] 573 0018 44F24442 movw r2, #17476 574 001c 1142 tst r1, r2 575 001e 03D1 bne .L32 266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 576 .loc 1 266 3 discriminator 3 view .LVU190 577 0020 1A68 ldr r2, [r3] 578 0022 22F00102 bic r2, r2, #1 579 0026 1A60 str r2, [r3] 580 .L32: 266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 581 .loc 1 266 3 discriminator 5 view .LVU191 277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 582 .loc 1 277 3 discriminator 5 view .LVU192 583 0028 2046 mov r0, r4 584 .LVL26: 277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 585 .loc 1 277 3 is_stmt 0 discriminator 5 view .LVU193 586 002a FFF7FEFF bl HAL_TIMEx_HallSensor_MspDeInit 587 .LVL27: 281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 588 .loc 1 281 3 is_stmt 1 discriminator 5 view .LVU194 ARM GAS /tmp/cc9HXhVl.s page 79 281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 589 .loc 1 281 23 is_stmt 0 discriminator 5 view .LVU195 590 002e 0020 movs r0, #0 591 0030 84F84800 strb r0, [r4, #72] 284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET); 592 .loc 1 284 3 is_stmt 1 discriminator 5 view .LVU196 593 0034 84F83E00 strb r0, [r4, #62] 285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET); 594 .loc 1 285 3 discriminator 5 view .LVU197 595 0038 84F83F00 strb r0, [r4, #63] 286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET); 596 .loc 1 286 3 discriminator 5 view .LVU198 597 003c 84F84400 strb r0, [r4, #68] 287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 598 .loc 1 287 3 discriminator 5 view .LVU199 599 0040 84F84500 strb r0, [r4, #69] 290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 600 .loc 1 290 3 discriminator 5 view .LVU200 290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 601 .loc 1 290 15 is_stmt 0 discriminator 5 view .LVU201 602 0044 84F83D00 strb r0, [r4, #61] 293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 603 .loc 1 293 3 is_stmt 1 discriminator 5 view .LVU202 293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 604 .loc 1 293 3 discriminator 5 view .LVU203 605 0048 84F83C00 strb r0, [r4, #60] 293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 606 .loc 1 293 3 discriminator 5 view .LVU204 295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 607 .loc 1 295 3 discriminator 5 view .LVU205 296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 608 .loc 1 296 1 is_stmt 0 discriminator 5 view .LVU206 609 004c 10BD pop {r4, pc} 296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 610 .loc 1 296 1 discriminator 5 view .LVU207 611 .cfi_endproc 612 .LFE330: 614 .section .text.HAL_TIMEx_HallSensor_Start,"ax",%progbits 615 .align 1 616 .global HAL_TIMEx_HallSensor_Start 617 .syntax unified 618 .thumb 619 .thumb_func 621 HAL_TIMEx_HallSensor_Start: 622 .LVL28: 623 .LFB333: 334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 624 .loc 1 334 1 is_stmt 1 view -0 625 .cfi_startproc 626 @ args = 0, pretend = 0, frame = 0 627 @ frame_needed = 0, uses_anonymous_args = 0 334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 628 .loc 1 334 1 is_stmt 0 view .LVU209 629 0000 10B5 push {r4, lr} 630 .LCFI8: 631 .cfi_def_cfa_offset 8 632 .cfi_offset 4, -8 ARM GAS /tmp/cc9HXhVl.s page 80 633 .cfi_offset 14, -4 634 0002 0446 mov r4, r0 335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 635 .loc 1 335 3 is_stmt 1 view .LVU210 336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 636 .loc 1 336 3 view .LVU211 336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 637 .loc 1 336 31 is_stmt 0 view .LVU212 638 0004 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 639 .LVL29: 336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 640 .loc 1 336 31 view .LVU213 641 0008 C0B2 uxtb r0, r0 642 .LVL30: 337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 643 .loc 1 337 3 is_stmt 1 view .LVU214 337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 644 .loc 1 337 31 is_stmt 0 view .LVU215 645 000a 94F83F30 ldrb r3, [r4, #63] @ zero_extendqisi2 646 .LVL31: 338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 647 .loc 1 338 3 is_stmt 1 view .LVU216 338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 648 .loc 1 338 31 is_stmt 0 view .LVU217 649 000e 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2 650 .LVL32: 339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 651 .loc 1 339 3 is_stmt 1 view .LVU218 339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 652 .loc 1 339 31 is_stmt 0 view .LVU219 653 0012 94F84510 ldrb r1, [r4, #69] @ zero_extendqisi2 654 .LVL33: 342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 655 .loc 1 342 3 is_stmt 1 view .LVU220 345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 656 .loc 1 345 3 view .LVU221 345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 657 .loc 1 345 6 is_stmt 0 view .LVU222 658 0016 0128 cmp r0, #1 659 0018 42D1 bne .L38 660 001a DBB2 uxtb r3, r3 345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 661 .loc 1 345 6 view .LVU223 662 001c D2B2 uxtb r2, r2 345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 663 .loc 1 345 6 view .LVU224 664 001e C9B2 uxtb r1, r1 346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 665 .loc 1 346 7 view .LVU225 666 0020 012B cmp r3, #1 667 0022 3ED1 bne .L35 347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 668 .loc 1 347 7 view .LVU226 669 0024 012A cmp r2, #1 670 0026 3DD1 bne .L39 348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 671 .loc 1 348 7 view .LVU227 ARM GAS /tmp/cc9HXhVl.s page 81 672 0028 0129 cmp r1, #1 673 002a 01D0 beq .L44 350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 674 .loc 1 350 12 view .LVU228 675 002c 1046 mov r0, r2 676 .LVL34: 350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 677 .loc 1 350 12 view .LVU229 678 002e 38E0 b .L35 679 .LVL35: 680 .L44: 354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 681 .loc 1 354 3 is_stmt 1 view .LVU230 682 0030 0223 movs r3, #2 683 .LVL36: 354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 684 .loc 1 354 3 is_stmt 0 view .LVU231 685 0032 84F83E30 strb r3, [r4, #62] 355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 686 .loc 1 355 3 is_stmt 1 view .LVU232 687 0036 84F83F30 strb r3, [r4, #63] 356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 688 .loc 1 356 3 view .LVU233 689 003a 84F84430 strb r3, [r4, #68] 357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 690 .loc 1 357 3 view .LVU234 691 003e 84F84530 strb r3, [r4, #69] 362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 692 .loc 1 362 3 view .LVU235 693 0042 0021 movs r1, #0 694 .LVL37: 362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 695 .loc 1 362 3 is_stmt 0 view .LVU236 696 0044 2068 ldr r0, [r4] 697 .LVL38: 362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 698 .loc 1 362 3 view .LVU237 699 0046 FFF7FEFF bl TIM_CCxChannelCmd 700 .LVL39: 365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 701 .loc 1 365 3 is_stmt 1 view .LVU238 365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 702 .loc 1 365 7 is_stmt 0 view .LVU239 703 004a 2368 ldr r3, [r4] 365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 704 .loc 1 365 6 view .LVU240 705 004c 184A ldr r2, .L45 706 004e 9342 cmp r3, r2 707 0050 18D0 beq .L36 365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 708 .loc 1 365 7 discriminator 1 view .LVU241 709 0052 B3F1804F cmp r3, #1073741824 710 0056 15D0 beq .L36 365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 711 .loc 1 365 7 discriminator 2 view .LVU242 712 0058 A2F59432 sub r2, r2, #75776 713 005c 9342 cmp r3, r2 ARM GAS /tmp/cc9HXhVl.s page 82 714 005e 11D0 beq .L36 365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 715 .loc 1 365 7 discriminator 3 view .LVU243 716 0060 02F58062 add r2, r2, #1024 717 0064 9342 cmp r3, r2 718 0066 0DD0 beq .L36 365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 719 .loc 1 365 7 discriminator 4 view .LVU244 720 0068 02F59632 add r2, r2, #76800 721 006c 9342 cmp r3, r2 722 006e 09D0 beq .L36 365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 723 .loc 1 365 7 discriminator 5 view .LVU245 724 0070 02F54062 add r2, r2, #3072 725 0074 9342 cmp r3, r2 726 0076 05D0 beq .L36 375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 727 .loc 1 375 5 is_stmt 1 view .LVU246 728 0078 1A68 ldr r2, [r3] 729 007a 42F00102 orr r2, r2, #1 730 007e 1A60 str r2, [r3] 379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 731 .loc 1 379 10 is_stmt 0 view .LVU247 732 0080 0020 movs r0, #0 733 0082 0EE0 b .L35 734 .L36: 367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 735 .loc 1 367 5 is_stmt 1 view .LVU248 367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 736 .loc 1 367 29 is_stmt 0 view .LVU249 737 0084 9968 ldr r1, [r3, #8] 367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 738 .loc 1 367 13 view .LVU250 739 0086 0B4A ldr r2, .L45+4 740 0088 0A40 ands r2, r2, r1 741 .LVL40: 368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 742 .loc 1 368 5 is_stmt 1 view .LVU251 368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 743 .loc 1 368 8 is_stmt 0 view .LVU252 744 008a 062A cmp r2, #6 745 008c 0CD0 beq .L41 368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 746 .loc 1 368 9 discriminator 1 view .LVU253 747 008e B2F5803F cmp r2, #65536 748 0092 0BD0 beq .L42 370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 749 .loc 1 370 7 is_stmt 1 view .LVU254 750 0094 1A68 ldr r2, [r3] 751 .LVL41: 370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 752 .loc 1 370 7 is_stmt 0 view .LVU255 753 0096 42F00102 orr r2, r2, #1 754 009a 1A60 str r2, [r3] 379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 755 .loc 1 379 10 view .LVU256 756 009c 0020 movs r0, #0 ARM GAS /tmp/cc9HXhVl.s page 83 757 009e 00E0 b .L35 758 .LVL42: 759 .L38: 350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 760 .loc 1 350 12 view .LVU257 761 00a0 0120 movs r0, #1 762 .LVL43: 763 .L35: 380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 764 .loc 1 380 1 view .LVU258 765 00a2 10BD pop {r4, pc} 766 .LVL44: 767 .L39: 350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 768 .loc 1 350 12 view .LVU259 769 00a4 1846 mov r0, r3 770 .LVL45: 350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 771 .loc 1 350 12 view .LVU260 772 00a6 FCE7 b .L35 773 .LVL46: 774 .L41: 379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 775 .loc 1 379 10 view .LVU261 776 00a8 0020 movs r0, #0 777 00aa FAE7 b .L35 778 .L42: 779 00ac 0020 movs r0, #0 780 00ae F8E7 b .L35 781 .L46: 782 .align 2 783 .L45: 784 00b0 002C0140 .word 1073818624 785 00b4 07000100 .word 65543 786 .cfi_endproc 787 .LFE333: 789 .section .text.HAL_TIMEx_HallSensor_Stop,"ax",%progbits 790 .align 1 791 .global HAL_TIMEx_HallSensor_Stop 792 .syntax unified 793 .thumb 794 .thumb_func 796 HAL_TIMEx_HallSensor_Stop: 797 .LVL47: 798 .LFB334: 388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 799 .loc 1 388 1 is_stmt 1 view -0 800 .cfi_startproc 801 @ args = 0, pretend = 0, frame = 0 802 @ frame_needed = 0, uses_anonymous_args = 0 388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 803 .loc 1 388 1 is_stmt 0 view .LVU263 804 0000 10B5 push {r4, lr} 805 .LCFI9: 806 .cfi_def_cfa_offset 8 807 .cfi_offset 4, -8 808 .cfi_offset 14, -4 ARM GAS /tmp/cc9HXhVl.s page 84 809 0002 0446 mov r4, r0 390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 810 .loc 1 390 3 is_stmt 1 view .LVU264 395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 811 .loc 1 395 3 view .LVU265 812 0004 0022 movs r2, #0 813 0006 1146 mov r1, r2 814 0008 0068 ldr r0, [r0] 815 .LVL48: 395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 816 .loc 1 395 3 is_stmt 0 view .LVU266 817 000a FFF7FEFF bl TIM_CCxChannelCmd 818 .LVL49: 398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 819 .loc 1 398 3 is_stmt 1 view .LVU267 398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 820 .loc 1 398 3 view .LVU268 821 000e 2368 ldr r3, [r4] 822 0010 196A ldr r1, [r3, #32] 823 0012 41F21112 movw r2, #4369 824 0016 1142 tst r1, r2 825 0018 08D1 bne .L48 398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 826 .loc 1 398 3 discriminator 1 view .LVU269 827 001a 196A ldr r1, [r3, #32] 828 001c 44F24442 movw r2, #17476 829 0020 1142 tst r1, r2 830 0022 03D1 bne .L48 398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 831 .loc 1 398 3 discriminator 3 view .LVU270 832 0024 1A68 ldr r2, [r3] 833 0026 22F00102 bic r2, r2, #1 834 002a 1A60 str r2, [r3] 835 .L48: 398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 836 .loc 1 398 3 discriminator 5 view .LVU271 401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 837 .loc 1 401 3 discriminator 5 view .LVU272 838 002c 0123 movs r3, #1 839 002e 84F83E30 strb r3, [r4, #62] 402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 840 .loc 1 402 3 discriminator 5 view .LVU273 841 0032 84F83F30 strb r3, [r4, #63] 403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 842 .loc 1 403 3 discriminator 5 view .LVU274 843 0036 84F84430 strb r3, [r4, #68] 404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 844 .loc 1 404 3 discriminator 5 view .LVU275 845 003a 84F84530 strb r3, [r4, #69] 407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 846 .loc 1 407 3 discriminator 5 view .LVU276 408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 847 .loc 1 408 1 is_stmt 0 discriminator 5 view .LVU277 848 003e 0020 movs r0, #0 849 0040 10BD pop {r4, pc} 408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 850 .loc 1 408 1 discriminator 5 view .LVU278 ARM GAS /tmp/cc9HXhVl.s page 85 851 .cfi_endproc 852 .LFE334: 854 .section .text.HAL_TIMEx_HallSensor_Start_IT,"ax",%progbits 855 .align 1 856 .global HAL_TIMEx_HallSensor_Start_IT 857 .syntax unified 858 .thumb 859 .thumb_func 861 HAL_TIMEx_HallSensor_Start_IT: 862 .LVL50: 863 .LFB335: 416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 864 .loc 1 416 1 is_stmt 1 view -0 865 .cfi_startproc 866 @ args = 0, pretend = 0, frame = 0 867 @ frame_needed = 0, uses_anonymous_args = 0 416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 868 .loc 1 416 1 is_stmt 0 view .LVU280 869 0000 10B5 push {r4, lr} 870 .LCFI10: 871 .cfi_def_cfa_offset 8 872 .cfi_offset 4, -8 873 .cfi_offset 14, -4 874 0002 0446 mov r4, r0 417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 875 .loc 1 417 3 is_stmt 1 view .LVU281 418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 876 .loc 1 418 3 view .LVU282 418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 877 .loc 1 418 31 is_stmt 0 view .LVU283 878 0004 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 879 .LVL51: 418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 880 .loc 1 418 31 view .LVU284 881 0008 C0B2 uxtb r0, r0 882 .LVL52: 419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 883 .loc 1 419 3 is_stmt 1 view .LVU285 419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 884 .loc 1 419 31 is_stmt 0 view .LVU286 885 000a 94F83F30 ldrb r3, [r4, #63] @ zero_extendqisi2 886 .LVL53: 420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 887 .loc 1 420 3 is_stmt 1 view .LVU287 420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 888 .loc 1 420 31 is_stmt 0 view .LVU288 889 000e 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2 890 .LVL54: 421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 891 .loc 1 421 3 is_stmt 1 view .LVU289 421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 892 .loc 1 421 31 is_stmt 0 view .LVU290 893 0012 94F84510 ldrb r1, [r4, #69] @ zero_extendqisi2 894 .LVL55: 424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 895 .loc 1 424 3 is_stmt 1 view .LVU291 427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) ARM GAS /tmp/cc9HXhVl.s page 86 896 .loc 1 427 3 view .LVU292 427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 897 .loc 1 427 6 is_stmt 0 view .LVU293 898 0016 0128 cmp r0, #1 899 0018 48D1 bne .L54 900 001a DBB2 uxtb r3, r3 427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 901 .loc 1 427 6 view .LVU294 902 001c D2B2 uxtb r2, r2 427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 903 .loc 1 427 6 view .LVU295 904 001e C9B2 uxtb r1, r1 428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 905 .loc 1 428 7 view .LVU296 906 0020 012B cmp r3, #1 907 0022 44D1 bne .L51 429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 908 .loc 1 429 7 view .LVU297 909 0024 012A cmp r2, #1 910 0026 43D1 bne .L55 430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 911 .loc 1 430 7 view .LVU298 912 0028 0129 cmp r1, #1 913 002a 01D0 beq .L60 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 914 .loc 1 432 12 view .LVU299 915 002c 1046 mov r0, r2 916 .LVL56: 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 917 .loc 1 432 12 view .LVU300 918 002e 3EE0 b .L51 919 .LVL57: 920 .L60: 436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 921 .loc 1 436 3 is_stmt 1 view .LVU301 922 0030 0223 movs r3, #2 923 .LVL58: 436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 924 .loc 1 436 3 is_stmt 0 view .LVU302 925 0032 84F83E30 strb r3, [r4, #62] 437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 926 .loc 1 437 3 is_stmt 1 view .LVU303 927 0036 84F83F30 strb r3, [r4, #63] 438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 928 .loc 1 438 3 view .LVU304 929 003a 84F84430 strb r3, [r4, #68] 439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 930 .loc 1 439 3 view .LVU305 931 003e 84F84530 strb r3, [r4, #69] 442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 932 .loc 1 442 3 view .LVU306 933 0042 2268 ldr r2, [r4] 934 .LVL59: 442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 935 .loc 1 442 3 is_stmt 0 view .LVU307 936 0044 D368 ldr r3, [r2, #12] 937 0046 43F00203 orr r3, r3, #2 ARM GAS /tmp/cc9HXhVl.s page 87 938 004a D360 str r3, [r2, #12] 447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 939 .loc 1 447 3 is_stmt 1 view .LVU308 940 004c 0122 movs r2, #1 941 004e 0021 movs r1, #0 942 .LVL60: 447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 943 .loc 1 447 3 is_stmt 0 view .LVU309 944 0050 2068 ldr r0, [r4] 945 .LVL61: 447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 946 .loc 1 447 3 view .LVU310 947 0052 FFF7FEFF bl TIM_CCxChannelCmd 948 .LVL62: 450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 949 .loc 1 450 3 is_stmt 1 view .LVU311 450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 950 .loc 1 450 7 is_stmt 0 view .LVU312 951 0056 2368 ldr r3, [r4] 450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 952 .loc 1 450 6 view .LVU313 953 0058 184A ldr r2, .L61 954 005a 9342 cmp r3, r2 955 005c 18D0 beq .L52 450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 956 .loc 1 450 7 discriminator 1 view .LVU314 957 005e B3F1804F cmp r3, #1073741824 958 0062 15D0 beq .L52 450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 959 .loc 1 450 7 discriminator 2 view .LVU315 960 0064 A2F59432 sub r2, r2, #75776 961 0068 9342 cmp r3, r2 962 006a 11D0 beq .L52 450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 963 .loc 1 450 7 discriminator 3 view .LVU316 964 006c 02F58062 add r2, r2, #1024 965 0070 9342 cmp r3, r2 966 0072 0DD0 beq .L52 450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 967 .loc 1 450 7 discriminator 4 view .LVU317 968 0074 02F59632 add r2, r2, #76800 969 0078 9342 cmp r3, r2 970 007a 09D0 beq .L52 450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 971 .loc 1 450 7 discriminator 5 view .LVU318 972 007c 02F54062 add r2, r2, #3072 973 0080 9342 cmp r3, r2 974 0082 05D0 beq .L52 460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 975 .loc 1 460 5 is_stmt 1 view .LVU319 976 0084 1A68 ldr r2, [r3] 977 0086 42F00102 orr r2, r2, #1 978 008a 1A60 str r2, [r3] 464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 979 .loc 1 464 10 is_stmt 0 view .LVU320 980 008c 0020 movs r0, #0 981 008e 0EE0 b .L51 ARM GAS /tmp/cc9HXhVl.s page 88 982 .L52: 452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 983 .loc 1 452 5 is_stmt 1 view .LVU321 452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 984 .loc 1 452 29 is_stmt 0 view .LVU322 985 0090 9968 ldr r1, [r3, #8] 452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 986 .loc 1 452 13 view .LVU323 987 0092 0B4A ldr r2, .L61+4 988 0094 0A40 ands r2, r2, r1 989 .LVL63: 453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 990 .loc 1 453 5 is_stmt 1 view .LVU324 453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 991 .loc 1 453 8 is_stmt 0 view .LVU325 992 0096 062A cmp r2, #6 993 0098 0CD0 beq .L57 453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 994 .loc 1 453 9 discriminator 1 view .LVU326 995 009a B2F5803F cmp r2, #65536 996 009e 0BD0 beq .L58 455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 997 .loc 1 455 7 is_stmt 1 view .LVU327 998 00a0 1A68 ldr r2, [r3] 999 .LVL64: 455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1000 .loc 1 455 7 is_stmt 0 view .LVU328 1001 00a2 42F00102 orr r2, r2, #1 1002 00a6 1A60 str r2, [r3] 464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1003 .loc 1 464 10 view .LVU329 1004 00a8 0020 movs r0, #0 1005 00aa 00E0 b .L51 1006 .LVL65: 1007 .L54: 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1008 .loc 1 432 12 view .LVU330 1009 00ac 0120 movs r0, #1 1010 .LVL66: 1011 .L51: 465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1012 .loc 1 465 1 view .LVU331 1013 00ae 10BD pop {r4, pc} 1014 .LVL67: 1015 .L55: 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1016 .loc 1 432 12 view .LVU332 1017 00b0 1846 mov r0, r3 1018 .LVL68: 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1019 .loc 1 432 12 view .LVU333 1020 00b2 FCE7 b .L51 1021 .LVL69: 1022 .L57: 464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1023 .loc 1 464 10 view .LVU334 1024 00b4 0020 movs r0, #0 ARM GAS /tmp/cc9HXhVl.s page 89 1025 00b6 FAE7 b .L51 1026 .L58: 1027 00b8 0020 movs r0, #0 1028 00ba F8E7 b .L51 1029 .L62: 1030 .align 2 1031 .L61: 1032 00bc 002C0140 .word 1073818624 1033 00c0 07000100 .word 65543 1034 .cfi_endproc 1035 .LFE335: 1037 .section .text.HAL_TIMEx_HallSensor_Stop_IT,"ax",%progbits 1038 .align 1 1039 .global HAL_TIMEx_HallSensor_Stop_IT 1040 .syntax unified 1041 .thumb 1042 .thumb_func 1044 HAL_TIMEx_HallSensor_Stop_IT: 1045 .LVL70: 1046 .LFB336: 473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1047 .loc 1 473 1 is_stmt 1 view -0 1048 .cfi_startproc 1049 @ args = 0, pretend = 0, frame = 0 1050 @ frame_needed = 0, uses_anonymous_args = 0 473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1051 .loc 1 473 1 is_stmt 0 view .LVU336 1052 0000 10B5 push {r4, lr} 1053 .LCFI11: 1054 .cfi_def_cfa_offset 8 1055 .cfi_offset 4, -8 1056 .cfi_offset 14, -4 1057 0002 0446 mov r4, r0 475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1058 .loc 1 475 3 is_stmt 1 view .LVU337 480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1059 .loc 1 480 3 view .LVU338 1060 0004 0022 movs r2, #0 1061 0006 1146 mov r1, r2 1062 0008 0068 ldr r0, [r0] 1063 .LVL71: 480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1064 .loc 1 480 3 is_stmt 0 view .LVU339 1065 000a FFF7FEFF bl TIM_CCxChannelCmd 1066 .LVL72: 483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1067 .loc 1 483 3 is_stmt 1 view .LVU340 1068 000e 2268 ldr r2, [r4] 1069 0010 D368 ldr r3, [r2, #12] 1070 0012 23F00203 bic r3, r3, #2 1071 0016 D360 str r3, [r2, #12] 486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1072 .loc 1 486 3 view .LVU341 486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1073 .loc 1 486 3 view .LVU342 1074 0018 2368 ldr r3, [r4] 1075 001a 196A ldr r1, [r3, #32] ARM GAS /tmp/cc9HXhVl.s page 90 1076 001c 41F21112 movw r2, #4369 1077 0020 1142 tst r1, r2 1078 0022 08D1 bne .L64 486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1079 .loc 1 486 3 discriminator 1 view .LVU343 1080 0024 196A ldr r1, [r3, #32] 1081 0026 44F24442 movw r2, #17476 1082 002a 1142 tst r1, r2 1083 002c 03D1 bne .L64 486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1084 .loc 1 486 3 discriminator 3 view .LVU344 1085 002e 1A68 ldr r2, [r3] 1086 0030 22F00102 bic r2, r2, #1 1087 0034 1A60 str r2, [r3] 1088 .L64: 486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1089 .loc 1 486 3 discriminator 5 view .LVU345 489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 1090 .loc 1 489 3 discriminator 5 view .LVU346 1091 0036 0123 movs r3, #1 1092 0038 84F83E30 strb r3, [r4, #62] 490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 1093 .loc 1 490 3 discriminator 5 view .LVU347 1094 003c 84F83F30 strb r3, [r4, #63] 491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 1095 .loc 1 491 3 discriminator 5 view .LVU348 1096 0040 84F84430 strb r3, [r4, #68] 492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1097 .loc 1 492 3 discriminator 5 view .LVU349 1098 0044 84F84530 strb r3, [r4, #69] 495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1099 .loc 1 495 3 discriminator 5 view .LVU350 496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1100 .loc 1 496 1 is_stmt 0 discriminator 5 view .LVU351 1101 0048 0020 movs r0, #0 1102 004a 10BD pop {r4, pc} 496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1103 .loc 1 496 1 discriminator 5 view .LVU352 1104 .cfi_endproc 1105 .LFE336: 1107 .section .text.HAL_TIMEx_HallSensor_Start_DMA,"ax",%progbits 1108 .align 1 1109 .global HAL_TIMEx_HallSensor_Start_DMA 1110 .syntax unified 1111 .thumb 1112 .thumb_func 1114 HAL_TIMEx_HallSensor_Start_DMA: 1115 .LVL73: 1116 .LFB337: 506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 1117 .loc 1 506 1 is_stmt 1 view -0 1118 .cfi_startproc 1119 @ args = 0, pretend = 0, frame = 0 1120 @ frame_needed = 0, uses_anonymous_args = 0 506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 1121 .loc 1 506 1 is_stmt 0 view .LVU354 1122 0000 F8B5 push {r3, r4, r5, r6, r7, lr} ARM GAS /tmp/cc9HXhVl.s page 91 1123 .LCFI12: 1124 .cfi_def_cfa_offset 24 1125 .cfi_offset 3, -24 1126 .cfi_offset 4, -20 1127 .cfi_offset 5, -16 1128 .cfi_offset 6, -12 1129 .cfi_offset 7, -8 1130 .cfi_offset 14, -4 1131 0002 0446 mov r4, r0 507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 1132 .loc 1 507 3 is_stmt 1 view .LVU355 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 1133 .loc 1 508 3 view .LVU356 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 1134 .loc 1 508 31 is_stmt 0 view .LVU357 1135 0004 90F83EC0 ldrb ip, [r0, #62] @ zero_extendqisi2 1136 0008 5FFA8CF0 uxtb r0, ip 1137 .LVL74: 509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1138 .loc 1 509 3 is_stmt 1 view .LVU358 509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1139 .loc 1 509 31 is_stmt 0 view .LVU359 1140 000c 94F844C0 ldrb ip, [r4, #68] @ zero_extendqisi2 1141 .LVL75: 512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1142 .loc 1 512 3 is_stmt 1 view .LVU360 515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY)) 1143 .loc 1 515 3 view .LVU361 515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY)) 1144 .loc 1 515 6 is_stmt 0 view .LVU362 1145 0010 0228 cmp r0, #2 1146 0012 5CD0 beq .L67 1147 0014 0F46 mov r7, r1 1148 0016 1646 mov r6, r2 1149 0018 5FFA8CF5 uxtb r5, ip 516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1150 .loc 1 516 7 view .LVU363 1151 001c 022D cmp r5, #2 1152 001e 53D0 beq .L71 520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY)) 1153 .loc 1 520 8 is_stmt 1 view .LVU364 520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY)) 1154 .loc 1 520 11 is_stmt 0 view .LVU365 1155 0020 0128 cmp r0, #1 1156 0022 53D1 bne .L72 521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1157 .loc 1 521 12 view .LVU366 1158 0024 012D cmp r5, #1 1159 0026 52D1 bne .L67 523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1160 .loc 1 523 5 is_stmt 1 view .LVU367 523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1161 .loc 1 523 8 is_stmt 0 view .LVU368 1162 0028 0029 cmp r1, #0 1163 002a 3CD0 beq .L76 1164 .L68: 529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); ARM GAS /tmp/cc9HXhVl.s page 92 1165 .loc 1 529 7 is_stmt 1 view .LVU369 1166 002c 0223 movs r3, #2 1167 002e 84F83E30 strb r3, [r4, #62] 530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1168 .loc 1 530 7 view .LVU370 1169 0032 84F84430 strb r3, [r4, #68] 541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1170 .loc 1 541 3 view .LVU371 1171 0036 0122 movs r2, #1 1172 .LVL76: 541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1173 .loc 1 541 3 is_stmt 0 view .LVU372 1174 0038 0021 movs r1, #0 1175 .LVL77: 541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1176 .loc 1 541 3 view .LVU373 1177 003a 2068 ldr r0, [r4] 1178 .LVL78: 541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1179 .loc 1 541 3 view .LVU374 1180 003c FFF7FEFF bl TIM_CCxChannelCmd 1181 .LVL79: 544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 1182 .loc 1 544 3 is_stmt 1 view .LVU375 544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 1183 .loc 1 544 13 is_stmt 0 view .LVU376 1184 0040 636A ldr r3, [r4, #36] 544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 1185 .loc 1 544 48 view .LVU377 1186 0042 244A ldr r2, .L77 1187 0044 DA62 str r2, [r3, #44] 545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 1188 .loc 1 545 3 is_stmt 1 view .LVU378 545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 1189 .loc 1 545 13 is_stmt 0 view .LVU379 1190 0046 636A ldr r3, [r4, #36] 545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 1191 .loc 1 545 52 view .LVU380 1192 0048 234A ldr r2, .L77+4 1193 004a 1A63 str r2, [r3, #48] 547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1194 .loc 1 547 3 is_stmt 1 view .LVU381 547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1195 .loc 1 547 13 is_stmt 0 view .LVU382 1196 004c 636A ldr r3, [r4, #36] 547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1197 .loc 1 547 49 view .LVU383 1198 004e 234A ldr r2, .L77+8 1199 0050 5A63 str r2, [r3, #52] 550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1200 .loc 1 550 3 is_stmt 1 view .LVU384 550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1201 .loc 1 550 67 is_stmt 0 view .LVU385 1202 0052 2168 ldr r1, [r4] 550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1203 .loc 1 550 7 view .LVU386 1204 0054 3346 mov r3, r6 ARM GAS /tmp/cc9HXhVl.s page 93 1205 0056 3A46 mov r2, r7 1206 0058 3431 adds r1, r1, #52 1207 005a 606A ldr r0, [r4, #36] 1208 005c FFF7FEFF bl HAL_DMA_Start_IT 1209 .LVL80: 550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1210 .loc 1 550 6 view .LVU387 1211 0060 0028 cmp r0, #0 1212 0062 35D1 bne .L74 556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1213 .loc 1 556 3 is_stmt 1 view .LVU388 1214 0064 2268 ldr r2, [r4] 1215 0066 D368 ldr r3, [r2, #12] 1216 0068 43F40073 orr r3, r3, #512 1217 006c D360 str r3, [r2, #12] 559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1218 .loc 1 559 3 view .LVU389 559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1219 .loc 1 559 7 is_stmt 0 view .LVU390 1220 006e 2368 ldr r3, [r4] 559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1221 .loc 1 559 6 view .LVU391 1222 0070 1B4A ldr r2, .L77+12 1223 0072 9342 cmp r3, r2 1224 0074 1BD0 beq .L69 559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1225 .loc 1 559 7 discriminator 1 view .LVU392 1226 0076 B3F1804F cmp r3, #1073741824 1227 007a 18D0 beq .L69 559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1228 .loc 1 559 7 discriminator 2 view .LVU393 1229 007c A2F59432 sub r2, r2, #75776 1230 0080 9342 cmp r3, r2 1231 0082 14D0 beq .L69 559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1232 .loc 1 559 7 discriminator 3 view .LVU394 1233 0084 02F58062 add r2, r2, #1024 1234 0088 9342 cmp r3, r2 1235 008a 10D0 beq .L69 559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1236 .loc 1 559 7 discriminator 4 view .LVU395 1237 008c 02F59632 add r2, r2, #76800 1238 0090 9342 cmp r3, r2 1239 0092 0CD0 beq .L69 559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1240 .loc 1 559 7 discriminator 5 view .LVU396 1241 0094 02F54062 add r2, r2, #3072 1242 0098 9342 cmp r3, r2 1243 009a 08D0 beq .L69 569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1244 .loc 1 569 5 is_stmt 1 view .LVU397 1245 009c 1A68 ldr r2, [r3] 1246 009e 42F00102 orr r2, r2, #1 1247 00a2 1A60 str r2, [r3] 1248 00a4 13E0 b .L67 1249 .LVL81: 1250 .L76: ARM GAS /tmp/cc9HXhVl.s page 94 523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1251 .loc 1 523 25 is_stmt 0 discriminator 1 view .LVU398 1252 00a6 002A cmp r2, #0 1253 00a8 C0D0 beq .L68 525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1254 .loc 1 525 14 view .LVU399 1255 00aa 2846 mov r0, r5 1256 .LVL82: 525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1257 .loc 1 525 14 view .LVU400 1258 00ac 0FE0 b .L67 1259 .LVL83: 1260 .L69: 561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1261 .loc 1 561 5 is_stmt 1 view .LVU401 561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1262 .loc 1 561 29 is_stmt 0 view .LVU402 1263 00ae 9968 ldr r1, [r3, #8] 561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1264 .loc 1 561 13 view .LVU403 1265 00b0 0C4A ldr r2, .L77+16 1266 00b2 0A40 ands r2, r2, r1 1267 .LVL84: 562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1268 .loc 1 562 5 is_stmt 1 view .LVU404 562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1269 .loc 1 562 8 is_stmt 0 view .LVU405 1270 00b4 062A cmp r2, #6 1271 00b6 0AD0 beq .L67 562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1272 .loc 1 562 9 discriminator 1 view .LVU406 1273 00b8 B2F5803F cmp r2, #65536 1274 00bc 07D0 beq .L67 564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1275 .loc 1 564 7 is_stmt 1 view .LVU407 1276 00be 1A68 ldr r2, [r3] 1277 .LVL85: 564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1278 .loc 1 564 7 is_stmt 0 view .LVU408 1279 00c0 42F00102 orr r2, r2, #1 1280 00c4 1A60 str r2, [r3] 1281 00c6 02E0 b .L67 1282 .LVL86: 1283 .L71: 518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1284 .loc 1 518 12 view .LVU409 1285 00c8 2846 mov r0, r5 1286 .LVL87: 518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1287 .loc 1 518 12 view .LVU410 1288 00ca 00E0 b .L67 1289 .LVL88: 1290 .L72: 535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1291 .loc 1 535 12 view .LVU411 1292 00cc 0120 movs r0, #1 1293 .LVL89: ARM GAS /tmp/cc9HXhVl.s page 95 1294 .L67: 574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1295 .loc 1 574 1 view .LVU412 1296 00ce F8BD pop {r3, r4, r5, r6, r7, pc} 1297 .LVL90: 1298 .L74: 553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1299 .loc 1 553 12 view .LVU413 1300 00d0 2846 mov r0, r5 1301 00d2 FCE7 b .L67 1302 .L78: 1303 .align 2 1304 .L77: 1305 00d4 00000000 .word TIM_DMACaptureCplt 1306 00d8 00000000 .word TIM_DMACaptureHalfCplt 1307 00dc 00000000 .word TIM_DMAError 1308 00e0 002C0140 .word 1073818624 1309 00e4 07000100 .word 65543 1310 .cfi_endproc 1311 .LFE337: 1313 .section .text.HAL_TIMEx_HallSensor_Stop_DMA,"ax",%progbits 1314 .align 1 1315 .global HAL_TIMEx_HallSensor_Stop_DMA 1316 .syntax unified 1317 .thumb 1318 .thumb_func 1320 HAL_TIMEx_HallSensor_Stop_DMA: 1321 .LVL91: 1322 .LFB338: 582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1323 .loc 1 582 1 is_stmt 1 view -0 1324 .cfi_startproc 1325 @ args = 0, pretend = 0, frame = 0 1326 @ frame_needed = 0, uses_anonymous_args = 0 582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1327 .loc 1 582 1 is_stmt 0 view .LVU415 1328 0000 10B5 push {r4, lr} 1329 .LCFI13: 1330 .cfi_def_cfa_offset 8 1331 .cfi_offset 4, -8 1332 .cfi_offset 14, -4 1333 0002 0446 mov r4, r0 584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1334 .loc 1 584 3 is_stmt 1 view .LVU416 589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1335 .loc 1 589 3 view .LVU417 1336 0004 0022 movs r2, #0 1337 0006 1146 mov r1, r2 1338 0008 0068 ldr r0, [r0] 1339 .LVL92: 589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1340 .loc 1 589 3 is_stmt 0 view .LVU418 1341 000a FFF7FEFF bl TIM_CCxChannelCmd 1342 .LVL93: 593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1343 .loc 1 593 3 is_stmt 1 view .LVU419 1344 000e 2268 ldr r2, [r4] ARM GAS /tmp/cc9HXhVl.s page 96 1345 0010 D368 ldr r3, [r2, #12] 1346 0012 23F40073 bic r3, r3, #512 1347 0016 D360 str r3, [r2, #12] 595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1348 .loc 1 595 3 view .LVU420 595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1349 .loc 1 595 9 is_stmt 0 view .LVU421 1350 0018 606A ldr r0, [r4, #36] 1351 001a FFF7FEFF bl HAL_DMA_Abort_IT 1352 .LVL94: 598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1353 .loc 1 598 3 is_stmt 1 view .LVU422 598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1354 .loc 1 598 3 view .LVU423 1355 001e 2368 ldr r3, [r4] 1356 0020 196A ldr r1, [r3, #32] 1357 0022 41F21112 movw r2, #4369 1358 0026 1142 tst r1, r2 1359 0028 08D1 bne .L80 598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1360 .loc 1 598 3 discriminator 1 view .LVU424 1361 002a 196A ldr r1, [r3, #32] 1362 002c 44F24442 movw r2, #17476 1363 0030 1142 tst r1, r2 1364 0032 03D1 bne .L80 598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1365 .loc 1 598 3 discriminator 3 view .LVU425 1366 0034 1A68 ldr r2, [r3] 1367 0036 22F00102 bic r2, r2, #1 1368 003a 1A60 str r2, [r3] 1369 .L80: 598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1370 .loc 1 598 3 discriminator 5 view .LVU426 601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 1371 .loc 1 601 3 discriminator 5 view .LVU427 1372 003c 0123 movs r3, #1 1373 003e 84F83E30 strb r3, [r4, #62] 602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1374 .loc 1 602 3 discriminator 5 view .LVU428 1375 0042 84F84430 strb r3, [r4, #68] 605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1376 .loc 1 605 3 discriminator 5 view .LVU429 606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1377 .loc 1 606 1 is_stmt 0 discriminator 5 view .LVU430 1378 0046 0020 movs r0, #0 1379 0048 10BD pop {r4, pc} 606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1380 .loc 1 606 1 discriminator 5 view .LVU431 1381 .cfi_endproc 1382 .LFE338: 1384 .section .text.HAL_TIMEx_OCN_Start,"ax",%progbits 1385 .align 1 1386 .global HAL_TIMEx_OCN_Start 1387 .syntax unified 1388 .thumb 1389 .thumb_func 1391 HAL_TIMEx_OCN_Start: ARM GAS /tmp/cc9HXhVl.s page 97 1392 .LVL95: 1393 .LFB339: 645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 1394 .loc 1 645 1 is_stmt 1 view -0 1395 .cfi_startproc 1396 @ args = 0, pretend = 0, frame = 0 1397 @ frame_needed = 0, uses_anonymous_args = 0 645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 1398 .loc 1 645 1 is_stmt 0 view .LVU433 1399 0000 10B5 push {r4, lr} 1400 .LCFI14: 1401 .cfi_def_cfa_offset 8 1402 .cfi_offset 4, -8 1403 .cfi_offset 14, -4 1404 0002 0446 mov r4, r0 646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1405 .loc 1 646 3 is_stmt 1 view .LVU434 649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1406 .loc 1 649 3 view .LVU435 652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1407 .loc 1 652 3 view .LVU436 652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1408 .loc 1 652 46 is_stmt 0 view .LVU437 1409 0004 0846 mov r0, r1 1410 .LVL96: 652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1411 .loc 1 652 46 view .LVU438 1412 0006 0029 cmp r1, #0 1413 0008 33D1 bne .L83 652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1414 .loc 1 652 7 discriminator 1 view .LVU439 1415 000a 94F84430 ldrb r3, [r4, #68] @ zero_extendqisi2 1416 000e DBB2 uxtb r3, r3 652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1417 .loc 1 652 46 discriminator 1 view .LVU440 1418 0010 013B subs r3, r3, #1 1419 0012 18BF it ne 1420 0014 0123 movne r3, #1 1421 .L84: 652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1422 .loc 1 652 6 discriminator 12 view .LVU441 1423 0016 002B cmp r3, #0 1424 0018 62D1 bne .L94 658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1425 .loc 1 658 3 is_stmt 1 view .LVU442 1426 001a 0028 cmp r0, #0 1427 001c 42D1 bne .L88 658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1428 .loc 1 658 3 is_stmt 0 discriminator 1 view .LVU443 1429 001e 0223 movs r3, #2 1430 0020 84F84430 strb r3, [r4, #68] 1431 .L89: 661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1432 .loc 1 661 3 is_stmt 1 view .LVU444 1433 0024 0422 movs r2, #4 1434 0026 0146 mov r1, r0 1435 .LVL97: ARM GAS /tmp/cc9HXhVl.s page 98 661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1436 .loc 1 661 3 is_stmt 0 view .LVU445 1437 0028 2068 ldr r0, [r4] 1438 .LVL98: 661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1439 .loc 1 661 3 view .LVU446 1440 002a FFF7FEFF bl TIM_CCxNChannelCmd 1441 .LVL99: 664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1442 .loc 1 664 3 is_stmt 1 view .LVU447 1443 002e 2268 ldr r2, [r4] 1444 0030 536C ldr r3, [r2, #68] 1445 0032 43F40043 orr r3, r3, #32768 1446 0036 5364 str r3, [r2, #68] 667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1447 .loc 1 667 3 view .LVU448 667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1448 .loc 1 667 7 is_stmt 0 view .LVU449 1449 0038 2368 ldr r3, [r4] 667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1450 .loc 1 667 6 view .LVU450 1451 003a 2C4A ldr r2, .L102 1452 003c 9342 cmp r3, r2 1453 003e 41D0 beq .L92 667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1454 .loc 1 667 7 discriminator 1 view .LVU451 1455 0040 B3F1804F cmp r3, #1073741824 1456 0044 3ED0 beq .L92 667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1457 .loc 1 667 7 discriminator 2 view .LVU452 1458 0046 A2F59432 sub r2, r2, #75776 1459 004a 9342 cmp r3, r2 1460 004c 3AD0 beq .L92 667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1461 .loc 1 667 7 discriminator 3 view .LVU453 1462 004e 02F58062 add r2, r2, #1024 1463 0052 9342 cmp r3, r2 1464 0054 36D0 beq .L92 667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1465 .loc 1 667 7 discriminator 4 view .LVU454 1466 0056 02F59632 add r2, r2, #76800 1467 005a 9342 cmp r3, r2 1468 005c 32D0 beq .L92 667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1469 .loc 1 667 7 discriminator 5 view .LVU455 1470 005e 02F54062 add r2, r2, #3072 1471 0062 9342 cmp r3, r2 1472 0064 2ED0 beq .L92 677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1473 .loc 1 677 5 is_stmt 1 view .LVU456 1474 0066 1A68 ldr r2, [r3] 1475 0068 42F00102 orr r2, r2, #1 1476 006c 1A60 str r2, [r3] 681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1477 .loc 1 681 10 is_stmt 0 view .LVU457 1478 006e 0020 movs r0, #0 1479 0070 37E0 b .L87 ARM GAS /tmp/cc9HXhVl.s page 99 1480 .LVL100: 1481 .L83: 652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1482 .loc 1 652 46 discriminator 2 view .LVU458 1483 0072 0429 cmp r1, #4 1484 0074 08D0 beq .L98 652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1485 .loc 1 652 46 discriminator 5 view .LVU459 1486 0076 0829 cmp r1, #8 1487 0078 0DD0 beq .L99 652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1488 .loc 1 652 7 discriminator 8 view .LVU460 1489 007a 94F84730 ldrb r3, [r4, #71] @ zero_extendqisi2 1490 007e DBB2 uxtb r3, r3 652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1491 .loc 1 652 46 discriminator 8 view .LVU461 1492 0080 013B subs r3, r3, #1 1493 0082 18BF it ne 1494 0084 0123 movne r3, #1 1495 0086 C6E7 b .L84 1496 .L98: 652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1497 .loc 1 652 7 discriminator 4 view .LVU462 1498 0088 94F84530 ldrb r3, [r4, #69] @ zero_extendqisi2 1499 008c DBB2 uxtb r3, r3 652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1500 .loc 1 652 46 discriminator 4 view .LVU463 1501 008e 013B subs r3, r3, #1 1502 0090 18BF it ne 1503 0092 0123 movne r3, #1 1504 0094 BFE7 b .L84 1505 .L99: 652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1506 .loc 1 652 7 discriminator 7 view .LVU464 1507 0096 94F84630 ldrb r3, [r4, #70] @ zero_extendqisi2 1508 009a DBB2 uxtb r3, r3 652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1509 .loc 1 652 46 discriminator 7 view .LVU465 1510 009c 013B subs r3, r3, #1 1511 009e 18BF it ne 1512 00a0 0123 movne r3, #1 1513 00a2 B8E7 b .L84 1514 .L88: 658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1515 .loc 1 658 3 discriminator 2 view .LVU466 1516 00a4 0428 cmp r0, #4 1517 00a6 05D0 beq .L100 658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1518 .loc 1 658 3 discriminator 4 view .LVU467 1519 00a8 0828 cmp r0, #8 1520 00aa 07D0 beq .L101 658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1521 .loc 1 658 3 discriminator 7 view .LVU468 1522 00ac 0223 movs r3, #2 1523 00ae 84F84730 strb r3, [r4, #71] 1524 00b2 B7E7 b .L89 1525 .L100: ARM GAS /tmp/cc9HXhVl.s page 100 658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1526 .loc 1 658 3 discriminator 3 view .LVU469 1527 00b4 0223 movs r3, #2 1528 00b6 84F84530 strb r3, [r4, #69] 1529 00ba B3E7 b .L89 1530 .L101: 658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1531 .loc 1 658 3 discriminator 6 view .LVU470 1532 00bc 0223 movs r3, #2 1533 00be 84F84630 strb r3, [r4, #70] 1534 00c2 AFE7 b .L89 1535 .LVL101: 1536 .L92: 669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1537 .loc 1 669 5 is_stmt 1 view .LVU471 669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1538 .loc 1 669 29 is_stmt 0 view .LVU472 1539 00c4 9968 ldr r1, [r3, #8] 669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1540 .loc 1 669 13 view .LVU473 1541 00c6 0A4A ldr r2, .L102+4 1542 00c8 0A40 ands r2, r2, r1 1543 .LVL102: 670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1544 .loc 1 670 5 is_stmt 1 view .LVU474 670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1545 .loc 1 670 8 is_stmt 0 view .LVU475 1546 00ca 062A cmp r2, #6 1547 00cc 0AD0 beq .L95 670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1548 .loc 1 670 9 discriminator 1 view .LVU476 1549 00ce B2F5803F cmp r2, #65536 1550 00d2 09D0 beq .L96 672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1551 .loc 1 672 7 is_stmt 1 view .LVU477 1552 00d4 1A68 ldr r2, [r3] 1553 .LVL103: 672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1554 .loc 1 672 7 is_stmt 0 view .LVU478 1555 00d6 42F00102 orr r2, r2, #1 1556 00da 1A60 str r2, [r3] 681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1557 .loc 1 681 10 view .LVU479 1558 00dc 0020 movs r0, #0 1559 00de 00E0 b .L87 1560 .LVL104: 1561 .L94: 654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1562 .loc 1 654 12 view .LVU480 1563 00e0 0120 movs r0, #1 1564 .LVL105: 1565 .L87: 682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1566 .loc 1 682 1 view .LVU481 1567 00e2 10BD pop {r4, pc} 1568 .LVL106: 1569 .L95: ARM GAS /tmp/cc9HXhVl.s page 101 681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1570 .loc 1 681 10 view .LVU482 1571 00e4 0020 movs r0, #0 1572 00e6 FCE7 b .L87 1573 .L96: 1574 00e8 0020 movs r0, #0 1575 00ea FAE7 b .L87 1576 .L103: 1577 .align 2 1578 .L102: 1579 00ec 002C0140 .word 1073818624 1580 00f0 07000100 .word 65543 1581 .cfi_endproc 1582 .LFE339: 1584 .section .text.HAL_TIMEx_OCN_Stop,"ax",%progbits 1585 .align 1 1586 .global HAL_TIMEx_OCN_Stop 1587 .syntax unified 1588 .thumb 1589 .thumb_func 1591 HAL_TIMEx_OCN_Stop: 1592 .LVL107: 1593 .LFB340: 697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1594 .loc 1 697 1 is_stmt 1 view -0 1595 .cfi_startproc 1596 @ args = 0, pretend = 0, frame = 0 1597 @ frame_needed = 0, uses_anonymous_args = 0 697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1598 .loc 1 697 1 is_stmt 0 view .LVU484 1599 0000 38B5 push {r3, r4, r5, lr} 1600 .LCFI15: 1601 .cfi_def_cfa_offset 16 1602 .cfi_offset 3, -16 1603 .cfi_offset 4, -12 1604 .cfi_offset 5, -8 1605 .cfi_offset 14, -4 1606 0002 0446 mov r4, r0 1607 0004 0D46 mov r5, r1 699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1608 .loc 1 699 3 is_stmt 1 view .LVU485 702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1609 .loc 1 702 3 view .LVU486 1610 0006 0022 movs r2, #0 1611 0008 0068 ldr r0, [r0] 1612 .LVL108: 702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1613 .loc 1 702 3 is_stmt 0 view .LVU487 1614 000a FFF7FEFF bl TIM_CCxNChannelCmd 1615 .LVL109: 705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1616 .loc 1 705 3 is_stmt 1 view .LVU488 705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1617 .loc 1 705 3 view .LVU489 1618 000e 2368 ldr r3, [r4] 1619 0010 196A ldr r1, [r3, #32] 1620 0012 41F21112 movw r2, #4369 ARM GAS /tmp/cc9HXhVl.s page 102 1621 0016 1142 tst r1, r2 1622 0018 08D1 bne .L105 705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1623 .loc 1 705 3 discriminator 1 view .LVU490 1624 001a 196A ldr r1, [r3, #32] 1625 001c 44F24442 movw r2, #17476 1626 0020 1142 tst r1, r2 1627 0022 03D1 bne .L105 705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1628 .loc 1 705 3 discriminator 3 view .LVU491 1629 0024 5A6C ldr r2, [r3, #68] 1630 0026 22F40042 bic r2, r2, #32768 1631 002a 5A64 str r2, [r3, #68] 1632 .L105: 705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1633 .loc 1 705 3 discriminator 5 view .LVU492 708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1634 .loc 1 708 3 discriminator 5 view .LVU493 708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1635 .loc 1 708 3 discriminator 5 view .LVU494 1636 002c 2368 ldr r3, [r4] 1637 002e 196A ldr r1, [r3, #32] 1638 0030 41F21112 movw r2, #4369 1639 0034 1142 tst r1, r2 1640 0036 08D1 bne .L106 708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1641 .loc 1 708 3 discriminator 1 view .LVU495 1642 0038 196A ldr r1, [r3, #32] 1643 003a 44F24442 movw r2, #17476 1644 003e 1142 tst r1, r2 1645 0040 03D1 bne .L106 708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1646 .loc 1 708 3 discriminator 3 view .LVU496 1647 0042 1A68 ldr r2, [r3] 1648 0044 22F00102 bic r2, r2, #1 1649 0048 1A60 str r2, [r3] 1650 .L106: 708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1651 .loc 1 708 3 discriminator 5 view .LVU497 711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1652 .loc 1 711 3 discriminator 5 view .LVU498 1653 004a 25B9 cbnz r5, .L107 711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1654 .loc 1 711 3 is_stmt 0 discriminator 1 view .LVU499 1655 004c 0123 movs r3, #1 1656 004e 84F84430 strb r3, [r4, #68] 1657 .L108: 714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1658 .loc 1 714 3 is_stmt 1 view .LVU500 715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1659 .loc 1 715 1 is_stmt 0 view .LVU501 1660 0052 0020 movs r0, #0 1661 0054 38BD pop {r3, r4, r5, pc} 1662 .LVL110: 1663 .L107: 711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1664 .loc 1 711 3 discriminator 2 view .LVU502 ARM GAS /tmp/cc9HXhVl.s page 103 1665 0056 042D cmp r5, #4 1666 0058 05D0 beq .L112 711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1667 .loc 1 711 3 discriminator 4 view .LVU503 1668 005a 082D cmp r5, #8 1669 005c 07D0 beq .L113 711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1670 .loc 1 711 3 discriminator 7 view .LVU504 1671 005e 0123 movs r3, #1 1672 0060 84F84730 strb r3, [r4, #71] 1673 0064 F5E7 b .L108 1674 .L112: 711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1675 .loc 1 711 3 discriminator 3 view .LVU505 1676 0066 0123 movs r3, #1 1677 0068 84F84530 strb r3, [r4, #69] 1678 006c F1E7 b .L108 1679 .L113: 711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1680 .loc 1 711 3 discriminator 6 view .LVU506 1681 006e 0123 movs r3, #1 1682 0070 84F84630 strb r3, [r4, #70] 1683 0074 EDE7 b .L108 1684 .cfi_endproc 1685 .LFE340: 1687 .section .text.HAL_TIMEx_OCN_Start_IT,"ax",%progbits 1688 .align 1 1689 .global HAL_TIMEx_OCN_Start_IT 1690 .syntax unified 1691 .thumb 1692 .thumb_func 1694 HAL_TIMEx_OCN_Start_IT: 1695 .LVL111: 1696 .LFB341: 730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 1697 .loc 1 730 1 is_stmt 1 view -0 1698 .cfi_startproc 1699 @ args = 0, pretend = 0, frame = 0 1700 @ frame_needed = 0, uses_anonymous_args = 0 730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 1701 .loc 1 730 1 is_stmt 0 view .LVU508 1702 0000 10B5 push {r4, lr} 1703 .LCFI16: 1704 .cfi_def_cfa_offset 8 1705 .cfi_offset 4, -8 1706 .cfi_offset 14, -4 1707 0002 0446 mov r4, r0 731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 1708 .loc 1 731 3 is_stmt 1 view .LVU509 1709 .LVL112: 732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1710 .loc 1 732 3 view .LVU510 735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1711 .loc 1 735 3 view .LVU511 738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1712 .loc 1 738 3 view .LVU512 738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { ARM GAS /tmp/cc9HXhVl.s page 104 1713 .loc 1 738 46 is_stmt 0 view .LVU513 1714 0004 0846 mov r0, r1 1715 .LVL113: 738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1716 .loc 1 738 46 view .LVU514 1717 0006 0029 cmp r1, #0 1718 0008 3ED1 bne .L115 738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1719 .loc 1 738 7 discriminator 1 view .LVU515 1720 000a 94F84430 ldrb r3, [r4, #68] @ zero_extendqisi2 1721 000e DBB2 uxtb r3, r3 738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1722 .loc 1 738 46 discriminator 1 view .LVU516 1723 0010 013B subs r3, r3, #1 1724 0012 18BF it ne 1725 0014 0123 movne r3, #1 1726 .L116: 738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1727 .loc 1 738 6 discriminator 12 view .LVU517 1728 0016 002B cmp r3, #0 1729 0018 40F09C80 bne .L131 744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1730 .loc 1 744 3 is_stmt 1 view .LVU518 1731 001c 0028 cmp r0, #0 1732 001e 4CD1 bne .L120 1733 0020 0223 movs r3, #2 1734 0022 84F84430 strb r3, [r4, #68] 746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1735 .loc 1 746 3 view .LVU519 1736 .L121: 751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1737 .loc 1 751 7 view .LVU520 1738 0026 2268 ldr r2, [r4] 1739 0028 D368 ldr r3, [r2, #12] 1740 002a 43F00203 orr r3, r3, #2 1741 002e D360 str r3, [r2, #12] 752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1742 .loc 1 752 7 view .LVU521 782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1743 .loc 1 782 3 view .LVU522 1744 .L128: 785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1745 .loc 1 785 5 view .LVU523 1746 0030 2268 ldr r2, [r4] 1747 0032 D368 ldr r3, [r2, #12] 1748 0034 43F08003 orr r3, r3, #128 1749 0038 D360 str r3, [r2, #12] 788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1750 .loc 1 788 5 view .LVU524 1751 003a 0422 movs r2, #4 1752 003c 0146 mov r1, r0 1753 .LVL114: 788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1754 .loc 1 788 5 is_stmt 0 view .LVU525 1755 003e 2068 ldr r0, [r4] 1756 .LVL115: 788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/cc9HXhVl.s page 105 1757 .loc 1 788 5 view .LVU526 1758 0040 FFF7FEFF bl TIM_CCxNChannelCmd 1759 .LVL116: 791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1760 .loc 1 791 5 is_stmt 1 view .LVU527 1761 0044 2268 ldr r2, [r4] 1762 0046 536C ldr r3, [r2, #68] 1763 0048 43F40043 orr r3, r3, #32768 1764 004c 5364 str r3, [r2, #68] 794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1765 .loc 1 794 5 view .LVU528 794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1766 .loc 1 794 9 is_stmt 0 view .LVU529 1767 004e 2368 ldr r3, [r4] 794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1768 .loc 1 794 8 view .LVU530 1769 0050 444A ldr r2, .L143 1770 0052 9342 cmp r3, r2 1771 0054 70D0 beq .L129 794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1772 .loc 1 794 9 discriminator 1 view .LVU531 1773 0056 B3F1804F cmp r3, #1073741824 1774 005a 6DD0 beq .L129 794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1775 .loc 1 794 9 discriminator 2 view .LVU532 1776 005c A2F59432 sub r2, r2, #75776 1777 0060 9342 cmp r3, r2 1778 0062 69D0 beq .L129 794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1779 .loc 1 794 9 discriminator 3 view .LVU533 1780 0064 02F58062 add r2, r2, #1024 1781 0068 9342 cmp r3, r2 1782 006a 65D0 beq .L129 794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1783 .loc 1 794 9 discriminator 4 view .LVU534 1784 006c 02F59632 add r2, r2, #76800 1785 0070 9342 cmp r3, r2 1786 0072 61D0 beq .L129 794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1787 .loc 1 794 9 discriminator 5 view .LVU535 1788 0074 02F54062 add r2, r2, #3072 1789 0078 9342 cmp r3, r2 1790 007a 5DD0 beq .L129 804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1791 .loc 1 804 7 is_stmt 1 view .LVU536 1792 007c 1A68 ldr r2, [r3] 1793 007e 42F00102 orr r2, r2, #1 1794 0082 1A60 str r2, [r3] 1795 0084 0020 movs r0, #0 1796 0086 66E0 b .L119 1797 .LVL117: 1798 .L115: 738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1799 .loc 1 738 46 is_stmt 0 discriminator 2 view .LVU537 1800 0088 0429 cmp r1, #4 1801 008a 08D0 beq .L139 738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { ARM GAS /tmp/cc9HXhVl.s page 106 1802 .loc 1 738 46 discriminator 5 view .LVU538 1803 008c 0829 cmp r1, #8 1804 008e 0DD0 beq .L140 738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1805 .loc 1 738 7 discriminator 8 view .LVU539 1806 0090 94F84730 ldrb r3, [r4, #71] @ zero_extendqisi2 1807 0094 DBB2 uxtb r3, r3 738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1808 .loc 1 738 46 discriminator 8 view .LVU540 1809 0096 013B subs r3, r3, #1 1810 0098 18BF it ne 1811 009a 0123 movne r3, #1 1812 009c BBE7 b .L116 1813 .L139: 738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1814 .loc 1 738 7 discriminator 4 view .LVU541 1815 009e 94F84530 ldrb r3, [r4, #69] @ zero_extendqisi2 1816 00a2 DBB2 uxtb r3, r3 738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1817 .loc 1 738 46 discriminator 4 view .LVU542 1818 00a4 013B subs r3, r3, #1 1819 00a6 18BF it ne 1820 00a8 0123 movne r3, #1 1821 00aa B4E7 b .L116 1822 .L140: 738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1823 .loc 1 738 7 discriminator 7 view .LVU543 1824 00ac 94F84630 ldrb r3, [r4, #70] @ zero_extendqisi2 1825 00b0 DBB2 uxtb r3, r3 738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1826 .loc 1 738 46 discriminator 7 view .LVU544 1827 00b2 013B subs r3, r3, #1 1828 00b4 18BF it ne 1829 00b6 0123 movne r3, #1 1830 00b8 ADE7 b .L116 1831 .L120: 744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1832 .loc 1 744 3 discriminator 2 view .LVU545 1833 00ba 0428 cmp r0, #4 1834 00bc 24D0 beq .L141 744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1835 .loc 1 744 3 discriminator 4 view .LVU546 1836 00be 0828 cmp r0, #8 1837 00c0 2BD0 beq .L142 744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1838 .loc 1 744 3 discriminator 7 view .LVU547 1839 00c2 0223 movs r3, #2 1840 00c4 84F84730 strb r3, [r4, #71] 746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1841 .loc 1 746 3 is_stmt 1 discriminator 7 view .LVU548 1842 00c8 0C28 cmp r0, #12 1843 00ca 45D8 bhi .L132 1844 00cc 01A3 adr r3, .L127 1845 00ce 53F820F0 ldr pc, [r3, r0, lsl #2] 1846 00d2 00BF .p2align 2 1847 .L127: 1848 00d4 27000000 .word .L121+1 ARM GAS /tmp/cc9HXhVl.s page 107 1849 00d8 59010000 .word .L132+1 1850 00dc 59010000 .word .L132+1 1851 00e0 59010000 .word .L132+1 1852 00e4 0F010000 .word .L123+1 1853 00e8 59010000 .word .L132+1 1854 00ec 59010000 .word .L132+1 1855 00f0 59010000 .word .L132+1 1856 00f4 21010000 .word .L125+1 1857 00f8 59010000 .word .L132+1 1858 00fc 59010000 .word .L132+1 1859 0100 59010000 .word .L132+1 1860 0104 2D010000 .word .L126+1 1861 .p2align 1 1862 .L141: 744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1863 .loc 1 744 3 is_stmt 0 view .LVU549 1864 0108 0223 movs r3, #2 1865 010a 84F84530 strb r3, [r4, #69] 746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1866 .loc 1 746 3 is_stmt 1 view .LVU550 1867 .L123: 758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1868 .loc 1 758 7 view .LVU551 1869 010e 2268 ldr r2, [r4] 1870 0110 D368 ldr r3, [r2, #12] 1871 0112 43F00403 orr r3, r3, #4 1872 0116 D360 str r3, [r2, #12] 759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1873 .loc 1 759 7 view .LVU552 782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1874 .loc 1 782 3 view .LVU553 1875 0118 8AE7 b .L128 1876 .L142: 744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1877 .loc 1 744 3 is_stmt 0 view .LVU554 1878 011a 0223 movs r3, #2 1879 011c 84F84630 strb r3, [r4, #70] 746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1880 .loc 1 746 3 is_stmt 1 view .LVU555 1881 .L125: 765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1882 .loc 1 765 7 view .LVU556 1883 0120 2268 ldr r2, [r4] 1884 0122 D368 ldr r3, [r2, #12] 1885 0124 43F00803 orr r3, r3, #8 1886 0128 D360 str r3, [r2, #12] 766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1887 .loc 1 766 7 view .LVU557 782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1888 .loc 1 782 3 view .LVU558 1889 012a 81E7 b .L128 1890 .L126: 773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1891 .loc 1 773 7 view .LVU559 1892 012c 2268 ldr r2, [r4] 1893 012e D368 ldr r3, [r2, #12] 1894 0130 43F01003 orr r3, r3, #16 ARM GAS /tmp/cc9HXhVl.s page 108 1895 0134 D360 str r3, [r2, #12] 774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1896 .loc 1 774 7 view .LVU560 782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1897 .loc 1 782 3 view .LVU561 1898 0136 7BE7 b .L128 1899 .LVL118: 1900 .L129: 796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1901 .loc 1 796 7 view .LVU562 796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1902 .loc 1 796 31 is_stmt 0 view .LVU563 1903 0138 9968 ldr r1, [r3, #8] 796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1904 .loc 1 796 15 view .LVU564 1905 013a 0B4A ldr r2, .L143+4 1906 013c 0A40 ands r2, r2, r1 1907 .LVL119: 797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1908 .loc 1 797 7 is_stmt 1 view .LVU565 797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1909 .loc 1 797 10 is_stmt 0 view .LVU566 1910 013e 062A cmp r2, #6 1911 0140 0CD0 beq .L133 797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1912 .loc 1 797 11 discriminator 1 view .LVU567 1913 0142 B2F5803F cmp r2, #65536 1914 0146 0BD0 beq .L134 799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1915 .loc 1 799 9 is_stmt 1 view .LVU568 1916 0148 1A68 ldr r2, [r3] 1917 .LVL120: 799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1918 .loc 1 799 9 is_stmt 0 view .LVU569 1919 014a 42F00102 orr r2, r2, #1 1920 014e 1A60 str r2, [r3] 1921 0150 0020 movs r0, #0 1922 0152 00E0 b .L119 1923 .LVL121: 1924 .L131: 740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1925 .loc 1 740 12 view .LVU570 1926 0154 0120 movs r0, #1 1927 .LVL122: 1928 .L119: 810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1929 .loc 1 810 1 view .LVU571 1930 0156 10BD pop {r4, pc} 1931 .LVL123: 1932 .L132: 746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1933 .loc 1 746 3 view .LVU572 1934 0158 0120 movs r0, #1 1935 .LVL124: 746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1936 .loc 1 746 3 view .LVU573 1937 015a FCE7 b .L119 ARM GAS /tmp/cc9HXhVl.s page 109 1938 .LVL125: 1939 .L133: 746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1940 .loc 1 746 3 view .LVU574 1941 015c 0020 movs r0, #0 1942 015e FAE7 b .L119 1943 .L134: 1944 0160 0020 movs r0, #0 1945 0162 F8E7 b .L119 1946 .L144: 1947 .align 2 1948 .L143: 1949 0164 002C0140 .word 1073818624 1950 0168 07000100 .word 65543 1951 .cfi_endproc 1952 .LFE341: 1954 .section .text.HAL_TIMEx_OCN_Stop_IT,"ax",%progbits 1955 .align 1 1956 .global HAL_TIMEx_OCN_Stop_IT 1957 .syntax unified 1958 .thumb 1959 .thumb_func 1961 HAL_TIMEx_OCN_Stop_IT: 1962 .LVL126: 1963 .LFB342: 825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 1964 .loc 1 825 1 is_stmt 1 view -0 1965 .cfi_startproc 1966 @ args = 0, pretend = 0, frame = 0 1967 @ frame_needed = 0, uses_anonymous_args = 0 825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 1968 .loc 1 825 1 is_stmt 0 view .LVU576 1969 0000 38B5 push {r3, r4, r5, lr} 1970 .LCFI17: 1971 .cfi_def_cfa_offset 16 1972 .cfi_offset 3, -16 1973 .cfi_offset 4, -12 1974 .cfi_offset 5, -8 1975 .cfi_offset 14, -4 1976 0002 0446 mov r4, r0 1977 0004 0D46 mov r5, r1 826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpccer; 1978 .loc 1 826 3 is_stmt 1 view .LVU577 1979 .LVL127: 827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1980 .loc 1 827 3 view .LVU578 830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1981 .loc 1 830 3 view .LVU579 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1982 .loc 1 832 3 view .LVU580 1983 0006 0C29 cmp r1, #12 1984 0008 65D8 bhi .L159 1985 000a DFE801F0 tbb [pc, r1] 1986 .L148: 1987 000e 07 .byte (.L151-.L148)/2 1988 000f 64 .byte (.L159-.L148)/2 1989 0010 64 .byte (.L159-.L148)/2 ARM GAS /tmp/cc9HXhVl.s page 110 1990 0011 64 .byte (.L159-.L148)/2 1991 0012 3F .byte (.L150-.L148)/2 1992 0013 64 .byte (.L159-.L148)/2 1993 0014 64 .byte (.L159-.L148)/2 1994 0015 64 .byte (.L159-.L148)/2 1995 0016 45 .byte (.L149-.L148)/2 1996 0017 64 .byte (.L159-.L148)/2 1997 0018 64 .byte (.L159-.L148)/2 1998 0019 64 .byte (.L159-.L148)/2 1999 001a 4B .byte (.L147-.L148)/2 2000 001b 00 .p2align 1 2001 .L151: 837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2002 .loc 1 837 7 view .LVU581 2003 001c 0268 ldr r2, [r0] 2004 001e D368 ldr r3, [r2, #12] 2005 0020 23F00203 bic r3, r3, #2 2006 0024 D360 str r3, [r2, #12] 838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2007 .loc 1 838 7 view .LVU582 867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2008 .loc 1 867 3 view .LVU583 2009 .L152: 870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2010 .loc 1 870 5 view .LVU584 2011 0026 0022 movs r2, #0 2012 0028 2946 mov r1, r5 2013 .LVL128: 870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2014 .loc 1 870 5 is_stmt 0 view .LVU585 2015 002a 2068 ldr r0, [r4] 2016 .LVL129: 870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2017 .loc 1 870 5 view .LVU586 2018 002c FFF7FEFF bl TIM_CCxNChannelCmd 2019 .LVL130: 873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & (TIM_CCER_CC1NE | TIM_CCER_CC2NE | TIM_CCER_CC3NE | TIM_CCER_CC4NE)) == (uint32 2020 .loc 1 873 5 is_stmt 1 view .LVU587 873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & (TIM_CCER_CC1NE | TIM_CCER_CC2NE | TIM_CCER_CC3NE | TIM_CCER_CC4NE)) == (uint32 2021 .loc 1 873 19 is_stmt 0 view .LVU588 2022 0030 2368 ldr r3, [r4] 873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & (TIM_CCER_CC1NE | TIM_CCER_CC2NE | TIM_CCER_CC3NE | TIM_CCER_CC4NE)) == (uint32 2023 .loc 1 873 13 view .LVU589 2024 0032 196A ldr r1, [r3, #32] 2025 .LVL131: 874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2026 .loc 1 874 5 is_stmt 1 view .LVU590 874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2027 .loc 1 874 8 is_stmt 0 view .LVU591 2028 0034 44F24442 movw r2, #17476 2029 0038 1142 tst r1, r2 2030 003a 03D1 bne .L153 876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2031 .loc 1 876 7 is_stmt 1 view .LVU592 2032 003c DA68 ldr r2, [r3, #12] 2033 003e 22F08002 bic r2, r2, #128 2034 0042 DA60 str r2, [r3, #12] ARM GAS /tmp/cc9HXhVl.s page 111 2035 .L153: 880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2036 .loc 1 880 5 view .LVU593 880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2037 .loc 1 880 5 view .LVU594 2038 0044 2368 ldr r3, [r4] 2039 0046 196A ldr r1, [r3, #32] 2040 .LVL132: 880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2041 .loc 1 880 5 is_stmt 0 view .LVU595 2042 0048 41F21112 movw r2, #4369 2043 004c 1142 tst r1, r2 2044 004e 08D1 bne .L154 880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2045 .loc 1 880 5 is_stmt 1 discriminator 1 view .LVU596 2046 0050 196A ldr r1, [r3, #32] 2047 0052 44F24442 movw r2, #17476 2048 0056 1142 tst r1, r2 2049 0058 03D1 bne .L154 880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2050 .loc 1 880 5 discriminator 3 view .LVU597 2051 005a 5A6C ldr r2, [r3, #68] 2052 005c 22F40042 bic r2, r2, #32768 2053 0060 5A64 str r2, [r3, #68] 2054 .L154: 880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2055 .loc 1 880 5 discriminator 5 view .LVU598 883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2056 .loc 1 883 5 discriminator 5 view .LVU599 883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2057 .loc 1 883 5 discriminator 5 view .LVU600 2058 0062 2368 ldr r3, [r4] 2059 0064 196A ldr r1, [r3, #32] 2060 0066 41F21112 movw r2, #4369 2061 006a 1142 tst r1, r2 2062 006c 08D1 bne .L155 883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2063 .loc 1 883 5 discriminator 1 view .LVU601 2064 006e 196A ldr r1, [r3, #32] 2065 0070 44F24442 movw r2, #17476 2066 0074 1142 tst r1, r2 2067 0076 03D1 bne .L155 883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2068 .loc 1 883 5 discriminator 3 view .LVU602 2069 0078 1A68 ldr r2, [r3] 2070 007a 22F00102 bic r2, r2, #1 2071 007e 1A60 str r2, [r3] 2072 .L155: 883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2073 .loc 1 883 5 discriminator 5 view .LVU603 886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2074 .loc 1 886 5 discriminator 5 view .LVU604 2075 0080 B5B9 cbnz r5, .L156 886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2076 .loc 1 886 5 is_stmt 0 discriminator 1 view .LVU605 2077 0082 0123 movs r3, #1 2078 0084 84F84430 strb r3, [r4, #68] ARM GAS /tmp/cc9HXhVl.s page 112 2079 0088 0020 movs r0, #0 2080 008a 25E0 b .L146 2081 .LVL133: 2082 .L150: 844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2083 .loc 1 844 7 is_stmt 1 view .LVU606 2084 008c 0268 ldr r2, [r0] 2085 008e D368 ldr r3, [r2, #12] 2086 0090 23F00403 bic r3, r3, #4 2087 0094 D360 str r3, [r2, #12] 845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2088 .loc 1 845 7 view .LVU607 867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2089 .loc 1 867 3 view .LVU608 2090 0096 C6E7 b .L152 2091 .L149: 851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2092 .loc 1 851 7 view .LVU609 2093 0098 0268 ldr r2, [r0] 2094 009a D368 ldr r3, [r2, #12] 2095 009c 23F00803 bic r3, r3, #8 2096 00a0 D360 str r3, [r2, #12] 852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2097 .loc 1 852 7 view .LVU610 867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2098 .loc 1 867 3 view .LVU611 2099 00a2 C0E7 b .L152 2100 .L147: 858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2101 .loc 1 858 7 view .LVU612 2102 00a4 0268 ldr r2, [r0] 2103 00a6 D368 ldr r3, [r2, #12] 2104 00a8 23F01003 bic r3, r3, #16 2105 00ac D360 str r3, [r2, #12] 859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2106 .loc 1 859 7 view .LVU613 867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2107 .loc 1 867 3 view .LVU614 2108 00ae BAE7 b .L152 2109 .LVL134: 2110 .L156: 886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2111 .loc 1 886 5 is_stmt 0 discriminator 2 view .LVU615 2112 00b0 042D cmp r5, #4 2113 00b2 06D0 beq .L161 886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2114 .loc 1 886 5 discriminator 4 view .LVU616 2115 00b4 082D cmp r5, #8 2116 00b6 09D0 beq .L162 886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2117 .loc 1 886 5 discriminator 7 view .LVU617 2118 00b8 0123 movs r3, #1 2119 00ba 84F84730 strb r3, [r4, #71] 2120 00be 0020 movs r0, #0 2121 00c0 0AE0 b .L146 2122 .L161: 886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } ARM GAS /tmp/cc9HXhVl.s page 113 2123 .loc 1 886 5 discriminator 3 view .LVU618 2124 00c2 0123 movs r3, #1 2125 00c4 84F84530 strb r3, [r4, #69] 2126 00c8 0020 movs r0, #0 2127 00ca 05E0 b .L146 2128 .L162: 886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2129 .loc 1 886 5 discriminator 6 view .LVU619 2130 00cc 0123 movs r3, #1 2131 00ce 84F84630 strb r3, [r4, #70] 2132 00d2 0020 movs r0, #0 2133 00d4 00E0 b .L146 2134 .LVL135: 2135 .L159: 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2136 .loc 1 832 3 view .LVU620 2137 00d6 0120 movs r0, #1 2138 .LVL136: 2139 .L146: 890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2140 .loc 1 890 3 is_stmt 1 view .LVU621 891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2141 .loc 1 891 1 is_stmt 0 view .LVU622 2142 00d8 38BD pop {r3, r4, r5, pc} 891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2143 .loc 1 891 1 view .LVU623 2144 .cfi_endproc 2145 .LFE342: 2147 .section .text.HAL_TIMEx_OCN_Start_DMA,"ax",%progbits 2148 .align 1 2149 .global HAL_TIMEx_OCN_Start_DMA 2150 .syntax unified 2151 .thumb 2152 .thumb_func 2154 HAL_TIMEx_OCN_Start_DMA: 2155 .LVL137: 2156 .LFB343: 908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 2157 .loc 1 908 1 is_stmt 1 view -0 2158 .cfi_startproc 2159 @ args = 0, pretend = 0, frame = 0 2160 @ frame_needed = 0, uses_anonymous_args = 0 908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 2161 .loc 1 908 1 is_stmt 0 view .LVU625 2162 0000 70B5 push {r4, r5, r6, lr} 2163 .LCFI18: 2164 .cfi_def_cfa_offset 16 2165 .cfi_offset 4, -16 2166 .cfi_offset 5, -12 2167 .cfi_offset 6, -8 2168 .cfi_offset 14, -4 2169 0002 0446 mov r4, r0 2170 0004 1646 mov r6, r2 909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 2171 .loc 1 909 3 is_stmt 1 view .LVU626 2172 .LVL138: 910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/cc9HXhVl.s page 114 2173 .loc 1 910 3 view .LVU627 913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2174 .loc 1 913 3 view .LVU628 916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2175 .loc 1 916 3 view .LVU629 916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2176 .loc 1 916 46 is_stmt 0 view .LVU630 2177 0006 0D46 mov r5, r1 2178 0008 0029 cmp r1, #0 2179 000a 62D1 bne .L164 916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2180 .loc 1 916 7 discriminator 1 view .LVU631 2181 000c 90F84400 ldrb r0, [r0, #68] @ zero_extendqisi2 2182 .LVL139: 916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2183 .loc 1 916 7 discriminator 1 view .LVU632 2184 0010 C0B2 uxtb r0, r0 916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2185 .loc 1 916 46 discriminator 1 view .LVU633 2186 0012 0228 cmp r0, #2 2187 0014 14BF ite ne 2188 0016 0020 movne r0, #0 2189 0018 0120 moveq r0, #1 2190 .L165: 916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2191 .loc 1 916 6 discriminator 12 view .LVU634 2192 001a 0028 cmp r0, #0 2193 001c 40F01481 bne .L185 920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2194 .loc 1 920 8 is_stmt 1 view .LVU635 920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2195 .loc 1 920 51 is_stmt 0 view .LVU636 2196 0020 002D cmp r5, #0 2197 0022 72D1 bne .L169 920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2198 .loc 1 920 12 discriminator 1 view .LVU637 2199 0024 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2 2200 .LVL140: 920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2201 .loc 1 920 12 discriminator 1 view .LVU638 2202 0028 D2B2 uxtb r2, r2 920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2203 .loc 1 920 51 discriminator 1 view .LVU639 2204 002a 012A cmp r2, #1 2205 002c 14BF ite ne 2206 002e 0022 movne r2, #0 2207 0030 0122 moveq r2, #1 2208 .L170: 920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2209 .loc 1 920 11 discriminator 12 view .LVU640 2210 0032 002A cmp r2, #0 2211 0034 00F00A81 beq .L186 922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2212 .loc 1 922 5 is_stmt 1 view .LVU641 922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2213 .loc 1 922 8 is_stmt 0 view .LVU642 2214 0038 002E cmp r6, #0 ARM GAS /tmp/cc9HXhVl.s page 115 2215 003a 00F08280 beq .L199 2216 .L173: 928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2217 .loc 1 928 7 is_stmt 1 view .LVU643 2218 003e 002D cmp r5, #0 2219 0040 40F08480 bne .L174 2220 0044 0222 movs r2, #2 2221 0046 84F84420 strb r2, [r4, #68] 936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2222 .loc 1 936 3 view .LVU644 2223 .L175: 941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2224 .loc 1 941 7 view .LVU645 941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2225 .loc 1 941 17 is_stmt 0 view .LVU646 2226 004a 626A ldr r2, [r4, #36] 941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2227 .loc 1 941 52 view .LVU647 2228 004c 8749 ldr r1, .L206 2229 .LVL141: 941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2230 .loc 1 941 52 view .LVU648 2231 004e D162 str r1, [r2, #44] 942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2232 .loc 1 942 7 is_stmt 1 view .LVU649 942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2233 .loc 1 942 17 is_stmt 0 view .LVU650 2234 0050 626A ldr r2, [r4, #36] 942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2235 .loc 1 942 56 view .LVU651 2236 0052 8749 ldr r1, .L206+4 2237 0054 1163 str r1, [r2, #48] 945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2238 .loc 1 945 7 is_stmt 1 view .LVU652 945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2239 .loc 1 945 17 is_stmt 0 view .LVU653 2240 0056 626A ldr r2, [r4, #36] 945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2241 .loc 1 945 53 view .LVU654 2242 0058 8649 ldr r1, .L206+8 2243 005a 5163 str r1, [r2, #52] 948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2244 .loc 1 948 7 is_stmt 1 view .LVU655 948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2245 .loc 1 948 88 is_stmt 0 view .LVU656 2246 005c 2268 ldr r2, [r4] 948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2247 .loc 1 948 11 view .LVU657 2248 005e 3432 adds r2, r2, #52 2249 0060 3146 mov r1, r6 2250 0062 606A ldr r0, [r4, #36] 2251 0064 FFF7FEFF bl HAL_DMA_Start_IT 2252 .LVL142: 948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2253 .loc 1 948 10 view .LVU658 2254 0068 0028 cmp r0, #0 2255 006a 40F0F380 bne .L189 ARM GAS /tmp/cc9HXhVl.s page 116 955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2256 .loc 1 955 7 is_stmt 1 view .LVU659 2257 006e 2268 ldr r2, [r4] 2258 0070 D368 ldr r3, [r2, #12] 2259 0072 43F40073 orr r3, r3, #512 2260 0076 D360 str r3, [r2, #12] 956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2261 .loc 1 956 7 view .LVU660 1027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2262 .loc 1 1027 3 view .LVU661 2263 .L182: 1030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2264 .loc 1 1030 5 view .LVU662 2265 0078 0422 movs r2, #4 2266 007a 2946 mov r1, r5 2267 007c 2068 ldr r0, [r4] 2268 007e FFF7FEFF bl TIM_CCxNChannelCmd 2269 .LVL143: 1033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2270 .loc 1 1033 5 view .LVU663 2271 0082 2268 ldr r2, [r4] 2272 0084 536C ldr r3, [r2, #68] 2273 0086 43F40043 orr r3, r3, #32768 2274 008a 5364 str r3, [r2, #68] 1036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2275 .loc 1 1036 5 view .LVU664 1036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2276 .loc 1 1036 9 is_stmt 0 view .LVU665 2277 008c 2368 ldr r3, [r4] 1036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2278 .loc 1 1036 8 view .LVU666 2279 008e 7A4A ldr r2, .L206+12 2280 0090 9342 cmp r3, r2 2281 0092 00F0CB80 beq .L183 1036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2282 .loc 1 1036 9 discriminator 1 view .LVU667 2283 0096 B3F1804F cmp r3, #1073741824 2284 009a 00F0C780 beq .L183 1036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2285 .loc 1 1036 9 discriminator 2 view .LVU668 2286 009e A2F59432 sub r2, r2, #75776 2287 00a2 9342 cmp r3, r2 2288 00a4 00F0C280 beq .L183 1036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2289 .loc 1 1036 9 discriminator 3 view .LVU669 2290 00a8 02F58062 add r2, r2, #1024 2291 00ac 9342 cmp r3, r2 2292 00ae 00F0BD80 beq .L183 1036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2293 .loc 1 1036 9 discriminator 4 view .LVU670 2294 00b2 02F59632 add r2, r2, #76800 2295 00b6 9342 cmp r3, r2 2296 00b8 00F0B880 beq .L183 1036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2297 .loc 1 1036 9 discriminator 5 view .LVU671 2298 00bc 02F54062 add r2, r2, #3072 2299 00c0 9342 cmp r3, r2 ARM GAS /tmp/cc9HXhVl.s page 117 2300 00c2 00F0B380 beq .L183 1046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2301 .loc 1 1046 7 is_stmt 1 view .LVU672 2302 00c6 1A68 ldr r2, [r3] 2303 00c8 42F00102 orr r2, r2, #1 2304 00cc 1A60 str r2, [r3] 2305 00ce 0020 movs r0, #0 2306 00d0 BDE0 b .L168 2307 .LVL144: 2308 .L164: 916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2309 .loc 1 916 46 is_stmt 0 discriminator 2 view .LVU673 2310 00d2 0429 cmp r1, #4 2311 00d4 09D0 beq .L200 916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2312 .loc 1 916 46 discriminator 5 view .LVU674 2313 00d6 0829 cmp r1, #8 2314 00d8 0FD0 beq .L201 916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2315 .loc 1 916 7 discriminator 8 view .LVU675 2316 00da 90F84700 ldrb r0, [r0, #71] @ zero_extendqisi2 2317 .LVL145: 916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2318 .loc 1 916 7 discriminator 8 view .LVU676 2319 00de C0B2 uxtb r0, r0 916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2320 .loc 1 916 46 discriminator 8 view .LVU677 2321 00e0 0228 cmp r0, #2 2322 00e2 14BF ite ne 2323 00e4 0020 movne r0, #0 2324 00e6 0120 moveq r0, #1 2325 00e8 97E7 b .L165 2326 .LVL146: 2327 .L200: 916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2328 .loc 1 916 7 discriminator 4 view .LVU678 2329 00ea 90F84500 ldrb r0, [r0, #69] @ zero_extendqisi2 2330 .LVL147: 916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2331 .loc 1 916 7 discriminator 4 view .LVU679 2332 00ee C0B2 uxtb r0, r0 916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2333 .loc 1 916 46 discriminator 4 view .LVU680 2334 00f0 0228 cmp r0, #2 2335 00f2 14BF ite ne 2336 00f4 0020 movne r0, #0 2337 00f6 0120 moveq r0, #1 2338 00f8 8FE7 b .L165 2339 .LVL148: 2340 .L201: 916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2341 .loc 1 916 7 discriminator 7 view .LVU681 2342 00fa 90F84600 ldrb r0, [r0, #70] @ zero_extendqisi2 2343 .LVL149: 916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2344 .loc 1 916 7 discriminator 7 view .LVU682 2345 00fe C0B2 uxtb r0, r0 ARM GAS /tmp/cc9HXhVl.s page 118 916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2346 .loc 1 916 46 discriminator 7 view .LVU683 2347 0100 0228 cmp r0, #2 2348 0102 14BF ite ne 2349 0104 0020 movne r0, #0 2350 0106 0120 moveq r0, #1 2351 0108 87E7 b .L165 2352 .L169: 920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2353 .loc 1 920 51 discriminator 2 view .LVU684 2354 010a 042D cmp r5, #4 2355 010c 09D0 beq .L202 920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2356 .loc 1 920 51 discriminator 5 view .LVU685 2357 010e 082D cmp r5, #8 2358 0110 0FD0 beq .L203 920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2359 .loc 1 920 12 discriminator 8 view .LVU686 2360 0112 94F84720 ldrb r2, [r4, #71] @ zero_extendqisi2 2361 .LVL150: 920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2362 .loc 1 920 12 discriminator 8 view .LVU687 2363 0116 D2B2 uxtb r2, r2 920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2364 .loc 1 920 51 discriminator 8 view .LVU688 2365 0118 012A cmp r2, #1 2366 011a 14BF ite ne 2367 011c 0022 movne r2, #0 2368 011e 0122 moveq r2, #1 2369 0120 87E7 b .L170 2370 .LVL151: 2371 .L202: 920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2372 .loc 1 920 12 discriminator 4 view .LVU689 2373 0122 94F84520 ldrb r2, [r4, #69] @ zero_extendqisi2 2374 .LVL152: 920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2375 .loc 1 920 12 discriminator 4 view .LVU690 2376 0126 D2B2 uxtb r2, r2 920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2377 .loc 1 920 51 discriminator 4 view .LVU691 2378 0128 012A cmp r2, #1 2379 012a 14BF ite ne 2380 012c 0022 movne r2, #0 2381 012e 0122 moveq r2, #1 2382 0130 7FE7 b .L170 2383 .LVL153: 2384 .L203: 920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2385 .loc 1 920 12 discriminator 7 view .LVU692 2386 0132 94F84620 ldrb r2, [r4, #70] @ zero_extendqisi2 2387 .LVL154: 920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2388 .loc 1 920 12 discriminator 7 view .LVU693 2389 0136 D2B2 uxtb r2, r2 920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2390 .loc 1 920 51 discriminator 7 view .LVU694 ARM GAS /tmp/cc9HXhVl.s page 119 2391 0138 012A cmp r2, #1 2392 013a 14BF ite ne 2393 013c 0022 movne r2, #0 2394 013e 0122 moveq r2, #1 2395 0140 77E7 b .L170 2396 .L199: 922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2397 .loc 1 922 25 discriminator 1 view .LVU695 2398 0142 002B cmp r3, #0 2399 0144 3FF47BAF beq .L173 924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2400 .loc 1 924 14 view .LVU696 2401 0148 0120 movs r0, #1 2402 014a 80E0 b .L168 2403 .L174: 928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2404 .loc 1 928 7 discriminator 2 view .LVU697 2405 014c 042D cmp r5, #4 2406 014e 23D0 beq .L204 928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2407 .loc 1 928 7 discriminator 4 view .LVU698 2408 0150 082D cmp r5, #8 2409 0152 3BD0 beq .L205 928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2410 .loc 1 928 7 discriminator 7 view .LVU699 2411 0154 0222 movs r2, #2 2412 0156 84F84720 strb r2, [r4, #71] 936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2413 .loc 1 936 3 is_stmt 1 discriminator 7 view .LVU700 2414 015a 0C2D cmp r5, #12 2415 015c 78D8 bhi .L188 2416 015e 01A2 adr r2, .L181 2417 0160 52F825F0 ldr pc, [r2, r5, lsl #2] 2418 .p2align 2 2419 .L181: 2420 0164 4B000000 .word .L175+1 2421 0168 51020000 .word .L188+1 2422 016c 51020000 .word .L188+1 2423 0170 51020000 .word .L188+1 2424 0174 9F010000 .word .L177+1 2425 0178 51020000 .word .L188+1 2426 017c 51020000 .word .L188+1 2427 0180 51020000 .word .L188+1 2428 0184 D3010000 .word .L179+1 2429 0188 51020000 .word .L188+1 2430 018c 51020000 .word .L188+1 2431 0190 51020000 .word .L188+1 2432 0194 01020000 .word .L180+1 2433 .p2align 1 2434 .L204: 928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2435 .loc 1 928 7 is_stmt 0 view .LVU701 2436 0198 0222 movs r2, #2 2437 019a 84F84520 strb r2, [r4, #69] 936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2438 .loc 1 936 3 is_stmt 1 view .LVU702 2439 .L177: ARM GAS /tmp/cc9HXhVl.s page 120 962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2440 .loc 1 962 7 view .LVU703 962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2441 .loc 1 962 17 is_stmt 0 view .LVU704 2442 019e A26A ldr r2, [r4, #40] 962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2443 .loc 1 962 52 view .LVU705 2444 01a0 3249 ldr r1, .L206 2445 .LVL155: 962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2446 .loc 1 962 52 view .LVU706 2447 01a2 D162 str r1, [r2, #44] 963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2448 .loc 1 963 7 is_stmt 1 view .LVU707 963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2449 .loc 1 963 17 is_stmt 0 view .LVU708 2450 01a4 A26A ldr r2, [r4, #40] 963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2451 .loc 1 963 56 view .LVU709 2452 01a6 3249 ldr r1, .L206+4 2453 01a8 1163 str r1, [r2, #48] 966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2454 .loc 1 966 7 is_stmt 1 view .LVU710 966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2455 .loc 1 966 17 is_stmt 0 view .LVU711 2456 01aa A26A ldr r2, [r4, #40] 966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2457 .loc 1 966 53 view .LVU712 2458 01ac 3149 ldr r1, .L206+8 2459 01ae 5163 str r1, [r2, #52] 969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2460 .loc 1 969 7 is_stmt 1 view .LVU713 969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2461 .loc 1 969 88 is_stmt 0 view .LVU714 2462 01b0 2268 ldr r2, [r4] 969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2463 .loc 1 969 11 view .LVU715 2464 01b2 3832 adds r2, r2, #56 2465 01b4 3146 mov r1, r6 2466 01b6 A06A ldr r0, [r4, #40] 2467 01b8 FFF7FEFF bl HAL_DMA_Start_IT 2468 .LVL156: 969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2469 .loc 1 969 10 view .LVU716 2470 01bc 0028 cmp r0, #0 2471 01be 4BD1 bne .L190 976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2472 .loc 1 976 7 is_stmt 1 view .LVU717 2473 01c0 2268 ldr r2, [r4] 2474 01c2 D368 ldr r3, [r2, #12] 2475 01c4 43F48063 orr r3, r3, #1024 2476 01c8 D360 str r3, [r2, #12] 977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2477 .loc 1 977 7 view .LVU718 1027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2478 .loc 1 1027 3 view .LVU719 2479 01ca 55E7 b .L182 ARM GAS /tmp/cc9HXhVl.s page 121 2480 .LVL157: 2481 .L205: 928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2482 .loc 1 928 7 is_stmt 0 view .LVU720 2483 01cc 0222 movs r2, #2 2484 01ce 84F84620 strb r2, [r4, #70] 936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2485 .loc 1 936 3 is_stmt 1 view .LVU721 2486 .L179: 983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2487 .loc 1 983 7 view .LVU722 983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2488 .loc 1 983 17 is_stmt 0 view .LVU723 2489 01d2 E26A ldr r2, [r4, #44] 983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2490 .loc 1 983 52 view .LVU724 2491 01d4 2549 ldr r1, .L206 2492 .LVL158: 983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2493 .loc 1 983 52 view .LVU725 2494 01d6 D162 str r1, [r2, #44] 984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2495 .loc 1 984 7 is_stmt 1 view .LVU726 984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2496 .loc 1 984 17 is_stmt 0 view .LVU727 2497 01d8 E26A ldr r2, [r4, #44] 984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2498 .loc 1 984 56 view .LVU728 2499 01da 2549 ldr r1, .L206+4 2500 01dc 1163 str r1, [r2, #48] 987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2501 .loc 1 987 7 is_stmt 1 view .LVU729 987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2502 .loc 1 987 17 is_stmt 0 view .LVU730 2503 01de E26A ldr r2, [r4, #44] 987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2504 .loc 1 987 53 view .LVU731 2505 01e0 2449 ldr r1, .L206+8 2506 01e2 5163 str r1, [r2, #52] 990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2507 .loc 1 990 7 is_stmt 1 view .LVU732 990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2508 .loc 1 990 88 is_stmt 0 view .LVU733 2509 01e4 2268 ldr r2, [r4] 990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2510 .loc 1 990 11 view .LVU734 2511 01e6 3C32 adds r2, r2, #60 2512 01e8 3146 mov r1, r6 2513 01ea E06A ldr r0, [r4, #44] 2514 01ec FFF7FEFF bl HAL_DMA_Start_IT 2515 .LVL159: 990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2516 .loc 1 990 10 view .LVU735 2517 01f0 0028 cmp r0, #0 2518 01f2 33D1 bne .L191 997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2519 .loc 1 997 7 is_stmt 1 view .LVU736 ARM GAS /tmp/cc9HXhVl.s page 122 2520 01f4 2268 ldr r2, [r4] 2521 01f6 D368 ldr r3, [r2, #12] 2522 01f8 43F40063 orr r3, r3, #2048 2523 01fc D360 str r3, [r2, #12] 998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2524 .loc 1 998 7 view .LVU737 1027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2525 .loc 1 1027 3 view .LVU738 2526 01fe 3BE7 b .L182 2527 .LVL160: 2528 .L180: 1004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2529 .loc 1 1004 7 view .LVU739 1004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2530 .loc 1 1004 17 is_stmt 0 view .LVU740 2531 0200 226B ldr r2, [r4, #48] 1004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2532 .loc 1 1004 52 view .LVU741 2533 0202 1A49 ldr r1, .L206 2534 .LVL161: 1004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2535 .loc 1 1004 52 view .LVU742 2536 0204 D162 str r1, [r2, #44] 1005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2537 .loc 1 1005 7 is_stmt 1 view .LVU743 1005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2538 .loc 1 1005 17 is_stmt 0 view .LVU744 2539 0206 226B ldr r2, [r4, #48] 1005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2540 .loc 1 1005 56 view .LVU745 2541 0208 1949 ldr r1, .L206+4 2542 020a 1163 str r1, [r2, #48] 1008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2543 .loc 1 1008 7 is_stmt 1 view .LVU746 1008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2544 .loc 1 1008 17 is_stmt 0 view .LVU747 2545 020c 226B ldr r2, [r4, #48] 1008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2546 .loc 1 1008 53 view .LVU748 2547 020e 1949 ldr r1, .L206+8 2548 0210 5163 str r1, [r2, #52] 1011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2549 .loc 1 1011 7 is_stmt 1 view .LVU749 1011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2550 .loc 1 1011 88 is_stmt 0 view .LVU750 2551 0212 2268 ldr r2, [r4] 1011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2552 .loc 1 1011 11 view .LVU751 2553 0214 4032 adds r2, r2, #64 2554 0216 3146 mov r1, r6 2555 0218 206B ldr r0, [r4, #48] 2556 021a FFF7FEFF bl HAL_DMA_Start_IT 2557 .LVL162: 1011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2558 .loc 1 1011 10 view .LVU752 2559 021e F8B9 cbnz r0, .L192 1018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; ARM GAS /tmp/cc9HXhVl.s page 123 2560 .loc 1 1018 7 is_stmt 1 view .LVU753 2561 0220 2268 ldr r2, [r4] 2562 0222 D368 ldr r3, [r2, #12] 2563 0224 43F48053 orr r3, r3, #4096 2564 0228 D360 str r3, [r2, #12] 1019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2565 .loc 1 1019 7 view .LVU754 1027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2566 .loc 1 1027 3 view .LVU755 2567 022a 25E7 b .L182 2568 .L183: 1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 2569 .loc 1 1038 7 view .LVU756 1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 2570 .loc 1 1038 31 is_stmt 0 view .LVU757 2571 022c 9968 ldr r1, [r3, #8] 1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 2572 .loc 1 1038 15 view .LVU758 2573 022e 134A ldr r2, .L206+16 2574 0230 0A40 ands r2, r2, r1 2575 .LVL163: 1039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2576 .loc 1 1039 7 is_stmt 1 view .LVU759 1039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2577 .loc 1 1039 10 is_stmt 0 view .LVU760 2578 0232 062A cmp r2, #6 2579 0234 16D0 beq .L193 1039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2580 .loc 1 1039 11 discriminator 1 view .LVU761 2581 0236 B2F5803F cmp r2, #65536 2582 023a 15D0 beq .L194 1041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2583 .loc 1 1041 9 is_stmt 1 view .LVU762 2584 023c 1A68 ldr r2, [r3] 2585 .LVL164: 1041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2586 .loc 1 1041 9 is_stmt 0 view .LVU763 2587 023e 42F00102 orr r2, r2, #1 2588 0242 1A60 str r2, [r3] 2589 0244 0020 movs r0, #0 2590 0246 02E0 b .L168 2591 .LVL165: 2592 .L185: 918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2593 .loc 1 918 12 view .LVU764 2594 0248 0220 movs r0, #2 2595 024a 00E0 b .L168 2596 .LVL166: 2597 .L186: 933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2598 .loc 1 933 12 view .LVU765 2599 024c 0120 movs r0, #1 2600 .LVL167: 2601 .L168: 1052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2602 .loc 1 1052 1 view .LVU766 2603 024e 70BD pop {r4, r5, r6, pc} ARM GAS /tmp/cc9HXhVl.s page 124 2604 .LVL168: 2605 .L188: 936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2606 .loc 1 936 3 view .LVU767 2607 0250 0120 movs r0, #1 2608 0252 FCE7 b .L168 2609 .LVL169: 2610 .L189: 952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2611 .loc 1 952 16 view .LVU768 2612 0254 0120 movs r0, #1 2613 0256 FAE7 b .L168 2614 .L190: 973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2615 .loc 1 973 16 view .LVU769 2616 0258 0120 movs r0, #1 2617 025a F8E7 b .L168 2618 .L191: 994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2619 .loc 1 994 16 view .LVU770 2620 025c 0120 movs r0, #1 2621 025e F6E7 b .L168 2622 .L192: 1015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2623 .loc 1 1015 16 view .LVU771 2624 0260 0120 movs r0, #1 2625 0262 F4E7 b .L168 2626 .LVL170: 2627 .L193: 1015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2628 .loc 1 1015 16 view .LVU772 2629 0264 0020 movs r0, #0 2630 0266 F2E7 b .L168 2631 .L194: 2632 0268 0020 movs r0, #0 2633 026a F0E7 b .L168 2634 .L207: 2635 .align 2 2636 .L206: 2637 026c 00000000 .word TIM_DMADelayPulseNCplt 2638 0270 00000000 .word TIM_DMADelayPulseHalfCplt 2639 0274 00000000 .word TIM_DMAErrorCCxN 2640 0278 002C0140 .word 1073818624 2641 027c 07000100 .word 65543 2642 .cfi_endproc 2643 .LFE343: 2645 .section .text.HAL_TIMEx_OCN_Stop_DMA,"ax",%progbits 2646 .align 1 2647 .global HAL_TIMEx_OCN_Stop_DMA 2648 .syntax unified 2649 .thumb 2650 .thumb_func 2652 HAL_TIMEx_OCN_Stop_DMA: 2653 .LVL171: 2654 .LFB344: 1067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 2655 .loc 1 1067 1 is_stmt 1 view -0 ARM GAS /tmp/cc9HXhVl.s page 125 2656 .cfi_startproc 2657 @ args = 0, pretend = 0, frame = 0 2658 @ frame_needed = 0, uses_anonymous_args = 0 1067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 2659 .loc 1 1067 1 is_stmt 0 view .LVU774 2660 0000 38B5 push {r3, r4, r5, lr} 2661 .LCFI19: 2662 .cfi_def_cfa_offset 16 2663 .cfi_offset 3, -16 2664 .cfi_offset 4, -12 2665 .cfi_offset 5, -8 2666 .cfi_offset 14, -4 2667 0002 0446 mov r4, r0 2668 0004 0D46 mov r5, r1 1068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2669 .loc 1 1068 3 is_stmt 1 view .LVU775 2670 .LVL172: 1071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2671 .loc 1 1071 3 view .LVU776 1073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2672 .loc 1 1073 3 view .LVU777 2673 0006 0C29 cmp r1, #12 2674 0008 67D8 bhi .L221 2675 000a DFE801F0 tbb [pc, r1] 2676 .L211: 2677 000e 07 .byte (.L214-.L211)/2 2678 000f 66 .byte (.L221-.L211)/2 2679 0010 66 .byte (.L221-.L211)/2 2680 0011 66 .byte (.L221-.L211)/2 2681 0012 38 .byte (.L213-.L211)/2 2682 0013 66 .byte (.L221-.L211)/2 2683 0014 66 .byte (.L221-.L211)/2 2684 0015 66 .byte (.L221-.L211)/2 2685 0016 41 .byte (.L212-.L211)/2 2686 0017 66 .byte (.L221-.L211)/2 2687 0018 66 .byte (.L221-.L211)/2 2688 0019 66 .byte (.L221-.L211)/2 2689 001a 4A .byte (.L210-.L211)/2 2690 001b 00 .p2align 1 2691 .L214: 1078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 2692 .loc 1 1078 7 view .LVU778 2693 001c 0268 ldr r2, [r0] 2694 001e D368 ldr r3, [r2, #12] 2695 0020 23F40073 bic r3, r3, #512 2696 0024 D360 str r3, [r2, #12] 1079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2697 .loc 1 1079 7 view .LVU779 1079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2698 .loc 1 1079 13 is_stmt 0 view .LVU780 2699 0026 406A ldr r0, [r0, #36] 2700 .LVL173: 1079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2701 .loc 1 1079 13 view .LVU781 2702 0028 FFF7FEFF bl HAL_DMA_Abort_IT 2703 .LVL174: 1080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } ARM GAS /tmp/cc9HXhVl.s page 126 2704 .loc 1 1080 7 is_stmt 1 view .LVU782 1112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2705 .loc 1 1112 3 view .LVU783 2706 .L215: 1115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2707 .loc 1 1115 5 view .LVU784 2708 002c 0022 movs r2, #0 2709 002e 2946 mov r1, r5 2710 0030 2068 ldr r0, [r4] 2711 0032 FFF7FEFF bl TIM_CCxNChannelCmd 2712 .LVL175: 1118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2713 .loc 1 1118 5 view .LVU785 1118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2714 .loc 1 1118 5 view .LVU786 2715 0036 2368 ldr r3, [r4] 2716 0038 196A ldr r1, [r3, #32] 2717 003a 41F21112 movw r2, #4369 2718 003e 1142 tst r1, r2 2719 0040 08D1 bne .L216 1118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2720 .loc 1 1118 5 discriminator 1 view .LVU787 2721 0042 196A ldr r1, [r3, #32] 2722 0044 44F24442 movw r2, #17476 2723 0048 1142 tst r1, r2 2724 004a 03D1 bne .L216 1118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2725 .loc 1 1118 5 discriminator 3 view .LVU788 2726 004c 5A6C ldr r2, [r3, #68] 2727 004e 22F40042 bic r2, r2, #32768 2728 0052 5A64 str r2, [r3, #68] 2729 .L216: 1118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2730 .loc 1 1118 5 discriminator 5 view .LVU789 1121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2731 .loc 1 1121 5 discriminator 5 view .LVU790 1121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2732 .loc 1 1121 5 discriminator 5 view .LVU791 2733 0054 2368 ldr r3, [r4] 2734 0056 196A ldr r1, [r3, #32] 2735 0058 41F21112 movw r2, #4369 2736 005c 1142 tst r1, r2 2737 005e 08D1 bne .L217 1121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2738 .loc 1 1121 5 discriminator 1 view .LVU792 2739 0060 196A ldr r1, [r3, #32] 2740 0062 44F24442 movw r2, #17476 2741 0066 1142 tst r1, r2 2742 0068 03D1 bne .L217 1121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2743 .loc 1 1121 5 discriminator 3 view .LVU793 2744 006a 1A68 ldr r2, [r3] 2745 006c 22F00102 bic r2, r2, #1 2746 0070 1A60 str r2, [r3] 2747 .L217: 1121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2748 .loc 1 1121 5 discriminator 5 view .LVU794 ARM GAS /tmp/cc9HXhVl.s page 127 1124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2749 .loc 1 1124 5 discriminator 5 view .LVU795 2750 0072 FDB9 cbnz r5, .L218 1124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2751 .loc 1 1124 5 is_stmt 0 discriminator 1 view .LVU796 2752 0074 0123 movs r3, #1 2753 0076 84F84430 strb r3, [r4, #68] 2754 007a 0020 movs r0, #0 2755 007c 2EE0 b .L209 2756 .LVL176: 2757 .L213: 1086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 2758 .loc 1 1086 7 is_stmt 1 view .LVU797 2759 007e 0268 ldr r2, [r0] 2760 0080 D368 ldr r3, [r2, #12] 2761 0082 23F48063 bic r3, r3, #1024 2762 0086 D360 str r3, [r2, #12] 1087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2763 .loc 1 1087 7 view .LVU798 1087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2764 .loc 1 1087 13 is_stmt 0 view .LVU799 2765 0088 806A ldr r0, [r0, #40] 2766 .LVL177: 1087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2767 .loc 1 1087 13 view .LVU800 2768 008a FFF7FEFF bl HAL_DMA_Abort_IT 2769 .LVL178: 1088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2770 .loc 1 1088 7 is_stmt 1 view .LVU801 1112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2771 .loc 1 1112 3 view .LVU802 2772 008e CDE7 b .L215 2773 .LVL179: 2774 .L212: 1094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 2775 .loc 1 1094 7 view .LVU803 2776 0090 0268 ldr r2, [r0] 2777 0092 D368 ldr r3, [r2, #12] 2778 0094 23F40063 bic r3, r3, #2048 2779 0098 D360 str r3, [r2, #12] 1095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2780 .loc 1 1095 7 view .LVU804 1095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2781 .loc 1 1095 13 is_stmt 0 view .LVU805 2782 009a C06A ldr r0, [r0, #44] 2783 .LVL180: 1095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2784 .loc 1 1095 13 view .LVU806 2785 009c FFF7FEFF bl HAL_DMA_Abort_IT 2786 .LVL181: 1096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2787 .loc 1 1096 7 is_stmt 1 view .LVU807 1112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2788 .loc 1 1112 3 view .LVU808 2789 00a0 C4E7 b .L215 2790 .LVL182: 2791 .L210: ARM GAS /tmp/cc9HXhVl.s page 128 1102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 2792 .loc 1 1102 7 view .LVU809 2793 00a2 0268 ldr r2, [r0] 2794 00a4 D368 ldr r3, [r2, #12] 2795 00a6 23F48053 bic r3, r3, #4096 2796 00aa D360 str r3, [r2, #12] 1103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2797 .loc 1 1103 7 view .LVU810 1103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2798 .loc 1 1103 13 is_stmt 0 view .LVU811 2799 00ac 006B ldr r0, [r0, #48] 2800 .LVL183: 1103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2801 .loc 1 1103 13 view .LVU812 2802 00ae FFF7FEFF bl HAL_DMA_Abort_IT 2803 .LVL184: 1104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2804 .loc 1 1104 7 is_stmt 1 view .LVU813 1112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2805 .loc 1 1112 3 view .LVU814 2806 00b2 BBE7 b .L215 2807 .L218: 1124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2808 .loc 1 1124 5 is_stmt 0 discriminator 2 view .LVU815 2809 00b4 042D cmp r5, #4 2810 00b6 06D0 beq .L223 1124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2811 .loc 1 1124 5 discriminator 4 view .LVU816 2812 00b8 082D cmp r5, #8 2813 00ba 09D0 beq .L224 1124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2814 .loc 1 1124 5 discriminator 7 view .LVU817 2815 00bc 0123 movs r3, #1 2816 00be 84F84730 strb r3, [r4, #71] 2817 00c2 0020 movs r0, #0 2818 00c4 0AE0 b .L209 2819 .L223: 1124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2820 .loc 1 1124 5 discriminator 3 view .LVU818 2821 00c6 0123 movs r3, #1 2822 00c8 84F84530 strb r3, [r4, #69] 2823 00cc 0020 movs r0, #0 2824 00ce 05E0 b .L209 2825 .L224: 1124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2826 .loc 1 1124 5 discriminator 6 view .LVU819 2827 00d0 0123 movs r3, #1 2828 00d2 84F84630 strb r3, [r4, #70] 2829 00d6 0020 movs r0, #0 2830 00d8 00E0 b .L209 2831 .LVL185: 2832 .L221: 1073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2833 .loc 1 1073 3 view .LVU820 2834 00da 0120 movs r0, #1 2835 .LVL186: 2836 .L209: ARM GAS /tmp/cc9HXhVl.s page 129 1128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2837 .loc 1 1128 3 is_stmt 1 view .LVU821 1129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2838 .loc 1 1129 1 is_stmt 0 view .LVU822 2839 00dc 38BD pop {r3, r4, r5, pc} 1129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2840 .loc 1 1129 1 view .LVU823 2841 .cfi_endproc 2842 .LFE344: 2844 .section .text.HAL_TIMEx_PWMN_Start,"ax",%progbits 2845 .align 1 2846 .global HAL_TIMEx_PWMN_Start 2847 .syntax unified 2848 .thumb 2849 .thumb_func 2851 HAL_TIMEx_PWMN_Start: 2852 .LVL187: 2853 .LFB345: 1177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 2854 .loc 1 1177 1 is_stmt 1 view -0 2855 .cfi_startproc 2856 @ args = 0, pretend = 0, frame = 0 2857 @ frame_needed = 0, uses_anonymous_args = 0 1177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 2858 .loc 1 1177 1 is_stmt 0 view .LVU825 2859 0000 10B5 push {r4, lr} 2860 .LCFI20: 2861 .cfi_def_cfa_offset 8 2862 .cfi_offset 4, -8 2863 .cfi_offset 14, -4 2864 0002 0446 mov r4, r0 1178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2865 .loc 1 1178 3 is_stmt 1 view .LVU826 1181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2866 .loc 1 1181 3 view .LVU827 1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2867 .loc 1 1184 3 view .LVU828 1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2868 .loc 1 1184 46 is_stmt 0 view .LVU829 2869 0004 0846 mov r0, r1 2870 .LVL188: 1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2871 .loc 1 1184 46 view .LVU830 2872 0006 0029 cmp r1, #0 2873 0008 33D1 bne .L226 1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2874 .loc 1 1184 7 discriminator 1 view .LVU831 2875 000a 94F84430 ldrb r3, [r4, #68] @ zero_extendqisi2 2876 000e DBB2 uxtb r3, r3 1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2877 .loc 1 1184 46 discriminator 1 view .LVU832 2878 0010 013B subs r3, r3, #1 2879 0012 18BF it ne 2880 0014 0123 movne r3, #1 2881 .L227: 1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2882 .loc 1 1184 6 discriminator 12 view .LVU833 ARM GAS /tmp/cc9HXhVl.s page 130 2883 0016 002B cmp r3, #0 2884 0018 62D1 bne .L237 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2885 .loc 1 1190 3 is_stmt 1 view .LVU834 2886 001a 0028 cmp r0, #0 2887 001c 42D1 bne .L231 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2888 .loc 1 1190 3 is_stmt 0 discriminator 1 view .LVU835 2889 001e 0223 movs r3, #2 2890 0020 84F84430 strb r3, [r4, #68] 2891 .L232: 1193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2892 .loc 1 1193 3 is_stmt 1 view .LVU836 2893 0024 0422 movs r2, #4 2894 0026 0146 mov r1, r0 2895 .LVL189: 1193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2896 .loc 1 1193 3 is_stmt 0 view .LVU837 2897 0028 2068 ldr r0, [r4] 2898 .LVL190: 1193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2899 .loc 1 1193 3 view .LVU838 2900 002a FFF7FEFF bl TIM_CCxNChannelCmd 2901 .LVL191: 1196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2902 .loc 1 1196 3 is_stmt 1 view .LVU839 2903 002e 2268 ldr r2, [r4] 2904 0030 536C ldr r3, [r2, #68] 2905 0032 43F40043 orr r3, r3, #32768 2906 0036 5364 str r3, [r2, #68] 1199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2907 .loc 1 1199 3 view .LVU840 1199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2908 .loc 1 1199 7 is_stmt 0 view .LVU841 2909 0038 2368 ldr r3, [r4] 1199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2910 .loc 1 1199 6 view .LVU842 2911 003a 2C4A ldr r2, .L245 2912 003c 9342 cmp r3, r2 2913 003e 41D0 beq .L235 1199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2914 .loc 1 1199 7 discriminator 1 view .LVU843 2915 0040 B3F1804F cmp r3, #1073741824 2916 0044 3ED0 beq .L235 1199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2917 .loc 1 1199 7 discriminator 2 view .LVU844 2918 0046 A2F59432 sub r2, r2, #75776 2919 004a 9342 cmp r3, r2 2920 004c 3AD0 beq .L235 1199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2921 .loc 1 1199 7 discriminator 3 view .LVU845 2922 004e 02F58062 add r2, r2, #1024 2923 0052 9342 cmp r3, r2 2924 0054 36D0 beq .L235 1199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2925 .loc 1 1199 7 discriminator 4 view .LVU846 2926 0056 02F59632 add r2, r2, #76800 ARM GAS /tmp/cc9HXhVl.s page 131 2927 005a 9342 cmp r3, r2 2928 005c 32D0 beq .L235 1199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2929 .loc 1 1199 7 discriminator 5 view .LVU847 2930 005e 02F54062 add r2, r2, #3072 2931 0062 9342 cmp r3, r2 2932 0064 2ED0 beq .L235 1209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2933 .loc 1 1209 5 is_stmt 1 view .LVU848 2934 0066 1A68 ldr r2, [r3] 2935 0068 42F00102 orr r2, r2, #1 2936 006c 1A60 str r2, [r3] 1213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2937 .loc 1 1213 10 is_stmt 0 view .LVU849 2938 006e 0020 movs r0, #0 2939 0070 37E0 b .L230 2940 .LVL192: 2941 .L226: 1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2942 .loc 1 1184 46 discriminator 2 view .LVU850 2943 0072 0429 cmp r1, #4 2944 0074 08D0 beq .L241 1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2945 .loc 1 1184 46 discriminator 5 view .LVU851 2946 0076 0829 cmp r1, #8 2947 0078 0DD0 beq .L242 1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2948 .loc 1 1184 7 discriminator 8 view .LVU852 2949 007a 94F84730 ldrb r3, [r4, #71] @ zero_extendqisi2 2950 007e DBB2 uxtb r3, r3 1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2951 .loc 1 1184 46 discriminator 8 view .LVU853 2952 0080 013B subs r3, r3, #1 2953 0082 18BF it ne 2954 0084 0123 movne r3, #1 2955 0086 C6E7 b .L227 2956 .L241: 1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2957 .loc 1 1184 7 discriminator 4 view .LVU854 2958 0088 94F84530 ldrb r3, [r4, #69] @ zero_extendqisi2 2959 008c DBB2 uxtb r3, r3 1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2960 .loc 1 1184 46 discriminator 4 view .LVU855 2961 008e 013B subs r3, r3, #1 2962 0090 18BF it ne 2963 0092 0123 movne r3, #1 2964 0094 BFE7 b .L227 2965 .L242: 1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2966 .loc 1 1184 7 discriminator 7 view .LVU856 2967 0096 94F84630 ldrb r3, [r4, #70] @ zero_extendqisi2 2968 009a DBB2 uxtb r3, r3 1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2969 .loc 1 1184 46 discriminator 7 view .LVU857 2970 009c 013B subs r3, r3, #1 2971 009e 18BF it ne 2972 00a0 0123 movne r3, #1 ARM GAS /tmp/cc9HXhVl.s page 132 2973 00a2 B8E7 b .L227 2974 .L231: 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2975 .loc 1 1190 3 discriminator 2 view .LVU858 2976 00a4 0428 cmp r0, #4 2977 00a6 05D0 beq .L243 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2978 .loc 1 1190 3 discriminator 4 view .LVU859 2979 00a8 0828 cmp r0, #8 2980 00aa 07D0 beq .L244 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2981 .loc 1 1190 3 discriminator 7 view .LVU860 2982 00ac 0223 movs r3, #2 2983 00ae 84F84730 strb r3, [r4, #71] 2984 00b2 B7E7 b .L232 2985 .L243: 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2986 .loc 1 1190 3 discriminator 3 view .LVU861 2987 00b4 0223 movs r3, #2 2988 00b6 84F84530 strb r3, [r4, #69] 2989 00ba B3E7 b .L232 2990 .L244: 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2991 .loc 1 1190 3 discriminator 6 view .LVU862 2992 00bc 0223 movs r3, #2 2993 00be 84F84630 strb r3, [r4, #70] 2994 00c2 AFE7 b .L232 2995 .LVL193: 2996 .L235: 1201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 2997 .loc 1 1201 5 is_stmt 1 view .LVU863 1201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 2998 .loc 1 1201 29 is_stmt 0 view .LVU864 2999 00c4 9968 ldr r1, [r3, #8] 1201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 3000 .loc 1 1201 13 view .LVU865 3001 00c6 0A4A ldr r2, .L245+4 3002 00c8 0A40 ands r2, r2, r1 3003 .LVL194: 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3004 .loc 1 1202 5 is_stmt 1 view .LVU866 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3005 .loc 1 1202 8 is_stmt 0 view .LVU867 3006 00ca 062A cmp r2, #6 3007 00cc 0AD0 beq .L238 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3008 .loc 1 1202 9 discriminator 1 view .LVU868 3009 00ce B2F5803F cmp r2, #65536 3010 00d2 09D0 beq .L239 1204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3011 .loc 1 1204 7 is_stmt 1 view .LVU869 3012 00d4 1A68 ldr r2, [r3] 3013 .LVL195: 1204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3014 .loc 1 1204 7 is_stmt 0 view .LVU870 3015 00d6 42F00102 orr r2, r2, #1 3016 00da 1A60 str r2, [r3] ARM GAS /tmp/cc9HXhVl.s page 133 1213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3017 .loc 1 1213 10 view .LVU871 3018 00dc 0020 movs r0, #0 3019 00de 00E0 b .L230 3020 .LVL196: 3021 .L237: 1186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3022 .loc 1 1186 12 view .LVU872 3023 00e0 0120 movs r0, #1 3024 .LVL197: 3025 .L230: 1214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3026 .loc 1 1214 1 view .LVU873 3027 00e2 10BD pop {r4, pc} 3028 .LVL198: 3029 .L238: 1213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3030 .loc 1 1213 10 view .LVU874 3031 00e4 0020 movs r0, #0 3032 00e6 FCE7 b .L230 3033 .L239: 3034 00e8 0020 movs r0, #0 3035 00ea FAE7 b .L230 3036 .L246: 3037 .align 2 3038 .L245: 3039 00ec 002C0140 .word 1073818624 3040 00f0 07000100 .word 65543 3041 .cfi_endproc 3042 .LFE345: 3044 .section .text.HAL_TIMEx_PWMN_Stop,"ax",%progbits 3045 .align 1 3046 .global HAL_TIMEx_PWMN_Stop 3047 .syntax unified 3048 .thumb 3049 .thumb_func 3051 HAL_TIMEx_PWMN_Stop: 3052 .LVL199: 3053 .LFB346: 1228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3054 .loc 1 1228 1 is_stmt 1 view -0 3055 .cfi_startproc 3056 @ args = 0, pretend = 0, frame = 0 3057 @ frame_needed = 0, uses_anonymous_args = 0 1228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3058 .loc 1 1228 1 is_stmt 0 view .LVU876 3059 0000 38B5 push {r3, r4, r5, lr} 3060 .LCFI21: 3061 .cfi_def_cfa_offset 16 3062 .cfi_offset 3, -16 3063 .cfi_offset 4, -12 3064 .cfi_offset 5, -8 3065 .cfi_offset 14, -4 3066 0002 0446 mov r4, r0 3067 0004 0D46 mov r5, r1 1230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3068 .loc 1 1230 3 is_stmt 1 view .LVU877 ARM GAS /tmp/cc9HXhVl.s page 134 1233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3069 .loc 1 1233 3 view .LVU878 3070 0006 0022 movs r2, #0 3071 0008 0068 ldr r0, [r0] 3072 .LVL200: 1233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3073 .loc 1 1233 3 is_stmt 0 view .LVU879 3074 000a FFF7FEFF bl TIM_CCxNChannelCmd 3075 .LVL201: 1236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3076 .loc 1 1236 3 is_stmt 1 view .LVU880 1236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3077 .loc 1 1236 3 view .LVU881 3078 000e 2368 ldr r3, [r4] 3079 0010 196A ldr r1, [r3, #32] 3080 0012 41F21112 movw r2, #4369 3081 0016 1142 tst r1, r2 3082 0018 08D1 bne .L248 1236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3083 .loc 1 1236 3 discriminator 1 view .LVU882 3084 001a 196A ldr r1, [r3, #32] 3085 001c 44F24442 movw r2, #17476 3086 0020 1142 tst r1, r2 3087 0022 03D1 bne .L248 1236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3088 .loc 1 1236 3 discriminator 3 view .LVU883 3089 0024 5A6C ldr r2, [r3, #68] 3090 0026 22F40042 bic r2, r2, #32768 3091 002a 5A64 str r2, [r3, #68] 3092 .L248: 1236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3093 .loc 1 1236 3 discriminator 5 view .LVU884 1239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3094 .loc 1 1239 3 discriminator 5 view .LVU885 1239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3095 .loc 1 1239 3 discriminator 5 view .LVU886 3096 002c 2368 ldr r3, [r4] 3097 002e 196A ldr r1, [r3, #32] 3098 0030 41F21112 movw r2, #4369 3099 0034 1142 tst r1, r2 3100 0036 08D1 bne .L249 1239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3101 .loc 1 1239 3 discriminator 1 view .LVU887 3102 0038 196A ldr r1, [r3, #32] 3103 003a 44F24442 movw r2, #17476 3104 003e 1142 tst r1, r2 3105 0040 03D1 bne .L249 1239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3106 .loc 1 1239 3 discriminator 3 view .LVU888 3107 0042 1A68 ldr r2, [r3] 3108 0044 22F00102 bic r2, r2, #1 3109 0048 1A60 str r2, [r3] 3110 .L249: 1239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3111 .loc 1 1239 3 discriminator 5 view .LVU889 1242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3112 .loc 1 1242 3 discriminator 5 view .LVU890 ARM GAS /tmp/cc9HXhVl.s page 135 3113 004a 25B9 cbnz r5, .L250 1242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3114 .loc 1 1242 3 is_stmt 0 discriminator 1 view .LVU891 3115 004c 0123 movs r3, #1 3116 004e 84F84430 strb r3, [r4, #68] 3117 .L251: 1245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3118 .loc 1 1245 3 is_stmt 1 view .LVU892 1246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3119 .loc 1 1246 1 is_stmt 0 view .LVU893 3120 0052 0020 movs r0, #0 3121 0054 38BD pop {r3, r4, r5, pc} 3122 .LVL202: 3123 .L250: 1242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3124 .loc 1 1242 3 discriminator 2 view .LVU894 3125 0056 042D cmp r5, #4 3126 0058 05D0 beq .L255 1242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3127 .loc 1 1242 3 discriminator 4 view .LVU895 3128 005a 082D cmp r5, #8 3129 005c 07D0 beq .L256 1242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3130 .loc 1 1242 3 discriminator 7 view .LVU896 3131 005e 0123 movs r3, #1 3132 0060 84F84730 strb r3, [r4, #71] 3133 0064 F5E7 b .L251 3134 .L255: 1242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3135 .loc 1 1242 3 discriminator 3 view .LVU897 3136 0066 0123 movs r3, #1 3137 0068 84F84530 strb r3, [r4, #69] 3138 006c F1E7 b .L251 3139 .L256: 1242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3140 .loc 1 1242 3 discriminator 6 view .LVU898 3141 006e 0123 movs r3, #1 3142 0070 84F84630 strb r3, [r4, #70] 3143 0074 EDE7 b .L251 3144 .cfi_endproc 3145 .LFE346: 3147 .section .text.HAL_TIMEx_PWMN_Start_IT,"ax",%progbits 3148 .align 1 3149 .global HAL_TIMEx_PWMN_Start_IT 3150 .syntax unified 3151 .thumb 3152 .thumb_func 3154 HAL_TIMEx_PWMN_Start_IT: 3155 .LVL203: 3156 .LFB347: 1261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 3157 .loc 1 1261 1 is_stmt 1 view -0 3158 .cfi_startproc 3159 @ args = 0, pretend = 0, frame = 0 3160 @ frame_needed = 0, uses_anonymous_args = 0 1261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 3161 .loc 1 1261 1 is_stmt 0 view .LVU900 ARM GAS /tmp/cc9HXhVl.s page 136 3162 0000 10B5 push {r4, lr} 3163 .LCFI22: 3164 .cfi_def_cfa_offset 8 3165 .cfi_offset 4, -8 3166 .cfi_offset 14, -4 3167 0002 0446 mov r4, r0 1262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 3168 .loc 1 1262 3 is_stmt 1 view .LVU901 3169 .LVL204: 1263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3170 .loc 1 1263 3 view .LVU902 1266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3171 .loc 1 1266 3 view .LVU903 1269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3172 .loc 1 1269 3 view .LVU904 1269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3173 .loc 1 1269 46 is_stmt 0 view .LVU905 3174 0004 0846 mov r0, r1 3175 .LVL205: 1269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3176 .loc 1 1269 46 view .LVU906 3177 0006 0029 cmp r1, #0 3178 0008 3ED1 bne .L258 1269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3179 .loc 1 1269 7 discriminator 1 view .LVU907 3180 000a 94F84430 ldrb r3, [r4, #68] @ zero_extendqisi2 3181 000e DBB2 uxtb r3, r3 1269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3182 .loc 1 1269 46 discriminator 1 view .LVU908 3183 0010 013B subs r3, r3, #1 3184 0012 18BF it ne 3185 0014 0123 movne r3, #1 3186 .L259: 1269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3187 .loc 1 1269 6 discriminator 12 view .LVU909 3188 0016 002B cmp r3, #0 3189 0018 40F09C80 bne .L274 1275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3190 .loc 1 1275 3 is_stmt 1 view .LVU910 3191 001c 0028 cmp r0, #0 3192 001e 4CD1 bne .L263 3193 0020 0223 movs r3, #2 3194 0022 84F84430 strb r3, [r4, #68] 1277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3195 .loc 1 1277 3 view .LVU911 3196 .L264: 1282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 3197 .loc 1 1282 7 view .LVU912 3198 0026 2268 ldr r2, [r4] 3199 0028 D368 ldr r3, [r2, #12] 3200 002a 43F00203 orr r3, r3, #2 3201 002e D360 str r3, [r2, #12] 1283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3202 .loc 1 1283 7 view .LVU913 1312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3203 .loc 1 1312 3 view .LVU914 3204 .L271: ARM GAS /tmp/cc9HXhVl.s page 137 1315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3205 .loc 1 1315 5 view .LVU915 3206 0030 2268 ldr r2, [r4] 3207 0032 D368 ldr r3, [r2, #12] 3208 0034 43F08003 orr r3, r3, #128 3209 0038 D360 str r3, [r2, #12] 1318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3210 .loc 1 1318 5 view .LVU916 3211 003a 0422 movs r2, #4 3212 003c 0146 mov r1, r0 3213 .LVL206: 1318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3214 .loc 1 1318 5 is_stmt 0 view .LVU917 3215 003e 2068 ldr r0, [r4] 3216 .LVL207: 1318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3217 .loc 1 1318 5 view .LVU918 3218 0040 FFF7FEFF bl TIM_CCxNChannelCmd 3219 .LVL208: 1321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3220 .loc 1 1321 5 is_stmt 1 view .LVU919 3221 0044 2268 ldr r2, [r4] 3222 0046 536C ldr r3, [r2, #68] 3223 0048 43F40043 orr r3, r3, #32768 3224 004c 5364 str r3, [r2, #68] 1324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3225 .loc 1 1324 5 view .LVU920 1324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3226 .loc 1 1324 9 is_stmt 0 view .LVU921 3227 004e 2368 ldr r3, [r4] 1324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3228 .loc 1 1324 8 view .LVU922 3229 0050 444A ldr r2, .L286 3230 0052 9342 cmp r3, r2 3231 0054 70D0 beq .L272 1324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3232 .loc 1 1324 9 discriminator 1 view .LVU923 3233 0056 B3F1804F cmp r3, #1073741824 3234 005a 6DD0 beq .L272 1324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3235 .loc 1 1324 9 discriminator 2 view .LVU924 3236 005c A2F59432 sub r2, r2, #75776 3237 0060 9342 cmp r3, r2 3238 0062 69D0 beq .L272 1324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3239 .loc 1 1324 9 discriminator 3 view .LVU925 3240 0064 02F58062 add r2, r2, #1024 3241 0068 9342 cmp r3, r2 3242 006a 65D0 beq .L272 1324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3243 .loc 1 1324 9 discriminator 4 view .LVU926 3244 006c 02F59632 add r2, r2, #76800 3245 0070 9342 cmp r3, r2 3246 0072 61D0 beq .L272 1324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3247 .loc 1 1324 9 discriminator 5 view .LVU927 3248 0074 02F54062 add r2, r2, #3072 ARM GAS /tmp/cc9HXhVl.s page 138 3249 0078 9342 cmp r3, r2 3250 007a 5DD0 beq .L272 1334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3251 .loc 1 1334 7 is_stmt 1 view .LVU928 3252 007c 1A68 ldr r2, [r3] 3253 007e 42F00102 orr r2, r2, #1 3254 0082 1A60 str r2, [r3] 3255 0084 0020 movs r0, #0 3256 0086 66E0 b .L262 3257 .LVL209: 3258 .L258: 1269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3259 .loc 1 1269 46 is_stmt 0 discriminator 2 view .LVU929 3260 0088 0429 cmp r1, #4 3261 008a 08D0 beq .L282 1269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3262 .loc 1 1269 46 discriminator 5 view .LVU930 3263 008c 0829 cmp r1, #8 3264 008e 0DD0 beq .L283 1269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3265 .loc 1 1269 7 discriminator 8 view .LVU931 3266 0090 94F84730 ldrb r3, [r4, #71] @ zero_extendqisi2 3267 0094 DBB2 uxtb r3, r3 1269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3268 .loc 1 1269 46 discriminator 8 view .LVU932 3269 0096 013B subs r3, r3, #1 3270 0098 18BF it ne 3271 009a 0123 movne r3, #1 3272 009c BBE7 b .L259 3273 .L282: 1269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3274 .loc 1 1269 7 discriminator 4 view .LVU933 3275 009e 94F84530 ldrb r3, [r4, #69] @ zero_extendqisi2 3276 00a2 DBB2 uxtb r3, r3 1269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3277 .loc 1 1269 46 discriminator 4 view .LVU934 3278 00a4 013B subs r3, r3, #1 3279 00a6 18BF it ne 3280 00a8 0123 movne r3, #1 3281 00aa B4E7 b .L259 3282 .L283: 1269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3283 .loc 1 1269 7 discriminator 7 view .LVU935 3284 00ac 94F84630 ldrb r3, [r4, #70] @ zero_extendqisi2 3285 00b0 DBB2 uxtb r3, r3 1269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3286 .loc 1 1269 46 discriminator 7 view .LVU936 3287 00b2 013B subs r3, r3, #1 3288 00b4 18BF it ne 3289 00b6 0123 movne r3, #1 3290 00b8 ADE7 b .L259 3291 .L263: 1275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3292 .loc 1 1275 3 discriminator 2 view .LVU937 3293 00ba 0428 cmp r0, #4 3294 00bc 24D0 beq .L284 1275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/cc9HXhVl.s page 139 3295 .loc 1 1275 3 discriminator 4 view .LVU938 3296 00be 0828 cmp r0, #8 3297 00c0 2BD0 beq .L285 1275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3298 .loc 1 1275 3 discriminator 7 view .LVU939 3299 00c2 0223 movs r3, #2 3300 00c4 84F84730 strb r3, [r4, #71] 1277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3301 .loc 1 1277 3 is_stmt 1 discriminator 7 view .LVU940 3302 00c8 0C28 cmp r0, #12 3303 00ca 45D8 bhi .L275 3304 00cc 01A3 adr r3, .L270 3305 00ce 53F820F0 ldr pc, [r3, r0, lsl #2] 3306 00d2 00BF .p2align 2 3307 .L270: 3308 00d4 27000000 .word .L264+1 3309 00d8 59010000 .word .L275+1 3310 00dc 59010000 .word .L275+1 3311 00e0 59010000 .word .L275+1 3312 00e4 0F010000 .word .L266+1 3313 00e8 59010000 .word .L275+1 3314 00ec 59010000 .word .L275+1 3315 00f0 59010000 .word .L275+1 3316 00f4 21010000 .word .L268+1 3317 00f8 59010000 .word .L275+1 3318 00fc 59010000 .word .L275+1 3319 0100 59010000 .word .L275+1 3320 0104 2D010000 .word .L269+1 3321 .p2align 1 3322 .L284: 1275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3323 .loc 1 1275 3 is_stmt 0 view .LVU941 3324 0108 0223 movs r3, #2 3325 010a 84F84530 strb r3, [r4, #69] 1277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3326 .loc 1 1277 3 is_stmt 1 view .LVU942 3327 .L266: 1289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 3328 .loc 1 1289 7 view .LVU943 3329 010e 2268 ldr r2, [r4] 3330 0110 D368 ldr r3, [r2, #12] 3331 0112 43F00403 orr r3, r3, #4 3332 0116 D360 str r3, [r2, #12] 1290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3333 .loc 1 1290 7 view .LVU944 1312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3334 .loc 1 1312 3 view .LVU945 3335 0118 8AE7 b .L271 3336 .L285: 1275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3337 .loc 1 1275 3 is_stmt 0 view .LVU946 3338 011a 0223 movs r3, #2 3339 011c 84F84630 strb r3, [r4, #70] 1277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3340 .loc 1 1277 3 is_stmt 1 view .LVU947 3341 .L268: 1296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; ARM GAS /tmp/cc9HXhVl.s page 140 3342 .loc 1 1296 7 view .LVU948 3343 0120 2268 ldr r2, [r4] 3344 0122 D368 ldr r3, [r2, #12] 3345 0124 43F00803 orr r3, r3, #8 3346 0128 D360 str r3, [r2, #12] 1297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3347 .loc 1 1297 7 view .LVU949 1312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3348 .loc 1 1312 3 view .LVU950 3349 012a 81E7 b .L271 3350 .L269: 1303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 3351 .loc 1 1303 7 view .LVU951 3352 012c 2268 ldr r2, [r4] 3353 012e D368 ldr r3, [r2, #12] 3354 0130 43F01003 orr r3, r3, #16 3355 0134 D360 str r3, [r2, #12] 1304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3356 .loc 1 1304 7 view .LVU952 1312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3357 .loc 1 1312 3 view .LVU953 3358 0136 7BE7 b .L271 3359 .LVL210: 3360 .L272: 1326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 3361 .loc 1 1326 7 view .LVU954 1326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 3362 .loc 1 1326 31 is_stmt 0 view .LVU955 3363 0138 9968 ldr r1, [r3, #8] 1326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 3364 .loc 1 1326 15 view .LVU956 3365 013a 0B4A ldr r2, .L286+4 3366 013c 0A40 ands r2, r2, r1 3367 .LVL211: 1327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3368 .loc 1 1327 7 is_stmt 1 view .LVU957 1327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3369 .loc 1 1327 10 is_stmt 0 view .LVU958 3370 013e 062A cmp r2, #6 3371 0140 0CD0 beq .L276 1327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3372 .loc 1 1327 11 discriminator 1 view .LVU959 3373 0142 B2F5803F cmp r2, #65536 3374 0146 0BD0 beq .L277 1329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3375 .loc 1 1329 9 is_stmt 1 view .LVU960 3376 0148 1A68 ldr r2, [r3] 3377 .LVL212: 1329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3378 .loc 1 1329 9 is_stmt 0 view .LVU961 3379 014a 42F00102 orr r2, r2, #1 3380 014e 1A60 str r2, [r3] 3381 0150 0020 movs r0, #0 3382 0152 00E0 b .L262 3383 .LVL213: 3384 .L274: 1271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } ARM GAS /tmp/cc9HXhVl.s page 141 3385 .loc 1 1271 12 view .LVU962 3386 0154 0120 movs r0, #1 3387 .LVL214: 3388 .L262: 1340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3389 .loc 1 1340 1 view .LVU963 3390 0156 10BD pop {r4, pc} 3391 .LVL215: 3392 .L275: 1277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3393 .loc 1 1277 3 view .LVU964 3394 0158 0120 movs r0, #1 3395 .LVL216: 1277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3396 .loc 1 1277 3 view .LVU965 3397 015a FCE7 b .L262 3398 .LVL217: 3399 .L276: 1277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3400 .loc 1 1277 3 view .LVU966 3401 015c 0020 movs r0, #0 3402 015e FAE7 b .L262 3403 .L277: 3404 0160 0020 movs r0, #0 3405 0162 F8E7 b .L262 3406 .L287: 3407 .align 2 3408 .L286: 3409 0164 002C0140 .word 1073818624 3410 0168 07000100 .word 65543 3411 .cfi_endproc 3412 .LFE347: 3414 .section .text.HAL_TIMEx_PWMN_Stop_IT,"ax",%progbits 3415 .align 1 3416 .global HAL_TIMEx_PWMN_Stop_IT 3417 .syntax unified 3418 .thumb 3419 .thumb_func 3421 HAL_TIMEx_PWMN_Stop_IT: 3422 .LVL218: 3423 .LFB348: 1355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 3424 .loc 1 1355 1 is_stmt 1 view -0 3425 .cfi_startproc 3426 @ args = 0, pretend = 0, frame = 0 3427 @ frame_needed = 0, uses_anonymous_args = 0 1355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 3428 .loc 1 1355 1 is_stmt 0 view .LVU968 3429 0000 38B5 push {r3, r4, r5, lr} 3430 .LCFI23: 3431 .cfi_def_cfa_offset 16 3432 .cfi_offset 3, -16 3433 .cfi_offset 4, -12 3434 .cfi_offset 5, -8 3435 .cfi_offset 14, -4 3436 0002 0446 mov r4, r0 3437 0004 0D46 mov r5, r1 ARM GAS /tmp/cc9HXhVl.s page 142 1356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpccer; 3438 .loc 1 1356 3 is_stmt 1 view .LVU969 3439 .LVL219: 1357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3440 .loc 1 1357 3 view .LVU970 1360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3441 .loc 1 1360 3 view .LVU971 1362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3442 .loc 1 1362 3 view .LVU972 3443 0006 0C29 cmp r1, #12 3444 0008 65D8 bhi .L302 3445 000a DFE801F0 tbb [pc, r1] 3446 .L291: 3447 000e 07 .byte (.L294-.L291)/2 3448 000f 64 .byte (.L302-.L291)/2 3449 0010 64 .byte (.L302-.L291)/2 3450 0011 64 .byte (.L302-.L291)/2 3451 0012 3F .byte (.L293-.L291)/2 3452 0013 64 .byte (.L302-.L291)/2 3453 0014 64 .byte (.L302-.L291)/2 3454 0015 64 .byte (.L302-.L291)/2 3455 0016 45 .byte (.L292-.L291)/2 3456 0017 64 .byte (.L302-.L291)/2 3457 0018 64 .byte (.L302-.L291)/2 3458 0019 64 .byte (.L302-.L291)/2 3459 001a 4B .byte (.L290-.L291)/2 3460 001b 00 .p2align 1 3461 .L294: 1367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 3462 .loc 1 1367 7 view .LVU973 3463 001c 0268 ldr r2, [r0] 3464 001e D368 ldr r3, [r2, #12] 3465 0020 23F00203 bic r3, r3, #2 3466 0024 D360 str r3, [r2, #12] 1368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3467 .loc 1 1368 7 view .LVU974 1397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3468 .loc 1 1397 3 view .LVU975 3469 .L295: 1400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3470 .loc 1 1400 5 view .LVU976 3471 0026 0022 movs r2, #0 3472 0028 2946 mov r1, r5 3473 .LVL220: 1400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3474 .loc 1 1400 5 is_stmt 0 view .LVU977 3475 002a 2068 ldr r0, [r4] 3476 .LVL221: 1400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3477 .loc 1 1400 5 view .LVU978 3478 002c FFF7FEFF bl TIM_CCxNChannelCmd 3479 .LVL222: 1403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & (TIM_CCER_CC1NE | TIM_CCER_CC2NE | TIM_CCER_CC3NE | TIM_CCER_CC4NE)) == (uint32 3480 .loc 1 1403 5 is_stmt 1 view .LVU979 1403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & (TIM_CCER_CC1NE | TIM_CCER_CC2NE | TIM_CCER_CC3NE | TIM_CCER_CC4NE)) == (uint32 3481 .loc 1 1403 19 is_stmt 0 view .LVU980 3482 0030 2368 ldr r3, [r4] ARM GAS /tmp/cc9HXhVl.s page 143 1403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & (TIM_CCER_CC1NE | TIM_CCER_CC2NE | TIM_CCER_CC3NE | TIM_CCER_CC4NE)) == (uint32 3483 .loc 1 1403 13 view .LVU981 3484 0032 196A ldr r1, [r3, #32] 3485 .LVL223: 1404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3486 .loc 1 1404 5 is_stmt 1 view .LVU982 1404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3487 .loc 1 1404 8 is_stmt 0 view .LVU983 3488 0034 44F24442 movw r2, #17476 3489 0038 1142 tst r1, r2 3490 003a 03D1 bne .L296 1406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3491 .loc 1 1406 7 is_stmt 1 view .LVU984 3492 003c DA68 ldr r2, [r3, #12] 3493 003e 22F08002 bic r2, r2, #128 3494 0042 DA60 str r2, [r3, #12] 3495 .L296: 1410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3496 .loc 1 1410 5 view .LVU985 1410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3497 .loc 1 1410 5 view .LVU986 3498 0044 2368 ldr r3, [r4] 3499 0046 196A ldr r1, [r3, #32] 3500 .LVL224: 1410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3501 .loc 1 1410 5 is_stmt 0 view .LVU987 3502 0048 41F21112 movw r2, #4369 3503 004c 1142 tst r1, r2 3504 004e 08D1 bne .L297 1410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3505 .loc 1 1410 5 is_stmt 1 discriminator 1 view .LVU988 3506 0050 196A ldr r1, [r3, #32] 3507 0052 44F24442 movw r2, #17476 3508 0056 1142 tst r1, r2 3509 0058 03D1 bne .L297 1410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3510 .loc 1 1410 5 discriminator 3 view .LVU989 3511 005a 5A6C ldr r2, [r3, #68] 3512 005c 22F40042 bic r2, r2, #32768 3513 0060 5A64 str r2, [r3, #68] 3514 .L297: 1410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3515 .loc 1 1410 5 discriminator 5 view .LVU990 1413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3516 .loc 1 1413 5 discriminator 5 view .LVU991 1413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3517 .loc 1 1413 5 discriminator 5 view .LVU992 3518 0062 2368 ldr r3, [r4] 3519 0064 196A ldr r1, [r3, #32] 3520 0066 41F21112 movw r2, #4369 3521 006a 1142 tst r1, r2 3522 006c 08D1 bne .L298 1413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3523 .loc 1 1413 5 discriminator 1 view .LVU993 3524 006e 196A ldr r1, [r3, #32] 3525 0070 44F24442 movw r2, #17476 3526 0074 1142 tst r1, r2 ARM GAS /tmp/cc9HXhVl.s page 144 3527 0076 03D1 bne .L298 1413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3528 .loc 1 1413 5 discriminator 3 view .LVU994 3529 0078 1A68 ldr r2, [r3] 3530 007a 22F00102 bic r2, r2, #1 3531 007e 1A60 str r2, [r3] 3532 .L298: 1413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3533 .loc 1 1413 5 discriminator 5 view .LVU995 1416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3534 .loc 1 1416 5 discriminator 5 view .LVU996 3535 0080 B5B9 cbnz r5, .L299 1416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3536 .loc 1 1416 5 is_stmt 0 discriminator 1 view .LVU997 3537 0082 0123 movs r3, #1 3538 0084 84F84430 strb r3, [r4, #68] 3539 0088 0020 movs r0, #0 3540 008a 25E0 b .L289 3541 .LVL225: 3542 .L293: 1374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 3543 .loc 1 1374 7 is_stmt 1 view .LVU998 3544 008c 0268 ldr r2, [r0] 3545 008e D368 ldr r3, [r2, #12] 3546 0090 23F00403 bic r3, r3, #4 3547 0094 D360 str r3, [r2, #12] 1375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3548 .loc 1 1375 7 view .LVU999 1397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3549 .loc 1 1397 3 view .LVU1000 3550 0096 C6E7 b .L295 3551 .L292: 1381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 3552 .loc 1 1381 7 view .LVU1001 3553 0098 0268 ldr r2, [r0] 3554 009a D368 ldr r3, [r2, #12] 3555 009c 23F00803 bic r3, r3, #8 3556 00a0 D360 str r3, [r2, #12] 1382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3557 .loc 1 1382 7 view .LVU1002 1397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3558 .loc 1 1397 3 view .LVU1003 3559 00a2 C0E7 b .L295 3560 .L290: 1388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 3561 .loc 1 1388 7 view .LVU1004 3562 00a4 0268 ldr r2, [r0] 3563 00a6 D368 ldr r3, [r2, #12] 3564 00a8 23F01003 bic r3, r3, #16 3565 00ac D360 str r3, [r2, #12] 1389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3566 .loc 1 1389 7 view .LVU1005 1397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3567 .loc 1 1397 3 view .LVU1006 3568 00ae BAE7 b .L295 3569 .LVL226: 3570 .L299: ARM GAS /tmp/cc9HXhVl.s page 145 1416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3571 .loc 1 1416 5 is_stmt 0 discriminator 2 view .LVU1007 3572 00b0 042D cmp r5, #4 3573 00b2 06D0 beq .L304 1416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3574 .loc 1 1416 5 discriminator 4 view .LVU1008 3575 00b4 082D cmp r5, #8 3576 00b6 09D0 beq .L305 1416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3577 .loc 1 1416 5 discriminator 7 view .LVU1009 3578 00b8 0123 movs r3, #1 3579 00ba 84F84730 strb r3, [r4, #71] 3580 00be 0020 movs r0, #0 3581 00c0 0AE0 b .L289 3582 .L304: 1416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3583 .loc 1 1416 5 discriminator 3 view .LVU1010 3584 00c2 0123 movs r3, #1 3585 00c4 84F84530 strb r3, [r4, #69] 3586 00c8 0020 movs r0, #0 3587 00ca 05E0 b .L289 3588 .L305: 1416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3589 .loc 1 1416 5 discriminator 6 view .LVU1011 3590 00cc 0123 movs r3, #1 3591 00ce 84F84630 strb r3, [r4, #70] 3592 00d2 0020 movs r0, #0 3593 00d4 00E0 b .L289 3594 .LVL227: 3595 .L302: 1362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3596 .loc 1 1362 3 view .LVU1012 3597 00d6 0120 movs r0, #1 3598 .LVL228: 3599 .L289: 1420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3600 .loc 1 1420 3 is_stmt 1 view .LVU1013 1421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3601 .loc 1 1421 1 is_stmt 0 view .LVU1014 3602 00d8 38BD pop {r3, r4, r5, pc} 1421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3603 .loc 1 1421 1 view .LVU1015 3604 .cfi_endproc 3605 .LFE348: 3607 .section .text.HAL_TIMEx_PWMN_Start_DMA,"ax",%progbits 3608 .align 1 3609 .global HAL_TIMEx_PWMN_Start_DMA 3610 .syntax unified 3611 .thumb 3612 .thumb_func 3614 HAL_TIMEx_PWMN_Start_DMA: 3615 .LVL229: 3616 .LFB349: 1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 3617 .loc 1 1438 1 is_stmt 1 view -0 3618 .cfi_startproc 3619 @ args = 0, pretend = 0, frame = 0 ARM GAS /tmp/cc9HXhVl.s page 146 3620 @ frame_needed = 0, uses_anonymous_args = 0 1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 3621 .loc 1 1438 1 is_stmt 0 view .LVU1017 3622 0000 70B5 push {r4, r5, r6, lr} 3623 .LCFI24: 3624 .cfi_def_cfa_offset 16 3625 .cfi_offset 4, -16 3626 .cfi_offset 5, -12 3627 .cfi_offset 6, -8 3628 .cfi_offset 14, -4 3629 0002 0446 mov r4, r0 3630 0004 1646 mov r6, r2 1439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 3631 .loc 1 1439 3 is_stmt 1 view .LVU1018 3632 .LVL230: 1440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3633 .loc 1 1440 3 view .LVU1019 1443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3634 .loc 1 1443 3 view .LVU1020 1446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3635 .loc 1 1446 3 view .LVU1021 1446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3636 .loc 1 1446 46 is_stmt 0 view .LVU1022 3637 0006 0D46 mov r5, r1 3638 0008 0029 cmp r1, #0 3639 000a 62D1 bne .L307 1446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3640 .loc 1 1446 7 discriminator 1 view .LVU1023 3641 000c 90F84400 ldrb r0, [r0, #68] @ zero_extendqisi2 3642 .LVL231: 1446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3643 .loc 1 1446 7 discriminator 1 view .LVU1024 3644 0010 C0B2 uxtb r0, r0 1446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3645 .loc 1 1446 46 discriminator 1 view .LVU1025 3646 0012 0228 cmp r0, #2 3647 0014 14BF ite ne 3648 0016 0020 movne r0, #0 3649 0018 0120 moveq r0, #1 3650 .L308: 1446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3651 .loc 1 1446 6 discriminator 12 view .LVU1026 3652 001a 0028 cmp r0, #0 3653 001c 40F01481 bne .L328 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3654 .loc 1 1450 8 is_stmt 1 view .LVU1027 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3655 .loc 1 1450 51 is_stmt 0 view .LVU1028 3656 0020 002D cmp r5, #0 3657 0022 72D1 bne .L312 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3658 .loc 1 1450 12 discriminator 1 view .LVU1029 3659 0024 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2 3660 .LVL232: 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3661 .loc 1 1450 12 discriminator 1 view .LVU1030 3662 0028 D2B2 uxtb r2, r2 ARM GAS /tmp/cc9HXhVl.s page 147 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3663 .loc 1 1450 51 discriminator 1 view .LVU1031 3664 002a 012A cmp r2, #1 3665 002c 14BF ite ne 3666 002e 0022 movne r2, #0 3667 0030 0122 moveq r2, #1 3668 .L313: 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3669 .loc 1 1450 11 discriminator 12 view .LVU1032 3670 0032 002A cmp r2, #0 3671 0034 00F00A81 beq .L329 1452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3672 .loc 1 1452 5 is_stmt 1 view .LVU1033 1452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3673 .loc 1 1452 8 is_stmt 0 view .LVU1034 3674 0038 002E cmp r6, #0 3675 003a 00F08280 beq .L342 3676 .L316: 1458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3677 .loc 1 1458 7 is_stmt 1 view .LVU1035 3678 003e 002D cmp r5, #0 3679 0040 40F08480 bne .L317 3680 0044 0222 movs r2, #2 3681 0046 84F84420 strb r2, [r4, #68] 1466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3682 .loc 1 1466 3 view .LVU1036 3683 .L318: 1471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3684 .loc 1 1471 7 view .LVU1037 1471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3685 .loc 1 1471 17 is_stmt 0 view .LVU1038 3686 004a 626A ldr r2, [r4, #36] 1471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3687 .loc 1 1471 52 view .LVU1039 3688 004c 8749 ldr r1, .L349 3689 .LVL233: 1471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3690 .loc 1 1471 52 view .LVU1040 3691 004e D162 str r1, [r2, #44] 1472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3692 .loc 1 1472 7 is_stmt 1 view .LVU1041 1472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3693 .loc 1 1472 17 is_stmt 0 view .LVU1042 3694 0050 626A ldr r2, [r4, #36] 1472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3695 .loc 1 1472 56 view .LVU1043 3696 0052 8749 ldr r1, .L349+4 3697 0054 1163 str r1, [r2, #48] 1475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3698 .loc 1 1475 7 is_stmt 1 view .LVU1044 1475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3699 .loc 1 1475 17 is_stmt 0 view .LVU1045 3700 0056 626A ldr r2, [r4, #36] 1475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3701 .loc 1 1475 53 view .LVU1046 3702 0058 8649 ldr r1, .L349+8 3703 005a 5163 str r1, [r2, #52] ARM GAS /tmp/cc9HXhVl.s page 148 1478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 3704 .loc 1 1478 7 is_stmt 1 view .LVU1047 1478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 3705 .loc 1 1478 88 is_stmt 0 view .LVU1048 3706 005c 2268 ldr r2, [r4] 1478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 3707 .loc 1 1478 11 view .LVU1049 3708 005e 3432 adds r2, r2, #52 3709 0060 3146 mov r1, r6 3710 0062 606A ldr r0, [r4, #36] 3711 0064 FFF7FEFF bl HAL_DMA_Start_IT 3712 .LVL234: 1478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 3713 .loc 1 1478 10 view .LVU1050 3714 0068 0028 cmp r0, #0 3715 006a 40F0F380 bne .L332 1485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 3716 .loc 1 1485 7 is_stmt 1 view .LVU1051 3717 006e 2268 ldr r2, [r4] 3718 0070 D368 ldr r3, [r2, #12] 3719 0072 43F40073 orr r3, r3, #512 3720 0076 D360 str r3, [r2, #12] 1486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3721 .loc 1 1486 7 view .LVU1052 1557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3722 .loc 1 1557 3 view .LVU1053 3723 .L325: 1560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3724 .loc 1 1560 5 view .LVU1054 3725 0078 0422 movs r2, #4 3726 007a 2946 mov r1, r5 3727 007c 2068 ldr r0, [r4] 3728 007e FFF7FEFF bl TIM_CCxNChannelCmd 3729 .LVL235: 1563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3730 .loc 1 1563 5 view .LVU1055 3731 0082 2268 ldr r2, [r4] 3732 0084 536C ldr r3, [r2, #68] 3733 0086 43F40043 orr r3, r3, #32768 3734 008a 5364 str r3, [r2, #68] 1566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3735 .loc 1 1566 5 view .LVU1056 1566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3736 .loc 1 1566 9 is_stmt 0 view .LVU1057 3737 008c 2368 ldr r3, [r4] 1566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3738 .loc 1 1566 8 view .LVU1058 3739 008e 7A4A ldr r2, .L349+12 3740 0090 9342 cmp r3, r2 3741 0092 00F0CB80 beq .L326 1566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3742 .loc 1 1566 9 discriminator 1 view .LVU1059 3743 0096 B3F1804F cmp r3, #1073741824 3744 009a 00F0C780 beq .L326 1566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3745 .loc 1 1566 9 discriminator 2 view .LVU1060 3746 009e A2F59432 sub r2, r2, #75776 ARM GAS /tmp/cc9HXhVl.s page 149 3747 00a2 9342 cmp r3, r2 3748 00a4 00F0C280 beq .L326 1566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3749 .loc 1 1566 9 discriminator 3 view .LVU1061 3750 00a8 02F58062 add r2, r2, #1024 3751 00ac 9342 cmp r3, r2 3752 00ae 00F0BD80 beq .L326 1566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3753 .loc 1 1566 9 discriminator 4 view .LVU1062 3754 00b2 02F59632 add r2, r2, #76800 3755 00b6 9342 cmp r3, r2 3756 00b8 00F0B880 beq .L326 1566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3757 .loc 1 1566 9 discriminator 5 view .LVU1063 3758 00bc 02F54062 add r2, r2, #3072 3759 00c0 9342 cmp r3, r2 3760 00c2 00F0B380 beq .L326 1576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3761 .loc 1 1576 7 is_stmt 1 view .LVU1064 3762 00c6 1A68 ldr r2, [r3] 3763 00c8 42F00102 orr r2, r2, #1 3764 00cc 1A60 str r2, [r3] 3765 00ce 0020 movs r0, #0 3766 00d0 BDE0 b .L311 3767 .LVL236: 3768 .L307: 1446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3769 .loc 1 1446 46 is_stmt 0 discriminator 2 view .LVU1065 3770 00d2 0429 cmp r1, #4 3771 00d4 09D0 beq .L343 1446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3772 .loc 1 1446 46 discriminator 5 view .LVU1066 3773 00d6 0829 cmp r1, #8 3774 00d8 0FD0 beq .L344 1446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3775 .loc 1 1446 7 discriminator 8 view .LVU1067 3776 00da 90F84700 ldrb r0, [r0, #71] @ zero_extendqisi2 3777 .LVL237: 1446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3778 .loc 1 1446 7 discriminator 8 view .LVU1068 3779 00de C0B2 uxtb r0, r0 1446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3780 .loc 1 1446 46 discriminator 8 view .LVU1069 3781 00e0 0228 cmp r0, #2 3782 00e2 14BF ite ne 3783 00e4 0020 movne r0, #0 3784 00e6 0120 moveq r0, #1 3785 00e8 97E7 b .L308 3786 .LVL238: 3787 .L343: 1446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3788 .loc 1 1446 7 discriminator 4 view .LVU1070 3789 00ea 90F84500 ldrb r0, [r0, #69] @ zero_extendqisi2 3790 .LVL239: 1446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3791 .loc 1 1446 7 discriminator 4 view .LVU1071 3792 00ee C0B2 uxtb r0, r0 ARM GAS /tmp/cc9HXhVl.s page 150 1446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3793 .loc 1 1446 46 discriminator 4 view .LVU1072 3794 00f0 0228 cmp r0, #2 3795 00f2 14BF ite ne 3796 00f4 0020 movne r0, #0 3797 00f6 0120 moveq r0, #1 3798 00f8 8FE7 b .L308 3799 .LVL240: 3800 .L344: 1446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3801 .loc 1 1446 7 discriminator 7 view .LVU1073 3802 00fa 90F84600 ldrb r0, [r0, #70] @ zero_extendqisi2 3803 .LVL241: 1446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3804 .loc 1 1446 7 discriminator 7 view .LVU1074 3805 00fe C0B2 uxtb r0, r0 1446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3806 .loc 1 1446 46 discriminator 7 view .LVU1075 3807 0100 0228 cmp r0, #2 3808 0102 14BF ite ne 3809 0104 0020 movne r0, #0 3810 0106 0120 moveq r0, #1 3811 0108 87E7 b .L308 3812 .L312: 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3813 .loc 1 1450 51 discriminator 2 view .LVU1076 3814 010a 042D cmp r5, #4 3815 010c 09D0 beq .L345 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3816 .loc 1 1450 51 discriminator 5 view .LVU1077 3817 010e 082D cmp r5, #8 3818 0110 0FD0 beq .L346 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3819 .loc 1 1450 12 discriminator 8 view .LVU1078 3820 0112 94F84720 ldrb r2, [r4, #71] @ zero_extendqisi2 3821 .LVL242: 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3822 .loc 1 1450 12 discriminator 8 view .LVU1079 3823 0116 D2B2 uxtb r2, r2 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3824 .loc 1 1450 51 discriminator 8 view .LVU1080 3825 0118 012A cmp r2, #1 3826 011a 14BF ite ne 3827 011c 0022 movne r2, #0 3828 011e 0122 moveq r2, #1 3829 0120 87E7 b .L313 3830 .LVL243: 3831 .L345: 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3832 .loc 1 1450 12 discriminator 4 view .LVU1081 3833 0122 94F84520 ldrb r2, [r4, #69] @ zero_extendqisi2 3834 .LVL244: 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3835 .loc 1 1450 12 discriminator 4 view .LVU1082 3836 0126 D2B2 uxtb r2, r2 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3837 .loc 1 1450 51 discriminator 4 view .LVU1083 ARM GAS /tmp/cc9HXhVl.s page 151 3838 0128 012A cmp r2, #1 3839 012a 14BF ite ne 3840 012c 0022 movne r2, #0 3841 012e 0122 moveq r2, #1 3842 0130 7FE7 b .L313 3843 .LVL245: 3844 .L346: 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3845 .loc 1 1450 12 discriminator 7 view .LVU1084 3846 0132 94F84620 ldrb r2, [r4, #70] @ zero_extendqisi2 3847 .LVL246: 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3848 .loc 1 1450 12 discriminator 7 view .LVU1085 3849 0136 D2B2 uxtb r2, r2 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3850 .loc 1 1450 51 discriminator 7 view .LVU1086 3851 0138 012A cmp r2, #1 3852 013a 14BF ite ne 3853 013c 0022 movne r2, #0 3854 013e 0122 moveq r2, #1 3855 0140 77E7 b .L313 3856 .L342: 1452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3857 .loc 1 1452 25 discriminator 1 view .LVU1087 3858 0142 002B cmp r3, #0 3859 0144 3FF47BAF beq .L316 1454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3860 .loc 1 1454 14 view .LVU1088 3861 0148 0120 movs r0, #1 3862 014a 80E0 b .L311 3863 .L317: 1458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3864 .loc 1 1458 7 discriminator 2 view .LVU1089 3865 014c 042D cmp r5, #4 3866 014e 23D0 beq .L347 1458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3867 .loc 1 1458 7 discriminator 4 view .LVU1090 3868 0150 082D cmp r5, #8 3869 0152 3BD0 beq .L348 1458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3870 .loc 1 1458 7 discriminator 7 view .LVU1091 3871 0154 0222 movs r2, #2 3872 0156 84F84720 strb r2, [r4, #71] 1466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3873 .loc 1 1466 3 is_stmt 1 discriminator 7 view .LVU1092 3874 015a 0C2D cmp r5, #12 3875 015c 78D8 bhi .L331 3876 015e 01A2 adr r2, .L324 3877 0160 52F825F0 ldr pc, [r2, r5, lsl #2] 3878 .p2align 2 3879 .L324: 3880 0164 4B000000 .word .L318+1 3881 0168 51020000 .word .L331+1 3882 016c 51020000 .word .L331+1 3883 0170 51020000 .word .L331+1 3884 0174 9F010000 .word .L320+1 3885 0178 51020000 .word .L331+1 ARM GAS /tmp/cc9HXhVl.s page 152 3886 017c 51020000 .word .L331+1 3887 0180 51020000 .word .L331+1 3888 0184 D3010000 .word .L322+1 3889 0188 51020000 .word .L331+1 3890 018c 51020000 .word .L331+1 3891 0190 51020000 .word .L331+1 3892 0194 01020000 .word .L323+1 3893 .p2align 1 3894 .L347: 1458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3895 .loc 1 1458 7 is_stmt 0 view .LVU1093 3896 0198 0222 movs r2, #2 3897 019a 84F84520 strb r2, [r4, #69] 1466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3898 .loc 1 1466 3 is_stmt 1 view .LVU1094 3899 .L320: 1492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3900 .loc 1 1492 7 view .LVU1095 1492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3901 .loc 1 1492 17 is_stmt 0 view .LVU1096 3902 019e A26A ldr r2, [r4, #40] 1492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3903 .loc 1 1492 52 view .LVU1097 3904 01a0 3249 ldr r1, .L349 3905 .LVL247: 1492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3906 .loc 1 1492 52 view .LVU1098 3907 01a2 D162 str r1, [r2, #44] 1493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3908 .loc 1 1493 7 is_stmt 1 view .LVU1099 1493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3909 .loc 1 1493 17 is_stmt 0 view .LVU1100 3910 01a4 A26A ldr r2, [r4, #40] 1493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3911 .loc 1 1493 56 view .LVU1101 3912 01a6 3249 ldr r1, .L349+4 3913 01a8 1163 str r1, [r2, #48] 1496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3914 .loc 1 1496 7 is_stmt 1 view .LVU1102 1496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3915 .loc 1 1496 17 is_stmt 0 view .LVU1103 3916 01aa A26A ldr r2, [r4, #40] 1496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3917 .loc 1 1496 53 view .LVU1104 3918 01ac 3149 ldr r1, .L349+8 3919 01ae 5163 str r1, [r2, #52] 1499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 3920 .loc 1 1499 7 is_stmt 1 view .LVU1105 1499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 3921 .loc 1 1499 88 is_stmt 0 view .LVU1106 3922 01b0 2268 ldr r2, [r4] 1499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 3923 .loc 1 1499 11 view .LVU1107 3924 01b2 3832 adds r2, r2, #56 3925 01b4 3146 mov r1, r6 3926 01b6 A06A ldr r0, [r4, #40] 3927 01b8 FFF7FEFF bl HAL_DMA_Start_IT ARM GAS /tmp/cc9HXhVl.s page 153 3928 .LVL248: 1499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 3929 .loc 1 1499 10 view .LVU1108 3930 01bc 0028 cmp r0, #0 3931 01be 4BD1 bne .L333 1506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 3932 .loc 1 1506 7 is_stmt 1 view .LVU1109 3933 01c0 2268 ldr r2, [r4] 3934 01c2 D368 ldr r3, [r2, #12] 3935 01c4 43F48063 orr r3, r3, #1024 3936 01c8 D360 str r3, [r2, #12] 1507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3937 .loc 1 1507 7 view .LVU1110 1557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3938 .loc 1 1557 3 view .LVU1111 3939 01ca 55E7 b .L325 3940 .LVL249: 3941 .L348: 1458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3942 .loc 1 1458 7 is_stmt 0 view .LVU1112 3943 01cc 0222 movs r2, #2 3944 01ce 84F84620 strb r2, [r4, #70] 1466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3945 .loc 1 1466 3 is_stmt 1 view .LVU1113 3946 .L322: 1513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3947 .loc 1 1513 7 view .LVU1114 1513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3948 .loc 1 1513 17 is_stmt 0 view .LVU1115 3949 01d2 E26A ldr r2, [r4, #44] 1513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3950 .loc 1 1513 52 view .LVU1116 3951 01d4 2549 ldr r1, .L349 3952 .LVL250: 1513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3953 .loc 1 1513 52 view .LVU1117 3954 01d6 D162 str r1, [r2, #44] 1514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3955 .loc 1 1514 7 is_stmt 1 view .LVU1118 1514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3956 .loc 1 1514 17 is_stmt 0 view .LVU1119 3957 01d8 E26A ldr r2, [r4, #44] 1514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3958 .loc 1 1514 56 view .LVU1120 3959 01da 2549 ldr r1, .L349+4 3960 01dc 1163 str r1, [r2, #48] 1517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3961 .loc 1 1517 7 is_stmt 1 view .LVU1121 1517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3962 .loc 1 1517 17 is_stmt 0 view .LVU1122 3963 01de E26A ldr r2, [r4, #44] 1517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3964 .loc 1 1517 53 view .LVU1123 3965 01e0 2449 ldr r1, .L349+8 3966 01e2 5163 str r1, [r2, #52] 1520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 3967 .loc 1 1520 7 is_stmt 1 view .LVU1124 ARM GAS /tmp/cc9HXhVl.s page 154 1520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 3968 .loc 1 1520 88 is_stmt 0 view .LVU1125 3969 01e4 2268 ldr r2, [r4] 1520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 3970 .loc 1 1520 11 view .LVU1126 3971 01e6 3C32 adds r2, r2, #60 3972 01e8 3146 mov r1, r6 3973 01ea E06A ldr r0, [r4, #44] 3974 01ec FFF7FEFF bl HAL_DMA_Start_IT 3975 .LVL251: 1520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 3976 .loc 1 1520 10 view .LVU1127 3977 01f0 0028 cmp r0, #0 3978 01f2 33D1 bne .L334 1527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 3979 .loc 1 1527 7 is_stmt 1 view .LVU1128 3980 01f4 2268 ldr r2, [r4] 3981 01f6 D368 ldr r3, [r2, #12] 3982 01f8 43F40063 orr r3, r3, #2048 3983 01fc D360 str r3, [r2, #12] 1528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3984 .loc 1 1528 7 view .LVU1129 1557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3985 .loc 1 1557 3 view .LVU1130 3986 01fe 3BE7 b .L325 3987 .LVL252: 3988 .L323: 1534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3989 .loc 1 1534 7 view .LVU1131 1534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3990 .loc 1 1534 17 is_stmt 0 view .LVU1132 3991 0200 226B ldr r2, [r4, #48] 1534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3992 .loc 1 1534 52 view .LVU1133 3993 0202 1A49 ldr r1, .L349 3994 .LVL253: 1534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3995 .loc 1 1534 52 view .LVU1134 3996 0204 D162 str r1, [r2, #44] 1535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3997 .loc 1 1535 7 is_stmt 1 view .LVU1135 1535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3998 .loc 1 1535 17 is_stmt 0 view .LVU1136 3999 0206 226B ldr r2, [r4, #48] 1535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4000 .loc 1 1535 56 view .LVU1137 4001 0208 1949 ldr r1, .L349+4 4002 020a 1163 str r1, [r2, #48] 1538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4003 .loc 1 1538 7 is_stmt 1 view .LVU1138 1538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4004 .loc 1 1538 17 is_stmt 0 view .LVU1139 4005 020c 226B ldr r2, [r4, #48] 1538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4006 .loc 1 1538 53 view .LVU1140 4007 020e 1949 ldr r1, .L349+8 4008 0210 5163 str r1, [r2, #52] ARM GAS /tmp/cc9HXhVl.s page 155 1541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 4009 .loc 1 1541 7 is_stmt 1 view .LVU1141 1541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 4010 .loc 1 1541 88 is_stmt 0 view .LVU1142 4011 0212 2268 ldr r2, [r4] 1541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 4012 .loc 1 1541 11 view .LVU1143 4013 0214 4032 adds r2, r2, #64 4014 0216 3146 mov r1, r6 4015 0218 206B ldr r0, [r4, #48] 4016 021a FFF7FEFF bl HAL_DMA_Start_IT 4017 .LVL254: 1541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 4018 .loc 1 1541 10 view .LVU1144 4019 021e F8B9 cbnz r0, .L335 1548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 4020 .loc 1 1548 7 is_stmt 1 view .LVU1145 4021 0220 2268 ldr r2, [r4] 4022 0222 D368 ldr r3, [r2, #12] 4023 0224 43F48053 orr r3, r3, #4096 4024 0228 D360 str r3, [r2, #12] 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4025 .loc 1 1549 7 view .LVU1146 1557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4026 .loc 1 1557 3 view .LVU1147 4027 022a 25E7 b .L325 4028 .L326: 1568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 4029 .loc 1 1568 7 view .LVU1148 1568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 4030 .loc 1 1568 31 is_stmt 0 view .LVU1149 4031 022c 9968 ldr r1, [r3, #8] 1568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 4032 .loc 1 1568 15 view .LVU1150 4033 022e 134A ldr r2, .L349+16 4034 0230 0A40 ands r2, r2, r1 4035 .LVL255: 1569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4036 .loc 1 1569 7 is_stmt 1 view .LVU1151 1569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4037 .loc 1 1569 10 is_stmt 0 view .LVU1152 4038 0232 062A cmp r2, #6 4039 0234 16D0 beq .L336 1569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4040 .loc 1 1569 11 discriminator 1 view .LVU1153 4041 0236 B2F5803F cmp r2, #65536 4042 023a 15D0 beq .L337 1571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4043 .loc 1 1571 9 is_stmt 1 view .LVU1154 4044 023c 1A68 ldr r2, [r3] 4045 .LVL256: 1571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4046 .loc 1 1571 9 is_stmt 0 view .LVU1155 4047 023e 42F00102 orr r2, r2, #1 4048 0242 1A60 str r2, [r3] 4049 0244 0020 movs r0, #0 4050 0246 02E0 b .L311 ARM GAS /tmp/cc9HXhVl.s page 156 4051 .LVL257: 4052 .L328: 1448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4053 .loc 1 1448 12 view .LVU1156 4054 0248 0220 movs r0, #2 4055 024a 00E0 b .L311 4056 .LVL258: 4057 .L329: 1463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4058 .loc 1 1463 12 view .LVU1157 4059 024c 0120 movs r0, #1 4060 .LVL259: 4061 .L311: 1582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4062 .loc 1 1582 1 view .LVU1158 4063 024e 70BD pop {r4, r5, r6, pc} 4064 .LVL260: 4065 .L331: 1466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4066 .loc 1 1466 3 view .LVU1159 4067 0250 0120 movs r0, #1 4068 0252 FCE7 b .L311 4069 .LVL261: 4070 .L332: 1482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4071 .loc 1 1482 16 view .LVU1160 4072 0254 0120 movs r0, #1 4073 0256 FAE7 b .L311 4074 .L333: 1503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4075 .loc 1 1503 16 view .LVU1161 4076 0258 0120 movs r0, #1 4077 025a F8E7 b .L311 4078 .L334: 1524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4079 .loc 1 1524 16 view .LVU1162 4080 025c 0120 movs r0, #1 4081 025e F6E7 b .L311 4082 .L335: 1545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4083 .loc 1 1545 16 view .LVU1163 4084 0260 0120 movs r0, #1 4085 0262 F4E7 b .L311 4086 .LVL262: 4087 .L336: 1545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4088 .loc 1 1545 16 view .LVU1164 4089 0264 0020 movs r0, #0 4090 0266 F2E7 b .L311 4091 .L337: 4092 0268 0020 movs r0, #0 4093 026a F0E7 b .L311 4094 .L350: 4095 .align 2 4096 .L349: 4097 026c 00000000 .word TIM_DMADelayPulseNCplt 4098 0270 00000000 .word TIM_DMADelayPulseHalfCplt ARM GAS /tmp/cc9HXhVl.s page 157 4099 0274 00000000 .word TIM_DMAErrorCCxN 4100 0278 002C0140 .word 1073818624 4101 027c 07000100 .word 65543 4102 .cfi_endproc 4103 .LFE349: 4105 .section .text.HAL_TIMEx_PWMN_Stop_DMA,"ax",%progbits 4106 .align 1 4107 .global HAL_TIMEx_PWMN_Stop_DMA 4108 .syntax unified 4109 .thumb 4110 .thumb_func 4112 HAL_TIMEx_PWMN_Stop_DMA: 4113 .LVL263: 4114 .LFB350: 1597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 4115 .loc 1 1597 1 is_stmt 1 view -0 4116 .cfi_startproc 4117 @ args = 0, pretend = 0, frame = 0 4118 @ frame_needed = 0, uses_anonymous_args = 0 1597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 4119 .loc 1 1597 1 is_stmt 0 view .LVU1166 4120 0000 38B5 push {r3, r4, r5, lr} 4121 .LCFI25: 4122 .cfi_def_cfa_offset 16 4123 .cfi_offset 3, -16 4124 .cfi_offset 4, -12 4125 .cfi_offset 5, -8 4126 .cfi_offset 14, -4 4127 0002 0446 mov r4, r0 4128 0004 0D46 mov r5, r1 1598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4129 .loc 1 1598 3 is_stmt 1 view .LVU1167 4130 .LVL264: 1601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4131 .loc 1 1601 3 view .LVU1168 1603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4132 .loc 1 1603 3 view .LVU1169 4133 0006 0C29 cmp r1, #12 4134 0008 67D8 bhi .L364 4135 000a DFE801F0 tbb [pc, r1] 4136 .L354: 4137 000e 07 .byte (.L357-.L354)/2 4138 000f 66 .byte (.L364-.L354)/2 4139 0010 66 .byte (.L364-.L354)/2 4140 0011 66 .byte (.L364-.L354)/2 4141 0012 38 .byte (.L356-.L354)/2 4142 0013 66 .byte (.L364-.L354)/2 4143 0014 66 .byte (.L364-.L354)/2 4144 0015 66 .byte (.L364-.L354)/2 4145 0016 41 .byte (.L355-.L354)/2 4146 0017 66 .byte (.L364-.L354)/2 4147 0018 66 .byte (.L364-.L354)/2 4148 0019 66 .byte (.L364-.L354)/2 4149 001a 4A .byte (.L353-.L354)/2 4150 001b 00 .p2align 1 4151 .L357: 1608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); ARM GAS /tmp/cc9HXhVl.s page 158 4152 .loc 1 1608 7 view .LVU1170 4153 001c 0268 ldr r2, [r0] 4154 001e D368 ldr r3, [r2, #12] 4155 0020 23F40073 bic r3, r3, #512 4156 0024 D360 str r3, [r2, #12] 1609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 4157 .loc 1 1609 7 view .LVU1171 1609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 4158 .loc 1 1609 13 is_stmt 0 view .LVU1172 4159 0026 406A ldr r0, [r0, #36] 4160 .LVL265: 1609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 4161 .loc 1 1609 13 view .LVU1173 4162 0028 FFF7FEFF bl HAL_DMA_Abort_IT 4163 .LVL266: 1610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4164 .loc 1 1610 7 is_stmt 1 view .LVU1174 1642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4165 .loc 1 1642 3 view .LVU1175 4166 .L358: 1645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4167 .loc 1 1645 5 view .LVU1176 4168 002c 0022 movs r2, #0 4169 002e 2946 mov r1, r5 4170 0030 2068 ldr r0, [r4] 4171 0032 FFF7FEFF bl TIM_CCxNChannelCmd 4172 .LVL267: 1648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4173 .loc 1 1648 5 view .LVU1177 1648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4174 .loc 1 1648 5 view .LVU1178 4175 0036 2368 ldr r3, [r4] 4176 0038 196A ldr r1, [r3, #32] 4177 003a 41F21112 movw r2, #4369 4178 003e 1142 tst r1, r2 4179 0040 08D1 bne .L359 1648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4180 .loc 1 1648 5 discriminator 1 view .LVU1179 4181 0042 196A ldr r1, [r3, #32] 4182 0044 44F24442 movw r2, #17476 4183 0048 1142 tst r1, r2 4184 004a 03D1 bne .L359 1648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4185 .loc 1 1648 5 discriminator 3 view .LVU1180 4186 004c 5A6C ldr r2, [r3, #68] 4187 004e 22F40042 bic r2, r2, #32768 4188 0052 5A64 str r2, [r3, #68] 4189 .L359: 1648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4190 .loc 1 1648 5 discriminator 5 view .LVU1181 1651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4191 .loc 1 1651 5 discriminator 5 view .LVU1182 1651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4192 .loc 1 1651 5 discriminator 5 view .LVU1183 4193 0054 2368 ldr r3, [r4] 4194 0056 196A ldr r1, [r3, #32] 4195 0058 41F21112 movw r2, #4369 ARM GAS /tmp/cc9HXhVl.s page 159 4196 005c 1142 tst r1, r2 4197 005e 08D1 bne .L360 1651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4198 .loc 1 1651 5 discriminator 1 view .LVU1184 4199 0060 196A ldr r1, [r3, #32] 4200 0062 44F24442 movw r2, #17476 4201 0066 1142 tst r1, r2 4202 0068 03D1 bne .L360 1651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4203 .loc 1 1651 5 discriminator 3 view .LVU1185 4204 006a 1A68 ldr r2, [r3] 4205 006c 22F00102 bic r2, r2, #1 4206 0070 1A60 str r2, [r3] 4207 .L360: 1651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4208 .loc 1 1651 5 discriminator 5 view .LVU1186 1654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4209 .loc 1 1654 5 discriminator 5 view .LVU1187 4210 0072 FDB9 cbnz r5, .L361 1654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4211 .loc 1 1654 5 is_stmt 0 discriminator 1 view .LVU1188 4212 0074 0123 movs r3, #1 4213 0076 84F84430 strb r3, [r4, #68] 4214 007a 0020 movs r0, #0 4215 007c 2EE0 b .L352 4216 .LVL268: 4217 .L356: 1616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 4218 .loc 1 1616 7 is_stmt 1 view .LVU1189 4219 007e 0268 ldr r2, [r0] 4220 0080 D368 ldr r3, [r2, #12] 4221 0082 23F48063 bic r3, r3, #1024 4222 0086 D360 str r3, [r2, #12] 1617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 4223 .loc 1 1617 7 view .LVU1190 1617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 4224 .loc 1 1617 13 is_stmt 0 view .LVU1191 4225 0088 806A ldr r0, [r0, #40] 4226 .LVL269: 1617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 4227 .loc 1 1617 13 view .LVU1192 4228 008a FFF7FEFF bl HAL_DMA_Abort_IT 4229 .LVL270: 1618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4230 .loc 1 1618 7 is_stmt 1 view .LVU1193 1642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4231 .loc 1 1642 3 view .LVU1194 4232 008e CDE7 b .L358 4233 .LVL271: 4234 .L355: 1624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 4235 .loc 1 1624 7 view .LVU1195 4236 0090 0268 ldr r2, [r0] 4237 0092 D368 ldr r3, [r2, #12] 4238 0094 23F40063 bic r3, r3, #2048 4239 0098 D360 str r3, [r2, #12] 1625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; ARM GAS /tmp/cc9HXhVl.s page 160 4240 .loc 1 1625 7 view .LVU1196 1625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 4241 .loc 1 1625 13 is_stmt 0 view .LVU1197 4242 009a C06A ldr r0, [r0, #44] 4243 .LVL272: 1625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 4244 .loc 1 1625 13 view .LVU1198 4245 009c FFF7FEFF bl HAL_DMA_Abort_IT 4246 .LVL273: 1626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4247 .loc 1 1626 7 is_stmt 1 view .LVU1199 1642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4248 .loc 1 1642 3 view .LVU1200 4249 00a0 C4E7 b .L358 4250 .LVL274: 4251 .L353: 1632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 4252 .loc 1 1632 7 view .LVU1201 4253 00a2 0268 ldr r2, [r0] 4254 00a4 D368 ldr r3, [r2, #12] 4255 00a6 23F48053 bic r3, r3, #4096 4256 00aa D360 str r3, [r2, #12] 1633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 4257 .loc 1 1633 7 view .LVU1202 1633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 4258 .loc 1 1633 13 is_stmt 0 view .LVU1203 4259 00ac 006B ldr r0, [r0, #48] 4260 .LVL275: 1633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 4261 .loc 1 1633 13 view .LVU1204 4262 00ae FFF7FEFF bl HAL_DMA_Abort_IT 4263 .LVL276: 1634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4264 .loc 1 1634 7 is_stmt 1 view .LVU1205 1642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4265 .loc 1 1642 3 view .LVU1206 4266 00b2 BBE7 b .L358 4267 .L361: 1654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4268 .loc 1 1654 5 is_stmt 0 discriminator 2 view .LVU1207 4269 00b4 042D cmp r5, #4 4270 00b6 06D0 beq .L366 1654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4271 .loc 1 1654 5 discriminator 4 view .LVU1208 4272 00b8 082D cmp r5, #8 4273 00ba 09D0 beq .L367 1654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4274 .loc 1 1654 5 discriminator 7 view .LVU1209 4275 00bc 0123 movs r3, #1 4276 00be 84F84730 strb r3, [r4, #71] 4277 00c2 0020 movs r0, #0 4278 00c4 0AE0 b .L352 4279 .L366: 1654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4280 .loc 1 1654 5 discriminator 3 view .LVU1210 4281 00c6 0123 movs r3, #1 4282 00c8 84F84530 strb r3, [r4, #69] ARM GAS /tmp/cc9HXhVl.s page 161 4283 00cc 0020 movs r0, #0 4284 00ce 05E0 b .L352 4285 .L367: 1654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4286 .loc 1 1654 5 discriminator 6 view .LVU1211 4287 00d0 0123 movs r3, #1 4288 00d2 84F84630 strb r3, [r4, #70] 4289 00d6 0020 movs r0, #0 4290 00d8 00E0 b .L352 4291 .LVL277: 4292 .L364: 1603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4293 .loc 1 1603 3 view .LVU1212 4294 00da 0120 movs r0, #1 4295 .LVL278: 4296 .L352: 1658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4297 .loc 1 1658 3 is_stmt 1 view .LVU1213 1659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4298 .loc 1 1659 1 is_stmt 0 view .LVU1214 4299 00dc 38BD pop {r3, r4, r5, pc} 1659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4300 .loc 1 1659 1 view .LVU1215 4301 .cfi_endproc 4302 .LFE350: 4304 .section .text.HAL_TIMEx_OnePulseN_Start,"ax",%progbits 4305 .align 1 4306 .global HAL_TIMEx_OnePulseN_Start 4307 .syntax unified 4308 .thumb 4309 .thumb_func 4311 HAL_TIMEx_OnePulseN_Start: 4312 .LVL279: 4313 .LFB351: 1696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1; 4314 .loc 1 1696 1 is_stmt 1 view -0 4315 .cfi_startproc 4316 @ args = 0, pretend = 0, frame = 0 4317 @ frame_needed = 0, uses_anonymous_args = 0 1696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1; 4318 .loc 1 1696 1 is_stmt 0 view .LVU1217 4319 0000 38B5 push {r3, r4, r5, lr} 4320 .LCFI26: 4321 .cfi_def_cfa_offset 16 4322 .cfi_offset 3, -16 4323 .cfi_offset 4, -12 4324 .cfi_offset 5, -8 4325 .cfi_offset 14, -4 4326 0002 0446 mov r4, r0 1697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 4327 .loc 1 1697 3 is_stmt 1 view .LVU1218 1697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 4328 .loc 1 1697 77 is_stmt 0 view .LVU1219 4329 0004 8E46 mov lr, r1 4330 0006 C1B9 cbnz r1, .L371 4331 0008 0425 movs r5, #4 4332 .L369: ARM GAS /tmp/cc9HXhVl.s page 162 4333 .LVL280: 1698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 4334 .loc 1 1698 3 is_stmt 1 discriminator 4 view .LVU1220 1698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 4335 .loc 1 1698 31 is_stmt 0 discriminator 4 view .LVU1221 4336 000a 94F83E00 ldrb r0, [r4, #62] @ zero_extendqisi2 4337 .LVL281: 1698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 4338 .loc 1 1698 31 discriminator 4 view .LVU1222 4339 000e C0B2 uxtb r0, r0 4340 .LVL282: 1699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 4341 .loc 1 1699 3 is_stmt 1 discriminator 4 view .LVU1223 1699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 4342 .loc 1 1699 31 is_stmt 0 discriminator 4 view .LVU1224 4343 0010 94F83F30 ldrb r3, [r4, #63] @ zero_extendqisi2 4344 0014 DBB2 uxtb r3, r3 4345 .LVL283: 1700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 4346 .loc 1 1700 3 is_stmt 1 discriminator 4 view .LVU1225 1700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 4347 .loc 1 1700 31 is_stmt 0 discriminator 4 view .LVU1226 4348 0016 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2 4349 001a D2B2 uxtb r2, r2 4350 .LVL284: 1701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4351 .loc 1 1701 3 is_stmt 1 discriminator 4 view .LVU1227 1701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4352 .loc 1 1701 31 is_stmt 0 discriminator 4 view .LVU1228 4353 001c 94F845C0 ldrb ip, [r4, #69] @ zero_extendqisi2 4354 0020 5FFA8CFC uxtb ip, ip 4355 .LVL285: 1704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4356 .loc 1 1704 3 is_stmt 1 discriminator 4 view .LVU1229 1707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 4357 .loc 1 1707 3 discriminator 4 view .LVU1230 1707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 4358 .loc 1 1707 6 is_stmt 0 discriminator 4 view .LVU1231 4359 0024 0128 cmp r0, #1 4360 0026 24D1 bne .L372 1708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 4361 .loc 1 1708 7 view .LVU1232 4362 0028 012B cmp r3, #1 4363 002a 23D1 bne .L370 1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 4364 .loc 1 1709 7 view .LVU1233 4365 002c 012A cmp r2, #1 4366 002e 22D1 bne .L373 1710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4367 .loc 1 1710 7 view .LVU1234 4368 0030 BCF1010F cmp ip, #1 4369 0034 03D0 beq .L376 1712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4370 .loc 1 1712 12 view .LVU1235 4371 0036 1046 mov r0, r2 4372 .LVL286: 1712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } ARM GAS /tmp/cc9HXhVl.s page 163 4373 .loc 1 1712 12 view .LVU1236 4374 0038 1CE0 b .L370 4375 .LVL287: 4376 .L371: 1697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 4377 .loc 1 1697 77 view .LVU1237 4378 003a 0025 movs r5, #0 4379 003c E5E7 b .L369 4380 .LVL288: 4381 .L376: 1716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 4382 .loc 1 1716 3 is_stmt 1 view .LVU1238 4383 003e 0223 movs r3, #2 4384 .LVL289: 1716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 4385 .loc 1 1716 3 is_stmt 0 view .LVU1239 4386 0040 84F83E30 strb r3, [r4, #62] 1717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 4387 .loc 1 1717 3 is_stmt 1 view .LVU1240 4388 0044 84F83F30 strb r3, [r4, #63] 1718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 4389 .loc 1 1718 3 view .LVU1241 4390 0048 84F84430 strb r3, [r4, #68] 1719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4391 .loc 1 1719 3 view .LVU1242 4392 004c 84F84530 strb r3, [r4, #69] 1722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE); 4393 .loc 1 1722 3 view .LVU1243 4394 0050 0422 movs r2, #4 4395 .LVL290: 1722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE); 4396 .loc 1 1722 3 is_stmt 0 view .LVU1244 4397 0052 7146 mov r1, lr 4398 .LVL291: 1722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE); 4399 .loc 1 1722 3 view .LVU1245 4400 0054 2068 ldr r0, [r4] 4401 .LVL292: 1722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE); 4402 .loc 1 1722 3 view .LVU1246 4403 0056 FFF7FEFF bl TIM_CCxNChannelCmd 4404 .LVL293: 1723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4405 .loc 1 1723 3 is_stmt 1 view .LVU1247 4406 005a 0122 movs r2, #1 4407 005c 2946 mov r1, r5 4408 005e 2068 ldr r0, [r4] 4409 0060 FFF7FEFF bl TIM_CCxChannelCmd 4410 .LVL294: 1726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4411 .loc 1 1726 3 view .LVU1248 4412 0064 2268 ldr r2, [r4] 4413 0066 536C ldr r3, [r2, #68] 4414 0068 43F40043 orr r3, r3, #32768 4415 006c 5364 str r3, [r2, #68] 1729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4416 .loc 1 1729 3 view .LVU1249 ARM GAS /tmp/cc9HXhVl.s page 164 1729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4417 .loc 1 1729 10 is_stmt 0 view .LVU1250 4418 006e 0020 movs r0, #0 4419 0070 00E0 b .L370 4420 .LVL295: 4421 .L372: 1712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4422 .loc 1 1712 12 view .LVU1251 4423 0072 0120 movs r0, #1 4424 .LVL296: 4425 .L370: 1730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4426 .loc 1 1730 1 view .LVU1252 4427 0074 38BD pop {r3, r4, r5, pc} 4428 .LVL297: 4429 .L373: 1712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4430 .loc 1 1712 12 view .LVU1253 4431 0076 1846 mov r0, r3 4432 .LVL298: 1712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4433 .loc 1 1712 12 view .LVU1254 4434 0078 FCE7 b .L370 4435 .cfi_endproc 4436 .LFE351: 4438 .section .text.HAL_TIMEx_OnePulseN_Stop,"ax",%progbits 4439 .align 1 4440 .global HAL_TIMEx_OnePulseN_Stop 4441 .syntax unified 4442 .thumb 4443 .thumb_func 4445 HAL_TIMEx_OnePulseN_Stop: 4446 .LVL299: 4447 .LFB352: 1745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1; 4448 .loc 1 1745 1 is_stmt 1 view -0 4449 .cfi_startproc 4450 @ args = 0, pretend = 0, frame = 0 4451 @ frame_needed = 0, uses_anonymous_args = 0 1745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1; 4452 .loc 1 1745 1 is_stmt 0 view .LVU1256 4453 0000 38B5 push {r3, r4, r5, lr} 4454 .LCFI27: 4455 .cfi_def_cfa_offset 16 4456 .cfi_offset 3, -16 4457 .cfi_offset 4, -12 4458 .cfi_offset 5, -8 4459 .cfi_offset 14, -4 4460 0002 0446 mov r4, r0 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4461 .loc 1 1746 3 is_stmt 1 view .LVU1257 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4462 .loc 1 1746 77 is_stmt 0 view .LVU1258 4463 0004 0029 cmp r1, #0 4464 0006 32D1 bne .L381 4465 0008 0425 movs r5, #4 4466 .L378: ARM GAS /tmp/cc9HXhVl.s page 165 4467 .LVL300: 1749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4468 .loc 1 1749 3 is_stmt 1 discriminator 4 view .LVU1259 1752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_DISABLE); 4469 .loc 1 1752 3 discriminator 4 view .LVU1260 4470 000a 0022 movs r2, #0 4471 000c 2068 ldr r0, [r4] 4472 .LVL301: 1752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_DISABLE); 4473 .loc 1 1752 3 is_stmt 0 discriminator 4 view .LVU1261 4474 000e FFF7FEFF bl TIM_CCxNChannelCmd 4475 .LVL302: 1753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4476 .loc 1 1753 3 is_stmt 1 discriminator 4 view .LVU1262 4477 0012 0022 movs r2, #0 4478 0014 2946 mov r1, r5 4479 0016 2068 ldr r0, [r4] 4480 0018 FFF7FEFF bl TIM_CCxChannelCmd 4481 .LVL303: 1756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4482 .loc 1 1756 3 discriminator 4 view .LVU1263 1756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4483 .loc 1 1756 3 discriminator 4 view .LVU1264 4484 001c 2368 ldr r3, [r4] 4485 001e 196A ldr r1, [r3, #32] 4486 0020 41F21112 movw r2, #4369 4487 0024 1142 tst r1, r2 4488 0026 08D1 bne .L379 1756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4489 .loc 1 1756 3 discriminator 1 view .LVU1265 4490 0028 196A ldr r1, [r3, #32] 4491 002a 44F24442 movw r2, #17476 4492 002e 1142 tst r1, r2 4493 0030 03D1 bne .L379 1756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4494 .loc 1 1756 3 discriminator 3 view .LVU1266 4495 0032 5A6C ldr r2, [r3, #68] 4496 0034 22F40042 bic r2, r2, #32768 4497 0038 5A64 str r2, [r3, #68] 4498 .L379: 1756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4499 .loc 1 1756 3 discriminator 5 view .LVU1267 1759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4500 .loc 1 1759 3 discriminator 5 view .LVU1268 1759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4501 .loc 1 1759 3 discriminator 5 view .LVU1269 4502 003a 2368 ldr r3, [r4] 4503 003c 196A ldr r1, [r3, #32] 4504 003e 41F21112 movw r2, #4369 4505 0042 1142 tst r1, r2 4506 0044 08D1 bne .L380 1759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4507 .loc 1 1759 3 discriminator 1 view .LVU1270 4508 0046 196A ldr r1, [r3, #32] 4509 0048 44F24442 movw r2, #17476 4510 004c 1142 tst r1, r2 4511 004e 03D1 bne .L380 ARM GAS /tmp/cc9HXhVl.s page 166 1759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4512 .loc 1 1759 3 discriminator 3 view .LVU1271 4513 0050 1A68 ldr r2, [r3] 4514 0052 22F00102 bic r2, r2, #1 4515 0056 1A60 str r2, [r3] 4516 .L380: 1759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4517 .loc 1 1759 3 discriminator 5 view .LVU1272 1762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 4518 .loc 1 1762 3 discriminator 5 view .LVU1273 4519 0058 0123 movs r3, #1 4520 005a 84F83E30 strb r3, [r4, #62] 1763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 4521 .loc 1 1763 3 discriminator 5 view .LVU1274 4522 005e 84F83F30 strb r3, [r4, #63] 1764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 4523 .loc 1 1764 3 discriminator 5 view .LVU1275 4524 0062 84F84430 strb r3, [r4, #68] 1765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4525 .loc 1 1765 3 discriminator 5 view .LVU1276 4526 0066 84F84530 strb r3, [r4, #69] 1768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4527 .loc 1 1768 3 discriminator 5 view .LVU1277 1769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4528 .loc 1 1769 1 is_stmt 0 discriminator 5 view .LVU1278 4529 006a 0020 movs r0, #0 4530 006c 38BD pop {r3, r4, r5, pc} 4531 .LVL304: 4532 .L381: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4533 .loc 1 1746 77 view .LVU1279 4534 006e 0025 movs r5, #0 4535 0070 CBE7 b .L378 4536 .cfi_endproc 4537 .LFE352: 4539 .section .text.HAL_TIMEx_OnePulseN_Start_IT,"ax",%progbits 4540 .align 1 4541 .global HAL_TIMEx_OnePulseN_Start_IT 4542 .syntax unified 4543 .thumb 4544 .thumb_func 4546 HAL_TIMEx_OnePulseN_Start_IT: 4547 .LVL305: 4548 .LFB353: 1784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1; 4549 .loc 1 1784 1 is_stmt 1 view -0 4550 .cfi_startproc 4551 @ args = 0, pretend = 0, frame = 0 4552 @ frame_needed = 0, uses_anonymous_args = 0 1784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1; 4553 .loc 1 1784 1 is_stmt 0 view .LVU1281 4554 0000 38B5 push {r3, r4, r5, lr} 4555 .LCFI28: 4556 .cfi_def_cfa_offset 16 4557 .cfi_offset 3, -16 4558 .cfi_offset 4, -12 4559 .cfi_offset 5, -8 ARM GAS /tmp/cc9HXhVl.s page 167 4560 .cfi_offset 14, -4 4561 0002 0446 mov r4, r0 1785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 4562 .loc 1 1785 3 is_stmt 1 view .LVU1282 1785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 4563 .loc 1 1785 77 is_stmt 0 view .LVU1283 4564 0004 8E46 mov lr, r1 4565 0006 C1B9 cbnz r1, .L386 4566 0008 0425 movs r5, #4 4567 .L384: 4568 .LVL306: 1786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 4569 .loc 1 1786 3 is_stmt 1 discriminator 4 view .LVU1284 1786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 4570 .loc 1 1786 31 is_stmt 0 discriminator 4 view .LVU1285 4571 000a 94F83E00 ldrb r0, [r4, #62] @ zero_extendqisi2 4572 .LVL307: 1786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 4573 .loc 1 1786 31 discriminator 4 view .LVU1286 4574 000e C0B2 uxtb r0, r0 4575 .LVL308: 1787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 4576 .loc 1 1787 3 is_stmt 1 discriminator 4 view .LVU1287 1787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 4577 .loc 1 1787 31 is_stmt 0 discriminator 4 view .LVU1288 4578 0010 94F83F30 ldrb r3, [r4, #63] @ zero_extendqisi2 4579 0014 DBB2 uxtb r3, r3 4580 .LVL309: 1788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 4581 .loc 1 1788 3 is_stmt 1 discriminator 4 view .LVU1289 1788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 4582 .loc 1 1788 31 is_stmt 0 discriminator 4 view .LVU1290 4583 0016 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2 4584 001a D2B2 uxtb r2, r2 4585 .LVL310: 1789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4586 .loc 1 1789 3 is_stmt 1 discriminator 4 view .LVU1291 1789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4587 .loc 1 1789 31 is_stmt 0 discriminator 4 view .LVU1292 4588 001c 94F845C0 ldrb ip, [r4, #69] @ zero_extendqisi2 4589 0020 5FFA8CFC uxtb ip, ip 4590 .LVL311: 1792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4591 .loc 1 1792 3 is_stmt 1 discriminator 4 view .LVU1293 1795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 4592 .loc 1 1795 3 discriminator 4 view .LVU1294 1795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 4593 .loc 1 1795 6 is_stmt 0 discriminator 4 view .LVU1295 4594 0024 0128 cmp r0, #1 4595 0026 2ED1 bne .L387 1796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 4596 .loc 1 1796 7 view .LVU1296 4597 0028 012B cmp r3, #1 4598 002a 2DD1 bne .L385 1797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 4599 .loc 1 1797 7 view .LVU1297 4600 002c 012A cmp r2, #1 ARM GAS /tmp/cc9HXhVl.s page 168 4601 002e 2CD1 bne .L388 1798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4602 .loc 1 1798 7 view .LVU1298 4603 0030 BCF1010F cmp ip, #1 4604 0034 03D0 beq .L391 1800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4605 .loc 1 1800 12 view .LVU1299 4606 0036 1046 mov r0, r2 4607 .LVL312: 1800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4608 .loc 1 1800 12 view .LVU1300 4609 0038 26E0 b .L385 4610 .LVL313: 4611 .L386: 1785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 4612 .loc 1 1785 77 view .LVU1301 4613 003a 0025 movs r5, #0 4614 003c E5E7 b .L384 4615 .LVL314: 4616 .L391: 1804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 4617 .loc 1 1804 3 is_stmt 1 view .LVU1302 4618 003e 0223 movs r3, #2 4619 .LVL315: 1804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 4620 .loc 1 1804 3 is_stmt 0 view .LVU1303 4621 0040 84F83E30 strb r3, [r4, #62] 1805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 4622 .loc 1 1805 3 is_stmt 1 view .LVU1304 4623 0044 84F83F30 strb r3, [r4, #63] 1806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 4624 .loc 1 1806 3 view .LVU1305 4625 0048 84F84430 strb r3, [r4, #68] 1807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4626 .loc 1 1807 3 view .LVU1306 4627 004c 84F84530 strb r3, [r4, #69] 1810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4628 .loc 1 1810 3 view .LVU1307 4629 0050 2268 ldr r2, [r4] 4630 .LVL316: 1810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4631 .loc 1 1810 3 is_stmt 0 view .LVU1308 4632 0052 D368 ldr r3, [r2, #12] 4633 0054 43F00203 orr r3, r3, #2 4634 0058 D360 str r3, [r2, #12] 1813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4635 .loc 1 1813 3 is_stmt 1 view .LVU1309 4636 005a 2268 ldr r2, [r4] 4637 005c D368 ldr r3, [r2, #12] 4638 005e 43F00403 orr r3, r3, #4 4639 0062 D360 str r3, [r2, #12] 1816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE); 4640 .loc 1 1816 3 view .LVU1310 4641 0064 0422 movs r2, #4 4642 0066 7146 mov r1, lr 4643 .LVL317: 1816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE); ARM GAS /tmp/cc9HXhVl.s page 169 4644 .loc 1 1816 3 is_stmt 0 view .LVU1311 4645 0068 2068 ldr r0, [r4] 4646 .LVL318: 1816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE); 4647 .loc 1 1816 3 view .LVU1312 4648 006a FFF7FEFF bl TIM_CCxNChannelCmd 4649 .LVL319: 1817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4650 .loc 1 1817 3 is_stmt 1 view .LVU1313 4651 006e 0122 movs r2, #1 4652 0070 2946 mov r1, r5 4653 0072 2068 ldr r0, [r4] 4654 0074 FFF7FEFF bl TIM_CCxChannelCmd 4655 .LVL320: 1820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4656 .loc 1 1820 3 view .LVU1314 4657 0078 2268 ldr r2, [r4] 4658 007a 536C ldr r3, [r2, #68] 4659 007c 43F40043 orr r3, r3, #32768 4660 0080 5364 str r3, [r2, #68] 1823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4661 .loc 1 1823 3 view .LVU1315 1823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4662 .loc 1 1823 10 is_stmt 0 view .LVU1316 4663 0082 0020 movs r0, #0 4664 0084 00E0 b .L385 4665 .LVL321: 4666 .L387: 1800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4667 .loc 1 1800 12 view .LVU1317 4668 0086 0120 movs r0, #1 4669 .LVL322: 4670 .L385: 1824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4671 .loc 1 1824 1 view .LVU1318 4672 0088 38BD pop {r3, r4, r5, pc} 4673 .LVL323: 4674 .L388: 1800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4675 .loc 1 1800 12 view .LVU1319 4676 008a 1846 mov r0, r3 4677 .LVL324: 1800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4678 .loc 1 1800 12 view .LVU1320 4679 008c FCE7 b .L385 4680 .cfi_endproc 4681 .LFE353: 4683 .section .text.HAL_TIMEx_OnePulseN_Stop_IT,"ax",%progbits 4684 .align 1 4685 .global HAL_TIMEx_OnePulseN_Stop_IT 4686 .syntax unified 4687 .thumb 4688 .thumb_func 4690 HAL_TIMEx_OnePulseN_Stop_IT: 4691 .LVL325: 4692 .LFB354: 1839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1; ARM GAS /tmp/cc9HXhVl.s page 170 4693 .loc 1 1839 1 is_stmt 1 view -0 4694 .cfi_startproc 4695 @ args = 0, pretend = 0, frame = 0 4696 @ frame_needed = 0, uses_anonymous_args = 0 1839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1; 4697 .loc 1 1839 1 is_stmt 0 view .LVU1322 4698 0000 38B5 push {r3, r4, r5, lr} 4699 .LCFI29: 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 0002 0446 mov r4, r0 1840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4706 .loc 1 1840 3 is_stmt 1 view .LVU1323 1840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4707 .loc 1 1840 77 is_stmt 0 view .LVU1324 4708 0004 0029 cmp r1, #0 4709 0006 3CD1 bne .L396 4710 0008 0425 movs r5, #4 4711 .L393: 4712 .LVL326: 1843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4713 .loc 1 1843 3 is_stmt 1 discriminator 4 view .LVU1325 1846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4714 .loc 1 1846 3 discriminator 4 view .LVU1326 4715 000a 2268 ldr r2, [r4] 4716 000c D368 ldr r3, [r2, #12] 4717 000e 23F00203 bic r3, r3, #2 4718 0012 D360 str r3, [r2, #12] 1849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4719 .loc 1 1849 3 discriminator 4 view .LVU1327 4720 0014 2268 ldr r2, [r4] 4721 0016 D368 ldr r3, [r2, #12] 4722 0018 23F00403 bic r3, r3, #4 4723 001c D360 str r3, [r2, #12] 1852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_DISABLE); 4724 .loc 1 1852 3 discriminator 4 view .LVU1328 4725 001e 0022 movs r2, #0 4726 0020 2068 ldr r0, [r4] 4727 .LVL327: 1852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_DISABLE); 4728 .loc 1 1852 3 is_stmt 0 discriminator 4 view .LVU1329 4729 0022 FFF7FEFF bl TIM_CCxNChannelCmd 4730 .LVL328: 1853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4731 .loc 1 1853 3 is_stmt 1 discriminator 4 view .LVU1330 4732 0026 0022 movs r2, #0 4733 0028 2946 mov r1, r5 4734 002a 2068 ldr r0, [r4] 4735 002c FFF7FEFF bl TIM_CCxChannelCmd 4736 .LVL329: 1856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4737 .loc 1 1856 3 discriminator 4 view .LVU1331 1856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4738 .loc 1 1856 3 discriminator 4 view .LVU1332 ARM GAS /tmp/cc9HXhVl.s page 171 4739 0030 2368 ldr r3, [r4] 4740 0032 196A ldr r1, [r3, #32] 4741 0034 41F21112 movw r2, #4369 4742 0038 1142 tst r1, r2 4743 003a 08D1 bne .L394 1856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4744 .loc 1 1856 3 discriminator 1 view .LVU1333 4745 003c 196A ldr r1, [r3, #32] 4746 003e 44F24442 movw r2, #17476 4747 0042 1142 tst r1, r2 4748 0044 03D1 bne .L394 1856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4749 .loc 1 1856 3 discriminator 3 view .LVU1334 4750 0046 5A6C ldr r2, [r3, #68] 4751 0048 22F40042 bic r2, r2, #32768 4752 004c 5A64 str r2, [r3, #68] 4753 .L394: 1856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4754 .loc 1 1856 3 discriminator 5 view .LVU1335 1859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4755 .loc 1 1859 3 discriminator 5 view .LVU1336 1859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4756 .loc 1 1859 3 discriminator 5 view .LVU1337 4757 004e 2368 ldr r3, [r4] 4758 0050 196A ldr r1, [r3, #32] 4759 0052 41F21112 movw r2, #4369 4760 0056 1142 tst r1, r2 4761 0058 08D1 bne .L395 1859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4762 .loc 1 1859 3 discriminator 1 view .LVU1338 4763 005a 196A ldr r1, [r3, #32] 4764 005c 44F24442 movw r2, #17476 4765 0060 1142 tst r1, r2 4766 0062 03D1 bne .L395 1859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4767 .loc 1 1859 3 discriminator 3 view .LVU1339 4768 0064 1A68 ldr r2, [r3] 4769 0066 22F00102 bic r2, r2, #1 4770 006a 1A60 str r2, [r3] 4771 .L395: 1859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4772 .loc 1 1859 3 discriminator 5 view .LVU1340 1862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 4773 .loc 1 1862 3 discriminator 5 view .LVU1341 4774 006c 0123 movs r3, #1 4775 006e 84F83E30 strb r3, [r4, #62] 1863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 4776 .loc 1 1863 3 discriminator 5 view .LVU1342 4777 0072 84F83F30 strb r3, [r4, #63] 1864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 4778 .loc 1 1864 3 discriminator 5 view .LVU1343 4779 0076 84F84430 strb r3, [r4, #68] 1865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4780 .loc 1 1865 3 discriminator 5 view .LVU1344 4781 007a 84F84530 strb r3, [r4, #69] 1868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4782 .loc 1 1868 3 discriminator 5 view .LVU1345 ARM GAS /tmp/cc9HXhVl.s page 172 1869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4783 .loc 1 1869 1 is_stmt 0 discriminator 5 view .LVU1346 4784 007e 0020 movs r0, #0 4785 0080 38BD pop {r3, r4, r5, pc} 4786 .LVL330: 4787 .L396: 1840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4788 .loc 1 1840 77 view .LVU1347 4789 0082 0025 movs r5, #0 4790 0084 C1E7 b .L393 4791 .cfi_endproc 4792 .LFE354: 4794 .section .text.HAL_TIMEx_ConfigCommutEvent,"ax",%progbits 4795 .align 1 4796 .global HAL_TIMEx_ConfigCommutEvent 4797 .syntax unified 4798 .thumb 4799 .thumb_func 4801 HAL_TIMEx_ConfigCommutEvent: 4802 .LVL331: 4803 .LFB355: 1934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 4804 .loc 1 1934 1 is_stmt 1 view -0 4805 .cfi_startproc 4806 @ args = 0, pretend = 0, frame = 0 4807 @ frame_needed = 0, uses_anonymous_args = 0 4808 @ link register save eliminated. 1934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 4809 .loc 1 1934 1 is_stmt 0 view .LVU1349 4810 0000 0346 mov r3, r0 1936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_INSTANCE(htim->Instance, InputTrigger)); 4811 .loc 1 1936 3 is_stmt 1 view .LVU1350 1937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4812 .loc 1 1937 3 view .LVU1351 1939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4813 .loc 1 1939 3 view .LVU1352 1939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4814 .loc 1 1939 3 view .LVU1353 4815 0002 90F83C00 ldrb r0, [r0, #60] @ zero_extendqisi2 4816 .LVL332: 1939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4817 .loc 1 1939 3 is_stmt 0 view .LVU1354 4818 0006 0128 cmp r0, #1 4819 0008 46D0 beq .L404 1934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 4820 .loc 1 1934 1 discriminator 2 view .LVU1355 4821 000a 10B4 push {r4} 4822 .LCFI30: 4823 .cfi_def_cfa_offset 4 4824 .cfi_offset 4, -4 1939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4825 .loc 1 1939 3 is_stmt 1 discriminator 2 view .LVU1356 4826 000c 0120 movs r0, #1 4827 000e 83F83C00 strb r0, [r3, #60] 1939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4828 .loc 1 1939 3 discriminator 2 view .LVU1357 1961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || ARM GAS /tmp/cc9HXhVl.s page 173 4829 .loc 1 1961 3 discriminator 2 view .LVU1358 1961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 4830 .loc 1 1961 6 is_stmt 0 discriminator 2 view .LVU1359 4831 0012 51B1 cbz r1, .L400 4832 0014 2148 ldr r0, .L409 4833 0016 8142 cmp r1, r0 4834 0018 07D0 beq .L400 4835 001a 33D8 bhi .L401 4836 001c 3029 cmp r1, #48 4837 001e 04D0 beq .L400 4838 0020 2CD8 bhi .L402 4839 0022 1029 cmp r1, #16 4840 0024 01D0 beq .L400 4841 0026 2029 cmp r1, #32 4842 0028 0AD1 bne .L403 4843 .L400: 1969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 4844 .loc 1 1969 5 is_stmt 1 view .LVU1360 1969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 4845 .loc 1 1969 9 is_stmt 0 view .LVU1361 4846 002a 1C68 ldr r4, [r3] 1969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 4847 .loc 1 1969 19 view .LVU1362 4848 002c A068 ldr r0, [r4, #8] 1969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 4849 .loc 1 1969 26 view .LVU1363 4850 002e 20F44010 bic r0, r0, #3145728 4851 0032 20F07000 bic r0, r0, #112 4852 0036 A060 str r0, [r4, #8] 1970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4853 .loc 1 1970 5 is_stmt 1 view .LVU1364 1970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4854 .loc 1 1970 9 is_stmt 0 view .LVU1365 4855 0038 1C68 ldr r4, [r3] 1970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4856 .loc 1 1970 19 view .LVU1366 4857 003a A068 ldr r0, [r4, #8] 1970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4858 .loc 1 1970 26 view .LVU1367 4859 003c 0143 orrs r1, r1, r0 4860 .LVL333: 1970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4861 .loc 1 1970 26 view .LVU1368 4862 003e A160 str r1, [r4, #8] 4863 .L403: 1974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 4864 .loc 1 1974 3 is_stmt 1 view .LVU1369 1974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 4865 .loc 1 1974 7 is_stmt 0 view .LVU1370 4866 0040 1868 ldr r0, [r3] 1974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 4867 .loc 1 1974 17 view .LVU1371 4868 0042 4168 ldr r1, [r0, #4] 1974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 4869 .loc 1 1974 23 view .LVU1372 4870 0044 41F00101 orr r1, r1, #1 4871 0048 4160 str r1, [r0, #4] ARM GAS /tmp/cc9HXhVl.s page 174 1976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 4872 .loc 1 1976 3 is_stmt 1 view .LVU1373 1976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 4873 .loc 1 1976 7 is_stmt 0 view .LVU1374 4874 004a 1868 ldr r0, [r3] 1976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 4875 .loc 1 1976 17 view .LVU1375 4876 004c 4168 ldr r1, [r0, #4] 1976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 4877 .loc 1 1976 23 view .LVU1376 4878 004e 21F00401 bic r1, r1, #4 4879 0052 4160 str r1, [r0, #4] 1977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4880 .loc 1 1977 3 is_stmt 1 view .LVU1377 1977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4881 .loc 1 1977 7 is_stmt 0 view .LVU1378 4882 0054 1868 ldr r0, [r3] 1977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4883 .loc 1 1977 17 view .LVU1379 4884 0056 4168 ldr r1, [r0, #4] 1977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4885 .loc 1 1977 23 view .LVU1380 4886 0058 0A43 orrs r2, r2, r1 4887 .LVL334: 1977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4888 .loc 1 1977 23 view .LVU1381 4889 005a 4260 str r2, [r0, #4] 1980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4890 .loc 1 1980 3 is_stmt 1 view .LVU1382 4891 005c 1968 ldr r1, [r3] 4892 005e CA68 ldr r2, [r1, #12] 4893 0060 22F02002 bic r2, r2, #32 4894 0064 CA60 str r2, [r1, #12] 1983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4895 .loc 1 1983 3 view .LVU1383 4896 0066 1968 ldr r1, [r3] 4897 0068 CA68 ldr r2, [r1, #12] 4898 006a 22F40052 bic r2, r2, #8192 4899 006e CA60 str r2, [r1, #12] 1985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4900 .loc 1 1985 3 view .LVU1384 1985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4901 .loc 1 1985 3 view .LVU1385 4902 0070 0020 movs r0, #0 4903 0072 83F83C00 strb r0, [r3, #60] 1985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4904 .loc 1 1985 3 view .LVU1386 1987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4905 .loc 1 1987 3 view .LVU1387 1988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4906 .loc 1 1988 1 is_stmt 0 view .LVU1388 4907 0076 5DF8044B ldr r4, [sp], #4 4908 .LCFI31: 4909 .cfi_remember_state 4910 .cfi_restore 4 4911 .cfi_def_cfa_offset 0 4912 007a 7047 bx lr ARM GAS /tmp/cc9HXhVl.s page 175 4913 .LVL335: 4914 .L402: 4915 .LCFI32: 4916 .cfi_restore_state 1988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4917 .loc 1 1988 1 view .LVU1389 4918 007c B1F1101F cmp r1, #1048592 4919 0080 DED1 bne .L403 4920 0082 D2E7 b .L400 4921 .L401: 1988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4922 .loc 1 1988 1 view .LVU1390 4923 0084 0648 ldr r0, .L409+4 4924 0086 8142 cmp r1, r0 4925 0088 CFD0 beq .L400 4926 008a 3030 adds r0, r0, #48 4927 008c 8142 cmp r1, r0 4928 008e CCD0 beq .L400 4929 0090 4038 subs r0, r0, #64 4930 0092 8142 cmp r1, r0 4931 0094 D4D1 bne .L403 4932 0096 C8E7 b .L400 4933 .L404: 4934 .LCFI33: 4935 .cfi_def_cfa_offset 0 4936 .cfi_restore 4 1939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4937 .loc 1 1939 3 view .LVU1391 4938 0098 0220 movs r0, #2 1988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4939 .loc 1 1988 1 view .LVU1392 4940 009a 7047 bx lr 4941 .L410: 4942 .align 2 4943 .L409: 4944 009c 20001000 .word 1048608 4945 00a0 40001000 .word 1048640 4946 .cfi_endproc 4947 .LFE355: 4949 .section .text.HAL_TIMEx_ConfigCommutEvent_IT,"ax",%progbits 4950 .align 1 4951 .global HAL_TIMEx_ConfigCommutEvent_IT 4952 .syntax unified 4953 .thumb 4954 .thumb_func 4956 HAL_TIMEx_ConfigCommutEvent_IT: 4957 .LVL336: 4958 .LFB356: 2025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 4959 .loc 1 2025 1 is_stmt 1 view -0 4960 .cfi_startproc 4961 @ args = 0, pretend = 0, frame = 0 4962 @ frame_needed = 0, uses_anonymous_args = 0 4963 @ link register save eliminated. 2025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 4964 .loc 1 2025 1 is_stmt 0 view .LVU1394 4965 0000 0346 mov r3, r0 ARM GAS /tmp/cc9HXhVl.s page 176 2027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_INSTANCE(htim->Instance, InputTrigger)); 4966 .loc 1 2027 3 is_stmt 1 view .LVU1395 2028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4967 .loc 1 2028 3 view .LVU1396 2030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4968 .loc 1 2030 3 view .LVU1397 2030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4969 .loc 1 2030 3 view .LVU1398 4970 0002 90F83C00 ldrb r0, [r0, #60] @ zero_extendqisi2 4971 .LVL337: 2030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4972 .loc 1 2030 3 is_stmt 0 view .LVU1399 4973 0006 0128 cmp r0, #1 4974 0008 46D0 beq .L417 2025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 4975 .loc 1 2025 1 discriminator 2 view .LVU1400 4976 000a 10B4 push {r4} 4977 .LCFI34: 4978 .cfi_def_cfa_offset 4 4979 .cfi_offset 4, -4 2030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4980 .loc 1 2030 3 is_stmt 1 discriminator 2 view .LVU1401 4981 000c 0120 movs r0, #1 4982 000e 83F83C00 strb r0, [r3, #60] 2030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4983 .loc 1 2030 3 discriminator 2 view .LVU1402 2052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 4984 .loc 1 2052 3 discriminator 2 view .LVU1403 2052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 4985 .loc 1 2052 6 is_stmt 0 discriminator 2 view .LVU1404 4986 0012 51B1 cbz r1, .L413 4987 0014 2148 ldr r0, .L422 4988 0016 8142 cmp r1, r0 4989 0018 07D0 beq .L413 4990 001a 33D8 bhi .L414 4991 001c 3029 cmp r1, #48 4992 001e 04D0 beq .L413 4993 0020 2CD8 bhi .L415 4994 0022 1029 cmp r1, #16 4995 0024 01D0 beq .L413 4996 0026 2029 cmp r1, #32 4997 0028 0AD1 bne .L416 4998 .L413: 2060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 4999 .loc 1 2060 5 is_stmt 1 view .LVU1405 2060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 5000 .loc 1 2060 9 is_stmt 0 view .LVU1406 5001 002a 1C68 ldr r4, [r3] 2060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 5002 .loc 1 2060 19 view .LVU1407 5003 002c A068 ldr r0, [r4, #8] 2060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 5004 .loc 1 2060 26 view .LVU1408 5005 002e 20F44010 bic r0, r0, #3145728 5006 0032 20F07000 bic r0, r0, #112 5007 0036 A060 str r0, [r4, #8] 2061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } ARM GAS /tmp/cc9HXhVl.s page 177 5008 .loc 1 2061 5 is_stmt 1 view .LVU1409 2061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5009 .loc 1 2061 9 is_stmt 0 view .LVU1410 5010 0038 1C68 ldr r4, [r3] 2061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5011 .loc 1 2061 19 view .LVU1411 5012 003a A068 ldr r0, [r4, #8] 2061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5013 .loc 1 2061 26 view .LVU1412 5014 003c 0143 orrs r1, r1, r0 5015 .LVL338: 2061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5016 .loc 1 2061 26 view .LVU1413 5017 003e A160 str r1, [r4, #8] 5018 .L416: 2065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 5019 .loc 1 2065 3 is_stmt 1 view .LVU1414 2065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 5020 .loc 1 2065 7 is_stmt 0 view .LVU1415 5021 0040 1868 ldr r0, [r3] 2065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 5022 .loc 1 2065 17 view .LVU1416 5023 0042 4168 ldr r1, [r0, #4] 2065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 5024 .loc 1 2065 23 view .LVU1417 5025 0044 41F00101 orr r1, r1, #1 5026 0048 4160 str r1, [r0, #4] 2067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 5027 .loc 1 2067 3 is_stmt 1 view .LVU1418 2067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 5028 .loc 1 2067 7 is_stmt 0 view .LVU1419 5029 004a 1868 ldr r0, [r3] 2067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 5030 .loc 1 2067 17 view .LVU1420 5031 004c 4168 ldr r1, [r0, #4] 2067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 5032 .loc 1 2067 23 view .LVU1421 5033 004e 21F00401 bic r1, r1, #4 5034 0052 4160 str r1, [r0, #4] 2068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5035 .loc 1 2068 3 is_stmt 1 view .LVU1422 2068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5036 .loc 1 2068 7 is_stmt 0 view .LVU1423 5037 0054 1868 ldr r0, [r3] 2068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5038 .loc 1 2068 17 view .LVU1424 5039 0056 4168 ldr r1, [r0, #4] 2068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5040 .loc 1 2068 23 view .LVU1425 5041 0058 0A43 orrs r2, r2, r1 5042 .LVL339: 2068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5043 .loc 1 2068 23 view .LVU1426 5044 005a 4260 str r2, [r0, #4] 2071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5045 .loc 1 2071 3 is_stmt 1 view .LVU1427 5046 005c 1968 ldr r1, [r3] ARM GAS /tmp/cc9HXhVl.s page 178 5047 005e CA68 ldr r2, [r1, #12] 5048 0060 22F40052 bic r2, r2, #8192 5049 0064 CA60 str r2, [r1, #12] 2074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5050 .loc 1 2074 3 view .LVU1428 5051 0066 1968 ldr r1, [r3] 5052 0068 CA68 ldr r2, [r1, #12] 5053 006a 42F02002 orr r2, r2, #32 5054 006e CA60 str r2, [r1, #12] 2076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5055 .loc 1 2076 3 view .LVU1429 2076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5056 .loc 1 2076 3 view .LVU1430 5057 0070 0020 movs r0, #0 5058 0072 83F83C00 strb r0, [r3, #60] 2076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5059 .loc 1 2076 3 view .LVU1431 2078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5060 .loc 1 2078 3 view .LVU1432 2079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5061 .loc 1 2079 1 is_stmt 0 view .LVU1433 5062 0076 5DF8044B ldr r4, [sp], #4 5063 .LCFI35: 5064 .cfi_remember_state 5065 .cfi_restore 4 5066 .cfi_def_cfa_offset 0 5067 007a 7047 bx lr 5068 .LVL340: 5069 .L415: 5070 .LCFI36: 5071 .cfi_restore_state 2079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5072 .loc 1 2079 1 view .LVU1434 5073 007c B1F1101F cmp r1, #1048592 5074 0080 DED1 bne .L416 5075 0082 D2E7 b .L413 5076 .L414: 2079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5077 .loc 1 2079 1 view .LVU1435 5078 0084 0648 ldr r0, .L422+4 5079 0086 8142 cmp r1, r0 5080 0088 CFD0 beq .L413 5081 008a 3030 adds r0, r0, #48 5082 008c 8142 cmp r1, r0 5083 008e CCD0 beq .L413 5084 0090 4038 subs r0, r0, #64 5085 0092 8142 cmp r1, r0 5086 0094 D4D1 bne .L416 5087 0096 C8E7 b .L413 5088 .L417: 5089 .LCFI37: 5090 .cfi_def_cfa_offset 0 5091 .cfi_restore 4 2030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5092 .loc 1 2030 3 view .LVU1436 5093 0098 0220 movs r0, #2 2079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/cc9HXhVl.s page 179 5094 .loc 1 2079 1 view .LVU1437 5095 009a 7047 bx lr 5096 .L423: 5097 .align 2 5098 .L422: 5099 009c 20001000 .word 1048608 5100 00a0 40001000 .word 1048640 5101 .cfi_endproc 5102 .LFE356: 5104 .section .text.HAL_TIMEx_ConfigCommutEvent_DMA,"ax",%progbits 5105 .align 1 5106 .global HAL_TIMEx_ConfigCommutEvent_DMA 5107 .syntax unified 5108 .thumb 5109 .thumb_func 5111 HAL_TIMEx_ConfigCommutEvent_DMA: 5112 .LVL341: 5113 .LFB357: 2117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 5114 .loc 1 2117 1 is_stmt 1 view -0 5115 .cfi_startproc 5116 @ args = 0, pretend = 0, frame = 0 5117 @ frame_needed = 0, uses_anonymous_args = 0 5118 @ link register save eliminated. 2117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 5119 .loc 1 2117 1 is_stmt 0 view .LVU1439 5120 0000 0346 mov r3, r0 2119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_INSTANCE(htim->Instance, InputTrigger)); 5121 .loc 1 2119 3 is_stmt 1 view .LVU1440 2120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5122 .loc 1 2120 3 view .LVU1441 2122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5123 .loc 1 2122 3 view .LVU1442 2122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5124 .loc 1 2122 3 view .LVU1443 5125 0002 90F83C00 ldrb r0, [r0, #60] @ zero_extendqisi2 5126 .LVL342: 2122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5127 .loc 1 2122 3 is_stmt 0 view .LVU1444 5128 0006 0128 cmp r0, #1 5129 0008 4FD0 beq .L430 2117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 5130 .loc 1 2117 1 discriminator 2 view .LVU1445 5131 000a 10B4 push {r4} 5132 .LCFI38: 5133 .cfi_def_cfa_offset 4 5134 .cfi_offset 4, -4 2122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5135 .loc 1 2122 3 is_stmt 1 discriminator 2 view .LVU1446 5136 000c 0120 movs r0, #1 5137 000e 83F83C00 strb r0, [r3, #60] 2122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5138 .loc 1 2122 3 discriminator 2 view .LVU1447 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 5139 .loc 1 2144 3 discriminator 2 view .LVU1448 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 5140 .loc 1 2144 6 is_stmt 0 discriminator 2 view .LVU1449 ARM GAS /tmp/cc9HXhVl.s page 180 5141 0012 51B1 cbz r1, .L426 5142 0014 2648 ldr r0, .L435 5143 0016 8142 cmp r1, r0 5144 0018 07D0 beq .L426 5145 001a 3CD8 bhi .L427 5146 001c 3029 cmp r1, #48 5147 001e 04D0 beq .L426 5148 0020 35D8 bhi .L428 5149 0022 1029 cmp r1, #16 5150 0024 01D0 beq .L426 5151 0026 2029 cmp r1, #32 5152 0028 0AD1 bne .L429 5153 .L426: 2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 5154 .loc 1 2152 5 is_stmt 1 view .LVU1450 2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 5155 .loc 1 2152 9 is_stmt 0 view .LVU1451 5156 002a 1C68 ldr r4, [r3] 2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 5157 .loc 1 2152 19 view .LVU1452 5158 002c A068 ldr r0, [r4, #8] 2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 5159 .loc 1 2152 26 view .LVU1453 5160 002e 20F44010 bic r0, r0, #3145728 5161 0032 20F07000 bic r0, r0, #112 5162 0036 A060 str r0, [r4, #8] 2153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5163 .loc 1 2153 5 is_stmt 1 view .LVU1454 2153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5164 .loc 1 2153 9 is_stmt 0 view .LVU1455 5165 0038 1C68 ldr r4, [r3] 2153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5166 .loc 1 2153 19 view .LVU1456 5167 003a A068 ldr r0, [r4, #8] 2153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5168 .loc 1 2153 26 view .LVU1457 5169 003c 0143 orrs r1, r1, r0 5170 .LVL343: 2153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5171 .loc 1 2153 26 view .LVU1458 5172 003e A160 str r1, [r4, #8] 5173 .L429: 2157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 5174 .loc 1 2157 3 is_stmt 1 view .LVU1459 2157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 5175 .loc 1 2157 7 is_stmt 0 view .LVU1460 5176 0040 1868 ldr r0, [r3] 2157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 5177 .loc 1 2157 17 view .LVU1461 5178 0042 4168 ldr r1, [r0, #4] 2157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 5179 .loc 1 2157 23 view .LVU1462 5180 0044 41F00101 orr r1, r1, #1 5181 0048 4160 str r1, [r0, #4] 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 5182 .loc 1 2159 3 is_stmt 1 view .LVU1463 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; ARM GAS /tmp/cc9HXhVl.s page 181 5183 .loc 1 2159 7 is_stmt 0 view .LVU1464 5184 004a 1868 ldr r0, [r3] 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 5185 .loc 1 2159 17 view .LVU1465 5186 004c 4168 ldr r1, [r0, #4] 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 5187 .loc 1 2159 23 view .LVU1466 5188 004e 21F00401 bic r1, r1, #4 5189 0052 4160 str r1, [r0, #4] 2160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5190 .loc 1 2160 3 is_stmt 1 view .LVU1467 2160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5191 .loc 1 2160 7 is_stmt 0 view .LVU1468 5192 0054 1868 ldr r0, [r3] 2160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5193 .loc 1 2160 17 view .LVU1469 5194 0056 4168 ldr r1, [r0, #4] 2160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5195 .loc 1 2160 23 view .LVU1470 5196 0058 0A43 orrs r2, r2, r1 5197 .LVL344: 2160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5198 .loc 1 2160 23 view .LVU1471 5199 005a 4260 str r2, [r0, #4] 2164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 5200 .loc 1 2164 3 is_stmt 1 view .LVU1472 2164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 5201 .loc 1 2164 13 is_stmt 0 view .LVU1473 5202 005c 5A6B ldr r2, [r3, #52] 2164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 5203 .loc 1 2164 56 view .LVU1474 5204 005e 1549 ldr r1, .L435+4 5205 0060 D162 str r1, [r2, #44] 2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 5206 .loc 1 2165 3 is_stmt 1 view .LVU1475 2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 5207 .loc 1 2165 13 is_stmt 0 view .LVU1476 5208 0062 5A6B ldr r2, [r3, #52] 2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 5209 .loc 1 2165 60 view .LVU1477 5210 0064 1449 ldr r1, .L435+8 5211 0066 1163 str r1, [r2, #48] 2167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5212 .loc 1 2167 3 is_stmt 1 view .LVU1478 2167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5213 .loc 1 2167 13 is_stmt 0 view .LVU1479 5214 0068 5A6B ldr r2, [r3, #52] 2167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5215 .loc 1 2167 57 view .LVU1480 5216 006a 1449 ldr r1, .L435+12 5217 006c 5163 str r1, [r2, #52] 2170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5218 .loc 1 2170 3 is_stmt 1 view .LVU1481 5219 006e 1968 ldr r1, [r3] 5220 0070 CA68 ldr r2, [r1, #12] 5221 0072 22F02002 bic r2, r2, #32 5222 0076 CA60 str r2, [r1, #12] ARM GAS /tmp/cc9HXhVl.s page 182 2173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5223 .loc 1 2173 3 view .LVU1482 5224 0078 1968 ldr r1, [r3] 5225 007a CA68 ldr r2, [r1, #12] 5226 007c 42F40052 orr r2, r2, #8192 5227 0080 CA60 str r2, [r1, #12] 2175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5228 .loc 1 2175 3 view .LVU1483 2175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5229 .loc 1 2175 3 view .LVU1484 5230 0082 0020 movs r0, #0 5231 0084 83F83C00 strb r0, [r3, #60] 2175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5232 .loc 1 2175 3 view .LVU1485 2177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5233 .loc 1 2177 3 view .LVU1486 2178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5234 .loc 1 2178 1 is_stmt 0 view .LVU1487 5235 0088 5DF8044B ldr r4, [sp], #4 5236 .LCFI39: 5237 .cfi_remember_state 5238 .cfi_restore 4 5239 .cfi_def_cfa_offset 0 5240 008c 7047 bx lr 5241 .LVL345: 5242 .L428: 5243 .LCFI40: 5244 .cfi_restore_state 2178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5245 .loc 1 2178 1 view .LVU1488 5246 008e B1F1101F cmp r1, #1048592 5247 0092 D5D1 bne .L429 5248 0094 C9E7 b .L426 5249 .L427: 2178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5250 .loc 1 2178 1 view .LVU1489 5251 0096 0A48 ldr r0, .L435+16 5252 0098 8142 cmp r1, r0 5253 009a C6D0 beq .L426 5254 009c 3030 adds r0, r0, #48 5255 009e 8142 cmp r1, r0 5256 00a0 C3D0 beq .L426 5257 00a2 4038 subs r0, r0, #64 5258 00a4 8142 cmp r1, r0 5259 00a6 CBD1 bne .L429 5260 00a8 BFE7 b .L426 5261 .L430: 5262 .LCFI41: 5263 .cfi_def_cfa_offset 0 5264 .cfi_restore 4 2122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5265 .loc 1 2122 3 view .LVU1490 5266 00aa 0220 movs r0, #2 2178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5267 .loc 1 2178 1 view .LVU1491 5268 00ac 7047 bx lr 5269 .L436: ARM GAS /tmp/cc9HXhVl.s page 183 5270 00ae 00BF .align 2 5271 .L435: 5272 00b0 20001000 .word 1048608 5273 00b4 00000000 .word TIMEx_DMACommutationCplt 5274 00b8 00000000 .word TIMEx_DMACommutationHalfCplt 5275 00bc 00000000 .word TIM_DMAError 5276 00c0 40001000 .word 1048640 5277 .cfi_endproc 5278 .LFE357: 5280 .section .text.HAL_TIMEx_MasterConfigSynchronization,"ax",%progbits 5281 .align 1 5282 .global HAL_TIMEx_MasterConfigSynchronization 5283 .syntax unified 5284 .thumb 5285 .thumb_func 5287 HAL_TIMEx_MasterConfigSynchronization: 5288 .LVL346: 5289 .LFB358: 2190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpcr2; 5290 .loc 1 2190 1 is_stmt 1 view -0 5291 .cfi_startproc 5292 @ args = 0, pretend = 0, frame = 0 5293 @ frame_needed = 0, uses_anonymous_args = 0 5294 @ link register save eliminated. 2191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 5295 .loc 1 2191 3 view .LVU1493 2192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5296 .loc 1 2192 3 view .LVU1494 2195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_TRGO_SOURCE(sMasterConfig->MasterOutputTrigger)); 5297 .loc 1 2195 3 view .LVU1495 2196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_MSM_STATE(sMasterConfig->MasterSlaveMode)); 5298 .loc 1 2196 3 view .LVU1496 2197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5299 .loc 1 2197 3 view .LVU1497 2200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5300 .loc 1 2200 3 view .LVU1498 2200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5301 .loc 1 2200 3 view .LVU1499 5302 0000 90F83C20 ldrb r2, [r0, #60] @ zero_extendqisi2 5303 0004 012A cmp r2, #1 5304 0006 40D0 beq .L443 2190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpcr2; 5305 .loc 1 2190 1 is_stmt 0 discriminator 2 view .LVU1500 5306 0008 30B4 push {r4, r5} 5307 .LCFI42: 5308 .cfi_def_cfa_offset 8 5309 .cfi_offset 4, -8 5310 .cfi_offset 5, -4 5311 000a 0346 mov r3, r0 2200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5312 .loc 1 2200 3 is_stmt 1 discriminator 2 view .LVU1501 5313 000c 0122 movs r2, #1 5314 000e 80F83C20 strb r2, [r0, #60] 2200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5315 .loc 1 2200 3 discriminator 2 view .LVU1502 2203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5316 .loc 1 2203 3 discriminator 2 view .LVU1503 ARM GAS /tmp/cc9HXhVl.s page 184 2203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5317 .loc 1 2203 15 is_stmt 0 discriminator 2 view .LVU1504 5318 0012 0222 movs r2, #2 5319 0014 80F83D20 strb r2, [r0, #61] 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5320 .loc 1 2206 3 is_stmt 1 discriminator 2 view .LVU1505 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5321 .loc 1 2206 16 is_stmt 0 discriminator 2 view .LVU1506 5322 0018 0068 ldr r0, [r0] 5323 .LVL347: 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5324 .loc 1 2206 10 discriminator 2 view .LVU1507 5325 001a 4268 ldr r2, [r0, #4] 5326 .LVL348: 2209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5327 .loc 1 2209 3 is_stmt 1 discriminator 2 view .LVU1508 2209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5328 .loc 1 2209 11 is_stmt 0 discriminator 2 view .LVU1509 5329 001c 8468 ldr r4, [r0, #8] 5330 .LVL349: 2212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5331 .loc 1 2212 3 is_stmt 1 discriminator 2 view .LVU1510 2212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5332 .loc 1 2212 6 is_stmt 0 discriminator 2 view .LVU1511 5333 001e 1C4D ldr r5, .L448 5334 0020 A842 cmp r0, r5 5335 0022 03D0 beq .L439 2212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5336 .loc 1 2212 7 discriminator 1 view .LVU1512 5337 0024 05F50065 add r5, r5, #2048 5338 0028 A842 cmp r0, r5 5339 002a 03D1 bne .L440 5340 .L439: 2215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5341 .loc 1 2215 5 is_stmt 1 view .LVU1513 2218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO2 source*/ 5342 .loc 1 2218 5 view .LVU1514 2218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO2 source*/ 5343 .loc 1 2218 12 is_stmt 0 view .LVU1515 5344 002c 22F47002 bic r2, r2, #15728640 5345 .LVL350: 2220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5346 .loc 1 2220 5 is_stmt 1 view .LVU1516 2220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5347 .loc 1 2220 28 is_stmt 0 view .LVU1517 5348 0030 4D68 ldr r5, [r1, #4] 2220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5349 .loc 1 2220 12 view .LVU1518 5350 0032 2A43 orrs r2, r2, r5 5351 .LVL351: 5352 .L440: 2224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO source */ 5353 .loc 1 2224 3 is_stmt 1 view .LVU1519 2224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO source */ 5354 .loc 1 2224 10 is_stmt 0 view .LVU1520 5355 0034 22F00072 bic r2, r2, #33554432 5356 .LVL352: ARM GAS /tmp/cc9HXhVl.s page 185 2224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO source */ 5357 .loc 1 2224 10 view .LVU1521 5358 0038 22F07002 bic r2, r2, #112 5359 .LVL353: 2226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5360 .loc 1 2226 3 is_stmt 1 view .LVU1522 2226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5361 .loc 1 2226 10 is_stmt 0 view .LVU1523 5362 003c 0D68 ldr r5, [r1] 5363 003e 2A43 orrs r2, r2, r5 5364 .LVL354: 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5365 .loc 1 2229 3 is_stmt 1 view .LVU1524 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5366 .loc 1 2229 23 is_stmt 0 view .LVU1525 5367 0040 4260 str r2, [r0, #4] 2231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5368 .loc 1 2231 3 is_stmt 1 view .LVU1526 2231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5369 .loc 1 2231 7 is_stmt 0 view .LVU1527 5370 0042 1A68 ldr r2, [r3] 5371 .LVL355: 2231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5372 .loc 1 2231 6 view .LVU1528 5373 0044 1248 ldr r0, .L448 5374 .LVL356: 2231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5375 .loc 1 2231 6 view .LVU1529 5376 0046 8242 cmp r2, r0 5377 0048 12D0 beq .L441 2231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5378 .loc 1 2231 7 discriminator 1 view .LVU1530 5379 004a B2F1804F cmp r2, #1073741824 5380 004e 0FD0 beq .L441 2231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5381 .loc 1 2231 7 discriminator 2 view .LVU1531 5382 0050 A0F59430 sub r0, r0, #75776 5383 0054 8242 cmp r2, r0 5384 0056 0BD0 beq .L441 2231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5385 .loc 1 2231 7 discriminator 3 view .LVU1532 5386 0058 00F58060 add r0, r0, #1024 5387 005c 8242 cmp r2, r0 5388 005e 07D0 beq .L441 2231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5389 .loc 1 2231 7 discriminator 4 view .LVU1533 5390 0060 00F59630 add r0, r0, #76800 5391 0064 8242 cmp r2, r0 5392 0066 03D0 beq .L441 2231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5393 .loc 1 2231 7 discriminator 5 view .LVU1534 5394 0068 00F54060 add r0, r0, #3072 5395 006c 8242 cmp r2, r0 5396 006e 04D1 bne .L442 5397 .L441: 2234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set master mode */ 5398 .loc 1 2234 5 is_stmt 1 view .LVU1535 ARM GAS /tmp/cc9HXhVl.s page 186 2234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set master mode */ 5399 .loc 1 2234 13 is_stmt 0 view .LVU1536 5400 0070 24F08004 bic r4, r4, #128 5401 .LVL357: 2236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5402 .loc 1 2236 5 is_stmt 1 view .LVU1537 2236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5403 .loc 1 2236 29 is_stmt 0 view .LVU1538 5404 0074 8968 ldr r1, [r1, #8] 5405 .LVL358: 2236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5406 .loc 1 2236 13 view .LVU1539 5407 0076 2143 orrs r1, r1, r4 5408 .LVL359: 2239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5409 .loc 1 2239 5 is_stmt 1 view .LVU1540 2239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5410 .loc 1 2239 26 is_stmt 0 view .LVU1541 5411 0078 9160 str r1, [r2, #8] 5412 .LVL360: 5413 .L442: 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5414 .loc 1 2243 3 is_stmt 1 view .LVU1542 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5415 .loc 1 2243 15 is_stmt 0 view .LVU1543 5416 007a 0122 movs r2, #1 5417 007c 83F83D20 strb r2, [r3, #61] 2245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5418 .loc 1 2245 3 is_stmt 1 view .LVU1544 2245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5419 .loc 1 2245 3 view .LVU1545 5420 0080 0020 movs r0, #0 5421 0082 83F83C00 strb r0, [r3, #60] 2245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5422 .loc 1 2245 3 view .LVU1546 2247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5423 .loc 1 2247 3 view .LVU1547 2248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5424 .loc 1 2248 1 is_stmt 0 view .LVU1548 5425 0086 30BC pop {r4, r5} 5426 .LCFI43: 5427 .cfi_restore 5 5428 .cfi_restore 4 5429 .cfi_def_cfa_offset 0 5430 0088 7047 bx lr 5431 .LVL361: 5432 .L443: 2200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5433 .loc 1 2200 3 view .LVU1549 5434 008a 0220 movs r0, #2 5435 .LVL362: 2248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5436 .loc 1 2248 1 view .LVU1550 5437 008c 7047 bx lr 5438 .L449: 5439 008e 00BF .align 2 5440 .L448: ARM GAS /tmp/cc9HXhVl.s page 187 5441 0090 002C0140 .word 1073818624 5442 .cfi_endproc 5443 .LFE358: 5445 .section .text.HAL_TIMEx_ConfigBreakDeadTime,"ax",%progbits 5446 .align 1 5447 .global HAL_TIMEx_ConfigBreakDeadTime 5448 .syntax unified 5449 .thumb 5450 .thumb_func 5452 HAL_TIMEx_ConfigBreakDeadTime: 5453 .LVL363: 5454 .LFB359: 2263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Keep this variable initialized to 0 as it is used to configure BDTR register */ 5455 .loc 1 2263 1 is_stmt 1 view -0 5456 .cfi_startproc 5457 @ args = 0, pretend = 0, frame = 0 5458 @ frame_needed = 0, uses_anonymous_args = 0 5459 @ link register save eliminated. 2265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5460 .loc 1 2265 3 view .LVU1552 2268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_OSSR_STATE(sBreakDeadTimeConfig->OffStateRunMode)); 5461 .loc 1 2268 3 view .LVU1553 2269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_OSSI_STATE(sBreakDeadTimeConfig->OffStateIDLEMode)); 5462 .loc 1 2269 3 view .LVU1554 2270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_LOCK_LEVEL(sBreakDeadTimeConfig->LockLevel)); 5463 .loc 1 2270 3 view .LVU1555 2271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_DEADTIME(sBreakDeadTimeConfig->DeadTime)); 5464 .loc 1 2271 3 view .LVU1556 2272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_STATE(sBreakDeadTimeConfig->BreakState)); 5465 .loc 1 2272 3 view .LVU1557 2273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_POLARITY(sBreakDeadTimeConfig->BreakPolarity)); 5466 .loc 1 2273 3 view .LVU1558 2274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_FILTER(sBreakDeadTimeConfig->BreakFilter)); 5467 .loc 1 2274 3 view .LVU1559 2275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_AUTOMATIC_OUTPUT_STATE(sBreakDeadTimeConfig->AutomaticOutput)); 5468 .loc 1 2275 3 view .LVU1560 2276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5469 .loc 1 2276 3 view .LVU1561 2279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5470 .loc 1 2279 3 view .LVU1562 2279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5471 .loc 1 2279 3 view .LVU1563 5472 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 5473 0004 012B cmp r3, #1 5474 0006 55D0 beq .L457 2263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Keep this variable initialized to 0 as it is used to configure BDTR register */ 5475 .loc 1 2263 1 is_stmt 0 discriminator 2 view .LVU1564 5476 0008 10B4 push {r4} 5477 .LCFI44: 5478 .cfi_def_cfa_offset 4 5479 .cfi_offset 4, -4 5480 000a 0246 mov r2, r0 2279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5481 .loc 1 2279 3 is_stmt 1 discriminator 2 view .LVU1565 5482 000c 0123 movs r3, #1 5483 000e 80F83C30 strb r3, [r0, #60] 2279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/cc9HXhVl.s page 188 5484 .loc 1 2279 3 discriminator 2 view .LVU1566 2285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_LOCK, sBreakDeadTimeConfig->LockLevel); 5485 .loc 1 2285 3 discriminator 2 view .LVU1567 5486 0012 CB68 ldr r3, [r1, #12] 5487 .LVL364: 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSI, sBreakDeadTimeConfig->OffStateIDLEMode); 5488 .loc 1 2286 3 discriminator 2 view .LVU1568 5489 0014 23F44073 bic r3, r3, #768 5490 .LVL365: 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSI, sBreakDeadTimeConfig->OffStateIDLEMode); 5491 .loc 1 2286 3 is_stmt 0 discriminator 2 view .LVU1569 5492 0018 8868 ldr r0, [r1, #8] 5493 .LVL366: 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSI, sBreakDeadTimeConfig->OffStateIDLEMode); 5494 .loc 1 2286 3 discriminator 2 view .LVU1570 5495 001a 0343 orrs r3, r3, r0 5496 .LVL367: 2287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSR, sBreakDeadTimeConfig->OffStateRunMode); 5497 .loc 1 2287 3 is_stmt 1 discriminator 2 view .LVU1571 5498 001c 23F48063 bic r3, r3, #1024 5499 .LVL368: 2287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSR, sBreakDeadTimeConfig->OffStateRunMode); 5500 .loc 1 2287 3 is_stmt 0 discriminator 2 view .LVU1572 5501 0020 4868 ldr r0, [r1, #4] 5502 .LVL369: 2287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSR, sBreakDeadTimeConfig->OffStateRunMode); 5503 .loc 1 2287 3 discriminator 2 view .LVU1573 5504 0022 0343 orrs r3, r3, r0 5505 .LVL370: 2288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKE, sBreakDeadTimeConfig->BreakState); 5506 .loc 1 2288 3 is_stmt 1 discriminator 2 view .LVU1574 5507 0024 23F40063 bic r3, r3, #2048 5508 .LVL371: 2288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKE, sBreakDeadTimeConfig->BreakState); 5509 .loc 1 2288 3 is_stmt 0 discriminator 2 view .LVU1575 5510 0028 0868 ldr r0, [r1] 5511 .LVL372: 2288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKE, sBreakDeadTimeConfig->BreakState); 5512 .loc 1 2288 3 discriminator 2 view .LVU1576 5513 002a 0343 orrs r3, r3, r0 5514 .LVL373: 2289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKP, sBreakDeadTimeConfig->BreakPolarity); 5515 .loc 1 2289 3 is_stmt 1 discriminator 2 view .LVU1577 5516 002c 23F48053 bic r3, r3, #4096 5517 .LVL374: 2289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKP, sBreakDeadTimeConfig->BreakPolarity); 5518 .loc 1 2289 3 is_stmt 0 discriminator 2 view .LVU1578 5519 0030 0869 ldr r0, [r1, #16] 5520 .LVL375: 2289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKP, sBreakDeadTimeConfig->BreakPolarity); 5521 .loc 1 2289 3 discriminator 2 view .LVU1579 5522 0032 0343 orrs r3, r3, r0 5523 .LVL376: 2290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_AOE, sBreakDeadTimeConfig->AutomaticOutput); 5524 .loc 1 2290 3 is_stmt 1 discriminator 2 view .LVU1580 5525 0034 23F40053 bic r3, r3, #8192 5526 .LVL377: ARM GAS /tmp/cc9HXhVl.s page 189 2290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_AOE, sBreakDeadTimeConfig->AutomaticOutput); 5527 .loc 1 2290 3 is_stmt 0 discriminator 2 view .LVU1581 5528 0038 4869 ldr r0, [r1, #20] 5529 .LVL378: 2290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_AOE, sBreakDeadTimeConfig->AutomaticOutput); 5530 .loc 1 2290 3 discriminator 2 view .LVU1582 5531 003a 0343 orrs r3, r3, r0 5532 .LVL379: 2291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKF, (sBreakDeadTimeConfig->BreakFilter << TIM_BDTR_BKF_Pos)); 5533 .loc 1 2291 3 is_stmt 1 discriminator 2 view .LVU1583 5534 003c 23F48043 bic r3, r3, #16384 5535 .LVL380: 2291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKF, (sBreakDeadTimeConfig->BreakFilter << TIM_BDTR_BKF_Pos)); 5536 .loc 1 2291 3 is_stmt 0 discriminator 2 view .LVU1584 5537 0040 086B ldr r0, [r1, #48] 5538 .LVL381: 2291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKF, (sBreakDeadTimeConfig->BreakFilter << TIM_BDTR_BKF_Pos)); 5539 .loc 1 2291 3 discriminator 2 view .LVU1585 5540 0042 0343 orrs r3, r3, r0 5541 .LVL382: 2292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5542 .loc 1 2292 3 is_stmt 1 discriminator 2 view .LVU1586 5543 0044 23F47023 bic r3, r3, #983040 5544 .LVL383: 2292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5545 .loc 1 2292 3 is_stmt 0 discriminator 2 view .LVU1587 5546 0048 8869 ldr r0, [r1, #24] 5547 .LVL384: 2292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5548 .loc 1 2292 3 discriminator 2 view .LVU1588 5549 004a 43EA0043 orr r3, r3, r0, lsl #16 5550 .LVL385: 2294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5551 .loc 1 2294 3 is_stmt 1 discriminator 2 view .LVU1589 2294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5552 .loc 1 2294 7 is_stmt 0 discriminator 2 view .LVU1590 5553 004e 1068 ldr r0, [r2] 2294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5554 .loc 1 2294 6 discriminator 2 view .LVU1591 5555 0050 194C ldr r4, .L462 5556 0052 A042 cmp r0, r4 5557 0054 03D0 beq .L452 2294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5558 .loc 1 2294 7 discriminator 1 view .LVU1592 5559 0056 04F50064 add r4, r4, #2048 5560 005a A042 cmp r0, r4 5561 005c 03D1 bne .L453 5562 .L452: 2297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5563 .loc 1 2297 5 is_stmt 1 view .LVU1593 2300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5564 .loc 1 2300 5 view .LVU1594 5565 005e 23F08053 bic r3, r3, #268435456 5566 .LVL386: 2300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5567 .loc 1 2300 5 is_stmt 0 view .LVU1595 5568 0062 CC69 ldr r4, [r1, #28] ARM GAS /tmp/cc9HXhVl.s page 190 5569 0064 2343 orrs r3, r3, r4 5570 .LVL387: 5571 .L453: 2303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5572 .loc 1 2303 3 is_stmt 1 view .LVU1596 2303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5573 .loc 1 2303 6 is_stmt 0 view .LVU1597 5574 0066 144C ldr r4, .L462 5575 0068 A042 cmp r0, r4 5576 006a 0AD0 beq .L454 2303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5577 .loc 1 2303 7 discriminator 1 view .LVU1598 5578 006c 04F50064 add r4, r4, #2048 5579 0070 A042 cmp r0, r4 5580 0072 06D0 beq .L454 5581 .LVL388: 5582 .L455: 2326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5583 .loc 1 2326 3 is_stmt 1 view .LVU1599 2326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5584 .loc 1 2326 24 is_stmt 0 view .LVU1600 5585 0074 4364 str r3, [r0, #68] 2328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5586 .loc 1 2328 3 is_stmt 1 view .LVU1601 2328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5587 .loc 1 2328 3 view .LVU1602 5588 0076 0020 movs r0, #0 5589 0078 82F83C00 strb r0, [r2, #60] 2328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5590 .loc 1 2328 3 view .LVU1603 2330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5591 .loc 1 2330 3 view .LVU1604 2331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5592 .loc 1 2331 1 is_stmt 0 view .LVU1605 5593 007c 5DF8044B ldr r4, [sp], #4 5594 .LCFI45: 5595 .cfi_remember_state 5596 .cfi_restore 4 5597 .cfi_def_cfa_offset 0 5598 0080 7047 bx lr 5599 .LVL389: 5600 .L454: 5601 .LCFI46: 5602 .cfi_restore_state 2306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK2_POLARITY(sBreakDeadTimeConfig->Break2Polarity)); 5603 .loc 1 2306 5 is_stmt 1 view .LVU1606 2307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_FILTER(sBreakDeadTimeConfig->Break2Filter)); 5604 .loc 1 2307 5 view .LVU1607 2308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5605 .loc 1 2308 5 view .LVU1608 2311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2E, sBreakDeadTimeConfig->Break2State); 5606 .loc 1 2311 5 view .LVU1609 5607 0082 23F47003 bic r3, r3, #15728640 5608 .LVL390: 2311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2E, sBreakDeadTimeConfig->Break2State); 5609 .loc 1 2311 5 is_stmt 0 view .LVU1610 5610 0086 8C6A ldr r4, [r1, #40] ARM GAS /tmp/cc9HXhVl.s page 191 5611 0088 43EA0453 orr r3, r3, r4, lsl #20 5612 .LVL391: 2312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2P, sBreakDeadTimeConfig->Break2Polarity); 5613 .loc 1 2312 5 is_stmt 1 view .LVU1611 5614 008c 23F08073 bic r3, r3, #16777216 5615 .LVL392: 2312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2P, sBreakDeadTimeConfig->Break2Polarity); 5616 .loc 1 2312 5 is_stmt 0 view .LVU1612 5617 0090 0C6A ldr r4, [r1, #32] 2312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2P, sBreakDeadTimeConfig->Break2Polarity); 5618 .loc 1 2312 5 view .LVU1613 5619 0092 2343 orrs r3, r3, r4 5620 .LVL393: 2313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5621 .loc 1 2313 5 is_stmt 1 view .LVU1614 5622 0094 23F00073 bic r3, r3, #33554432 5623 .LVL394: 2313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5624 .loc 1 2313 5 is_stmt 0 view .LVU1615 5625 0098 4C6A ldr r4, [r1, #36] 5626 009a 2343 orrs r3, r3, r4 5627 .LVL395: 2315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5628 .loc 1 2315 5 is_stmt 1 view .LVU1616 2315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5629 .loc 1 2315 8 is_stmt 0 view .LVU1617 5630 009c 064C ldr r4, .L462 5631 009e A042 cmp r0, r4 5632 00a0 03D0 beq .L456 2315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5633 .loc 1 2315 9 discriminator 1 view .LVU1618 5634 00a2 04F50064 add r4, r4, #2048 5635 00a6 A042 cmp r0, r4 5636 00a8 E4D1 bne .L455 5637 .L456: 2318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5638 .loc 1 2318 7 is_stmt 1 view .LVU1619 2321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5639 .loc 1 2321 7 view .LVU1620 5640 00aa 23F00053 bic r3, r3, #536870912 5641 .LVL396: 2321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5642 .loc 1 2321 7 is_stmt 0 view .LVU1621 5643 00ae C96A ldr r1, [r1, #44] 5644 .LVL397: 2321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5645 .loc 1 2321 7 view .LVU1622 5646 00b0 0B43 orrs r3, r3, r1 5647 .LVL398: 2321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5648 .loc 1 2321 7 view .LVU1623 5649 00b2 DFE7 b .L455 5650 .LVL399: 5651 .L457: 5652 .LCFI47: 5653 .cfi_def_cfa_offset 0 5654 .cfi_restore 4 ARM GAS /tmp/cc9HXhVl.s page 192 2279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5655 .loc 1 2279 3 view .LVU1624 5656 00b4 0220 movs r0, #2 5657 .LVL400: 2331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5658 .loc 1 2331 1 view .LVU1625 5659 00b6 7047 bx lr 5660 .L463: 5661 .align 2 5662 .L462: 5663 00b8 002C0140 .word 1073818624 5664 .cfi_endproc 5665 .LFE359: 5667 .section .text.HAL_TIMEx_ConfigBreakInput,"ax",%progbits 5668 .align 1 5669 .global HAL_TIMEx_ConfigBreakInput 5670 .syntax unified 5671 .thumb 5672 .thumb_func 5674 HAL_TIMEx_ConfigBreakInput: 5675 .LVL401: 5676 .LFB360: 2347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 5677 .loc 1 2347 1 is_stmt 1 view -0 5678 .cfi_startproc 5679 @ args = 0, pretend = 0, frame = 0 5680 @ frame_needed = 0, uses_anonymous_args = 0 2347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 5681 .loc 1 2347 1 is_stmt 0 view .LVU1627 5682 0000 0346 mov r3, r0 2348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmporx; 5683 .loc 1 2348 3 is_stmt 1 view .LVU1628 5684 .LVL402: 2349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_enable_mask; 5685 .loc 1 2349 3 view .LVU1629 2350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_polarity_mask; 5686 .loc 1 2350 3 view .LVU1630 2351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_enable_bitpos; 5687 .loc 1 2351 3 view .LVU1631 2352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_polarity_bitpos; 5688 .loc 1 2352 3 view .LVU1632 2353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5689 .loc 1 2353 3 view .LVU1633 2356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUT(BreakInput)); 5690 .loc 1 2356 3 view .LVU1634 2357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUTSOURCE(sBreakInputConfig->Source)); 5691 .loc 1 2357 3 view .LVU1635 2358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUTSOURCE_STATE(sBreakInputConfig->Enable)); 5692 .loc 1 2358 3 view .LVU1636 2359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUTSOURCE_POLARITY(sBreakInputConfig->Polarity)); 5693 .loc 1 2359 3 view .LVU1637 2360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5694 .loc 1 2360 3 view .LVU1638 2363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5695 .loc 1 2363 3 view .LVU1639 2363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5696 .loc 1 2363 3 view .LVU1640 ARM GAS /tmp/cc9HXhVl.s page 193 5697 0002 90F83C00 ldrb r0, [r0, #60] @ zero_extendqisi2 5698 .LVL403: 2363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5699 .loc 1 2363 3 is_stmt 0 view .LVU1641 5700 0006 0128 cmp r0, #1 5701 0008 5ED0 beq .L476 2347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 5702 .loc 1 2347 1 discriminator 2 view .LVU1642 5703 000a 70B5 push {r4, r5, r6, lr} 5704 .LCFI48: 5705 .cfi_def_cfa_offset 16 5706 .cfi_offset 4, -16 5707 .cfi_offset 5, -12 5708 .cfi_offset 6, -8 5709 .cfi_offset 14, -4 2363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5710 .loc 1 2363 3 is_stmt 1 discriminator 2 view .LVU1643 5711 000c 0120 movs r0, #1 5712 000e 83F83C00 strb r0, [r3, #60] 2363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5713 .loc 1 2363 3 discriminator 2 view .LVU1644 2365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5714 .loc 1 2365 3 discriminator 2 view .LVU1645 2365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5715 .loc 1 2365 28 is_stmt 0 discriminator 2 view .LVU1646 5716 0012 1568 ldr r5, [r2] 2365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5717 .loc 1 2365 3 discriminator 2 view .LVU1647 5718 0014 681E subs r0, r5, #1 5719 0016 0F28 cmp r0, #15 5720 0018 29D8 bhi .L466 5721 001a DFE800F0 tbb [pc, r0] 5722 .L468: 5723 001e 08 .byte (.L472-.L468)/2 5724 001f 2D .byte (.L477-.L468)/2 5725 0020 28 .byte (.L466-.L468)/2 5726 0021 0E .byte (.L470-.L468)/2 5727 0022 28 .byte (.L466-.L468)/2 5728 0023 28 .byte (.L466-.L468)/2 5729 0024 28 .byte (.L466-.L468)/2 5730 0025 1C .byte (.L469-.L468)/2 5731 0026 28 .byte (.L466-.L468)/2 5732 0027 28 .byte (.L466-.L468)/2 5733 0028 28 .byte (.L466-.L468)/2 5734 0029 28 .byte (.L466-.L468)/2 5735 002a 28 .byte (.L466-.L468)/2 5736 002b 28 .byte (.L466-.L468)/2 5737 002c 28 .byte (.L466-.L468)/2 5738 002d 22 .byte (.L467-.L468)/2 5739 .p2align 1 5740 .L472: 2365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5741 .loc 1 2365 3 view .LVU1648 5742 002e 0920 movs r0, #9 5743 0030 4FF0000E mov lr, #0 5744 0034 4FF4007C mov ip, #512 5745 0038 04E0 b .L471 ARM GAS /tmp/cc9HXhVl.s page 194 5746 .L470: 2385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP2E_Pos; 5747 .loc 1 2385 7 is_stmt 1 view .LVU1649 5748 .LVL404: 2386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP2P; 5749 .loc 1 2386 7 view .LVU1650 2387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP2P_Pos; 5750 .loc 1 2387 7 view .LVU1651 2388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5751 .loc 1 2388 7 view .LVU1652 2389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5752 .loc 1 2389 7 view .LVU1653 2388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5753 .loc 1 2388 28 is_stmt 0 view .LVU1654 5754 003a 0B20 movs r0, #11 2386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP2P; 5755 .loc 1 2386 26 view .LVU1655 5756 003c 4FF0020E mov lr, #2 2387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP2P_Pos; 5757 .loc 1 2387 26 view .LVU1656 5758 0040 4FF4006C mov ip, #2048 5759 .LVL405: 5760 .L471: 2451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5761 .loc 1 2451 3 is_stmt 1 view .LVU1657 5762 0044 0129 cmp r1, #1 5763 0046 1DD0 beq .L473 5764 0048 0229 cmp r1, #2 5765 004a 2CD0 beq .L474 5766 004c 0120 movs r0, #1 5767 .LVL406: 5768 .L475: 2492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5769 .loc 1 2492 3 view .LVU1658 2492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5770 .loc 1 2492 3 view .LVU1659 5771 004e 0022 movs r2, #0 5772 0050 83F83C20 strb r2, [r3, #60] 2492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5773 .loc 1 2492 3 view .LVU1660 2494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5774 .loc 1 2494 3 view .LVU1661 2495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5775 .loc 1 2495 1 is_stmt 0 view .LVU1662 5776 0054 70BD pop {r4, r5, r6, pc} 5777 .LVL407: 5778 .L469: 2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP3E_Pos; 5779 .loc 1 2393 7 is_stmt 1 view .LVU1663 2394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP3P; 5780 .loc 1 2394 7 view .LVU1664 2395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP3P_Pos; 5781 .loc 1 2395 7 view .LVU1665 2396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5782 .loc 1 2396 7 view .LVU1666 2397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5783 .loc 1 2397 7 view .LVU1667 ARM GAS /tmp/cc9HXhVl.s page 195 2396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5784 .loc 1 2396 28 is_stmt 0 view .LVU1668 5785 0056 0C20 movs r0, #12 2394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP3P; 5786 .loc 1 2394 26 view .LVU1669 5787 0058 4FF0030E mov lr, #3 2395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP3P_Pos; 5788 .loc 1 2395 26 view .LVU1670 5789 005c 4FF4805C mov ip, #4096 2397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5790 .loc 1 2397 7 view .LVU1671 5791 0060 F0E7 b .L471 5792 .LVL408: 5793 .L467: 2401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP4E_Pos; 5794 .loc 1 2401 7 is_stmt 1 view .LVU1672 2402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP4P; 5795 .loc 1 2402 7 view .LVU1673 2403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP4P_Pos; 5796 .loc 1 2403 7 view .LVU1674 2404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5797 .loc 1 2404 7 view .LVU1675 2405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5798 .loc 1 2405 7 view .LVU1676 2404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5799 .loc 1 2404 28 is_stmt 0 view .LVU1677 5800 0062 0D20 movs r0, #13 2402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP4P; 5801 .loc 1 2402 26 view .LVU1678 5802 0064 4FF0040E mov lr, #4 2403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP4P_Pos; 5803 .loc 1 2403 26 view .LVU1679 5804 0068 4FF4005C mov ip, #8192 2405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5805 .loc 1 2405 7 view .LVU1680 5806 006c EAE7 b .L471 5807 .LVL409: 5808 .L466: 2443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = 0U; 5809 .loc 1 2443 7 is_stmt 1 view .LVU1681 2444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = 0U; 5810 .loc 1 2444 7 view .LVU1682 2445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = 0U; 5811 .loc 1 2445 7 view .LVU1683 2446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5812 .loc 1 2446 7 view .LVU1684 2447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5813 .loc 1 2447 7 view .LVU1685 2446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5814 .loc 1 2446 28 is_stmt 0 view .LVU1686 5815 006e 0020 movs r0, #0 2445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = 0U; 5816 .loc 1 2445 26 view .LVU1687 5817 0070 8646 mov lr, r0 2444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = 0U; 5818 .loc 1 2444 26 view .LVU1688 5819 0072 8446 mov ip, r0 ARM GAS /tmp/cc9HXhVl.s page 196 2443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = 0U; 5820 .loc 1 2443 24 view .LVU1689 5821 0074 0546 mov r5, r0 2447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5822 .loc 1 2447 7 view .LVU1690 5823 0076 E5E7 b .L471 5824 .LVL410: 5825 .L477: 2380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5826 .loc 1 2380 28 view .LVU1691 5827 0078 0A20 movs r0, #10 2378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP1P; 5828 .loc 1 2378 26 view .LVU1692 5829 007a 4FF0010E mov lr, #1 2379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP1P_Pos; 5830 .loc 1 2379 26 view .LVU1693 5831 007e 4FF4806C mov ip, #1024 5832 0082 DFE7 b .L471 5833 .LVL411: 5834 .L473: 2456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5835 .loc 1 2456 7 is_stmt 1 view .LVU1694 2456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5836 .loc 1 2456 20 is_stmt 0 view .LVU1695 5837 0084 1C68 ldr r4, [r3] 2456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5838 .loc 1 2456 14 view .LVU1696 5839 0086 266E ldr r6, [r4, #96] 5840 .LVL412: 2459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Enable << bkin_enable_bitpos) & bkin_enable_mask; 5841 .loc 1 2459 7 is_stmt 1 view .LVU1697 2460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5842 .loc 1 2460 7 view .LVU1698 2460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5843 .loc 1 2460 35 is_stmt 0 view .LVU1699 5844 0088 5168 ldr r1, [r2, #4] 5845 .LVL413: 2460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5846 .loc 1 2460 44 view .LVU1700 5847 008a 01FA0EF1 lsl r1, r1, lr 5848 008e 7140 eors r1, r1, r6 5849 0090 2940 ands r1, r1, r5 2460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5850 .loc 1 2460 14 view .LVU1701 5851 0092 7140 eors r1, r1, r6 5852 .LVL414: 2463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Polarity << bkin_polarity_bitpos) & bkin_polarity_mask; 5853 .loc 1 2463 7 is_stmt 1 view .LVU1702 2464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5854 .loc 1 2464 7 view .LVU1703 2464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5855 .loc 1 2464 35 is_stmt 0 view .LVU1704 5856 0094 9268 ldr r2, [r2, #8] 5857 .LVL415: 2464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5858 .loc 1 2464 46 view .LVU1705 5859 0096 8240 lsls r2, r2, r0 ARM GAS /tmp/cc9HXhVl.s page 197 5860 0098 4A40 eors r2, r2, r1 5861 009a 02EA0C02 and r2, r2, ip 2464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5862 .loc 1 2464 14 view .LVU1706 5863 009e 4A40 eors r2, r2, r1 5864 .LVL416: 2467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5865 .loc 1 2467 7 is_stmt 1 view .LVU1707 2467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5866 .loc 1 2467 27 is_stmt 0 view .LVU1708 5867 00a0 2266 str r2, [r4, #96] 2468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5868 .loc 1 2468 7 is_stmt 1 view .LVU1709 2348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmporx; 5869 .loc 1 2348 21 is_stmt 0 view .LVU1710 5870 00a2 0020 movs r0, #0 5871 .LVL417: 2468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5872 .loc 1 2468 7 view .LVU1711 5873 00a4 D3E7 b .L475 5874 .LVL418: 5875 .L474: 2473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5876 .loc 1 2473 7 is_stmt 1 view .LVU1712 2473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5877 .loc 1 2473 20 is_stmt 0 view .LVU1713 5878 00a6 1C68 ldr r4, [r3] 2473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5879 .loc 1 2473 14 view .LVU1714 5880 00a8 666E ldr r6, [r4, #100] 5881 .LVL419: 2476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Enable << bkin_enable_bitpos) & bkin_enable_mask; 5882 .loc 1 2476 7 is_stmt 1 view .LVU1715 2477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5883 .loc 1 2477 7 view .LVU1716 2477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5884 .loc 1 2477 35 is_stmt 0 view .LVU1717 5885 00aa 5168 ldr r1, [r2, #4] 5886 .LVL420: 2477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5887 .loc 1 2477 44 view .LVU1718 5888 00ac 01FA0EF1 lsl r1, r1, lr 5889 00b0 7140 eors r1, r1, r6 5890 00b2 2940 ands r1, r1, r5 2477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5891 .loc 1 2477 14 view .LVU1719 5892 00b4 7140 eors r1, r1, r6 5893 .LVL421: 2480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Polarity << bkin_polarity_bitpos) & bkin_polarity_mask; 5894 .loc 1 2480 7 is_stmt 1 view .LVU1720 2481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5895 .loc 1 2481 7 view .LVU1721 2481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5896 .loc 1 2481 35 is_stmt 0 view .LVU1722 5897 00b6 9268 ldr r2, [r2, #8] 5898 .LVL422: 2481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/cc9HXhVl.s page 198 5899 .loc 1 2481 46 view .LVU1723 5900 00b8 8240 lsls r2, r2, r0 5901 00ba 4A40 eors r2, r2, r1 5902 00bc 02EA0C02 and r2, r2, ip 2481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5903 .loc 1 2481 14 view .LVU1724 5904 00c0 4A40 eors r2, r2, r1 5905 .LVL423: 2484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5906 .loc 1 2484 7 is_stmt 1 view .LVU1725 2484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5907 .loc 1 2484 27 is_stmt 0 view .LVU1726 5908 00c2 6266 str r2, [r4, #100] 2485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5909 .loc 1 2485 7 is_stmt 1 view .LVU1727 2348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmporx; 5910 .loc 1 2348 21 is_stmt 0 view .LVU1728 5911 00c4 0020 movs r0, #0 5912 .LVL424: 2485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5913 .loc 1 2485 7 view .LVU1729 5914 00c6 C2E7 b .L475 5915 .LVL425: 5916 .L476: 5917 .LCFI49: 5918 .cfi_def_cfa_offset 0 5919 .cfi_restore 4 5920 .cfi_restore 5 5921 .cfi_restore 6 5922 .cfi_restore 14 2363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5923 .loc 1 2363 3 view .LVU1730 5924 00c8 0220 movs r0, #2 2495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5925 .loc 1 2495 1 view .LVU1731 5926 00ca 7047 bx lr 5927 .cfi_endproc 5928 .LFE360: 5930 .section .text.HAL_TIMEx_RemapConfig,"ax",%progbits 5931 .align 1 5932 .global HAL_TIMEx_RemapConfig 5933 .syntax unified 5934 .thumb 5935 .thumb_func 5937 HAL_TIMEx_RemapConfig: 5938 .LVL426: 5939 .LFB361: 2608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check parameters */ 5940 .loc 1 2608 1 is_stmt 1 view -0 5941 .cfi_startproc 5942 @ args = 0, pretend = 0, frame = 0 5943 @ frame_needed = 0, uses_anonymous_args = 0 5944 @ link register save eliminated. 2610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_REMAP(Remap)); 5945 .loc 1 2610 3 view .LVU1733 2611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5946 .loc 1 2611 3 view .LVU1734 ARM GAS /tmp/cc9HXhVl.s page 199 2613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5947 .loc 1 2613 3 view .LVU1735 2613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5948 .loc 1 2613 3 view .LVU1736 5949 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 5950 0004 012B cmp r3, #1 5951 0006 0DD0 beq .L484 2613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5952 .loc 1 2613 3 discriminator 2 view .LVU1737 5953 0008 0123 movs r3, #1 5954 000a 80F83C30 strb r3, [r0, #60] 2613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5955 .loc 1 2613 3 discriminator 2 view .LVU1738 2615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5956 .loc 1 2615 3 discriminator 2 view .LVU1739 5957 000e 0268 ldr r2, [r0] 5958 0010 136E ldr r3, [r2, #96] 5959 0012 23F47033 bic r3, r3, #245760 5960 0016 1943 orrs r1, r1, r3 5961 .LVL427: 2615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5962 .loc 1 2615 3 is_stmt 0 discriminator 2 view .LVU1740 5963 0018 1166 str r1, [r2, #96] 2617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5964 .loc 1 2617 3 is_stmt 1 discriminator 2 view .LVU1741 2617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5965 .loc 1 2617 3 discriminator 2 view .LVU1742 5966 001a 0023 movs r3, #0 5967 001c 80F83C30 strb r3, [r0, #60] 2617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5968 .loc 1 2617 3 discriminator 2 view .LVU1743 2619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5969 .loc 1 2619 3 discriminator 2 view .LVU1744 2619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5970 .loc 1 2619 10 is_stmt 0 discriminator 2 view .LVU1745 5971 0020 1846 mov r0, r3 5972 .LVL428: 2619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5973 .loc 1 2619 10 discriminator 2 view .LVU1746 5974 0022 7047 bx lr 5975 .LVL429: 5976 .L484: 2613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5977 .loc 1 2613 3 view .LVU1747 5978 0024 0220 movs r0, #2 5979 .LVL430: 2620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5980 .loc 1 2620 1 view .LVU1748 5981 0026 7047 bx lr 5982 .cfi_endproc 5983 .LFE361: 5985 .section .text.HAL_TIMEx_TISelection,"ax",%progbits 5986 .align 1 5987 .global HAL_TIMEx_TISelection 5988 .syntax unified 5989 .thumb 5990 .thumb_func ARM GAS /tmp/cc9HXhVl.s page 200 5992 HAL_TIMEx_TISelection: 5993 .LVL431: 5994 .LFB362: 2782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 5995 .loc 1 2782 1 is_stmt 1 view -0 5996 .cfi_startproc 5997 @ args = 0, pretend = 0, frame = 0 5998 @ frame_needed = 0, uses_anonymous_args = 0 5999 @ link register save eliminated. 2782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 6000 .loc 1 2782 1 is_stmt 0 view .LVU1750 6001 0000 0346 mov r3, r0 2783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6002 .loc 1 2783 3 is_stmt 1 view .LVU1751 6003 .LVL432: 2786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_TISEL(TISelection)); 6004 .loc 1 2786 3 view .LVU1752 2787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6005 .loc 1 2787 3 view .LVU1753 2789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6006 .loc 1 2789 3 view .LVU1754 2789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6007 .loc 1 2789 3 view .LVU1755 6008 0002 90F83C00 ldrb r0, [r0, #60] @ zero_extendqisi2 6009 .LVL433: 2789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6010 .loc 1 2789 3 is_stmt 0 view .LVU1756 6011 0006 0128 cmp r0, #1 6012 0008 44D0 beq .L495 2789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6013 .loc 1 2789 3 is_stmt 1 discriminator 2 view .LVU1757 6014 000a 0120 movs r0, #1 6015 000c 83F83C00 strb r0, [r3, #60] 2789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6016 .loc 1 2789 3 discriminator 2 view .LVU1758 2791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6017 .loc 1 2791 3 discriminator 2 view .LVU1759 6018 0010 0C2A cmp r2, #12 6019 0012 3AD8 bhi .L496 6020 0014 DFE802F0 tbb [pc, r2] 6021 .L489: 6022 0018 07 .byte (.L492-.L489)/2 6023 0019 39 .byte (.L496-.L489)/2 6024 001a 39 .byte (.L496-.L489)/2 6025 001b 39 .byte (.L496-.L489)/2 6026 001c 21 .byte (.L491-.L489)/2 6027 001d 39 .byte (.L496-.L489)/2 6028 001e 39 .byte (.L496-.L489)/2 6029 001f 39 .byte (.L496-.L489)/2 6030 0020 29 .byte (.L490-.L489)/2 6031 0021 39 .byte (.L496-.L489)/2 6032 0022 39 .byte (.L496-.L489)/2 6033 0023 39 .byte (.L496-.L489)/2 6034 0024 31 .byte (.L488-.L489)/2 6035 0025 00 .p2align 1 6036 .L492: 2794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/cc9HXhVl.s page 201 6037 .loc 1 2794 7 view .LVU1760 6038 0026 1868 ldr r0, [r3] 6039 0028 C26D ldr r2, [r0, #92] 6040 .LVL434: 2794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6041 .loc 1 2794 7 is_stmt 0 view .LVU1761 6042 002a 22F00F02 bic r2, r2, #15 6043 002e 0A43 orrs r2, r2, r1 6044 0030 C265 str r2, [r0, #92] 2797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6045 .loc 1 2797 7 is_stmt 1 view .LVU1762 2797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6046 .loc 1 2797 11 is_stmt 0 view .LVU1763 6047 0032 1A68 ldr r2, [r3] 2797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6048 .loc 1 2797 10 view .LVU1764 6049 0034 1849 ldr r1, .L497 6050 .LVL435: 2797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6051 .loc 1 2797 10 view .LVU1765 6052 0036 8A42 cmp r2, r1 6053 0038 09D0 beq .L493 2797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6054 .loc 1 2797 11 discriminator 1 view .LVU1766 6055 003a 01F58061 add r1, r1, #1024 6056 003e 8A42 cmp r2, r1 6057 0040 05D0 beq .L493 2803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6058 .loc 1 2803 9 is_stmt 1 view .LVU1767 6059 0042 916E ldr r1, [r2, #104] 6060 0044 21F00101 bic r1, r1, #1 6061 0048 9166 str r1, [r2, #104] 2783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6062 .loc 1 2783 21 is_stmt 0 view .LVU1768 6063 004a 0020 movs r0, #0 6064 004c 1EE0 b .L487 6065 .L493: 2799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6066 .loc 1 2799 9 is_stmt 1 view .LVU1769 6067 004e 916E ldr r1, [r2, #104] 6068 0050 41F00101 orr r1, r1, #1 6069 0054 9166 str r1, [r2, #104] 2783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6070 .loc 1 2783 21 is_stmt 0 view .LVU1770 6071 0056 0020 movs r0, #0 2799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6072 .loc 1 2799 9 view .LVU1771 6073 0058 18E0 b .L487 6074 .LVL436: 6075 .L491: 2807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 6076 .loc 1 2807 7 is_stmt 1 view .LVU1772 6077 005a 1868 ldr r0, [r3] 6078 005c C26D ldr r2, [r0, #92] 6079 .LVL437: 2807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 6080 .loc 1 2807 7 is_stmt 0 view .LVU1773 ARM GAS /tmp/cc9HXhVl.s page 202 6081 005e 22F47062 bic r2, r2, #3840 6082 0062 0A43 orrs r2, r2, r1 6083 0064 C265 str r2, [r0, #92] 2808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3: 6084 .loc 1 2808 7 is_stmt 1 view .LVU1774 2783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6085 .loc 1 2783 21 is_stmt 0 view .LVU1775 6086 0066 0020 movs r0, #0 2808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3: 6087 .loc 1 2808 7 view .LVU1776 6088 0068 10E0 b .L487 6089 .LVL438: 6090 .L490: 2810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 6091 .loc 1 2810 7 is_stmt 1 view .LVU1777 6092 006a 1868 ldr r0, [r3] 6093 006c C26D ldr r2, [r0, #92] 6094 .LVL439: 2810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 6095 .loc 1 2810 7 is_stmt 0 view .LVU1778 6096 006e 22F47022 bic r2, r2, #983040 6097 0072 0A43 orrs r2, r2, r1 6098 0074 C265 str r2, [r0, #92] 2811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4: 6099 .loc 1 2811 7 is_stmt 1 view .LVU1779 2783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6100 .loc 1 2783 21 is_stmt 0 view .LVU1780 6101 0076 0020 movs r0, #0 2811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4: 6102 .loc 1 2811 7 view .LVU1781 6103 0078 08E0 b .L487 6104 .LVL440: 6105 .L488: 2813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 6106 .loc 1 2813 7 is_stmt 1 view .LVU1782 6107 007a 1868 ldr r0, [r3] 6108 007c C26D ldr r2, [r0, #92] 6109 .LVL441: 2813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 6110 .loc 1 2813 7 is_stmt 0 view .LVU1783 6111 007e 22F07062 bic r2, r2, #251658240 6112 0082 0A43 orrs r2, r2, r1 6113 0084 C265 str r2, [r0, #92] 2814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 6114 .loc 1 2814 7 is_stmt 1 view .LVU1784 2783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6115 .loc 1 2783 21 is_stmt 0 view .LVU1785 6116 0086 0020 movs r0, #0 2814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 6117 .loc 1 2814 7 view .LVU1786 6118 0088 00E0 b .L487 6119 .LVL442: 6120 .L496: 2791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6121 .loc 1 2791 3 view .LVU1787 6122 008a 0120 movs r0, #1 6123 .LVL443: ARM GAS /tmp/cc9HXhVl.s page 203 6124 .L487: 2820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6125 .loc 1 2820 3 is_stmt 1 view .LVU1788 2820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6126 .loc 1 2820 3 view .LVU1789 6127 008c 0022 movs r2, #0 6128 008e 83F83C20 strb r2, [r3, #60] 2820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6129 .loc 1 2820 3 view .LVU1790 2822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6130 .loc 1 2822 3 view .LVU1791 2822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6131 .loc 1 2822 10 is_stmt 0 view .LVU1792 6132 0092 7047 bx lr 6133 .LVL444: 6134 .L495: 2789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6135 .loc 1 2789 3 view .LVU1793 6136 0094 0220 movs r0, #2 2823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6137 .loc 1 2823 1 view .LVU1794 6138 0096 7047 bx lr 6139 .L498: 6140 .align 2 6141 .L497: 6142 0098 00440140 .word 1073824768 6143 .cfi_endproc 6144 .LFE362: 6146 .section .text.HAL_TIMEx_GroupChannel5,"ax",%progbits 6147 .align 1 6148 .global HAL_TIMEx_GroupChannel5 6149 .syntax unified 6150 .thumb 6151 .thumb_func 6153 HAL_TIMEx_GroupChannel5: 6154 .LVL445: 6155 .LFB363: 2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check parameters */ 6156 .loc 1 2837 1 is_stmt 1 view -0 6157 .cfi_startproc 6158 @ args = 0, pretend = 0, frame = 0 6159 @ frame_needed = 0, uses_anonymous_args = 0 6160 @ link register save eliminated. 2839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_GROUPCH5(Channels)); 6161 .loc 1 2839 3 view .LVU1796 2840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6162 .loc 1 2840 3 view .LVU1797 2843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6163 .loc 1 2843 3 view .LVU1798 2843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6164 .loc 1 2843 3 view .LVU1799 6165 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 6166 0004 012B cmp r3, #1 6167 0006 18D0 beq .L501 2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check parameters */ 6168 .loc 1 2837 1 is_stmt 0 discriminator 2 view .LVU1800 6169 0008 10B4 push {r4} ARM GAS /tmp/cc9HXhVl.s page 204 6170 .LCFI50: 6171 .cfi_def_cfa_offset 4 6172 .cfi_offset 4, -4 2843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6173 .loc 1 2843 3 is_stmt 1 discriminator 2 view .LVU1801 6174 000a 0122 movs r2, #1 6175 000c 80F83C20 strb r2, [r0, #60] 2843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6176 .loc 1 2843 3 discriminator 2 view .LVU1802 2845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6177 .loc 1 2845 3 discriminator 2 view .LVU1803 2845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6178 .loc 1 2845 15 is_stmt 0 discriminator 2 view .LVU1804 6179 0010 0223 movs r3, #2 6180 0012 80F83D30 strb r3, [r0, #61] 2848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6181 .loc 1 2848 3 is_stmt 1 discriminator 2 view .LVU1805 2848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6182 .loc 1 2848 7 is_stmt 0 discriminator 2 view .LVU1806 6183 0016 0468 ldr r4, [r0] 2848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6184 .loc 1 2848 17 discriminator 2 view .LVU1807 6185 0018 A36C ldr r3, [r4, #72] 2848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6186 .loc 1 2848 24 discriminator 2 view .LVU1808 6187 001a 23F06043 bic r3, r3, #-536870912 6188 001e A364 str r3, [r4, #72] 2851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6189 .loc 1 2851 3 is_stmt 1 discriminator 2 view .LVU1809 2851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6190 .loc 1 2851 7 is_stmt 0 discriminator 2 view .LVU1810 6191 0020 0468 ldr r4, [r0] 2851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6192 .loc 1 2851 17 discriminator 2 view .LVU1811 6193 0022 A36C ldr r3, [r4, #72] 2851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6194 .loc 1 2851 24 discriminator 2 view .LVU1812 6195 0024 0B43 orrs r3, r3, r1 6196 0026 A364 str r3, [r4, #72] 2854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6197 .loc 1 2854 3 is_stmt 1 discriminator 2 view .LVU1813 2854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6198 .loc 1 2854 15 is_stmt 0 discriminator 2 view .LVU1814 6199 0028 80F83D20 strb r2, [r0, #61] 2856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6200 .loc 1 2856 3 is_stmt 1 discriminator 2 view .LVU1815 2856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6201 .loc 1 2856 3 discriminator 2 view .LVU1816 6202 002c 0023 movs r3, #0 6203 002e 80F83C30 strb r3, [r0, #60] 2856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6204 .loc 1 2856 3 discriminator 2 view .LVU1817 2858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6205 .loc 1 2858 3 discriminator 2 view .LVU1818 2858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6206 .loc 1 2858 10 is_stmt 0 discriminator 2 view .LVU1819 6207 0032 1846 mov r0, r3 ARM GAS /tmp/cc9HXhVl.s page 205 6208 .LVL446: 2859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6209 .loc 1 2859 1 discriminator 2 view .LVU1820 6210 0034 5DF8044B ldr r4, [sp], #4 6211 .LCFI51: 6212 .cfi_restore 4 6213 .cfi_def_cfa_offset 0 6214 0038 7047 bx lr 6215 .LVL447: 6216 .L501: 2843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6217 .loc 1 2843 3 view .LVU1821 6218 003a 0220 movs r0, #2 6219 .LVL448: 2859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6220 .loc 1 2859 1 view .LVU1822 6221 003c 7047 bx lr 6222 .cfi_endproc 6223 .LFE363: 6225 .section .text.HAL_TIMEx_DisarmBreakInput,"ax",%progbits 6226 .align 1 6227 .global HAL_TIMEx_DisarmBreakInput 6228 .syntax unified 6229 .thumb 6230 .thumb_func 6232 HAL_TIMEx_DisarmBreakInput: 6233 .LVL449: 6234 .LFB364: 2875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 6235 .loc 1 2875 1 is_stmt 1 view -0 6236 .cfi_startproc 6237 @ args = 0, pretend = 0, frame = 0 6238 @ frame_needed = 0, uses_anonymous_args = 0 6239 @ link register save eliminated. 2876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr; 6240 .loc 1 2876 3 view .LVU1824 2877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6241 .loc 1 2877 3 view .LVU1825 2880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUT(BreakInput)); 6242 .loc 1 2880 3 view .LVU1826 2881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6243 .loc 1 2881 3 view .LVU1827 2883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6244 .loc 1 2883 3 view .LVU1828 6245 0000 0129 cmp r1, #1 6246 0002 03D0 beq .L507 6247 0004 0229 cmp r1, #2 6248 0006 10D0 beq .L508 6249 0008 0120 movs r0, #1 6250 .LVL450: 2883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6251 .loc 1 2883 3 is_stmt 0 view .LVU1829 6252 000a 7047 bx lr 6253 .LVL451: 6254 .L507: 2888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BKBID) == TIM_BDTR_BKBID) && 6255 .loc 1 2888 7 is_stmt 1 view .LVU1830 ARM GAS /tmp/cc9HXhVl.s page 206 2888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BKBID) == TIM_BDTR_BKBID) && 6256 .loc 1 2888 17 is_stmt 0 view .LVU1831 6257 000c 0268 ldr r2, [r0] 2888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BKBID) == TIM_BDTR_BKBID) && 6258 .loc 1 2888 15 view .LVU1832 6259 000e 516C ldr r1, [r2, #68] 6260 .LVL452: 2889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U)) 6261 .loc 1 2889 7 is_stmt 1 view .LVU1833 2889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U)) 6262 .loc 1 2889 65 is_stmt 0 view .LVU1834 6263 0010 0D4B ldr r3, .L514 6264 0012 0B40 ands r3, r3, r1 2889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U)) 6265 .loc 1 2889 10 view .LVU1835 6266 0014 B3F1805F cmp r3, #268435456 6267 0018 01D0 beq .L512 2876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr; 6268 .loc 1 2876 21 view .LVU1836 6269 001a 0020 movs r0, #0 6270 .LVL453: 2876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr; 6271 .loc 1 2876 21 view .LVU1837 6272 001c 7047 bx lr 6273 .LVL454: 6274 .L512: 2893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6275 .loc 1 2893 9 is_stmt 1 view .LVU1838 6276 001e 536C ldr r3, [r2, #68] 6277 0020 43F08063 orr r3, r3, #67108864 6278 0024 5364 str r3, [r2, #68] 2876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr; 6279 .loc 1 2876 21 is_stmt 0 view .LVU1839 6280 0026 0020 movs r0, #0 6281 .LVL455: 2876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr; 6282 .loc 1 2876 21 view .LVU1840 6283 0028 7047 bx lr 6284 .LVL456: 6285 .L508: 2901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BK2BID) == TIM_BDTR_BK2BID) && 6286 .loc 1 2901 7 is_stmt 1 view .LVU1841 2901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BK2BID) == TIM_BDTR_BK2BID) && 6287 .loc 1 2901 17 is_stmt 0 view .LVU1842 6288 002a 0268 ldr r2, [r0] 2901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BK2BID) == TIM_BDTR_BK2BID) && 6289 .loc 1 2901 15 view .LVU1843 6290 002c 516C ldr r1, [r2, #68] 6291 .LVL457: 2902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U)) 6292 .loc 1 2902 7 is_stmt 1 view .LVU1844 2902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U)) 6293 .loc 1 2902 67 is_stmt 0 view .LVU1845 6294 002e 074B ldr r3, .L514+4 6295 0030 0B40 ands r3, r3, r1 2902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U)) 6296 .loc 1 2902 10 view .LVU1846 ARM GAS /tmp/cc9HXhVl.s page 207 6297 0032 B3F1005F cmp r3, #536870912 6298 0036 01D0 beq .L513 2876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr; 6299 .loc 1 2876 21 view .LVU1847 6300 0038 0020 movs r0, #0 6301 .LVL458: 2915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6302 .loc 1 2915 3 is_stmt 1 view .LVU1848 2916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6303 .loc 1 2916 1 is_stmt 0 view .LVU1849 6304 003a 7047 bx lr 6305 .LVL459: 6306 .L513: 2906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6307 .loc 1 2906 9 is_stmt 1 view .LVU1850 6308 003c 536C ldr r3, [r2, #68] 6309 003e 43F00063 orr r3, r3, #134217728 6310 0042 5364 str r3, [r2, #68] 2876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr; 6311 .loc 1 2876 21 is_stmt 0 view .LVU1851 6312 0044 0020 movs r0, #0 6313 .LVL460: 2876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr; 6314 .loc 1 2876 21 view .LVU1852 6315 0046 7047 bx lr 6316 .L515: 6317 .align 2 6318 .L514: 6319 0048 00800010 .word 268468224 6320 004c 00800020 .word 536903680 6321 .cfi_endproc 6322 .LFE364: 6324 .section .text.HAL_TIMEx_ReArmBreakInput,"ax",%progbits 6325 .align 1 6326 .global HAL_TIMEx_ReArmBreakInput 6327 .syntax unified 6328 .thumb 6329 .thumb_func 6331 HAL_TIMEx_ReArmBreakInput: 6332 .LVL461: 6333 .LFB365: 2930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 6334 .loc 1 2930 1 is_stmt 1 view -0 6335 .cfi_startproc 6336 @ args = 0, pretend = 0, frame = 0 6337 @ frame_needed = 0, uses_anonymous_args = 0 2930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 6338 .loc 1 2930 1 is_stmt 0 view .LVU1854 6339 0000 38B5 push {r3, r4, r5, lr} 6340 .LCFI52: 6341 .cfi_def_cfa_offset 16 6342 .cfi_offset 3, -16 6343 .cfi_offset 4, -12 6344 .cfi_offset 5, -8 6345 .cfi_offset 14, -4 6346 0002 0446 mov r4, r0 2931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart; ARM GAS /tmp/cc9HXhVl.s page 208 6347 .loc 1 2931 3 is_stmt 1 view .LVU1855 6348 .LVL462: 2932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6349 .loc 1 2932 3 view .LVU1856 2935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUT(BreakInput)); 6350 .loc 1 2935 3 view .LVU1857 2936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6351 .loc 1 2936 3 view .LVU1858 2938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6352 .loc 1 2938 3 view .LVU1859 6353 0004 0129 cmp r1, #1 6354 0006 03D0 beq .L517 6355 0008 0229 cmp r1, #2 6356 000a 1ED0 beq .L518 6357 000c 0120 movs r0, #1 6358 .LVL463: 6359 .L519: 2991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6360 .loc 1 2991 1 is_stmt 0 view .LVU1860 6361 000e 38BD pop {r3, r4, r5, pc} 6362 .LVL464: 6363 .L517: 2943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6364 .loc 1 2943 7 is_stmt 1 view .LVU1861 2943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6365 .loc 1 2943 11 is_stmt 0 view .LVU1862 6366 0010 0368 ldr r3, [r0] 6367 0012 5B6C ldr r3, [r3, #68] 2943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6368 .loc 1 2943 10 view .LVU1863 6369 0014 13F0805F tst r3, #268435456 6370 0018 01D1 bne .L529 2931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart; 6371 .loc 1 2931 21 view .LVU1864 6372 001a 0020 movs r0, #0 6373 .LVL465: 2931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart; 6374 .loc 1 2931 21 view .LVU1865 6375 001c F7E7 b .L519 6376 .LVL466: 6377 .L529: 2947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** while (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BKDSRM) != 0UL) 6378 .loc 1 2947 9 is_stmt 1 view .LVU1866 2947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** while (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BKDSRM) != 0UL) 6379 .loc 1 2947 21 is_stmt 0 view .LVU1867 6380 001e FFF7FEFF bl HAL_GetTick 6381 .LVL467: 2947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** while (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BKDSRM) != 0UL) 6382 .loc 1 2947 21 view .LVU1868 6383 0022 0546 mov r5, r0 6384 .LVL468: 2948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6385 .loc 1 2948 9 is_stmt 1 view .LVU1869 6386 .L520: 2948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6387 .loc 1 2948 64 view .LVU1870 2948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { ARM GAS /tmp/cc9HXhVl.s page 209 6388 .loc 1 2948 16 is_stmt 0 view .LVU1871 6389 0024 2368 ldr r3, [r4] 6390 0026 5B6C ldr r3, [r3, #68] 2948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6391 .loc 1 2948 64 view .LVU1872 6392 0028 13F0806F tst r3, #67108864 6393 002c 0BD0 beq .L530 2950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6394 .loc 1 2950 11 is_stmt 1 view .LVU1873 2950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6395 .loc 1 2950 16 is_stmt 0 view .LVU1874 6396 002e FFF7FEFF bl HAL_GetTick 6397 .LVL469: 2950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6398 .loc 1 2950 30 view .LVU1875 6399 0032 401B subs r0, r0, r5 2950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6400 .loc 1 2950 14 view .LVU1876 6401 0034 0528 cmp r0, #5 6402 0036 F5D9 bls .L520 2953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6403 .loc 1 2953 13 is_stmt 1 view .LVU1877 2953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6404 .loc 1 2953 17 is_stmt 0 view .LVU1878 6405 0038 2368 ldr r3, [r4] 6406 003a 5B6C ldr r3, [r3, #68] 2953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6407 .loc 1 2953 16 view .LVU1879 6408 003c 13F0806F tst r3, #67108864 6409 0040 F0D0 beq .L520 2955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6410 .loc 1 2955 22 view .LVU1880 6411 0042 0320 movs r0, #3 6412 0044 E3E7 b .L519 6413 .L530: 2931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart; 6414 .loc 1 2931 21 view .LVU1881 6415 0046 0020 movs r0, #0 6416 0048 E1E7 b .L519 6417 .LVL470: 6418 .L518: 2966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6419 .loc 1 2966 7 is_stmt 1 view .LVU1882 2966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6420 .loc 1 2966 11 is_stmt 0 view .LVU1883 6421 004a 0368 ldr r3, [r0] 6422 004c 5B6C ldr r3, [r3, #68] 2966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6423 .loc 1 2966 10 view .LVU1884 6424 004e 13F0005F tst r3, #536870912 6425 0052 01D1 bne .L531 2931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart; 6426 .loc 1 2931 21 view .LVU1885 6427 0054 0020 movs r0, #0 6428 .LVL471: 2931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart; 6429 .loc 1 2931 21 view .LVU1886 ARM GAS /tmp/cc9HXhVl.s page 210 6430 0056 DAE7 b .L519 6431 .LVL472: 6432 .L531: 2970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** while (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BK2DSRM) != 0UL) 6433 .loc 1 2970 9 is_stmt 1 view .LVU1887 2970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** while (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BK2DSRM) != 0UL) 6434 .loc 1 2970 21 is_stmt 0 view .LVU1888 6435 0058 FFF7FEFF bl HAL_GetTick 6436 .LVL473: 2970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** while (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BK2DSRM) != 0UL) 6437 .loc 1 2970 21 view .LVU1889 6438 005c 0546 mov r5, r0 6439 .LVL474: 2971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6440 .loc 1 2971 9 is_stmt 1 view .LVU1890 6441 .L522: 2971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6442 .loc 1 2971 65 view .LVU1891 2971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6443 .loc 1 2971 16 is_stmt 0 view .LVU1892 6444 005e 2368 ldr r3, [r4] 6445 0060 5B6C ldr r3, [r3, #68] 2971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6446 .loc 1 2971 65 view .LVU1893 6447 0062 13F0006F tst r3, #134217728 6448 0066 0BD0 beq .L532 2973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6449 .loc 1 2973 11 is_stmt 1 view .LVU1894 2973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6450 .loc 1 2973 16 is_stmt 0 view .LVU1895 6451 0068 FFF7FEFF bl HAL_GetTick 6452 .LVL475: 2973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6453 .loc 1 2973 30 view .LVU1896 6454 006c 401B subs r0, r0, r5 2973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6455 .loc 1 2973 14 view .LVU1897 6456 006e 0528 cmp r0, #5 6457 0070 F5D9 bls .L522 2976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6458 .loc 1 2976 13 is_stmt 1 view .LVU1898 2976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6459 .loc 1 2976 17 is_stmt 0 view .LVU1899 6460 0072 2368 ldr r3, [r4] 6461 0074 5B6C ldr r3, [r3, #68] 2976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6462 .loc 1 2976 16 view .LVU1900 6463 0076 13F0006F tst r3, #134217728 6464 007a F0D0 beq .L522 2978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6465 .loc 1 2978 22 view .LVU1901 6466 007c 0320 movs r0, #3 6467 007e C6E7 b .L519 6468 .L532: 2931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart; 6469 .loc 1 2931 21 view .LVU1902 6470 0080 0020 movs r0, #0 ARM GAS /tmp/cc9HXhVl.s page 211 6471 0082 C4E7 b .L519 6472 .cfi_endproc 6473 .LFE365: 6475 .section .text.HAL_TIMEx_DitheringEnable,"ax",%progbits 6476 .align 1 6477 .global HAL_TIMEx_DitheringEnable 6478 .syntax unified 6479 .thumb 6480 .thumb_func 6482 HAL_TIMEx_DitheringEnable: 6483 .LVL476: 6484 .LFB366: 3013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6485 .loc 1 3013 1 is_stmt 1 view -0 6486 .cfi_startproc 6487 @ args = 0, pretend = 0, frame = 0 6488 @ frame_needed = 0, uses_anonymous_args = 0 6489 @ link register save eliminated. 3015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6490 .loc 1 3015 3 view .LVU1904 3017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 6491 .loc 1 3017 3 view .LVU1905 6492 0000 0268 ldr r2, [r0] 6493 0002 1368 ldr r3, [r2] 6494 0004 43F48053 orr r3, r3, #4096 6495 0008 1360 str r3, [r2] 3018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6496 .loc 1 3018 3 view .LVU1906 3019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6497 .loc 1 3019 1 is_stmt 0 view .LVU1907 6498 000a 0020 movs r0, #0 6499 .LVL477: 3019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6500 .loc 1 3019 1 view .LVU1908 6501 000c 7047 bx lr 6502 .cfi_endproc 6503 .LFE366: 6505 .section .text.HAL_TIMEx_DitheringDisable,"ax",%progbits 6506 .align 1 6507 .global HAL_TIMEx_DitheringDisable 6508 .syntax unified 6509 .thumb 6510 .thumb_func 6512 HAL_TIMEx_DitheringDisable: 6513 .LVL478: 6514 .LFB367: 3037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6515 .loc 1 3037 1 is_stmt 1 view -0 6516 .cfi_startproc 6517 @ args = 0, pretend = 0, frame = 0 6518 @ frame_needed = 0, uses_anonymous_args = 0 6519 @ link register save eliminated. 3039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6520 .loc 1 3039 3 view .LVU1910 3041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 6521 .loc 1 3041 3 view .LVU1911 6522 0000 0268 ldr r2, [r0] ARM GAS /tmp/cc9HXhVl.s page 212 6523 0002 1368 ldr r3, [r2] 6524 0004 23F48053 bic r3, r3, #4096 6525 0008 1360 str r3, [r2] 3042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6526 .loc 1 3042 3 view .LVU1912 3043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6527 .loc 1 3043 1 is_stmt 0 view .LVU1913 6528 000a 0020 movs r0, #0 6529 .LVL479: 3043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6530 .loc 1 3043 1 view .LVU1914 6531 000c 7047 bx lr 6532 .cfi_endproc 6533 .LFE367: 6535 .section .text.HAL_TIMEx_OC_ConfigPulseOnCompare,"ax",%progbits 6536 .align 1 6537 .global HAL_TIMEx_OC_ConfigPulseOnCompare 6538 .syntax unified 6539 .thumb 6540 .thumb_func 6542 HAL_TIMEx_OC_ConfigPulseOnCompare: 6543 .LVL480: 6544 .LFB368: 3057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpecr; 6545 .loc 1 3057 1 is_stmt 1 view -0 6546 .cfi_startproc 6547 @ args = 0, pretend = 0, frame = 0 6548 @ frame_needed = 0, uses_anonymous_args = 0 6549 @ link register save eliminated. 3058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6550 .loc 1 3058 3 view .LVU1916 3061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_PULSEONCOMPARE_WIDTH(PulseWidth)); 6551 .loc 1 3061 3 view .LVU1917 3062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_PULSEONCOMPARE_WIDTHPRESCALER(PulseWidthPrescaler)); 6552 .loc 1 3062 3 view .LVU1918 3063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6553 .loc 1 3063 3 view .LVU1919 3066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6554 .loc 1 3066 3 view .LVU1920 3066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6555 .loc 1 3066 3 view .LVU1921 6556 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 6557 0004 012B cmp r3, #1 6558 0006 1BD0 beq .L537 3057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpecr; 6559 .loc 1 3057 1 is_stmt 0 discriminator 2 view .LVU1922 6560 0008 10B4 push {r4} 6561 .LCFI53: 6562 .cfi_def_cfa_offset 4 6563 .cfi_offset 4, -4 6564 000a 8446 mov ip, r0 3066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6565 .loc 1 3066 3 is_stmt 1 discriminator 2 view .LVU1923 6566 000c 0120 movs r0, #1 6567 .LVL481: 3066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6568 .loc 1 3066 3 is_stmt 0 discriminator 2 view .LVU1924 ARM GAS /tmp/cc9HXhVl.s page 213 6569 000e 8CF83C00 strb r0, [ip, #60] 3066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6570 .loc 1 3066 3 is_stmt 1 discriminator 2 view .LVU1925 3069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6571 .loc 1 3069 3 discriminator 2 view .LVU1926 3069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6572 .loc 1 3069 15 is_stmt 0 discriminator 2 view .LVU1927 6573 0012 0223 movs r3, #2 6574 0014 8CF83D30 strb r3, [ip, #61] 3072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the Pulse width prescaler and the Pulse width */ 6575 .loc 1 3072 3 is_stmt 1 discriminator 2 view .LVU1928 3072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the Pulse width prescaler and the Pulse width */ 6576 .loc 1 3072 16 is_stmt 0 discriminator 2 view .LVU1929 6577 0018 DCF80040 ldr r4, [ip] 3072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the Pulse width prescaler and the Pulse width */ 6578 .loc 1 3072 10 discriminator 2 view .LVU1930 6579 001c A36D ldr r3, [r4, #88] 6580 .LVL482: 3074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the Pulse width prescaler and Pulse width*/ 6581 .loc 1 3074 3 is_stmt 1 discriminator 2 view .LVU1931 3074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the Pulse width prescaler and Pulse width*/ 6582 .loc 1 3074 10 is_stmt 0 discriminator 2 view .LVU1932 6583 001e 23F0FF63 bic r3, r3, #133693440 6584 .LVL483: 3074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the Pulse width prescaler and Pulse width*/ 6585 .loc 1 3074 10 discriminator 2 view .LVU1933 6586 0022 23F4E023 bic r3, r3, #458752 6587 .LVL484: 3076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpecr |= PulseWidth << TIM_ECR_PW_Pos; 6588 .loc 1 3076 3 is_stmt 1 discriminator 2 view .LVU1934 3076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpecr |= PulseWidth << TIM_ECR_PW_Pos; 6589 .loc 1 3076 10 is_stmt 0 discriminator 2 view .LVU1935 6590 0026 43EA0163 orr r3, r3, r1, lsl #24 6591 .LVL485: 3077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Write to TIMx ECR */ 6592 .loc 1 3077 3 is_stmt 1 discriminator 2 view .LVU1936 3077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Write to TIMx ECR */ 6593 .loc 1 3077 10 is_stmt 0 discriminator 2 view .LVU1937 6594 002a 43EA0242 orr r2, r3, r2, lsl #16 6595 .LVL486: 3079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6596 .loc 1 3079 3 is_stmt 1 discriminator 2 view .LVU1938 3079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6597 .loc 1 3079 23 is_stmt 0 discriminator 2 view .LVU1939 6598 002e A265 str r2, [r4, #88] 3082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6599 .loc 1 3082 3 is_stmt 1 discriminator 2 view .LVU1940 3082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6600 .loc 1 3082 15 is_stmt 0 discriminator 2 view .LVU1941 6601 0030 8CF83D00 strb r0, [ip, #61] 3085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6602 .loc 1 3085 3 is_stmt 1 discriminator 2 view .LVU1942 3085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6603 .loc 1 3085 3 discriminator 2 view .LVU1943 6604 0034 0020 movs r0, #0 6605 0036 8CF83C00 strb r0, [ip, #60] 3085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/cc9HXhVl.s page 214 6606 .loc 1 3085 3 discriminator 2 view .LVU1944 3087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6607 .loc 1 3087 3 discriminator 2 view .LVU1945 3088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6608 .loc 1 3088 1 is_stmt 0 discriminator 2 view .LVU1946 6609 003a 5DF8044B ldr r4, [sp], #4 6610 .LCFI54: 6611 .cfi_restore 4 6612 .cfi_def_cfa_offset 0 6613 003e 7047 bx lr 6614 .LVL487: 6615 .L537: 3066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6616 .loc 1 3066 3 view .LVU1947 6617 0040 0220 movs r0, #2 6618 .LVL488: 3088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6619 .loc 1 3088 1 view .LVU1948 6620 0042 7047 bx lr 6621 .cfi_endproc 6622 .LFE368: 6624 .section .text.HAL_TIMEx_ConfigSlaveModePreload,"ax",%progbits 6625 .align 1 6626 .global HAL_TIMEx_ConfigSlaveModePreload 6627 .syntax unified 6628 .thumb 6629 .thumb_func 6631 HAL_TIMEx_ConfigSlaveModePreload: 6632 .LVL489: 6633 .LFB369: 3100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6634 .loc 1 3100 1 is_stmt 1 view -0 6635 .cfi_startproc 6636 @ args = 0, pretend = 0, frame = 0 6637 @ frame_needed = 0, uses_anonymous_args = 0 6638 @ link register save eliminated. 3102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_SLAVE_PRELOAD_SOURCE(Source)); 6639 .loc 1 3102 3 view .LVU1950 3103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6640 .loc 1 3103 3 view .LVU1951 3105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 6641 .loc 1 3105 3 view .LVU1952 6642 0000 0268 ldr r2, [r0] 6643 0002 9368 ldr r3, [r2, #8] 6644 0004 23F00073 bic r3, r3, #33554432 6645 0008 0B43 orrs r3, r3, r1 6646 000a 9360 str r3, [r2, #8] 3106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6647 .loc 1 3106 3 view .LVU1953 3107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6648 .loc 1 3107 1 is_stmt 0 view .LVU1954 6649 000c 0020 movs r0, #0 6650 .LVL490: 3107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6651 .loc 1 3107 1 view .LVU1955 6652 000e 7047 bx lr 6653 .cfi_endproc ARM GAS /tmp/cc9HXhVl.s page 215 6654 .LFE369: 6656 .section .text.HAL_TIMEx_EnableSlaveModePreload,"ax",%progbits 6657 .align 1 6658 .global HAL_TIMEx_EnableSlaveModePreload 6659 .syntax unified 6660 .thumb 6661 .thumb_func 6663 HAL_TIMEx_EnableSlaveModePreload: 6664 .LVL491: 6665 .LFB370: 3115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6666 .loc 1 3115 1 is_stmt 1 view -0 6667 .cfi_startproc 6668 @ args = 0, pretend = 0, frame = 0 6669 @ frame_needed = 0, uses_anonymous_args = 0 6670 @ link register save eliminated. 3117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6671 .loc 1 3117 3 view .LVU1957 3119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 6672 .loc 1 3119 3 view .LVU1958 6673 0000 0268 ldr r2, [r0] 6674 0002 9368 ldr r3, [r2, #8] 6675 0004 43F08073 orr r3, r3, #16777216 6676 0008 9360 str r3, [r2, #8] 3120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6677 .loc 1 3120 3 view .LVU1959 3121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6678 .loc 1 3121 1 is_stmt 0 view .LVU1960 6679 000a 0020 movs r0, #0 6680 .LVL492: 3121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6681 .loc 1 3121 1 view .LVU1961 6682 000c 7047 bx lr 6683 .cfi_endproc 6684 .LFE370: 6686 .section .text.HAL_TIMEx_DisableSlaveModePreload,"ax",%progbits 6687 .align 1 6688 .global HAL_TIMEx_DisableSlaveModePreload 6689 .syntax unified 6690 .thumb 6691 .thumb_func 6693 HAL_TIMEx_DisableSlaveModePreload: 6694 .LVL493: 6695 .LFB371: 3129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6696 .loc 1 3129 1 is_stmt 1 view -0 6697 .cfi_startproc 6698 @ args = 0, pretend = 0, frame = 0 6699 @ frame_needed = 0, uses_anonymous_args = 0 6700 @ link register save eliminated. 3131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6701 .loc 1 3131 3 view .LVU1963 3133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 6702 .loc 1 3133 3 view .LVU1964 6703 0000 0268 ldr r2, [r0] 6704 0002 9368 ldr r3, [r2, #8] 6705 0004 23F08073 bic r3, r3, #16777216 ARM GAS /tmp/cc9HXhVl.s page 216 6706 0008 9360 str r3, [r2, #8] 3134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6707 .loc 1 3134 3 view .LVU1965 3135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6708 .loc 1 3135 1 is_stmt 0 view .LVU1966 6709 000a 0020 movs r0, #0 6710 .LVL494: 3135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6711 .loc 1 3135 1 view .LVU1967 6712 000c 7047 bx lr 6713 .cfi_endproc 6714 .LFE371: 6716 .section .text.HAL_TIMEx_EnableDeadTimePreload,"ax",%progbits 6717 .align 1 6718 .global HAL_TIMEx_EnableDeadTimePreload 6719 .syntax unified 6720 .thumb 6721 .thumb_func 6723 HAL_TIMEx_EnableDeadTimePreload: 6724 .LVL495: 6725 .LFB372: 3143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6726 .loc 1 3143 1 is_stmt 1 view -0 6727 .cfi_startproc 6728 @ args = 0, pretend = 0, frame = 0 6729 @ frame_needed = 0, uses_anonymous_args = 0 6730 @ link register save eliminated. 3145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6731 .loc 1 3145 3 view .LVU1969 3147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 6732 .loc 1 3147 3 view .LVU1970 6733 0000 0268 ldr r2, [r0] 6734 0002 536D ldr r3, [r2, #84] 6735 0004 43F40033 orr r3, r3, #131072 6736 0008 5365 str r3, [r2, #84] 3148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6737 .loc 1 3148 3 view .LVU1971 3149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6738 .loc 1 3149 1 is_stmt 0 view .LVU1972 6739 000a 0020 movs r0, #0 6740 .LVL496: 3149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6741 .loc 1 3149 1 view .LVU1973 6742 000c 7047 bx lr 6743 .cfi_endproc 6744 .LFE372: 6746 .section .text.HAL_TIMEx_DisableDeadTimePreload,"ax",%progbits 6747 .align 1 6748 .global HAL_TIMEx_DisableDeadTimePreload 6749 .syntax unified 6750 .thumb 6751 .thumb_func 6753 HAL_TIMEx_DisableDeadTimePreload: 6754 .LVL497: 6755 .LFB373: 3157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6756 .loc 1 3157 1 is_stmt 1 view -0 ARM GAS /tmp/cc9HXhVl.s page 217 6757 .cfi_startproc 6758 @ args = 0, pretend = 0, frame = 0 6759 @ frame_needed = 0, uses_anonymous_args = 0 6760 @ link register save eliminated. 3159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6761 .loc 1 3159 3 view .LVU1975 3161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 6762 .loc 1 3161 3 view .LVU1976 6763 0000 0268 ldr r2, [r0] 6764 0002 536D ldr r3, [r2, #84] 6765 0004 23F40033 bic r3, r3, #131072 6766 0008 5365 str r3, [r2, #84] 3162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6767 .loc 1 3162 3 view .LVU1977 3163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6768 .loc 1 3163 1 is_stmt 0 view .LVU1978 6769 000a 0020 movs r0, #0 6770 .LVL498: 3163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6771 .loc 1 3163 1 view .LVU1979 6772 000c 7047 bx lr 6773 .cfi_endproc 6774 .LFE373: 6776 .section .text.HAL_TIMEx_ConfigDeadTime,"ax",%progbits 6777 .align 1 6778 .global HAL_TIMEx_ConfigDeadTime 6779 .syntax unified 6780 .thumb 6781 .thumb_func 6783 HAL_TIMEx_ConfigDeadTime: 6784 .LVL499: 6785 .LFB374: 3173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6786 .loc 1 3173 1 is_stmt 1 view -0 6787 .cfi_startproc 6788 @ args = 0, pretend = 0, frame = 0 6789 @ frame_needed = 0, uses_anonymous_args = 0 6790 @ link register save eliminated. 3175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_DEADTIME(Deadtime)); 6791 .loc 1 3175 3 view .LVU1981 3176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6792 .loc 1 3176 3 view .LVU1982 3178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 6793 .loc 1 3178 3 view .LVU1983 6794 0000 0268 ldr r2, [r0] 6795 0002 536C ldr r3, [r2, #68] 6796 0004 23F0FF03 bic r3, r3, #255 6797 0008 0B43 orrs r3, r3, r1 6798 000a 5364 str r3, [r2, #68] 3179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6799 .loc 1 3179 3 view .LVU1984 3180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6800 .loc 1 3180 1 is_stmt 0 view .LVU1985 6801 000c 0020 movs r0, #0 6802 .LVL500: 3180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6803 .loc 1 3180 1 view .LVU1986 ARM GAS /tmp/cc9HXhVl.s page 218 6804 000e 7047 bx lr 6805 .cfi_endproc 6806 .LFE374: 6808 .section .text.HAL_TIMEx_ConfigAsymmetricalDeadTime,"ax",%progbits 6809 .align 1 6810 .global HAL_TIMEx_ConfigAsymmetricalDeadTime 6811 .syntax unified 6812 .thumb 6813 .thumb_func 6815 HAL_TIMEx_ConfigAsymmetricalDeadTime: 6816 .LVL501: 6817 .LFB375: 3190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6818 .loc 1 3190 1 is_stmt 1 view -0 6819 .cfi_startproc 6820 @ args = 0, pretend = 0, frame = 0 6821 @ frame_needed = 0, uses_anonymous_args = 0 6822 @ link register save eliminated. 3192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_DEADTIME(FallingDeadtime)); 6823 .loc 1 3192 3 view .LVU1988 3193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6824 .loc 1 3193 3 view .LVU1989 3195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 6825 .loc 1 3195 3 view .LVU1990 6826 0000 0268 ldr r2, [r0] 6827 0002 536D ldr r3, [r2, #84] 6828 0004 23F0FF03 bic r3, r3, #255 6829 0008 0B43 orrs r3, r3, r1 6830 000a 5365 str r3, [r2, #84] 3196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6831 .loc 1 3196 3 view .LVU1991 3197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6832 .loc 1 3197 1 is_stmt 0 view .LVU1992 6833 000c 0020 movs r0, #0 6834 .LVL502: 3197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6835 .loc 1 3197 1 view .LVU1993 6836 000e 7047 bx lr 6837 .cfi_endproc 6838 .LFE375: 6840 .section .text.HAL_TIMEx_EnableAsymmetricalDeadTime,"ax",%progbits 6841 .align 1 6842 .global HAL_TIMEx_EnableAsymmetricalDeadTime 6843 .syntax unified 6844 .thumb 6845 .thumb_func 6847 HAL_TIMEx_EnableAsymmetricalDeadTime: 6848 .LVL503: 6849 .LFB376: 3205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6850 .loc 1 3205 1 is_stmt 1 view -0 6851 .cfi_startproc 6852 @ args = 0, pretend = 0, frame = 0 6853 @ frame_needed = 0, uses_anonymous_args = 0 6854 @ link register save eliminated. 3207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6855 .loc 1 3207 3 view .LVU1995 ARM GAS /tmp/cc9HXhVl.s page 219 3209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 6856 .loc 1 3209 3 view .LVU1996 6857 0000 0268 ldr r2, [r0] 6858 0002 536D ldr r3, [r2, #84] 6859 0004 43F48033 orr r3, r3, #65536 6860 0008 5365 str r3, [r2, #84] 3210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6861 .loc 1 3210 3 view .LVU1997 3211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6862 .loc 1 3211 1 is_stmt 0 view .LVU1998 6863 000a 0020 movs r0, #0 6864 .LVL504: 3211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6865 .loc 1 3211 1 view .LVU1999 6866 000c 7047 bx lr 6867 .cfi_endproc 6868 .LFE376: 6870 .section .text.HAL_TIMEx_DisableAsymmetricalDeadTime,"ax",%progbits 6871 .align 1 6872 .global HAL_TIMEx_DisableAsymmetricalDeadTime 6873 .syntax unified 6874 .thumb 6875 .thumb_func 6877 HAL_TIMEx_DisableAsymmetricalDeadTime: 6878 .LVL505: 6879 .LFB377: 3219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6880 .loc 1 3219 1 is_stmt 1 view -0 6881 .cfi_startproc 6882 @ args = 0, pretend = 0, frame = 0 6883 @ frame_needed = 0, uses_anonymous_args = 0 6884 @ link register save eliminated. 3221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6885 .loc 1 3221 3 view .LVU2001 3223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 6886 .loc 1 3223 3 view .LVU2002 6887 0000 0268 ldr r2, [r0] 6888 0002 536D ldr r3, [r2, #84] 6889 0004 23F48033 bic r3, r3, #65536 6890 0008 5365 str r3, [r2, #84] 3224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6891 .loc 1 3224 3 view .LVU2003 3225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6892 .loc 1 3225 1 is_stmt 0 view .LVU2004 6893 000a 0020 movs r0, #0 6894 .LVL506: 3225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6895 .loc 1 3225 1 view .LVU2005 6896 000c 7047 bx lr 6897 .cfi_endproc 6898 .LFE377: 6900 .section .text.HAL_TIMEx_ConfigEncoderIndex,"ax",%progbits 6901 .align 1 6902 .global HAL_TIMEx_ConfigEncoderIndex 6903 .syntax unified 6904 .thumb 6905 .thumb_func ARM GAS /tmp/cc9HXhVl.s page 220 6907 HAL_TIMEx_ConfigEncoderIndex: 6908 .LVL507: 6909 .LFB378: 3238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6910 .loc 1 3238 1 is_stmt 1 view -0 6911 .cfi_startproc 6912 @ args = 0, pretend = 0, frame = 0 6913 @ frame_needed = 0, uses_anonymous_args = 0 3238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6914 .loc 1 3238 1 is_stmt 0 view .LVU2007 6915 0000 38B5 push {r3, r4, r5, lr} 6916 .LCFI55: 6917 .cfi_def_cfa_offset 16 6918 .cfi_offset 3, -16 6919 .cfi_offset 4, -12 6920 .cfi_offset 5, -8 6921 .cfi_offset 14, -4 3240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_POLARITY(sEncoderIndexConfig->Polarity)); 6922 .loc 1 3240 3 is_stmt 1 view .LVU2008 3241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_PRESCALER(sEncoderIndexConfig->Prescaler)); 6923 .loc 1 3241 3 view .LVU2009 3242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_FILTER(sEncoderIndexConfig->Filter)); 6924 .loc 1 3242 3 view .LVU2010 3243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_FUNCTIONAL_STATE(sEncoderIndexConfig->FirstIndexEnable)); 6925 .loc 1 3243 3 view .LVU2011 3244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_POSITION(sEncoderIndexConfig->Position)); 6926 .loc 1 3244 3 view .LVU2012 3245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_DIRECTION(sEncoderIndexConfig->Direction)); 6927 .loc 1 3245 3 view .LVU2013 3246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6928 .loc 1 3246 3 view .LVU2014 3249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6929 .loc 1 3249 3 view .LVU2015 3249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6930 .loc 1 3249 3 view .LVU2016 6931 0002 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 6932 0006 012B cmp r3, #1 6933 0008 20D0 beq .L554 6934 000a 0546 mov r5, r0 6935 000c 0C46 mov r4, r1 3249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6936 .loc 1 3249 3 discriminator 2 view .LVU2017 6937 000e 0123 movs r3, #1 6938 0010 80F83C30 strb r3, [r0, #60] 3249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6939 .loc 1 3249 3 discriminator 2 view .LVU2018 3252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Prescaler, 6940 .loc 1 3252 3 discriminator 2 view .LVU2019 6941 0014 8B68 ldr r3, [r1, #8] 6942 0016 0A68 ldr r2, [r1] 6943 0018 4968 ldr r1, [r1, #4] 6944 .LVL508: 3252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Prescaler, 6945 .loc 1 3252 3 is_stmt 0 discriminator 2 view .LVU2020 6946 001a 0068 ldr r0, [r0] 6947 .LVL509: 3252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Prescaler, ARM GAS /tmp/cc9HXhVl.s page 221 6948 .loc 1 3252 3 discriminator 2 view .LVU2021 6949 001c FFF7FEFF bl TIM_ETR_SetConfig 6950 .LVL510: 3258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ECR_IDIR_Msk | TIM_ECR_FIDX_Msk | TIM_ECR_IPOS_Msk, 6951 .loc 1 3258 3 is_stmt 1 discriminator 2 view .LVU2022 6952 0020 2968 ldr r1, [r5] 6953 0022 8B6D ldr r3, [r1, #88] 6954 0024 23F0E603 bic r3, r3, #230 6955 0028 6269 ldr r2, [r4, #20] 6956 002a 207B ldrb r0, [r4, #12] @ zero_extendqisi2 6957 002c 0128 cmp r0, #1 6958 002e 0BD0 beq .L557 3258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ECR_IDIR_Msk | TIM_ECR_FIDX_Msk | TIM_ECR_IPOS_Msk, 6959 .loc 1 3258 3 is_stmt 0 view .LVU2023 6960 0030 0020 movs r0, #0 6961 .L553: 3258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ECR_IDIR_Msk | TIM_ECR_FIDX_Msk | TIM_ECR_IPOS_Msk, 6962 .loc 1 3258 3 discriminator 4 view .LVU2024 6963 0032 0243 orrs r2, r2, r0 6964 0034 2069 ldr r0, [r4, #16] 6965 0036 0243 orrs r2, r2, r0 6966 0038 1343 orrs r3, r3, r2 6967 003a 43F00103 orr r3, r3, #1 6968 003e 8B65 str r3, [r1, #88] 3265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6969 .loc 1 3265 3 is_stmt 1 discriminator 4 view .LVU2025 3265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6970 .loc 1 3265 3 discriminator 4 view .LVU2026 6971 0040 0020 movs r0, #0 6972 0042 85F83C00 strb r0, [r5, #60] 3265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6973 .loc 1 3265 3 discriminator 4 view .LVU2027 3267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6974 .loc 1 3267 3 discriminator 4 view .LVU2028 6975 .LVL511: 6976 .L552: 3268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6977 .loc 1 3268 1 is_stmt 0 view .LVU2029 6978 0046 38BD pop {r3, r4, r5, pc} 6979 .LVL512: 6980 .L557: 3258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ECR_IDIR_Msk | TIM_ECR_FIDX_Msk | TIM_ECR_IPOS_Msk, 6981 .loc 1 3258 3 view .LVU2030 6982 0048 2020 movs r0, #32 6983 004a F2E7 b .L553 6984 .LVL513: 6985 .L554: 3249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6986 .loc 1 3249 3 view .LVU2031 6987 004c 0220 movs r0, #2 6988 .LVL514: 3249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6989 .loc 1 3249 3 view .LVU2032 6990 004e FAE7 b .L552 6991 .cfi_endproc 6992 .LFE378: 6994 .section .text.HAL_TIMEx_EnableEncoderIndex,"ax",%progbits ARM GAS /tmp/cc9HXhVl.s page 222 6995 .align 1 6996 .global HAL_TIMEx_EnableEncoderIndex 6997 .syntax unified 6998 .thumb 6999 .thumb_func 7001 HAL_TIMEx_EnableEncoderIndex: 7002 .LVL515: 7003 .LFB379: 3276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 7004 .loc 1 3276 1 is_stmt 1 view -0 7005 .cfi_startproc 7006 @ args = 0, pretend = 0, frame = 0 7007 @ frame_needed = 0, uses_anonymous_args = 0 7008 @ link register save eliminated. 3278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7009 .loc 1 3278 3 view .LVU2034 3280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 7010 .loc 1 3280 3 view .LVU2035 7011 0000 0268 ldr r2, [r0] 7012 0002 936D ldr r3, [r2, #88] 7013 0004 43F00103 orr r3, r3, #1 7014 0008 9365 str r3, [r2, #88] 3281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 7015 .loc 1 3281 3 view .LVU2036 3282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7016 .loc 1 3282 1 is_stmt 0 view .LVU2037 7017 000a 0020 movs r0, #0 7018 .LVL516: 3282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7019 .loc 1 3282 1 view .LVU2038 7020 000c 7047 bx lr 7021 .cfi_endproc 7022 .LFE379: 7024 .section .text.HAL_TIMEx_DisableEncoderIndex,"ax",%progbits 7025 .align 1 7026 .global HAL_TIMEx_DisableEncoderIndex 7027 .syntax unified 7028 .thumb 7029 .thumb_func 7031 HAL_TIMEx_DisableEncoderIndex: 7032 .LVL517: 7033 .LFB380: 3290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 7034 .loc 1 3290 1 is_stmt 1 view -0 7035 .cfi_startproc 7036 @ args = 0, pretend = 0, frame = 0 7037 @ frame_needed = 0, uses_anonymous_args = 0 7038 @ link register save eliminated. 3292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7039 .loc 1 3292 3 view .LVU2040 3294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 7040 .loc 1 3294 3 view .LVU2041 7041 0000 0268 ldr r2, [r0] 7042 0002 936D ldr r3, [r2, #88] 7043 0004 23F00103 bic r3, r3, #1 7044 0008 9365 str r3, [r2, #88] 3295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } ARM GAS /tmp/cc9HXhVl.s page 223 7045 .loc 1 3295 3 view .LVU2042 3296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7046 .loc 1 3296 1 is_stmt 0 view .LVU2043 7047 000a 0020 movs r0, #0 7048 .LVL518: 3296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7049 .loc 1 3296 1 view .LVU2044 7050 000c 7047 bx lr 7051 .cfi_endproc 7052 .LFE380: 7054 .section .text.HAL_TIMEx_EnableEncoderFirstIndex,"ax",%progbits 7055 .align 1 7056 .global HAL_TIMEx_EnableEncoderFirstIndex 7057 .syntax unified 7058 .thumb 7059 .thumb_func 7061 HAL_TIMEx_EnableEncoderFirstIndex: 7062 .LVL519: 7063 .LFB381: 3304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 7064 .loc 1 3304 1 is_stmt 1 view -0 7065 .cfi_startproc 7066 @ args = 0, pretend = 0, frame = 0 7067 @ frame_needed = 0, uses_anonymous_args = 0 7068 @ link register save eliminated. 3306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7069 .loc 1 3306 3 view .LVU2046 3308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 7070 .loc 1 3308 3 view .LVU2047 7071 0000 0268 ldr r2, [r0] 7072 0002 936D ldr r3, [r2, #88] 7073 0004 43F02003 orr r3, r3, #32 7074 0008 9365 str r3, [r2, #88] 3309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 7075 .loc 1 3309 3 view .LVU2048 3310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7076 .loc 1 3310 1 is_stmt 0 view .LVU2049 7077 000a 0020 movs r0, #0 7078 .LVL520: 3310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7079 .loc 1 3310 1 view .LVU2050 7080 000c 7047 bx lr 7081 .cfi_endproc 7082 .LFE381: 7084 .section .text.HAL_TIMEx_DisableEncoderFirstIndex,"ax",%progbits 7085 .align 1 7086 .global HAL_TIMEx_DisableEncoderFirstIndex 7087 .syntax unified 7088 .thumb 7089 .thumb_func 7091 HAL_TIMEx_DisableEncoderFirstIndex: 7092 .LVL521: 7093 .LFB382: 3318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 7094 .loc 1 3318 1 is_stmt 1 view -0 7095 .cfi_startproc 7096 @ args = 0, pretend = 0, frame = 0 ARM GAS /tmp/cc9HXhVl.s page 224 7097 @ frame_needed = 0, uses_anonymous_args = 0 7098 @ link register save eliminated. 3320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7099 .loc 1 3320 3 view .LVU2052 3322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 7100 .loc 1 3322 3 view .LVU2053 7101 0000 0268 ldr r2, [r0] 7102 0002 936D ldr r3, [r2, #88] 7103 0004 23F02003 bic r3, r3, #32 7104 0008 9365 str r3, [r2, #88] 3323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 7105 .loc 1 3323 3 view .LVU2054 3324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7106 .loc 1 3324 1 is_stmt 0 view .LVU2055 7107 000a 0020 movs r0, #0 7108 .LVL522: 3324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7109 .loc 1 3324 1 view .LVU2056 7110 000c 7047 bx lr 7111 .cfi_endproc 7112 .LFE382: 7114 .section .text.HAL_TIMEx_CommutCallback,"ax",%progbits 7115 .align 1 7116 .weak HAL_TIMEx_CommutCallback 7117 .syntax unified 7118 .thumb 7119 .thumb_func 7121 HAL_TIMEx_CommutCallback: 7122 .LVL523: 7123 .LFB383: 3352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 7124 .loc 1 3352 1 is_stmt 1 view -0 7125 .cfi_startproc 7126 @ args = 0, pretend = 0, frame = 0 7127 @ frame_needed = 0, uses_anonymous_args = 0 7128 @ link register save eliminated. 3354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7129 .loc 1 3354 3 view .LVU2058 3359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 7130 .loc 1 3359 1 is_stmt 0 view .LVU2059 7131 0000 7047 bx lr 7132 .cfi_endproc 7133 .LFE383: 7135 .section .text.TIMEx_DMACommutationCplt,"ax",%progbits 7136 .align 1 7137 .global TIMEx_DMACommutationCplt 7138 .syntax unified 7139 .thumb 7140 .thumb_func 7142 TIMEx_DMACommutationCplt: 7143 .LVL524: 7144 .LFB393: 3535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 7145 .loc 1 3535 1 is_stmt 1 view -0 7146 .cfi_startproc 7147 @ args = 0, pretend = 0, frame = 0 7148 @ frame_needed = 0, uses_anonymous_args = 0 ARM GAS /tmp/cc9HXhVl.s page 225 3535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 7149 .loc 1 3535 1 is_stmt 0 view .LVU2061 7150 0000 08B5 push {r3, lr} 7151 .LCFI56: 7152 .cfi_def_cfa_offset 8 7153 .cfi_offset 3, -8 7154 .cfi_offset 14, -4 3536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7155 .loc 1 3536 3 is_stmt 1 view .LVU2062 3536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7156 .loc 1 3536 22 is_stmt 0 view .LVU2063 7157 0002 806A ldr r0, [r0, #40] 7158 .LVL525: 3539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7159 .loc 1 3539 3 is_stmt 1 view .LVU2064 3539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7160 .loc 1 3539 15 is_stmt 0 view .LVU2065 7161 0004 0123 movs r3, #1 7162 0006 80F83D30 strb r3, [r0, #61] 3544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 7163 .loc 1 3544 3 is_stmt 1 view .LVU2066 7164 000a FFF7FEFF bl HAL_TIMEx_CommutCallback 7165 .LVL526: 3546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7166 .loc 1 3546 1 is_stmt 0 view .LVU2067 7167 000e 08BD pop {r3, pc} 7168 .cfi_endproc 7169 .LFE393: 7171 .section .text.HAL_TIMEx_CommutHalfCpltCallback,"ax",%progbits 7172 .align 1 7173 .weak HAL_TIMEx_CommutHalfCpltCallback 7174 .syntax unified 7175 .thumb 7176 .thumb_func 7178 HAL_TIMEx_CommutHalfCpltCallback: 7179 .LVL527: 7180 .LFB384: 3366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 7181 .loc 1 3366 1 is_stmt 1 view -0 7182 .cfi_startproc 7183 @ args = 0, pretend = 0, frame = 0 7184 @ frame_needed = 0, uses_anonymous_args = 0 7185 @ link register save eliminated. 3368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7186 .loc 1 3368 3 view .LVU2069 3373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7187 .loc 1 3373 1 is_stmt 0 view .LVU2070 7188 0000 7047 bx lr 7189 .cfi_endproc 7190 .LFE384: 7192 .section .text.TIMEx_DMACommutationHalfCplt,"ax",%progbits 7193 .align 1 7194 .global TIMEx_DMACommutationHalfCplt 7195 .syntax unified 7196 .thumb 7197 .thumb_func 7199 TIMEx_DMACommutationHalfCplt: ARM GAS /tmp/cc9HXhVl.s page 226 7200 .LVL528: 7201 .LFB394: 3554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 7202 .loc 1 3554 1 is_stmt 1 view -0 7203 .cfi_startproc 7204 @ args = 0, pretend = 0, frame = 0 7205 @ frame_needed = 0, uses_anonymous_args = 0 3554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 7206 .loc 1 3554 1 is_stmt 0 view .LVU2072 7207 0000 08B5 push {r3, lr} 7208 .LCFI57: 7209 .cfi_def_cfa_offset 8 7210 .cfi_offset 3, -8 7211 .cfi_offset 14, -4 3555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7212 .loc 1 3555 3 is_stmt 1 view .LVU2073 3555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7213 .loc 1 3555 22 is_stmt 0 view .LVU2074 7214 0002 806A ldr r0, [r0, #40] 7215 .LVL529: 3558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7216 .loc 1 3558 3 is_stmt 1 view .LVU2075 3558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7217 .loc 1 3558 15 is_stmt 0 view .LVU2076 7218 0004 0123 movs r3, #1 7219 0006 80F83D30 strb r3, [r0, #61] 3563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 7220 .loc 1 3563 3 is_stmt 1 view .LVU2077 7221 000a FFF7FEFF bl HAL_TIMEx_CommutHalfCpltCallback 7222 .LVL530: 3565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7223 .loc 1 3565 1 is_stmt 0 view .LVU2078 7224 000e 08BD pop {r3, pc} 7225 .cfi_endproc 7226 .LFE394: 7228 .section .text.HAL_TIMEx_BreakCallback,"ax",%progbits 7229 .align 1 7230 .weak HAL_TIMEx_BreakCallback 7231 .syntax unified 7232 .thumb 7233 .thumb_func 7235 HAL_TIMEx_BreakCallback: 7236 .LVL531: 7237 .LFB385: 3381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 7238 .loc 1 3381 1 is_stmt 1 view -0 7239 .cfi_startproc 7240 @ args = 0, pretend = 0, frame = 0 7241 @ frame_needed = 0, uses_anonymous_args = 0 7242 @ link register save eliminated. 3383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7243 .loc 1 3383 3 view .LVU2080 3388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7244 .loc 1 3388 1 is_stmt 0 view .LVU2081 7245 0000 7047 bx lr 7246 .cfi_endproc 7247 .LFE385: ARM GAS /tmp/cc9HXhVl.s page 227 7249 .section .text.HAL_TIMEx_Break2Callback,"ax",%progbits 7250 .align 1 7251 .weak HAL_TIMEx_Break2Callback 7252 .syntax unified 7253 .thumb 7254 .thumb_func 7256 HAL_TIMEx_Break2Callback: 7257 .LVL532: 7258 .LFB386: 3396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 7259 .loc 1 3396 1 is_stmt 1 view -0 7260 .cfi_startproc 7261 @ args = 0, pretend = 0, frame = 0 7262 @ frame_needed = 0, uses_anonymous_args = 0 7263 @ link register save eliminated. 3398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7264 .loc 1 3398 3 view .LVU2083 3403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7265 .loc 1 3403 1 is_stmt 0 view .LVU2084 7266 0000 7047 bx lr 7267 .cfi_endproc 7268 .LFE386: 7270 .section .text.HAL_TIMEx_EncoderIndexCallback,"ax",%progbits 7271 .align 1 7272 .weak HAL_TIMEx_EncoderIndexCallback 7273 .syntax unified 7274 .thumb 7275 .thumb_func 7277 HAL_TIMEx_EncoderIndexCallback: 7278 .LVL533: 7279 .LFB387: 3411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 7280 .loc 1 3411 1 is_stmt 1 view -0 7281 .cfi_startproc 7282 @ args = 0, pretend = 0, frame = 0 7283 @ frame_needed = 0, uses_anonymous_args = 0 7284 @ link register save eliminated. 3413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7285 .loc 1 3413 3 view .LVU2086 3418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7286 .loc 1 3418 1 is_stmt 0 view .LVU2087 7287 0000 7047 bx lr 7288 .cfi_endproc 7289 .LFE387: 7291 .section .text.HAL_TIMEx_DirectionChangeCallback,"ax",%progbits 7292 .align 1 7293 .weak HAL_TIMEx_DirectionChangeCallback 7294 .syntax unified 7295 .thumb 7296 .thumb_func 7298 HAL_TIMEx_DirectionChangeCallback: 7299 .LVL534: 7300 .LFB388: 3426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 7301 .loc 1 3426 1 is_stmt 1 view -0 7302 .cfi_startproc 7303 @ args = 0, pretend = 0, frame = 0 ARM GAS /tmp/cc9HXhVl.s page 228 7304 @ frame_needed = 0, uses_anonymous_args = 0 7305 @ link register save eliminated. 3428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7306 .loc 1 3428 3 view .LVU2089 3433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7307 .loc 1 3433 1 is_stmt 0 view .LVU2090 7308 0000 7047 bx lr 7309 .cfi_endproc 7310 .LFE388: 7312 .section .text.HAL_TIMEx_IndexErrorCallback,"ax",%progbits 7313 .align 1 7314 .weak HAL_TIMEx_IndexErrorCallback 7315 .syntax unified 7316 .thumb 7317 .thumb_func 7319 HAL_TIMEx_IndexErrorCallback: 7320 .LVL535: 7321 .LFB389: 3441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 7322 .loc 1 3441 1 is_stmt 1 view -0 7323 .cfi_startproc 7324 @ args = 0, pretend = 0, frame = 0 7325 @ frame_needed = 0, uses_anonymous_args = 0 7326 @ link register save eliminated. 3443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7327 .loc 1 3443 3 view .LVU2092 3448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7328 .loc 1 3448 1 is_stmt 0 view .LVU2093 7329 0000 7047 bx lr 7330 .cfi_endproc 7331 .LFE389: 7333 .section .text.HAL_TIMEx_TransitionErrorCallback,"ax",%progbits 7334 .align 1 7335 .weak HAL_TIMEx_TransitionErrorCallback 7336 .syntax unified 7337 .thumb 7338 .thumb_func 7340 HAL_TIMEx_TransitionErrorCallback: 7341 .LVL536: 7342 .LFB390: 3456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 7343 .loc 1 3456 1 is_stmt 1 view -0 7344 .cfi_startproc 7345 @ args = 0, pretend = 0, frame = 0 7346 @ frame_needed = 0, uses_anonymous_args = 0 7347 @ link register save eliminated. 3458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7348 .loc 1 3458 3 view .LVU2095 3463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7349 .loc 1 3463 1 is_stmt 0 view .LVU2096 7350 0000 7047 bx lr 7351 .cfi_endproc 7352 .LFE390: 7354 .section .text.HAL_TIMEx_HallSensor_GetState,"ax",%progbits 7355 .align 1 7356 .global HAL_TIMEx_HallSensor_GetState 7357 .syntax unified ARM GAS /tmp/cc9HXhVl.s page 229 7358 .thumb 7359 .thumb_func 7361 HAL_TIMEx_HallSensor_GetState: 7362 .LVL537: 7363 .LFB391: 3490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return htim->State; 7364 .loc 1 3490 1 is_stmt 1 view -0 7365 .cfi_startproc 7366 @ args = 0, pretend = 0, frame = 0 7367 @ frame_needed = 0, uses_anonymous_args = 0 7368 @ link register save eliminated. 3491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 7369 .loc 1 3491 3 view .LVU2098 3491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 7370 .loc 1 3491 14 is_stmt 0 view .LVU2099 7371 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2 7372 .LVL538: 3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7373 .loc 1 3492 1 view .LVU2100 7374 0004 7047 bx lr 7375 .cfi_endproc 7376 .LFE391: 7378 .section .text.HAL_TIMEx_GetChannelNState,"ax",%progbits 7379 .align 1 7380 .global HAL_TIMEx_GetChannelNState 7381 .syntax unified 7382 .thumb 7383 .thumb_func 7385 HAL_TIMEx_GetChannelNState: 7386 .LVL539: 7387 .LFB392: 3506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_state; 7388 .loc 1 3506 1 is_stmt 1 view -0 7389 .cfi_startproc 7390 @ args = 0, pretend = 0, frame = 0 7391 @ frame_needed = 0, uses_anonymous_args = 0 7392 @ link register save eliminated. 3507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7393 .loc 1 3507 3 view .LVU2102 3510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7394 .loc 1 3510 3 view .LVU2103 3512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7395 .loc 1 3512 3 view .LVU2104 3512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7396 .loc 1 3512 19 is_stmt 0 view .LVU2105 7397 0000 19B9 cbnz r1, .L576 3512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7398 .loc 1 3512 19 discriminator 1 view .LVU2106 7399 0002 90F84400 ldrb r0, [r0, #68] @ zero_extendqisi2 7400 .LVL540: 3512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7401 .loc 1 3512 19 discriminator 1 view .LVU2107 7402 0006 C0B2 uxtb r0, r0 7403 0008 7047 bx lr 7404 .LVL541: 7405 .L576: 3512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/cc9HXhVl.s page 230 7406 .loc 1 3512 19 discriminator 2 view .LVU2108 7407 000a 0429 cmp r1, #4 7408 000c 05D0 beq .L580 3512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7409 .loc 1 3512 19 discriminator 5 view .LVU2109 7410 000e 0829 cmp r1, #8 7411 0010 07D0 beq .L581 3512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7412 .loc 1 3512 19 discriminator 8 view .LVU2110 7413 0012 90F84700 ldrb r0, [r0, #71] @ zero_extendqisi2 7414 .LVL542: 3512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7415 .loc 1 3512 19 discriminator 8 view .LVU2111 7416 0016 C0B2 uxtb r0, r0 7417 .LVL543: 3514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 7418 .loc 1 3514 3 is_stmt 1 discriminator 8 view .LVU2112 3515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 7419 .loc 1 3515 1 is_stmt 0 discriminator 8 view .LVU2113 7420 0018 7047 bx lr 7421 .LVL544: 7422 .L580: 3512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7423 .loc 1 3512 19 discriminator 4 view .LVU2114 7424 001a 90F84500 ldrb r0, [r0, #69] @ zero_extendqisi2 7425 .LVL545: 3512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7426 .loc 1 3512 19 discriminator 4 view .LVU2115 7427 001e C0B2 uxtb r0, r0 7428 0020 7047 bx lr 7429 .LVL546: 7430 .L581: 3512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7431 .loc 1 3512 19 discriminator 7 view .LVU2116 7432 0022 90F84600 ldrb r0, [r0, #70] @ zero_extendqisi2 7433 .LVL547: 3512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7434 .loc 1 3512 19 discriminator 7 view .LVU2117 7435 0026 C0B2 uxtb r0, r0 7436 0028 7047 bx lr 7437 .cfi_endproc 7438 .LFE392: 7440 .text 7441 .Letext0: 7442 .file 2 "/usr/lib/gcc/arm-none-eabi/12.2.1/include/stdint.h" 7443 .file 3 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g431xx.h" 7444 .file 4 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g4xx.h" 7445 .file 5 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_def.h" 7446 .file 6 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_dma.h" 7447 .file 7 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_tim.h" 7448 .file 8 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_tim_ex.h" 7449 .file 9 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal.h" ARM GAS /tmp/cc9HXhVl.s page 231 DEFINED SYMBOLS *ABS*:00000000 stm32g4xx_hal_tim_ex.c /tmp/cc9HXhVl.s:21 .text.TIM_CCxNChannelCmd:00000000 $t /tmp/cc9HXhVl.s:26 .text.TIM_CCxNChannelCmd:00000000 TIM_CCxNChannelCmd /tmp/cc9HXhVl.s:64 .text.TIM_DMAErrorCCxN:00000000 $t /tmp/cc9HXhVl.s:69 .text.TIM_DMAErrorCCxN:00000000 TIM_DMAErrorCCxN /tmp/cc9HXhVl.s:149 .text.TIM_DMADelayPulseNCplt:00000000 $t /tmp/cc9HXhVl.s:154 .text.TIM_DMADelayPulseNCplt:00000000 TIM_DMADelayPulseNCplt /tmp/cc9HXhVl.s:274 .text.HAL_TIMEx_HallSensor_MspInit:00000000 $t /tmp/cc9HXhVl.s:280 .text.HAL_TIMEx_HallSensor_MspInit:00000000 HAL_TIMEx_HallSensor_MspInit /tmp/cc9HXhVl.s:295 .text.HAL_TIMEx_HallSensor_Init:00000000 $t /tmp/cc9HXhVl.s:301 .text.HAL_TIMEx_HallSensor_Init:00000000 HAL_TIMEx_HallSensor_Init /tmp/cc9HXhVl.s:518 .text.HAL_TIMEx_HallSensor_MspDeInit:00000000 $t /tmp/cc9HXhVl.s:524 .text.HAL_TIMEx_HallSensor_MspDeInit:00000000 HAL_TIMEx_HallSensor_MspDeInit /tmp/cc9HXhVl.s:539 .text.HAL_TIMEx_HallSensor_DeInit:00000000 $t /tmp/cc9HXhVl.s:545 .text.HAL_TIMEx_HallSensor_DeInit:00000000 HAL_TIMEx_HallSensor_DeInit /tmp/cc9HXhVl.s:615 .text.HAL_TIMEx_HallSensor_Start:00000000 $t /tmp/cc9HXhVl.s:621 .text.HAL_TIMEx_HallSensor_Start:00000000 HAL_TIMEx_HallSensor_Start /tmp/cc9HXhVl.s:784 .text.HAL_TIMEx_HallSensor_Start:000000b0 $d /tmp/cc9HXhVl.s:790 .text.HAL_TIMEx_HallSensor_Stop:00000000 $t /tmp/cc9HXhVl.s:796 .text.HAL_TIMEx_HallSensor_Stop:00000000 HAL_TIMEx_HallSensor_Stop /tmp/cc9HXhVl.s:855 .text.HAL_TIMEx_HallSensor_Start_IT:00000000 $t /tmp/cc9HXhVl.s:861 .text.HAL_TIMEx_HallSensor_Start_IT:00000000 HAL_TIMEx_HallSensor_Start_IT /tmp/cc9HXhVl.s:1032 .text.HAL_TIMEx_HallSensor_Start_IT:000000bc $d /tmp/cc9HXhVl.s:1038 .text.HAL_TIMEx_HallSensor_Stop_IT:00000000 $t /tmp/cc9HXhVl.s:1044 .text.HAL_TIMEx_HallSensor_Stop_IT:00000000 HAL_TIMEx_HallSensor_Stop_IT /tmp/cc9HXhVl.s:1108 .text.HAL_TIMEx_HallSensor_Start_DMA:00000000 $t /tmp/cc9HXhVl.s:1114 .text.HAL_TIMEx_HallSensor_Start_DMA:00000000 HAL_TIMEx_HallSensor_Start_DMA /tmp/cc9HXhVl.s:1305 .text.HAL_TIMEx_HallSensor_Start_DMA:000000d4 $d /tmp/cc9HXhVl.s:1314 .text.HAL_TIMEx_HallSensor_Stop_DMA:00000000 $t /tmp/cc9HXhVl.s:1320 .text.HAL_TIMEx_HallSensor_Stop_DMA:00000000 HAL_TIMEx_HallSensor_Stop_DMA /tmp/cc9HXhVl.s:1385 .text.HAL_TIMEx_OCN_Start:00000000 $t /tmp/cc9HXhVl.s:1391 .text.HAL_TIMEx_OCN_Start:00000000 HAL_TIMEx_OCN_Start /tmp/cc9HXhVl.s:1579 .text.HAL_TIMEx_OCN_Start:000000ec $d /tmp/cc9HXhVl.s:1585 .text.HAL_TIMEx_OCN_Stop:00000000 $t /tmp/cc9HXhVl.s:1591 .text.HAL_TIMEx_OCN_Stop:00000000 HAL_TIMEx_OCN_Stop /tmp/cc9HXhVl.s:1688 .text.HAL_TIMEx_OCN_Start_IT:00000000 $t /tmp/cc9HXhVl.s:1694 .text.HAL_TIMEx_OCN_Start_IT:00000000 HAL_TIMEx_OCN_Start_IT /tmp/cc9HXhVl.s:1848 .text.HAL_TIMEx_OCN_Start_IT:000000d4 $d /tmp/cc9HXhVl.s:1861 .text.HAL_TIMEx_OCN_Start_IT:00000108 $t /tmp/cc9HXhVl.s:1949 .text.HAL_TIMEx_OCN_Start_IT:00000164 $d /tmp/cc9HXhVl.s:1955 .text.HAL_TIMEx_OCN_Stop_IT:00000000 $t /tmp/cc9HXhVl.s:1961 .text.HAL_TIMEx_OCN_Stop_IT:00000000 HAL_TIMEx_OCN_Stop_IT /tmp/cc9HXhVl.s:1987 .text.HAL_TIMEx_OCN_Stop_IT:0000000e $d /tmp/cc9HXhVl.s:2148 .text.HAL_TIMEx_OCN_Start_DMA:00000000 $t /tmp/cc9HXhVl.s:2154 .text.HAL_TIMEx_OCN_Start_DMA:00000000 HAL_TIMEx_OCN_Start_DMA /tmp/cc9HXhVl.s:2420 .text.HAL_TIMEx_OCN_Start_DMA:00000164 $d /tmp/cc9HXhVl.s:2433 .text.HAL_TIMEx_OCN_Start_DMA:00000198 $t /tmp/cc9HXhVl.s:2637 .text.HAL_TIMEx_OCN_Start_DMA:0000026c $d /tmp/cc9HXhVl.s:2646 .text.HAL_TIMEx_OCN_Stop_DMA:00000000 $t /tmp/cc9HXhVl.s:2652 .text.HAL_TIMEx_OCN_Stop_DMA:00000000 HAL_TIMEx_OCN_Stop_DMA /tmp/cc9HXhVl.s:2677 .text.HAL_TIMEx_OCN_Stop_DMA:0000000e $d /tmp/cc9HXhVl.s:2845 .text.HAL_TIMEx_PWMN_Start:00000000 $t /tmp/cc9HXhVl.s:2851 .text.HAL_TIMEx_PWMN_Start:00000000 HAL_TIMEx_PWMN_Start /tmp/cc9HXhVl.s:3039 .text.HAL_TIMEx_PWMN_Start:000000ec $d /tmp/cc9HXhVl.s:3045 .text.HAL_TIMEx_PWMN_Stop:00000000 $t /tmp/cc9HXhVl.s:3051 .text.HAL_TIMEx_PWMN_Stop:00000000 HAL_TIMEx_PWMN_Stop ARM GAS /tmp/cc9HXhVl.s page 232 /tmp/cc9HXhVl.s:3148 .text.HAL_TIMEx_PWMN_Start_IT:00000000 $t /tmp/cc9HXhVl.s:3154 .text.HAL_TIMEx_PWMN_Start_IT:00000000 HAL_TIMEx_PWMN_Start_IT /tmp/cc9HXhVl.s:3308 .text.HAL_TIMEx_PWMN_Start_IT:000000d4 $d /tmp/cc9HXhVl.s:3321 .text.HAL_TIMEx_PWMN_Start_IT:00000108 $t /tmp/cc9HXhVl.s:3409 .text.HAL_TIMEx_PWMN_Start_IT:00000164 $d /tmp/cc9HXhVl.s:3415 .text.HAL_TIMEx_PWMN_Stop_IT:00000000 $t /tmp/cc9HXhVl.s:3421 .text.HAL_TIMEx_PWMN_Stop_IT:00000000 HAL_TIMEx_PWMN_Stop_IT /tmp/cc9HXhVl.s:3447 .text.HAL_TIMEx_PWMN_Stop_IT:0000000e $d /tmp/cc9HXhVl.s:3608 .text.HAL_TIMEx_PWMN_Start_DMA:00000000 $t /tmp/cc9HXhVl.s:3614 .text.HAL_TIMEx_PWMN_Start_DMA:00000000 HAL_TIMEx_PWMN_Start_DMA /tmp/cc9HXhVl.s:3880 .text.HAL_TIMEx_PWMN_Start_DMA:00000164 $d /tmp/cc9HXhVl.s:3893 .text.HAL_TIMEx_PWMN_Start_DMA:00000198 $t /tmp/cc9HXhVl.s:4097 .text.HAL_TIMEx_PWMN_Start_DMA:0000026c $d /tmp/cc9HXhVl.s:4106 .text.HAL_TIMEx_PWMN_Stop_DMA:00000000 $t /tmp/cc9HXhVl.s:4112 .text.HAL_TIMEx_PWMN_Stop_DMA:00000000 HAL_TIMEx_PWMN_Stop_DMA /tmp/cc9HXhVl.s:4137 .text.HAL_TIMEx_PWMN_Stop_DMA:0000000e $d /tmp/cc9HXhVl.s:4305 .text.HAL_TIMEx_OnePulseN_Start:00000000 $t /tmp/cc9HXhVl.s:4311 .text.HAL_TIMEx_OnePulseN_Start:00000000 HAL_TIMEx_OnePulseN_Start /tmp/cc9HXhVl.s:4439 .text.HAL_TIMEx_OnePulseN_Stop:00000000 $t /tmp/cc9HXhVl.s:4445 .text.HAL_TIMEx_OnePulseN_Stop:00000000 HAL_TIMEx_OnePulseN_Stop /tmp/cc9HXhVl.s:4540 .text.HAL_TIMEx_OnePulseN_Start_IT:00000000 $t /tmp/cc9HXhVl.s:4546 .text.HAL_TIMEx_OnePulseN_Start_IT:00000000 HAL_TIMEx_OnePulseN_Start_IT /tmp/cc9HXhVl.s:4684 .text.HAL_TIMEx_OnePulseN_Stop_IT:00000000 $t /tmp/cc9HXhVl.s:4690 .text.HAL_TIMEx_OnePulseN_Stop_IT:00000000 HAL_TIMEx_OnePulseN_Stop_IT /tmp/cc9HXhVl.s:4795 .text.HAL_TIMEx_ConfigCommutEvent:00000000 $t /tmp/cc9HXhVl.s:4801 .text.HAL_TIMEx_ConfigCommutEvent:00000000 HAL_TIMEx_ConfigCommutEvent /tmp/cc9HXhVl.s:4944 .text.HAL_TIMEx_ConfigCommutEvent:0000009c $d /tmp/cc9HXhVl.s:4950 .text.HAL_TIMEx_ConfigCommutEvent_IT:00000000 $t /tmp/cc9HXhVl.s:4956 .text.HAL_TIMEx_ConfigCommutEvent_IT:00000000 HAL_TIMEx_ConfigCommutEvent_IT /tmp/cc9HXhVl.s:5099 .text.HAL_TIMEx_ConfigCommutEvent_IT:0000009c $d /tmp/cc9HXhVl.s:5105 .text.HAL_TIMEx_ConfigCommutEvent_DMA:00000000 $t /tmp/cc9HXhVl.s:5111 .text.HAL_TIMEx_ConfigCommutEvent_DMA:00000000 HAL_TIMEx_ConfigCommutEvent_DMA /tmp/cc9HXhVl.s:5272 .text.HAL_TIMEx_ConfigCommutEvent_DMA:000000b0 $d /tmp/cc9HXhVl.s:7142 .text.TIMEx_DMACommutationCplt:00000000 TIMEx_DMACommutationCplt /tmp/cc9HXhVl.s:7199 .text.TIMEx_DMACommutationHalfCplt:00000000 TIMEx_DMACommutationHalfCplt /tmp/cc9HXhVl.s:5281 .text.HAL_TIMEx_MasterConfigSynchronization:00000000 $t /tmp/cc9HXhVl.s:5287 .text.HAL_TIMEx_MasterConfigSynchronization:00000000 HAL_TIMEx_MasterConfigSynchronization /tmp/cc9HXhVl.s:5441 .text.HAL_TIMEx_MasterConfigSynchronization:00000090 $d /tmp/cc9HXhVl.s:5446 .text.HAL_TIMEx_ConfigBreakDeadTime:00000000 $t /tmp/cc9HXhVl.s:5452 .text.HAL_TIMEx_ConfigBreakDeadTime:00000000 HAL_TIMEx_ConfigBreakDeadTime /tmp/cc9HXhVl.s:5663 .text.HAL_TIMEx_ConfigBreakDeadTime:000000b8 $d /tmp/cc9HXhVl.s:5668 .text.HAL_TIMEx_ConfigBreakInput:00000000 $t /tmp/cc9HXhVl.s:5674 .text.HAL_TIMEx_ConfigBreakInput:00000000 HAL_TIMEx_ConfigBreakInput /tmp/cc9HXhVl.s:5723 .text.HAL_TIMEx_ConfigBreakInput:0000001e $d /tmp/cc9HXhVl.s:5739 .text.HAL_TIMEx_ConfigBreakInput:0000002e $t /tmp/cc9HXhVl.s:5931 .text.HAL_TIMEx_RemapConfig:00000000 $t /tmp/cc9HXhVl.s:5937 .text.HAL_TIMEx_RemapConfig:00000000 HAL_TIMEx_RemapConfig /tmp/cc9HXhVl.s:5986 .text.HAL_TIMEx_TISelection:00000000 $t /tmp/cc9HXhVl.s:5992 .text.HAL_TIMEx_TISelection:00000000 HAL_TIMEx_TISelection /tmp/cc9HXhVl.s:6022 .text.HAL_TIMEx_TISelection:00000018 $d /tmp/cc9HXhVl.s:6142 .text.HAL_TIMEx_TISelection:00000098 $d /tmp/cc9HXhVl.s:6147 .text.HAL_TIMEx_GroupChannel5:00000000 $t /tmp/cc9HXhVl.s:6153 .text.HAL_TIMEx_GroupChannel5:00000000 HAL_TIMEx_GroupChannel5 /tmp/cc9HXhVl.s:6226 .text.HAL_TIMEx_DisarmBreakInput:00000000 $t /tmp/cc9HXhVl.s:6232 .text.HAL_TIMEx_DisarmBreakInput:00000000 HAL_TIMEx_DisarmBreakInput /tmp/cc9HXhVl.s:6319 .text.HAL_TIMEx_DisarmBreakInput:00000048 $d /tmp/cc9HXhVl.s:6325 .text.HAL_TIMEx_ReArmBreakInput:00000000 $t ARM GAS /tmp/cc9HXhVl.s page 233 /tmp/cc9HXhVl.s:6331 .text.HAL_TIMEx_ReArmBreakInput:00000000 HAL_TIMEx_ReArmBreakInput /tmp/cc9HXhVl.s:6476 .text.HAL_TIMEx_DitheringEnable:00000000 $t /tmp/cc9HXhVl.s:6482 .text.HAL_TIMEx_DitheringEnable:00000000 HAL_TIMEx_DitheringEnable /tmp/cc9HXhVl.s:6506 .text.HAL_TIMEx_DitheringDisable:00000000 $t /tmp/cc9HXhVl.s:6512 .text.HAL_TIMEx_DitheringDisable:00000000 HAL_TIMEx_DitheringDisable /tmp/cc9HXhVl.s:6536 .text.HAL_TIMEx_OC_ConfigPulseOnCompare:00000000 $t /tmp/cc9HXhVl.s:6542 .text.HAL_TIMEx_OC_ConfigPulseOnCompare:00000000 HAL_TIMEx_OC_ConfigPulseOnCompare /tmp/cc9HXhVl.s:6625 .text.HAL_TIMEx_ConfigSlaveModePreload:00000000 $t /tmp/cc9HXhVl.s:6631 .text.HAL_TIMEx_ConfigSlaveModePreload:00000000 HAL_TIMEx_ConfigSlaveModePreload /tmp/cc9HXhVl.s:6657 .text.HAL_TIMEx_EnableSlaveModePreload:00000000 $t /tmp/cc9HXhVl.s:6663 .text.HAL_TIMEx_EnableSlaveModePreload:00000000 HAL_TIMEx_EnableSlaveModePreload /tmp/cc9HXhVl.s:6687 .text.HAL_TIMEx_DisableSlaveModePreload:00000000 $t /tmp/cc9HXhVl.s:6693 .text.HAL_TIMEx_DisableSlaveModePreload:00000000 HAL_TIMEx_DisableSlaveModePreload /tmp/cc9HXhVl.s:6717 .text.HAL_TIMEx_EnableDeadTimePreload:00000000 $t /tmp/cc9HXhVl.s:6723 .text.HAL_TIMEx_EnableDeadTimePreload:00000000 HAL_TIMEx_EnableDeadTimePreload /tmp/cc9HXhVl.s:6747 .text.HAL_TIMEx_DisableDeadTimePreload:00000000 $t /tmp/cc9HXhVl.s:6753 .text.HAL_TIMEx_DisableDeadTimePreload:00000000 HAL_TIMEx_DisableDeadTimePreload /tmp/cc9HXhVl.s:6777 .text.HAL_TIMEx_ConfigDeadTime:00000000 $t /tmp/cc9HXhVl.s:6783 .text.HAL_TIMEx_ConfigDeadTime:00000000 HAL_TIMEx_ConfigDeadTime /tmp/cc9HXhVl.s:6809 .text.HAL_TIMEx_ConfigAsymmetricalDeadTime:00000000 $t /tmp/cc9HXhVl.s:6815 .text.HAL_TIMEx_ConfigAsymmetricalDeadTime:00000000 HAL_TIMEx_ConfigAsymmetricalDeadTime /tmp/cc9HXhVl.s:6841 .text.HAL_TIMEx_EnableAsymmetricalDeadTime:00000000 $t /tmp/cc9HXhVl.s:6847 .text.HAL_TIMEx_EnableAsymmetricalDeadTime:00000000 HAL_TIMEx_EnableAsymmetricalDeadTime /tmp/cc9HXhVl.s:6871 .text.HAL_TIMEx_DisableAsymmetricalDeadTime:00000000 $t /tmp/cc9HXhVl.s:6877 .text.HAL_TIMEx_DisableAsymmetricalDeadTime:00000000 HAL_TIMEx_DisableAsymmetricalDeadTime /tmp/cc9HXhVl.s:6901 .text.HAL_TIMEx_ConfigEncoderIndex:00000000 $t /tmp/cc9HXhVl.s:6907 .text.HAL_TIMEx_ConfigEncoderIndex:00000000 HAL_TIMEx_ConfigEncoderIndex /tmp/cc9HXhVl.s:6995 .text.HAL_TIMEx_EnableEncoderIndex:00000000 $t /tmp/cc9HXhVl.s:7001 .text.HAL_TIMEx_EnableEncoderIndex:00000000 HAL_TIMEx_EnableEncoderIndex /tmp/cc9HXhVl.s:7025 .text.HAL_TIMEx_DisableEncoderIndex:00000000 $t /tmp/cc9HXhVl.s:7031 .text.HAL_TIMEx_DisableEncoderIndex:00000000 HAL_TIMEx_DisableEncoderIndex /tmp/cc9HXhVl.s:7055 .text.HAL_TIMEx_EnableEncoderFirstIndex:00000000 $t /tmp/cc9HXhVl.s:7061 .text.HAL_TIMEx_EnableEncoderFirstIndex:00000000 HAL_TIMEx_EnableEncoderFirstIndex /tmp/cc9HXhVl.s:7085 .text.HAL_TIMEx_DisableEncoderFirstIndex:00000000 $t /tmp/cc9HXhVl.s:7091 .text.HAL_TIMEx_DisableEncoderFirstIndex:00000000 HAL_TIMEx_DisableEncoderFirstIndex /tmp/cc9HXhVl.s:7115 .text.HAL_TIMEx_CommutCallback:00000000 $t /tmp/cc9HXhVl.s:7121 .text.HAL_TIMEx_CommutCallback:00000000 HAL_TIMEx_CommutCallback /tmp/cc9HXhVl.s:7136 .text.TIMEx_DMACommutationCplt:00000000 $t /tmp/cc9HXhVl.s:7172 .text.HAL_TIMEx_CommutHalfCpltCallback:00000000 $t /tmp/cc9HXhVl.s:7178 .text.HAL_TIMEx_CommutHalfCpltCallback:00000000 HAL_TIMEx_CommutHalfCpltCallback /tmp/cc9HXhVl.s:7193 .text.TIMEx_DMACommutationHalfCplt:00000000 $t /tmp/cc9HXhVl.s:7229 .text.HAL_TIMEx_BreakCallback:00000000 $t /tmp/cc9HXhVl.s:7235 .text.HAL_TIMEx_BreakCallback:00000000 HAL_TIMEx_BreakCallback /tmp/cc9HXhVl.s:7250 .text.HAL_TIMEx_Break2Callback:00000000 $t /tmp/cc9HXhVl.s:7256 .text.HAL_TIMEx_Break2Callback:00000000 HAL_TIMEx_Break2Callback /tmp/cc9HXhVl.s:7271 .text.HAL_TIMEx_EncoderIndexCallback:00000000 $t /tmp/cc9HXhVl.s:7277 .text.HAL_TIMEx_EncoderIndexCallback:00000000 HAL_TIMEx_EncoderIndexCallback /tmp/cc9HXhVl.s:7292 .text.HAL_TIMEx_DirectionChangeCallback:00000000 $t /tmp/cc9HXhVl.s:7298 .text.HAL_TIMEx_DirectionChangeCallback:00000000 HAL_TIMEx_DirectionChangeCallback /tmp/cc9HXhVl.s:7313 .text.HAL_TIMEx_IndexErrorCallback:00000000 $t /tmp/cc9HXhVl.s:7319 .text.HAL_TIMEx_IndexErrorCallback:00000000 HAL_TIMEx_IndexErrorCallback /tmp/cc9HXhVl.s:7334 .text.HAL_TIMEx_TransitionErrorCallback:00000000 $t /tmp/cc9HXhVl.s:7340 .text.HAL_TIMEx_TransitionErrorCallback:00000000 HAL_TIMEx_TransitionErrorCallback /tmp/cc9HXhVl.s:7355 .text.HAL_TIMEx_HallSensor_GetState:00000000 $t /tmp/cc9HXhVl.s:7361 .text.HAL_TIMEx_HallSensor_GetState:00000000 HAL_TIMEx_HallSensor_GetState /tmp/cc9HXhVl.s:7379 .text.HAL_TIMEx_GetChannelNState:00000000 $t /tmp/cc9HXhVl.s:7385 .text.HAL_TIMEx_GetChannelNState:00000000 HAL_TIMEx_GetChannelNState ARM GAS /tmp/cc9HXhVl.s page 234 /tmp/cc9HXhVl.s:2000 .text.HAL_TIMEx_OCN_Stop_IT:0000001b $d /tmp/cc9HXhVl.s:2000 .text.HAL_TIMEx_OCN_Stop_IT:0000001c $t /tmp/cc9HXhVl.s:2690 .text.HAL_TIMEx_OCN_Stop_DMA:0000001b $d /tmp/cc9HXhVl.s:2690 .text.HAL_TIMEx_OCN_Stop_DMA:0000001c $t /tmp/cc9HXhVl.s:3460 .text.HAL_TIMEx_PWMN_Stop_IT:0000001b $d /tmp/cc9HXhVl.s:3460 .text.HAL_TIMEx_PWMN_Stop_IT:0000001c $t /tmp/cc9HXhVl.s:4150 .text.HAL_TIMEx_PWMN_Stop_DMA:0000001b $d /tmp/cc9HXhVl.s:4150 .text.HAL_TIMEx_PWMN_Stop_DMA:0000001c $t /tmp/cc9HXhVl.s:6035 .text.HAL_TIMEx_TISelection:00000025 $d /tmp/cc9HXhVl.s:6035 .text.HAL_TIMEx_TISelection:00000026 $t 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 HAL_GetTick TIM_ETR_SetConfig