ARM GAS /tmp/ccdmQ4z9.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/ccdmQ4z9.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/ccdmQ4z9.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/ccdmQ4z9.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, const TIM_HallSensor_InitTypeD 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_PERIOD(htim, htim->Init.Period)); 174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->IC1Prescaler)); 175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_IC_FILTER(sConfig->IC1Filter)); 176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (htim->State == HAL_TIM_STATE_RESET) 178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Allocate lock resource and initialize it */ 180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Lock = HAL_UNLOCKED; 181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset interrupt callbacks to legacy week callbacks */ 184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ResetCallback(htim); 185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (htim->HallSensor_MspInitCallback == NULL) 187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->HallSensor_MspInitCallback = HAL_TIMEx_HallSensor_MspInit; 189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */ 191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->HallSensor_MspInitCallback(htim); 192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else 193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC and DMA */ 194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIMEx_HallSensor_MspInit(htim); 195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM state */ 199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_BUSY; 200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Configure the Time base in the Encoder Mode */ ARM GAS /tmp/ccdmQ4z9.s page 5 202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_Base_SetConfig(htim->Instance, &htim->Init); 203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 204: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 205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_TI1_SetConfig(htim->Instance, sConfig->IC1Polarity, TIM_ICSELECTION_TRC, sConfig->IC1Filter); 206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the IC1PSC Bits */ 208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CCMR1 &= ~TIM_CCMR1_IC1PSC; 209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the IC1PSC value */ 210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CCMR1 |= sConfig->IC1Prescaler; 211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Hall sensor interface (XOR function of the three inputs) */ 213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_CR2_TI1S; 214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TIM_TS_TI1F_ED signal as Input trigger for the TIM */ 216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS; 217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_TS_TI1F_ED; 218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 219: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 */ 220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR &= ~TIM_SMCR_SMS; 221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_RESET; 222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Program channel 2 in PWM 2 mode with the desired Commutation_Delay*/ 224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCFastMode = TIM_OCFAST_DISABLE; 225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCIdleState = TIM_OCIDLESTATE_RESET; 226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCMode = TIM_OCMODE_PWM2; 227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCNIdleState = TIM_OCNIDLESTATE_RESET; 228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCNPolarity = TIM_OCNPOLARITY_HIGH; 229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCPolarity = TIM_OCPOLARITY_HIGH; 230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.Pulse = sConfig->Commutation_Delay; 231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_OC2_SetConfig(htim->Instance, &OC_Config); 233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 234: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 235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** register to 101 */ 236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 &= ~TIM_CR2_MMS; 237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_TRGO_OC2REF; 238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Initialize the DMA burst operation state */ 240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY; 241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Initialize the TIM channels state */ 243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Initialize the TIM state*/ 249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY; 250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 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 **** /** 255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief DeInitializes the TIM Hall Sensor interface 256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle 257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ ARM GAS /tmp/ccdmQ4z9.s page 6 259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_DeInit(TIM_HandleTypeDef *htim) 260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_BUSY; 265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Peripheral Clock */ 267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim); 268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (htim->HallSensor_MspDeInitCallback == NULL) 271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->HallSensor_MspDeInitCallback = HAL_TIMEx_HallSensor_MspDeInit; 273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* DeInit the low level hardware */ 275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->HallSensor_MspDeInitCallback(htim); 276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else 277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC */ 278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIMEx_HallSensor_MspDeInit(htim); 279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the DMA burst operation state */ 282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_RESET; 283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the TIM channels state */ 285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET); 286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET); 287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET); 288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET); 289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change TIM state */ 291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_RESET; 292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Release Lock */ 294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim); 295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 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 **** /** 300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Initializes the TIM Hall Sensor MSP. 301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle 302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_HallSensor_MspInit(TIM_HandleTypeDef *htim) 305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim); 308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed, 310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_HallSensor_MspInit could be implemented in the user file 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 **** /** 315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief DeInitializes TIM Hall Sensor MSP. ARM GAS /tmp/ccdmQ4z9.s page 7 316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle 317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_HallSensor_MspDeInit(TIM_HandleTypeDef *htim) 320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim); 323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed, 325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_HallSensor_MspDeInit could be implemented in the user file 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 **** /** 330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM Hall Sensor Interface. 331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle 332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start(TIM_HandleTypeDef *htim) 335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 339: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 340: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 341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance)); 344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM channels state */ 346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */ 355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Input Capture channel 1 361: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, 362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_2 and TIM_CHANNEL_3) */ 363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); 364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger 366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } ARM GAS /tmp/ccdmQ4z9.s page 8 373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 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 **** /** 384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM Hall sensor Interface. 385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle 386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop(TIM_HandleTypeDef *htim) 389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance)); 392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Input Capture channels 1, 2 and 3 394: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, 395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_2 and TIM_CHANNEL_3) */ 396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE); 397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */ 399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim); 400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */ 402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 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 **** /** 412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM Hall Sensor Interface in interrupt mode. 413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle 414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start_IT(TIM_HandleTypeDef *htim) 417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 421: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 422: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 423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance)); 426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM channels state */ 428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) ARM GAS /tmp/ccdmQ4z9.s page 9 430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */ 437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the capture compare Interrupts 1 event */ 443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Input Capture channel 1 446: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, 447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_2 and TIM_CHANNEL_3) */ 448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); 449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger 451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 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 **** /** 469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM Hall Sensor Interface in interrupt mode. 470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle 471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_IT(TIM_HandleTypeDef *htim) 474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance)); 477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Input Capture channel 1 479: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, 480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_2 and TIM_CHANNEL_3) */ 481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE); 482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the capture compare Interrupts event */ 484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1); 485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */ ARM GAS /tmp/ccdmQ4z9.s page 10 487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim); 488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */ 490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 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 **** /** 500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM Hall Sensor Interface in DMA mode. 501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle 502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param pData The destination Buffer address. 503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Length The length of data to be transferred from TIM peripheral to memory. 504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 506: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 507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 510: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 511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance)); 514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channel state */ 516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY) 517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY)) 518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_BUSY; 520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if ((channel_1_state == HAL_TIM_CHANNEL_STATE_READY) 522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY)) 523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((pData == NULL) || (Length == 0U)) 525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Input Capture channel 1 540: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, 541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_2 and TIM_CHANNEL_3) */ 542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); 543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/ccdmQ4z9.s page 11 544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA Input Capture 1 Callbacks */ 545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMACaptureCplt; 546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ; 549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel for Capture 1*/ 551: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 552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */ 554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the capture compare 1 Interrupt */ 557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1); 558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger 560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 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 **** /** 578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM Hall Sensor Interface in DMA mode. 579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle 580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_DMA(TIM_HandleTypeDef *htim) 583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance)); 586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Input Capture channel 1 588: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, 589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_2 and TIM_CHANNEL_3) */ 590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE); 591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the capture compare Interrupts 1 event */ 594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1); 595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */ 599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim); 600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/ccdmQ4z9.s page 12 601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channel state */ 602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 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 **** 613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group2 Extended Timer Complementary Output Compare functions 614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Timer Complementary Output Compare functions 615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim 617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== 618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Timer Complementary Output Compare functions ##### 619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== 620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..] 621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** This section provides functions allowing to: 622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary Output Compare/PWM. 623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary Output Compare/PWM. 624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary Output Compare/PWM and enable interrupts. 625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary Output Compare/PWM and disable interrupts. 626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary Output Compare/PWM and enable DMA transfers. 627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary Output Compare/PWM and disable DMA transfers. 628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim 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 **** /** 634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM Output Compare signal generation on the complementary 635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * output. 636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Output Compare handle 637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be enabled 638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Start(TIM_HandleTypeDef *htim, uint32_t Channel) 646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); 651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM complementary channel state */ 653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY) 654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/ccdmQ4z9.s page 13 658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */ 659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Capture compare channel N */ 662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE); 663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */ 665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim); 666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger 668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 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 **** /** 686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM Output Compare signal generation on the complementary 687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * output. 688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled 690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel) 698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); 701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Capture compare channel N */ 703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE); 704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */ 706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim); 707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */ 709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim); 710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */ 712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ ARM GAS /tmp/ccdmQ4z9.s page 14 715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 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 **** /** 719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM Output Compare signal generation in interrupt mode 720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * on the complementary output. 721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM OC handle 722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be enabled 723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel) 731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); 737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM complementary channel state */ 739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY) 740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */ 745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel) 748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1: 750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare interrupt */ 752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2: 757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare interrupt */ 759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3: 764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare interrupt */ 766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC3); 767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 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 **** 771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4: ARM GAS /tmp/ccdmQ4z9.s page 15 772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare interrupt */ 774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC4); 775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR; 780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (status == HAL_OK) 784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Break interrupt */ 786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_BREAK); 787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Capture compare channel N */ 789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE); 790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */ 792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim); 793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigge 795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 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 **** 809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status; 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 **** /** 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM Output Compare signal generation in interrupt mode 815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * on the complementary output. 816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Output Compare handle 817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled 818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel) 826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpccer; ARM GAS /tmp/ccdmQ4z9.s page 16 829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel) 834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1: 836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare interrupt */ 838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1); 839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2: 843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare interrupt */ 845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2); 846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3: 850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare interrupt */ 852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC3); 853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4: 857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare interrupt */ 859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC4); 860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR; 865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (status == HAL_OK) 869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Capture compare channel N */ 871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE); 872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Break interrupt (only if no more channel is active) */ 874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpccer = htim->Instance->CCER; 875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & TIM_CCER_CCxNE_MASK) == (uint32_t)RESET) 876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_BREAK); 878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */ 881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim); 882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */ 884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim); 885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/ccdmQ4z9.s page 17 886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */ 887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status; 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 **** /** 895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM Output Compare signal generation in DMA mode 896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * on the complementary output. 897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Output Compare handle 898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be enabled 899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param pData The source Buffer address. 905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Length The length of data to be transferred from memory to TIM peripheral 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t 909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint16_t Length) 910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); 916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */ 918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_BUSY) 919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_BUSY; 921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_READY) 923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((pData == NULL) || (Length == 0U)) 925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel) 939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1: 941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */ ARM GAS /tmp/ccdmQ4z9.s page 18 943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMADelayPulseNCplt; 944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAErrorCCxN ; 948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */ 950: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-> 951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */ 954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare DMA request */ 957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1); 958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2: 962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */ 964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMADelayPulseNCplt; 965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAErrorCCxN ; 969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */ 971: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-> 972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */ 975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare DMA request */ 978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2); 979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3: 983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */ 985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferCpltCallback = TIM_DMADelayPulseNCplt; 986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferErrorCallback = TIM_DMAErrorCCxN ; 990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */ 992: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-> 993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */ 996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare DMA request */ 999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC3); ARM GAS /tmp/ccdmQ4z9.s page 19 1000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4: 1004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */ 1006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferCpltCallback = TIM_DMADelayPulseNCplt; 1007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 1010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferErrorCallback = TIM_DMAErrorCCxN ; 1011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */ 1013: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-> 1014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 1015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */ 1017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 1018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare DMA request */ 1020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC4); 1021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 1025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR; 1026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (status == HAL_OK) 1030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Capture compare channel N */ 1032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE); 1033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */ 1035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim); 1036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigge 1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 1039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 1041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 1044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 1047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 1049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 1053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status; 1054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** ARM GAS /tmp/ccdmQ4z9.s page 20 1057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM Output Compare signal generation in DMA mode 1058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * on the complementary output. 1059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Output Compare handle 1060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled 1061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 1067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel) 1069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 1071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel) 1076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1: 1078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare DMA request */ 1080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1); 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 1082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2: 1086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare DMA request */ 1088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2); 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 1090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3: 1094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare DMA request */ 1096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC3); 1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 1098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4: 1102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare interrupt */ 1104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC4); 1105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 1106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 1110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR; 1111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/ccdmQ4z9.s page 21 1114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (status == HAL_OK) 1115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Capture compare channel N */ 1117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE); 1118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */ 1120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim); 1121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */ 1123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim); 1124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */ 1126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 1127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 1130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status; 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 **** */ 1136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group3 Extended Timer Complementary PWM functions 1138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Timer Complementary PWM functions 1139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 1140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim 1141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== 1142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Timer Complementary PWM functions ##### 1143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== 1144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..] 1145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** This section provides functions allowing to: 1146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary PWM. 1147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary PWM. 1148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary PWM and enable interrupts. 1149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary PWM and disable interrupts. 1150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary PWM and enable DMA transfers. 1151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary PWM and disable DMA transfers. 1152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim 1153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{ 1154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the PWM signal generation on the complementary output. 1158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 1159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be enabled 1160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 1166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Start(TIM_HandleTypeDef *htim, uint32_t Channel) 1168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 1170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/ccdmQ4z9.s page 22 1171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); 1173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM complementary channel state */ 1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY) 1176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 1178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */ 1181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 1182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the complementary PWM output */ 1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE); 1185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */ 1187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim); 1188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 1191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 1193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 1196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 1199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 1201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 1204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 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 **** /** 1208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the PWM signal generation on the complementary output. 1209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 1210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled 1211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 1217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel) 1219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); 1222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the complementary PWM output */ 1224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE); 1225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */ 1227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim); ARM GAS /tmp/ccdmQ4z9.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 **** /* Disable the Peripheral */ 1230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim); 1231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */ 1233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 1234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 1236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 1237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the PWM signal generation in interrupt mode on the 1241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * complementary output. 1242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 1243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled 1244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 1250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel) 1252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 1254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 1255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); 1258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM complementary channel state */ 1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY) 1261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 1263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */ 1266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 1267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel) 1269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1: 1271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 1 interrupt */ 1273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 1274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2: 1278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 2 interrupt */ 1280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 1281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3: ARM GAS /tmp/ccdmQ4z9.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 **** /* Enable the TIM Capture/Compare 3 interrupt */ 1287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC3); 1288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4: 1292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 4 interrupt */ 1294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC4); 1295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 1299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR; 1300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (status == HAL_OK) 1304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Break interrupt */ 1306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_BREAK); 1307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the complementary PWM output */ 1309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE); 1310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */ 1312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim); 1313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigge 1315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 1316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 1318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 1321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 1324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 1326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 1330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status; 1331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the PWM signal generation in interrupt mode on the 1335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * complementary output. 1336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 1337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled 1338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected ARM GAS /tmp/ccdmQ4z9.s page 25 1342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 1344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel) 1346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 1348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpccer; 1349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); 1352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel) 1354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1: 1356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 1 interrupt */ 1358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1); 1359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2: 1363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 2 interrupt */ 1365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2); 1366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3: 1370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 3 interrupt */ 1372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC3); 1373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4: 1377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 4 interrupt */ 1379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC4); 1380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 1384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR; 1385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (status == HAL_OK) 1389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the complementary PWM output */ 1391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE); 1392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Break interrupt (only if no more channel is active) */ 1394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpccer = htim->Instance->CCER; 1395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & TIM_CCER_CCxNE_MASK) == (uint32_t)RESET) 1396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_BREAK); 1398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } ARM GAS /tmp/ccdmQ4z9.s page 26 1399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */ 1401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim); 1402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */ 1404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim); 1405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */ 1407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 1408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 1411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status; 1412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM PWM signal generation in DMA mode on the 1416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * complementary output 1417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 1418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be enabled 1419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param pData The source Buffer address. 1425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Length The length of data to be transferred from memory to TIM peripheral 1426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 1427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_ 1429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint16_t Length) 1430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 1432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 1433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); 1436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */ 1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_BUSY) 1439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_BUSY; 1441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_READY) 1443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((pData == NULL) || (Length == 0U)) 1445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 1447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 1449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 1451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 1454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; ARM GAS /tmp/ccdmQ4z9.s page 27 1456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel) 1459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1: 1461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */ 1463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMADelayPulseNCplt; 1464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 1467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAErrorCCxN ; 1468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */ 1470: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-> 1471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 1472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */ 1474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 1475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 1 DMA request */ 1477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1); 1478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2: 1482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */ 1484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMADelayPulseNCplt; 1485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 1488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAErrorCCxN ; 1489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */ 1491: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-> 1492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 1493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */ 1495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 1496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 2 DMA request */ 1498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2); 1499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3: 1503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */ 1505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferCpltCallback = TIM_DMADelayPulseNCplt; 1506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 1509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferErrorCallback = TIM_DMAErrorCCxN ; 1510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */ 1512: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-> ARM GAS /tmp/ccdmQ4z9.s page 28 1513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 1514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */ 1516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 1517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 3 DMA request */ 1519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC3); 1520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4: 1524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */ 1526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferCpltCallback = TIM_DMADelayPulseNCplt; 1527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 1530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferErrorCallback = TIM_DMAErrorCCxN ; 1531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */ 1533: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-> 1534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 1535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */ 1537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 1538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 4 DMA request */ 1540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC4); 1541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 1545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR; 1546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (status == HAL_OK) 1550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the complementary PWM output */ 1552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE); 1553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */ 1555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim); 1556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigge 1558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 1559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 1561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 1564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 1567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim); 1569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } ARM GAS /tmp/ccdmQ4z9.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 **** 1572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 1573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status; 1574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM PWM signal generation in DMA mode on the complementary 1578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * output 1579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 1580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled 1581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 1587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel) 1589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 1591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); 1594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel) 1596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1: 1598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 1 DMA request */ 1600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1); 1601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 1602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 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_2: 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 2 DMA request */ 1608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2); 1609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 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_3: 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 3 DMA request */ 1616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC3); 1617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 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_4: 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 4 DMA request */ 1624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC4); 1625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 1626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; ARM GAS /tmp/ccdmQ4z9.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 **** default: 1630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR; 1631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (status == HAL_OK) 1635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the complementary PWM output */ 1637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE); 1638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */ 1640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim); 1641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */ 1643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim); 1644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */ 1646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 1647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 1650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status; 1651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @} 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 **** /** @defgroup TIMEx_Exported_Functions_Group4 Extended Timer Complementary One Pulse functions 1658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Timer Complementary One Pulse functions 1659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 1660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim 1661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== 1662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Timer Complementary One Pulse functions ##### 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 **** This section provides functions allowing to: 1666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary One Pulse generation. 1667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary One Pulse. 1668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary One Pulse and enable interrupts. 1669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary One Pulse and disable interrupts. 1670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim 1672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{ 1673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM One Pulse signal generation on the complementary 1677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * output. 1678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note OutputChannel must match the pulse output channel chosen when calling 1679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @ref HAL_TIM_OnePulse_ConfigChannel(). 1680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM One Pulse handle 1681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param OutputChannel pulse output channel to enable 1682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected ARM GAS /tmp/ccdmQ4z9.s page 31 1684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 1686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start(TIM_HandleTypeDef *htim, uint32_t OutputChannel) 1688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1; 1690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 1691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 1692: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 1693: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 1694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, OutputChannel)); 1697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM channels state */ 1699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 1700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 1701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 1702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 1703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 1705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */ 1708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 1710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 1711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 1712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the complementary One Pulse output channel and the Input Capture channel */ 1714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, OutputChannel, TIM_CCxN_ENABLE); 1715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE); 1716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */ 1718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim); 1719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 1721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 1722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM One Pulse signal generation on the complementary 1726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * output. 1727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note OutputChannel must match the pulse output channel chosen when calling 1728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @ref HAL_TIM_OnePulse_ConfigChannel(). 1729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM One Pulse handle 1730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param OutputChannel pulse output channel to disable 1731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 1735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop(TIM_HandleTypeDef *htim, uint32_t OutputChannel) 1737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1; 1739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ ARM GAS /tmp/ccdmQ4z9.s page 32 1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, OutputChannel)); 1742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the complementary One Pulse output channel and the Input Capture channel */ 1744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, OutputChannel, TIM_CCxN_DISABLE); 1745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_DISABLE); 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */ 1748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim); 1749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */ 1751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim); 1752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */ 1754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 1755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 1756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 1757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 1758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 1760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 1761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM One Pulse signal generation in interrupt mode on the 1765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * complementary channel. 1766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note OutputChannel must match the pulse output channel chosen when calling 1767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @ref HAL_TIM_OnePulse_ConfigChannel(). 1768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM One Pulse handle 1769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param OutputChannel pulse output channel to enable 1770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 1774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel) 1776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1; 1778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 1779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 1780: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 1781: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 1782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, OutputChannel)); 1785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM channels state */ 1787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 1788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 1789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 1790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 1791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR; 1793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */ 1796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 1797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); ARM GAS /tmp/ccdmQ4z9.s page 33 1798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 1799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 1800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 1 interrupt */ 1802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 1803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 2 interrupt */ 1805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 1806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the complementary One Pulse output channel and the Input Capture channel */ 1808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, OutputChannel, TIM_CCxN_ENABLE); 1809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE); 1810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */ 1812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim); 1813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 1815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 1816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM One Pulse signal generation in interrupt mode on the 1820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * complementary channel. 1821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note OutputChannel must match the pulse output channel chosen when calling 1822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @ref HAL_TIM_OnePulse_ConfigChannel(). 1823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM One Pulse handle 1824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param OutputChannel pulse output channel to disable 1825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 1829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel) 1831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1; 1833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, OutputChannel)); 1836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 1 interrupt */ 1838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1); 1839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 2 interrupt */ 1841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2); 1842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the complementary One Pulse output channel and the Input Capture channel */ 1844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, OutputChannel, TIM_CCxN_DISABLE); 1845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_DISABLE); 1846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */ 1848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim); 1849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */ 1851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim); 1852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */ 1854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); ARM GAS /tmp/ccdmQ4z9.s page 34 1855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 1856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 1857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 1858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */ 1860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 1861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @} 1865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group5 Extended Peripheral Control functions 1868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Peripheral Control functions 1869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 1870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim 1871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== 1872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Peripheral Control functions ##### 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 **** This section provides functions allowing to: 1876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure the commutation event in case of use of the Hall sensor interface. 1877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure Output channels for OC and PWM mode. 1878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure Complementary channels, break features and dead time. 1880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure Master synchronization. 1881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure timer remapping capabilities. 1882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Select timer input source. 1883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Enable or disable channel grouping. 1884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure Pulse on compare. 1885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure Encoder index. 1886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim 1888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{ 1889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configure the TIM commutation event sequence. 1893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note This function is mandatory to use the commutation event in order to 1894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * update the configuration at each commutation detection on the TRGI input of the Timer, 1895: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) 1896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * configured in Hall sensor interface, this interface Timer will generate the 1897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * commutation at its TRGO output (connected to Timer used in this function) each time 1898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * the TI1 of the Interface Timer detect a commutation at its input TI1. 1899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 1900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param InputTrigger the Internal trigger corresponding to the Timer Interfacing with the Hall 1901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR0: Internal trigger 0 selected 1903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR1: Internal trigger 1 selected 1904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR2: Internal trigger 2 selected 1905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR3: Internal trigger 3 selected 1906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR4: Internal trigger 4 selected (*) 1907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR5: Internal trigger 5 selected 1908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR6: Internal trigger 6 selected 1909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR7: Internal trigger 7 selected 1910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR8: Internal trigger 8 selected 1911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR9: Internal trigger 9 selected (*) ARM GAS /tmp/ccdmQ4z9.s page 35 1912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR10: Internal trigger 10 selected 1913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR11: Internal trigger 11 selected 1914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_NONE: No trigger is needed 1915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 1916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (*) Value not defined in all devices. 1917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 1918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param CommutationSource the Commutation Event source 1919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_TRGI: Commutation source is the TRGI of the Interface Timer 1921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_SOFTWARE: Commutation source is set by software using the COMG 1922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 1923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 1924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent(TIM_HandleTypeDef *htim, uint32_t InputTrigger, 1925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t CommutationSource) 1926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_COMMUTATION_EVENT_INSTANCE(htim->Instance)); 1929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_INSTANCE(htim->Instance, InputTrigger)); 1930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim); 1932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined(TIM5) && defined(TIM20) 1934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) || 1935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 1936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR4) || (InputTrigger == TIM_TS_ITR5) || 1937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR6) || (InputTrigger == TIM_TS_ITR7) || 1938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR8) || (InputTrigger == TIM_TS_ITR9) || 1939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR10) || (InputTrigger == TIM_TS_ITR11)) 1940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #elif defined(TIM5) 1941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) || 1942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 1943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR4) || (InputTrigger == TIM_TS_ITR5) || 1944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR6) || (InputTrigger == TIM_TS_ITR7) || 1945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR8) || (InputTrigger == TIM_TS_ITR11)) 1946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #elif defined(TIM20) 1947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) || 1948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 1949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) || 1950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) || 1951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR9) || (InputTrigger == TIM_TS_ITR11)) 1952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else 1953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) || 1954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 1955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) || 1956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) || 1957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR11)) 1958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* TIM5 && TIM20 */ 1959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Input trigger */ 1961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS; 1962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 1963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Capture Compare preload feature */ 1966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_CR2_CCPC; 1967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 1968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 &= ~TIM_CR2_CCUS; ARM GAS /tmp/ccdmQ4z9.s page 36 1969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 1970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable Commutation Interrupt */ 1972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_COM); 1973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable Commutation DMA request */ 1975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_COM); 1976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim); 1978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 1980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 1983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configure the TIM commutation event sequence with interrupt. 1984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note This function is mandatory to use the commutation event in order to 1985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * update the configuration at each commutation detection on the TRGI input of the Timer, 1986: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) 1987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * configured in Hall sensor interface, this interface Timer will generate the 1988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * commutation at its TRGO output (connected to Timer used in this function) each time 1989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * the TI1 of the Interface Timer detect a commutation at its input TI1. 1990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 1991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param InputTrigger the Internal trigger corresponding to the Timer Interfacing with the Hall 1992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 1993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR0: Internal trigger 0 selected 1994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR1: Internal trigger 1 selected 1995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR2: Internal trigger 2 selected 1996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR3: Internal trigger 3 selected 1997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR4: Internal trigger 4 selected (*) 1998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR5: Internal trigger 5 selected 1999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR6: Internal trigger 6 selected 2000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR7: Internal trigger 7 selected 2001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR8: Internal trigger 8 selected 2002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR9: Internal trigger 9 selected (*) 2003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR10: Internal trigger 10 selected 2004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR11: Internal trigger 11 selected 2005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_NONE: No trigger is needed 2006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (*) Value not defined in all devices. 2008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param CommutationSource the Commutation Event source 2010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 2011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_TRGI: Commutation source is the TRGI of the Interface Timer 2012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_SOFTWARE: Commutation source is set by software using the COMG 2013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 2014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 2015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent_IT(TIM_HandleTypeDef *htim, uint32_t InputTrigger, 2016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t CommutationSource) 2017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 2019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_COMMUTATION_EVENT_INSTANCE(htim->Instance)); 2020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_INSTANCE(htim->Instance, InputTrigger)); 2021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim); 2023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined(TIM5) && defined(TIM20) 2025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) || ARM GAS /tmp/ccdmQ4z9.s page 37 2026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 2027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR4) || (InputTrigger == TIM_TS_ITR5) || 2028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR6) || (InputTrigger == TIM_TS_ITR7) || 2029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR8) || (InputTrigger == TIM_TS_ITR9) || 2030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR10) || (InputTrigger == TIM_TS_ITR11)) 2031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #elif defined(TIM5) 2032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) || 2033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 2034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR4) || (InputTrigger == TIM_TS_ITR5) || 2035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR6) || (InputTrigger == TIM_TS_ITR7) || 2036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR8) || (InputTrigger == TIM_TS_ITR11)) 2037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #elif defined(TIM20) 2038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) || 2039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 2040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) || 2041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) || 2042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR9) || (InputTrigger == TIM_TS_ITR11)) 2043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else 2044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) || 2045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 2046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) || 2047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) || 2048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR11)) 2049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* TIM5 && TIM20 */ 2050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Input trigger */ 2052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS; 2053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 2054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Capture Compare preload feature */ 2057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_CR2_CCPC; 2058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 2059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 &= ~TIM_CR2_CCUS; 2060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 2061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable Commutation DMA request */ 2063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_COM); 2064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Commutation Interrupt */ 2066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_COM); 2067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim); 2069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 2071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 2074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configure the TIM commutation event sequence with DMA. 2075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note This function is mandatory to use the commutation event in order to 2076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * update the configuration at each commutation detection on the TRGI input of the Timer, 2077: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) 2078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * configured in Hall sensor interface, this interface Timer will generate the 2079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * commutation at its TRGO output (connected to Timer used in this function) each time 2080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * the TI1 of the Interface Timer detect a commutation at its input TI1. 2081: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 2082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle ARM GAS /tmp/ccdmQ4z9.s page 38 2083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param InputTrigger the Internal trigger corresponding to the Timer Interfacing with the Hall 2084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 2085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR0: Internal trigger 0 selected 2086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR1: Internal trigger 1 selected 2087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR2: Internal trigger 2 selected 2088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR3: Internal trigger 3 selected 2089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR4: Internal trigger 4 selected (*) 2090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR5: Internal trigger 5 selected 2091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR6: Internal trigger 6 selected 2092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR7: Internal trigger 7 selected 2093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR8: Internal trigger 8 selected 2094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR9: Internal trigger 9 selected (*) 2095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR10: Internal trigger 10 selected 2096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR11: Internal trigger 11 selected 2097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_NONE: No trigger is needed 2098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (*) Value not defined in all devices. 2100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param CommutationSource the Commutation Event source 2102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 2103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_TRGI: Commutation source is the TRGI of the Interface Timer 2104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_SOFTWARE: Commutation source is set by software using the COMG 2105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 2106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 2107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent_DMA(TIM_HandleTypeDef *htim, uint32_t InputTrigger, 2108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t CommutationSource) 2109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 2111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_COMMUTATION_EVENT_INSTANCE(htim->Instance)); 2112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_INSTANCE(htim->Instance, InputTrigger)); 2113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim); 2115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined(TIM5) && defined(TIM20) 2117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) || 2118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 2119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR4) || (InputTrigger == TIM_TS_ITR5) || 2120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR6) || (InputTrigger == TIM_TS_ITR7) || 2121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR8) || (InputTrigger == TIM_TS_ITR9) || 2122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR10) || (InputTrigger == TIM_TS_ITR11)) 2123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #elif defined(TIM5) 2124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) || 2125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 2126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR4) || (InputTrigger == TIM_TS_ITR5) || 2127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR6) || (InputTrigger == TIM_TS_ITR7) || 2128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR8) || (InputTrigger == TIM_TS_ITR11)) 2129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #elif defined(TIM20) 2130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) || 2131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 2132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) || 2133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) || 2134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR9) || (InputTrigger == TIM_TS_ITR11)) 2135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else 2136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) || 2137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 2138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) || 2139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) || ARM GAS /tmp/ccdmQ4z9.s page 39 2140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR11)) 2141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* TIM5 && TIM20 */ 2142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Input trigger */ 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS; 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 2146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Capture Compare preload feature */ 2149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_CR2_CCPC; 2150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 2151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 &= ~TIM_CR2_CCUS; 2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 2153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Commutation DMA Request */ 2155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA Commutation Callback */ 2156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferCpltCallback = TIMEx_DMACommutationCplt; 2157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 2158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferErrorCallback = TIM_DMAError; 2160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable Commutation Interrupt */ 2162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_COM); 2163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Commutation DMA Request */ 2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_COM); 2166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim); 2168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 2170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 2173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configures the TIM in master mode. 2174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle. 2175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param sMasterConfig pointer to a TIM_MasterConfigTypeDef structure that 2176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * contains the selected trigger output (TRGO) and the Master/Slave 2177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * mode. 2178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 2179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 2180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_MasterConfigSynchronization(TIM_HandleTypeDef *htim, 2181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** const TIM_MasterConfigTypeDef *sMasterConfi 2182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpcr2; 2184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 2185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 2187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_MASTER_INSTANCE(htim->Instance)); 2188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_TRGO_SOURCE(sMasterConfig->MasterOutputTrigger)); 2189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_MSM_STATE(sMasterConfig->MasterSlaveMode)); 2190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check input state */ 2192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim); 2193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the handler state */ 2195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_BUSY; 2196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/ccdmQ4z9.s page 40 2197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Get the TIMx CR2 register value */ 2198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpcr2 = htim->Instance->CR2; 2199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Get the TIMx SMCR register value */ 2201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR; 2202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* If the timer supports ADC synchronization through TRGO2, set the master mode selection 2 */ 2204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_TRGO2_INSTANCE(htim->Instance)) 2205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 2207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_TRGO2_SOURCE(sMasterConfig->MasterOutputTrigger2)); 2208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Clear the MMS2 bits */ 2210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpcr2 &= ~TIM_CR2_MMS2; 2211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO2 source*/ 2212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpcr2 |= sMasterConfig->MasterOutputTrigger2; 2213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the MMS Bits */ 2216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpcr2 &= ~TIM_CR2_MMS; 2217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO source */ 2218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpcr2 |= sMasterConfig->MasterOutputTrigger; 2219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Update TIMx CR2 */ 2221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 = tmpcr2; 2222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 2224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the MSM Bit */ 2226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr &= ~TIM_SMCR_MSM; 2227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set master mode */ 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr |= sMasterConfig->MasterSlaveMode; 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Update TIMx SMCR */ 2231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR = tmpsmcr; 2232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the htim state */ 2235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY; 2236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim); 2238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 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 **** /** 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configures the Break feature, dead time, Lock level, OSSI/OSSR State 2244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * and the AOE(automatic output enable). 2245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 2246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param sBreakDeadTimeConfig pointer to a TIM_ConfigBreakDeadConfigTypeDef structure that 2247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * contains the BDTR Register configuration information for the TIM peripheral. 2248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Interrupts can be generated when an active level is detected on the 2249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * break input, the break 2 input or the system break input. Break 2250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * interrupt can be enabled by calling the @ref __HAL_TIM_ENABLE_IT macro. 2251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 2252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 2253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigBreakDeadTime(TIM_HandleTypeDef *htim, ARM GAS /tmp/ccdmQ4z9.s page 41 2254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** const TIM_BreakDeadTimeConfigTypeDef *sBreakDeadTim 2255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Keep this variable initialized to 0 as it is used to configure BDTR register */ 2257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr = 0U; 2258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 2260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance)); 2261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_OSSR_STATE(sBreakDeadTimeConfig->OffStateRunMode)); 2262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_OSSI_STATE(sBreakDeadTimeConfig->OffStateIDLEMode)); 2263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_LOCK_LEVEL(sBreakDeadTimeConfig->LockLevel)); 2264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_DEADTIME(sBreakDeadTimeConfig->DeadTime)); 2265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_STATE(sBreakDeadTimeConfig->BreakState)); 2266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_POLARITY(sBreakDeadTimeConfig->BreakPolarity)); 2267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_FILTER(sBreakDeadTimeConfig->BreakFilter)); 2268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_AUTOMATIC_OUTPUT_STATE(sBreakDeadTimeConfig->AutomaticOutput)); 2269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_AFMODE(sBreakDeadTimeConfig->BreakAFMode)); 2270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check input state */ 2272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim); 2273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the Lock level, the Break enable Bit and the Polarity, the OSSR State, 2275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the OSSI State, the dead time value and the Automatic Output Enable Bit */ 2276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the BDTR bits */ 2278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_DTG, sBreakDeadTimeConfig->DeadTime); 2279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_LOCK, sBreakDeadTimeConfig->LockLevel); 2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSI, sBreakDeadTimeConfig->OffStateIDLEMode); 2281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSR, sBreakDeadTimeConfig->OffStateRunMode); 2282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKE, sBreakDeadTimeConfig->BreakState); 2283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKP, sBreakDeadTimeConfig->BreakPolarity); 2284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_AOE, sBreakDeadTimeConfig->AutomaticOutput); 2285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKF, (sBreakDeadTimeConfig->BreakFilter << TIM_BDTR_BKF_Pos)); 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKBID, sBreakDeadTimeConfig->BreakAFMode); 2287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_BKIN2_INSTANCE(htim->Instance)) 2289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 2291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK2_STATE(sBreakDeadTimeConfig->Break2State)); 2292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK2_POLARITY(sBreakDeadTimeConfig->Break2Polarity)); 2293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_FILTER(sBreakDeadTimeConfig->Break2Filter)); 2294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK2_AFMODE(sBreakDeadTimeConfig->Break2AFMode)); 2295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the BREAK2 input related BDTR bits */ 2297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2F, (sBreakDeadTimeConfig->Break2Filter << TIM_BDTR_BK2F_Pos)); 2298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2E, sBreakDeadTimeConfig->Break2State); 2299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2P, sBreakDeadTimeConfig->Break2Polarity); 2300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2BID, sBreakDeadTimeConfig->Break2AFMode); 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 **** /* Set TIMx_BDTR */ 2304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->BDTR = tmpbdtr; 2305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim); 2307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 2309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/ccdmQ4z9.s page 42 2311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 2312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configures the break input source. 2313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle. 2314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param BreakInput Break input to configure 2315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 2316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_BREAKINPUT_BRK: Timer break input 2317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_BREAKINPUT_BRK2: Timer break 2 input 2318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param sBreakInputConfig Break input source configuration 2319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 2320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 2321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigBreakInput(TIM_HandleTypeDef *htim, 2322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t BreakInput, 2323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** const TIMEx_BreakInputConfigTypeDef *sBreakInputConfig 2324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 2326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmporx; 2327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_enable_mask; 2328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_polarity_mask; 2329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_enable_bitpos; 2330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_polarity_bitpos; 2331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 2333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance)); 2334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUT(BreakInput)); 2335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUTSOURCE(sBreakInputConfig->Source)); 2336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUTSOURCE_STATE(sBreakInputConfig->Enable)); 2337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUTSOURCE_POLARITY(sBreakInputConfig->Polarity)); 2338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check input state */ 2340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim); 2341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (sBreakInputConfig->Source) 2343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_BKIN: 2345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKINE; 2347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKINE_Pos; 2348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKINP; 2349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKINP_Pos; 2350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP1: 2353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP1E; 2355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP1E_Pos; 2356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP1P; 2357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP1P_Pos; 2358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined (COMP2) 2361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP2: 2362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP2E; 2364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP2E_Pos; 2365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP2P; 2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP2P_Pos; 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; ARM GAS /tmp/ccdmQ4z9.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 **** #endif /* COMP2 */ 2370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP3: 2371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP3E; 2373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP3E_Pos; 2374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP3P; 2375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP3P_Pos; 2376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined (COMP4) 2379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP4: 2380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP4E; 2382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP4E_Pos; 2383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP4P; 2384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP4P_Pos; 2385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* COMP4 */ 2388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined (COMP5) 2389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP5: 2390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP5E; 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP5E_Pos; 2393: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 */ 2394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = 0U; 2395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = 0U; 2396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* COMP5 */ 2399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined (COMP6) 2400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP6: 2401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP6E; 2403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP6E_Pos; 2404: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 */ 2405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = 0U; 2406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = 0U; 2407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* COMP7 */ 2410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined (COMP7) 2411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP7: 2412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP7E; 2414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP7E_Pos; 2415: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 */ 2416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = 0U; 2417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = 0U; 2418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* COMP7 */ 2421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 2423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = 0U; ARM GAS /tmp/ccdmQ4z9.s page 44 2425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = 0U; 2426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = 0U; 2427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = 0U; 2428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (BreakInput) 2433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUT_BRK: 2435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Get the TIMx_AF1 register value */ 2437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx = htim->Instance->AF1; 2438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the break input */ 2440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx &= ~bkin_enable_mask; 2441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Enable << bkin_enable_bitpos) & bkin_enable_mask; 2442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the break input polarity */ 2444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx &= ~bkin_polarity_mask; 2445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Polarity << bkin_polarity_bitpos) & bkin_polarity_mask; 2446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set TIMx_AF1 */ 2448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->AF1 = tmporx; 2449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUT_BRK2: 2452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Get the TIMx_AF2 register value */ 2454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx = htim->Instance->AF2; 2455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the break input */ 2457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx &= ~bkin_enable_mask; 2458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Enable << bkin_enable_bitpos) & bkin_enable_mask; 2459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the break input polarity */ 2461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx &= ~bkin_polarity_mask; 2462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Polarity << bkin_polarity_bitpos) & bkin_polarity_mask; 2463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set TIMx_AF2 */ 2465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->AF2 = tmporx; 2466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 2469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR; 2470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim); 2474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status; 2476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 2479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configures the TIMx Remapping input capabilities. 2480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle. 2481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Remap specifies the TIM remapping source. ARM GAS /tmp/ccdmQ4z9.s page 45 2482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM1, the parameter can take one of the following values: 2483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_GPIO TIM1 ETR is connected to GPIO 2484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP1 TIM1 ETR is connected to COMP1 output 2485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP2 TIM1 ETR is connected to COMP2 output 2486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP3 TIM1 ETR is connected to COMP3 output 2487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP4 TIM1 ETR is connected to COMP4 output 2488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP5 TIM1 ETR is connected to COMP5 output (*) 2489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP6 TIM1 ETR is connected to COMP6 output (*) 2490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP7 TIM1 ETR is connected to COMP7 output (*) 2491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_ADC1_AWD1 TIM1 ETR is connected to ADC1 AWD1 2492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_ADC1_AWD2 TIM1 ETR is connected to ADC1 AWD2 2493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_ADC1_AWD3 TIM1 ETR is connected to ADC1 AWD3 2494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_ADC4_AWD1 TIM1 ETR is connected to ADC4 AWD1 (*) 2495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_ADC4_AWD2 TIM1 ETR is connected to ADC4 AWD2 (*) 2496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_ADC4_AWD3 TIM1 ETR is connected to ADC4 AWD3 (*) 2497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM2, the parameter can take one of the following values: 2499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_GPIO TIM2 ETR is connected to GPIO 2500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP1 TIM2 ETR is connected to COMP1 output 2501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP2 TIM2 ETR is connected to COMP2 output 2502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP3 TIM2 ETR is connected to COMP3 output 2503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP4 TIM2 ETR is connected to COMP4 output 2504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP5 TIM2 ETR is connected to COMP5 output (*) 2505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP6 TIM2 ETR is connected to COMP6 output (*) 2506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP7 TIM2 ETR is connected to COMP7 output (*) 2507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_TIM3_ETR TIM2 ETR is connected to TIM3 ETR pin 2508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_TIM4_ETR TIM2 ETR is connected to TIM4 ETR pin 2509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_TIM5_ETR TIM2 ETR is connected to TIM5 ETR pin (*) 2510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_LSE 2511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM3, the parameter can take one of the following values: 2513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_GPIO TIM3 ETR is connected to GPIO 2514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP1 TIM3 ETR is connected to COMP1 output 2515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP2 TIM3 ETR is connected to COMP2 output 2516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP3 TIM3 ETR is connected to COMP3 output 2517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP4 TIM3 ETR is connected to COMP4 output 2518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP5 TIM3 ETR is connected to COMP5 output (*) 2519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP6 TIM3 ETR is connected to COMP6 output (*) 2520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP7 TIM3 ETR is connected to COMP7 output (*) 2521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_TIM2_ETR TIM3 ETR is connected to TIM2 ETR pin 2522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_TIM4_ETR TIM3 ETR is connected to TIM4 ETR pin 2523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_ADC2_AWD1 TIM3 ETR is connected to ADC2 AWD1 2524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_ADC2_AWD2 TIM3 ETR is connected to ADC2 AWD2 2525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_ADC2_AWD3 TIM3 ETR is connected to ADC2 AWD3 2526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM4, the parameter can take one of the following values: 2528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_GPIO TIM4 ETR is connected to GPIO 2529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP1 TIM4 ETR is connected to COMP1 output 2530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP2 TIM4 ETR is connected to COMP2 output 2531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP3 TIM4 ETR is connected to COMP3 output 2532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP4 TIM4 ETR is connected to COMP4 output 2533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP5 TIM4 ETR is connected to COMP5 output (*) 2534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP6 TIM4 ETR is connected to COMP6 output (*) 2535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP7 TIM4 ETR is connected to COMP7 output (*) 2536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_TIM3_ETR TIM4 ETR is connected to TIM3 ETR pin 2537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_TIM5_ETR TIM4 ETR is connected to TIM5 ETR pin (*) 2538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * ARM GAS /tmp/ccdmQ4z9.s page 46 2539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM5, the parameter can take one of the following values: (**) 2540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_GPIO TIM5 ETR is connected to GPIO (*) 2541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP1 TIM5 ETR is connected to COMP1 output (*) 2542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP2 TIM5 ETR is connected to COMP2 output (*) 2543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP3 TIM5 ETR is connected to COMP3 output (*) 2544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP4 TIM5 ETR is connected to COMP4 output (*) 2545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP5 TIM5 ETR is connected to COMP5 output (*) 2546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP6 TIM5 ETR is connected to COMP6 output (*) 2547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP7 TIM5 ETR is connected to COMP7 output (*) 2548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_TIM2_ETR TIM5 ETR is connected to TIM2 ETR pin (*) 2549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_TIM3_ETR TIM5 ETR is connected to TIM3 ETR pin (*) 2550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM8, the parameter can take one of the following values: 2552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_GPIO TIM8 ETR is connected to GPIO 2553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP1 TIM8 ETR is connected to COMP1 output 2554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP2 TIM8 ETR is connected to COMP2 output 2555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP3 TIM8 ETR is connected to COMP3 output 2556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP4 TIM8 ETR is connected to COMP4 output 2557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP5 TIM8 ETR is connected to COMP5 output (*) 2558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP6 TIM8 ETR is connected to COMP6 output (*) 2559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP7 TIM8 ETR is connected to COMP7 output (*) 2560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_ADC2_AWD1 TIM8 ETR is connected to ADC2 AWD1 2561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_ADC2_AWD2 TIM8 ETR is connected to ADC2 AWD2 2562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_ADC2_AWD3 TIM8 ETR is connected to ADC2 AWD3 2563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_ADC3_AWD1 TIM8 ETR is connected to ADC3 AWD1 (*) 2564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_ADC3_AWD2 TIM8 ETR is connected to ADC3 AWD2 (*) 2565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_ADC3_AWD3 TIM8 ETR is connected to ADC3 AWD3 (*) 2566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM20, the parameter can take one of the following values: (**) 2568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_GPIO TIM20 ETR is connected to GPIO 2569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP1 TIM20 ETR is connected to COMP1 output (*) 2570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP2 TIM20 ETR is connected to COMP2 output (*) 2571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP3 TIM20 ETR is connected to COMP3 output (*) 2572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP4 TIM20 ETR is connected to COMP4 output (*) 2573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP5 TIM20 ETR is connected to COMP5 output (*) 2574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP6 TIM20 ETR is connected to COMP6 output (*) 2575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP7 TIM20 ETR is connected to COMP7 output (*) 2576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_ADC3_AWD1 TIM20 ETR is connected to ADC3 AWD1 (*) 2577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_ADC3_AWD2 TIM20 ETR is connected to ADC3 AWD2 (*) 2578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_ADC3_AWD3 TIM20 ETR is connected to ADC3 AWD3 (*) 2579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_ADC5_AWD1 TIM20 ETR is connected to ADC5 AWD1 (*) 2580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_ADC5_AWD2 TIM20 ETR is connected to ADC5 AWD2 (*) 2581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_ADC5_AWD3 TIM20 ETR is connected to ADC5 AWD3 (*) 2582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (*) Value not defined in all devices. \n 2584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (**) Register not available in all devices. 2585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 2587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 2588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_RemapConfig(TIM_HandleTypeDef *htim, uint32_t Remap) 2589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check parameters */ 2591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_REMAP_INSTANCE(htim->Instance)); 2592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_REMAP(Remap)); 2593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim); 2595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/ccdmQ4z9.s page 47 2596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->AF1, TIM1_AF1_ETRSEL_Msk, Remap); 2597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim); 2599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 2601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 2604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Select the timer input source 2605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle. 2606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel specifies the TIM Channel 2607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 2608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TI1 input channel 2609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TI2 input channel 2610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TI3 input channel 2611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TI4 input channel 2612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param TISelection specifies the timer input source 2613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM1 this parameter can be one of the following values: 2614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_TI1_GPIO: TIM1 TI1 is connected to GPIO 2615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_TI1_COMP1: TIM1 TI1 is connected to COMP1 output 2616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_TI1_COMP2: TIM1 TI1 is connected to COMP2 output 2617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_TI1_COMP3: TIM1 TI1 is connected to COMP3 output 2618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_TI1_COMP4: TIM1 TI1 is connected to COMP4 output 2619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM2 this parameter can be one of the following values: 2621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI1_GPIO: TIM2 TI1 is connected to GPIO 2622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI1_COMP1: TIM2 TI1 is connected to COMP1 output 2623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI1_COMP2: TIM2 TI1 is connected to COMP2 output 2624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI1_COMP3: TIM2 TI1 is connected to COMP3 output 2625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI1_COMP4: TIM2 TI1 is connected to COMP4 output 2626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI1_COMP5: TIM2 TI1 is connected to COMP5 output (*) 2627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI2_GPIO: TIM1 TI2 is connected to GPIO 2629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI2_COMP1: TIM2 TI2 is connected to COMP1 output 2630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI2_COMP2: TIM2 TI2 is connected to COMP2 output 2631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI2_COMP3: TIM2 TI2 is connected to COMP3 output 2632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI2_COMP4: TIM2 TI2 is connected to COMP4 output 2633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI2_COMP6: TIM2 TI2 is connected to COMP6 output (*) 2634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI3_GPIO: TIM2 TI3 is connected to GPIO 2636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI3_COMP4: TIM2 TI3 is connected to COMP4 output 2637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI4_GPIO: TIM2 TI4 is connected to GPIO 2639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI4_COMP1: TIM2 TI4 is connected to COMP1 output 2640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI4_COMP2: TIM2 TI4 is connected to COMP2 output 2641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM3 this parameter can be one of the following values: 2643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_GPIO: TIM3 TI1 is connected to GPIO 2644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP1: TIM3 TI1 is connected to COMP1 output 2645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP2: TIM3 TI1 is connected to COMP2 output 2646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP3: TIM3 TI1 is connected to COMP3 output 2647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP4: TIM3 TI1 is connected to COMP4 output 2648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP5: TIM3 TI1 is connected to COMP5 output (*) 2649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP6: TIM3 TI1 is connected to COMP6 output (*) 2650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP7: TIM3 TI1 is connected to COMP7 output (*) 2651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_GPIO: TIM3 TI2 is connected to GPIO ARM GAS /tmp/ccdmQ4z9.s page 48 2653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP1: TIM3 TI2 is connected to COMP1 output 2654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP2: TIM3 TI2 is connected to COMP2 output 2655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP3: TIM3 TI2 is connected to COMP3 output 2656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP4: TIM3 TI2 is connected to COMP4 output 2657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP5: TIM3 TI2 is connected to COMP5 output (*) 2658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP6: TIM3 TI2 is connected to COMP6 output (*) 2659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP7: TIM3 TI2 is connected to COMP7 output (*) 2660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI3_GPIO: TIM3 TI3 is connected to GPIO 2662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI3_COMP3: TIM3 TI3 is connected to COMP3 output 2663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM4 this parameter can be one of the following values: 2665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_GPIO: TIM4 TI1 is connected to GPIO 2666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP1: TIM4 TI1 is connected to COMP1 output 2667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP2: TIM4 TI1 is connected to COMP2 output 2668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP3: TIM4 TI1 is connected to COMP3 output 2669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP4: TIM4 TI1 is connected to COMP4 output 2670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP5: TIM4 TI1 is connected to COMP5 output (*) 2671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP6: TIM4 TI1 is connected to COMP6 output (*) 2672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP7: TIM4 TI1 is connected to COMP7 output (*) 2673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_GPIO: TIM4 TI2 is connected to GPIO 2675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP1: TIM4 TI2 is connected to COMP1 output 2676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP2: TIM4 TI2 is connected to COMP2 output 2677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP3: TIM4 TI2 is connected to COMP3 output 2678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP4: TIM4 TI2 is connected to COMP4 output 2679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP5: TIM4 TI2 is connected to COMP5 output (*) 2680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP6: TIM4 TI2 is connected to COMP6 output (*) 2681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP7: TIM4 TI2 is connected to COMP7 output (*) 2682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI3_GPIO: TIM4 TI3 is connected to GPIO 2684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI3_COMP5: TIM4 TI3 is connected to COMP5 output (*) 2685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI4_GPIO: TIM4 TI4 is connected to GPIO 2687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI4_COMP6: TIM4 TI4 is connected to COMP6 output (*) 2688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM5 this parameter can be one of the following values: (**) 2690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_GPIO: TIM5 TI1 is connected to GPIO 2691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_LSI: TIM5 TI1 is connected to LSI clock (*) 2692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_LSE: TIM5 TI1 is connected to LSE clock (*) 2693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_RTC_WK: TIM5 TI1 is connected to RTC Wakeup (*) 2694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP1: TIM5 TI1 is connected to COMP1 output (*) 2695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP2: TIM5 TI1 is connected to COMP2 output (*) 2696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP3: TIM5 TI1 is connected to COMP3 output (*) 2697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP4: TIM5 TI1 is connected to COMP4 output (*) 2698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP5: TIM5 TI1 is connected to COMP5 output (*) 2699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP6: TIM5 TI1 is connected to COMP6 output (*) 2700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP7: TIM5 TI1 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_TIM5_TI2_GPIO: TIM5 TI2 is connected to GPIO 2703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP1: TIM5 TI2 is connected to COMP1 output 2704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP2: TIM5 TI2 is connected to COMP2 output 2705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP3: TIM5 TI2 is connected to COMP3 output 2706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP4: TIM5 TI2 is connected to COMP4 output 2707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP5: TIM5 TI2 is connected to COMP5 output (*) 2708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP6: TIM5 TI2 is connected to COMP6 output (*) 2709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP7: TIM5 TI2 is connected to COMP7 output (*) ARM GAS /tmp/ccdmQ4z9.s page 49 2710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM8 this parameter can be one of the following values: 2712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_TI1_GPIO: TIM8 TI1 is connected to GPIO 2713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_TI1_COMP1: TIM8 TI1 is connected to COMP1 output 2714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_TI1_COMP2: TIM8 TI1 is connected to COMP2 output 2715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_TI1_COMP3: TIM8 TI1 is connected to COMP3 output 2716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_TI1_COMP4: TIM8 TI1 is connected to COMP4 output 2717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM15 this parameter can be one of the following values: 2719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI1_GPIO: TIM15 TI1 is connected to GPIO 2720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI1_LSE: TIM15 TI1 is connected to LSE clock 2721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI1_COMP1: TIM15 TI1 is connected to COMP1 output 2722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI1_COMP2: TIM15 TI1 is connected to COMP2 output 2723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI1_COMP5: TIM15 TI1 is connected to COMP5 output ( 2724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI1_COMP7: TIM15 TI1 is connected to COMP7 output ( 2725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI2_GPIO: TIM15 TI2 is connected to GPIO 2727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI2_COMP2: TIM15 TI2 is connected to COMP2 output 2728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI2_COMP3: TIM15 TI2 is connected to COMP3 output 2729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI2_COMP6: TIM15 TI2 is connected to COMP6 output ( 2730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI2_COMP7: TIM15 TI2 is connected to COMP7 output ( 2731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM16 this parameter can be one of the following values: 2733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_GPIO: TIM16 TI1 is connected to GPIO 2734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_COMP6: TIM16 TI1 is connected to COMP6 output ( 2735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_MCO: TIM15 TI1 is connected to MCO output 2736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_HSE_32: TIM15 TI1 is connected to HSE div 32 2737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_RTC_WK: TIM15 TI1 is connected to RTC wakeup 2738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_LSE: TIM15 TI1 is connected to LSE clock 2739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_LSI: TIM15 TI1 is connected to LSI clock 2740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM17 this parameter can be one of the following values: 2742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_GPIO: TIM17 TI1 is connected to GPIO 2743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_COMP5: TIM17 TI1 is connected to COMP5 output ( 2744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_MCO: TIM17 TI1 is connected to MCO output 2745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_HSE_32: TIM17 TI1 is connected to HSE div 32 2746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_RTC_WK: TIM17 TI1 is connected to RTC wakeup 2747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_LSE: TIM17 TI1 is connected to LSE clock 2748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_LSI: TIM17 TI1 is connected to LSI clock 2749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM20 this parameter can be one of the following values: (**) 2751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_TI1_GPIO: TIM20 TI1 is connected to GPIO 2752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_TI1_COMP1: TIM20 TI1 is connected to COMP1 output ( 2753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_TI1_COMP2: TIM20 TI1 is connected to COMP2 output ( 2754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_TI1_COMP3: TIM20 TI1 is connected to COMP3 output ( 2755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_TI1_COMP4: TIM20 TI1 is connected to COMP4 output ( 2756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (*) Value not defined in all devices. \n 2758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (**) Register not available in all devices. 2759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 2760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 2761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 2762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_TISelection(TIM_HandleTypeDef *htim, uint32_t TISelection, uint32_t Ch 2763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 2765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check parameters */ ARM GAS /tmp/ccdmQ4z9.s page 50 2767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_TISEL_TIX_INSTANCE(htim->Instance, Channel)); 2768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_TISEL(TISelection)); 2769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim); 2771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel) 2773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1: 2775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->TISEL, TIM_TISEL_TI1SEL, TISelection); 2776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* If required, set OR bit to request HSE/32 clock */ 2778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_HSE32_INSTANCE(htim->Instance)) 2779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->OR, TIM_OR_HSE32EN); 2781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 2783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->OR, TIM_OR_HSE32EN); 2785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2: 2788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->TISEL, TIM_TISEL_TI2SEL, TISelection); 2789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3: 2791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->TISEL, TIM_TISEL_TI3SEL, TISelection); 2792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4: 2794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->TISEL, TIM_TISEL_TI4SEL, TISelection); 2795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 2797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR; 2798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim); 2802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status; 2804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 2807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Group channel 5 and channel 1, 2 or 3 2808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle. 2809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channels specifies the reference signal(s) the OC5REF is combined with. 2810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be any combination of the following values: 2811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * TIM_GROUPCH5_NONE: No effect of OC5REF on OC1REFC, OC2REFC and OC3REFC 2812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * TIM_GROUPCH5_OC1REFC: OC1REFC is the logical AND of OC1REFC and OC5REF 2813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * TIM_GROUPCH5_OC2REFC: OC2REFC is the logical AND of OC2REFC and OC5REF 2814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * TIM_GROUPCH5_OC3REFC: OC3REFC is the logical AND of OC3REFC and OC5REF 2815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 2816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 2817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_GroupChannel5(TIM_HandleTypeDef *htim, uint32_t Channels) 2818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check parameters */ 2820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_COMBINED3PHASEPWM_INSTANCE(htim->Instance)); 2821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_GROUPCH5(Channels)); 2822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Process Locked */ ARM GAS /tmp/ccdmQ4z9.s page 51 2824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim); 2825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_BUSY; 2827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Clear GC5Cx bit fields */ 2829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CCR5 &= ~(TIM_CCR5_GC5C3 | TIM_CCR5_GC5C2 | TIM_CCR5_GC5C1); 2830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set GC5Cx bit fields */ 2832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CCR5 |= Channels; 2833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the htim state */ 2835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY; 2836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim); 2838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 2840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 2843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disarm the designated break input (when it operates in bidirectional mode). 2844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle. 2845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param BreakInput Break input to disarm 2846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 2847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_BREAKINPUT_BRK: Timer break input 2848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_BREAKINPUT_BRK2: Timer break 2 input 2849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note The break input can be disarmed only when it is configured in 2850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * bidirectional mode and when when MOE is reset. 2851: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, 2852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * whatever the time constant on the output . 2853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 2854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 2855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DisarmBreakInput(TIM_HandleTypeDef *htim, uint32_t BreakInput) 2856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 2858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr; 2859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 2861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance)); 2862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUT(BreakInput)); 2863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (BreakInput) 2865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUT_BRK: 2867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check initial conditions */ 2869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpbdtr = READ_REG(htim->Instance->BDTR); 2870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BKBID) == TIM_BDTR_BKBID) && 2871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U)) 2872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Break input BRK is disarmed */ 2874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->BDTR, TIM_BDTR_BKDSRM); 2875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUT_BRK2: 2879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check initial conditions */ ARM GAS /tmp/ccdmQ4z9.s page 52 2881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpbdtr = READ_REG(htim->Instance->BDTR); 2882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BK2BID) == TIM_BDTR_BK2BID) && 2883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U)) 2884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Break input BRK is disarmed */ 2886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->BDTR, TIM_BDTR_BK2DSRM); 2887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 2891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR; 2892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status; 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 **** /** 2899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Arm the designated break input (when it operates in bidirectional mode). 2900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle. 2901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param BreakInput Break input to arm 2902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 2903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_BREAKINPUT_BRK: Timer break input 2904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_BREAKINPUT_BRK2: Timer break 2 input 2905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Arming is possible at anytime, even if fault is present. 2906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Break input is automatically armed as soon as MOE bit is set. 2907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 2908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 2909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ReArmBreakInput(const TIM_HandleTypeDef *htim, uint32_t BreakInput) 2910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 2912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart; 2913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 2915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance)); 2916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUT(BreakInput)); 2917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (BreakInput) 2919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUT_BRK: 2921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check initial conditions */ 2923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BKBID) == TIM_BDTR_BKBID) 2924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2925: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 2926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Init tickstart for timeout management */ 2927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tickstart = HAL_GetTick(); 2928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** while (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BKDSRM) != 0UL) 2929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((HAL_GetTick() - tickstart) > TIM_BREAKINPUT_REARM_TIMEOUT) 2931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* New check to avoid false timeout detection in case of preemption */ 2933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BKDSRM) != 0UL) 2934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_TIMEOUT; 2936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } ARM GAS /tmp/ccdmQ4z9.s page 53 2938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUT_BRK2: 2944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check initial conditions */ 2946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BK2BID) == TIM_BDTR_BK2BID) 2947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2948: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 2949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Init tickstart for timeout management */ 2950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tickstart = HAL_GetTick(); 2951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** while (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BK2DSRM) != 0UL) 2952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((HAL_GetTick() - tickstart) > TIM_BREAKINPUT_REARM_TIMEOUT) 2954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* New check to avoid false timeout detection in case of preemption */ 2956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BK2DSRM) != 0UL) 2957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_TIMEOUT; 2959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 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 **** break; 2964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 2966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR; 2967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status; 2971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 2974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enable dithering 2975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 2976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Main usage is PWM mode 2977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note This function must be called when timer is stopped or disabled (CEN =0) 2978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note If dithering is activated, pay attention to ARR, CCRx, CNT interpretation: 2979: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 2980: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 2981: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 2982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * - ARR and CCRx values are limited to 0xFFEF in dithering mode for 16b timers 2983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (corresponds to 4094 for the integer part and 15 for the dithered part). 2984: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 2985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * can be used to calculate period (ARR) and delay (CCRx) value. 2986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Enabling dithering, modifies automatically values of registers ARR/CCRx to keep the sam 2987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Enabling dithering, modifies automatically values of registers ARR/CCRx to keep the sam 2988: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 2989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * __HAL_TIM_GET_COMPARE() and if necessary update Init structure field htim->Init.Period 2990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 2991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 2992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DitheringEnable(TIM_HandleTypeDef *htim) 2993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ ARM GAS /tmp/ccdmQ4z9.s page 54 2995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 2996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->CR1, TIM_CR1_DITHEN); 2998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 2999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disable dithering 3003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note This function must be called when timer is stopped or disabled (CEN =0) 3005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note If dithering is activated, pay attention to ARR, CCRx, CNT interpretation: 3006: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 3007: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 3008: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 3009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * - ARR and CCRx values are limited to 0xFFEF in dithering mode 3010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (corresponds to 4094 for the integer part and 15 for the dithered part). 3011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Disabling dithering, modifies automatically values of registers ARR/CCRx to keep the sa 3012: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 3013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * __HAL_TIM_GET_COMPARE() and if necessary update Init structure field htim->Init.Period 3014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DitheringDisable(TIM_HandleTypeDef *htim) 3017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 3020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->CR1, TIM_CR1_DITHEN); 3022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Initializes the pulse on compare pulse width and pulse prescaler 3027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Output Compare handle 3028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param PulseWidthPrescaler Pulse width prescaler 3029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be a number between Min_Data = 0x0 and Max_Data = 0x7 3030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param PulseWidth Pulse width 3031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be a number between Min_Data = 0x00 and Max_Data = 0xFF 3032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OC_ConfigPulseOnCompare(TIM_HandleTypeDef *htim, 3035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t PulseWidthPrescaler, 3036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t PulseWidth) 3037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpecr; 3039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_PULSEONCOMPARE_INSTANCE(htim->Instance)); 3042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_PULSEONCOMPARE_WIDTH(PulseWidth)); 3043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_PULSEONCOMPARE_WIDTHPRESCALER(PulseWidthPrescaler)); 3044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Process Locked */ 3046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim); 3047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM state */ 3049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_BUSY; 3050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Get the TIMx ECR register value */ ARM GAS /tmp/ccdmQ4z9.s page 55 3052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpecr = htim->Instance->ECR; 3053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the Pulse width prescaler and the Pulse width */ 3054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpecr &= ~(TIM_ECR_PWPRSC | TIM_ECR_PW); 3055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the Pulse width prescaler and Pulse width*/ 3056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpecr |= PulseWidthPrescaler << TIM_ECR_PWPRSC_Pos; 3057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpecr |= PulseWidth << TIM_ECR_PW_Pos; 3058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Write to TIMx ECR */ 3059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->ECR = tmpecr; 3060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the TIM state */ 3062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY; 3063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Release Lock */ 3065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim); 3066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configure preload source of Slave Mode Selection bitfield (SMS in SMCR register) 3072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Source Source of slave mode selection preload 3074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 3075: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 3076: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 3077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigSlaveModePreload(TIM_HandleTypeDef *htim, uint32_t Source) 3080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_SLAVE_INSTANCE(htim->Instance)); 3083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_SLAVE_PRELOAD_SOURCE(Source)); 3084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->SMCR, TIM_SMCR_SMSPS, Source); 3086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 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 **** * @brief Enable preload of Slave Mode Selection bitfield (SMS in SMCR register) 3091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_EnableSlaveModePreload(TIM_HandleTypeDef *htim) 3095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_SLAVE_INSTANCE(htim->Instance)); 3098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->SMCR, TIM_SMCR_SMSPE); 3100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disable preload of Slave Mode Selection bitfield (SMS in SMCR register) 3105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DisableSlaveModePreload(TIM_HandleTypeDef *htim) ARM GAS /tmp/ccdmQ4z9.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 **** /* Check the parameters */ 3111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_SLAVE_INSTANCE(htim->Instance)); 3112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->SMCR, TIM_SMCR_SMSPE); 3114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enable deadtime preload 3119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_EnableDeadTimePreload(TIM_HandleTypeDef *htim) 3123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance)); 3126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->DTR2, TIM_DTR2_DTPE); 3128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disable deadtime preload 3133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DisableDeadTimePreload(TIM_HandleTypeDef *htim) 3137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance)); 3140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->DTR2, TIM_DTR2_DTPE); 3142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configure deadtime 3147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Deadtime Deadtime value 3149: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 3150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigDeadTime(TIM_HandleTypeDef *htim, uint32_t Deadtime) 3153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance)); 3156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_DEADTIME(Deadtime)); 3157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->BDTR, TIM_BDTR_DTG, Deadtime); 3159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configure asymmetrical deadtime 3164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param FallingDeadtime Falling edge deadtime value ARM GAS /tmp/ccdmQ4z9.s page 57 3166: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 3167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigAsymmetricalDeadTime(TIM_HandleTypeDef *htim, uint32_t FallingDea 3170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance)); 3173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_DEADTIME(FallingDeadtime)); 3174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->DTR2, TIM_DTR2_DTGF, FallingDeadtime); 3176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enable asymmetrical deadtime 3181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_EnableAsymmetricalDeadTime(TIM_HandleTypeDef *htim) 3185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance)); 3188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->DTR2, TIM_DTR2_DTAE); 3190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disable asymmetrical deadtime 3195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DisableAsymmetricalDeadTime(TIM_HandleTypeDef *htim) 3199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance)); 3202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->DTR2, TIM_DTR2_DTAE); 3204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configures the encoder index. 3209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note warning in case of encoder mode clock plus direction 3210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @ref TIM_ENCODERMODE_CLOCKPLUSDIRECTION_X1 or @ref TIM_ENCODERMODE_CLOCKPLUS 3211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * Direction must be set to @ref TIM_ENCODERINDEX_DIRECTION_UP_DOWN 3212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle. 3213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param sEncoderIndexConfig Encoder index configuration 3214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigEncoderIndex(TIM_HandleTypeDef *htim, 3217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIMEx_EncoderIndexConfigTypeDef *sEncoderIndexConfig 3218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance)); 3221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_POLARITY(sEncoderIndexConfig->Polarity)); 3222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_PRESCALER(sEncoderIndexConfig->Prescaler)); ARM GAS /tmp/ccdmQ4z9.s page 58 3223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_FILTER(sEncoderIndexConfig->Filter)); 3224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_FUNCTIONAL_STATE(sEncoderIndexConfig->FirstIndexEnable)); 3225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_POSITION(sEncoderIndexConfig->Position)); 3226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_DIRECTION(sEncoderIndexConfig->Direction)); 3227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Process Locked */ 3229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim); 3230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Configures the TIMx External Trigger (ETR) which is used as Index input */ 3232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ETR_SetConfig(htim->Instance, 3233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Prescaler, 3234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Polarity, 3235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Filter); 3236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Configures the encoder index */ 3238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->ECR, 3239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ECR_IDIR_Msk | TIM_ECR_FIDX_Msk | TIM_ECR_IPOS_Msk, 3240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (sEncoderIndexConfig->Direction | 3241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ((sEncoderIndexConfig->FirstIndexEnable == ENABLE) ? (0x1U << TIM_ECR_FIDX_Pos) : 0U) 3242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Position | 3243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ECR_IE)); 3244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim); 3246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enable encoder index 3252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_EnableEncoderIndex(TIM_HandleTypeDef *htim) 3256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance)); 3259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->ECR, TIM_ECR_IE); 3261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disable encoder index 3266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DisableEncoderIndex(TIM_HandleTypeDef *htim) 3270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance)); 3273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->ECR, TIM_ECR_IE); 3275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enable encoder first index ARM GAS /tmp/ccdmQ4z9.s page 59 3280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_EnableEncoderFirstIndex(TIM_HandleTypeDef *htim) 3284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance)); 3287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->ECR, TIM_ECR_FIDX); 3289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disable encoder first index 3294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status 3296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DisableEncoderFirstIndex(TIM_HandleTypeDef *htim) 3298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance)); 3301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->ECR, TIM_ECR_FIDX); 3303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 3304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @} 3308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group6 Extended Callbacks functions 3311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Extended Callbacks functions 3312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 3313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim 3314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== 3315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Extended Callbacks functions ##### 3316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== 3317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..] 3318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** This section provides Extended TIM callback functions: 3319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Timer Commutation callback 3320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Timer Break callback 3321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim 3323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{ 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 **** * @brief Commutation callback in non-blocking mode 3328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 3330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_CommutCallback(TIM_HandleTypeDef *htim) 3332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 3334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim); 3335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed, ARM GAS /tmp/ccdmQ4z9.s page 60 3337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_CommutCallback could be implemented in the user file 3338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Commutation half complete callback in non-blocking mode 3342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 3344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_CommutHalfCpltCallback(TIM_HandleTypeDef *htim) 3346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 3348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim); 3349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed, 3351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_CommutHalfCpltCallback could be implemented in the user file 3352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Break detection callback in non-blocking mode 3357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 3359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_BreakCallback(TIM_HandleTypeDef *htim) 3361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 3363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim); 3364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed, 3366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_BreakCallback could be implemented in the user file 3367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Break2 detection callback in non blocking mode 3372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim: TIM handle 3373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 3374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_Break2Callback(TIM_HandleTypeDef *htim) 3376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 3378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim); 3379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function Should not be modified, when the callback is needed, 3381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_Break2Callback could be implemented in the user file 3382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Encoder index callback in non-blocking mode 3387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 3389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_EncoderIndexCallback(TIM_HandleTypeDef *htim) 3391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 3393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim); ARM GAS /tmp/ccdmQ4z9.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 **** /* NOTE : This function should not be modified, when the callback is needed, 3396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_EncoderIndexCallback could be implemented in the user file 3397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Direction change callback in non-blocking mode 3402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 3404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_DirectionChangeCallback(TIM_HandleTypeDef *htim) 3406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 3408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim); 3409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed, 3411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_DirectionChangeCallback could be implemented in the user file 3412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Index error callback in non-blocking mode 3417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 3419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_IndexErrorCallback(TIM_HandleTypeDef *htim) 3421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 3423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim); 3424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed, 3426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_IndexErrorCallback could be implemented in the user file 3427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Transition error callback in non-blocking mode 3432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 3434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_TransitionErrorCallback(TIM_HandleTypeDef *htim) 3436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 3438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim); 3439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed, 3441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_TransitionErrorCallback could be implemented in the user file 3442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @} 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 **** /** @defgroup TIMEx_Exported_Functions_Group7 Extended Peripheral State functions 3450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Extended Peripheral State functions ARM GAS /tmp/ccdmQ4z9.s page 62 3451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * 3452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim 3453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== 3454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Extended Peripheral State functions ##### 3455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ============================================================================== 3456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..] 3457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** This subsection permits to get in run-time the status of the peripheral 3458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** and the data flow. 3459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim 3461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{ 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 **** * @brief Return the TIM Hall Sensor interface handle state. 3466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor handle 3467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL state 3468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_StateTypeDef HAL_TIMEx_HallSensor_GetState(const TIM_HandleTypeDef *htim) 3470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return htim->State; 3472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Return actual state of the TIM complementary channel. 3476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle 3477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param ChannelN TIM Complementary channel 3478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 3479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 3480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 3481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 3482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 3483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval TIM Complementary channel state 3484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef HAL_TIMEx_GetChannelNState(const TIM_HandleTypeDef *htim, uint32_t Cha 3486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_state; 3488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, ChannelN)); 3491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** channel_state = TIM_CHANNEL_N_STATE_GET(htim, ChannelN); 3493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return channel_state; 3495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @} 3498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @} 3502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Private functions ---------------------------------------------------------*/ 3505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Private_Functions TIM Extended Private Functions 3506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{ 3507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ ARM GAS /tmp/ccdmQ4z9.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 **** /** 3510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief TIM DMA Commutation callback. 3511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param hdma pointer to DMA handle. 3512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 3513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** void TIMEx_DMACommutationCplt(DMA_HandleTypeDef *hdma) 3515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 3517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the htim state */ 3519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY; 3520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->CommutationCallback(htim); 3523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else 3524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIMEx_CommutCallback(htim); 3525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 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 **** * @brief TIM DMA Commutation half complete callback. 3530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param hdma pointer to DMA handle. 3531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 3532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** void TIMEx_DMACommutationHalfCplt(DMA_HandleTypeDef *hdma) 3534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 3536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the htim state */ 3538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY; 3539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->CommutationHalfCpltCallback(htim); 3542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else 3543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIMEx_CommutHalfCpltCallback(htim); 3544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 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 Delay Pulse complete callback (complementary channel). 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 **** static void TIM_DMADelayPulseNCplt(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 **** if (hdma == htim->hdma[TIM_DMA_ID_CC1]) 3558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1; 3560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (hdma->Init.Mode == DMA_NORMAL) 3562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 3564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } ARM GAS /tmp/ccdmQ4z9.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 **** else if (hdma == htim->hdma[TIM_DMA_ID_CC2]) 3567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2; 3569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (hdma->Init.Mode == DMA_NORMAL) 3571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 3573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC3]) 3576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3; 3578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (hdma->Init.Mode == DMA_NORMAL) 3580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY); 3582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC4]) 3585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4; 3587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (hdma->Init.Mode == DMA_NORMAL) 3589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY); 3591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 3594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* nothing to do */ 3596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->PWM_PulseFinishedCallback(htim); 3600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else 3601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_PWM_PulseFinishedCallback(htim); 3602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; 3605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief TIM DMA error callback (complementary channel) 3609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param hdma pointer to DMA handle. 3610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 3611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** static void TIM_DMAErrorCCxN(DMA_HandleTypeDef *hdma) 3613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 3615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (hdma == htim->hdma[TIM_DMA_ID_CC1]) 3617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1; 3619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 3620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC2]) ARM GAS /tmp/ccdmQ4z9.s page 65 3622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2; 3624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 3625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC3]) 3627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3; 3629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY); 3630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC4]) 3632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4; 3634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY); 3635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else 3637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* nothing to do */ 3639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->ErrorCallback(htim); 3643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else 3644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ErrorCallback(htim); 3645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; 3648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 3651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enables or disables the TIM Capture Compare Channel xN. 3652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param TIMx to select the TIM peripheral 3653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel specifies the TIM Channel 3654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values: 3655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 3656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 3657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 3658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 3659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param ChannelNState specifies the TIM Channel CCxNE bit new state. 3660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be: TIM_CCxN_ENABLE or TIM_CCxN_Disable. 3661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None 3662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */ 3663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** static void TIM_CCxNChannelCmd(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ChannelNState) 3664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 29 .loc 1 3664 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. 3665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmp; 34 .loc 1 3665 3 view .LVU1 3666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmp = TIM_CCER_CC1NE << (Channel & 0xFU); /* 0xFU = 15 bits max shift */ 35 .loc 1 3667 3 view .LVU2 36 .loc 1 3667 36 is_stmt 0 view .LVU3 37 0000 01F00F01 and r1, r1, #15 38 .LVL1: 39 .loc 1 3667 7 view .LVU4 ARM GAS /tmp/ccdmQ4z9.s page 66 40 0004 4FF0040C mov ip, #4 41 0008 0CFA01FC lsl ip, ip, r1 42 .LVL2: 3668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the CCxNE Bit */ 3670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIMx->CCER &= ~tmp; 43 .loc 1 3670 3 is_stmt 1 view .LVU5 44 .loc 1 3670 7 is_stmt 0 view .LVU6 45 000c 036A ldr r3, [r0, #32] 46 .loc 1 3670 14 view .LVU7 47 000e 23EA0C03 bic r3, r3, ip 48 0012 0362 str r3, [r0, #32] 3671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set or reset the CCxNE Bit */ 3673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIMx->CCER |= (uint32_t)(ChannelNState << (Channel & 0xFU)); /* 0xFU = 15 bits max shift */ 49 .loc 1 3673 3 is_stmt 1 view .LVU8 50 .loc 1 3673 7 is_stmt 0 view .LVU9 51 0014 036A ldr r3, [r0, #32] 52 .loc 1 3673 42 view .LVU10 53 0016 8A40 lsls r2, r2, r1 54 .LVL3: 55 .loc 1 3673 14 view .LVU11 56 0018 1343 orrs r3, r3, r2 57 001a 0362 str r3, [r0, #32] 3674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 58 .loc 1 3674 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: 3613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 72 .loc 1 3613 1 is_stmt 1 view -0 73 .cfi_startproc 74 @ args = 0, pretend = 0, frame = 0 75 @ frame_needed = 0, uses_anonymous_args = 0 3613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 76 .loc 1 3613 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 3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 82 .loc 1 3614 3 is_stmt 1 view .LVU15 3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 83 .loc 1 3614 22 is_stmt 0 view .LVU16 84 0002 846A ldr r4, [r0, #40] 85 .LVL5: 3616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 86 .loc 1 3616 3 is_stmt 1 view .LVU17 ARM GAS /tmp/ccdmQ4z9.s page 67 3616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 87 .loc 1 3616 25 is_stmt 0 view .LVU18 88 0004 636A ldr r3, [r4, #36] 3616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 89 .loc 1 3616 6 view .LVU19 90 0006 8342 cmp r3, r0 91 0008 0ED0 beq .L8 3621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 92 .loc 1 3621 8 is_stmt 1 view .LVU20 3621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 93 .loc 1 3621 30 is_stmt 0 view .LVU21 94 000a A36A ldr r3, [r4, #40] 3621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 95 .loc 1 3621 11 view .LVU22 96 000c 8342 cmp r3, r0 97 000e 15D0 beq .L9 3626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 98 .loc 1 3626 8 is_stmt 1 view .LVU23 3626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 99 .loc 1 3626 30 is_stmt 0 view .LVU24 100 0010 E36A ldr r3, [r4, #44] 3626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 101 .loc 1 3626 11 view .LVU25 102 0012 8342 cmp r3, r0 103 0014 18D0 beq .L10 3631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 104 .loc 1 3631 8 is_stmt 1 view .LVU26 3631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 105 .loc 1 3631 30 is_stmt 0 view .LVU27 106 0016 236B ldr r3, [r4, #48] 3631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 107 .loc 1 3631 11 view .LVU28 108 0018 8342 cmp r3, r0 109 001a 09D1 bne .L4 3633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY); 110 .loc 1 3633 5 is_stmt 1 view .LVU29 3633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY); 111 .loc 1 3633 19 is_stmt 0 view .LVU30 112 001c 0823 movs r3, #8 113 001e 2377 strb r3, [r4, #28] 3634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 114 .loc 1 3634 5 is_stmt 1 view .LVU31 115 0020 0123 movs r3, #1 116 0022 84F84730 strb r3, [r4, #71] 117 0026 03E0 b .L4 118 .L8: 3618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 119 .loc 1 3618 5 view .LVU32 3618: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 3618 19 is_stmt 0 view .LVU33 121 0028 0123 movs r3, #1 122 002a 2377 strb r3, [r4, #28] 3619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 123 .loc 1 3619 5 is_stmt 1 view .LVU34 124 002c 84F84430 strb r3, [r4, #68] 125 .L4: 3639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/ccdmQ4z9.s page 68 126 .loc 1 3639 3 view .LVU35 3644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 127 .loc 1 3644 3 view .LVU36 128 0030 2046 mov r0, r4 129 .LVL6: 3644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 130 .loc 1 3644 3 is_stmt 0 view .LVU37 131 0032 FFF7FEFF bl HAL_TIM_ErrorCallback 132 .LVL7: 3647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 133 .loc 1 3647 3 is_stmt 1 view .LVU38 3647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 134 .loc 1 3647 17 is_stmt 0 view .LVU39 135 0036 0023 movs r3, #0 136 0038 2377 strb r3, [r4, #28] 3648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 137 .loc 1 3648 1 view .LVU40 138 003a 10BD pop {r4, pc} 139 .LVL8: 140 .L9: 3623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 141 .loc 1 3623 5 is_stmt 1 view .LVU41 3623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 142 .loc 1 3623 19 is_stmt 0 view .LVU42 143 003c 0223 movs r3, #2 144 003e 2377 strb r3, [r4, #28] 3624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 145 .loc 1 3624 5 is_stmt 1 view .LVU43 146 0040 0123 movs r3, #1 147 0042 84F84530 strb r3, [r4, #69] 148 0046 F3E7 b .L4 149 .L10: 3628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY); 150 .loc 1 3628 5 view .LVU44 3628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY); 151 .loc 1 3628 19 is_stmt 0 view .LVU45 152 0048 0423 movs r3, #4 153 004a 2377 strb r3, [r4, #28] 3629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 154 .loc 1 3629 5 is_stmt 1 view .LVU46 155 004c 0123 movs r3, #1 156 004e 84F84630 strb r3, [r4, #70] 157 0052 EDE7 b .L4 158 .cfi_endproc 159 .LFE396: 161 .section .text.TIM_DMADelayPulseNCplt,"ax",%progbits 162 .align 1 163 .syntax unified 164 .thumb 165 .thumb_func 167 TIM_DMADelayPulseNCplt: 168 .LVL9: 169 .LFB395: 3554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 170 .loc 1 3554 1 view -0 171 .cfi_startproc 172 @ args = 0, pretend = 0, frame = 0 ARM GAS /tmp/ccdmQ4z9.s page 69 173 @ 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; 174 .loc 1 3554 1 is_stmt 0 view .LVU48 175 0000 10B5 push {r4, lr} 176 .LCFI1: 177 .cfi_def_cfa_offset 8 178 .cfi_offset 4, -8 179 .cfi_offset 14, -4 3555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 180 .loc 1 3555 3 is_stmt 1 view .LVU49 3555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 181 .loc 1 3555 22 is_stmt 0 view .LVU50 182 0002 846A ldr r4, [r0, #40] 183 .LVL10: 3557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 184 .loc 1 3557 3 is_stmt 1 view .LVU51 3557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 185 .loc 1 3557 25 is_stmt 0 view .LVU52 186 0004 636A ldr r3, [r4, #36] 3557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 187 .loc 1 3557 6 view .LVU53 188 0006 8342 cmp r3, r0 189 0008 0ED0 beq .L17 3566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 190 .loc 1 3566 8 is_stmt 1 view .LVU54 3566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 191 .loc 1 3566 30 is_stmt 0 view .LVU55 192 000a A36A ldr r3, [r4, #40] 3566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 193 .loc 1 3566 11 view .LVU56 194 000c 8342 cmp r3, r0 195 000e 14D0 beq .L18 3575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 196 .loc 1 3575 8 is_stmt 1 view .LVU57 3575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 197 .loc 1 3575 30 is_stmt 0 view .LVU58 198 0010 E36A ldr r3, [r4, #44] 3575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 199 .loc 1 3575 11 view .LVU59 200 0012 8342 cmp r3, r0 201 0014 1AD0 beq .L19 3584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 202 .loc 1 3584 8 is_stmt 1 view .LVU60 3584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 203 .loc 1 3584 30 is_stmt 0 view .LVU61 204 0016 236B ldr r3, [r4, #48] 3584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 205 .loc 1 3584 11 view .LVU62 206 0018 8342 cmp r3, r0 207 001a 20D0 beq .L20 208 .L13: 3596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 209 .loc 1 3596 3 is_stmt 1 view .LVU63 3601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 210 .loc 1 3601 3 view .LVU64 211 001c 2046 mov r0, r4 212 .LVL11: ARM GAS /tmp/ccdmQ4z9.s page 70 3601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 213 .loc 1 3601 3 is_stmt 0 view .LVU65 214 001e FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback 215 .LVL12: 3604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 216 .loc 1 3604 3 is_stmt 1 view .LVU66 3604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 217 .loc 1 3604 17 is_stmt 0 view .LVU67 218 0022 0023 movs r3, #0 219 0024 2377 strb r3, [r4, #28] 3605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 220 .loc 1 3605 1 view .LVU68 221 0026 10BD pop {r4, pc} 222 .LVL13: 223 .L17: 3559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 224 .loc 1 3559 5 is_stmt 1 view .LVU69 3559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 225 .loc 1 3559 19 is_stmt 0 view .LVU70 226 0028 0123 movs r3, #1 227 002a 2377 strb r3, [r4, #28] 3561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 228 .loc 1 3561 5 is_stmt 1 view .LVU71 3561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 229 .loc 1 3561 19 is_stmt 0 view .LVU72 230 002c C369 ldr r3, [r0, #28] 3561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 231 .loc 1 3561 8 view .LVU73 232 002e 002B cmp r3, #0 233 0030 F4D1 bne .L13 3563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 234 .loc 1 3563 7 is_stmt 1 view .LVU74 235 0032 0123 movs r3, #1 236 0034 84F84430 strb r3, [r4, #68] 237 0038 F0E7 b .L13 238 .L18: 3568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 239 .loc 1 3568 5 view .LVU75 3568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 240 .loc 1 3568 19 is_stmt 0 view .LVU76 241 003a 0223 movs r3, #2 242 003c 2377 strb r3, [r4, #28] 3570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 243 .loc 1 3570 5 is_stmt 1 view .LVU77 3570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 244 .loc 1 3570 19 is_stmt 0 view .LVU78 245 003e C369 ldr r3, [r0, #28] 3570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 246 .loc 1 3570 8 view .LVU79 247 0040 002B cmp r3, #0 248 0042 EBD1 bne .L13 3572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 249 .loc 1 3572 7 is_stmt 1 view .LVU80 250 0044 0123 movs r3, #1 251 0046 84F84530 strb r3, [r4, #69] 252 004a E7E7 b .L13 253 .L19: ARM GAS /tmp/ccdmQ4z9.s page 71 3577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 254 .loc 1 3577 5 view .LVU81 3577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 255 .loc 1 3577 19 is_stmt 0 view .LVU82 256 004c 0423 movs r3, #4 257 004e 2377 strb r3, [r4, #28] 3579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 258 .loc 1 3579 5 is_stmt 1 view .LVU83 3579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 259 .loc 1 3579 19 is_stmt 0 view .LVU84 260 0050 C369 ldr r3, [r0, #28] 3579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 261 .loc 1 3579 8 view .LVU85 262 0052 002B cmp r3, #0 263 0054 E2D1 bne .L13 3581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 264 .loc 1 3581 7 is_stmt 1 view .LVU86 265 0056 0123 movs r3, #1 266 0058 84F84630 strb r3, [r4, #70] 267 005c DEE7 b .L13 268 .L20: 3586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 269 .loc 1 3586 5 view .LVU87 3586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 270 .loc 1 3586 19 is_stmt 0 view .LVU88 271 005e 0823 movs r3, #8 272 0060 2377 strb r3, [r4, #28] 3588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 273 .loc 1 3588 5 is_stmt 1 view .LVU89 3588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 274 .loc 1 3588 19 is_stmt 0 view .LVU90 275 0062 C369 ldr r3, [r0, #28] 3588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 276 .loc 1 3588 8 view .LVU91 277 0064 002B cmp r3, #0 278 0066 D9D1 bne .L13 3590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 279 .loc 1 3590 7 is_stmt 1 view .LVU92 280 0068 0123 movs r3, #1 281 006a 84F84730 strb r3, [r4, #71] 282 006e D5E7 b .L13 283 .cfi_endproc 284 .LFE395: 286 .section .text.HAL_TIMEx_HallSensor_MspInit,"ax",%progbits 287 .align 1 288 .weak HAL_TIMEx_HallSensor_MspInit 289 .syntax unified 290 .thumb 291 .thumb_func 293 HAL_TIMEx_HallSensor_MspInit: 294 .LVL14: 295 .LFB331: 305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 296 .loc 1 305 1 view -0 297 .cfi_startproc 298 @ args = 0, pretend = 0, frame = 0 299 @ frame_needed = 0, uses_anonymous_args = 0 ARM GAS /tmp/ccdmQ4z9.s page 72 300 @ link register save eliminated. 307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 301 .loc 1 307 3 view .LVU94 312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 302 .loc 1 312 1 is_stmt 0 view .LVU95 303 0000 7047 bx lr 304 .cfi_endproc 305 .LFE331: 307 .section .text.HAL_TIMEx_HallSensor_Init,"ax",%progbits 308 .align 1 309 .global HAL_TIMEx_HallSensor_Init 310 .syntax unified 311 .thumb 312 .thumb_func 314 HAL_TIMEx_HallSensor_Init: 315 .LVL15: 316 .LFB329: 158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_OC_InitTypeDef OC_Config; 317 .loc 1 158 1 is_stmt 1 view -0 318 .cfi_startproc 319 @ args = 0, pretend = 0, frame = 32 320 @ frame_needed = 0, uses_anonymous_args = 0 159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 321 .loc 1 159 3 view .LVU97 162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 322 .loc 1 162 3 view .LVU98 162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 323 .loc 1 162 6 is_stmt 0 view .LVU99 324 0000 0028 cmp r0, #0 325 0002 6BD0 beq .L25 158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_OC_InitTypeDef OC_Config; 326 .loc 1 158 1 view .LVU100 327 0004 70B5 push {r4, r5, r6, lr} 328 .LCFI2: 329 .cfi_def_cfa_offset 16 330 .cfi_offset 4, -16 331 .cfi_offset 5, -12 332 .cfi_offset 6, -8 333 .cfi_offset 14, -4 334 0006 88B0 sub sp, sp, #32 335 .LCFI3: 336 .cfi_def_cfa_offset 48 337 0008 0E46 mov r6, r1 338 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)); 339 .loc 1 168 3 is_stmt 1 view .LVU101 169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 340 .loc 1 169 3 view .LVU102 170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 341 .loc 1 170 3 view .LVU103 171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_IC_POLARITY(sConfig->IC1Polarity)); 342 .loc 1 171 3 view .LVU104 172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_PERIOD(htim, htim->Init.Period)); 343 .loc 1 172 3 view .LVU105 173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->IC1Prescaler)); 344 .loc 1 173 3 view .LVU106 174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_IC_FILTER(sConfig->IC1Filter)); ARM GAS /tmp/ccdmQ4z9.s page 73 345 .loc 1 174 3 view .LVU107 175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 346 .loc 1 175 3 view .LVU108 177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 347 .loc 1 177 3 view .LVU109 177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 348 .loc 1 177 11 is_stmt 0 view .LVU110 349 000c 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 350 .loc 1 177 6 view .LVU111 351 0010 002B cmp r3, #0 352 0012 5ED0 beq .L30 353 .LVL16: 354 .L24: 199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 355 .loc 1 199 3 is_stmt 1 view .LVU112 199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 356 .loc 1 199 15 is_stmt 0 view .LVU113 357 0014 0223 movs r3, #2 358 0016 84F83D30 strb r3, [r4, #61] 202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 359 .loc 1 202 3 is_stmt 1 view .LVU114 202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 360 .loc 1 202 38 is_stmt 0 view .LVU115 361 001a 2146 mov r1, r4 202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 362 .loc 1 202 3 view .LVU116 363 001c 51F8040B ldr r0, [r1], #4 364 0020 FFF7FEFF bl TIM_Base_SetConfig 365 .LVL17: 205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 366 .loc 1 205 3 is_stmt 1 view .LVU117 367 0024 B368 ldr r3, [r6, #8] 368 0026 0322 movs r2, #3 369 0028 3168 ldr r1, [r6] 370 002a 2068 ldr r0, [r4] 371 002c FFF7FEFF bl TIM_TI1_SetConfig 372 .LVL18: 208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the IC1PSC value */ 373 .loc 1 208 3 view .LVU118 208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the IC1PSC value */ 374 .loc 1 208 7 is_stmt 0 view .LVU119 375 0030 2268 ldr r2, [r4] 208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the IC1PSC value */ 376 .loc 1 208 17 view .LVU120 377 0032 9369 ldr r3, [r2, #24] 208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the IC1PSC value */ 378 .loc 1 208 25 view .LVU121 379 0034 23F00C03 bic r3, r3, #12 380 0038 9361 str r3, [r2, #24] 210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 381 .loc 1 210 3 is_stmt 1 view .LVU122 210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 382 .loc 1 210 7 is_stmt 0 view .LVU123 383 003a 2268 ldr r2, [r4] 210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 384 .loc 1 210 17 view .LVU124 ARM GAS /tmp/ccdmQ4z9.s page 74 385 003c 9369 ldr r3, [r2, #24] 210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 386 .loc 1 210 35 view .LVU125 387 003e 7168 ldr r1, [r6, #4] 210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 388 .loc 1 210 25 view .LVU126 389 0040 0B43 orrs r3, r3, r1 390 0042 9361 str r3, [r2, #24] 213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 391 .loc 1 213 3 is_stmt 1 view .LVU127 213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 392 .loc 1 213 7 is_stmt 0 view .LVU128 393 0044 2268 ldr r2, [r4] 213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 394 .loc 1 213 17 view .LVU129 395 0046 5368 ldr r3, [r2, #4] 213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 396 .loc 1 213 23 view .LVU130 397 0048 43F08003 orr r3, r3, #128 398 004c 5360 str r3, [r2, #4] 216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_TS_TI1F_ED; 399 .loc 1 216 3 is_stmt 1 view .LVU131 216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_TS_TI1F_ED; 400 .loc 1 216 7 is_stmt 0 view .LVU132 401 004e 2268 ldr r2, [r4] 216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_TS_TI1F_ED; 402 .loc 1 216 17 view .LVU133 403 0050 9368 ldr r3, [r2, #8] 216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_TS_TI1F_ED; 404 .loc 1 216 24 view .LVU134 405 0052 23F44013 bic r3, r3, #3145728 406 0056 23F07003 bic r3, r3, #112 407 005a 9360 str r3, [r2, #8] 217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 408 .loc 1 217 3 is_stmt 1 view .LVU135 217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 409 .loc 1 217 7 is_stmt 0 view .LVU136 410 005c 2268 ldr r2, [r4] 217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 411 .loc 1 217 17 view .LVU137 412 005e 9368 ldr r3, [r2, #8] 217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 413 .loc 1 217 24 view .LVU138 414 0060 43F04003 orr r3, r3, #64 415 0064 9360 str r3, [r2, #8] 220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_RESET; 416 .loc 1 220 3 is_stmt 1 view .LVU139 220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_RESET; 417 .loc 1 220 7 is_stmt 0 view .LVU140 418 0066 2268 ldr r2, [r4] 220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_RESET; 419 .loc 1 220 17 view .LVU141 420 0068 9368 ldr r3, [r2, #8] 220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_RESET; 421 .loc 1 220 24 view .LVU142 422 006a 23F48033 bic r3, r3, #65536 423 006e 23F00703 bic r3, r3, #7 ARM GAS /tmp/ccdmQ4z9.s page 75 424 0072 9360 str r3, [r2, #8] 221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 425 .loc 1 221 3 is_stmt 1 view .LVU143 221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 426 .loc 1 221 7 is_stmt 0 view .LVU144 427 0074 2268 ldr r2, [r4] 221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 428 .loc 1 221 17 view .LVU145 429 0076 9368 ldr r3, [r2, #8] 221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 430 .loc 1 221 24 view .LVU146 431 0078 43F00403 orr r3, r3, #4 432 007c 9360 str r3, [r2, #8] 224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCIdleState = TIM_OCIDLESTATE_RESET; 433 .loc 1 224 3 is_stmt 1 view .LVU147 224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCIdleState = TIM_OCIDLESTATE_RESET; 434 .loc 1 224 24 is_stmt 0 view .LVU148 435 007e 0025 movs r5, #0 436 0080 0595 str r5, [sp, #20] 225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCMode = TIM_OCMODE_PWM2; 437 .loc 1 225 3 is_stmt 1 view .LVU149 225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCMode = TIM_OCMODE_PWM2; 438 .loc 1 225 25 is_stmt 0 view .LVU150 439 0082 0695 str r5, [sp, #24] 226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCNIdleState = TIM_OCNIDLESTATE_RESET; 440 .loc 1 226 3 is_stmt 1 view .LVU151 226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCNIdleState = TIM_OCNIDLESTATE_RESET; 441 .loc 1 226 20 is_stmt 0 view .LVU152 442 0084 7023 movs r3, #112 443 0086 0193 str r3, [sp, #4] 227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCNPolarity = TIM_OCNPOLARITY_HIGH; 444 .loc 1 227 3 is_stmt 1 view .LVU153 227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCNPolarity = TIM_OCNPOLARITY_HIGH; 445 .loc 1 227 26 is_stmt 0 view .LVU154 446 0088 0795 str r5, [sp, #28] 228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCPolarity = TIM_OCPOLARITY_HIGH; 447 .loc 1 228 3 is_stmt 1 view .LVU155 228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCPolarity = TIM_OCPOLARITY_HIGH; 448 .loc 1 228 25 is_stmt 0 view .LVU156 449 008a 0495 str r5, [sp, #16] 229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.Pulse = sConfig->Commutation_Delay; 450 .loc 1 229 3 is_stmt 1 view .LVU157 229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.Pulse = sConfig->Commutation_Delay; 451 .loc 1 229 24 is_stmt 0 view .LVU158 452 008c 0395 str r5, [sp, #12] 230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 453 .loc 1 230 3 is_stmt 1 view .LVU159 230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 454 .loc 1 230 28 is_stmt 0 view .LVU160 455 008e F368 ldr r3, [r6, #12] 230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 456 .loc 1 230 19 view .LVU161 457 0090 0293 str r3, [sp, #8] 232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 458 .loc 1 232 3 is_stmt 1 view .LVU162 459 0092 01A9 add r1, sp, #4 460 0094 2068 ldr r0, [r4] ARM GAS /tmp/ccdmQ4z9.s page 76 461 0096 FFF7FEFF bl TIM_OC2_SetConfig 462 .LVL19: 236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_TRGO_OC2REF; 463 .loc 1 236 3 view .LVU163 236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_TRGO_OC2REF; 464 .loc 1 236 7 is_stmt 0 view .LVU164 465 009a 2268 ldr r2, [r4] 236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_TRGO_OC2REF; 466 .loc 1 236 17 view .LVU165 467 009c 5368 ldr r3, [r2, #4] 236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_TRGO_OC2REF; 468 .loc 1 236 23 view .LVU166 469 009e 23F00073 bic r3, r3, #33554432 470 00a2 23F07003 bic r3, r3, #112 471 00a6 5360 str r3, [r2, #4] 237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 472 .loc 1 237 3 is_stmt 1 view .LVU167 237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 473 .loc 1 237 7 is_stmt 0 view .LVU168 474 00a8 2268 ldr r2, [r4] 237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 475 .loc 1 237 17 view .LVU169 476 00aa 5368 ldr r3, [r2, #4] 237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 477 .loc 1 237 23 view .LVU170 478 00ac 43F05003 orr r3, r3, #80 479 00b0 5360 str r3, [r2, #4] 240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 480 .loc 1 240 3 is_stmt 1 view .LVU171 240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 481 .loc 1 240 23 is_stmt 0 view .LVU172 482 00b2 0123 movs r3, #1 483 00b4 84F84830 strb r3, [r4, #72] 243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 484 .loc 1 243 3 is_stmt 1 view .LVU173 485 00b8 84F83E30 strb r3, [r4, #62] 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); 486 .loc 1 244 3 view .LVU174 487 00bc 84F83F30 strb r3, [r4, #63] 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); 488 .loc 1 245 3 view .LVU175 489 00c0 84F84430 strb r3, [r4, #68] 246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 490 .loc 1 246 3 view .LVU176 491 00c4 84F84530 strb r3, [r4, #69] 249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 492 .loc 1 249 3 view .LVU177 249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 493 .loc 1 249 15 is_stmt 0 view .LVU178 494 00c8 84F83D30 strb r3, [r4, #61] 251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 495 .loc 1 251 3 is_stmt 1 view .LVU179 251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 496 .loc 1 251 10 is_stmt 0 view .LVU180 497 00cc 2846 mov r0, r5 252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 498 .loc 1 252 1 view .LVU181 ARM GAS /tmp/ccdmQ4z9.s page 77 499 00ce 08B0 add sp, sp, #32 500 .LCFI4: 501 .cfi_remember_state 502 .cfi_def_cfa_offset 16 503 @ sp needed 504 00d0 70BD pop {r4, r5, r6, pc} 505 .LVL20: 506 .L30: 507 .LCFI5: 508 .cfi_restore_state 180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 509 .loc 1 180 5 is_stmt 1 view .LVU182 180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 510 .loc 1 180 16 is_stmt 0 view .LVU183 511 00d2 80F83C30 strb r3, [r0, #60] 194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 512 .loc 1 194 5 is_stmt 1 view .LVU184 513 00d6 FFF7FEFF bl HAL_TIMEx_HallSensor_MspInit 514 .LVL21: 194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 515 .loc 1 194 5 is_stmt 0 view .LVU185 516 00da 9BE7 b .L24 517 .LVL22: 518 .L25: 519 .LCFI6: 520 .cfi_def_cfa_offset 0 521 .cfi_restore 4 522 .cfi_restore 5 523 .cfi_restore 6 524 .cfi_restore 14 164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 525 .loc 1 164 12 view .LVU186 526 00dc 0120 movs r0, #1 527 .LVL23: 252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 528 .loc 1 252 1 view .LVU187 529 00de 7047 bx lr 530 .cfi_endproc 531 .LFE329: 533 .section .text.HAL_TIMEx_HallSensor_MspDeInit,"ax",%progbits 534 .align 1 535 .weak HAL_TIMEx_HallSensor_MspDeInit 536 .syntax unified 537 .thumb 538 .thumb_func 540 HAL_TIMEx_HallSensor_MspDeInit: 541 .LVL24: 542 .LFB332: 320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 543 .loc 1 320 1 is_stmt 1 view -0 544 .cfi_startproc 545 @ args = 0, pretend = 0, frame = 0 546 @ frame_needed = 0, uses_anonymous_args = 0 547 @ link register save eliminated. 322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 548 .loc 1 322 3 view .LVU189 327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/ccdmQ4z9.s page 78 549 .loc 1 327 1 is_stmt 0 view .LVU190 550 0000 7047 bx lr 551 .cfi_endproc 552 .LFE332: 554 .section .text.HAL_TIMEx_HallSensor_DeInit,"ax",%progbits 555 .align 1 556 .global HAL_TIMEx_HallSensor_DeInit 557 .syntax unified 558 .thumb 559 .thumb_func 561 HAL_TIMEx_HallSensor_DeInit: 562 .LVL25: 563 .LFB330: 260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 564 .loc 1 260 1 is_stmt 1 view -0 565 .cfi_startproc 566 @ args = 0, pretend = 0, frame = 0 567 @ frame_needed = 0, uses_anonymous_args = 0 260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 568 .loc 1 260 1 is_stmt 0 view .LVU192 569 0000 10B5 push {r4, lr} 570 .LCFI7: 571 .cfi_def_cfa_offset 8 572 .cfi_offset 4, -8 573 .cfi_offset 14, -4 574 0002 0446 mov r4, r0 262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 575 .loc 1 262 3 is_stmt 1 view .LVU193 264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 576 .loc 1 264 3 view .LVU194 264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 577 .loc 1 264 15 is_stmt 0 view .LVU195 578 0004 0223 movs r3, #2 579 0006 80F83D30 strb r3, [r0, #61] 267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 580 .loc 1 267 3 is_stmt 1 view .LVU196 267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 581 .loc 1 267 3 view .LVU197 582 000a 0368 ldr r3, [r0] 583 000c 196A ldr r1, [r3, #32] 584 000e 41F21112 movw r2, #4369 585 0012 1142 tst r1, r2 586 0014 08D1 bne .L33 267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 587 .loc 1 267 3 discriminator 1 view .LVU198 588 0016 196A ldr r1, [r3, #32] 589 0018 44F24442 movw r2, #17476 590 001c 1142 tst r1, r2 591 001e 03D1 bne .L33 267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 592 .loc 1 267 3 discriminator 3 view .LVU199 593 0020 1A68 ldr r2, [r3] 594 0022 22F00102 bic r2, r2, #1 595 0026 1A60 str r2, [r3] 596 .L33: 267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 597 .loc 1 267 3 discriminator 5 view .LVU200 ARM GAS /tmp/ccdmQ4z9.s page 79 278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 598 .loc 1 278 3 view .LVU201 599 0028 2046 mov r0, r4 600 .LVL26: 278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 601 .loc 1 278 3 is_stmt 0 view .LVU202 602 002a FFF7FEFF bl HAL_TIMEx_HallSensor_MspDeInit 603 .LVL27: 282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 604 .loc 1 282 3 is_stmt 1 view .LVU203 282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 605 .loc 1 282 23 is_stmt 0 view .LVU204 606 002e 0020 movs r0, #0 607 0030 84F84800 strb r0, [r4, #72] 285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET); 608 .loc 1 285 3 is_stmt 1 view .LVU205 609 0034 84F83E00 strb r0, [r4, #62] 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); 610 .loc 1 286 3 view .LVU206 611 0038 84F83F00 strb r0, [r4, #63] 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); 612 .loc 1 287 3 view .LVU207 613 003c 84F84400 strb r0, [r4, #68] 288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 614 .loc 1 288 3 view .LVU208 615 0040 84F84500 strb r0, [r4, #69] 291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 616 .loc 1 291 3 view .LVU209 291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 617 .loc 1 291 15 is_stmt 0 view .LVU210 618 0044 84F83D00 strb r0, [r4, #61] 294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 619 .loc 1 294 3 is_stmt 1 view .LVU211 294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 620 .loc 1 294 3 view .LVU212 621 0048 84F83C00 strb r0, [r4, #60] 294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 622 .loc 1 294 3 view .LVU213 296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 623 .loc 1 296 3 view .LVU214 297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 624 .loc 1 297 1 is_stmt 0 view .LVU215 625 004c 10BD pop {r4, pc} 297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 626 .loc 1 297 1 view .LVU216 627 .cfi_endproc 628 .LFE330: 630 .section .text.HAL_TIMEx_HallSensor_Start,"ax",%progbits 631 .align 1 632 .global HAL_TIMEx_HallSensor_Start 633 .syntax unified 634 .thumb 635 .thumb_func 637 HAL_TIMEx_HallSensor_Start: 638 .LVL28: 639 .LFB333: 335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; ARM GAS /tmp/ccdmQ4z9.s page 80 640 .loc 1 335 1 is_stmt 1 view -0 641 .cfi_startproc 642 @ args = 0, pretend = 0, frame = 0 643 @ frame_needed = 0, uses_anonymous_args = 0 335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 644 .loc 1 335 1 is_stmt 0 view .LVU218 645 0000 10B5 push {r4, lr} 646 .LCFI8: 647 .cfi_def_cfa_offset 8 648 .cfi_offset 4, -8 649 .cfi_offset 14, -4 650 0002 0446 mov r4, r0 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); 651 .loc 1 336 3 is_stmt 1 view .LVU219 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); 652 .loc 1 337 3 view .LVU220 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); 653 .loc 1 337 31 is_stmt 0 view .LVU221 654 0004 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 655 .LVL29: 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); 656 .loc 1 337 31 view .LVU222 657 0008 C0B2 uxtb r0, r0 658 .LVL30: 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 659 .loc 1 338 3 is_stmt 1 view .LVU223 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 660 .loc 1 338 31 is_stmt 0 view .LVU224 661 000a 94F83F30 ldrb r3, [r4, #63] @ zero_extendqisi2 662 .LVL31: 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 663 .loc 1 339 3 is_stmt 1 view .LVU225 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 664 .loc 1 339 31 is_stmt 0 view .LVU226 665 000e 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2 666 .LVL32: 340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 667 .loc 1 340 3 is_stmt 1 view .LVU227 340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 668 .loc 1 340 31 is_stmt 0 view .LVU228 669 0012 94F84510 ldrb r1, [r4, #69] @ zero_extendqisi2 670 .LVL33: 343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 671 .loc 1 343 3 is_stmt 1 view .LVU229 346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 672 .loc 1 346 3 view .LVU230 346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 673 .loc 1 346 6 is_stmt 0 view .LVU231 674 0016 0128 cmp r0, #1 675 0018 42D1 bne .L39 676 001a DBB2 uxtb r3, r3 346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 677 .loc 1 346 6 view .LVU232 678 001c D2B2 uxtb r2, r2 346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 679 .loc 1 346 6 view .LVU233 680 001e C9B2 uxtb r1, r1 ARM GAS /tmp/ccdmQ4z9.s page 81 347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 681 .loc 1 347 7 view .LVU234 682 0020 012B cmp r3, #1 683 0022 3ED1 bne .L36 348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 684 .loc 1 348 7 view .LVU235 685 0024 012A cmp r2, #1 686 0026 3DD1 bne .L40 349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 687 .loc 1 349 7 view .LVU236 688 0028 0129 cmp r1, #1 689 002a 01D0 beq .L45 351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 690 .loc 1 351 12 view .LVU237 691 002c 1046 mov r0, r2 692 .LVL34: 351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 693 .loc 1 351 12 view .LVU238 694 002e 38E0 b .L36 695 .LVL35: 696 .L45: 355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 697 .loc 1 355 3 is_stmt 1 view .LVU239 698 0030 0223 movs r3, #2 699 .LVL36: 355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 700 .loc 1 355 3 is_stmt 0 view .LVU240 701 0032 84F83E30 strb r3, [r4, #62] 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); 702 .loc 1 356 3 is_stmt 1 view .LVU241 703 0036 84F83F30 strb r3, [r4, #63] 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); 704 .loc 1 357 3 view .LVU242 705 003a 84F84430 strb r3, [r4, #68] 358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 706 .loc 1 358 3 view .LVU243 707 003e 84F84530 strb r3, [r4, #69] 363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 708 .loc 1 363 3 view .LVU244 709 0042 0021 movs r1, #0 710 .LVL37: 363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 711 .loc 1 363 3 is_stmt 0 view .LVU245 712 0044 2068 ldr r0, [r4] 713 .LVL38: 363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 714 .loc 1 363 3 view .LVU246 715 0046 FFF7FEFF bl TIM_CCxChannelCmd 716 .LVL39: 366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 717 .loc 1 366 3 is_stmt 1 view .LVU247 366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 718 .loc 1 366 7 is_stmt 0 view .LVU248 719 004a 2368 ldr r3, [r4] 366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 720 .loc 1 366 6 view .LVU249 721 004c 184A ldr r2, .L46 ARM GAS /tmp/ccdmQ4z9.s page 82 722 004e 9342 cmp r3, r2 723 0050 18D0 beq .L37 366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 724 .loc 1 366 7 discriminator 1 view .LVU250 725 0052 B3F1804F cmp r3, #1073741824 726 0056 15D0 beq .L37 366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 727 .loc 1 366 7 discriminator 2 view .LVU251 728 0058 A2F59432 sub r2, r2, #75776 729 005c 9342 cmp r3, r2 730 005e 11D0 beq .L37 366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 731 .loc 1 366 7 discriminator 3 view .LVU252 732 0060 02F58062 add r2, r2, #1024 733 0064 9342 cmp r3, r2 734 0066 0DD0 beq .L37 366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 735 .loc 1 366 7 discriminator 4 view .LVU253 736 0068 02F59632 add r2, r2, #76800 737 006c 9342 cmp r3, r2 738 006e 09D0 beq .L37 366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 739 .loc 1 366 7 discriminator 5 view .LVU254 740 0070 02F54062 add r2, r2, #3072 741 0074 9342 cmp r3, r2 742 0076 05D0 beq .L37 376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 743 .loc 1 376 5 is_stmt 1 view .LVU255 744 0078 1A68 ldr r2, [r3] 745 007a 42F00102 orr r2, r2, #1 746 007e 1A60 str r2, [r3] 380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 747 .loc 1 380 10 is_stmt 0 view .LVU256 748 0080 0020 movs r0, #0 749 0082 0EE0 b .L36 750 .L37: 368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 751 .loc 1 368 5 is_stmt 1 view .LVU257 368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 752 .loc 1 368 29 is_stmt 0 view .LVU258 753 0084 9968 ldr r1, [r3, #8] 368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 754 .loc 1 368 13 view .LVU259 755 0086 0B4A ldr r2, .L46+4 756 0088 0A40 ands r2, r2, r1 757 .LVL40: 369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 758 .loc 1 369 5 is_stmt 1 view .LVU260 369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 759 .loc 1 369 8 is_stmt 0 view .LVU261 760 008a 062A cmp r2, #6 761 008c 0CD0 beq .L42 369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 762 .loc 1 369 9 discriminator 1 view .LVU262 763 008e B2F5803F cmp r2, #65536 764 0092 0BD0 beq .L43 371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } ARM GAS /tmp/ccdmQ4z9.s page 83 765 .loc 1 371 7 is_stmt 1 view .LVU263 766 0094 1A68 ldr r2, [r3] 767 .LVL41: 371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 768 .loc 1 371 7 is_stmt 0 view .LVU264 769 0096 42F00102 orr r2, r2, #1 770 009a 1A60 str r2, [r3] 380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 771 .loc 1 380 10 view .LVU265 772 009c 0020 movs r0, #0 773 009e 00E0 b .L36 774 .LVL42: 775 .L39: 351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 776 .loc 1 351 12 view .LVU266 777 00a0 0120 movs r0, #1 778 .LVL43: 779 .L36: 381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 780 .loc 1 381 1 view .LVU267 781 00a2 10BD pop {r4, pc} 782 .LVL44: 783 .L40: 351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 784 .loc 1 351 12 view .LVU268 785 00a4 1846 mov r0, r3 786 .LVL45: 351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 787 .loc 1 351 12 view .LVU269 788 00a6 FCE7 b .L36 789 .LVL46: 790 .L42: 380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 791 .loc 1 380 10 view .LVU270 792 00a8 0020 movs r0, #0 793 00aa FAE7 b .L36 794 .L43: 795 00ac 0020 movs r0, #0 796 00ae F8E7 b .L36 797 .L47: 798 .align 2 799 .L46: 800 00b0 002C0140 .word 1073818624 801 00b4 07000100 .word 65543 802 .cfi_endproc 803 .LFE333: 805 .section .text.HAL_TIMEx_HallSensor_Stop,"ax",%progbits 806 .align 1 807 .global HAL_TIMEx_HallSensor_Stop 808 .syntax unified 809 .thumb 810 .thumb_func 812 HAL_TIMEx_HallSensor_Stop: 813 .LVL47: 814 .LFB334: 389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 815 .loc 1 389 1 is_stmt 1 view -0 ARM GAS /tmp/ccdmQ4z9.s page 84 816 .cfi_startproc 817 @ args = 0, pretend = 0, frame = 0 818 @ frame_needed = 0, uses_anonymous_args = 0 389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 819 .loc 1 389 1 is_stmt 0 view .LVU272 820 0000 10B5 push {r4, lr} 821 .LCFI9: 822 .cfi_def_cfa_offset 8 823 .cfi_offset 4, -8 824 .cfi_offset 14, -4 825 0002 0446 mov r4, r0 391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 826 .loc 1 391 3 is_stmt 1 view .LVU273 396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 827 .loc 1 396 3 view .LVU274 828 0004 0022 movs r2, #0 829 0006 1146 mov r1, r2 830 0008 0068 ldr r0, [r0] 831 .LVL48: 396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 832 .loc 1 396 3 is_stmt 0 view .LVU275 833 000a FFF7FEFF bl TIM_CCxChannelCmd 834 .LVL49: 399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 835 .loc 1 399 3 is_stmt 1 view .LVU276 399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 836 .loc 1 399 3 view .LVU277 837 000e 2368 ldr r3, [r4] 838 0010 196A ldr r1, [r3, #32] 839 0012 41F21112 movw r2, #4369 840 0016 1142 tst r1, r2 841 0018 08D1 bne .L49 399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 842 .loc 1 399 3 discriminator 1 view .LVU278 843 001a 196A ldr r1, [r3, #32] 844 001c 44F24442 movw r2, #17476 845 0020 1142 tst r1, r2 846 0022 03D1 bne .L49 399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 847 .loc 1 399 3 discriminator 3 view .LVU279 848 0024 1A68 ldr r2, [r3] 849 0026 22F00102 bic r2, r2, #1 850 002a 1A60 str r2, [r3] 851 .L49: 399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 852 .loc 1 399 3 discriminator 5 view .LVU280 402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 853 .loc 1 402 3 view .LVU281 854 002c 0123 movs r3, #1 855 002e 84F83E30 strb r3, [r4, #62] 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); 856 .loc 1 403 3 view .LVU282 857 0032 84F83F30 strb r3, [r4, #63] 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); 858 .loc 1 404 3 view .LVU283 859 0036 84F84430 strb r3, [r4, #68] 405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/ccdmQ4z9.s page 85 860 .loc 1 405 3 view .LVU284 861 003a 84F84530 strb r3, [r4, #69] 408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 862 .loc 1 408 3 view .LVU285 409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 863 .loc 1 409 1 is_stmt 0 view .LVU286 864 003e 0020 movs r0, #0 865 0040 10BD pop {r4, pc} 409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 866 .loc 1 409 1 view .LVU287 867 .cfi_endproc 868 .LFE334: 870 .section .text.HAL_TIMEx_HallSensor_Start_IT,"ax",%progbits 871 .align 1 872 .global HAL_TIMEx_HallSensor_Start_IT 873 .syntax unified 874 .thumb 875 .thumb_func 877 HAL_TIMEx_HallSensor_Start_IT: 878 .LVL50: 879 .LFB335: 417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 880 .loc 1 417 1 is_stmt 1 view -0 881 .cfi_startproc 882 @ args = 0, pretend = 0, frame = 0 883 @ frame_needed = 0, uses_anonymous_args = 0 417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 884 .loc 1 417 1 is_stmt 0 view .LVU289 885 0000 10B5 push {r4, lr} 886 .LCFI10: 887 .cfi_def_cfa_offset 8 888 .cfi_offset 4, -8 889 .cfi_offset 14, -4 890 0002 0446 mov r4, r0 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); 891 .loc 1 418 3 is_stmt 1 view .LVU290 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); 892 .loc 1 419 3 view .LVU291 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); 893 .loc 1 419 31 is_stmt 0 view .LVU292 894 0004 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 895 .LVL51: 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); 896 .loc 1 419 31 view .LVU293 897 0008 C0B2 uxtb r0, r0 898 .LVL52: 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 899 .loc 1 420 3 is_stmt 1 view .LVU294 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 900 .loc 1 420 31 is_stmt 0 view .LVU295 901 000a 94F83F30 ldrb r3, [r4, #63] @ zero_extendqisi2 902 .LVL53: 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 903 .loc 1 421 3 is_stmt 1 view .LVU296 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 904 .loc 1 421 31 is_stmt 0 view .LVU297 905 000e 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2 ARM GAS /tmp/ccdmQ4z9.s page 86 906 .LVL54: 422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 907 .loc 1 422 3 is_stmt 1 view .LVU298 422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 908 .loc 1 422 31 is_stmt 0 view .LVU299 909 0012 94F84510 ldrb r1, [r4, #69] @ zero_extendqisi2 910 .LVL55: 425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 911 .loc 1 425 3 is_stmt 1 view .LVU300 428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 912 .loc 1 428 3 view .LVU301 428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 913 .loc 1 428 6 is_stmt 0 view .LVU302 914 0016 0128 cmp r0, #1 915 0018 48D1 bne .L55 916 001a DBB2 uxtb r3, r3 428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 917 .loc 1 428 6 view .LVU303 918 001c D2B2 uxtb r2, r2 428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 919 .loc 1 428 6 view .LVU304 920 001e C9B2 uxtb r1, r1 429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 921 .loc 1 429 7 view .LVU305 922 0020 012B cmp r3, #1 923 0022 44D1 bne .L52 430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 924 .loc 1 430 7 view .LVU306 925 0024 012A cmp r2, #1 926 0026 43D1 bne .L56 431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 927 .loc 1 431 7 view .LVU307 928 0028 0129 cmp r1, #1 929 002a 01D0 beq .L61 433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 930 .loc 1 433 12 view .LVU308 931 002c 1046 mov r0, r2 932 .LVL56: 433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 933 .loc 1 433 12 view .LVU309 934 002e 3EE0 b .L52 935 .LVL57: 936 .L61: 437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 937 .loc 1 437 3 is_stmt 1 view .LVU310 938 0030 0223 movs r3, #2 939 .LVL58: 437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 940 .loc 1 437 3 is_stmt 0 view .LVU311 941 0032 84F83E30 strb r3, [r4, #62] 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); 942 .loc 1 438 3 is_stmt 1 view .LVU312 943 0036 84F83F30 strb r3, [r4, #63] 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); 944 .loc 1 439 3 view .LVU313 945 003a 84F84430 strb r3, [r4, #68] 440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/ccdmQ4z9.s page 87 946 .loc 1 440 3 view .LVU314 947 003e 84F84530 strb r3, [r4, #69] 443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 948 .loc 1 443 3 view .LVU315 949 0042 2268 ldr r2, [r4] 950 .LVL59: 443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 951 .loc 1 443 3 is_stmt 0 view .LVU316 952 0044 D368 ldr r3, [r2, #12] 953 0046 43F00203 orr r3, r3, #2 954 004a D360 str r3, [r2, #12] 448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 955 .loc 1 448 3 is_stmt 1 view .LVU317 956 004c 0122 movs r2, #1 957 004e 0021 movs r1, #0 958 .LVL60: 448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 959 .loc 1 448 3 is_stmt 0 view .LVU318 960 0050 2068 ldr r0, [r4] 961 .LVL61: 448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 962 .loc 1 448 3 view .LVU319 963 0052 FFF7FEFF bl TIM_CCxChannelCmd 964 .LVL62: 451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 965 .loc 1 451 3 is_stmt 1 view .LVU320 451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 966 .loc 1 451 7 is_stmt 0 view .LVU321 967 0056 2368 ldr r3, [r4] 451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 968 .loc 1 451 6 view .LVU322 969 0058 184A ldr r2, .L62 970 005a 9342 cmp r3, r2 971 005c 18D0 beq .L53 451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 972 .loc 1 451 7 discriminator 1 view .LVU323 973 005e B3F1804F cmp r3, #1073741824 974 0062 15D0 beq .L53 451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 975 .loc 1 451 7 discriminator 2 view .LVU324 976 0064 A2F59432 sub r2, r2, #75776 977 0068 9342 cmp r3, r2 978 006a 11D0 beq .L53 451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 979 .loc 1 451 7 discriminator 3 view .LVU325 980 006c 02F58062 add r2, r2, #1024 981 0070 9342 cmp r3, r2 982 0072 0DD0 beq .L53 451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 983 .loc 1 451 7 discriminator 4 view .LVU326 984 0074 02F59632 add r2, r2, #76800 985 0078 9342 cmp r3, r2 986 007a 09D0 beq .L53 451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 987 .loc 1 451 7 discriminator 5 view .LVU327 988 007c 02F54062 add r2, r2, #3072 989 0080 9342 cmp r3, r2 ARM GAS /tmp/ccdmQ4z9.s page 88 990 0082 05D0 beq .L53 461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 991 .loc 1 461 5 is_stmt 1 view .LVU328 992 0084 1A68 ldr r2, [r3] 993 0086 42F00102 orr r2, r2, #1 994 008a 1A60 str r2, [r3] 465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 995 .loc 1 465 10 is_stmt 0 view .LVU329 996 008c 0020 movs r0, #0 997 008e 0EE0 b .L52 998 .L53: 453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 999 .loc 1 453 5 is_stmt 1 view .LVU330 453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1000 .loc 1 453 29 is_stmt 0 view .LVU331 1001 0090 9968 ldr r1, [r3, #8] 453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1002 .loc 1 453 13 view .LVU332 1003 0092 0B4A ldr r2, .L62+4 1004 0094 0A40 ands r2, r2, r1 1005 .LVL63: 454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1006 .loc 1 454 5 is_stmt 1 view .LVU333 454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1007 .loc 1 454 8 is_stmt 0 view .LVU334 1008 0096 062A cmp r2, #6 1009 0098 0CD0 beq .L58 454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1010 .loc 1 454 9 discriminator 1 view .LVU335 1011 009a B2F5803F cmp r2, #65536 1012 009e 0BD0 beq .L59 456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1013 .loc 1 456 7 is_stmt 1 view .LVU336 1014 00a0 1A68 ldr r2, [r3] 1015 .LVL64: 456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1016 .loc 1 456 7 is_stmt 0 view .LVU337 1017 00a2 42F00102 orr r2, r2, #1 1018 00a6 1A60 str r2, [r3] 465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1019 .loc 1 465 10 view .LVU338 1020 00a8 0020 movs r0, #0 1021 00aa 00E0 b .L52 1022 .LVL65: 1023 .L55: 433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1024 .loc 1 433 12 view .LVU339 1025 00ac 0120 movs r0, #1 1026 .LVL66: 1027 .L52: 466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1028 .loc 1 466 1 view .LVU340 1029 00ae 10BD pop {r4, pc} 1030 .LVL67: 1031 .L56: 433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1032 .loc 1 433 12 view .LVU341 ARM GAS /tmp/ccdmQ4z9.s page 89 1033 00b0 1846 mov r0, r3 1034 .LVL68: 433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1035 .loc 1 433 12 view .LVU342 1036 00b2 FCE7 b .L52 1037 .LVL69: 1038 .L58: 465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1039 .loc 1 465 10 view .LVU343 1040 00b4 0020 movs r0, #0 1041 00b6 FAE7 b .L52 1042 .L59: 1043 00b8 0020 movs r0, #0 1044 00ba F8E7 b .L52 1045 .L63: 1046 .align 2 1047 .L62: 1048 00bc 002C0140 .word 1073818624 1049 00c0 07000100 .word 65543 1050 .cfi_endproc 1051 .LFE335: 1053 .section .text.HAL_TIMEx_HallSensor_Stop_IT,"ax",%progbits 1054 .align 1 1055 .global HAL_TIMEx_HallSensor_Stop_IT 1056 .syntax unified 1057 .thumb 1058 .thumb_func 1060 HAL_TIMEx_HallSensor_Stop_IT: 1061 .LVL70: 1062 .LFB336: 474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1063 .loc 1 474 1 is_stmt 1 view -0 1064 .cfi_startproc 1065 @ args = 0, pretend = 0, frame = 0 1066 @ frame_needed = 0, uses_anonymous_args = 0 474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1067 .loc 1 474 1 is_stmt 0 view .LVU345 1068 0000 10B5 push {r4, lr} 1069 .LCFI11: 1070 .cfi_def_cfa_offset 8 1071 .cfi_offset 4, -8 1072 .cfi_offset 14, -4 1073 0002 0446 mov r4, r0 476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1074 .loc 1 476 3 is_stmt 1 view .LVU346 481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1075 .loc 1 481 3 view .LVU347 1076 0004 0022 movs r2, #0 1077 0006 1146 mov r1, r2 1078 0008 0068 ldr r0, [r0] 1079 .LVL71: 481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1080 .loc 1 481 3 is_stmt 0 view .LVU348 1081 000a FFF7FEFF bl TIM_CCxChannelCmd 1082 .LVL72: 484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1083 .loc 1 484 3 is_stmt 1 view .LVU349 ARM GAS /tmp/ccdmQ4z9.s page 90 1084 000e 2268 ldr r2, [r4] 1085 0010 D368 ldr r3, [r2, #12] 1086 0012 23F00203 bic r3, r3, #2 1087 0016 D360 str r3, [r2, #12] 487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1088 .loc 1 487 3 view .LVU350 487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1089 .loc 1 487 3 view .LVU351 1090 0018 2368 ldr r3, [r4] 1091 001a 196A ldr r1, [r3, #32] 1092 001c 41F21112 movw r2, #4369 1093 0020 1142 tst r1, r2 1094 0022 08D1 bne .L65 487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1095 .loc 1 487 3 discriminator 1 view .LVU352 1096 0024 196A ldr r1, [r3, #32] 1097 0026 44F24442 movw r2, #17476 1098 002a 1142 tst r1, r2 1099 002c 03D1 bne .L65 487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1100 .loc 1 487 3 discriminator 3 view .LVU353 1101 002e 1A68 ldr r2, [r3] 1102 0030 22F00102 bic r2, r2, #1 1103 0034 1A60 str r2, [r3] 1104 .L65: 487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1105 .loc 1 487 3 discriminator 5 view .LVU354 490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 1106 .loc 1 490 3 view .LVU355 1107 0036 0123 movs r3, #1 1108 0038 84F83E30 strb r3, [r4, #62] 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); 1109 .loc 1 491 3 view .LVU356 1110 003c 84F83F30 strb r3, [r4, #63] 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); 1111 .loc 1 492 3 view .LVU357 1112 0040 84F84430 strb r3, [r4, #68] 493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1113 .loc 1 493 3 view .LVU358 1114 0044 84F84530 strb r3, [r4, #69] 496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1115 .loc 1 496 3 view .LVU359 497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1116 .loc 1 497 1 is_stmt 0 view .LVU360 1117 0048 0020 movs r0, #0 1118 004a 10BD pop {r4, pc} 497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1119 .loc 1 497 1 view .LVU361 1120 .cfi_endproc 1121 .LFE336: 1123 .section .text.HAL_TIMEx_HallSensor_Start_DMA,"ax",%progbits 1124 .align 1 1125 .global HAL_TIMEx_HallSensor_Start_DMA 1126 .syntax unified 1127 .thumb 1128 .thumb_func 1130 HAL_TIMEx_HallSensor_Start_DMA: ARM GAS /tmp/ccdmQ4z9.s page 91 1131 .LVL73: 1132 .LFB337: 507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 1133 .loc 1 507 1 is_stmt 1 view -0 1134 .cfi_startproc 1135 @ args = 0, pretend = 0, frame = 0 1136 @ frame_needed = 0, uses_anonymous_args = 0 507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 1137 .loc 1 507 1 is_stmt 0 view .LVU363 1138 0000 F8B5 push {r3, r4, r5, r6, r7, lr} 1139 .LCFI12: 1140 .cfi_def_cfa_offset 24 1141 .cfi_offset 3, -24 1142 .cfi_offset 4, -20 1143 .cfi_offset 5, -16 1144 .cfi_offset 6, -12 1145 .cfi_offset 7, -8 1146 .cfi_offset 14, -4 1147 0002 0446 mov r4, r0 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); 1148 .loc 1 508 3 is_stmt 1 view .LVU364 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 1149 .loc 1 509 3 view .LVU365 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 1150 .loc 1 509 31 is_stmt 0 view .LVU366 1151 0004 90F83EC0 ldrb ip, [r0, #62] @ zero_extendqisi2 1152 0008 5FFA8CF0 uxtb r0, ip 1153 .LVL74: 510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1154 .loc 1 510 3 is_stmt 1 view .LVU367 510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1155 .loc 1 510 31 is_stmt 0 view .LVU368 1156 000c 94F844C0 ldrb ip, [r4, #68] @ zero_extendqisi2 1157 .LVL75: 513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1158 .loc 1 513 3 is_stmt 1 view .LVU369 516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY)) 1159 .loc 1 516 3 view .LVU370 516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY)) 1160 .loc 1 516 6 is_stmt 0 view .LVU371 1161 0010 0228 cmp r0, #2 1162 0012 5AD0 beq .L68 1163 0014 0F46 mov r7, r1 1164 0016 1646 mov r6, r2 1165 0018 5FFA8CF5 uxtb r5, ip 517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1166 .loc 1 517 7 view .LVU372 1167 001c 022D cmp r5, #2 1168 001e 51D0 beq .L71 521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY)) 1169 .loc 1 521 8 is_stmt 1 view .LVU373 521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY)) 1170 .loc 1 521 11 is_stmt 0 view .LVU374 1171 0020 0128 cmp r0, #1 1172 0022 51D1 bne .L72 522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1173 .loc 1 522 12 view .LVU375 ARM GAS /tmp/ccdmQ4z9.s page 92 1174 0024 012D cmp r5, #1 1175 0026 50D1 bne .L68 524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1176 .loc 1 524 5 is_stmt 1 view .LVU376 524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1177 .loc 1 524 8 is_stmt 0 view .LVU377 1178 0028 0029 cmp r1, #0 1179 002a 4FD0 beq .L73 524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1180 .loc 1 524 25 discriminator 1 view .LVU378 1181 002c 0AB9 cbnz r2, .L77 526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1182 .loc 1 526 14 view .LVU379 1183 002e 2846 mov r0, r5 1184 .LVL76: 526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1185 .loc 1 526 14 view .LVU380 1186 0030 4BE0 b .L68 1187 .LVL77: 1188 .L77: 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); 1189 .loc 1 530 7 is_stmt 1 view .LVU381 1190 0032 0223 movs r3, #2 1191 0034 84F83E30 strb r3, [r4, #62] 531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1192 .loc 1 531 7 view .LVU382 1193 0038 84F84430 strb r3, [r4, #68] 542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1194 .loc 1 542 3 view .LVU383 1195 003c 0122 movs r2, #1 1196 .LVL78: 542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1197 .loc 1 542 3 is_stmt 0 view .LVU384 1198 003e 0021 movs r1, #0 1199 .LVL79: 542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1200 .loc 1 542 3 view .LVU385 1201 0040 2068 ldr r0, [r4] 1202 .LVL80: 542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1203 .loc 1 542 3 view .LVU386 1204 0042 FFF7FEFF bl TIM_CCxChannelCmd 1205 .LVL81: 545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 1206 .loc 1 545 3 is_stmt 1 view .LVU387 545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 1207 .loc 1 545 13 is_stmt 0 view .LVU388 1208 0046 636A ldr r3, [r4, #36] 545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 1209 .loc 1 545 48 view .LVU389 1210 0048 224A ldr r2, .L78 1211 004a DA62 str r2, [r3, #44] 546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 1212 .loc 1 546 3 is_stmt 1 view .LVU390 546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 1213 .loc 1 546 13 is_stmt 0 view .LVU391 1214 004c 636A ldr r3, [r4, #36] ARM GAS /tmp/ccdmQ4z9.s page 93 546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 1215 .loc 1 546 52 view .LVU392 1216 004e 224A ldr r2, .L78+4 1217 0050 1A63 str r2, [r3, #48] 548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1218 .loc 1 548 3 is_stmt 1 view .LVU393 548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1219 .loc 1 548 13 is_stmt 0 view .LVU394 1220 0052 636A ldr r3, [r4, #36] 548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1221 .loc 1 548 49 view .LVU395 1222 0054 214A ldr r2, .L78+8 1223 0056 5A63 str r2, [r3, #52] 551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1224 .loc 1 551 3 is_stmt 1 view .LVU396 551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1225 .loc 1 551 67 is_stmt 0 view .LVU397 1226 0058 2168 ldr r1, [r4] 551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1227 .loc 1 551 7 view .LVU398 1228 005a 3346 mov r3, r6 1229 005c 3A46 mov r2, r7 1230 005e 3431 adds r1, r1, #52 1231 0060 606A ldr r0, [r4, #36] 1232 0062 FFF7FEFF bl HAL_DMA_Start_IT 1233 .LVL82: 551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1234 .loc 1 551 6 discriminator 1 view .LVU399 1235 0066 98BB cbnz r0, .L75 557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1236 .loc 1 557 3 is_stmt 1 view .LVU400 1237 0068 2268 ldr r2, [r4] 1238 006a D368 ldr r3, [r2, #12] 1239 006c 43F40073 orr r3, r3, #512 1240 0070 D360 str r3, [r2, #12] 560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1241 .loc 1 560 3 view .LVU401 560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1242 .loc 1 560 7 is_stmt 0 view .LVU402 1243 0072 2368 ldr r3, [r4] 560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1244 .loc 1 560 6 view .LVU403 1245 0074 1A4A ldr r2, .L78+12 1246 0076 9342 cmp r3, r2 1247 0078 17D0 beq .L69 560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1248 .loc 1 560 7 discriminator 1 view .LVU404 1249 007a B3F1804F cmp r3, #1073741824 1250 007e 14D0 beq .L69 560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1251 .loc 1 560 7 discriminator 2 view .LVU405 1252 0080 A2F59432 sub r2, r2, #75776 1253 0084 9342 cmp r3, r2 1254 0086 10D0 beq .L69 560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1255 .loc 1 560 7 discriminator 3 view .LVU406 1256 0088 02F58062 add r2, r2, #1024 ARM GAS /tmp/ccdmQ4z9.s page 94 1257 008c 9342 cmp r3, r2 1258 008e 0CD0 beq .L69 560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1259 .loc 1 560 7 discriminator 4 view .LVU407 1260 0090 02F59632 add r2, r2, #76800 1261 0094 9342 cmp r3, r2 1262 0096 08D0 beq .L69 560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1263 .loc 1 560 7 discriminator 5 view .LVU408 1264 0098 02F54062 add r2, r2, #3072 1265 009c 9342 cmp r3, r2 1266 009e 04D0 beq .L69 570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1267 .loc 1 570 5 is_stmt 1 view .LVU409 1268 00a0 1A68 ldr r2, [r3] 1269 00a2 42F00102 orr r2, r2, #1 1270 00a6 1A60 str r2, [r3] 1271 00a8 0FE0 b .L68 1272 .L69: 562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1273 .loc 1 562 5 view .LVU410 562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1274 .loc 1 562 29 is_stmt 0 view .LVU411 1275 00aa 9968 ldr r1, [r3, #8] 562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1276 .loc 1 562 13 view .LVU412 1277 00ac 0D4A ldr r2, .L78+16 1278 00ae 0A40 ands r2, r2, r1 1279 .LVL83: 563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1280 .loc 1 563 5 is_stmt 1 view .LVU413 563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1281 .loc 1 563 8 is_stmt 0 view .LVU414 1282 00b0 062A cmp r2, #6 1283 00b2 0AD0 beq .L68 563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1284 .loc 1 563 9 discriminator 1 view .LVU415 1285 00b4 B2F5803F cmp r2, #65536 1286 00b8 07D0 beq .L68 565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1287 .loc 1 565 7 is_stmt 1 view .LVU416 1288 00ba 1A68 ldr r2, [r3] 1289 .LVL84: 565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1290 .loc 1 565 7 is_stmt 0 view .LVU417 1291 00bc 42F00102 orr r2, r2, #1 1292 00c0 1A60 str r2, [r3] 1293 00c2 02E0 b .L68 1294 .LVL85: 1295 .L71: 519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1296 .loc 1 519 12 view .LVU418 1297 00c4 2846 mov r0, r5 1298 .LVL86: 519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1299 .loc 1 519 12 view .LVU419 1300 00c6 00E0 b .L68 ARM GAS /tmp/ccdmQ4z9.s page 95 1301 .LVL87: 1302 .L72: 536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1303 .loc 1 536 12 view .LVU420 1304 00c8 0120 movs r0, #1 1305 .LVL88: 1306 .L68: 575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1307 .loc 1 575 1 view .LVU421 1308 00ca F8BD pop {r3, r4, r5, r6, r7, pc} 1309 .LVL89: 1310 .L73: 526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1311 .loc 1 526 14 view .LVU422 1312 00cc 2846 mov r0, r5 1313 .LVL90: 526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1314 .loc 1 526 14 view .LVU423 1315 00ce FCE7 b .L68 1316 .LVL91: 1317 .L75: 554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1318 .loc 1 554 12 view .LVU424 1319 00d0 2846 mov r0, r5 1320 00d2 FAE7 b .L68 1321 .L79: 1322 .align 2 1323 .L78: 1324 00d4 00000000 .word TIM_DMACaptureCplt 1325 00d8 00000000 .word TIM_DMACaptureHalfCplt 1326 00dc 00000000 .word TIM_DMAError 1327 00e0 002C0140 .word 1073818624 1328 00e4 07000100 .word 65543 1329 .cfi_endproc 1330 .LFE337: 1332 .section .text.HAL_TIMEx_HallSensor_Stop_DMA,"ax",%progbits 1333 .align 1 1334 .global HAL_TIMEx_HallSensor_Stop_DMA 1335 .syntax unified 1336 .thumb 1337 .thumb_func 1339 HAL_TIMEx_HallSensor_Stop_DMA: 1340 .LVL92: 1341 .LFB338: 583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1342 .loc 1 583 1 is_stmt 1 view -0 1343 .cfi_startproc 1344 @ args = 0, pretend = 0, frame = 0 1345 @ frame_needed = 0, uses_anonymous_args = 0 583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1346 .loc 1 583 1 is_stmt 0 view .LVU426 1347 0000 10B5 push {r4, lr} 1348 .LCFI13: 1349 .cfi_def_cfa_offset 8 1350 .cfi_offset 4, -8 1351 .cfi_offset 14, -4 1352 0002 0446 mov r4, r0 ARM GAS /tmp/ccdmQ4z9.s page 96 585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1353 .loc 1 585 3 is_stmt 1 view .LVU427 590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1354 .loc 1 590 3 view .LVU428 1355 0004 0022 movs r2, #0 1356 0006 1146 mov r1, r2 1357 0008 0068 ldr r0, [r0] 1358 .LVL93: 590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1359 .loc 1 590 3 is_stmt 0 view .LVU429 1360 000a FFF7FEFF bl TIM_CCxChannelCmd 1361 .LVL94: 594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1362 .loc 1 594 3 is_stmt 1 view .LVU430 1363 000e 2268 ldr r2, [r4] 1364 0010 D368 ldr r3, [r2, #12] 1365 0012 23F40073 bic r3, r3, #512 1366 0016 D360 str r3, [r2, #12] 596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1367 .loc 1 596 3 view .LVU431 596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1368 .loc 1 596 9 is_stmt 0 view .LVU432 1369 0018 606A ldr r0, [r4, #36] 1370 001a FFF7FEFF bl HAL_DMA_Abort_IT 1371 .LVL95: 599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1372 .loc 1 599 3 is_stmt 1 view .LVU433 599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1373 .loc 1 599 3 view .LVU434 1374 001e 2368 ldr r3, [r4] 1375 0020 196A ldr r1, [r3, #32] 1376 0022 41F21112 movw r2, #4369 1377 0026 1142 tst r1, r2 1378 0028 08D1 bne .L81 599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1379 .loc 1 599 3 discriminator 1 view .LVU435 1380 002a 196A ldr r1, [r3, #32] 1381 002c 44F24442 movw r2, #17476 1382 0030 1142 tst r1, r2 1383 0032 03D1 bne .L81 599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1384 .loc 1 599 3 discriminator 3 view .LVU436 1385 0034 1A68 ldr r2, [r3] 1386 0036 22F00102 bic r2, r2, #1 1387 003a 1A60 str r2, [r3] 1388 .L81: 599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1389 .loc 1 599 3 discriminator 5 view .LVU437 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); 1390 .loc 1 602 3 view .LVU438 1391 003c 0123 movs r3, #1 1392 003e 84F83E30 strb r3, [r4, #62] 603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1393 .loc 1 603 3 view .LVU439 1394 0042 84F84430 strb r3, [r4, #68] 606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1395 .loc 1 606 3 view .LVU440 ARM GAS /tmp/ccdmQ4z9.s page 97 607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1396 .loc 1 607 1 is_stmt 0 view .LVU441 1397 0046 0020 movs r0, #0 1398 0048 10BD pop {r4, pc} 607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1399 .loc 1 607 1 view .LVU442 1400 .cfi_endproc 1401 .LFE338: 1403 .section .text.HAL_TIMEx_OCN_Start,"ax",%progbits 1404 .align 1 1405 .global HAL_TIMEx_OCN_Start 1406 .syntax unified 1407 .thumb 1408 .thumb_func 1410 HAL_TIMEx_OCN_Start: 1411 .LVL96: 1412 .LFB339: 646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 1413 .loc 1 646 1 is_stmt 1 view -0 1414 .cfi_startproc 1415 @ args = 0, pretend = 0, frame = 0 1416 @ frame_needed = 0, uses_anonymous_args = 0 646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 1417 .loc 1 646 1 is_stmt 0 view .LVU444 1418 0000 10B5 push {r4, lr} 1419 .LCFI14: 1420 .cfi_def_cfa_offset 8 1421 .cfi_offset 4, -8 1422 .cfi_offset 14, -4 1423 0002 0446 mov r4, r0 647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1424 .loc 1 647 3 is_stmt 1 view .LVU445 650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1425 .loc 1 650 3 view .LVU446 653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1426 .loc 1 653 3 view .LVU447 653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1427 .loc 1 653 46 is_stmt 0 view .LVU448 1428 0004 0846 mov r0, r1 1429 .LVL97: 653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1430 .loc 1 653 46 view .LVU449 1431 0006 0029 cmp r1, #0 1432 0008 33D1 bne .L84 653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1433 .loc 1 653 7 discriminator 1 view .LVU450 1434 000a 94F84430 ldrb r3, [r4, #68] @ zero_extendqisi2 1435 000e DBB2 uxtb r3, r3 653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1436 .loc 1 653 46 discriminator 1 view .LVU451 1437 0010 013B subs r3, r3, #1 1438 0012 18BF it ne 1439 0014 0123 movne r3, #1 1440 .L85: 653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1441 .loc 1 653 6 discriminator 12 view .LVU452 1442 0016 002B cmp r3, #0 ARM GAS /tmp/ccdmQ4z9.s page 98 1443 0018 62D1 bne .L95 659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1444 .loc 1 659 3 is_stmt 1 view .LVU453 1445 001a 0028 cmp r0, #0 1446 001c 42D1 bne .L89 659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1447 .loc 1 659 3 is_stmt 0 discriminator 1 view .LVU454 1448 001e 0223 movs r3, #2 1449 0020 84F84430 strb r3, [r4, #68] 1450 .L90: 662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1451 .loc 1 662 3 is_stmt 1 view .LVU455 1452 0024 0422 movs r2, #4 1453 0026 0146 mov r1, r0 1454 .LVL98: 662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1455 .loc 1 662 3 is_stmt 0 view .LVU456 1456 0028 2068 ldr r0, [r4] 1457 .LVL99: 662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1458 .loc 1 662 3 view .LVU457 1459 002a FFF7FEFF bl TIM_CCxNChannelCmd 1460 .LVL100: 665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1461 .loc 1 665 3 is_stmt 1 view .LVU458 1462 002e 2268 ldr r2, [r4] 1463 0030 536C ldr r3, [r2, #68] 1464 0032 43F40043 orr r3, r3, #32768 1465 0036 5364 str r3, [r2, #68] 668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1466 .loc 1 668 3 view .LVU459 668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1467 .loc 1 668 7 is_stmt 0 view .LVU460 1468 0038 2368 ldr r3, [r4] 668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1469 .loc 1 668 6 view .LVU461 1470 003a 2C4A ldr r2, .L103 1471 003c 9342 cmp r3, r2 1472 003e 41D0 beq .L93 668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1473 .loc 1 668 7 discriminator 1 view .LVU462 1474 0040 B3F1804F cmp r3, #1073741824 1475 0044 3ED0 beq .L93 668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1476 .loc 1 668 7 discriminator 2 view .LVU463 1477 0046 A2F59432 sub r2, r2, #75776 1478 004a 9342 cmp r3, r2 1479 004c 3AD0 beq .L93 668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1480 .loc 1 668 7 discriminator 3 view .LVU464 1481 004e 02F58062 add r2, r2, #1024 1482 0052 9342 cmp r3, r2 1483 0054 36D0 beq .L93 668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1484 .loc 1 668 7 discriminator 4 view .LVU465 1485 0056 02F59632 add r2, r2, #76800 1486 005a 9342 cmp r3, r2 ARM GAS /tmp/ccdmQ4z9.s page 99 1487 005c 32D0 beq .L93 668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1488 .loc 1 668 7 discriminator 5 view .LVU466 1489 005e 02F54062 add r2, r2, #3072 1490 0062 9342 cmp r3, r2 1491 0064 2ED0 beq .L93 678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1492 .loc 1 678 5 is_stmt 1 view .LVU467 1493 0066 1A68 ldr r2, [r3] 1494 0068 42F00102 orr r2, r2, #1 1495 006c 1A60 str r2, [r3] 682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1496 .loc 1 682 10 is_stmt 0 view .LVU468 1497 006e 0020 movs r0, #0 1498 0070 37E0 b .L88 1499 .LVL101: 1500 .L84: 653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1501 .loc 1 653 46 discriminator 2 view .LVU469 1502 0072 0429 cmp r1, #4 1503 0074 08D0 beq .L99 653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1504 .loc 1 653 46 discriminator 5 view .LVU470 1505 0076 0829 cmp r1, #8 1506 0078 0DD0 beq .L100 653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1507 .loc 1 653 7 discriminator 8 view .LVU471 1508 007a 94F84730 ldrb r3, [r4, #71] @ zero_extendqisi2 1509 007e DBB2 uxtb r3, r3 653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1510 .loc 1 653 46 discriminator 8 view .LVU472 1511 0080 013B subs r3, r3, #1 1512 0082 18BF it ne 1513 0084 0123 movne r3, #1 1514 0086 C6E7 b .L85 1515 .L99: 653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1516 .loc 1 653 7 discriminator 4 view .LVU473 1517 0088 94F84530 ldrb r3, [r4, #69] @ zero_extendqisi2 1518 008c DBB2 uxtb r3, r3 653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1519 .loc 1 653 46 discriminator 4 view .LVU474 1520 008e 013B subs r3, r3, #1 1521 0090 18BF it ne 1522 0092 0123 movne r3, #1 1523 0094 BFE7 b .L85 1524 .L100: 653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1525 .loc 1 653 7 discriminator 7 view .LVU475 1526 0096 94F84630 ldrb r3, [r4, #70] @ zero_extendqisi2 1527 009a DBB2 uxtb r3, r3 653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1528 .loc 1 653 46 discriminator 7 view .LVU476 1529 009c 013B subs r3, r3, #1 1530 009e 18BF it ne 1531 00a0 0123 movne r3, #1 1532 00a2 B8E7 b .L85 ARM GAS /tmp/ccdmQ4z9.s page 100 1533 .L89: 659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1534 .loc 1 659 3 discriminator 2 view .LVU477 1535 00a4 0428 cmp r0, #4 1536 00a6 05D0 beq .L101 659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1537 .loc 1 659 3 discriminator 4 view .LVU478 1538 00a8 0828 cmp r0, #8 1539 00aa 07D0 beq .L102 659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1540 .loc 1 659 3 discriminator 7 view .LVU479 1541 00ac 0223 movs r3, #2 1542 00ae 84F84730 strb r3, [r4, #71] 1543 00b2 B7E7 b .L90 1544 .L101: 659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1545 .loc 1 659 3 discriminator 3 view .LVU480 1546 00b4 0223 movs r3, #2 1547 00b6 84F84530 strb r3, [r4, #69] 1548 00ba B3E7 b .L90 1549 .L102: 659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1550 .loc 1 659 3 discriminator 6 view .LVU481 1551 00bc 0223 movs r3, #2 1552 00be 84F84630 strb r3, [r4, #70] 1553 00c2 AFE7 b .L90 1554 .LVL102: 1555 .L93: 670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1556 .loc 1 670 5 is_stmt 1 view .LVU482 670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1557 .loc 1 670 29 is_stmt 0 view .LVU483 1558 00c4 9968 ldr r1, [r3, #8] 670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1559 .loc 1 670 13 view .LVU484 1560 00c6 0A4A ldr r2, .L103+4 1561 00c8 0A40 ands r2, r2, r1 1562 .LVL103: 671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1563 .loc 1 671 5 is_stmt 1 view .LVU485 671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1564 .loc 1 671 8 is_stmt 0 view .LVU486 1565 00ca 062A cmp r2, #6 1566 00cc 0AD0 beq .L96 671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1567 .loc 1 671 9 discriminator 1 view .LVU487 1568 00ce B2F5803F cmp r2, #65536 1569 00d2 09D0 beq .L97 673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1570 .loc 1 673 7 is_stmt 1 view .LVU488 1571 00d4 1A68 ldr r2, [r3] 1572 .LVL104: 673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1573 .loc 1 673 7 is_stmt 0 view .LVU489 1574 00d6 42F00102 orr r2, r2, #1 1575 00da 1A60 str r2, [r3] 682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } ARM GAS /tmp/ccdmQ4z9.s page 101 1576 .loc 1 682 10 view .LVU490 1577 00dc 0020 movs r0, #0 1578 00de 00E0 b .L88 1579 .LVL105: 1580 .L95: 655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1581 .loc 1 655 12 view .LVU491 1582 00e0 0120 movs r0, #1 1583 .LVL106: 1584 .L88: 683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1585 .loc 1 683 1 view .LVU492 1586 00e2 10BD pop {r4, pc} 1587 .LVL107: 1588 .L96: 682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1589 .loc 1 682 10 view .LVU493 1590 00e4 0020 movs r0, #0 1591 00e6 FCE7 b .L88 1592 .L97: 1593 00e8 0020 movs r0, #0 1594 00ea FAE7 b .L88 1595 .L104: 1596 .align 2 1597 .L103: 1598 00ec 002C0140 .word 1073818624 1599 00f0 07000100 .word 65543 1600 .cfi_endproc 1601 .LFE339: 1603 .section .text.HAL_TIMEx_OCN_Stop,"ax",%progbits 1604 .align 1 1605 .global HAL_TIMEx_OCN_Stop 1606 .syntax unified 1607 .thumb 1608 .thumb_func 1610 HAL_TIMEx_OCN_Stop: 1611 .LVL108: 1612 .LFB340: 698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1613 .loc 1 698 1 is_stmt 1 view -0 1614 .cfi_startproc 1615 @ args = 0, pretend = 0, frame = 0 1616 @ frame_needed = 0, uses_anonymous_args = 0 698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 1617 .loc 1 698 1 is_stmt 0 view .LVU495 1618 0000 38B5 push {r3, r4, r5, lr} 1619 .LCFI15: 1620 .cfi_def_cfa_offset 16 1621 .cfi_offset 3, -16 1622 .cfi_offset 4, -12 1623 .cfi_offset 5, -8 1624 .cfi_offset 14, -4 1625 0002 0446 mov r4, r0 1626 0004 0D46 mov r5, r1 700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1627 .loc 1 700 3 is_stmt 1 view .LVU496 703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/ccdmQ4z9.s page 102 1628 .loc 1 703 3 view .LVU497 1629 0006 0022 movs r2, #0 1630 0008 0068 ldr r0, [r0] 1631 .LVL109: 703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1632 .loc 1 703 3 is_stmt 0 view .LVU498 1633 000a FFF7FEFF bl TIM_CCxNChannelCmd 1634 .LVL110: 706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1635 .loc 1 706 3 is_stmt 1 view .LVU499 706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1636 .loc 1 706 3 view .LVU500 1637 000e 2368 ldr r3, [r4] 1638 0010 196A ldr r1, [r3, #32] 1639 0012 41F21112 movw r2, #4369 1640 0016 1142 tst r1, r2 1641 0018 08D1 bne .L106 706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1642 .loc 1 706 3 discriminator 1 view .LVU501 1643 001a 196A ldr r1, [r3, #32] 1644 001c 44F24442 movw r2, #17476 1645 0020 1142 tst r1, r2 1646 0022 03D1 bne .L106 706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1647 .loc 1 706 3 discriminator 3 view .LVU502 1648 0024 5A6C ldr r2, [r3, #68] 1649 0026 22F40042 bic r2, r2, #32768 1650 002a 5A64 str r2, [r3, #68] 1651 .L106: 706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1652 .loc 1 706 3 discriminator 5 view .LVU503 709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1653 .loc 1 709 3 view .LVU504 709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1654 .loc 1 709 3 view .LVU505 1655 002c 2368 ldr r3, [r4] 1656 002e 196A ldr r1, [r3, #32] 1657 0030 41F21112 movw r2, #4369 1658 0034 1142 tst r1, r2 1659 0036 08D1 bne .L107 709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1660 .loc 1 709 3 discriminator 1 view .LVU506 1661 0038 196A ldr r1, [r3, #32] 1662 003a 44F24442 movw r2, #17476 1663 003e 1142 tst r1, r2 1664 0040 03D1 bne .L107 709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1665 .loc 1 709 3 discriminator 3 view .LVU507 1666 0042 1A68 ldr r2, [r3] 1667 0044 22F00102 bic r2, r2, #1 1668 0048 1A60 str r2, [r3] 1669 .L107: 709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1670 .loc 1 709 3 discriminator 5 view .LVU508 712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1671 .loc 1 712 3 view .LVU509 1672 004a 25B9 cbnz r5, .L108 ARM GAS /tmp/ccdmQ4z9.s page 103 712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1673 .loc 1 712 3 is_stmt 0 discriminator 1 view .LVU510 1674 004c 0123 movs r3, #1 1675 004e 84F84430 strb r3, [r4, #68] 1676 .L109: 715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1677 .loc 1 715 3 is_stmt 1 view .LVU511 716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1678 .loc 1 716 1 is_stmt 0 view .LVU512 1679 0052 0020 movs r0, #0 1680 0054 38BD pop {r3, r4, r5, pc} 1681 .LVL111: 1682 .L108: 712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1683 .loc 1 712 3 discriminator 2 view .LVU513 1684 0056 042D cmp r5, #4 1685 0058 05D0 beq .L113 712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1686 .loc 1 712 3 discriminator 4 view .LVU514 1687 005a 082D cmp r5, #8 1688 005c 07D0 beq .L114 712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1689 .loc 1 712 3 discriminator 7 view .LVU515 1690 005e 0123 movs r3, #1 1691 0060 84F84730 strb r3, [r4, #71] 1692 0064 F5E7 b .L109 1693 .L113: 712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1694 .loc 1 712 3 discriminator 3 view .LVU516 1695 0066 0123 movs r3, #1 1696 0068 84F84530 strb r3, [r4, #69] 1697 006c F1E7 b .L109 1698 .L114: 712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1699 .loc 1 712 3 discriminator 6 view .LVU517 1700 006e 0123 movs r3, #1 1701 0070 84F84630 strb r3, [r4, #70] 1702 0074 EDE7 b .L109 1703 .cfi_endproc 1704 .LFE340: 1706 .section .text.HAL_TIMEx_OCN_Start_IT,"ax",%progbits 1707 .align 1 1708 .global HAL_TIMEx_OCN_Start_IT 1709 .syntax unified 1710 .thumb 1711 .thumb_func 1713 HAL_TIMEx_OCN_Start_IT: 1714 .LVL112: 1715 .LFB341: 731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 1716 .loc 1 731 1 is_stmt 1 view -0 1717 .cfi_startproc 1718 @ args = 0, pretend = 0, frame = 0 1719 @ frame_needed = 0, uses_anonymous_args = 0 731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 1720 .loc 1 731 1 is_stmt 0 view .LVU519 1721 0000 10B5 push {r4, lr} ARM GAS /tmp/ccdmQ4z9.s page 104 1722 .LCFI16: 1723 .cfi_def_cfa_offset 8 1724 .cfi_offset 4, -8 1725 .cfi_offset 14, -4 1726 0002 0446 mov r4, r0 732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 1727 .loc 1 732 3 is_stmt 1 view .LVU520 1728 .LVL113: 733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1729 .loc 1 733 3 view .LVU521 736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1730 .loc 1 736 3 view .LVU522 739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1731 .loc 1 739 3 view .LVU523 739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1732 .loc 1 739 46 is_stmt 0 view .LVU524 1733 0004 0846 mov r0, r1 1734 .LVL114: 739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1735 .loc 1 739 46 view .LVU525 1736 0006 0029 cmp r1, #0 1737 0008 3ED1 bne .L116 739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1738 .loc 1 739 7 discriminator 1 view .LVU526 1739 000a 94F84430 ldrb r3, [r4, #68] @ zero_extendqisi2 1740 000e DBB2 uxtb r3, r3 739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1741 .loc 1 739 46 discriminator 1 view .LVU527 1742 0010 013B subs r3, r3, #1 1743 0012 18BF it ne 1744 0014 0123 movne r3, #1 1745 .L117: 739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1746 .loc 1 739 6 discriminator 12 view .LVU528 1747 0016 002B cmp r3, #0 1748 0018 40F09C80 bne .L132 745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1749 .loc 1 745 3 is_stmt 1 view .LVU529 1750 001c 0028 cmp r0, #0 1751 001e 4CD1 bne .L121 745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1752 .loc 1 745 3 is_stmt 0 discriminator 1 view .LVU530 1753 0020 0223 movs r3, #2 1754 0022 84F84430 strb r3, [r4, #68] 747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1755 .loc 1 747 3 is_stmt 1 view .LVU531 1756 .L122: 752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1757 .loc 1 752 7 view .LVU532 1758 0026 2268 ldr r2, [r4] 1759 0028 D368 ldr r3, [r2, #12] 1760 002a 43F00203 orr r3, r3, #2 1761 002e D360 str r3, [r2, #12] 753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1762 .loc 1 753 7 view .LVU533 783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1763 .loc 1 783 3 view .LVU534 ARM GAS /tmp/ccdmQ4z9.s page 105 1764 .L129: 786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1765 .loc 1 786 5 view .LVU535 1766 0030 2268 ldr r2, [r4] 1767 0032 D368 ldr r3, [r2, #12] 1768 0034 43F08003 orr r3, r3, #128 1769 0038 D360 str r3, [r2, #12] 789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1770 .loc 1 789 5 view .LVU536 1771 003a 0422 movs r2, #4 1772 003c 0146 mov r1, r0 1773 .LVL115: 789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1774 .loc 1 789 5 is_stmt 0 view .LVU537 1775 003e 2068 ldr r0, [r4] 1776 .LVL116: 789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1777 .loc 1 789 5 view .LVU538 1778 0040 FFF7FEFF bl TIM_CCxNChannelCmd 1779 .LVL117: 792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1780 .loc 1 792 5 is_stmt 1 view .LVU539 1781 0044 2268 ldr r2, [r4] 1782 0046 536C ldr r3, [r2, #68] 1783 0048 43F40043 orr r3, r3, #32768 1784 004c 5364 str r3, [r2, #68] 795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1785 .loc 1 795 5 view .LVU540 795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1786 .loc 1 795 9 is_stmt 0 view .LVU541 1787 004e 2368 ldr r3, [r4] 795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1788 .loc 1 795 8 view .LVU542 1789 0050 444A ldr r2, .L144 1790 0052 9342 cmp r3, r2 1791 0054 70D0 beq .L130 795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1792 .loc 1 795 9 discriminator 1 view .LVU543 1793 0056 B3F1804F cmp r3, #1073741824 1794 005a 6DD0 beq .L130 795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1795 .loc 1 795 9 discriminator 2 view .LVU544 1796 005c A2F59432 sub r2, r2, #75776 1797 0060 9342 cmp r3, r2 1798 0062 69D0 beq .L130 795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1799 .loc 1 795 9 discriminator 3 view .LVU545 1800 0064 02F58062 add r2, r2, #1024 1801 0068 9342 cmp r3, r2 1802 006a 65D0 beq .L130 795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1803 .loc 1 795 9 discriminator 4 view .LVU546 1804 006c 02F59632 add r2, r2, #76800 1805 0070 9342 cmp r3, r2 1806 0072 61D0 beq .L130 795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1807 .loc 1 795 9 discriminator 5 view .LVU547 ARM GAS /tmp/ccdmQ4z9.s page 106 1808 0074 02F54062 add r2, r2, #3072 1809 0078 9342 cmp r3, r2 1810 007a 5DD0 beq .L130 805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1811 .loc 1 805 7 is_stmt 1 view .LVU548 1812 007c 1A68 ldr r2, [r3] 1813 007e 42F00102 orr r2, r2, #1 1814 0082 1A60 str r2, [r3] 1815 0084 0020 movs r0, #0 1816 0086 66E0 b .L120 1817 .LVL118: 1818 .L116: 739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1819 .loc 1 739 46 is_stmt 0 discriminator 2 view .LVU549 1820 0088 0429 cmp r1, #4 1821 008a 08D0 beq .L140 739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1822 .loc 1 739 46 discriminator 5 view .LVU550 1823 008c 0829 cmp r1, #8 1824 008e 0DD0 beq .L141 739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1825 .loc 1 739 7 discriminator 8 view .LVU551 1826 0090 94F84730 ldrb r3, [r4, #71] @ zero_extendqisi2 1827 0094 DBB2 uxtb r3, r3 739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1828 .loc 1 739 46 discriminator 8 view .LVU552 1829 0096 013B subs r3, r3, #1 1830 0098 18BF it ne 1831 009a 0123 movne r3, #1 1832 009c BBE7 b .L117 1833 .L140: 739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1834 .loc 1 739 7 discriminator 4 view .LVU553 1835 009e 94F84530 ldrb r3, [r4, #69] @ zero_extendqisi2 1836 00a2 DBB2 uxtb r3, r3 739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1837 .loc 1 739 46 discriminator 4 view .LVU554 1838 00a4 013B subs r3, r3, #1 1839 00a6 18BF it ne 1840 00a8 0123 movne r3, #1 1841 00aa B4E7 b .L117 1842 .L141: 739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1843 .loc 1 739 7 discriminator 7 view .LVU555 1844 00ac 94F84630 ldrb r3, [r4, #70] @ zero_extendqisi2 1845 00b0 DBB2 uxtb r3, r3 739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1846 .loc 1 739 46 discriminator 7 view .LVU556 1847 00b2 013B subs r3, r3, #1 1848 00b4 18BF it ne 1849 00b6 0123 movne r3, #1 1850 00b8 ADE7 b .L117 1851 .L121: 745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1852 .loc 1 745 3 discriminator 2 view .LVU557 1853 00ba 0428 cmp r0, #4 1854 00bc 24D0 beq .L142 ARM GAS /tmp/ccdmQ4z9.s page 107 745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1855 .loc 1 745 3 discriminator 4 view .LVU558 1856 00be 0828 cmp r0, #8 1857 00c0 2BD0 beq .L143 745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1858 .loc 1 745 3 discriminator 7 view .LVU559 1859 00c2 0223 movs r3, #2 1860 00c4 84F84730 strb r3, [r4, #71] 747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1861 .loc 1 747 3 is_stmt 1 view .LVU560 1862 00c8 0C28 cmp r0, #12 1863 00ca 45D8 bhi .L133 1864 00cc 01A3 adr r3, .L128 1865 00ce 53F820F0 ldr pc, [r3, r0, lsl #2] 1866 00d2 00BF .p2align 2 1867 .L128: 1868 00d4 27000000 .word .L122+1 1869 00d8 59010000 .word .L133+1 1870 00dc 59010000 .word .L133+1 1871 00e0 59010000 .word .L133+1 1872 00e4 0F010000 .word .L124+1 1873 00e8 59010000 .word .L133+1 1874 00ec 59010000 .word .L133+1 1875 00f0 59010000 .word .L133+1 1876 00f4 21010000 .word .L126+1 1877 00f8 59010000 .word .L133+1 1878 00fc 59010000 .word .L133+1 1879 0100 59010000 .word .L133+1 1880 0104 2D010000 .word .L127+1 1881 .p2align 1 1882 .L142: 745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1883 .loc 1 745 3 is_stmt 0 discriminator 3 view .LVU561 1884 0108 0223 movs r3, #2 1885 010a 84F84530 strb r3, [r4, #69] 747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1886 .loc 1 747 3 is_stmt 1 view .LVU562 1887 .L124: 759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1888 .loc 1 759 7 view .LVU563 1889 010e 2268 ldr r2, [r4] 1890 0110 D368 ldr r3, [r2, #12] 1891 0112 43F00403 orr r3, r3, #4 1892 0116 D360 str r3, [r2, #12] 760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1893 .loc 1 760 7 view .LVU564 783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1894 .loc 1 783 3 view .LVU565 1895 0118 8AE7 b .L129 1896 .L143: 745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1897 .loc 1 745 3 is_stmt 0 discriminator 6 view .LVU566 1898 011a 0223 movs r3, #2 1899 011c 84F84630 strb r3, [r4, #70] 747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1900 .loc 1 747 3 is_stmt 1 view .LVU567 1901 .L126: ARM GAS /tmp/ccdmQ4z9.s page 108 766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1902 .loc 1 766 7 view .LVU568 1903 0120 2268 ldr r2, [r4] 1904 0122 D368 ldr r3, [r2, #12] 1905 0124 43F00803 orr r3, r3, #8 1906 0128 D360 str r3, [r2, #12] 767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1907 .loc 1 767 7 view .LVU569 783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1908 .loc 1 783 3 view .LVU570 1909 012a 81E7 b .L129 1910 .L127: 774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 1911 .loc 1 774 7 view .LVU571 1912 012c 2268 ldr r2, [r4] 1913 012e D368 ldr r3, [r2, #12] 1914 0130 43F01003 orr r3, r3, #16 1915 0134 D360 str r3, [r2, #12] 775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1916 .loc 1 775 7 view .LVU572 783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1917 .loc 1 783 3 view .LVU573 1918 0136 7BE7 b .L129 1919 .LVL119: 1920 .L130: 797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1921 .loc 1 797 7 view .LVU574 797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1922 .loc 1 797 31 is_stmt 0 view .LVU575 1923 0138 9968 ldr r1, [r3, #8] 797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1924 .loc 1 797 15 view .LVU576 1925 013a 0B4A ldr r2, .L144+4 1926 013c 0A40 ands r2, r2, r1 1927 .LVL120: 798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1928 .loc 1 798 7 is_stmt 1 view .LVU577 798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1929 .loc 1 798 10 is_stmt 0 view .LVU578 1930 013e 062A cmp r2, #6 1931 0140 0CD0 beq .L134 798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1932 .loc 1 798 11 discriminator 1 view .LVU579 1933 0142 B2F5803F cmp r2, #65536 1934 0146 0BD0 beq .L135 800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1935 .loc 1 800 9 is_stmt 1 view .LVU580 1936 0148 1A68 ldr r2, [r3] 1937 .LVL121: 800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1938 .loc 1 800 9 is_stmt 0 view .LVU581 1939 014a 42F00102 orr r2, r2, #1 1940 014e 1A60 str r2, [r3] 1941 0150 0020 movs r0, #0 1942 0152 00E0 b .L120 1943 .LVL122: 1944 .L132: ARM GAS /tmp/ccdmQ4z9.s page 109 741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 1945 .loc 1 741 12 view .LVU582 1946 0154 0120 movs r0, #1 1947 .LVL123: 1948 .L120: 811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 1949 .loc 1 811 1 view .LVU583 1950 0156 10BD pop {r4, pc} 1951 .LVL124: 1952 .L133: 747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1953 .loc 1 747 3 view .LVU584 1954 0158 0120 movs r0, #1 1955 .LVL125: 747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1956 .loc 1 747 3 view .LVU585 1957 015a FCE7 b .L120 1958 .LVL126: 1959 .L134: 747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 1960 .loc 1 747 3 view .LVU586 1961 015c 0020 movs r0, #0 1962 015e FAE7 b .L120 1963 .L135: 1964 0160 0020 movs r0, #0 1965 0162 F8E7 b .L120 1966 .L145: 1967 .align 2 1968 .L144: 1969 0164 002C0140 .word 1073818624 1970 0168 07000100 .word 65543 1971 .cfi_endproc 1972 .LFE341: 1974 .section .text.HAL_TIMEx_OCN_Stop_IT,"ax",%progbits 1975 .align 1 1976 .global HAL_TIMEx_OCN_Stop_IT 1977 .syntax unified 1978 .thumb 1979 .thumb_func 1981 HAL_TIMEx_OCN_Stop_IT: 1982 .LVL127: 1983 .LFB342: 826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 1984 .loc 1 826 1 is_stmt 1 view -0 1985 .cfi_startproc 1986 @ args = 0, pretend = 0, frame = 0 1987 @ frame_needed = 0, uses_anonymous_args = 0 826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 1988 .loc 1 826 1 is_stmt 0 view .LVU588 1989 0000 38B5 push {r3, r4, r5, lr} 1990 .LCFI17: 1991 .cfi_def_cfa_offset 16 1992 .cfi_offset 3, -16 1993 .cfi_offset 4, -12 1994 .cfi_offset 5, -8 1995 .cfi_offset 14, -4 1996 0002 0446 mov r4, r0 ARM GAS /tmp/ccdmQ4z9.s page 110 1997 0004 0D46 mov r5, r1 827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpccer; 1998 .loc 1 827 3 is_stmt 1 view .LVU589 1999 .LVL128: 828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2000 .loc 1 828 3 view .LVU590 831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2001 .loc 1 831 3 view .LVU591 833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2002 .loc 1 833 3 view .LVU592 2003 0006 0C29 cmp r1, #12 2004 0008 65D8 bhi .L160 2005 000a DFE801F0 tbb [pc, r1] 2006 .L149: 2007 000e 07 .byte (.L152-.L149)/2 2008 000f 64 .byte (.L160-.L149)/2 2009 0010 64 .byte (.L160-.L149)/2 2010 0011 64 .byte (.L160-.L149)/2 2011 0012 3F .byte (.L151-.L149)/2 2012 0013 64 .byte (.L160-.L149)/2 2013 0014 64 .byte (.L160-.L149)/2 2014 0015 64 .byte (.L160-.L149)/2 2015 0016 45 .byte (.L150-.L149)/2 2016 0017 64 .byte (.L160-.L149)/2 2017 0018 64 .byte (.L160-.L149)/2 2018 0019 64 .byte (.L160-.L149)/2 2019 001a 4B .byte (.L148-.L149)/2 2020 001b 00 .p2align 1 2021 .L152: 838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2022 .loc 1 838 7 view .LVU593 2023 001c 0268 ldr r2, [r0] 2024 001e D368 ldr r3, [r2, #12] 2025 0020 23F00203 bic r3, r3, #2 2026 0024 D360 str r3, [r2, #12] 839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2027 .loc 1 839 7 view .LVU594 868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2028 .loc 1 868 3 view .LVU595 2029 .L153: 871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2030 .loc 1 871 5 view .LVU596 2031 0026 0022 movs r2, #0 2032 0028 2946 mov r1, r5 2033 .LVL129: 871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2034 .loc 1 871 5 is_stmt 0 view .LVU597 2035 002a 2068 ldr r0, [r4] 2036 .LVL130: 871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2037 .loc 1 871 5 view .LVU598 2038 002c FFF7FEFF bl TIM_CCxNChannelCmd 2039 .LVL131: 874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & TIM_CCER_CCxNE_MASK) == (uint32_t)RESET) 2040 .loc 1 874 5 is_stmt 1 view .LVU599 874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & TIM_CCER_CCxNE_MASK) == (uint32_t)RESET) 2041 .loc 1 874 19 is_stmt 0 view .LVU600 ARM GAS /tmp/ccdmQ4z9.s page 111 2042 0030 2368 ldr r3, [r4] 874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & TIM_CCER_CCxNE_MASK) == (uint32_t)RESET) 2043 .loc 1 874 13 view .LVU601 2044 0032 196A ldr r1, [r3, #32] 2045 .LVL132: 875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2046 .loc 1 875 5 is_stmt 1 view .LVU602 875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2047 .loc 1 875 8 is_stmt 0 view .LVU603 2048 0034 44F24442 movw r2, #17476 2049 0038 1142 tst r1, r2 2050 003a 03D1 bne .L154 877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2051 .loc 1 877 7 is_stmt 1 view .LVU604 2052 003c DA68 ldr r2, [r3, #12] 2053 003e 22F08002 bic r2, r2, #128 2054 0042 DA60 str r2, [r3, #12] 2055 .L154: 881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2056 .loc 1 881 5 view .LVU605 881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2057 .loc 1 881 5 view .LVU606 2058 0044 2368 ldr r3, [r4] 2059 0046 196A ldr r1, [r3, #32] 2060 .LVL133: 881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2061 .loc 1 881 5 is_stmt 0 view .LVU607 2062 0048 41F21112 movw r2, #4369 2063 004c 1142 tst r1, r2 2064 004e 08D1 bne .L155 881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2065 .loc 1 881 5 is_stmt 1 discriminator 1 view .LVU608 2066 0050 196A ldr r1, [r3, #32] 2067 0052 44F24442 movw r2, #17476 2068 0056 1142 tst r1, r2 2069 0058 03D1 bne .L155 881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2070 .loc 1 881 5 discriminator 3 view .LVU609 2071 005a 5A6C ldr r2, [r3, #68] 2072 005c 22F40042 bic r2, r2, #32768 2073 0060 5A64 str r2, [r3, #68] 2074 .L155: 881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2075 .loc 1 881 5 discriminator 5 view .LVU610 884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2076 .loc 1 884 5 view .LVU611 884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2077 .loc 1 884 5 view .LVU612 2078 0062 2368 ldr r3, [r4] 2079 0064 196A ldr r1, [r3, #32] 2080 0066 41F21112 movw r2, #4369 2081 006a 1142 tst r1, r2 2082 006c 08D1 bne .L156 884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2083 .loc 1 884 5 discriminator 1 view .LVU613 2084 006e 196A ldr r1, [r3, #32] 2085 0070 44F24442 movw r2, #17476 ARM GAS /tmp/ccdmQ4z9.s page 112 2086 0074 1142 tst r1, r2 2087 0076 03D1 bne .L156 884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2088 .loc 1 884 5 discriminator 3 view .LVU614 2089 0078 1A68 ldr r2, [r3] 2090 007a 22F00102 bic r2, r2, #1 2091 007e 1A60 str r2, [r3] 2092 .L156: 884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2093 .loc 1 884 5 discriminator 5 view .LVU615 887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2094 .loc 1 887 5 view .LVU616 2095 0080 B5B9 cbnz r5, .L157 887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2096 .loc 1 887 5 is_stmt 0 discriminator 1 view .LVU617 2097 0082 0123 movs r3, #1 2098 0084 84F84430 strb r3, [r4, #68] 2099 0088 0020 movs r0, #0 2100 008a 25E0 b .L147 2101 .LVL134: 2102 .L151: 845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2103 .loc 1 845 7 is_stmt 1 view .LVU618 2104 008c 0268 ldr r2, [r0] 2105 008e D368 ldr r3, [r2, #12] 2106 0090 23F00403 bic r3, r3, #4 2107 0094 D360 str r3, [r2, #12] 846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2108 .loc 1 846 7 view .LVU619 868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2109 .loc 1 868 3 view .LVU620 2110 0096 C6E7 b .L153 2111 .L150: 852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2112 .loc 1 852 7 view .LVU621 2113 0098 0268 ldr r2, [r0] 2114 009a D368 ldr r3, [r2, #12] 2115 009c 23F00803 bic r3, r3, #8 2116 00a0 D360 str r3, [r2, #12] 853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2117 .loc 1 853 7 view .LVU622 868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2118 .loc 1 868 3 view .LVU623 2119 00a2 C0E7 b .L153 2120 .L148: 859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2121 .loc 1 859 7 view .LVU624 2122 00a4 0268 ldr r2, [r0] 2123 00a6 D368 ldr r3, [r2, #12] 2124 00a8 23F01003 bic r3, r3, #16 2125 00ac D360 str r3, [r2, #12] 860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2126 .loc 1 860 7 view .LVU625 868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2127 .loc 1 868 3 view .LVU626 2128 00ae BAE7 b .L153 2129 .LVL135: ARM GAS /tmp/ccdmQ4z9.s page 113 2130 .L157: 887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2131 .loc 1 887 5 is_stmt 0 discriminator 2 view .LVU627 2132 00b0 042D cmp r5, #4 2133 00b2 06D0 beq .L162 887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2134 .loc 1 887 5 discriminator 4 view .LVU628 2135 00b4 082D cmp r5, #8 2136 00b6 09D0 beq .L163 887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2137 .loc 1 887 5 discriminator 7 view .LVU629 2138 00b8 0123 movs r3, #1 2139 00ba 84F84730 strb r3, [r4, #71] 2140 00be 0020 movs r0, #0 2141 00c0 0AE0 b .L147 2142 .L162: 887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2143 .loc 1 887 5 discriminator 3 view .LVU630 2144 00c2 0123 movs r3, #1 2145 00c4 84F84530 strb r3, [r4, #69] 2146 00c8 0020 movs r0, #0 2147 00ca 05E0 b .L147 2148 .L163: 887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2149 .loc 1 887 5 discriminator 6 view .LVU631 2150 00cc 0123 movs r3, #1 2151 00ce 84F84630 strb r3, [r4, #70] 2152 00d2 0020 movs r0, #0 2153 00d4 00E0 b .L147 2154 .LVL136: 2155 .L160: 833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2156 .loc 1 833 3 view .LVU632 2157 00d6 0120 movs r0, #1 2158 .LVL137: 2159 .L147: 891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2160 .loc 1 891 3 is_stmt 1 view .LVU633 892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2161 .loc 1 892 1 is_stmt 0 view .LVU634 2162 00d8 38BD pop {r3, r4, r5, pc} 892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2163 .loc 1 892 1 view .LVU635 2164 .cfi_endproc 2165 .LFE342: 2167 .section .text.HAL_TIMEx_OCN_Start_DMA,"ax",%progbits 2168 .align 1 2169 .global HAL_TIMEx_OCN_Start_DMA 2170 .syntax unified 2171 .thumb 2172 .thumb_func 2174 HAL_TIMEx_OCN_Start_DMA: 2175 .LVL138: 2176 .LFB343: 910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 2177 .loc 1 910 1 is_stmt 1 view -0 2178 .cfi_startproc ARM GAS /tmp/ccdmQ4z9.s page 114 2179 @ args = 0, pretend = 0, frame = 0 2180 @ frame_needed = 0, uses_anonymous_args = 0 910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 2181 .loc 1 910 1 is_stmt 0 view .LVU637 2182 0000 70B5 push {r4, r5, r6, lr} 2183 .LCFI18: 2184 .cfi_def_cfa_offset 16 2185 .cfi_offset 4, -16 2186 .cfi_offset 5, -12 2187 .cfi_offset 6, -8 2188 .cfi_offset 14, -4 2189 0002 0446 mov r4, r0 2190 0004 1646 mov r6, r2 911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 2191 .loc 1 911 3 is_stmt 1 view .LVU638 2192 .LVL139: 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2193 .loc 1 912 3 view .LVU639 915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2194 .loc 1 915 3 view .LVU640 918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2195 .loc 1 918 3 view .LVU641 918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2196 .loc 1 918 46 is_stmt 0 view .LVU642 2197 0006 0D46 mov r5, r1 2198 0008 0029 cmp r1, #0 2199 000a 64D1 bne .L165 918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2200 .loc 1 918 7 discriminator 1 view .LVU643 2201 000c 90F84400 ldrb r0, [r0, #68] @ zero_extendqisi2 2202 .LVL140: 918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2203 .loc 1 918 7 discriminator 1 view .LVU644 2204 0010 C0B2 uxtb r0, r0 918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2205 .loc 1 918 46 discriminator 1 view .LVU645 2206 0012 0228 cmp r0, #2 2207 0014 14BF ite ne 2208 0016 0020 movne r0, #0 2209 0018 0120 moveq r0, #1 2210 .L166: 918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2211 .loc 1 918 6 discriminator 12 view .LVU646 2212 001a 0028 cmp r0, #0 2213 001c 40F01281 bne .L185 922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2214 .loc 1 922 8 is_stmt 1 view .LVU647 922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2215 .loc 1 922 51 is_stmt 0 view .LVU648 2216 0020 002D cmp r5, #0 2217 0022 74D1 bne .L170 922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2218 .loc 1 922 12 discriminator 1 view .LVU649 2219 0024 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2 2220 .LVL141: 922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2221 .loc 1 922 12 discriminator 1 view .LVU650 ARM GAS /tmp/ccdmQ4z9.s page 115 2222 0028 D2B2 uxtb r2, r2 922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2223 .loc 1 922 51 discriminator 1 view .LVU651 2224 002a 012A cmp r2, #1 2225 002c 14BF ite ne 2226 002e 0022 movne r2, #0 2227 0030 0122 moveq r2, #1 2228 .L171: 922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2229 .loc 1 922 11 discriminator 12 view .LVU652 2230 0032 002A cmp r2, #0 2231 0034 00F00881 beq .L186 924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2232 .loc 1 924 5 is_stmt 1 view .LVU653 924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2233 .loc 1 924 8 is_stmt 0 view .LVU654 2234 0038 002E cmp r6, #0 2235 003a 00F00781 beq .L187 924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2236 .loc 1 924 25 discriminator 1 view .LVU655 2237 003e 002B cmp r3, #0 2238 0040 00F00681 beq .L188 930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2239 .loc 1 930 7 is_stmt 1 view .LVU656 2240 0044 002D cmp r5, #0 2241 0046 7ED1 bne .L174 930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2242 .loc 1 930 7 is_stmt 0 discriminator 1 view .LVU657 2243 0048 0222 movs r2, #2 2244 004a 84F84420 strb r2, [r4, #68] 938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2245 .loc 1 938 3 is_stmt 1 view .LVU658 2246 .L175: 943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2247 .loc 1 943 7 view .LVU659 943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2248 .loc 1 943 17 is_stmt 0 view .LVU660 2249 004e 626A ldr r2, [r4, #36] 943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2250 .loc 1 943 52 view .LVU661 2251 0050 8749 ldr r1, .L206 2252 .LVL142: 943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2253 .loc 1 943 52 view .LVU662 2254 0052 D162 str r1, [r2, #44] 944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2255 .loc 1 944 7 is_stmt 1 view .LVU663 944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2256 .loc 1 944 17 is_stmt 0 view .LVU664 2257 0054 626A ldr r2, [r4, #36] 944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2258 .loc 1 944 56 view .LVU665 2259 0056 8749 ldr r1, .L206+4 2260 0058 1163 str r1, [r2, #48] 947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2261 .loc 1 947 7 is_stmt 1 view .LVU666 947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/ccdmQ4z9.s page 116 2262 .loc 1 947 17 is_stmt 0 view .LVU667 2263 005a 626A ldr r2, [r4, #36] 947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2264 .loc 1 947 53 view .LVU668 2265 005c 8649 ldr r1, .L206+8 2266 005e 5163 str r1, [r2, #52] 950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2267 .loc 1 950 7 is_stmt 1 view .LVU669 950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2268 .loc 1 950 88 is_stmt 0 view .LVU670 2269 0060 2268 ldr r2, [r4] 950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2270 .loc 1 950 11 view .LVU671 2271 0062 3432 adds r2, r2, #52 2272 0064 3146 mov r1, r6 2273 0066 606A ldr r0, [r4, #36] 2274 0068 FFF7FEFF bl HAL_DMA_Start_IT 2275 .LVL143: 950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2276 .loc 1 950 10 discriminator 1 view .LVU672 2277 006c 0028 cmp r0, #0 2278 006e 40F0F380 bne .L190 957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2279 .loc 1 957 7 is_stmt 1 view .LVU673 2280 0072 2268 ldr r2, [r4] 2281 0074 D368 ldr r3, [r2, #12] 2282 0076 43F40073 orr r3, r3, #512 2283 007a D360 str r3, [r2, #12] 958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2284 .loc 1 958 7 view .LVU674 1029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2285 .loc 1 1029 3 view .LVU675 2286 .L182: 1032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2287 .loc 1 1032 5 view .LVU676 2288 007c 0422 movs r2, #4 2289 007e 2946 mov r1, r5 2290 0080 2068 ldr r0, [r4] 2291 0082 FFF7FEFF bl TIM_CCxNChannelCmd 2292 .LVL144: 1035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2293 .loc 1 1035 5 view .LVU677 2294 0086 2268 ldr r2, [r4] 2295 0088 536C ldr r3, [r2, #68] 2296 008a 43F40043 orr r3, r3, #32768 2297 008e 5364 str r3, [r2, #68] 1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2298 .loc 1 1038 5 view .LVU678 1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2299 .loc 1 1038 9 is_stmt 0 view .LVU679 2300 0090 2368 ldr r3, [r4] 1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2301 .loc 1 1038 8 view .LVU680 2302 0092 7A4A ldr r2, .L206+12 2303 0094 9342 cmp r3, r2 2304 0096 00F0C780 beq .L183 1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { ARM GAS /tmp/ccdmQ4z9.s page 117 2305 .loc 1 1038 9 discriminator 1 view .LVU681 2306 009a B3F1804F cmp r3, #1073741824 2307 009e 00F0C380 beq .L183 1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2308 .loc 1 1038 9 discriminator 2 view .LVU682 2309 00a2 A2F59432 sub r2, r2, #75776 2310 00a6 9342 cmp r3, r2 2311 00a8 00F0BE80 beq .L183 1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2312 .loc 1 1038 9 discriminator 3 view .LVU683 2313 00ac 02F58062 add r2, r2, #1024 2314 00b0 9342 cmp r3, r2 2315 00b2 00F0B980 beq .L183 1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2316 .loc 1 1038 9 discriminator 4 view .LVU684 2317 00b6 02F59632 add r2, r2, #76800 2318 00ba 9342 cmp r3, r2 2319 00bc 00F0B480 beq .L183 1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2320 .loc 1 1038 9 discriminator 5 view .LVU685 2321 00c0 02F54062 add r2, r2, #3072 2322 00c4 9342 cmp r3, r2 2323 00c6 00F0AF80 beq .L183 1048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2324 .loc 1 1048 7 is_stmt 1 view .LVU686 2325 00ca 1A68 ldr r2, [r3] 2326 00cc 42F00102 orr r2, r2, #1 2327 00d0 1A60 str r2, [r3] 2328 00d2 0020 movs r0, #0 2329 00d4 B9E0 b .L169 2330 .LVL145: 2331 .L165: 918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2332 .loc 1 918 46 is_stmt 0 discriminator 2 view .LVU687 2333 00d6 0429 cmp r1, #4 2334 00d8 09D0 beq .L200 918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2335 .loc 1 918 46 discriminator 5 view .LVU688 2336 00da 0829 cmp r1, #8 2337 00dc 0FD0 beq .L201 918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2338 .loc 1 918 7 discriminator 8 view .LVU689 2339 00de 90F84700 ldrb r0, [r0, #71] @ zero_extendqisi2 2340 .LVL146: 918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2341 .loc 1 918 7 discriminator 8 view .LVU690 2342 00e2 C0B2 uxtb r0, r0 918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2343 .loc 1 918 46 discriminator 8 view .LVU691 2344 00e4 0228 cmp r0, #2 2345 00e6 14BF ite ne 2346 00e8 0020 movne r0, #0 2347 00ea 0120 moveq r0, #1 2348 00ec 95E7 b .L166 2349 .LVL147: 2350 .L200: 918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { ARM GAS /tmp/ccdmQ4z9.s page 118 2351 .loc 1 918 7 discriminator 4 view .LVU692 2352 00ee 90F84500 ldrb r0, [r0, #69] @ zero_extendqisi2 2353 .LVL148: 918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2354 .loc 1 918 7 discriminator 4 view .LVU693 2355 00f2 C0B2 uxtb r0, r0 918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2356 .loc 1 918 46 discriminator 4 view .LVU694 2357 00f4 0228 cmp r0, #2 2358 00f6 14BF ite ne 2359 00f8 0020 movne r0, #0 2360 00fa 0120 moveq r0, #1 2361 00fc 8DE7 b .L166 2362 .LVL149: 2363 .L201: 918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2364 .loc 1 918 7 discriminator 7 view .LVU695 2365 00fe 90F84600 ldrb r0, [r0, #70] @ zero_extendqisi2 2366 .LVL150: 918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2367 .loc 1 918 7 discriminator 7 view .LVU696 2368 0102 C0B2 uxtb r0, r0 918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2369 .loc 1 918 46 discriminator 7 view .LVU697 2370 0104 0228 cmp r0, #2 2371 0106 14BF ite ne 2372 0108 0020 movne r0, #0 2373 010a 0120 moveq r0, #1 2374 010c 85E7 b .L166 2375 .L170: 922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2376 .loc 1 922 51 discriminator 2 view .LVU698 2377 010e 042D cmp r5, #4 2378 0110 09D0 beq .L202 922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2379 .loc 1 922 51 discriminator 5 view .LVU699 2380 0112 082D cmp r5, #8 2381 0114 0FD0 beq .L203 922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2382 .loc 1 922 12 discriminator 8 view .LVU700 2383 0116 94F84720 ldrb r2, [r4, #71] @ zero_extendqisi2 2384 .LVL151: 922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2385 .loc 1 922 12 discriminator 8 view .LVU701 2386 011a D2B2 uxtb r2, r2 922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2387 .loc 1 922 51 discriminator 8 view .LVU702 2388 011c 012A cmp r2, #1 2389 011e 14BF ite ne 2390 0120 0022 movne r2, #0 2391 0122 0122 moveq r2, #1 2392 0124 85E7 b .L171 2393 .LVL152: 2394 .L202: 922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2395 .loc 1 922 12 discriminator 4 view .LVU703 2396 0126 94F84520 ldrb r2, [r4, #69] @ zero_extendqisi2 ARM GAS /tmp/ccdmQ4z9.s page 119 2397 .LVL153: 922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2398 .loc 1 922 12 discriminator 4 view .LVU704 2399 012a D2B2 uxtb r2, r2 922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2400 .loc 1 922 51 discriminator 4 view .LVU705 2401 012c 012A cmp r2, #1 2402 012e 14BF ite ne 2403 0130 0022 movne r2, #0 2404 0132 0122 moveq r2, #1 2405 0134 7DE7 b .L171 2406 .LVL154: 2407 .L203: 922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2408 .loc 1 922 12 discriminator 7 view .LVU706 2409 0136 94F84620 ldrb r2, [r4, #70] @ zero_extendqisi2 2410 .LVL155: 922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2411 .loc 1 922 12 discriminator 7 view .LVU707 2412 013a D2B2 uxtb r2, r2 922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2413 .loc 1 922 51 discriminator 7 view .LVU708 2414 013c 012A cmp r2, #1 2415 013e 14BF ite ne 2416 0140 0022 movne r2, #0 2417 0142 0122 moveq r2, #1 2418 0144 75E7 b .L171 2419 .L174: 930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2420 .loc 1 930 7 discriminator 2 view .LVU709 2421 0146 042D cmp r5, #4 2422 0148 24D0 beq .L204 930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2423 .loc 1 930 7 discriminator 4 view .LVU710 2424 014a 082D cmp r5, #8 2425 014c 3CD0 beq .L205 930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2426 .loc 1 930 7 discriminator 7 view .LVU711 2427 014e 0222 movs r2, #2 2428 0150 84F84720 strb r2, [r4, #71] 938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2429 .loc 1 938 3 is_stmt 1 view .LVU712 2430 0154 0C2D cmp r5, #12 2431 0156 7DD8 bhi .L189 2432 0158 01A2 adr r2, .L181 2433 015a 52F825F0 ldr pc, [r2, r5, lsl #2] 2434 015e 00BF .p2align 2 2435 .L181: 2436 0160 4F000000 .word .L175+1 2437 0164 55020000 .word .L189+1 2438 0168 55020000 .word .L189+1 2439 016c 55020000 .word .L189+1 2440 0170 9B010000 .word .L177+1 2441 0174 55020000 .word .L189+1 2442 0178 55020000 .word .L189+1 2443 017c 55020000 .word .L189+1 2444 0180 CF010000 .word .L179+1 ARM GAS /tmp/ccdmQ4z9.s page 120 2445 0184 55020000 .word .L189+1 2446 0188 55020000 .word .L189+1 2447 018c 55020000 .word .L189+1 2448 0190 FD010000 .word .L180+1 2449 .p2align 1 2450 .L204: 930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2451 .loc 1 930 7 is_stmt 0 discriminator 3 view .LVU713 2452 0194 0222 movs r2, #2 2453 0196 84F84520 strb r2, [r4, #69] 938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2454 .loc 1 938 3 is_stmt 1 view .LVU714 2455 .L177: 964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2456 .loc 1 964 7 view .LVU715 964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2457 .loc 1 964 17 is_stmt 0 view .LVU716 2458 019a A26A ldr r2, [r4, #40] 964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2459 .loc 1 964 52 view .LVU717 2460 019c 3449 ldr r1, .L206 2461 .LVL156: 964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2462 .loc 1 964 52 view .LVU718 2463 019e D162 str r1, [r2, #44] 965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2464 .loc 1 965 7 is_stmt 1 view .LVU719 965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2465 .loc 1 965 17 is_stmt 0 view .LVU720 2466 01a0 A26A ldr r2, [r4, #40] 965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2467 .loc 1 965 56 view .LVU721 2468 01a2 3449 ldr r1, .L206+4 2469 01a4 1163 str r1, [r2, #48] 968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2470 .loc 1 968 7 is_stmt 1 view .LVU722 968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2471 .loc 1 968 17 is_stmt 0 view .LVU723 2472 01a6 A26A ldr r2, [r4, #40] 968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2473 .loc 1 968 53 view .LVU724 2474 01a8 3349 ldr r1, .L206+8 2475 01aa 5163 str r1, [r2, #52] 971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2476 .loc 1 971 7 is_stmt 1 view .LVU725 971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2477 .loc 1 971 88 is_stmt 0 view .LVU726 2478 01ac 2268 ldr r2, [r4] 971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2479 .loc 1 971 11 view .LVU727 2480 01ae 3832 adds r2, r2, #56 2481 01b0 3146 mov r1, r6 2482 01b2 A06A ldr r0, [r4, #40] 2483 01b4 FFF7FEFF bl HAL_DMA_Start_IT 2484 .LVL157: 971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2485 .loc 1 971 10 discriminator 1 view .LVU728 ARM GAS /tmp/ccdmQ4z9.s page 121 2486 01b8 0028 cmp r0, #0 2487 01ba 4FD1 bne .L191 978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2488 .loc 1 978 7 is_stmt 1 view .LVU729 2489 01bc 2268 ldr r2, [r4] 2490 01be D368 ldr r3, [r2, #12] 2491 01c0 43F48063 orr r3, r3, #1024 2492 01c4 D360 str r3, [r2, #12] 979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2493 .loc 1 979 7 view .LVU730 1029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2494 .loc 1 1029 3 view .LVU731 2495 01c6 59E7 b .L182 2496 .LVL158: 2497 .L205: 930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2498 .loc 1 930 7 is_stmt 0 discriminator 6 view .LVU732 2499 01c8 0222 movs r2, #2 2500 01ca 84F84620 strb r2, [r4, #70] 938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2501 .loc 1 938 3 is_stmt 1 view .LVU733 2502 .L179: 985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2503 .loc 1 985 7 view .LVU734 985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2504 .loc 1 985 17 is_stmt 0 view .LVU735 2505 01ce E26A ldr r2, [r4, #44] 985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2506 .loc 1 985 52 view .LVU736 2507 01d0 2749 ldr r1, .L206 2508 .LVL159: 985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2509 .loc 1 985 52 view .LVU737 2510 01d2 D162 str r1, [r2, #44] 986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2511 .loc 1 986 7 is_stmt 1 view .LVU738 986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2512 .loc 1 986 17 is_stmt 0 view .LVU739 2513 01d4 E26A ldr r2, [r4, #44] 986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2514 .loc 1 986 56 view .LVU740 2515 01d6 2749 ldr r1, .L206+4 2516 01d8 1163 str r1, [r2, #48] 989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2517 .loc 1 989 7 is_stmt 1 view .LVU741 989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2518 .loc 1 989 17 is_stmt 0 view .LVU742 2519 01da E26A ldr r2, [r4, #44] 989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2520 .loc 1 989 53 view .LVU743 2521 01dc 2649 ldr r1, .L206+8 2522 01de 5163 str r1, [r2, #52] 992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2523 .loc 1 992 7 is_stmt 1 view .LVU744 992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2524 .loc 1 992 88 is_stmt 0 view .LVU745 2525 01e0 2268 ldr r2, [r4] ARM GAS /tmp/ccdmQ4z9.s page 122 992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2526 .loc 1 992 11 view .LVU746 2527 01e2 3C32 adds r2, r2, #60 2528 01e4 3146 mov r1, r6 2529 01e6 E06A ldr r0, [r4, #44] 2530 01e8 FFF7FEFF bl HAL_DMA_Start_IT 2531 .LVL160: 992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2532 .loc 1 992 10 discriminator 1 view .LVU747 2533 01ec 0028 cmp r0, #0 2534 01ee 37D1 bne .L192 999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2535 .loc 1 999 7 is_stmt 1 view .LVU748 2536 01f0 2268 ldr r2, [r4] 2537 01f2 D368 ldr r3, [r2, #12] 2538 01f4 43F40063 orr r3, r3, #2048 2539 01f8 D360 str r3, [r2, #12] 1000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2540 .loc 1 1000 7 view .LVU749 1029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2541 .loc 1 1029 3 view .LVU750 2542 01fa 3FE7 b .L182 2543 .LVL161: 2544 .L180: 1006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2545 .loc 1 1006 7 view .LVU751 1006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2546 .loc 1 1006 17 is_stmt 0 view .LVU752 2547 01fc 226B ldr r2, [r4, #48] 1006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2548 .loc 1 1006 52 view .LVU753 2549 01fe 1C49 ldr r1, .L206 2550 .LVL162: 1006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2551 .loc 1 1006 52 view .LVU754 2552 0200 D162 str r1, [r2, #44] 1007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2553 .loc 1 1007 7 is_stmt 1 view .LVU755 1007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2554 .loc 1 1007 17 is_stmt 0 view .LVU756 2555 0202 226B ldr r2, [r4, #48] 1007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2556 .loc 1 1007 56 view .LVU757 2557 0204 1B49 ldr r1, .L206+4 2558 0206 1163 str r1, [r2, #48] 1010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2559 .loc 1 1010 7 is_stmt 1 view .LVU758 1010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2560 .loc 1 1010 17 is_stmt 0 view .LVU759 2561 0208 226B ldr r2, [r4, #48] 1010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2562 .loc 1 1010 53 view .LVU760 2563 020a 1B49 ldr r1, .L206+8 2564 020c 5163 str r1, [r2, #52] 1013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2565 .loc 1 1013 7 is_stmt 1 view .LVU761 1013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) ARM GAS /tmp/ccdmQ4z9.s page 123 2566 .loc 1 1013 88 is_stmt 0 view .LVU762 2567 020e 2268 ldr r2, [r4] 1013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2568 .loc 1 1013 11 view .LVU763 2569 0210 4032 adds r2, r2, #64 2570 0212 3146 mov r1, r6 2571 0214 206B ldr r0, [r4, #48] 2572 0216 FFF7FEFF bl HAL_DMA_Start_IT 2573 .LVL163: 1013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 2574 .loc 1 1013 10 discriminator 1 view .LVU764 2575 021a 18BB cbnz r0, .L193 1020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2576 .loc 1 1020 7 is_stmt 1 view .LVU765 2577 021c 2268 ldr r2, [r4] 2578 021e D368 ldr r3, [r2, #12] 2579 0220 43F48053 orr r3, r3, #4096 2580 0224 D360 str r3, [r2, #12] 1021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2581 .loc 1 1021 7 view .LVU766 1029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2582 .loc 1 1029 3 view .LVU767 2583 0226 29E7 b .L182 2584 .L183: 1040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 2585 .loc 1 1040 7 view .LVU768 1040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 2586 .loc 1 1040 31 is_stmt 0 view .LVU769 2587 0228 9968 ldr r1, [r3, #8] 1040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 2588 .loc 1 1040 15 view .LVU770 2589 022a 154A ldr r2, .L206+16 2590 022c 0A40 ands r2, r2, r1 2591 .LVL164: 1041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2592 .loc 1 1041 7 is_stmt 1 view .LVU771 1041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2593 .loc 1 1041 10 is_stmt 0 view .LVU772 2594 022e 062A cmp r2, #6 2595 0230 1AD0 beq .L194 1041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2596 .loc 1 1041 11 discriminator 1 view .LVU773 2597 0232 B2F5803F cmp r2, #65536 2598 0236 19D0 beq .L195 1043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2599 .loc 1 1043 9 is_stmt 1 view .LVU774 2600 0238 1A68 ldr r2, [r3] 2601 .LVL165: 1043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2602 .loc 1 1043 9 is_stmt 0 view .LVU775 2603 023a 42F00102 orr r2, r2, #1 2604 023e 1A60 str r2, [r3] 2605 0240 0020 movs r0, #0 2606 0242 02E0 b .L169 2607 .LVL166: 2608 .L185: 920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } ARM GAS /tmp/ccdmQ4z9.s page 124 2609 .loc 1 920 12 view .LVU776 2610 0244 0220 movs r0, #2 2611 0246 00E0 b .L169 2612 .LVL167: 2613 .L186: 935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2614 .loc 1 935 12 view .LVU777 2615 0248 0120 movs r0, #1 2616 .LVL168: 2617 .L169: 1054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2618 .loc 1 1054 1 view .LVU778 2619 024a 70BD pop {r4, r5, r6, pc} 2620 .LVL169: 2621 .L187: 926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2622 .loc 1 926 14 view .LVU779 2623 024c 0120 movs r0, #1 2624 024e FCE7 b .L169 2625 .L188: 2626 0250 0120 movs r0, #1 2627 0252 FAE7 b .L169 2628 .L189: 938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2629 .loc 1 938 3 view .LVU780 2630 0254 0120 movs r0, #1 2631 0256 F8E7 b .L169 2632 .LVL170: 2633 .L190: 954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2634 .loc 1 954 16 view .LVU781 2635 0258 0120 movs r0, #1 2636 025a F6E7 b .L169 2637 .L191: 975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2638 .loc 1 975 16 view .LVU782 2639 025c 0120 movs r0, #1 2640 025e F4E7 b .L169 2641 .L192: 996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2642 .loc 1 996 16 view .LVU783 2643 0260 0120 movs r0, #1 2644 0262 F2E7 b .L169 2645 .L193: 1017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2646 .loc 1 1017 16 view .LVU784 2647 0264 0120 movs r0, #1 2648 0266 F0E7 b .L169 2649 .LVL171: 2650 .L194: 1017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2651 .loc 1 1017 16 view .LVU785 2652 0268 0020 movs r0, #0 2653 026a EEE7 b .L169 2654 .L195: 2655 026c 0020 movs r0, #0 2656 026e ECE7 b .L169 ARM GAS /tmp/ccdmQ4z9.s page 125 2657 .L207: 2658 .align 2 2659 .L206: 2660 0270 00000000 .word TIM_DMADelayPulseNCplt 2661 0274 00000000 .word TIM_DMADelayPulseHalfCplt 2662 0278 00000000 .word TIM_DMAErrorCCxN 2663 027c 002C0140 .word 1073818624 2664 0280 07000100 .word 65543 2665 .cfi_endproc 2666 .LFE343: 2668 .section .text.HAL_TIMEx_OCN_Stop_DMA,"ax",%progbits 2669 .align 1 2670 .global HAL_TIMEx_OCN_Stop_DMA 2671 .syntax unified 2672 .thumb 2673 .thumb_func 2675 HAL_TIMEx_OCN_Stop_DMA: 2676 .LVL172: 2677 .LFB344: 1069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 2678 .loc 1 1069 1 is_stmt 1 view -0 2679 .cfi_startproc 2680 @ args = 0, pretend = 0, frame = 0 2681 @ frame_needed = 0, uses_anonymous_args = 0 1069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 2682 .loc 1 1069 1 is_stmt 0 view .LVU787 2683 0000 38B5 push {r3, r4, r5, lr} 2684 .LCFI19: 2685 .cfi_def_cfa_offset 16 2686 .cfi_offset 3, -16 2687 .cfi_offset 4, -12 2688 .cfi_offset 5, -8 2689 .cfi_offset 14, -4 2690 0002 0446 mov r4, r0 2691 0004 0D46 mov r5, r1 1070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2692 .loc 1 1070 3 is_stmt 1 view .LVU788 2693 .LVL173: 1073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2694 .loc 1 1073 3 view .LVU789 1075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2695 .loc 1 1075 3 view .LVU790 2696 0006 0C29 cmp r1, #12 2697 0008 67D8 bhi .L221 2698 000a DFE801F0 tbb [pc, r1] 2699 .L211: 2700 000e 07 .byte (.L214-.L211)/2 2701 000f 66 .byte (.L221-.L211)/2 2702 0010 66 .byte (.L221-.L211)/2 2703 0011 66 .byte (.L221-.L211)/2 2704 0012 38 .byte (.L213-.L211)/2 2705 0013 66 .byte (.L221-.L211)/2 2706 0014 66 .byte (.L221-.L211)/2 2707 0015 66 .byte (.L221-.L211)/2 2708 0016 41 .byte (.L212-.L211)/2 2709 0017 66 .byte (.L221-.L211)/2 2710 0018 66 .byte (.L221-.L211)/2 ARM GAS /tmp/ccdmQ4z9.s page 126 2711 0019 66 .byte (.L221-.L211)/2 2712 001a 4A .byte (.L210-.L211)/2 2713 001b 00 .p2align 1 2714 .L214: 1080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 2715 .loc 1 1080 7 view .LVU791 2716 001c 0268 ldr r2, [r0] 2717 001e D368 ldr r3, [r2, #12] 2718 0020 23F40073 bic r3, r3, #512 2719 0024 D360 str r3, [r2, #12] 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2720 .loc 1 1081 7 view .LVU792 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2721 .loc 1 1081 13 is_stmt 0 view .LVU793 2722 0026 406A ldr r0, [r0, #36] 2723 .LVL174: 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2724 .loc 1 1081 13 view .LVU794 2725 0028 FFF7FEFF bl HAL_DMA_Abort_IT 2726 .LVL175: 1082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2727 .loc 1 1082 7 is_stmt 1 view .LVU795 1114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2728 .loc 1 1114 3 view .LVU796 2729 .L215: 1117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2730 .loc 1 1117 5 view .LVU797 2731 002c 0022 movs r2, #0 2732 002e 2946 mov r1, r5 2733 0030 2068 ldr r0, [r4] 2734 0032 FFF7FEFF bl TIM_CCxNChannelCmd 2735 .LVL176: 1120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2736 .loc 1 1120 5 view .LVU798 1120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2737 .loc 1 1120 5 view .LVU799 2738 0036 2368 ldr r3, [r4] 2739 0038 196A ldr r1, [r3, #32] 2740 003a 41F21112 movw r2, #4369 2741 003e 1142 tst r1, r2 2742 0040 08D1 bne .L216 1120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2743 .loc 1 1120 5 discriminator 1 view .LVU800 2744 0042 196A ldr r1, [r3, #32] 2745 0044 44F24442 movw r2, #17476 2746 0048 1142 tst r1, r2 2747 004a 03D1 bne .L216 1120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2748 .loc 1 1120 5 discriminator 3 view .LVU801 2749 004c 5A6C ldr r2, [r3, #68] 2750 004e 22F40042 bic r2, r2, #32768 2751 0052 5A64 str r2, [r3, #68] 2752 .L216: 1120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2753 .loc 1 1120 5 discriminator 5 view .LVU802 1123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2754 .loc 1 1123 5 view .LVU803 ARM GAS /tmp/ccdmQ4z9.s page 127 1123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2755 .loc 1 1123 5 view .LVU804 2756 0054 2368 ldr r3, [r4] 2757 0056 196A ldr r1, [r3, #32] 2758 0058 41F21112 movw r2, #4369 2759 005c 1142 tst r1, r2 2760 005e 08D1 bne .L217 1123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2761 .loc 1 1123 5 discriminator 1 view .LVU805 2762 0060 196A ldr r1, [r3, #32] 2763 0062 44F24442 movw r2, #17476 2764 0066 1142 tst r1, r2 2765 0068 03D1 bne .L217 1123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2766 .loc 1 1123 5 discriminator 3 view .LVU806 2767 006a 1A68 ldr r2, [r3] 2768 006c 22F00102 bic r2, r2, #1 2769 0070 1A60 str r2, [r3] 2770 .L217: 1123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2771 .loc 1 1123 5 discriminator 5 view .LVU807 1126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2772 .loc 1 1126 5 view .LVU808 2773 0072 FDB9 cbnz r5, .L218 1126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2774 .loc 1 1126 5 is_stmt 0 discriminator 1 view .LVU809 2775 0074 0123 movs r3, #1 2776 0076 84F84430 strb r3, [r4, #68] 2777 007a 0020 movs r0, #0 2778 007c 2EE0 b .L209 2779 .LVL177: 2780 .L213: 1088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 2781 .loc 1 1088 7 is_stmt 1 view .LVU810 2782 007e 0268 ldr r2, [r0] 2783 0080 D368 ldr r3, [r2, #12] 2784 0082 23F48063 bic r3, r3, #1024 2785 0086 D360 str r3, [r2, #12] 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2786 .loc 1 1089 7 view .LVU811 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2787 .loc 1 1089 13 is_stmt 0 view .LVU812 2788 0088 806A ldr r0, [r0, #40] 2789 .LVL178: 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2790 .loc 1 1089 13 view .LVU813 2791 008a FFF7FEFF bl HAL_DMA_Abort_IT 2792 .LVL179: 1090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2793 .loc 1 1090 7 is_stmt 1 view .LVU814 1114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2794 .loc 1 1114 3 view .LVU815 2795 008e CDE7 b .L215 2796 .LVL180: 2797 .L212: 1096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 2798 .loc 1 1096 7 view .LVU816 ARM GAS /tmp/ccdmQ4z9.s page 128 2799 0090 0268 ldr r2, [r0] 2800 0092 D368 ldr r3, [r2, #12] 2801 0094 23F40063 bic r3, r3, #2048 2802 0098 D360 str r3, [r2, #12] 1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2803 .loc 1 1097 7 view .LVU817 1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2804 .loc 1 1097 13 is_stmt 0 view .LVU818 2805 009a C06A ldr r0, [r0, #44] 2806 .LVL181: 1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2807 .loc 1 1097 13 view .LVU819 2808 009c FFF7FEFF bl HAL_DMA_Abort_IT 2809 .LVL182: 1098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2810 .loc 1 1098 7 is_stmt 1 view .LVU820 1114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2811 .loc 1 1114 3 view .LVU821 2812 00a0 C4E7 b .L215 2813 .LVL183: 2814 .L210: 1104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 2815 .loc 1 1104 7 view .LVU822 2816 00a2 0268 ldr r2, [r0] 2817 00a4 D368 ldr r3, [r2, #12] 2818 00a6 23F48053 bic r3, r3, #4096 2819 00aa D360 str r3, [r2, #12] 1105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2820 .loc 1 1105 7 view .LVU823 1105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2821 .loc 1 1105 13 is_stmt 0 view .LVU824 2822 00ac 006B ldr r0, [r0, #48] 2823 .LVL184: 1105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 2824 .loc 1 1105 13 view .LVU825 2825 00ae FFF7FEFF bl HAL_DMA_Abort_IT 2826 .LVL185: 1106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2827 .loc 1 1106 7 is_stmt 1 view .LVU826 1114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2828 .loc 1 1114 3 view .LVU827 2829 00b2 BBE7 b .L215 2830 .L218: 1126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2831 .loc 1 1126 5 is_stmt 0 discriminator 2 view .LVU828 2832 00b4 042D cmp r5, #4 2833 00b6 06D0 beq .L223 1126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2834 .loc 1 1126 5 discriminator 4 view .LVU829 2835 00b8 082D cmp r5, #8 2836 00ba 09D0 beq .L224 1126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2837 .loc 1 1126 5 discriminator 7 view .LVU830 2838 00bc 0123 movs r3, #1 2839 00be 84F84730 strb r3, [r4, #71] 2840 00c2 0020 movs r0, #0 2841 00c4 0AE0 b .L209 ARM GAS /tmp/ccdmQ4z9.s page 129 2842 .L223: 1126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2843 .loc 1 1126 5 discriminator 3 view .LVU831 2844 00c6 0123 movs r3, #1 2845 00c8 84F84530 strb r3, [r4, #69] 2846 00cc 0020 movs r0, #0 2847 00ce 05E0 b .L209 2848 .L224: 1126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2849 .loc 1 1126 5 discriminator 6 view .LVU832 2850 00d0 0123 movs r3, #1 2851 00d2 84F84630 strb r3, [r4, #70] 2852 00d6 0020 movs r0, #0 2853 00d8 00E0 b .L209 2854 .LVL186: 2855 .L221: 1075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2856 .loc 1 1075 3 view .LVU833 2857 00da 0120 movs r0, #1 2858 .LVL187: 2859 .L209: 1130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2860 .loc 1 1130 3 is_stmt 1 view .LVU834 1131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2861 .loc 1 1131 1 is_stmt 0 view .LVU835 2862 00dc 38BD pop {r3, r4, r5, pc} 1131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2863 .loc 1 1131 1 view .LVU836 2864 .cfi_endproc 2865 .LFE344: 2867 .section .text.HAL_TIMEx_PWMN_Start,"ax",%progbits 2868 .align 1 2869 .global HAL_TIMEx_PWMN_Start 2870 .syntax unified 2871 .thumb 2872 .thumb_func 2874 HAL_TIMEx_PWMN_Start: 2875 .LVL188: 2876 .LFB345: 1168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 2877 .loc 1 1168 1 is_stmt 1 view -0 2878 .cfi_startproc 2879 @ args = 0, pretend = 0, frame = 0 2880 @ frame_needed = 0, uses_anonymous_args = 0 1168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 2881 .loc 1 1168 1 is_stmt 0 view .LVU838 2882 0000 10B5 push {r4, lr} 2883 .LCFI20: 2884 .cfi_def_cfa_offset 8 2885 .cfi_offset 4, -8 2886 .cfi_offset 14, -4 2887 0002 0446 mov r4, r0 1169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2888 .loc 1 1169 3 is_stmt 1 view .LVU839 1172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2889 .loc 1 1172 3 view .LVU840 1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { ARM GAS /tmp/ccdmQ4z9.s page 130 2890 .loc 1 1175 3 view .LVU841 1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2891 .loc 1 1175 46 is_stmt 0 view .LVU842 2892 0004 0846 mov r0, r1 2893 .LVL189: 1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2894 .loc 1 1175 46 view .LVU843 2895 0006 0029 cmp r1, #0 2896 0008 33D1 bne .L226 1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2897 .loc 1 1175 7 discriminator 1 view .LVU844 2898 000a 94F84430 ldrb r3, [r4, #68] @ zero_extendqisi2 2899 000e DBB2 uxtb r3, r3 1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2900 .loc 1 1175 46 discriminator 1 view .LVU845 2901 0010 013B subs r3, r3, #1 2902 0012 18BF it ne 2903 0014 0123 movne r3, #1 2904 .L227: 1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2905 .loc 1 1175 6 discriminator 12 view .LVU846 2906 0016 002B cmp r3, #0 2907 0018 62D1 bne .L237 1181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2908 .loc 1 1181 3 is_stmt 1 view .LVU847 2909 001a 0028 cmp r0, #0 2910 001c 42D1 bne .L231 1181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2911 .loc 1 1181 3 is_stmt 0 discriminator 1 view .LVU848 2912 001e 0223 movs r3, #2 2913 0020 84F84430 strb r3, [r4, #68] 2914 .L232: 1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2915 .loc 1 1184 3 is_stmt 1 view .LVU849 2916 0024 0422 movs r2, #4 2917 0026 0146 mov r1, r0 2918 .LVL190: 1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2919 .loc 1 1184 3 is_stmt 0 view .LVU850 2920 0028 2068 ldr r0, [r4] 2921 .LVL191: 1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2922 .loc 1 1184 3 view .LVU851 2923 002a FFF7FEFF bl TIM_CCxNChannelCmd 2924 .LVL192: 1187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2925 .loc 1 1187 3 is_stmt 1 view .LVU852 2926 002e 2268 ldr r2, [r4] 2927 0030 536C ldr r3, [r2, #68] 2928 0032 43F40043 orr r3, r3, #32768 2929 0036 5364 str r3, [r2, #68] 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2930 .loc 1 1190 3 view .LVU853 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2931 .loc 1 1190 7 is_stmt 0 view .LVU854 2932 0038 2368 ldr r3, [r4] 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { ARM GAS /tmp/ccdmQ4z9.s page 131 2933 .loc 1 1190 6 view .LVU855 2934 003a 2C4A ldr r2, .L245 2935 003c 9342 cmp r3, r2 2936 003e 41D0 beq .L235 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2937 .loc 1 1190 7 discriminator 1 view .LVU856 2938 0040 B3F1804F cmp r3, #1073741824 2939 0044 3ED0 beq .L235 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2940 .loc 1 1190 7 discriminator 2 view .LVU857 2941 0046 A2F59432 sub r2, r2, #75776 2942 004a 9342 cmp r3, r2 2943 004c 3AD0 beq .L235 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2944 .loc 1 1190 7 discriminator 3 view .LVU858 2945 004e 02F58062 add r2, r2, #1024 2946 0052 9342 cmp r3, r2 2947 0054 36D0 beq .L235 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2948 .loc 1 1190 7 discriminator 4 view .LVU859 2949 0056 02F59632 add r2, r2, #76800 2950 005a 9342 cmp r3, r2 2951 005c 32D0 beq .L235 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2952 .loc 1 1190 7 discriminator 5 view .LVU860 2953 005e 02F54062 add r2, r2, #3072 2954 0062 9342 cmp r3, r2 2955 0064 2ED0 beq .L235 1200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2956 .loc 1 1200 5 is_stmt 1 view .LVU861 2957 0066 1A68 ldr r2, [r3] 2958 0068 42F00102 orr r2, r2, #1 2959 006c 1A60 str r2, [r3] 1204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 2960 .loc 1 1204 10 is_stmt 0 view .LVU862 2961 006e 0020 movs r0, #0 2962 0070 37E0 b .L230 2963 .LVL193: 2964 .L226: 1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2965 .loc 1 1175 46 discriminator 2 view .LVU863 2966 0072 0429 cmp r1, #4 2967 0074 08D0 beq .L241 1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2968 .loc 1 1175 46 discriminator 5 view .LVU864 2969 0076 0829 cmp r1, #8 2970 0078 0DD0 beq .L242 1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2971 .loc 1 1175 7 discriminator 8 view .LVU865 2972 007a 94F84730 ldrb r3, [r4, #71] @ zero_extendqisi2 2973 007e DBB2 uxtb r3, r3 1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2974 .loc 1 1175 46 discriminator 8 view .LVU866 2975 0080 013B subs r3, r3, #1 2976 0082 18BF it ne 2977 0084 0123 movne r3, #1 2978 0086 C6E7 b .L227 ARM GAS /tmp/ccdmQ4z9.s page 132 2979 .L241: 1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2980 .loc 1 1175 7 discriminator 4 view .LVU867 2981 0088 94F84530 ldrb r3, [r4, #69] @ zero_extendqisi2 2982 008c DBB2 uxtb r3, r3 1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2983 .loc 1 1175 46 discriminator 4 view .LVU868 2984 008e 013B subs r3, r3, #1 2985 0090 18BF it ne 2986 0092 0123 movne r3, #1 2987 0094 BFE7 b .L227 2988 .L242: 1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2989 .loc 1 1175 7 discriminator 7 view .LVU869 2990 0096 94F84630 ldrb r3, [r4, #70] @ zero_extendqisi2 2991 009a DBB2 uxtb r3, r3 1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 2992 .loc 1 1175 46 discriminator 7 view .LVU870 2993 009c 013B subs r3, r3, #1 2994 009e 18BF it ne 2995 00a0 0123 movne r3, #1 2996 00a2 B8E7 b .L227 2997 .L231: 1181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 2998 .loc 1 1181 3 discriminator 2 view .LVU871 2999 00a4 0428 cmp r0, #4 3000 00a6 05D0 beq .L243 1181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3001 .loc 1 1181 3 discriminator 4 view .LVU872 3002 00a8 0828 cmp r0, #8 3003 00aa 07D0 beq .L244 1181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3004 .loc 1 1181 3 discriminator 7 view .LVU873 3005 00ac 0223 movs r3, #2 3006 00ae 84F84730 strb r3, [r4, #71] 3007 00b2 B7E7 b .L232 3008 .L243: 1181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3009 .loc 1 1181 3 discriminator 3 view .LVU874 3010 00b4 0223 movs r3, #2 3011 00b6 84F84530 strb r3, [r4, #69] 3012 00ba B3E7 b .L232 3013 .L244: 1181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3014 .loc 1 1181 3 discriminator 6 view .LVU875 3015 00bc 0223 movs r3, #2 3016 00be 84F84630 strb r3, [r4, #70] 3017 00c2 AFE7 b .L232 3018 .LVL194: 3019 .L235: 1192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 3020 .loc 1 1192 5 is_stmt 1 view .LVU876 1192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 3021 .loc 1 1192 29 is_stmt 0 view .LVU877 3022 00c4 9968 ldr r1, [r3, #8] 1192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 3023 .loc 1 1192 13 view .LVU878 ARM GAS /tmp/ccdmQ4z9.s page 133 3024 00c6 0A4A ldr r2, .L245+4 3025 00c8 0A40 ands r2, r2, r1 3026 .LVL195: 1193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3027 .loc 1 1193 5 is_stmt 1 view .LVU879 1193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3028 .loc 1 1193 8 is_stmt 0 view .LVU880 3029 00ca 062A cmp r2, #6 3030 00cc 0AD0 beq .L238 1193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3031 .loc 1 1193 9 discriminator 1 view .LVU881 3032 00ce B2F5803F cmp r2, #65536 3033 00d2 09D0 beq .L239 1195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3034 .loc 1 1195 7 is_stmt 1 view .LVU882 3035 00d4 1A68 ldr r2, [r3] 3036 .LVL196: 1195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3037 .loc 1 1195 7 is_stmt 0 view .LVU883 3038 00d6 42F00102 orr r2, r2, #1 3039 00da 1A60 str r2, [r3] 1204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3040 .loc 1 1204 10 view .LVU884 3041 00dc 0020 movs r0, #0 3042 00de 00E0 b .L230 3043 .LVL197: 3044 .L237: 1177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3045 .loc 1 1177 12 view .LVU885 3046 00e0 0120 movs r0, #1 3047 .LVL198: 3048 .L230: 1205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3049 .loc 1 1205 1 view .LVU886 3050 00e2 10BD pop {r4, pc} 3051 .LVL199: 3052 .L238: 1204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3053 .loc 1 1204 10 view .LVU887 3054 00e4 0020 movs r0, #0 3055 00e6 FCE7 b .L230 3056 .L239: 3057 00e8 0020 movs r0, #0 3058 00ea FAE7 b .L230 3059 .L246: 3060 .align 2 3061 .L245: 3062 00ec 002C0140 .word 1073818624 3063 00f0 07000100 .word 65543 3064 .cfi_endproc 3065 .LFE345: 3067 .section .text.HAL_TIMEx_PWMN_Stop,"ax",%progbits 3068 .align 1 3069 .global HAL_TIMEx_PWMN_Stop 3070 .syntax unified 3071 .thumb 3072 .thumb_func ARM GAS /tmp/ccdmQ4z9.s page 134 3074 HAL_TIMEx_PWMN_Stop: 3075 .LVL200: 3076 .LFB346: 1219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3077 .loc 1 1219 1 is_stmt 1 view -0 3078 .cfi_startproc 3079 @ args = 0, pretend = 0, frame = 0 3080 @ frame_needed = 0, uses_anonymous_args = 0 1219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 3081 .loc 1 1219 1 is_stmt 0 view .LVU889 3082 0000 38B5 push {r3, r4, r5, lr} 3083 .LCFI21: 3084 .cfi_def_cfa_offset 16 3085 .cfi_offset 3, -16 3086 .cfi_offset 4, -12 3087 .cfi_offset 5, -8 3088 .cfi_offset 14, -4 3089 0002 0446 mov r4, r0 3090 0004 0D46 mov r5, r1 1221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3091 .loc 1 1221 3 is_stmt 1 view .LVU890 1224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3092 .loc 1 1224 3 view .LVU891 3093 0006 0022 movs r2, #0 3094 0008 0068 ldr r0, [r0] 3095 .LVL201: 1224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3096 .loc 1 1224 3 is_stmt 0 view .LVU892 3097 000a FFF7FEFF bl TIM_CCxNChannelCmd 3098 .LVL202: 1227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3099 .loc 1 1227 3 is_stmt 1 view .LVU893 1227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3100 .loc 1 1227 3 view .LVU894 3101 000e 2368 ldr r3, [r4] 3102 0010 196A ldr r1, [r3, #32] 3103 0012 41F21112 movw r2, #4369 3104 0016 1142 tst r1, r2 3105 0018 08D1 bne .L248 1227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3106 .loc 1 1227 3 discriminator 1 view .LVU895 3107 001a 196A ldr r1, [r3, #32] 3108 001c 44F24442 movw r2, #17476 3109 0020 1142 tst r1, r2 3110 0022 03D1 bne .L248 1227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3111 .loc 1 1227 3 discriminator 3 view .LVU896 3112 0024 5A6C ldr r2, [r3, #68] 3113 0026 22F40042 bic r2, r2, #32768 3114 002a 5A64 str r2, [r3, #68] 3115 .L248: 1227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3116 .loc 1 1227 3 discriminator 5 view .LVU897 1230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3117 .loc 1 1230 3 view .LVU898 1230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3118 .loc 1 1230 3 view .LVU899 ARM GAS /tmp/ccdmQ4z9.s page 135 3119 002c 2368 ldr r3, [r4] 3120 002e 196A ldr r1, [r3, #32] 3121 0030 41F21112 movw r2, #4369 3122 0034 1142 tst r1, r2 3123 0036 08D1 bne .L249 1230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3124 .loc 1 1230 3 discriminator 1 view .LVU900 3125 0038 196A ldr r1, [r3, #32] 3126 003a 44F24442 movw r2, #17476 3127 003e 1142 tst r1, r2 3128 0040 03D1 bne .L249 1230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3129 .loc 1 1230 3 discriminator 3 view .LVU901 3130 0042 1A68 ldr r2, [r3] 3131 0044 22F00102 bic r2, r2, #1 3132 0048 1A60 str r2, [r3] 3133 .L249: 1230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3134 .loc 1 1230 3 discriminator 5 view .LVU902 1233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3135 .loc 1 1233 3 view .LVU903 3136 004a 25B9 cbnz r5, .L250 1233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3137 .loc 1 1233 3 is_stmt 0 discriminator 1 view .LVU904 3138 004c 0123 movs r3, #1 3139 004e 84F84430 strb r3, [r4, #68] 3140 .L251: 1236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3141 .loc 1 1236 3 is_stmt 1 view .LVU905 1237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3142 .loc 1 1237 1 is_stmt 0 view .LVU906 3143 0052 0020 movs r0, #0 3144 0054 38BD pop {r3, r4, r5, pc} 3145 .LVL203: 3146 .L250: 1233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3147 .loc 1 1233 3 discriminator 2 view .LVU907 3148 0056 042D cmp r5, #4 3149 0058 05D0 beq .L255 1233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3150 .loc 1 1233 3 discriminator 4 view .LVU908 3151 005a 082D cmp r5, #8 3152 005c 07D0 beq .L256 1233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3153 .loc 1 1233 3 discriminator 7 view .LVU909 3154 005e 0123 movs r3, #1 3155 0060 84F84730 strb r3, [r4, #71] 3156 0064 F5E7 b .L251 3157 .L255: 1233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3158 .loc 1 1233 3 discriminator 3 view .LVU910 3159 0066 0123 movs r3, #1 3160 0068 84F84530 strb r3, [r4, #69] 3161 006c F1E7 b .L251 3162 .L256: 1233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3163 .loc 1 1233 3 discriminator 6 view .LVU911 ARM GAS /tmp/ccdmQ4z9.s page 136 3164 006e 0123 movs r3, #1 3165 0070 84F84630 strb r3, [r4, #70] 3166 0074 EDE7 b .L251 3167 .cfi_endproc 3168 .LFE346: 3170 .section .text.HAL_TIMEx_PWMN_Start_IT,"ax",%progbits 3171 .align 1 3172 .global HAL_TIMEx_PWMN_Start_IT 3173 .syntax unified 3174 .thumb 3175 .thumb_func 3177 HAL_TIMEx_PWMN_Start_IT: 3178 .LVL204: 3179 .LFB347: 1252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 3180 .loc 1 1252 1 is_stmt 1 view -0 3181 .cfi_startproc 3182 @ args = 0, pretend = 0, frame = 0 3183 @ frame_needed = 0, uses_anonymous_args = 0 1252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 3184 .loc 1 1252 1 is_stmt 0 view .LVU913 3185 0000 10B5 push {r4, lr} 3186 .LCFI22: 3187 .cfi_def_cfa_offset 8 3188 .cfi_offset 4, -8 3189 .cfi_offset 14, -4 3190 0002 0446 mov r4, r0 1253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 3191 .loc 1 1253 3 is_stmt 1 view .LVU914 3192 .LVL205: 1254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3193 .loc 1 1254 3 view .LVU915 1257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3194 .loc 1 1257 3 view .LVU916 1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3195 .loc 1 1260 3 view .LVU917 1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3196 .loc 1 1260 46 is_stmt 0 view .LVU918 3197 0004 0846 mov r0, r1 3198 .LVL206: 1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3199 .loc 1 1260 46 view .LVU919 3200 0006 0029 cmp r1, #0 3201 0008 3ED1 bne .L258 1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3202 .loc 1 1260 7 discriminator 1 view .LVU920 3203 000a 94F84430 ldrb r3, [r4, #68] @ zero_extendqisi2 3204 000e DBB2 uxtb r3, r3 1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3205 .loc 1 1260 46 discriminator 1 view .LVU921 3206 0010 013B subs r3, r3, #1 3207 0012 18BF it ne 3208 0014 0123 movne r3, #1 3209 .L259: 1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3210 .loc 1 1260 6 discriminator 12 view .LVU922 3211 0016 002B cmp r3, #0 ARM GAS /tmp/ccdmQ4z9.s page 137 3212 0018 40F09C80 bne .L274 1266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3213 .loc 1 1266 3 is_stmt 1 view .LVU923 3214 001c 0028 cmp r0, #0 3215 001e 4CD1 bne .L263 1266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3216 .loc 1 1266 3 is_stmt 0 discriminator 1 view .LVU924 3217 0020 0223 movs r3, #2 3218 0022 84F84430 strb r3, [r4, #68] 1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3219 .loc 1 1268 3 is_stmt 1 view .LVU925 3220 .L264: 1273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 3221 .loc 1 1273 7 view .LVU926 3222 0026 2268 ldr r2, [r4] 3223 0028 D368 ldr r3, [r2, #12] 3224 002a 43F00203 orr r3, r3, #2 3225 002e D360 str r3, [r2, #12] 1274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3226 .loc 1 1274 7 view .LVU927 1303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3227 .loc 1 1303 3 view .LVU928 3228 .L271: 1306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3229 .loc 1 1306 5 view .LVU929 3230 0030 2268 ldr r2, [r4] 3231 0032 D368 ldr r3, [r2, #12] 3232 0034 43F08003 orr r3, r3, #128 3233 0038 D360 str r3, [r2, #12] 1309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3234 .loc 1 1309 5 view .LVU930 3235 003a 0422 movs r2, #4 3236 003c 0146 mov r1, r0 3237 .LVL207: 1309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3238 .loc 1 1309 5 is_stmt 0 view .LVU931 3239 003e 2068 ldr r0, [r4] 3240 .LVL208: 1309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3241 .loc 1 1309 5 view .LVU932 3242 0040 FFF7FEFF bl TIM_CCxNChannelCmd 3243 .LVL209: 1312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3244 .loc 1 1312 5 is_stmt 1 view .LVU933 3245 0044 2268 ldr r2, [r4] 3246 0046 536C ldr r3, [r2, #68] 3247 0048 43F40043 orr r3, r3, #32768 3248 004c 5364 str r3, [r2, #68] 1315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3249 .loc 1 1315 5 view .LVU934 1315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3250 .loc 1 1315 9 is_stmt 0 view .LVU935 3251 004e 2368 ldr r3, [r4] 1315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3252 .loc 1 1315 8 view .LVU936 3253 0050 444A ldr r2, .L286 3254 0052 9342 cmp r3, r2 ARM GAS /tmp/ccdmQ4z9.s page 138 3255 0054 70D0 beq .L272 1315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3256 .loc 1 1315 9 discriminator 1 view .LVU937 3257 0056 B3F1804F cmp r3, #1073741824 3258 005a 6DD0 beq .L272 1315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3259 .loc 1 1315 9 discriminator 2 view .LVU938 3260 005c A2F59432 sub r2, r2, #75776 3261 0060 9342 cmp r3, r2 3262 0062 69D0 beq .L272 1315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3263 .loc 1 1315 9 discriminator 3 view .LVU939 3264 0064 02F58062 add r2, r2, #1024 3265 0068 9342 cmp r3, r2 3266 006a 65D0 beq .L272 1315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3267 .loc 1 1315 9 discriminator 4 view .LVU940 3268 006c 02F59632 add r2, r2, #76800 3269 0070 9342 cmp r3, r2 3270 0072 61D0 beq .L272 1315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3271 .loc 1 1315 9 discriminator 5 view .LVU941 3272 0074 02F54062 add r2, r2, #3072 3273 0078 9342 cmp r3, r2 3274 007a 5DD0 beq .L272 1325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3275 .loc 1 1325 7 is_stmt 1 view .LVU942 3276 007c 1A68 ldr r2, [r3] 3277 007e 42F00102 orr r2, r2, #1 3278 0082 1A60 str r2, [r3] 3279 0084 0020 movs r0, #0 3280 0086 66E0 b .L262 3281 .LVL210: 3282 .L258: 1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3283 .loc 1 1260 46 is_stmt 0 discriminator 2 view .LVU943 3284 0088 0429 cmp r1, #4 3285 008a 08D0 beq .L282 1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3286 .loc 1 1260 46 discriminator 5 view .LVU944 3287 008c 0829 cmp r1, #8 3288 008e 0DD0 beq .L283 1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3289 .loc 1 1260 7 discriminator 8 view .LVU945 3290 0090 94F84730 ldrb r3, [r4, #71] @ zero_extendqisi2 3291 0094 DBB2 uxtb r3, r3 1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3292 .loc 1 1260 46 discriminator 8 view .LVU946 3293 0096 013B subs r3, r3, #1 3294 0098 18BF it ne 3295 009a 0123 movne r3, #1 3296 009c BBE7 b .L259 3297 .L282: 1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3298 .loc 1 1260 7 discriminator 4 view .LVU947 3299 009e 94F84530 ldrb r3, [r4, #69] @ zero_extendqisi2 3300 00a2 DBB2 uxtb r3, r3 ARM GAS /tmp/ccdmQ4z9.s page 139 1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3301 .loc 1 1260 46 discriminator 4 view .LVU948 3302 00a4 013B subs r3, r3, #1 3303 00a6 18BF it ne 3304 00a8 0123 movne r3, #1 3305 00aa B4E7 b .L259 3306 .L283: 1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3307 .loc 1 1260 7 discriminator 7 view .LVU949 3308 00ac 94F84630 ldrb r3, [r4, #70] @ zero_extendqisi2 3309 00b0 DBB2 uxtb r3, r3 1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3310 .loc 1 1260 46 discriminator 7 view .LVU950 3311 00b2 013B subs r3, r3, #1 3312 00b4 18BF it ne 3313 00b6 0123 movne r3, #1 3314 00b8 ADE7 b .L259 3315 .L263: 1266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3316 .loc 1 1266 3 discriminator 2 view .LVU951 3317 00ba 0428 cmp r0, #4 3318 00bc 24D0 beq .L284 1266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3319 .loc 1 1266 3 discriminator 4 view .LVU952 3320 00be 0828 cmp r0, #8 3321 00c0 2BD0 beq .L285 1266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3322 .loc 1 1266 3 discriminator 7 view .LVU953 3323 00c2 0223 movs r3, #2 3324 00c4 84F84730 strb r3, [r4, #71] 1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3325 .loc 1 1268 3 is_stmt 1 view .LVU954 3326 00c8 0C28 cmp r0, #12 3327 00ca 45D8 bhi .L275 3328 00cc 01A3 adr r3, .L270 3329 00ce 53F820F0 ldr pc, [r3, r0, lsl #2] 3330 00d2 00BF .p2align 2 3331 .L270: 3332 00d4 27000000 .word .L264+1 3333 00d8 59010000 .word .L275+1 3334 00dc 59010000 .word .L275+1 3335 00e0 59010000 .word .L275+1 3336 00e4 0F010000 .word .L266+1 3337 00e8 59010000 .word .L275+1 3338 00ec 59010000 .word .L275+1 3339 00f0 59010000 .word .L275+1 3340 00f4 21010000 .word .L268+1 3341 00f8 59010000 .word .L275+1 3342 00fc 59010000 .word .L275+1 3343 0100 59010000 .word .L275+1 3344 0104 2D010000 .word .L269+1 3345 .p2align 1 3346 .L284: 1266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3347 .loc 1 1266 3 is_stmt 0 discriminator 3 view .LVU955 3348 0108 0223 movs r3, #2 3349 010a 84F84530 strb r3, [r4, #69] ARM GAS /tmp/ccdmQ4z9.s page 140 1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3350 .loc 1 1268 3 is_stmt 1 view .LVU956 3351 .L266: 1280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 3352 .loc 1 1280 7 view .LVU957 3353 010e 2268 ldr r2, [r4] 3354 0110 D368 ldr r3, [r2, #12] 3355 0112 43F00403 orr r3, r3, #4 3356 0116 D360 str r3, [r2, #12] 1281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3357 .loc 1 1281 7 view .LVU958 1303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3358 .loc 1 1303 3 view .LVU959 3359 0118 8AE7 b .L271 3360 .L285: 1266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3361 .loc 1 1266 3 is_stmt 0 discriminator 6 view .LVU960 3362 011a 0223 movs r3, #2 3363 011c 84F84630 strb r3, [r4, #70] 1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3364 .loc 1 1268 3 is_stmt 1 view .LVU961 3365 .L268: 1287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 3366 .loc 1 1287 7 view .LVU962 3367 0120 2268 ldr r2, [r4] 3368 0122 D368 ldr r3, [r2, #12] 3369 0124 43F00803 orr r3, r3, #8 3370 0128 D360 str r3, [r2, #12] 1288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3371 .loc 1 1288 7 view .LVU963 1303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3372 .loc 1 1303 3 view .LVU964 3373 012a 81E7 b .L271 3374 .L269: 1294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 3375 .loc 1 1294 7 view .LVU965 3376 012c 2268 ldr r2, [r4] 3377 012e D368 ldr r3, [r2, #12] 3378 0130 43F01003 orr r3, r3, #16 3379 0134 D360 str r3, [r2, #12] 1295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3380 .loc 1 1295 7 view .LVU966 1303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3381 .loc 1 1303 3 view .LVU967 3382 0136 7BE7 b .L271 3383 .LVL211: 3384 .L272: 1317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 3385 .loc 1 1317 7 view .LVU968 1317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 3386 .loc 1 1317 31 is_stmt 0 view .LVU969 3387 0138 9968 ldr r1, [r3, #8] 1317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 3388 .loc 1 1317 15 view .LVU970 3389 013a 0B4A ldr r2, .L286+4 3390 013c 0A40 ands r2, r2, r1 3391 .LVL212: ARM GAS /tmp/ccdmQ4z9.s page 141 1318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3392 .loc 1 1318 7 is_stmt 1 view .LVU971 1318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3393 .loc 1 1318 10 is_stmt 0 view .LVU972 3394 013e 062A cmp r2, #6 3395 0140 0CD0 beq .L276 1318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3396 .loc 1 1318 11 discriminator 1 view .LVU973 3397 0142 B2F5803F cmp r2, #65536 3398 0146 0BD0 beq .L277 1320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3399 .loc 1 1320 9 is_stmt 1 view .LVU974 3400 0148 1A68 ldr r2, [r3] 3401 .LVL213: 1320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3402 .loc 1 1320 9 is_stmt 0 view .LVU975 3403 014a 42F00102 orr r2, r2, #1 3404 014e 1A60 str r2, [r3] 3405 0150 0020 movs r0, #0 3406 0152 00E0 b .L262 3407 .LVL214: 3408 .L274: 1262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3409 .loc 1 1262 12 view .LVU976 3410 0154 0120 movs r0, #1 3411 .LVL215: 3412 .L262: 1331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3413 .loc 1 1331 1 view .LVU977 3414 0156 10BD pop {r4, pc} 3415 .LVL216: 3416 .L275: 1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3417 .loc 1 1268 3 view .LVU978 3418 0158 0120 movs r0, #1 3419 .LVL217: 1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3420 .loc 1 1268 3 view .LVU979 3421 015a FCE7 b .L262 3422 .LVL218: 3423 .L276: 1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3424 .loc 1 1268 3 view .LVU980 3425 015c 0020 movs r0, #0 3426 015e FAE7 b .L262 3427 .L277: 3428 0160 0020 movs r0, #0 3429 0162 F8E7 b .L262 3430 .L287: 3431 .align 2 3432 .L286: 3433 0164 002C0140 .word 1073818624 3434 0168 07000100 .word 65543 3435 .cfi_endproc 3436 .LFE347: 3438 .section .text.HAL_TIMEx_PWMN_Stop_IT,"ax",%progbits 3439 .align 1 ARM GAS /tmp/ccdmQ4z9.s page 142 3440 .global HAL_TIMEx_PWMN_Stop_IT 3441 .syntax unified 3442 .thumb 3443 .thumb_func 3445 HAL_TIMEx_PWMN_Stop_IT: 3446 .LVL219: 3447 .LFB348: 1346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 3448 .loc 1 1346 1 is_stmt 1 view -0 3449 .cfi_startproc 3450 @ args = 0, pretend = 0, frame = 0 3451 @ frame_needed = 0, uses_anonymous_args = 0 1346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 3452 .loc 1 1346 1 is_stmt 0 view .LVU982 3453 0000 38B5 push {r3, r4, r5, lr} 3454 .LCFI23: 3455 .cfi_def_cfa_offset 16 3456 .cfi_offset 3, -16 3457 .cfi_offset 4, -12 3458 .cfi_offset 5, -8 3459 .cfi_offset 14, -4 3460 0002 0446 mov r4, r0 3461 0004 0D46 mov r5, r1 1347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpccer; 3462 .loc 1 1347 3 is_stmt 1 view .LVU983 3463 .LVL220: 1348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3464 .loc 1 1348 3 view .LVU984 1351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3465 .loc 1 1351 3 view .LVU985 1353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3466 .loc 1 1353 3 view .LVU986 3467 0006 0C29 cmp r1, #12 3468 0008 65D8 bhi .L302 3469 000a DFE801F0 tbb [pc, r1] 3470 .L291: 3471 000e 07 .byte (.L294-.L291)/2 3472 000f 64 .byte (.L302-.L291)/2 3473 0010 64 .byte (.L302-.L291)/2 3474 0011 64 .byte (.L302-.L291)/2 3475 0012 3F .byte (.L293-.L291)/2 3476 0013 64 .byte (.L302-.L291)/2 3477 0014 64 .byte (.L302-.L291)/2 3478 0015 64 .byte (.L302-.L291)/2 3479 0016 45 .byte (.L292-.L291)/2 3480 0017 64 .byte (.L302-.L291)/2 3481 0018 64 .byte (.L302-.L291)/2 3482 0019 64 .byte (.L302-.L291)/2 3483 001a 4B .byte (.L290-.L291)/2 3484 001b 00 .p2align 1 3485 .L294: 1358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 3486 .loc 1 1358 7 view .LVU987 3487 001c 0268 ldr r2, [r0] 3488 001e D368 ldr r3, [r2, #12] 3489 0020 23F00203 bic r3, r3, #2 3490 0024 D360 str r3, [r2, #12] ARM GAS /tmp/ccdmQ4z9.s page 143 1359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3491 .loc 1 1359 7 view .LVU988 1388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3492 .loc 1 1388 3 view .LVU989 3493 .L295: 1391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3494 .loc 1 1391 5 view .LVU990 3495 0026 0022 movs r2, #0 3496 0028 2946 mov r1, r5 3497 .LVL221: 1391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3498 .loc 1 1391 5 is_stmt 0 view .LVU991 3499 002a 2068 ldr r0, [r4] 3500 .LVL222: 1391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3501 .loc 1 1391 5 view .LVU992 3502 002c FFF7FEFF bl TIM_CCxNChannelCmd 3503 .LVL223: 1394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & TIM_CCER_CCxNE_MASK) == (uint32_t)RESET) 3504 .loc 1 1394 5 is_stmt 1 view .LVU993 1394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & TIM_CCER_CCxNE_MASK) == (uint32_t)RESET) 3505 .loc 1 1394 19 is_stmt 0 view .LVU994 3506 0030 2368 ldr r3, [r4] 1394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & TIM_CCER_CCxNE_MASK) == (uint32_t)RESET) 3507 .loc 1 1394 13 view .LVU995 3508 0032 196A ldr r1, [r3, #32] 3509 .LVL224: 1395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3510 .loc 1 1395 5 is_stmt 1 view .LVU996 1395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3511 .loc 1 1395 8 is_stmt 0 view .LVU997 3512 0034 44F24442 movw r2, #17476 3513 0038 1142 tst r1, r2 3514 003a 03D1 bne .L296 1397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3515 .loc 1 1397 7 is_stmt 1 view .LVU998 3516 003c DA68 ldr r2, [r3, #12] 3517 003e 22F08002 bic r2, r2, #128 3518 0042 DA60 str r2, [r3, #12] 3519 .L296: 1401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3520 .loc 1 1401 5 view .LVU999 1401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3521 .loc 1 1401 5 view .LVU1000 3522 0044 2368 ldr r3, [r4] 3523 0046 196A ldr r1, [r3, #32] 3524 .LVL225: 1401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3525 .loc 1 1401 5 is_stmt 0 view .LVU1001 3526 0048 41F21112 movw r2, #4369 3527 004c 1142 tst r1, r2 3528 004e 08D1 bne .L297 1401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3529 .loc 1 1401 5 is_stmt 1 discriminator 1 view .LVU1002 3530 0050 196A ldr r1, [r3, #32] 3531 0052 44F24442 movw r2, #17476 3532 0056 1142 tst r1, r2 ARM GAS /tmp/ccdmQ4z9.s page 144 3533 0058 03D1 bne .L297 1401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3534 .loc 1 1401 5 discriminator 3 view .LVU1003 3535 005a 5A6C ldr r2, [r3, #68] 3536 005c 22F40042 bic r2, r2, #32768 3537 0060 5A64 str r2, [r3, #68] 3538 .L297: 1401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3539 .loc 1 1401 5 discriminator 5 view .LVU1004 1404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3540 .loc 1 1404 5 view .LVU1005 1404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3541 .loc 1 1404 5 view .LVU1006 3542 0062 2368 ldr r3, [r4] 3543 0064 196A ldr r1, [r3, #32] 3544 0066 41F21112 movw r2, #4369 3545 006a 1142 tst r1, r2 3546 006c 08D1 bne .L298 1404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3547 .loc 1 1404 5 discriminator 1 view .LVU1007 3548 006e 196A ldr r1, [r3, #32] 3549 0070 44F24442 movw r2, #17476 3550 0074 1142 tst r1, r2 3551 0076 03D1 bne .L298 1404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3552 .loc 1 1404 5 discriminator 3 view .LVU1008 3553 0078 1A68 ldr r2, [r3] 3554 007a 22F00102 bic r2, r2, #1 3555 007e 1A60 str r2, [r3] 3556 .L298: 1404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3557 .loc 1 1404 5 discriminator 5 view .LVU1009 1407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3558 .loc 1 1407 5 view .LVU1010 3559 0080 B5B9 cbnz r5, .L299 1407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3560 .loc 1 1407 5 is_stmt 0 discriminator 1 view .LVU1011 3561 0082 0123 movs r3, #1 3562 0084 84F84430 strb r3, [r4, #68] 3563 0088 0020 movs r0, #0 3564 008a 25E0 b .L289 3565 .LVL226: 3566 .L293: 1365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 3567 .loc 1 1365 7 is_stmt 1 view .LVU1012 3568 008c 0268 ldr r2, [r0] 3569 008e D368 ldr r3, [r2, #12] 3570 0090 23F00403 bic r3, r3, #4 3571 0094 D360 str r3, [r2, #12] 1366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3572 .loc 1 1366 7 view .LVU1013 1388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3573 .loc 1 1388 3 view .LVU1014 3574 0096 C6E7 b .L295 3575 .L292: 1372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 3576 .loc 1 1372 7 view .LVU1015 ARM GAS /tmp/ccdmQ4z9.s page 145 3577 0098 0268 ldr r2, [r0] 3578 009a D368 ldr r3, [r2, #12] 3579 009c 23F00803 bic r3, r3, #8 3580 00a0 D360 str r3, [r2, #12] 1373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3581 .loc 1 1373 7 view .LVU1016 1388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3582 .loc 1 1388 3 view .LVU1017 3583 00a2 C0E7 b .L295 3584 .L290: 1379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 3585 .loc 1 1379 7 view .LVU1018 3586 00a4 0268 ldr r2, [r0] 3587 00a6 D368 ldr r3, [r2, #12] 3588 00a8 23F01003 bic r3, r3, #16 3589 00ac D360 str r3, [r2, #12] 1380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3590 .loc 1 1380 7 view .LVU1019 1388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3591 .loc 1 1388 3 view .LVU1020 3592 00ae BAE7 b .L295 3593 .LVL227: 3594 .L299: 1407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3595 .loc 1 1407 5 is_stmt 0 discriminator 2 view .LVU1021 3596 00b0 042D cmp r5, #4 3597 00b2 06D0 beq .L304 1407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3598 .loc 1 1407 5 discriminator 4 view .LVU1022 3599 00b4 082D cmp r5, #8 3600 00b6 09D0 beq .L305 1407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3601 .loc 1 1407 5 discriminator 7 view .LVU1023 3602 00b8 0123 movs r3, #1 3603 00ba 84F84730 strb r3, [r4, #71] 3604 00be 0020 movs r0, #0 3605 00c0 0AE0 b .L289 3606 .L304: 1407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3607 .loc 1 1407 5 discriminator 3 view .LVU1024 3608 00c2 0123 movs r3, #1 3609 00c4 84F84530 strb r3, [r4, #69] 3610 00c8 0020 movs r0, #0 3611 00ca 05E0 b .L289 3612 .L305: 1407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3613 .loc 1 1407 5 discriminator 6 view .LVU1025 3614 00cc 0123 movs r3, #1 3615 00ce 84F84630 strb r3, [r4, #70] 3616 00d2 0020 movs r0, #0 3617 00d4 00E0 b .L289 3618 .LVL228: 3619 .L302: 1353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3620 .loc 1 1353 3 view .LVU1026 3621 00d6 0120 movs r0, #1 3622 .LVL229: ARM GAS /tmp/ccdmQ4z9.s page 146 3623 .L289: 1411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3624 .loc 1 1411 3 is_stmt 1 view .LVU1027 1412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3625 .loc 1 1412 1 is_stmt 0 view .LVU1028 3626 00d8 38BD pop {r3, r4, r5, pc} 1412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3627 .loc 1 1412 1 view .LVU1029 3628 .cfi_endproc 3629 .LFE348: 3631 .section .text.HAL_TIMEx_PWMN_Start_DMA,"ax",%progbits 3632 .align 1 3633 .global HAL_TIMEx_PWMN_Start_DMA 3634 .syntax unified 3635 .thumb 3636 .thumb_func 3638 HAL_TIMEx_PWMN_Start_DMA: 3639 .LVL230: 3640 .LFB349: 1430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 3641 .loc 1 1430 1 is_stmt 1 view -0 3642 .cfi_startproc 3643 @ args = 0, pretend = 0, frame = 0 3644 @ frame_needed = 0, uses_anonymous_args = 0 1430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 3645 .loc 1 1430 1 is_stmt 0 view .LVU1031 3646 0000 70B5 push {r4, r5, r6, lr} 3647 .LCFI24: 3648 .cfi_def_cfa_offset 16 3649 .cfi_offset 4, -16 3650 .cfi_offset 5, -12 3651 .cfi_offset 6, -8 3652 .cfi_offset 14, -4 3653 0002 0446 mov r4, r0 3654 0004 1646 mov r6, r2 1431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 3655 .loc 1 1431 3 is_stmt 1 view .LVU1032 3656 .LVL231: 1432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3657 .loc 1 1432 3 view .LVU1033 1435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3658 .loc 1 1435 3 view .LVU1034 1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3659 .loc 1 1438 3 view .LVU1035 1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3660 .loc 1 1438 46 is_stmt 0 view .LVU1036 3661 0006 0D46 mov r5, r1 3662 0008 0029 cmp r1, #0 3663 000a 64D1 bne .L307 1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3664 .loc 1 1438 7 discriminator 1 view .LVU1037 3665 000c 90F84400 ldrb r0, [r0, #68] @ zero_extendqisi2 3666 .LVL232: 1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3667 .loc 1 1438 7 discriminator 1 view .LVU1038 3668 0010 C0B2 uxtb r0, r0 1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { ARM GAS /tmp/ccdmQ4z9.s page 147 3669 .loc 1 1438 46 discriminator 1 view .LVU1039 3670 0012 0228 cmp r0, #2 3671 0014 14BF ite ne 3672 0016 0020 movne r0, #0 3673 0018 0120 moveq r0, #1 3674 .L308: 1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3675 .loc 1 1438 6 discriminator 12 view .LVU1040 3676 001a 0028 cmp r0, #0 3677 001c 40F01281 bne .L327 1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3678 .loc 1 1442 8 is_stmt 1 view .LVU1041 1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3679 .loc 1 1442 51 is_stmt 0 view .LVU1042 3680 0020 002D cmp r5, #0 3681 0022 74D1 bne .L312 1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3682 .loc 1 1442 12 discriminator 1 view .LVU1043 3683 0024 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2 3684 .LVL233: 1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3685 .loc 1 1442 12 discriminator 1 view .LVU1044 3686 0028 D2B2 uxtb r2, r2 1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3687 .loc 1 1442 51 discriminator 1 view .LVU1045 3688 002a 012A cmp r2, #1 3689 002c 14BF ite ne 3690 002e 0022 movne r2, #0 3691 0030 0122 moveq r2, #1 3692 .L313: 1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3693 .loc 1 1442 11 discriminator 12 view .LVU1046 3694 0032 002A cmp r2, #0 3695 0034 00F00881 beq .L328 1444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3696 .loc 1 1444 5 is_stmt 1 view .LVU1047 1444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3697 .loc 1 1444 8 is_stmt 0 view .LVU1048 3698 0038 002E cmp r6, #0 3699 003a 00F00781 beq .L329 1444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3700 .loc 1 1444 25 discriminator 1 view .LVU1049 3701 003e 002B cmp r3, #0 3702 0040 00F00681 beq .L330 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3703 .loc 1 1450 7 is_stmt 1 view .LVU1050 3704 0044 002D cmp r5, #0 3705 0046 7ED1 bne .L316 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3706 .loc 1 1450 7 is_stmt 0 discriminator 1 view .LVU1051 3707 0048 0222 movs r2, #2 3708 004a 84F84420 strb r2, [r4, #68] 1458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3709 .loc 1 1458 3 is_stmt 1 view .LVU1052 3710 .L317: 1463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3711 .loc 1 1463 7 view .LVU1053 ARM GAS /tmp/ccdmQ4z9.s page 148 1463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3712 .loc 1 1463 17 is_stmt 0 view .LVU1054 3713 004e 626A ldr r2, [r4, #36] 1463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3714 .loc 1 1463 52 view .LVU1055 3715 0050 8749 ldr r1, .L348 3716 .LVL234: 1463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3717 .loc 1 1463 52 view .LVU1056 3718 0052 D162 str r1, [r2, #44] 1464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3719 .loc 1 1464 7 is_stmt 1 view .LVU1057 1464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3720 .loc 1 1464 17 is_stmt 0 view .LVU1058 3721 0054 626A ldr r2, [r4, #36] 1464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3722 .loc 1 1464 56 view .LVU1059 3723 0056 8749 ldr r1, .L348+4 3724 0058 1163 str r1, [r2, #48] 1467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3725 .loc 1 1467 7 is_stmt 1 view .LVU1060 1467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3726 .loc 1 1467 17 is_stmt 0 view .LVU1061 3727 005a 626A ldr r2, [r4, #36] 1467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3728 .loc 1 1467 53 view .LVU1062 3729 005c 8649 ldr r1, .L348+8 3730 005e 5163 str r1, [r2, #52] 1470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 3731 .loc 1 1470 7 is_stmt 1 view .LVU1063 1470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 3732 .loc 1 1470 88 is_stmt 0 view .LVU1064 3733 0060 2268 ldr r2, [r4] 1470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 3734 .loc 1 1470 11 view .LVU1065 3735 0062 3432 adds r2, r2, #52 3736 0064 3146 mov r1, r6 3737 0066 606A ldr r0, [r4, #36] 3738 0068 FFF7FEFF bl HAL_DMA_Start_IT 3739 .LVL235: 1470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 3740 .loc 1 1470 10 discriminator 1 view .LVU1066 3741 006c 0028 cmp r0, #0 3742 006e 40F0F380 bne .L332 1477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 3743 .loc 1 1477 7 is_stmt 1 view .LVU1067 3744 0072 2268 ldr r2, [r4] 3745 0074 D368 ldr r3, [r2, #12] 3746 0076 43F40073 orr r3, r3, #512 3747 007a D360 str r3, [r2, #12] 1478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3748 .loc 1 1478 7 view .LVU1068 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3749 .loc 1 1549 3 view .LVU1069 3750 .L324: 1552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3751 .loc 1 1552 5 view .LVU1070 ARM GAS /tmp/ccdmQ4z9.s page 149 3752 007c 0422 movs r2, #4 3753 007e 2946 mov r1, r5 3754 0080 2068 ldr r0, [r4] 3755 0082 FFF7FEFF bl TIM_CCxNChannelCmd 3756 .LVL236: 1555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3757 .loc 1 1555 5 view .LVU1071 3758 0086 2268 ldr r2, [r4] 3759 0088 536C ldr r3, [r2, #68] 3760 008a 43F40043 orr r3, r3, #32768 3761 008e 5364 str r3, [r2, #68] 1558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3762 .loc 1 1558 5 view .LVU1072 1558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3763 .loc 1 1558 9 is_stmt 0 view .LVU1073 3764 0090 2368 ldr r3, [r4] 1558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3765 .loc 1 1558 8 view .LVU1074 3766 0092 7A4A ldr r2, .L348+12 3767 0094 9342 cmp r3, r2 3768 0096 00F0C780 beq .L325 1558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3769 .loc 1 1558 9 discriminator 1 view .LVU1075 3770 009a B3F1804F cmp r3, #1073741824 3771 009e 00F0C380 beq .L325 1558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3772 .loc 1 1558 9 discriminator 2 view .LVU1076 3773 00a2 A2F59432 sub r2, r2, #75776 3774 00a6 9342 cmp r3, r2 3775 00a8 00F0BE80 beq .L325 1558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3776 .loc 1 1558 9 discriminator 3 view .LVU1077 3777 00ac 02F58062 add r2, r2, #1024 3778 00b0 9342 cmp r3, r2 3779 00b2 00F0B980 beq .L325 1558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3780 .loc 1 1558 9 discriminator 4 view .LVU1078 3781 00b6 02F59632 add r2, r2, #76800 3782 00ba 9342 cmp r3, r2 3783 00bc 00F0B480 beq .L325 1558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3784 .loc 1 1558 9 discriminator 5 view .LVU1079 3785 00c0 02F54062 add r2, r2, #3072 3786 00c4 9342 cmp r3, r2 3787 00c6 00F0AF80 beq .L325 1568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3788 .loc 1 1568 7 is_stmt 1 view .LVU1080 3789 00ca 1A68 ldr r2, [r3] 3790 00cc 42F00102 orr r2, r2, #1 3791 00d0 1A60 str r2, [r3] 3792 00d2 0020 movs r0, #0 3793 00d4 B9E0 b .L311 3794 .LVL237: 3795 .L307: 1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3796 .loc 1 1438 46 is_stmt 0 discriminator 2 view .LVU1081 3797 00d6 0429 cmp r1, #4 ARM GAS /tmp/ccdmQ4z9.s page 150 3798 00d8 09D0 beq .L342 1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3799 .loc 1 1438 46 discriminator 5 view .LVU1082 3800 00da 0829 cmp r1, #8 3801 00dc 0FD0 beq .L343 1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3802 .loc 1 1438 7 discriminator 8 view .LVU1083 3803 00de 90F84700 ldrb r0, [r0, #71] @ zero_extendqisi2 3804 .LVL238: 1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3805 .loc 1 1438 7 discriminator 8 view .LVU1084 3806 00e2 C0B2 uxtb r0, r0 1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3807 .loc 1 1438 46 discriminator 8 view .LVU1085 3808 00e4 0228 cmp r0, #2 3809 00e6 14BF ite ne 3810 00e8 0020 movne r0, #0 3811 00ea 0120 moveq r0, #1 3812 00ec 95E7 b .L308 3813 .LVL239: 3814 .L342: 1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3815 .loc 1 1438 7 discriminator 4 view .LVU1086 3816 00ee 90F84500 ldrb r0, [r0, #69] @ zero_extendqisi2 3817 .LVL240: 1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3818 .loc 1 1438 7 discriminator 4 view .LVU1087 3819 00f2 C0B2 uxtb r0, r0 1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3820 .loc 1 1438 46 discriminator 4 view .LVU1088 3821 00f4 0228 cmp r0, #2 3822 00f6 14BF ite ne 3823 00f8 0020 movne r0, #0 3824 00fa 0120 moveq r0, #1 3825 00fc 8DE7 b .L308 3826 .LVL241: 3827 .L343: 1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3828 .loc 1 1438 7 discriminator 7 view .LVU1089 3829 00fe 90F84600 ldrb r0, [r0, #70] @ zero_extendqisi2 3830 .LVL242: 1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3831 .loc 1 1438 7 discriminator 7 view .LVU1090 3832 0102 C0B2 uxtb r0, r0 1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3833 .loc 1 1438 46 discriminator 7 view .LVU1091 3834 0104 0228 cmp r0, #2 3835 0106 14BF ite ne 3836 0108 0020 movne r0, #0 3837 010a 0120 moveq r0, #1 3838 010c 85E7 b .L308 3839 .L312: 1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3840 .loc 1 1442 51 discriminator 2 view .LVU1092 3841 010e 042D cmp r5, #4 3842 0110 09D0 beq .L344 1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { ARM GAS /tmp/ccdmQ4z9.s page 151 3843 .loc 1 1442 51 discriminator 5 view .LVU1093 3844 0112 082D cmp r5, #8 3845 0114 0FD0 beq .L345 1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3846 .loc 1 1442 12 discriminator 8 view .LVU1094 3847 0116 94F84720 ldrb r2, [r4, #71] @ zero_extendqisi2 3848 .LVL243: 1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3849 .loc 1 1442 12 discriminator 8 view .LVU1095 3850 011a D2B2 uxtb r2, r2 1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3851 .loc 1 1442 51 discriminator 8 view .LVU1096 3852 011c 012A cmp r2, #1 3853 011e 14BF ite ne 3854 0120 0022 movne r2, #0 3855 0122 0122 moveq r2, #1 3856 0124 85E7 b .L313 3857 .LVL244: 3858 .L344: 1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3859 .loc 1 1442 12 discriminator 4 view .LVU1097 3860 0126 94F84520 ldrb r2, [r4, #69] @ zero_extendqisi2 3861 .LVL245: 1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3862 .loc 1 1442 12 discriminator 4 view .LVU1098 3863 012a D2B2 uxtb r2, r2 1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3864 .loc 1 1442 51 discriminator 4 view .LVU1099 3865 012c 012A cmp r2, #1 3866 012e 14BF ite ne 3867 0130 0022 movne r2, #0 3868 0132 0122 moveq r2, #1 3869 0134 7DE7 b .L313 3870 .LVL246: 3871 .L345: 1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3872 .loc 1 1442 12 discriminator 7 view .LVU1100 3873 0136 94F84620 ldrb r2, [r4, #70] @ zero_extendqisi2 3874 .LVL247: 1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3875 .loc 1 1442 12 discriminator 7 view .LVU1101 3876 013a D2B2 uxtb r2, r2 1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3877 .loc 1 1442 51 discriminator 7 view .LVU1102 3878 013c 012A cmp r2, #1 3879 013e 14BF ite ne 3880 0140 0022 movne r2, #0 3881 0142 0122 moveq r2, #1 3882 0144 75E7 b .L313 3883 .L316: 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3884 .loc 1 1450 7 discriminator 2 view .LVU1103 3885 0146 042D cmp r5, #4 3886 0148 24D0 beq .L346 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3887 .loc 1 1450 7 discriminator 4 view .LVU1104 3888 014a 082D cmp r5, #8 ARM GAS /tmp/ccdmQ4z9.s page 152 3889 014c 3CD0 beq .L347 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3890 .loc 1 1450 7 discriminator 7 view .LVU1105 3891 014e 0222 movs r2, #2 3892 0150 84F84720 strb r2, [r4, #71] 1458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3893 .loc 1 1458 3 is_stmt 1 view .LVU1106 3894 0154 0C2D cmp r5, #12 3895 0156 7DD8 bhi .L331 3896 0158 01A2 adr r2, .L323 3897 015a 52F825F0 ldr pc, [r2, r5, lsl #2] 3898 015e 00BF .p2align 2 3899 .L323: 3900 0160 4F000000 .word .L317+1 3901 0164 55020000 .word .L331+1 3902 0168 55020000 .word .L331+1 3903 016c 55020000 .word .L331+1 3904 0170 9B010000 .word .L319+1 3905 0174 55020000 .word .L331+1 3906 0178 55020000 .word .L331+1 3907 017c 55020000 .word .L331+1 3908 0180 CF010000 .word .L321+1 3909 0184 55020000 .word .L331+1 3910 0188 55020000 .word .L331+1 3911 018c 55020000 .word .L331+1 3912 0190 FD010000 .word .L322+1 3913 .p2align 1 3914 .L346: 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3915 .loc 1 1450 7 is_stmt 0 discriminator 3 view .LVU1107 3916 0194 0222 movs r2, #2 3917 0196 84F84520 strb r2, [r4, #69] 1458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3918 .loc 1 1458 3 is_stmt 1 view .LVU1108 3919 .L319: 1484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3920 .loc 1 1484 7 view .LVU1109 1484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3921 .loc 1 1484 17 is_stmt 0 view .LVU1110 3922 019a A26A ldr r2, [r4, #40] 1484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3923 .loc 1 1484 52 view .LVU1111 3924 019c 3449 ldr r1, .L348 3925 .LVL248: 1484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3926 .loc 1 1484 52 view .LVU1112 3927 019e D162 str r1, [r2, #44] 1485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3928 .loc 1 1485 7 is_stmt 1 view .LVU1113 1485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3929 .loc 1 1485 17 is_stmt 0 view .LVU1114 3930 01a0 A26A ldr r2, [r4, #40] 1485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3931 .loc 1 1485 56 view .LVU1115 3932 01a2 3449 ldr r1, .L348+4 3933 01a4 1163 str r1, [r2, #48] 1488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/ccdmQ4z9.s page 153 3934 .loc 1 1488 7 is_stmt 1 view .LVU1116 1488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3935 .loc 1 1488 17 is_stmt 0 view .LVU1117 3936 01a6 A26A ldr r2, [r4, #40] 1488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3937 .loc 1 1488 53 view .LVU1118 3938 01a8 3349 ldr r1, .L348+8 3939 01aa 5163 str r1, [r2, #52] 1491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 3940 .loc 1 1491 7 is_stmt 1 view .LVU1119 1491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 3941 .loc 1 1491 88 is_stmt 0 view .LVU1120 3942 01ac 2268 ldr r2, [r4] 1491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 3943 .loc 1 1491 11 view .LVU1121 3944 01ae 3832 adds r2, r2, #56 3945 01b0 3146 mov r1, r6 3946 01b2 A06A ldr r0, [r4, #40] 3947 01b4 FFF7FEFF bl HAL_DMA_Start_IT 3948 .LVL249: 1491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 3949 .loc 1 1491 10 discriminator 1 view .LVU1122 3950 01b8 0028 cmp r0, #0 3951 01ba 4FD1 bne .L333 1498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 3952 .loc 1 1498 7 is_stmt 1 view .LVU1123 3953 01bc 2268 ldr r2, [r4] 3954 01be D368 ldr r3, [r2, #12] 3955 01c0 43F48063 orr r3, r3, #1024 3956 01c4 D360 str r3, [r2, #12] 1499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3957 .loc 1 1499 7 view .LVU1124 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3958 .loc 1 1549 3 view .LVU1125 3959 01c6 59E7 b .L324 3960 .LVL250: 3961 .L347: 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 3962 .loc 1 1450 7 is_stmt 0 discriminator 6 view .LVU1126 3963 01c8 0222 movs r2, #2 3964 01ca 84F84620 strb r2, [r4, #70] 1458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 3965 .loc 1 1458 3 is_stmt 1 view .LVU1127 3966 .L321: 1505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3967 .loc 1 1505 7 view .LVU1128 1505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3968 .loc 1 1505 17 is_stmt 0 view .LVU1129 3969 01ce E26A ldr r2, [r4, #44] 1505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3970 .loc 1 1505 52 view .LVU1130 3971 01d0 2749 ldr r1, .L348 3972 .LVL251: 1505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 3973 .loc 1 1505 52 view .LVU1131 3974 01d2 D162 str r1, [r2, #44] 1506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/ccdmQ4z9.s page 154 3975 .loc 1 1506 7 is_stmt 1 view .LVU1132 1506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3976 .loc 1 1506 17 is_stmt 0 view .LVU1133 3977 01d4 E26A ldr r2, [r4, #44] 1506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3978 .loc 1 1506 56 view .LVU1134 3979 01d6 2749 ldr r1, .L348+4 3980 01d8 1163 str r1, [r2, #48] 1509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3981 .loc 1 1509 7 is_stmt 1 view .LVU1135 1509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3982 .loc 1 1509 17 is_stmt 0 view .LVU1136 3983 01da E26A ldr r2, [r4, #44] 1509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 3984 .loc 1 1509 53 view .LVU1137 3985 01dc 2649 ldr r1, .L348+8 3986 01de 5163 str r1, [r2, #52] 1512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 3987 .loc 1 1512 7 is_stmt 1 view .LVU1138 1512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 3988 .loc 1 1512 88 is_stmt 0 view .LVU1139 3989 01e0 2268 ldr r2, [r4] 1512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 3990 .loc 1 1512 11 view .LVU1140 3991 01e2 3C32 adds r2, r2, #60 3992 01e4 3146 mov r1, r6 3993 01e6 E06A ldr r0, [r4, #44] 3994 01e8 FFF7FEFF bl HAL_DMA_Start_IT 3995 .LVL252: 1512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 3996 .loc 1 1512 10 discriminator 1 view .LVU1141 3997 01ec 0028 cmp r0, #0 3998 01ee 37D1 bne .L334 1519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 3999 .loc 1 1519 7 is_stmt 1 view .LVU1142 4000 01f0 2268 ldr r2, [r4] 4001 01f2 D368 ldr r3, [r2, #12] 4002 01f4 43F40063 orr r3, r3, #2048 4003 01f8 D360 str r3, [r2, #12] 1520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4004 .loc 1 1520 7 view .LVU1143 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4005 .loc 1 1549 3 view .LVU1144 4006 01fa 3FE7 b .L324 4007 .LVL253: 4008 .L322: 1526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 4009 .loc 1 1526 7 view .LVU1145 1526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 4010 .loc 1 1526 17 is_stmt 0 view .LVU1146 4011 01fc 226B ldr r2, [r4, #48] 1526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 4012 .loc 1 1526 52 view .LVU1147 4013 01fe 1C49 ldr r1, .L348 4014 .LVL254: 1526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 4015 .loc 1 1526 52 view .LVU1148 ARM GAS /tmp/ccdmQ4z9.s page 155 4016 0200 D162 str r1, [r2, #44] 1527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4017 .loc 1 1527 7 is_stmt 1 view .LVU1149 1527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4018 .loc 1 1527 17 is_stmt 0 view .LVU1150 4019 0202 226B ldr r2, [r4, #48] 1527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4020 .loc 1 1527 56 view .LVU1151 4021 0204 1B49 ldr r1, .L348+4 4022 0206 1163 str r1, [r2, #48] 1530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4023 .loc 1 1530 7 is_stmt 1 view .LVU1152 1530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4024 .loc 1 1530 17 is_stmt 0 view .LVU1153 4025 0208 226B ldr r2, [r4, #48] 1530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4026 .loc 1 1530 53 view .LVU1154 4027 020a 1B49 ldr r1, .L348+8 4028 020c 5163 str r1, [r2, #52] 1533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 4029 .loc 1 1533 7 is_stmt 1 view .LVU1155 1533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 4030 .loc 1 1533 88 is_stmt 0 view .LVU1156 4031 020e 2268 ldr r2, [r4] 1533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 4032 .loc 1 1533 11 view .LVU1157 4033 0210 4032 adds r2, r2, #64 4034 0212 3146 mov r1, r6 4035 0214 206B ldr r0, [r4, #48] 4036 0216 FFF7FEFF bl HAL_DMA_Start_IT 4037 .LVL255: 1533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK) 4038 .loc 1 1533 10 discriminator 1 view .LVU1158 4039 021a 18BB cbnz r0, .L335 1540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 4040 .loc 1 1540 7 is_stmt 1 view .LVU1159 4041 021c 2268 ldr r2, [r4] 4042 021e D368 ldr r3, [r2, #12] 4043 0220 43F48053 orr r3, r3, #4096 4044 0224 D360 str r3, [r2, #12] 1541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4045 .loc 1 1541 7 view .LVU1160 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4046 .loc 1 1549 3 view .LVU1161 4047 0226 29E7 b .L324 4048 .L325: 1560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 4049 .loc 1 1560 7 view .LVU1162 1560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 4050 .loc 1 1560 31 is_stmt 0 view .LVU1163 4051 0228 9968 ldr r1, [r3, #8] 1560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 4052 .loc 1 1560 15 view .LVU1164 4053 022a 154A ldr r2, .L348+16 4054 022c 0A40 ands r2, r2, r1 4055 .LVL256: 1561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { ARM GAS /tmp/ccdmQ4z9.s page 156 4056 .loc 1 1561 7 is_stmt 1 view .LVU1165 1561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4057 .loc 1 1561 10 is_stmt 0 view .LVU1166 4058 022e 062A cmp r2, #6 4059 0230 1AD0 beq .L336 1561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4060 .loc 1 1561 11 discriminator 1 view .LVU1167 4061 0232 B2F5803F cmp r2, #65536 4062 0236 19D0 beq .L337 1563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4063 .loc 1 1563 9 is_stmt 1 view .LVU1168 4064 0238 1A68 ldr r2, [r3] 4065 .LVL257: 1563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4066 .loc 1 1563 9 is_stmt 0 view .LVU1169 4067 023a 42F00102 orr r2, r2, #1 4068 023e 1A60 str r2, [r3] 4069 0240 0020 movs r0, #0 4070 0242 02E0 b .L311 4071 .LVL258: 4072 .L327: 1440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4073 .loc 1 1440 12 view .LVU1170 4074 0244 0220 movs r0, #2 4075 0246 00E0 b .L311 4076 .LVL259: 4077 .L328: 1455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4078 .loc 1 1455 12 view .LVU1171 4079 0248 0120 movs r0, #1 4080 .LVL260: 4081 .L311: 1574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4082 .loc 1 1574 1 view .LVU1172 4083 024a 70BD pop {r4, r5, r6, pc} 4084 .LVL261: 4085 .L329: 1446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4086 .loc 1 1446 14 view .LVU1173 4087 024c 0120 movs r0, #1 4088 024e FCE7 b .L311 4089 .L330: 4090 0250 0120 movs r0, #1 4091 0252 FAE7 b .L311 4092 .L331: 1458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4093 .loc 1 1458 3 view .LVU1174 4094 0254 0120 movs r0, #1 4095 0256 F8E7 b .L311 4096 .LVL262: 4097 .L332: 1474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4098 .loc 1 1474 16 view .LVU1175 4099 0258 0120 movs r0, #1 4100 025a F6E7 b .L311 4101 .L333: 1495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } ARM GAS /tmp/ccdmQ4z9.s page 157 4102 .loc 1 1495 16 view .LVU1176 4103 025c 0120 movs r0, #1 4104 025e F4E7 b .L311 4105 .L334: 1516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4106 .loc 1 1516 16 view .LVU1177 4107 0260 0120 movs r0, #1 4108 0262 F2E7 b .L311 4109 .L335: 1537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4110 .loc 1 1537 16 view .LVU1178 4111 0264 0120 movs r0, #1 4112 0266 F0E7 b .L311 4113 .LVL263: 4114 .L336: 1537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4115 .loc 1 1537 16 view .LVU1179 4116 0268 0020 movs r0, #0 4117 026a EEE7 b .L311 4118 .L337: 4119 026c 0020 movs r0, #0 4120 026e ECE7 b .L311 4121 .L349: 4122 .align 2 4123 .L348: 4124 0270 00000000 .word TIM_DMADelayPulseNCplt 4125 0274 00000000 .word TIM_DMADelayPulseHalfCplt 4126 0278 00000000 .word TIM_DMAErrorCCxN 4127 027c 002C0140 .word 1073818624 4128 0280 07000100 .word 65543 4129 .cfi_endproc 4130 .LFE349: 4132 .section .text.HAL_TIMEx_PWMN_Stop_DMA,"ax",%progbits 4133 .align 1 4134 .global HAL_TIMEx_PWMN_Stop_DMA 4135 .syntax unified 4136 .thumb 4137 .thumb_func 4139 HAL_TIMEx_PWMN_Stop_DMA: 4140 .LVL264: 4141 .LFB350: 1589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 4142 .loc 1 1589 1 is_stmt 1 view -0 4143 .cfi_startproc 4144 @ args = 0, pretend = 0, frame = 0 4145 @ frame_needed = 0, uses_anonymous_args = 0 1589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 4146 .loc 1 1589 1 is_stmt 0 view .LVU1181 4147 0000 38B5 push {r3, r4, r5, lr} 4148 .LCFI25: 4149 .cfi_def_cfa_offset 16 4150 .cfi_offset 3, -16 4151 .cfi_offset 4, -12 4152 .cfi_offset 5, -8 4153 .cfi_offset 14, -4 4154 0002 0446 mov r4, r0 4155 0004 0D46 mov r5, r1 ARM GAS /tmp/ccdmQ4z9.s page 158 1590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4156 .loc 1 1590 3 is_stmt 1 view .LVU1182 4157 .LVL265: 1593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4158 .loc 1 1593 3 view .LVU1183 1595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4159 .loc 1 1595 3 view .LVU1184 4160 0006 0C29 cmp r1, #12 4161 0008 67D8 bhi .L363 4162 000a DFE801F0 tbb [pc, r1] 4163 .L353: 4164 000e 07 .byte (.L356-.L353)/2 4165 000f 66 .byte (.L363-.L353)/2 4166 0010 66 .byte (.L363-.L353)/2 4167 0011 66 .byte (.L363-.L353)/2 4168 0012 38 .byte (.L355-.L353)/2 4169 0013 66 .byte (.L363-.L353)/2 4170 0014 66 .byte (.L363-.L353)/2 4171 0015 66 .byte (.L363-.L353)/2 4172 0016 41 .byte (.L354-.L353)/2 4173 0017 66 .byte (.L363-.L353)/2 4174 0018 66 .byte (.L363-.L353)/2 4175 0019 66 .byte (.L363-.L353)/2 4176 001a 4A .byte (.L352-.L353)/2 4177 001b 00 .p2align 1 4178 .L356: 1600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 4179 .loc 1 1600 7 view .LVU1185 4180 001c 0268 ldr r2, [r0] 4181 001e D368 ldr r3, [r2, #12] 4182 0020 23F40073 bic r3, r3, #512 4183 0024 D360 str r3, [r2, #12] 1601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 4184 .loc 1 1601 7 view .LVU1186 1601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 4185 .loc 1 1601 13 is_stmt 0 view .LVU1187 4186 0026 406A ldr r0, [r0, #36] 4187 .LVL266: 1601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 4188 .loc 1 1601 13 view .LVU1188 4189 0028 FFF7FEFF bl HAL_DMA_Abort_IT 4190 .LVL267: 1602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4191 .loc 1 1602 7 is_stmt 1 view .LVU1189 1634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4192 .loc 1 1634 3 view .LVU1190 4193 .L357: 1637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4194 .loc 1 1637 5 view .LVU1191 4195 002c 0022 movs r2, #0 4196 002e 2946 mov r1, r5 4197 0030 2068 ldr r0, [r4] 4198 0032 FFF7FEFF bl TIM_CCxNChannelCmd 4199 .LVL268: 1640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4200 .loc 1 1640 5 view .LVU1192 1640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/ccdmQ4z9.s page 159 4201 .loc 1 1640 5 view .LVU1193 4202 0036 2368 ldr r3, [r4] 4203 0038 196A ldr r1, [r3, #32] 4204 003a 41F21112 movw r2, #4369 4205 003e 1142 tst r1, r2 4206 0040 08D1 bne .L358 1640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4207 .loc 1 1640 5 discriminator 1 view .LVU1194 4208 0042 196A ldr r1, [r3, #32] 4209 0044 44F24442 movw r2, #17476 4210 0048 1142 tst r1, r2 4211 004a 03D1 bne .L358 1640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4212 .loc 1 1640 5 discriminator 3 view .LVU1195 4213 004c 5A6C ldr r2, [r3, #68] 4214 004e 22F40042 bic r2, r2, #32768 4215 0052 5A64 str r2, [r3, #68] 4216 .L358: 1640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4217 .loc 1 1640 5 discriminator 5 view .LVU1196 1643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4218 .loc 1 1643 5 view .LVU1197 1643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4219 .loc 1 1643 5 view .LVU1198 4220 0054 2368 ldr r3, [r4] 4221 0056 196A ldr r1, [r3, #32] 4222 0058 41F21112 movw r2, #4369 4223 005c 1142 tst r1, r2 4224 005e 08D1 bne .L359 1643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4225 .loc 1 1643 5 discriminator 1 view .LVU1199 4226 0060 196A ldr r1, [r3, #32] 4227 0062 44F24442 movw r2, #17476 4228 0066 1142 tst r1, r2 4229 0068 03D1 bne .L359 1643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4230 .loc 1 1643 5 discriminator 3 view .LVU1200 4231 006a 1A68 ldr r2, [r3] 4232 006c 22F00102 bic r2, r2, #1 4233 0070 1A60 str r2, [r3] 4234 .L359: 1643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4235 .loc 1 1643 5 discriminator 5 view .LVU1201 1646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4236 .loc 1 1646 5 view .LVU1202 4237 0072 FDB9 cbnz r5, .L360 1646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4238 .loc 1 1646 5 is_stmt 0 discriminator 1 view .LVU1203 4239 0074 0123 movs r3, #1 4240 0076 84F84430 strb r3, [r4, #68] 4241 007a 0020 movs r0, #0 4242 007c 2EE0 b .L351 4243 .LVL269: 4244 .L355: 1608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 4245 .loc 1 1608 7 is_stmt 1 view .LVU1204 4246 007e 0268 ldr r2, [r0] ARM GAS /tmp/ccdmQ4z9.s page 160 4247 0080 D368 ldr r3, [r2, #12] 4248 0082 23F48063 bic r3, r3, #1024 4249 0086 D360 str r3, [r2, #12] 1609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 4250 .loc 1 1609 7 view .LVU1205 1609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 4251 .loc 1 1609 13 is_stmt 0 view .LVU1206 4252 0088 806A ldr r0, [r0, #40] 4253 .LVL270: 1609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 4254 .loc 1 1609 13 view .LVU1207 4255 008a FFF7FEFF bl HAL_DMA_Abort_IT 4256 .LVL271: 1610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4257 .loc 1 1610 7 is_stmt 1 view .LVU1208 1634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4258 .loc 1 1634 3 view .LVU1209 4259 008e CDE7 b .L357 4260 .LVL272: 4261 .L354: 1616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 4262 .loc 1 1616 7 view .LVU1210 4263 0090 0268 ldr r2, [r0] 4264 0092 D368 ldr r3, [r2, #12] 4265 0094 23F40063 bic r3, r3, #2048 4266 0098 D360 str r3, [r2, #12] 1617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 4267 .loc 1 1617 7 view .LVU1211 1617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 4268 .loc 1 1617 13 is_stmt 0 view .LVU1212 4269 009a C06A ldr r0, [r0, #44] 4270 .LVL273: 1617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 4271 .loc 1 1617 13 view .LVU1213 4272 009c FFF7FEFF bl HAL_DMA_Abort_IT 4273 .LVL274: 1618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4274 .loc 1 1618 7 is_stmt 1 view .LVU1214 1634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4275 .loc 1 1634 3 view .LVU1215 4276 00a0 C4E7 b .L357 4277 .LVL275: 4278 .L352: 1624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 4279 .loc 1 1624 7 view .LVU1216 4280 00a2 0268 ldr r2, [r0] 4281 00a4 D368 ldr r3, [r2, #12] 4282 00a6 23F48053 bic r3, r3, #4096 4283 00aa D360 str r3, [r2, #12] 1625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 4284 .loc 1 1625 7 view .LVU1217 1625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 4285 .loc 1 1625 13 is_stmt 0 view .LVU1218 4286 00ac 006B ldr r0, [r0, #48] 4287 .LVL276: 1625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 4288 .loc 1 1625 13 view .LVU1219 ARM GAS /tmp/ccdmQ4z9.s page 161 4289 00ae FFF7FEFF bl HAL_DMA_Abort_IT 4290 .LVL277: 1626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4291 .loc 1 1626 7 is_stmt 1 view .LVU1220 1634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4292 .loc 1 1634 3 view .LVU1221 4293 00b2 BBE7 b .L357 4294 .L360: 1646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4295 .loc 1 1646 5 is_stmt 0 discriminator 2 view .LVU1222 4296 00b4 042D cmp r5, #4 4297 00b6 06D0 beq .L365 1646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4298 .loc 1 1646 5 discriminator 4 view .LVU1223 4299 00b8 082D cmp r5, #8 4300 00ba 09D0 beq .L366 1646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4301 .loc 1 1646 5 discriminator 7 view .LVU1224 4302 00bc 0123 movs r3, #1 4303 00be 84F84730 strb r3, [r4, #71] 4304 00c2 0020 movs r0, #0 4305 00c4 0AE0 b .L351 4306 .L365: 1646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4307 .loc 1 1646 5 discriminator 3 view .LVU1225 4308 00c6 0123 movs r3, #1 4309 00c8 84F84530 strb r3, [r4, #69] 4310 00cc 0020 movs r0, #0 4311 00ce 05E0 b .L351 4312 .L366: 1646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4313 .loc 1 1646 5 discriminator 6 view .LVU1226 4314 00d0 0123 movs r3, #1 4315 00d2 84F84630 strb r3, [r4, #70] 4316 00d6 0020 movs r0, #0 4317 00d8 00E0 b .L351 4318 .LVL278: 4319 .L363: 1595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4320 .loc 1 1595 3 view .LVU1227 4321 00da 0120 movs r0, #1 4322 .LVL279: 4323 .L351: 1650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4324 .loc 1 1650 3 is_stmt 1 view .LVU1228 1651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4325 .loc 1 1651 1 is_stmt 0 view .LVU1229 4326 00dc 38BD pop {r3, r4, r5, pc} 1651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4327 .loc 1 1651 1 view .LVU1230 4328 .cfi_endproc 4329 .LFE350: 4331 .section .text.HAL_TIMEx_OnePulseN_Start,"ax",%progbits 4332 .align 1 4333 .global HAL_TIMEx_OnePulseN_Start 4334 .syntax unified 4335 .thumb ARM GAS /tmp/ccdmQ4z9.s page 162 4336 .thumb_func 4338 HAL_TIMEx_OnePulseN_Start: 4339 .LVL280: 4340 .LFB351: 1688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1; 4341 .loc 1 1688 1 is_stmt 1 view -0 4342 .cfi_startproc 4343 @ args = 0, pretend = 0, frame = 0 4344 @ frame_needed = 0, uses_anonymous_args = 0 1688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1; 4345 .loc 1 1688 1 is_stmt 0 view .LVU1232 4346 0000 38B5 push {r3, r4, r5, lr} 4347 .LCFI26: 4348 .cfi_def_cfa_offset 16 4349 .cfi_offset 3, -16 4350 .cfi_offset 4, -12 4351 .cfi_offset 5, -8 4352 .cfi_offset 14, -4 4353 0002 0446 mov r4, r0 1689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 4354 .loc 1 1689 3 is_stmt 1 view .LVU1233 1689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 4355 .loc 1 1689 77 is_stmt 0 view .LVU1234 4356 0004 8E46 mov lr, r1 4357 0006 C1B9 cbnz r1, .L370 1689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 4358 .loc 1 1689 77 discriminator 1 view .LVU1235 4359 0008 0425 movs r5, #4 4360 .L368: 4361 .LVL281: 1690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 4362 .loc 1 1690 3 is_stmt 1 view .LVU1236 1690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 4363 .loc 1 1690 31 is_stmt 0 view .LVU1237 4364 000a 94F83E00 ldrb r0, [r4, #62] @ zero_extendqisi2 4365 .LVL282: 1690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 4366 .loc 1 1690 31 view .LVU1238 4367 000e C0B2 uxtb r0, r0 4368 .LVL283: 1691: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 4369 .loc 1 1691 3 is_stmt 1 view .LVU1239 1691: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 4370 .loc 1 1691 31 is_stmt 0 view .LVU1240 4371 0010 94F83F30 ldrb r3, [r4, #63] @ zero_extendqisi2 4372 0014 DBB2 uxtb r3, r3 4373 .LVL284: 1692: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 4374 .loc 1 1692 3 is_stmt 1 view .LVU1241 1692: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 4375 .loc 1 1692 31 is_stmt 0 view .LVU1242 4376 0016 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2 4377 001a D2B2 uxtb r2, r2 4378 .LVL285: 1693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4379 .loc 1 1693 3 is_stmt 1 view .LVU1243 1693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/ccdmQ4z9.s page 163 4380 .loc 1 1693 31 is_stmt 0 view .LVU1244 4381 001c 94F845C0 ldrb ip, [r4, #69] @ zero_extendqisi2 4382 0020 5FFA8CFC uxtb ip, ip 4383 .LVL286: 1696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4384 .loc 1 1696 3 is_stmt 1 view .LVU1245 1699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 4385 .loc 1 1699 3 view .LVU1246 1699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 4386 .loc 1 1699 6 is_stmt 0 view .LVU1247 4387 0024 0128 cmp r0, #1 4388 0026 24D1 bne .L371 1700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 4389 .loc 1 1700 7 view .LVU1248 4390 0028 012B cmp r3, #1 4391 002a 23D1 bne .L369 1701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 4392 .loc 1 1701 7 view .LVU1249 4393 002c 012A cmp r2, #1 4394 002e 22D1 bne .L372 1702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4395 .loc 1 1702 7 view .LVU1250 4396 0030 BCF1010F cmp ip, #1 4397 0034 03D0 beq .L375 1704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4398 .loc 1 1704 12 view .LVU1251 4399 0036 1046 mov r0, r2 4400 .LVL287: 1704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4401 .loc 1 1704 12 view .LVU1252 4402 0038 1CE0 b .L369 4403 .LVL288: 4404 .L370: 1689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 4405 .loc 1 1689 77 discriminator 2 view .LVU1253 4406 003a 0025 movs r5, #0 4407 003c E5E7 b .L368 4408 .LVL289: 4409 .L375: 1708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 4410 .loc 1 1708 3 is_stmt 1 view .LVU1254 4411 003e 0223 movs r3, #2 4412 .LVL290: 1708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 4413 .loc 1 1708 3 is_stmt 0 view .LVU1255 4414 0040 84F83E30 strb r3, [r4, #62] 1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 4415 .loc 1 1709 3 is_stmt 1 view .LVU1256 4416 0044 84F83F30 strb r3, [r4, #63] 1710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 4417 .loc 1 1710 3 view .LVU1257 4418 0048 84F84430 strb r3, [r4, #68] 1711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4419 .loc 1 1711 3 view .LVU1258 4420 004c 84F84530 strb r3, [r4, #69] 1714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE); 4421 .loc 1 1714 3 view .LVU1259 ARM GAS /tmp/ccdmQ4z9.s page 164 4422 0050 0422 movs r2, #4 4423 .LVL291: 1714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE); 4424 .loc 1 1714 3 is_stmt 0 view .LVU1260 4425 0052 7146 mov r1, lr 4426 .LVL292: 1714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE); 4427 .loc 1 1714 3 view .LVU1261 4428 0054 2068 ldr r0, [r4] 4429 .LVL293: 1714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE); 4430 .loc 1 1714 3 view .LVU1262 4431 0056 FFF7FEFF bl TIM_CCxNChannelCmd 4432 .LVL294: 1715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4433 .loc 1 1715 3 is_stmt 1 view .LVU1263 4434 005a 0122 movs r2, #1 4435 005c 2946 mov r1, r5 4436 005e 2068 ldr r0, [r4] 4437 0060 FFF7FEFF bl TIM_CCxChannelCmd 4438 .LVL295: 1718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4439 .loc 1 1718 3 view .LVU1264 4440 0064 2268 ldr r2, [r4] 4441 0066 536C ldr r3, [r2, #68] 4442 0068 43F40043 orr r3, r3, #32768 4443 006c 5364 str r3, [r2, #68] 1721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4444 .loc 1 1721 3 view .LVU1265 1721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4445 .loc 1 1721 10 is_stmt 0 view .LVU1266 4446 006e 0020 movs r0, #0 4447 0070 00E0 b .L369 4448 .LVL296: 4449 .L371: 1704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4450 .loc 1 1704 12 view .LVU1267 4451 0072 0120 movs r0, #1 4452 .LVL297: 4453 .L369: 1722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4454 .loc 1 1722 1 view .LVU1268 4455 0074 38BD pop {r3, r4, r5, pc} 4456 .LVL298: 4457 .L372: 1704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4458 .loc 1 1704 12 view .LVU1269 4459 0076 1846 mov r0, r3 4460 .LVL299: 1704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4461 .loc 1 1704 12 view .LVU1270 4462 0078 FCE7 b .L369 4463 .cfi_endproc 4464 .LFE351: 4466 .section .text.HAL_TIMEx_OnePulseN_Stop,"ax",%progbits 4467 .align 1 4468 .global HAL_TIMEx_OnePulseN_Stop ARM GAS /tmp/ccdmQ4z9.s page 165 4469 .syntax unified 4470 .thumb 4471 .thumb_func 4473 HAL_TIMEx_OnePulseN_Stop: 4474 .LVL300: 4475 .LFB352: 1737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1; 4476 .loc 1 1737 1 is_stmt 1 view -0 4477 .cfi_startproc 4478 @ args = 0, pretend = 0, frame = 0 4479 @ frame_needed = 0, uses_anonymous_args = 0 1737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1; 4480 .loc 1 1737 1 is_stmt 0 view .LVU1272 4481 0000 38B5 push {r3, r4, r5, lr} 4482 .LCFI27: 4483 .cfi_def_cfa_offset 16 4484 .cfi_offset 3, -16 4485 .cfi_offset 4, -12 4486 .cfi_offset 5, -8 4487 .cfi_offset 14, -4 4488 0002 0446 mov r4, r0 1738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4489 .loc 1 1738 3 is_stmt 1 view .LVU1273 1738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4490 .loc 1 1738 77 is_stmt 0 view .LVU1274 4491 0004 0029 cmp r1, #0 4492 0006 32D1 bne .L380 1738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4493 .loc 1 1738 77 discriminator 1 view .LVU1275 4494 0008 0425 movs r5, #4 4495 .L377: 4496 .LVL301: 1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4497 .loc 1 1741 3 is_stmt 1 view .LVU1276 1744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_DISABLE); 4498 .loc 1 1744 3 view .LVU1277 4499 000a 0022 movs r2, #0 4500 000c 2068 ldr r0, [r4] 4501 .LVL302: 1744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_DISABLE); 4502 .loc 1 1744 3 is_stmt 0 view .LVU1278 4503 000e FFF7FEFF bl TIM_CCxNChannelCmd 4504 .LVL303: 1745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4505 .loc 1 1745 3 is_stmt 1 view .LVU1279 4506 0012 0022 movs r2, #0 4507 0014 2946 mov r1, r5 4508 0016 2068 ldr r0, [r4] 4509 0018 FFF7FEFF bl TIM_CCxChannelCmd 4510 .LVL304: 1748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4511 .loc 1 1748 3 view .LVU1280 1748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4512 .loc 1 1748 3 view .LVU1281 4513 001c 2368 ldr r3, [r4] 4514 001e 196A ldr r1, [r3, #32] 4515 0020 41F21112 movw r2, #4369 ARM GAS /tmp/ccdmQ4z9.s page 166 4516 0024 1142 tst r1, r2 4517 0026 08D1 bne .L378 1748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4518 .loc 1 1748 3 discriminator 1 view .LVU1282 4519 0028 196A ldr r1, [r3, #32] 4520 002a 44F24442 movw r2, #17476 4521 002e 1142 tst r1, r2 4522 0030 03D1 bne .L378 1748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4523 .loc 1 1748 3 discriminator 3 view .LVU1283 4524 0032 5A6C ldr r2, [r3, #68] 4525 0034 22F40042 bic r2, r2, #32768 4526 0038 5A64 str r2, [r3, #68] 4527 .L378: 1748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4528 .loc 1 1748 3 discriminator 5 view .LVU1284 1751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4529 .loc 1 1751 3 view .LVU1285 1751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4530 .loc 1 1751 3 view .LVU1286 4531 003a 2368 ldr r3, [r4] 4532 003c 196A ldr r1, [r3, #32] 4533 003e 41F21112 movw r2, #4369 4534 0042 1142 tst r1, r2 4535 0044 08D1 bne .L379 1751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4536 .loc 1 1751 3 discriminator 1 view .LVU1287 4537 0046 196A ldr r1, [r3, #32] 4538 0048 44F24442 movw r2, #17476 4539 004c 1142 tst r1, r2 4540 004e 03D1 bne .L379 1751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4541 .loc 1 1751 3 discriminator 3 view .LVU1288 4542 0050 1A68 ldr r2, [r3] 4543 0052 22F00102 bic r2, r2, #1 4544 0056 1A60 str r2, [r3] 4545 .L379: 1751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4546 .loc 1 1751 3 discriminator 5 view .LVU1289 1754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 4547 .loc 1 1754 3 view .LVU1290 4548 0058 0123 movs r3, #1 4549 005a 84F83E30 strb r3, [r4, #62] 1755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 4550 .loc 1 1755 3 view .LVU1291 4551 005e 84F83F30 strb r3, [r4, #63] 1756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 4552 .loc 1 1756 3 view .LVU1292 4553 0062 84F84430 strb r3, [r4, #68] 1757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4554 .loc 1 1757 3 view .LVU1293 4555 0066 84F84530 strb r3, [r4, #69] 1760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4556 .loc 1 1760 3 view .LVU1294 1761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4557 .loc 1 1761 1 is_stmt 0 view .LVU1295 4558 006a 0020 movs r0, #0 ARM GAS /tmp/ccdmQ4z9.s page 167 4559 006c 38BD pop {r3, r4, r5, pc} 4560 .LVL305: 4561 .L380: 1738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4562 .loc 1 1738 77 discriminator 2 view .LVU1296 4563 006e 0025 movs r5, #0 4564 0070 CBE7 b .L377 4565 .cfi_endproc 4566 .LFE352: 4568 .section .text.HAL_TIMEx_OnePulseN_Start_IT,"ax",%progbits 4569 .align 1 4570 .global HAL_TIMEx_OnePulseN_Start_IT 4571 .syntax unified 4572 .thumb 4573 .thumb_func 4575 HAL_TIMEx_OnePulseN_Start_IT: 4576 .LVL306: 4577 .LFB353: 1776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1; 4578 .loc 1 1776 1 is_stmt 1 view -0 4579 .cfi_startproc 4580 @ args = 0, pretend = 0, frame = 0 4581 @ frame_needed = 0, uses_anonymous_args = 0 1776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1; 4582 .loc 1 1776 1 is_stmt 0 view .LVU1298 4583 0000 38B5 push {r3, r4, r5, lr} 4584 .LCFI28: 4585 .cfi_def_cfa_offset 16 4586 .cfi_offset 3, -16 4587 .cfi_offset 4, -12 4588 .cfi_offset 5, -8 4589 .cfi_offset 14, -4 4590 0002 0446 mov r4, r0 1777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 4591 .loc 1 1777 3 is_stmt 1 view .LVU1299 1777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 4592 .loc 1 1777 77 is_stmt 0 view .LVU1300 4593 0004 8E46 mov lr, r1 4594 0006 C1B9 cbnz r1, .L385 1777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 4595 .loc 1 1777 77 discriminator 1 view .LVU1301 4596 0008 0425 movs r5, #4 4597 .L383: 4598 .LVL307: 1778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 4599 .loc 1 1778 3 is_stmt 1 view .LVU1302 1778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 4600 .loc 1 1778 31 is_stmt 0 view .LVU1303 4601 000a 94F83E00 ldrb r0, [r4, #62] @ zero_extendqisi2 4602 .LVL308: 1778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 4603 .loc 1 1778 31 view .LVU1304 4604 000e C0B2 uxtb r0, r0 4605 .LVL309: 1779: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 4606 .loc 1 1779 3 is_stmt 1 view .LVU1305 1779: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 ARM GAS /tmp/ccdmQ4z9.s page 168 4607 .loc 1 1779 31 is_stmt 0 view .LVU1306 4608 0010 94F83F30 ldrb r3, [r4, #63] @ zero_extendqisi2 4609 0014 DBB2 uxtb r3, r3 4610 .LVL310: 1780: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 4611 .loc 1 1780 3 is_stmt 1 view .LVU1307 1780: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 4612 .loc 1 1780 31 is_stmt 0 view .LVU1308 4613 0016 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2 4614 001a D2B2 uxtb r2, r2 4615 .LVL311: 1781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4616 .loc 1 1781 3 is_stmt 1 view .LVU1309 1781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4617 .loc 1 1781 31 is_stmt 0 view .LVU1310 4618 001c 94F845C0 ldrb ip, [r4, #69] @ zero_extendqisi2 4619 0020 5FFA8CFC uxtb ip, ip 4620 .LVL312: 1784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4621 .loc 1 1784 3 is_stmt 1 view .LVU1311 1787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 4622 .loc 1 1787 3 view .LVU1312 1787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 4623 .loc 1 1787 6 is_stmt 0 view .LVU1313 4624 0024 0128 cmp r0, #1 4625 0026 2ED1 bne .L386 1788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 4626 .loc 1 1788 7 view .LVU1314 4627 0028 012B cmp r3, #1 4628 002a 2DD1 bne .L384 1789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 4629 .loc 1 1789 7 view .LVU1315 4630 002c 012A cmp r2, #1 4631 002e 2CD1 bne .L387 1790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 4632 .loc 1 1790 7 view .LVU1316 4633 0030 BCF1010F cmp ip, #1 4634 0034 03D0 beq .L390 1792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4635 .loc 1 1792 12 view .LVU1317 4636 0036 1046 mov r0, r2 4637 .LVL313: 1792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4638 .loc 1 1792 12 view .LVU1318 4639 0038 26E0 b .L384 4640 .LVL314: 4641 .L385: 1777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 4642 .loc 1 1777 77 discriminator 2 view .LVU1319 4643 003a 0025 movs r5, #0 4644 003c E5E7 b .L383 4645 .LVL315: 4646 .L390: 1796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 4647 .loc 1 1796 3 is_stmt 1 view .LVU1320 4648 003e 0223 movs r3, #2 4649 .LVL316: ARM GAS /tmp/ccdmQ4z9.s page 169 1796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 4650 .loc 1 1796 3 is_stmt 0 view .LVU1321 4651 0040 84F83E30 strb r3, [r4, #62] 1797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 4652 .loc 1 1797 3 is_stmt 1 view .LVU1322 4653 0044 84F83F30 strb r3, [r4, #63] 1798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 4654 .loc 1 1798 3 view .LVU1323 4655 0048 84F84430 strb r3, [r4, #68] 1799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4656 .loc 1 1799 3 view .LVU1324 4657 004c 84F84530 strb r3, [r4, #69] 1802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4658 .loc 1 1802 3 view .LVU1325 4659 0050 2268 ldr r2, [r4] 4660 .LVL317: 1802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4661 .loc 1 1802 3 is_stmt 0 view .LVU1326 4662 0052 D368 ldr r3, [r2, #12] 4663 0054 43F00203 orr r3, r3, #2 4664 0058 D360 str r3, [r2, #12] 1805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4665 .loc 1 1805 3 is_stmt 1 view .LVU1327 4666 005a 2268 ldr r2, [r4] 4667 005c D368 ldr r3, [r2, #12] 4668 005e 43F00403 orr r3, r3, #4 4669 0062 D360 str r3, [r2, #12] 1808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE); 4670 .loc 1 1808 3 view .LVU1328 4671 0064 0422 movs r2, #4 4672 0066 7146 mov r1, lr 4673 .LVL318: 1808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE); 4674 .loc 1 1808 3 is_stmt 0 view .LVU1329 4675 0068 2068 ldr r0, [r4] 4676 .LVL319: 1808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE); 4677 .loc 1 1808 3 view .LVU1330 4678 006a FFF7FEFF bl TIM_CCxNChannelCmd 4679 .LVL320: 1809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4680 .loc 1 1809 3 is_stmt 1 view .LVU1331 4681 006e 0122 movs r2, #1 4682 0070 2946 mov r1, r5 4683 0072 2068 ldr r0, [r4] 4684 0074 FFF7FEFF bl TIM_CCxChannelCmd 4685 .LVL321: 1812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4686 .loc 1 1812 3 view .LVU1332 4687 0078 2268 ldr r2, [r4] 4688 007a 536C ldr r3, [r2, #68] 4689 007c 43F40043 orr r3, r3, #32768 4690 0080 5364 str r3, [r2, #68] 1815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4691 .loc 1 1815 3 view .LVU1333 1815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4692 .loc 1 1815 10 is_stmt 0 view .LVU1334 ARM GAS /tmp/ccdmQ4z9.s page 170 4693 0082 0020 movs r0, #0 4694 0084 00E0 b .L384 4695 .LVL322: 4696 .L386: 1792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4697 .loc 1 1792 12 view .LVU1335 4698 0086 0120 movs r0, #1 4699 .LVL323: 4700 .L384: 1816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4701 .loc 1 1816 1 view .LVU1336 4702 0088 38BD pop {r3, r4, r5, pc} 4703 .LVL324: 4704 .L387: 1792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4705 .loc 1 1792 12 view .LVU1337 4706 008a 1846 mov r0, r3 4707 .LVL325: 1792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4708 .loc 1 1792 12 view .LVU1338 4709 008c FCE7 b .L384 4710 .cfi_endproc 4711 .LFE353: 4713 .section .text.HAL_TIMEx_OnePulseN_Stop_IT,"ax",%progbits 4714 .align 1 4715 .global HAL_TIMEx_OnePulseN_Stop_IT 4716 .syntax unified 4717 .thumb 4718 .thumb_func 4720 HAL_TIMEx_OnePulseN_Stop_IT: 4721 .LVL326: 4722 .LFB354: 1831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1; 4723 .loc 1 1831 1 is_stmt 1 view -0 4724 .cfi_startproc 4725 @ args = 0, pretend = 0, frame = 0 4726 @ frame_needed = 0, uses_anonymous_args = 0 1831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1; 4727 .loc 1 1831 1 is_stmt 0 view .LVU1340 4728 0000 38B5 push {r3, r4, r5, lr} 4729 .LCFI29: 4730 .cfi_def_cfa_offset 16 4731 .cfi_offset 3, -16 4732 .cfi_offset 4, -12 4733 .cfi_offset 5, -8 4734 .cfi_offset 14, -4 4735 0002 0446 mov r4, r0 1832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4736 .loc 1 1832 3 is_stmt 1 view .LVU1341 1832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4737 .loc 1 1832 77 is_stmt 0 view .LVU1342 4738 0004 0029 cmp r1, #0 4739 0006 3CD1 bne .L395 1832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4740 .loc 1 1832 77 discriminator 1 view .LVU1343 4741 0008 0425 movs r5, #4 4742 .L392: ARM GAS /tmp/ccdmQ4z9.s page 171 4743 .LVL327: 1835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4744 .loc 1 1835 3 is_stmt 1 view .LVU1344 1838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4745 .loc 1 1838 3 view .LVU1345 4746 000a 2268 ldr r2, [r4] 4747 000c D368 ldr r3, [r2, #12] 4748 000e 23F00203 bic r3, r3, #2 4749 0012 D360 str r3, [r2, #12] 1841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4750 .loc 1 1841 3 view .LVU1346 4751 0014 2268 ldr r2, [r4] 4752 0016 D368 ldr r3, [r2, #12] 4753 0018 23F00403 bic r3, r3, #4 4754 001c D360 str r3, [r2, #12] 1844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_DISABLE); 4755 .loc 1 1844 3 view .LVU1347 4756 001e 0022 movs r2, #0 4757 0020 2068 ldr r0, [r4] 4758 .LVL328: 1844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_DISABLE); 4759 .loc 1 1844 3 is_stmt 0 view .LVU1348 4760 0022 FFF7FEFF bl TIM_CCxNChannelCmd 4761 .LVL329: 1845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4762 .loc 1 1845 3 is_stmt 1 view .LVU1349 4763 0026 0022 movs r2, #0 4764 0028 2946 mov r1, r5 4765 002a 2068 ldr r0, [r4] 4766 002c FFF7FEFF bl TIM_CCxChannelCmd 4767 .LVL330: 1848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4768 .loc 1 1848 3 view .LVU1350 1848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4769 .loc 1 1848 3 view .LVU1351 4770 0030 2368 ldr r3, [r4] 4771 0032 196A ldr r1, [r3, #32] 4772 0034 41F21112 movw r2, #4369 4773 0038 1142 tst r1, r2 4774 003a 08D1 bne .L393 1848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4775 .loc 1 1848 3 discriminator 1 view .LVU1352 4776 003c 196A ldr r1, [r3, #32] 4777 003e 44F24442 movw r2, #17476 4778 0042 1142 tst r1, r2 4779 0044 03D1 bne .L393 1848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4780 .loc 1 1848 3 discriminator 3 view .LVU1353 4781 0046 5A6C ldr r2, [r3, #68] 4782 0048 22F40042 bic r2, r2, #32768 4783 004c 5A64 str r2, [r3, #68] 4784 .L393: 1848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4785 .loc 1 1848 3 discriminator 5 view .LVU1354 1851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4786 .loc 1 1851 3 view .LVU1355 1851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/ccdmQ4z9.s page 172 4787 .loc 1 1851 3 view .LVU1356 4788 004e 2368 ldr r3, [r4] 4789 0050 196A ldr r1, [r3, #32] 4790 0052 41F21112 movw r2, #4369 4791 0056 1142 tst r1, r2 4792 0058 08D1 bne .L394 1851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4793 .loc 1 1851 3 discriminator 1 view .LVU1357 4794 005a 196A ldr r1, [r3, #32] 4795 005c 44F24442 movw r2, #17476 4796 0060 1142 tst r1, r2 4797 0062 03D1 bne .L394 1851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4798 .loc 1 1851 3 discriminator 3 view .LVU1358 4799 0064 1A68 ldr r2, [r3] 4800 0066 22F00102 bic r2, r2, #1 4801 006a 1A60 str r2, [r3] 4802 .L394: 1851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4803 .loc 1 1851 3 discriminator 5 view .LVU1359 1854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 4804 .loc 1 1854 3 view .LVU1360 4805 006c 0123 movs r3, #1 4806 006e 84F83E30 strb r3, [r4, #62] 1855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 4807 .loc 1 1855 3 view .LVU1361 4808 0072 84F83F30 strb r3, [r4, #63] 1856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 4809 .loc 1 1856 3 view .LVU1362 4810 0076 84F84430 strb r3, [r4, #68] 1857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4811 .loc 1 1857 3 view .LVU1363 4812 007a 84F84530 strb r3, [r4, #69] 1860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4813 .loc 1 1860 3 view .LVU1364 1861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4814 .loc 1 1861 1 is_stmt 0 view .LVU1365 4815 007e 0020 movs r0, #0 4816 0080 38BD pop {r3, r4, r5, pc} 4817 .LVL331: 4818 .L395: 1832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4819 .loc 1 1832 77 discriminator 2 view .LVU1366 4820 0082 0025 movs r5, #0 4821 0084 C1E7 b .L392 4822 .cfi_endproc 4823 .LFE354: 4825 .section .text.HAL_TIMEx_ConfigCommutEvent,"ax",%progbits 4826 .align 1 4827 .global HAL_TIMEx_ConfigCommutEvent 4828 .syntax unified 4829 .thumb 4830 .thumb_func 4832 HAL_TIMEx_ConfigCommutEvent: 4833 .LVL332: 4834 .LFB355: 1926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ ARM GAS /tmp/ccdmQ4z9.s page 173 4835 .loc 1 1926 1 is_stmt 1 view -0 4836 .cfi_startproc 4837 @ args = 0, pretend = 0, frame = 0 4838 @ frame_needed = 0, uses_anonymous_args = 0 4839 @ link register save eliminated. 1926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 4840 .loc 1 1926 1 is_stmt 0 view .LVU1368 4841 0000 0346 mov r3, r0 1928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_INSTANCE(htim->Instance, InputTrigger)); 4842 .loc 1 1928 3 is_stmt 1 view .LVU1369 1929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4843 .loc 1 1929 3 view .LVU1370 1931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4844 .loc 1 1931 3 view .LVU1371 1931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4845 .loc 1 1931 3 view .LVU1372 4846 0002 90F83C00 ldrb r0, [r0, #60] @ zero_extendqisi2 4847 .LVL333: 1931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4848 .loc 1 1931 3 is_stmt 0 view .LVU1373 4849 0006 0128 cmp r0, #1 4850 0008 48D0 beq .L404 1926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 4851 .loc 1 1926 1 view .LVU1374 4852 000a 10B4 push {r4} 4853 .LCFI30: 4854 .cfi_def_cfa_offset 4 4855 .cfi_offset 4, -4 1931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4856 .loc 1 1931 3 is_stmt 1 discriminator 2 view .LVU1375 4857 000c 0120 movs r0, #1 4858 000e 83F83C00 strb r0, [r3, #60] 1931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4859 .loc 1 1931 3 discriminator 2 view .LVU1376 1953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 4860 .loc 1 1953 3 view .LVU1377 4861 0012 B1F1101F cmp r1, #1048592 4862 0016 06D0 beq .L399 4863 0018 31D8 bhi .L400 4864 001a 2029 cmp r1, #32 4865 001c 03D0 beq .L399 4866 001e 2BD8 bhi .L401 4867 0020 09B1 cbz r1, .L399 4868 0022 1029 cmp r1, #16 4869 0024 0AD1 bne .L402 4870 .L399: 1961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 4871 .loc 1 1961 5 view .LVU1378 1961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 4872 .loc 1 1961 9 is_stmt 0 view .LVU1379 4873 0026 1C68 ldr r4, [r3] 1961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 4874 .loc 1 1961 19 view .LVU1380 4875 0028 A068 ldr r0, [r4, #8] 1961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 4876 .loc 1 1961 26 view .LVU1381 4877 002a 20F44010 bic r0, r0, #3145728 ARM GAS /tmp/ccdmQ4z9.s page 174 4878 002e 20F07000 bic r0, r0, #112 4879 0032 A060 str r0, [r4, #8] 1962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4880 .loc 1 1962 5 is_stmt 1 view .LVU1382 1962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4881 .loc 1 1962 9 is_stmt 0 view .LVU1383 4882 0034 1C68 ldr r4, [r3] 1962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4883 .loc 1 1962 19 view .LVU1384 4884 0036 A068 ldr r0, [r4, #8] 1962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4885 .loc 1 1962 26 view .LVU1385 4886 0038 0143 orrs r1, r1, r0 4887 .LVL334: 1962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4888 .loc 1 1962 26 view .LVU1386 4889 003a A160 str r1, [r4, #8] 4890 .L402: 1966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 4891 .loc 1 1966 3 is_stmt 1 view .LVU1387 1966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 4892 .loc 1 1966 7 is_stmt 0 view .LVU1388 4893 003c 1868 ldr r0, [r3] 1966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 4894 .loc 1 1966 17 view .LVU1389 4895 003e 4168 ldr r1, [r0, #4] 1966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 4896 .loc 1 1966 23 view .LVU1390 4897 0040 41F00101 orr r1, r1, #1 4898 0044 4160 str r1, [r0, #4] 1968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 4899 .loc 1 1968 3 is_stmt 1 view .LVU1391 1968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 4900 .loc 1 1968 7 is_stmt 0 view .LVU1392 4901 0046 1868 ldr r0, [r3] 1968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 4902 .loc 1 1968 17 view .LVU1393 4903 0048 4168 ldr r1, [r0, #4] 1968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 4904 .loc 1 1968 23 view .LVU1394 4905 004a 21F00401 bic r1, r1, #4 4906 004e 4160 str r1, [r0, #4] 1969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4907 .loc 1 1969 3 is_stmt 1 view .LVU1395 1969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4908 .loc 1 1969 7 is_stmt 0 view .LVU1396 4909 0050 1868 ldr r0, [r3] 1969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4910 .loc 1 1969 17 view .LVU1397 4911 0052 4168 ldr r1, [r0, #4] 1969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4912 .loc 1 1969 23 view .LVU1398 4913 0054 0A43 orrs r2, r2, r1 4914 .LVL335: 1969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4915 .loc 1 1969 23 view .LVU1399 4916 0056 4260 str r2, [r0, #4] ARM GAS /tmp/ccdmQ4z9.s page 175 1972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4917 .loc 1 1972 3 is_stmt 1 view .LVU1400 4918 0058 1968 ldr r1, [r3] 4919 005a CA68 ldr r2, [r1, #12] 4920 005c 22F02002 bic r2, r2, #32 4921 0060 CA60 str r2, [r1, #12] 1975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4922 .loc 1 1975 3 view .LVU1401 4923 0062 1968 ldr r1, [r3] 4924 0064 CA68 ldr r2, [r1, #12] 4925 0066 22F40052 bic r2, r2, #8192 4926 006a CA60 str r2, [r1, #12] 1977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4927 .loc 1 1977 3 view .LVU1402 1977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4928 .loc 1 1977 3 view .LVU1403 4929 006c 0020 movs r0, #0 4930 006e 83F83C00 strb r0, [r3, #60] 1977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4931 .loc 1 1977 3 view .LVU1404 1979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 4932 .loc 1 1979 3 view .LVU1405 1980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4933 .loc 1 1980 1 is_stmt 0 view .LVU1406 4934 0072 5DF8044B ldr r4, [sp], #4 4935 .LCFI31: 4936 .cfi_remember_state 4937 .cfi_restore 4 4938 .cfi_def_cfa_offset 0 4939 0076 7047 bx lr 4940 .LVL336: 4941 .L401: 4942 .LCFI32: 4943 .cfi_restore_state 1980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4944 .loc 1 1980 1 view .LVU1407 4945 0078 3029 cmp r1, #48 4946 007a DFD1 bne .L402 4947 007c D3E7 b .L399 4948 .L400: 1980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4949 .loc 1 1980 1 view .LVU1408 4950 007e 0848 ldr r0, .L409 4951 0080 8142 cmp r1, r0 4952 0082 D0D0 beq .L399 4953 0084 06D8 bhi .L403 4954 0086 2038 subs r0, r0, #32 4955 0088 8142 cmp r1, r0 4956 008a CCD0 beq .L399 4957 008c 1030 adds r0, r0, #16 4958 008e 8142 cmp r1, r0 4959 0090 D4D1 bne .L402 4960 0092 C8E7 b .L399 4961 .L403: 4962 0094 0348 ldr r0, .L409+4 4963 0096 8142 cmp r1, r0 4964 0098 D0D1 bne .L402 ARM GAS /tmp/ccdmQ4z9.s page 176 4965 009a C4E7 b .L399 4966 .L404: 4967 .LCFI33: 4968 .cfi_def_cfa_offset 0 4969 .cfi_restore 4 1931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4970 .loc 1 1931 3 discriminator 1 view .LVU1409 4971 009c 0220 movs r0, #2 1980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 4972 .loc 1 1980 1 view .LVU1410 4973 009e 7047 bx lr 4974 .L410: 4975 .align 2 4976 .L409: 4977 00a0 40001000 .word 1048640 4978 00a4 70001000 .word 1048688 4979 .cfi_endproc 4980 .LFE355: 4982 .section .text.HAL_TIMEx_ConfigCommutEvent_IT,"ax",%progbits 4983 .align 1 4984 .global HAL_TIMEx_ConfigCommutEvent_IT 4985 .syntax unified 4986 .thumb 4987 .thumb_func 4989 HAL_TIMEx_ConfigCommutEvent_IT: 4990 .LVL337: 4991 .LFB356: 2017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 4992 .loc 1 2017 1 is_stmt 1 view -0 4993 .cfi_startproc 4994 @ args = 0, pretend = 0, frame = 0 4995 @ frame_needed = 0, uses_anonymous_args = 0 4996 @ link register save eliminated. 2017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 4997 .loc 1 2017 1 is_stmt 0 view .LVU1412 4998 0000 0346 mov r3, r0 2019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_INSTANCE(htim->Instance, InputTrigger)); 4999 .loc 1 2019 3 is_stmt 1 view .LVU1413 2020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5000 .loc 1 2020 3 view .LVU1414 2022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5001 .loc 1 2022 3 view .LVU1415 2022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5002 .loc 1 2022 3 view .LVU1416 5003 0002 90F83C00 ldrb r0, [r0, #60] @ zero_extendqisi2 5004 .LVL338: 2022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5005 .loc 1 2022 3 is_stmt 0 view .LVU1417 5006 0006 0128 cmp r0, #1 5007 0008 48D0 beq .L418 2017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 5008 .loc 1 2017 1 view .LVU1418 5009 000a 10B4 push {r4} 5010 .LCFI34: 5011 .cfi_def_cfa_offset 4 5012 .cfi_offset 4, -4 2022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/ccdmQ4z9.s page 177 5013 .loc 1 2022 3 is_stmt 1 discriminator 2 view .LVU1419 5014 000c 0120 movs r0, #1 5015 000e 83F83C00 strb r0, [r3, #60] 2022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5016 .loc 1 2022 3 discriminator 2 view .LVU1420 2044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 5017 .loc 1 2044 3 view .LVU1421 5018 0012 B1F1101F cmp r1, #1048592 5019 0016 06D0 beq .L413 5020 0018 31D8 bhi .L414 5021 001a 2029 cmp r1, #32 5022 001c 03D0 beq .L413 5023 001e 2BD8 bhi .L415 5024 0020 09B1 cbz r1, .L413 5025 0022 1029 cmp r1, #16 5026 0024 0AD1 bne .L416 5027 .L413: 2052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 5028 .loc 1 2052 5 view .LVU1422 2052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 5029 .loc 1 2052 9 is_stmt 0 view .LVU1423 5030 0026 1C68 ldr r4, [r3] 2052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 5031 .loc 1 2052 19 view .LVU1424 5032 0028 A068 ldr r0, [r4, #8] 2052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 5033 .loc 1 2052 26 view .LVU1425 5034 002a 20F44010 bic r0, r0, #3145728 5035 002e 20F07000 bic r0, r0, #112 5036 0032 A060 str r0, [r4, #8] 2053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5037 .loc 1 2053 5 is_stmt 1 view .LVU1426 2053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5038 .loc 1 2053 9 is_stmt 0 view .LVU1427 5039 0034 1C68 ldr r4, [r3] 2053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5040 .loc 1 2053 19 view .LVU1428 5041 0036 A068 ldr r0, [r4, #8] 2053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5042 .loc 1 2053 26 view .LVU1429 5043 0038 0143 orrs r1, r1, r0 5044 .LVL339: 2053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5045 .loc 1 2053 26 view .LVU1430 5046 003a A160 str r1, [r4, #8] 5047 .L416: 2057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 5048 .loc 1 2057 3 is_stmt 1 view .LVU1431 2057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 5049 .loc 1 2057 7 is_stmt 0 view .LVU1432 5050 003c 1868 ldr r0, [r3] 2057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 5051 .loc 1 2057 17 view .LVU1433 5052 003e 4168 ldr r1, [r0, #4] 2057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 5053 .loc 1 2057 23 view .LVU1434 5054 0040 41F00101 orr r1, r1, #1 ARM GAS /tmp/ccdmQ4z9.s page 178 5055 0044 4160 str r1, [r0, #4] 2059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 5056 .loc 1 2059 3 is_stmt 1 view .LVU1435 2059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 5057 .loc 1 2059 7 is_stmt 0 view .LVU1436 5058 0046 1868 ldr r0, [r3] 2059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 5059 .loc 1 2059 17 view .LVU1437 5060 0048 4168 ldr r1, [r0, #4] 2059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 5061 .loc 1 2059 23 view .LVU1438 5062 004a 21F00401 bic r1, r1, #4 5063 004e 4160 str r1, [r0, #4] 2060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5064 .loc 1 2060 3 is_stmt 1 view .LVU1439 2060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5065 .loc 1 2060 7 is_stmt 0 view .LVU1440 5066 0050 1868 ldr r0, [r3] 2060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5067 .loc 1 2060 17 view .LVU1441 5068 0052 4168 ldr r1, [r0, #4] 2060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5069 .loc 1 2060 23 view .LVU1442 5070 0054 0A43 orrs r2, r2, r1 5071 .LVL340: 2060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5072 .loc 1 2060 23 view .LVU1443 5073 0056 4260 str r2, [r0, #4] 2063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5074 .loc 1 2063 3 is_stmt 1 view .LVU1444 5075 0058 1968 ldr r1, [r3] 5076 005a CA68 ldr r2, [r1, #12] 5077 005c 22F40052 bic r2, r2, #8192 5078 0060 CA60 str r2, [r1, #12] 2066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5079 .loc 1 2066 3 view .LVU1445 5080 0062 1968 ldr r1, [r3] 5081 0064 CA68 ldr r2, [r1, #12] 5082 0066 42F02002 orr r2, r2, #32 5083 006a CA60 str r2, [r1, #12] 2068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5084 .loc 1 2068 3 view .LVU1446 2068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5085 .loc 1 2068 3 view .LVU1447 5086 006c 0020 movs r0, #0 5087 006e 83F83C00 strb r0, [r3, #60] 2068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5088 .loc 1 2068 3 view .LVU1448 2070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5089 .loc 1 2070 3 view .LVU1449 2071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5090 .loc 1 2071 1 is_stmt 0 view .LVU1450 5091 0072 5DF8044B ldr r4, [sp], #4 5092 .LCFI35: 5093 .cfi_remember_state 5094 .cfi_restore 4 5095 .cfi_def_cfa_offset 0 ARM GAS /tmp/ccdmQ4z9.s page 179 5096 0076 7047 bx lr 5097 .LVL341: 5098 .L415: 5099 .LCFI36: 5100 .cfi_restore_state 2071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5101 .loc 1 2071 1 view .LVU1451 5102 0078 3029 cmp r1, #48 5103 007a DFD1 bne .L416 5104 007c D3E7 b .L413 5105 .L414: 2071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5106 .loc 1 2071 1 view .LVU1452 5107 007e 0848 ldr r0, .L423 5108 0080 8142 cmp r1, r0 5109 0082 D0D0 beq .L413 5110 0084 06D8 bhi .L417 5111 0086 2038 subs r0, r0, #32 5112 0088 8142 cmp r1, r0 5113 008a CCD0 beq .L413 5114 008c 1030 adds r0, r0, #16 5115 008e 8142 cmp r1, r0 5116 0090 D4D1 bne .L416 5117 0092 C8E7 b .L413 5118 .L417: 5119 0094 0348 ldr r0, .L423+4 5120 0096 8142 cmp r1, r0 5121 0098 D0D1 bne .L416 5122 009a C4E7 b .L413 5123 .L418: 5124 .LCFI37: 5125 .cfi_def_cfa_offset 0 5126 .cfi_restore 4 2022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5127 .loc 1 2022 3 discriminator 1 view .LVU1453 5128 009c 0220 movs r0, #2 2071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5129 .loc 1 2071 1 view .LVU1454 5130 009e 7047 bx lr 5131 .L424: 5132 .align 2 5133 .L423: 5134 00a0 40001000 .word 1048640 5135 00a4 70001000 .word 1048688 5136 .cfi_endproc 5137 .LFE356: 5139 .section .text.HAL_TIMEx_ConfigCommutEvent_DMA,"ax",%progbits 5140 .align 1 5141 .global HAL_TIMEx_ConfigCommutEvent_DMA 5142 .syntax unified 5143 .thumb 5144 .thumb_func 5146 HAL_TIMEx_ConfigCommutEvent_DMA: 5147 .LVL342: 5148 .LFB357: 2109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 5149 .loc 1 2109 1 is_stmt 1 view -0 ARM GAS /tmp/ccdmQ4z9.s page 180 5150 .cfi_startproc 5151 @ args = 0, pretend = 0, frame = 0 5152 @ frame_needed = 0, uses_anonymous_args = 0 5153 @ link register save eliminated. 2109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 5154 .loc 1 2109 1 is_stmt 0 view .LVU1456 5155 0000 0346 mov r3, r0 2111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_INSTANCE(htim->Instance, InputTrigger)); 5156 .loc 1 2111 3 is_stmt 1 view .LVU1457 2112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5157 .loc 1 2112 3 view .LVU1458 2114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5158 .loc 1 2114 3 view .LVU1459 2114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5159 .loc 1 2114 3 view .LVU1460 5160 0002 90F83C00 ldrb r0, [r0, #60] @ zero_extendqisi2 5161 .LVL343: 2114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5162 .loc 1 2114 3 is_stmt 0 view .LVU1461 5163 0006 0128 cmp r0, #1 5164 0008 51D0 beq .L432 2109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 5165 .loc 1 2109 1 view .LVU1462 5166 000a 10B4 push {r4} 5167 .LCFI38: 5168 .cfi_def_cfa_offset 4 5169 .cfi_offset 4, -4 2114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5170 .loc 1 2114 3 is_stmt 1 discriminator 2 view .LVU1463 5171 000c 0120 movs r0, #1 5172 000e 83F83C00 strb r0, [r3, #60] 2114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5173 .loc 1 2114 3 discriminator 2 view .LVU1464 2136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) || 5174 .loc 1 2136 3 view .LVU1465 5175 0012 B1F1101F cmp r1, #1048592 5176 0016 06D0 beq .L427 5177 0018 3AD8 bhi .L428 5178 001a 2029 cmp r1, #32 5179 001c 03D0 beq .L427 5180 001e 34D8 bhi .L429 5181 0020 09B1 cbz r1, .L427 5182 0022 1029 cmp r1, #16 5183 0024 0AD1 bne .L430 5184 .L427: 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 5185 .loc 1 2144 5 view .LVU1466 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 5186 .loc 1 2144 9 is_stmt 0 view .LVU1467 5187 0026 1C68 ldr r4, [r3] 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 5188 .loc 1 2144 19 view .LVU1468 5189 0028 A068 ldr r0, [r4, #8] 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger; 5190 .loc 1 2144 26 view .LVU1469 5191 002a 20F44010 bic r0, r0, #3145728 5192 002e 20F07000 bic r0, r0, #112 ARM GAS /tmp/ccdmQ4z9.s page 181 5193 0032 A060 str r0, [r4, #8] 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5194 .loc 1 2145 5 is_stmt 1 view .LVU1470 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5195 .loc 1 2145 9 is_stmt 0 view .LVU1471 5196 0034 1C68 ldr r4, [r3] 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5197 .loc 1 2145 19 view .LVU1472 5198 0036 A068 ldr r0, [r4, #8] 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5199 .loc 1 2145 26 view .LVU1473 5200 0038 0143 orrs r1, r1, r0 5201 .LVL344: 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5202 .loc 1 2145 26 view .LVU1474 5203 003a A160 str r1, [r4, #8] 5204 .L430: 2149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 5205 .loc 1 2149 3 is_stmt 1 view .LVU1475 2149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 5206 .loc 1 2149 7 is_stmt 0 view .LVU1476 5207 003c 1868 ldr r0, [r3] 2149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 5208 .loc 1 2149 17 view .LVU1477 5209 003e 4168 ldr r1, [r0, #4] 2149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */ 5210 .loc 1 2149 23 view .LVU1478 5211 0040 41F00101 orr r1, r1, #1 5212 0044 4160 str r1, [r0, #4] 2151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 5213 .loc 1 2151 3 is_stmt 1 view .LVU1479 2151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 5214 .loc 1 2151 7 is_stmt 0 view .LVU1480 5215 0046 1868 ldr r0, [r3] 2151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 5216 .loc 1 2151 17 view .LVU1481 5217 0048 4168 ldr r1, [r0, #4] 2151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource; 5218 .loc 1 2151 23 view .LVU1482 5219 004a 21F00401 bic r1, r1, #4 5220 004e 4160 str r1, [r0, #4] 2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5221 .loc 1 2152 3 is_stmt 1 view .LVU1483 2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5222 .loc 1 2152 7 is_stmt 0 view .LVU1484 5223 0050 1868 ldr r0, [r3] 2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5224 .loc 1 2152 17 view .LVU1485 5225 0052 4168 ldr r1, [r0, #4] 2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5226 .loc 1 2152 23 view .LVU1486 5227 0054 0A43 orrs r2, r2, r1 5228 .LVL345: 2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5229 .loc 1 2152 23 view .LVU1487 5230 0056 4260 str r2, [r0, #4] 2156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; ARM GAS /tmp/ccdmQ4z9.s page 182 5231 .loc 1 2156 3 is_stmt 1 view .LVU1488 2156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 5232 .loc 1 2156 13 is_stmt 0 view .LVU1489 5233 0058 5A6B ldr r2, [r3, #52] 2156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 5234 .loc 1 2156 56 view .LVU1490 5235 005a 1649 ldr r1, .L437 5236 005c D162 str r1, [r2, #44] 2157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 5237 .loc 1 2157 3 is_stmt 1 view .LVU1491 2157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 5238 .loc 1 2157 13 is_stmt 0 view .LVU1492 5239 005e 5A6B ldr r2, [r3, #52] 2157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */ 5240 .loc 1 2157 60 view .LVU1493 5241 0060 1549 ldr r1, .L437+4 5242 0062 1163 str r1, [r2, #48] 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5243 .loc 1 2159 3 is_stmt 1 view .LVU1494 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5244 .loc 1 2159 13 is_stmt 0 view .LVU1495 5245 0064 5A6B ldr r2, [r3, #52] 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5246 .loc 1 2159 57 view .LVU1496 5247 0066 1549 ldr r1, .L437+8 5248 0068 5163 str r1, [r2, #52] 2162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5249 .loc 1 2162 3 is_stmt 1 view .LVU1497 5250 006a 1968 ldr r1, [r3] 5251 006c CA68 ldr r2, [r1, #12] 5252 006e 22F02002 bic r2, r2, #32 5253 0072 CA60 str r2, [r1, #12] 2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5254 .loc 1 2165 3 view .LVU1498 5255 0074 1968 ldr r1, [r3] 5256 0076 CA68 ldr r2, [r1, #12] 5257 0078 42F40052 orr r2, r2, #8192 5258 007c CA60 str r2, [r1, #12] 2167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5259 .loc 1 2167 3 view .LVU1499 2167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5260 .loc 1 2167 3 view .LVU1500 5261 007e 0020 movs r0, #0 5262 0080 83F83C00 strb r0, [r3, #60] 2167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5263 .loc 1 2167 3 view .LVU1501 2169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5264 .loc 1 2169 3 view .LVU1502 2170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5265 .loc 1 2170 1 is_stmt 0 view .LVU1503 5266 0084 5DF8044B ldr r4, [sp], #4 5267 .LCFI39: 5268 .cfi_remember_state 5269 .cfi_restore 4 5270 .cfi_def_cfa_offset 0 5271 0088 7047 bx lr 5272 .LVL346: ARM GAS /tmp/ccdmQ4z9.s page 183 5273 .L429: 5274 .LCFI40: 5275 .cfi_restore_state 2170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5276 .loc 1 2170 1 view .LVU1504 5277 008a 3029 cmp r1, #48 5278 008c D6D1 bne .L430 5279 008e CAE7 b .L427 5280 .L428: 2170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5281 .loc 1 2170 1 view .LVU1505 5282 0090 0B48 ldr r0, .L437+12 5283 0092 8142 cmp r1, r0 5284 0094 C7D0 beq .L427 5285 0096 06D8 bhi .L431 5286 0098 2038 subs r0, r0, #32 5287 009a 8142 cmp r1, r0 5288 009c C3D0 beq .L427 5289 009e 1030 adds r0, r0, #16 5290 00a0 8142 cmp r1, r0 5291 00a2 CBD1 bne .L430 5292 00a4 BFE7 b .L427 5293 .L431: 5294 00a6 0748 ldr r0, .L437+16 5295 00a8 8142 cmp r1, r0 5296 00aa C7D1 bne .L430 5297 00ac BBE7 b .L427 5298 .L432: 5299 .LCFI41: 5300 .cfi_def_cfa_offset 0 5301 .cfi_restore 4 2114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5302 .loc 1 2114 3 discriminator 1 view .LVU1506 5303 00ae 0220 movs r0, #2 2170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5304 .loc 1 2170 1 view .LVU1507 5305 00b0 7047 bx lr 5306 .L438: 5307 00b2 00BF .align 2 5308 .L437: 5309 00b4 00000000 .word TIMEx_DMACommutationCplt 5310 00b8 00000000 .word TIMEx_DMACommutationHalfCplt 5311 00bc 00000000 .word TIM_DMAError 5312 00c0 40001000 .word 1048640 5313 00c4 70001000 .word 1048688 5314 .cfi_endproc 5315 .LFE357: 5317 .section .text.HAL_TIMEx_MasterConfigSynchronization,"ax",%progbits 5318 .align 1 5319 .global HAL_TIMEx_MasterConfigSynchronization 5320 .syntax unified 5321 .thumb 5322 .thumb_func 5324 HAL_TIMEx_MasterConfigSynchronization: 5325 .LVL347: 5326 .LFB358: 2182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpcr2; ARM GAS /tmp/ccdmQ4z9.s page 184 5327 .loc 1 2182 1 is_stmt 1 view -0 5328 .cfi_startproc 5329 @ args = 0, pretend = 0, frame = 0 5330 @ frame_needed = 0, uses_anonymous_args = 0 5331 @ link register save eliminated. 2183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr; 5332 .loc 1 2183 3 view .LVU1509 2184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5333 .loc 1 2184 3 view .LVU1510 2187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_TRGO_SOURCE(sMasterConfig->MasterOutputTrigger)); 5334 .loc 1 2187 3 view .LVU1511 2188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_MSM_STATE(sMasterConfig->MasterSlaveMode)); 5335 .loc 1 2188 3 view .LVU1512 2189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5336 .loc 1 2189 3 view .LVU1513 2192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5337 .loc 1 2192 3 view .LVU1514 2192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5338 .loc 1 2192 3 view .LVU1515 5339 0000 90F83C20 ldrb r2, [r0, #60] @ zero_extendqisi2 5340 0004 012A cmp r2, #1 5341 0006 40D0 beq .L445 2182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpcr2; 5342 .loc 1 2182 1 is_stmt 0 view .LVU1516 5343 0008 30B4 push {r4, r5} 5344 .LCFI42: 5345 .cfi_def_cfa_offset 8 5346 .cfi_offset 4, -8 5347 .cfi_offset 5, -4 5348 000a 0346 mov r3, r0 2192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5349 .loc 1 2192 3 is_stmt 1 discriminator 2 view .LVU1517 5350 000c 0122 movs r2, #1 5351 000e 80F83C20 strb r2, [r0, #60] 2192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5352 .loc 1 2192 3 discriminator 2 view .LVU1518 2195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5353 .loc 1 2195 3 view .LVU1519 2195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5354 .loc 1 2195 15 is_stmt 0 view .LVU1520 5355 0012 0222 movs r2, #2 5356 0014 80F83D20 strb r2, [r0, #61] 2198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5357 .loc 1 2198 3 is_stmt 1 view .LVU1521 2198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5358 .loc 1 2198 16 is_stmt 0 view .LVU1522 5359 0018 0068 ldr r0, [r0] 5360 .LVL348: 2198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5361 .loc 1 2198 10 view .LVU1523 5362 001a 4268 ldr r2, [r0, #4] 5363 .LVL349: 2201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5364 .loc 1 2201 3 is_stmt 1 view .LVU1524 2201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5365 .loc 1 2201 11 is_stmt 0 view .LVU1525 5366 001c 8468 ldr r4, [r0, #8] ARM GAS /tmp/ccdmQ4z9.s page 185 5367 .LVL350: 2204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5368 .loc 1 2204 3 is_stmt 1 view .LVU1526 2204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5369 .loc 1 2204 6 is_stmt 0 view .LVU1527 5370 001e 1C4D ldr r5, .L450 5371 0020 A842 cmp r0, r5 5372 0022 03D0 beq .L441 2204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5373 .loc 1 2204 7 discriminator 1 view .LVU1528 5374 0024 05F50065 add r5, r5, #2048 5375 0028 A842 cmp r0, r5 5376 002a 03D1 bne .L442 5377 .L441: 2207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5378 .loc 1 2207 5 is_stmt 1 view .LVU1529 2210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO2 source*/ 5379 .loc 1 2210 5 view .LVU1530 2210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO2 source*/ 5380 .loc 1 2210 12 is_stmt 0 view .LVU1531 5381 002c 22F47002 bic r2, r2, #15728640 5382 .LVL351: 2212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5383 .loc 1 2212 5 is_stmt 1 view .LVU1532 2212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5384 .loc 1 2212 28 is_stmt 0 view .LVU1533 5385 0030 4D68 ldr r5, [r1, #4] 2212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5386 .loc 1 2212 12 view .LVU1534 5387 0032 2A43 orrs r2, r2, r5 5388 .LVL352: 5389 .L442: 2216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO source */ 5390 .loc 1 2216 3 is_stmt 1 view .LVU1535 2216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO source */ 5391 .loc 1 2216 10 is_stmt 0 view .LVU1536 5392 0034 22F00072 bic r2, r2, #33554432 5393 .LVL353: 2216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO source */ 5394 .loc 1 2216 10 view .LVU1537 5395 0038 22F07002 bic r2, r2, #112 5396 .LVL354: 2218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5397 .loc 1 2218 3 is_stmt 1 view .LVU1538 2218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5398 .loc 1 2218 10 is_stmt 0 view .LVU1539 5399 003c 0D68 ldr r5, [r1] 5400 003e 2A43 orrs r2, r2, r5 5401 .LVL355: 2221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5402 .loc 1 2221 3 is_stmt 1 view .LVU1540 2221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5403 .loc 1 2221 23 is_stmt 0 view .LVU1541 5404 0040 4260 str r2, [r0, #4] 2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5405 .loc 1 2223 3 is_stmt 1 view .LVU1542 2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { ARM GAS /tmp/ccdmQ4z9.s page 186 5406 .loc 1 2223 7 is_stmt 0 view .LVU1543 5407 0042 1A68 ldr r2, [r3] 5408 .LVL356: 2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5409 .loc 1 2223 6 view .LVU1544 5410 0044 1248 ldr r0, .L450 5411 .LVL357: 2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5412 .loc 1 2223 6 view .LVU1545 5413 0046 8242 cmp r2, r0 5414 0048 12D0 beq .L443 2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5415 .loc 1 2223 7 discriminator 1 view .LVU1546 5416 004a B2F1804F cmp r2, #1073741824 5417 004e 0FD0 beq .L443 2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5418 .loc 1 2223 7 discriminator 2 view .LVU1547 5419 0050 A0F59430 sub r0, r0, #75776 5420 0054 8242 cmp r2, r0 5421 0056 0BD0 beq .L443 2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5422 .loc 1 2223 7 discriminator 3 view .LVU1548 5423 0058 00F58060 add r0, r0, #1024 5424 005c 8242 cmp r2, r0 5425 005e 07D0 beq .L443 2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5426 .loc 1 2223 7 discriminator 4 view .LVU1549 5427 0060 00F59630 add r0, r0, #76800 5428 0064 8242 cmp r2, r0 5429 0066 03D0 beq .L443 2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5430 .loc 1 2223 7 discriminator 5 view .LVU1550 5431 0068 00F54060 add r0, r0, #3072 5432 006c 8242 cmp r2, r0 5433 006e 04D1 bne .L444 5434 .L443: 2226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set master mode */ 5435 .loc 1 2226 5 is_stmt 1 view .LVU1551 2226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set master mode */ 5436 .loc 1 2226 13 is_stmt 0 view .LVU1552 5437 0070 24F08004 bic r4, r4, #128 5438 .LVL358: 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5439 .loc 1 2228 5 is_stmt 1 view .LVU1553 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5440 .loc 1 2228 29 is_stmt 0 view .LVU1554 5441 0074 8968 ldr r1, [r1, #8] 5442 .LVL359: 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5443 .loc 1 2228 13 view .LVU1555 5444 0076 2143 orrs r1, r1, r4 5445 .LVL360: 2231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5446 .loc 1 2231 5 is_stmt 1 view .LVU1556 2231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5447 .loc 1 2231 26 is_stmt 0 view .LVU1557 5448 0078 9160 str r1, [r2, #8] ARM GAS /tmp/ccdmQ4z9.s page 187 5449 .LVL361: 5450 .L444: 2235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5451 .loc 1 2235 3 is_stmt 1 view .LVU1558 2235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5452 .loc 1 2235 15 is_stmt 0 view .LVU1559 5453 007a 0122 movs r2, #1 5454 007c 83F83D20 strb r2, [r3, #61] 2237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5455 .loc 1 2237 3 is_stmt 1 view .LVU1560 2237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5456 .loc 1 2237 3 view .LVU1561 5457 0080 0020 movs r0, #0 5458 0082 83F83C00 strb r0, [r3, #60] 2237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5459 .loc 1 2237 3 view .LVU1562 2239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5460 .loc 1 2239 3 view .LVU1563 2240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5461 .loc 1 2240 1 is_stmt 0 view .LVU1564 5462 0086 30BC pop {r4, r5} 5463 .LCFI43: 5464 .cfi_restore 5 5465 .cfi_restore 4 5466 .cfi_def_cfa_offset 0 5467 0088 7047 bx lr 5468 .LVL362: 5469 .L445: 2192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5470 .loc 1 2192 3 discriminator 1 view .LVU1565 5471 008a 0220 movs r0, #2 5472 .LVL363: 2240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5473 .loc 1 2240 1 view .LVU1566 5474 008c 7047 bx lr 5475 .L451: 5476 008e 00BF .align 2 5477 .L450: 5478 0090 002C0140 .word 1073818624 5479 .cfi_endproc 5480 .LFE358: 5482 .section .text.HAL_TIMEx_ConfigBreakDeadTime,"ax",%progbits 5483 .align 1 5484 .global HAL_TIMEx_ConfigBreakDeadTime 5485 .syntax unified 5486 .thumb 5487 .thumb_func 5489 HAL_TIMEx_ConfigBreakDeadTime: 5490 .LVL364: 5491 .LFB359: 2255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Keep this variable initialized to 0 as it is used to configure BDTR register */ 5492 .loc 1 2255 1 is_stmt 1 view -0 5493 .cfi_startproc 5494 @ args = 0, pretend = 0, frame = 0 5495 @ frame_needed = 0, uses_anonymous_args = 0 5496 @ link register save eliminated. 2257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ARM GAS /tmp/ccdmQ4z9.s page 188 5497 .loc 1 2257 3 view .LVU1568 2260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_OSSR_STATE(sBreakDeadTimeConfig->OffStateRunMode)); 5498 .loc 1 2260 3 view .LVU1569 2261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_OSSI_STATE(sBreakDeadTimeConfig->OffStateIDLEMode)); 5499 .loc 1 2261 3 view .LVU1570 2262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_LOCK_LEVEL(sBreakDeadTimeConfig->LockLevel)); 5500 .loc 1 2262 3 view .LVU1571 2263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_DEADTIME(sBreakDeadTimeConfig->DeadTime)); 5501 .loc 1 2263 3 view .LVU1572 2264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_STATE(sBreakDeadTimeConfig->BreakState)); 5502 .loc 1 2264 3 view .LVU1573 2265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_POLARITY(sBreakDeadTimeConfig->BreakPolarity)); 5503 .loc 1 2265 3 view .LVU1574 2266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_FILTER(sBreakDeadTimeConfig->BreakFilter)); 5504 .loc 1 2266 3 view .LVU1575 2267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_AUTOMATIC_OUTPUT_STATE(sBreakDeadTimeConfig->AutomaticOutput)); 5505 .loc 1 2267 3 view .LVU1576 2268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_AFMODE(sBreakDeadTimeConfig->BreakAFMode)); 5506 .loc 1 2268 3 view .LVU1577 2269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5507 .loc 1 2269 3 view .LVU1578 2272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5508 .loc 1 2272 3 view .LVU1579 2272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5509 .loc 1 2272 3 view .LVU1580 5510 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 5511 0004 012B cmp r3, #1 5512 0006 46D0 beq .L456 2255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Keep this variable initialized to 0 as it is used to configure BDTR register */ 5513 .loc 1 2255 1 is_stmt 0 view .LVU1581 5514 0008 10B4 push {r4} 5515 .LCFI44: 5516 .cfi_def_cfa_offset 4 5517 .cfi_offset 4, -4 5518 000a 0246 mov r2, r0 2272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5519 .loc 1 2272 3 is_stmt 1 discriminator 2 view .LVU1582 5520 000c 0123 movs r3, #1 5521 000e 80F83C30 strb r3, [r0, #60] 2272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5522 .loc 1 2272 3 discriminator 2 view .LVU1583 2278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_LOCK, sBreakDeadTimeConfig->LockLevel); 5523 .loc 1 2278 3 view .LVU1584 5524 0012 CB68 ldr r3, [r1, #12] 5525 .LVL365: 2279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSI, sBreakDeadTimeConfig->OffStateIDLEMode); 5526 .loc 1 2279 3 view .LVU1585 5527 0014 23F44073 bic r3, r3, #768 5528 .LVL366: 2279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSI, sBreakDeadTimeConfig->OffStateIDLEMode); 5529 .loc 1 2279 3 is_stmt 0 view .LVU1586 5530 0018 8868 ldr r0, [r1, #8] 5531 .LVL367: 2279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSI, sBreakDeadTimeConfig->OffStateIDLEMode); 5532 .loc 1 2279 3 view .LVU1587 5533 001a 0343 orrs r3, r3, r0 5534 .LVL368: ARM GAS /tmp/ccdmQ4z9.s page 189 2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSR, sBreakDeadTimeConfig->OffStateRunMode); 5535 .loc 1 2280 3 is_stmt 1 view .LVU1588 5536 001c 23F48063 bic r3, r3, #1024 5537 .LVL369: 2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSR, sBreakDeadTimeConfig->OffStateRunMode); 5538 .loc 1 2280 3 is_stmt 0 view .LVU1589 5539 0020 4868 ldr r0, [r1, #4] 5540 .LVL370: 2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSR, sBreakDeadTimeConfig->OffStateRunMode); 5541 .loc 1 2280 3 view .LVU1590 5542 0022 0343 orrs r3, r3, r0 5543 .LVL371: 2281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKE, sBreakDeadTimeConfig->BreakState); 5544 .loc 1 2281 3 is_stmt 1 view .LVU1591 5545 0024 23F40063 bic r3, r3, #2048 5546 .LVL372: 2281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKE, sBreakDeadTimeConfig->BreakState); 5547 .loc 1 2281 3 is_stmt 0 view .LVU1592 5548 0028 0868 ldr r0, [r1] 5549 .LVL373: 2281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKE, sBreakDeadTimeConfig->BreakState); 5550 .loc 1 2281 3 view .LVU1593 5551 002a 0343 orrs r3, r3, r0 5552 .LVL374: 2282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKP, sBreakDeadTimeConfig->BreakPolarity); 5553 .loc 1 2282 3 is_stmt 1 view .LVU1594 5554 002c 23F48053 bic r3, r3, #4096 5555 .LVL375: 2282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKP, sBreakDeadTimeConfig->BreakPolarity); 5556 .loc 1 2282 3 is_stmt 0 view .LVU1595 5557 0030 0869 ldr r0, [r1, #16] 5558 .LVL376: 2282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKP, sBreakDeadTimeConfig->BreakPolarity); 5559 .loc 1 2282 3 view .LVU1596 5560 0032 0343 orrs r3, r3, r0 5561 .LVL377: 2283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_AOE, sBreakDeadTimeConfig->AutomaticOutput); 5562 .loc 1 2283 3 is_stmt 1 view .LVU1597 5563 0034 23F40053 bic r3, r3, #8192 5564 .LVL378: 2283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_AOE, sBreakDeadTimeConfig->AutomaticOutput); 5565 .loc 1 2283 3 is_stmt 0 view .LVU1598 5566 0038 4869 ldr r0, [r1, #20] 5567 .LVL379: 2283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_AOE, sBreakDeadTimeConfig->AutomaticOutput); 5568 .loc 1 2283 3 view .LVU1599 5569 003a 0343 orrs r3, r3, r0 5570 .LVL380: 2284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKF, (sBreakDeadTimeConfig->BreakFilter << TIM_BDTR_BKF_Pos)); 5571 .loc 1 2284 3 is_stmt 1 view .LVU1600 5572 003c 23F48043 bic r3, r3, #16384 5573 .LVL381: 2284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKF, (sBreakDeadTimeConfig->BreakFilter << TIM_BDTR_BKF_Pos)); 5574 .loc 1 2284 3 is_stmt 0 view .LVU1601 5575 0040 086B ldr r0, [r1, #48] 5576 .LVL382: 2284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKF, (sBreakDeadTimeConfig->BreakFilter << TIM_BDTR_BKF_Pos)); ARM GAS /tmp/ccdmQ4z9.s page 190 5577 .loc 1 2284 3 view .LVU1602 5578 0042 0343 orrs r3, r3, r0 5579 .LVL383: 2285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKBID, sBreakDeadTimeConfig->BreakAFMode); 5580 .loc 1 2285 3 is_stmt 1 view .LVU1603 5581 0044 23F47023 bic r3, r3, #983040 5582 .LVL384: 2285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKBID, sBreakDeadTimeConfig->BreakAFMode); 5583 .loc 1 2285 3 is_stmt 0 view .LVU1604 5584 0048 8869 ldr r0, [r1, #24] 5585 .LVL385: 2285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKBID, sBreakDeadTimeConfig->BreakAFMode); 5586 .loc 1 2285 3 view .LVU1605 5587 004a 43EA0043 orr r3, r3, r0, lsl #16 5588 .LVL386: 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5589 .loc 1 2286 3 is_stmt 1 view .LVU1606 5590 004e 23F08053 bic r3, r3, #268435456 5591 .LVL387: 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5592 .loc 1 2286 3 is_stmt 0 view .LVU1607 5593 0052 C869 ldr r0, [r1, #28] 5594 .LVL388: 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5595 .loc 1 2286 3 view .LVU1608 5596 0054 0343 orrs r3, r3, r0 5597 .LVL389: 2288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5598 .loc 1 2288 3 is_stmt 1 view .LVU1609 2288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5599 .loc 1 2288 7 is_stmt 0 view .LVU1610 5600 0056 1068 ldr r0, [r2] 2288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5601 .loc 1 2288 6 view .LVU1611 5602 0058 104C ldr r4, .L461 5603 005a A042 cmp r0, r4 5604 005c 03D0 beq .L454 2288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5605 .loc 1 2288 7 discriminator 1 view .LVU1612 5606 005e 04F50064 add r4, r4, #2048 5607 0062 A042 cmp r0, r4 5608 0064 10D1 bne .L455 5609 .L454: 2291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK2_POLARITY(sBreakDeadTimeConfig->Break2Polarity)); 5610 .loc 1 2291 5 is_stmt 1 view .LVU1613 2292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_FILTER(sBreakDeadTimeConfig->Break2Filter)); 5611 .loc 1 2292 5 view .LVU1614 2293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK2_AFMODE(sBreakDeadTimeConfig->Break2AFMode)); 5612 .loc 1 2293 5 view .LVU1615 2294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5613 .loc 1 2294 5 view .LVU1616 2297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2E, sBreakDeadTimeConfig->Break2State); 5614 .loc 1 2297 5 view .LVU1617 5615 0066 23F47003 bic r3, r3, #15728640 5616 .LVL390: 2297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2E, sBreakDeadTimeConfig->Break2State); 5617 .loc 1 2297 5 is_stmt 0 view .LVU1618 ARM GAS /tmp/ccdmQ4z9.s page 191 5618 006a 8C6A ldr r4, [r1, #40] 5619 006c 43EA0453 orr r3, r3, r4, lsl #20 5620 .LVL391: 2298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2P, sBreakDeadTimeConfig->Break2Polarity); 5621 .loc 1 2298 5 is_stmt 1 view .LVU1619 5622 0070 23F08073 bic r3, r3, #16777216 5623 .LVL392: 2298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2P, sBreakDeadTimeConfig->Break2Polarity); 5624 .loc 1 2298 5 is_stmt 0 view .LVU1620 5625 0074 0C6A ldr r4, [r1, #32] 5626 .LVL393: 2298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2P, sBreakDeadTimeConfig->Break2Polarity); 5627 .loc 1 2298 5 view .LVU1621 5628 0076 2343 orrs r3, r3, r4 5629 .LVL394: 2299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2BID, sBreakDeadTimeConfig->Break2AFMode); 5630 .loc 1 2299 5 is_stmt 1 view .LVU1622 5631 0078 23F00073 bic r3, r3, #33554432 5632 .LVL395: 2299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2BID, sBreakDeadTimeConfig->Break2AFMode); 5633 .loc 1 2299 5 is_stmt 0 view .LVU1623 5634 007c 4C6A ldr r4, [r1, #36] 5635 .LVL396: 2299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2BID, sBreakDeadTimeConfig->Break2AFMode); 5636 .loc 1 2299 5 view .LVU1624 5637 007e 2343 orrs r3, r3, r4 5638 .LVL397: 2300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5639 .loc 1 2300 5 is_stmt 1 view .LVU1625 5640 0080 23F00053 bic r3, r3, #536870912 5641 .LVL398: 2300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5642 .loc 1 2300 5 is_stmt 0 view .LVU1626 5643 0084 C96A ldr r1, [r1, #44] 5644 .LVL399: 2300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5645 .loc 1 2300 5 view .LVU1627 5646 0086 0B43 orrs r3, r3, r1 5647 .LVL400: 5648 .L455: 2304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5649 .loc 1 2304 3 is_stmt 1 view .LVU1628 2304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5650 .loc 1 2304 24 is_stmt 0 view .LVU1629 5651 0088 4364 str r3, [r0, #68] 2306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5652 .loc 1 2306 3 is_stmt 1 view .LVU1630 2306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5653 .loc 1 2306 3 view .LVU1631 5654 008a 0020 movs r0, #0 5655 008c 82F83C00 strb r0, [r2, #60] 2306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5656 .loc 1 2306 3 view .LVU1632 2308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5657 .loc 1 2308 3 view .LVU1633 2309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5658 .loc 1 2309 1 is_stmt 0 view .LVU1634 ARM GAS /tmp/ccdmQ4z9.s page 192 5659 0090 5DF8044B ldr r4, [sp], #4 5660 .LCFI45: 5661 .cfi_restore 4 5662 .cfi_def_cfa_offset 0 5663 0094 7047 bx lr 5664 .LVL401: 5665 .L456: 2272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5666 .loc 1 2272 3 discriminator 1 view .LVU1635 5667 0096 0220 movs r0, #2 5668 .LVL402: 2309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5669 .loc 1 2309 1 view .LVU1636 5670 0098 7047 bx lr 5671 .L462: 5672 009a 00BF .align 2 5673 .L461: 5674 009c 002C0140 .word 1073818624 5675 .cfi_endproc 5676 .LFE359: 5678 .section .text.HAL_TIMEx_ConfigBreakInput,"ax",%progbits 5679 .align 1 5680 .global HAL_TIMEx_ConfigBreakInput 5681 .syntax unified 5682 .thumb 5683 .thumb_func 5685 HAL_TIMEx_ConfigBreakInput: 5686 .LVL403: 5687 .LFB360: 2324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 5688 .loc 1 2324 1 is_stmt 1 view -0 5689 .cfi_startproc 5690 @ args = 0, pretend = 0, frame = 0 5691 @ frame_needed = 0, uses_anonymous_args = 0 2324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 5692 .loc 1 2324 1 is_stmt 0 view .LVU1638 5693 0000 0346 mov r3, r0 2325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmporx; 5694 .loc 1 2325 3 is_stmt 1 view .LVU1639 5695 .LVL404: 2326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_enable_mask; 5696 .loc 1 2326 3 view .LVU1640 2327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_polarity_mask; 5697 .loc 1 2327 3 view .LVU1641 2328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_enable_bitpos; 5698 .loc 1 2328 3 view .LVU1642 2329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_polarity_bitpos; 5699 .loc 1 2329 3 view .LVU1643 2330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5700 .loc 1 2330 3 view .LVU1644 2333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUT(BreakInput)); 5701 .loc 1 2333 3 view .LVU1645 2334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUTSOURCE(sBreakInputConfig->Source)); 5702 .loc 1 2334 3 view .LVU1646 2335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUTSOURCE_STATE(sBreakInputConfig->Enable)); 5703 .loc 1 2335 3 view .LVU1647 2336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUTSOURCE_POLARITY(sBreakInputConfig->Polarity)); ARM GAS /tmp/ccdmQ4z9.s page 193 5704 .loc 1 2336 3 view .LVU1648 2337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5705 .loc 1 2337 3 view .LVU1649 2340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5706 .loc 1 2340 3 view .LVU1650 2340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5707 .loc 1 2340 3 view .LVU1651 5708 0002 90F83C00 ldrb r0, [r0, #60] @ zero_extendqisi2 5709 .LVL405: 2340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5710 .loc 1 2340 3 is_stmt 0 view .LVU1652 5711 0006 0128 cmp r0, #1 5712 0008 5ED0 beq .L475 2324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 5713 .loc 1 2324 1 view .LVU1653 5714 000a 70B5 push {r4, r5, r6, lr} 5715 .LCFI46: 5716 .cfi_def_cfa_offset 16 5717 .cfi_offset 4, -16 5718 .cfi_offset 5, -12 5719 .cfi_offset 6, -8 5720 .cfi_offset 14, -4 2340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5721 .loc 1 2340 3 is_stmt 1 discriminator 2 view .LVU1654 5722 000c 0120 movs r0, #1 5723 000e 83F83C00 strb r0, [r3, #60] 2340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5724 .loc 1 2340 3 discriminator 2 view .LVU1655 2342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5725 .loc 1 2342 3 view .LVU1656 2342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5726 .loc 1 2342 28 is_stmt 0 view .LVU1657 5727 0012 1568 ldr r5, [r2] 2342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5728 .loc 1 2342 3 view .LVU1658 5729 0014 681E subs r0, r5, #1 5730 0016 0F28 cmp r0, #15 5731 0018 26D8 bhi .L465 5732 001a DFE800F0 tbb [pc, r0] 5733 .L467: 5734 001e 08 .byte (.L471-.L467)/2 5735 001f 2A .byte (.L476-.L467)/2 5736 0020 25 .byte (.L465-.L467)/2 5737 0021 0E .byte (.L469-.L467)/2 5738 0022 25 .byte (.L465-.L467)/2 5739 0023 25 .byte (.L465-.L467)/2 5740 0024 25 .byte (.L465-.L467)/2 5741 0025 19 .byte (.L468-.L467)/2 5742 0026 25 .byte (.L465-.L467)/2 5743 0027 25 .byte (.L465-.L467)/2 5744 0028 25 .byte (.L465-.L467)/2 5745 0029 25 .byte (.L465-.L467)/2 5746 002a 25 .byte (.L465-.L467)/2 5747 002b 25 .byte (.L465-.L467)/2 5748 002c 25 .byte (.L465-.L467)/2 5749 002d 1F .byte (.L466-.L467)/2 5750 .p2align 1 ARM GAS /tmp/ccdmQ4z9.s page 194 5751 .L471: 5752 002e 0920 movs r0, #9 5753 0030 4FF0000E mov lr, #0 5754 0034 4FF4007C mov ip, #512 5755 0038 04E0 b .L470 5756 .L469: 2363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP2E_Pos; 5757 .loc 1 2363 7 is_stmt 1 view .LVU1659 5758 .LVL406: 2364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP2P; 5759 .loc 1 2364 7 view .LVU1660 2365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP2P_Pos; 5760 .loc 1 2365 7 view .LVU1661 2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5761 .loc 1 2366 7 view .LVU1662 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5762 .loc 1 2367 7 view .LVU1663 2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5763 .loc 1 2366 28 is_stmt 0 view .LVU1664 5764 003a 0B20 movs r0, #11 2364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP2P; 5765 .loc 1 2364 26 view .LVU1665 5766 003c 4FF0020E mov lr, #2 2365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP2P_Pos; 5767 .loc 1 2365 26 view .LVU1666 5768 0040 4FF4006C mov ip, #2048 5769 .LVL407: 5770 .L470: 2432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5771 .loc 1 2432 3 is_stmt 1 view .LVU1667 5772 0044 0129 cmp r1, #1 5773 0046 1AD0 beq .L472 5774 0048 0229 cmp r1, #2 5775 004a 2CD0 beq .L473 5776 004c 0120 movs r0, #1 5777 .LVL408: 2432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 5778 .loc 1 2432 3 is_stmt 0 view .LVU1668 5779 004e 26E0 b .L474 5780 .LVL409: 5781 .L468: 2372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP3E_Pos; 5782 .loc 1 2372 7 is_stmt 1 view .LVU1669 2373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP3P; 5783 .loc 1 2373 7 view .LVU1670 2374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP3P_Pos; 5784 .loc 1 2374 7 view .LVU1671 2375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5785 .loc 1 2375 7 view .LVU1672 2376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5786 .loc 1 2376 7 view .LVU1673 2375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5787 .loc 1 2375 28 is_stmt 0 view .LVU1674 5788 0050 0C20 movs r0, #12 2373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP3P; 5789 .loc 1 2373 26 view .LVU1675 5790 0052 4FF0030E mov lr, #3 ARM GAS /tmp/ccdmQ4z9.s page 195 2374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP3P_Pos; 5791 .loc 1 2374 26 view .LVU1676 5792 0056 4FF4805C mov ip, #4096 2376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5793 .loc 1 2376 7 view .LVU1677 5794 005a F3E7 b .L470 5795 .LVL410: 5796 .L466: 2381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP4E_Pos; 5797 .loc 1 2381 7 is_stmt 1 view .LVU1678 2382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP4P; 5798 .loc 1 2382 7 view .LVU1679 2383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP4P_Pos; 5799 .loc 1 2383 7 view .LVU1680 2384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5800 .loc 1 2384 7 view .LVU1681 2385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5801 .loc 1 2385 7 view .LVU1682 2384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5802 .loc 1 2384 28 is_stmt 0 view .LVU1683 5803 005c 0D20 movs r0, #13 2382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP4P; 5804 .loc 1 2382 26 view .LVU1684 5805 005e 4FF0040E mov lr, #4 2383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP4P_Pos; 5806 .loc 1 2383 26 view .LVU1685 5807 0062 4FF4005C mov ip, #8192 2385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5808 .loc 1 2385 7 view .LVU1686 5809 0066 EDE7 b .L470 5810 .LVL411: 5811 .L465: 2424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = 0U; 5812 .loc 1 2424 7 is_stmt 1 view .LVU1687 2425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = 0U; 5813 .loc 1 2425 7 view .LVU1688 2426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = 0U; 5814 .loc 1 2426 7 view .LVU1689 2427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5815 .loc 1 2427 7 view .LVU1690 2428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5816 .loc 1 2428 7 view .LVU1691 2427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5817 .loc 1 2427 28 is_stmt 0 view .LVU1692 5818 0068 0020 movs r0, #0 2426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = 0U; 5819 .loc 1 2426 26 view .LVU1693 5820 006a 8646 mov lr, r0 2425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = 0U; 5821 .loc 1 2425 26 view .LVU1694 5822 006c 8446 mov ip, r0 2424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = 0U; 5823 .loc 1 2424 24 view .LVU1695 5824 006e 0546 mov r5, r0 2428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5825 .loc 1 2428 7 view .LVU1696 5826 0070 E8E7 b .L470 ARM GAS /tmp/ccdmQ4z9.s page 196 5827 .LVL412: 5828 .L476: 2357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5829 .loc 1 2357 28 view .LVU1697 5830 0072 0A20 movs r0, #10 2355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP1P; 5831 .loc 1 2355 26 view .LVU1698 5832 0074 4FF0010E mov lr, #1 2356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP1P_Pos; 5833 .loc 1 2356 26 view .LVU1699 5834 0078 4FF4806C mov ip, #1024 5835 007c E2E7 b .L470 5836 .LVL413: 5837 .L472: 2437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5838 .loc 1 2437 7 is_stmt 1 view .LVU1700 2437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5839 .loc 1 2437 20 is_stmt 0 view .LVU1701 5840 007e 1C68 ldr r4, [r3] 2437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5841 .loc 1 2437 14 view .LVU1702 5842 0080 266E ldr r6, [r4, #96] 5843 .LVL414: 2440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Enable << bkin_enable_bitpos) & bkin_enable_mask; 5844 .loc 1 2440 7 is_stmt 1 view .LVU1703 2441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5845 .loc 1 2441 7 view .LVU1704 2441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5846 .loc 1 2441 35 is_stmt 0 view .LVU1705 5847 0082 5168 ldr r1, [r2, #4] 5848 .LVL415: 2441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5849 .loc 1 2441 44 view .LVU1706 5850 0084 01FA0EF1 lsl r1, r1, lr 5851 0088 7140 eors r1, r1, r6 5852 008a 2940 ands r1, r1, r5 2441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5853 .loc 1 2441 14 view .LVU1707 5854 008c 7140 eors r1, r1, r6 5855 .LVL416: 2444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Polarity << bkin_polarity_bitpos) & bkin_polarity_mask; 5856 .loc 1 2444 7 is_stmt 1 view .LVU1708 2445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5857 .loc 1 2445 7 view .LVU1709 2445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5858 .loc 1 2445 35 is_stmt 0 view .LVU1710 5859 008e 9268 ldr r2, [r2, #8] 5860 .LVL417: 2445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5861 .loc 1 2445 46 view .LVU1711 5862 0090 8240 lsls r2, r2, r0 5863 0092 4A40 eors r2, r2, r1 5864 0094 02EA0C02 and r2, r2, ip 2445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5865 .loc 1 2445 14 view .LVU1712 5866 0098 4A40 eors r2, r2, r1 5867 .LVL418: ARM GAS /tmp/ccdmQ4z9.s page 197 2448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5868 .loc 1 2448 7 is_stmt 1 view .LVU1713 2448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5869 .loc 1 2448 27 is_stmt 0 view .LVU1714 5870 009a 2266 str r2, [r4, #96] 2449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5871 .loc 1 2449 7 is_stmt 1 view .LVU1715 2325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmporx; 5872 .loc 1 2325 21 is_stmt 0 view .LVU1716 5873 009c 0020 movs r0, #0 5874 .LVL419: 5875 .L474: 2473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5876 .loc 1 2473 3 is_stmt 1 view .LVU1717 2473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5877 .loc 1 2473 3 view .LVU1718 5878 009e 0022 movs r2, #0 5879 00a0 83F83C20 strb r2, [r3, #60] 2473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5880 .loc 1 2473 3 view .LVU1719 2475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5881 .loc 1 2475 3 view .LVU1720 2476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5882 .loc 1 2476 1 is_stmt 0 view .LVU1721 5883 00a4 70BD pop {r4, r5, r6, pc} 5884 .LVL420: 5885 .L473: 2454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5886 .loc 1 2454 7 is_stmt 1 view .LVU1722 2454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5887 .loc 1 2454 20 is_stmt 0 view .LVU1723 5888 00a6 1C68 ldr r4, [r3] 2454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5889 .loc 1 2454 14 view .LVU1724 5890 00a8 666E ldr r6, [r4, #100] 5891 .LVL421: 2457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Enable << bkin_enable_bitpos) & bkin_enable_mask; 5892 .loc 1 2457 7 is_stmt 1 view .LVU1725 2458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5893 .loc 1 2458 7 view .LVU1726 2458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5894 .loc 1 2458 35 is_stmt 0 view .LVU1727 5895 00aa 5168 ldr r1, [r2, #4] 5896 .LVL422: 2458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5897 .loc 1 2458 44 view .LVU1728 5898 00ac 01FA0EF1 lsl r1, r1, lr 5899 00b0 7140 eors r1, r1, r6 5900 00b2 2940 ands r1, r1, r5 2458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5901 .loc 1 2458 14 view .LVU1729 5902 00b4 7140 eors r1, r1, r6 5903 .LVL423: 2461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Polarity << bkin_polarity_bitpos) & bkin_polarity_mask; 5904 .loc 1 2461 7 is_stmt 1 view .LVU1730 2462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5905 .loc 1 2462 7 view .LVU1731 ARM GAS /tmp/ccdmQ4z9.s page 198 2462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5906 .loc 1 2462 35 is_stmt 0 view .LVU1732 5907 00b6 9268 ldr r2, [r2, #8] 5908 .LVL424: 2462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5909 .loc 1 2462 46 view .LVU1733 5910 00b8 8240 lsls r2, r2, r0 5911 00ba 4A40 eors r2, r2, r1 5912 00bc 02EA0C02 and r2, r2, ip 2462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5913 .loc 1 2462 14 view .LVU1734 5914 00c0 4A40 eors r2, r2, r1 5915 .LVL425: 2465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5916 .loc 1 2465 7 is_stmt 1 view .LVU1735 2465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 5917 .loc 1 2465 27 is_stmt 0 view .LVU1736 5918 00c2 6266 str r2, [r4, #100] 2466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5919 .loc 1 2466 7 is_stmt 1 view .LVU1737 2325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmporx; 5920 .loc 1 2325 21 is_stmt 0 view .LVU1738 5921 00c4 0020 movs r0, #0 5922 .LVL426: 2466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5923 .loc 1 2466 7 view .LVU1739 5924 00c6 EAE7 b .L474 5925 .LVL427: 5926 .L475: 5927 .LCFI47: 5928 .cfi_def_cfa_offset 0 5929 .cfi_restore 4 5930 .cfi_restore 5 5931 .cfi_restore 6 5932 .cfi_restore 14 2340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5933 .loc 1 2340 3 discriminator 1 view .LVU1740 5934 00c8 0220 movs r0, #2 2476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5935 .loc 1 2476 1 view .LVU1741 5936 00ca 7047 bx lr 5937 .cfi_endproc 5938 .LFE360: 5940 .section .text.HAL_TIMEx_RemapConfig,"ax",%progbits 5941 .align 1 5942 .global HAL_TIMEx_RemapConfig 5943 .syntax unified 5944 .thumb 5945 .thumb_func 5947 HAL_TIMEx_RemapConfig: 5948 .LVL428: 5949 .LFB361: 2589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check parameters */ 5950 .loc 1 2589 1 is_stmt 1 view -0 5951 .cfi_startproc 5952 @ args = 0, pretend = 0, frame = 0 5953 @ frame_needed = 0, uses_anonymous_args = 0 ARM GAS /tmp/ccdmQ4z9.s page 199 5954 @ link register save eliminated. 2591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_REMAP(Remap)); 5955 .loc 1 2591 3 view .LVU1743 2592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5956 .loc 1 2592 3 view .LVU1744 2594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5957 .loc 1 2594 3 view .LVU1745 2594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5958 .loc 1 2594 3 view .LVU1746 5959 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 5960 0004 012B cmp r3, #1 5961 0006 0DD0 beq .L483 2594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5962 .loc 1 2594 3 discriminator 2 view .LVU1747 5963 0008 0123 movs r3, #1 5964 000a 80F83C30 strb r3, [r0, #60] 2594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5965 .loc 1 2594 3 discriminator 2 view .LVU1748 2596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5966 .loc 1 2596 3 view .LVU1749 5967 000e 0268 ldr r2, [r0] 5968 0010 136E ldr r3, [r2, #96] 5969 0012 23F47033 bic r3, r3, #245760 5970 0016 1943 orrs r1, r1, r3 5971 .LVL429: 2596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5972 .loc 1 2596 3 is_stmt 0 view .LVU1750 5973 0018 1166 str r1, [r2, #96] 2598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5974 .loc 1 2598 3 is_stmt 1 view .LVU1751 2598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5975 .loc 1 2598 3 view .LVU1752 5976 001a 0023 movs r3, #0 5977 001c 80F83C30 strb r3, [r0, #60] 2598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5978 .loc 1 2598 3 view .LVU1753 2600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5979 .loc 1 2600 3 view .LVU1754 2600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5980 .loc 1 2600 10 is_stmt 0 view .LVU1755 5981 0020 1846 mov r0, r3 5982 .LVL430: 2600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 5983 .loc 1 2600 10 view .LVU1756 5984 0022 7047 bx lr 5985 .LVL431: 5986 .L483: 2594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5987 .loc 1 2594 3 discriminator 1 view .LVU1757 5988 0024 0220 movs r0, #2 5989 .LVL432: 2601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 5990 .loc 1 2601 1 view .LVU1758 5991 0026 7047 bx lr 5992 .cfi_endproc 5993 .LFE361: 5995 .section .text.HAL_TIMEx_TISelection,"ax",%progbits ARM GAS /tmp/ccdmQ4z9.s page 200 5996 .align 1 5997 .global HAL_TIMEx_TISelection 5998 .syntax unified 5999 .thumb 6000 .thumb_func 6002 HAL_TIMEx_TISelection: 6003 .LVL433: 6004 .LFB362: 2763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 6005 .loc 1 2763 1 is_stmt 1 view -0 6006 .cfi_startproc 6007 @ args = 0, pretend = 0, frame = 0 6008 @ frame_needed = 0, uses_anonymous_args = 0 6009 @ link register save eliminated. 2763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 6010 .loc 1 2763 1 is_stmt 0 view .LVU1760 6011 0000 0346 mov r3, r0 2764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6012 .loc 1 2764 3 is_stmt 1 view .LVU1761 6013 .LVL434: 2767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_TISEL(TISelection)); 6014 .loc 1 2767 3 view .LVU1762 2768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6015 .loc 1 2768 3 view .LVU1763 2770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6016 .loc 1 2770 3 view .LVU1764 2770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6017 .loc 1 2770 3 view .LVU1765 6018 0002 90F83C00 ldrb r0, [r0, #60] @ zero_extendqisi2 6019 .LVL435: 2770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6020 .loc 1 2770 3 is_stmt 0 view .LVU1766 6021 0006 0128 cmp r0, #1 6022 0008 44D0 beq .L494 2770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6023 .loc 1 2770 3 is_stmt 1 discriminator 2 view .LVU1767 6024 000a 0120 movs r0, #1 6025 000c 83F83C00 strb r0, [r3, #60] 2770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6026 .loc 1 2770 3 discriminator 2 view .LVU1768 2772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6027 .loc 1 2772 3 view .LVU1769 6028 0010 0C2A cmp r2, #12 6029 0012 3AD8 bhi .L495 6030 0014 DFE802F0 tbb [pc, r2] 6031 .L488: 6032 0018 07 .byte (.L491-.L488)/2 6033 0019 39 .byte (.L495-.L488)/2 6034 001a 39 .byte (.L495-.L488)/2 6035 001b 39 .byte (.L495-.L488)/2 6036 001c 21 .byte (.L490-.L488)/2 6037 001d 39 .byte (.L495-.L488)/2 6038 001e 39 .byte (.L495-.L488)/2 6039 001f 39 .byte (.L495-.L488)/2 6040 0020 29 .byte (.L489-.L488)/2 6041 0021 39 .byte (.L495-.L488)/2 6042 0022 39 .byte (.L495-.L488)/2 ARM GAS /tmp/ccdmQ4z9.s page 201 6043 0023 39 .byte (.L495-.L488)/2 6044 0024 31 .byte (.L487-.L488)/2 6045 0025 00 .p2align 1 6046 .L491: 2775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6047 .loc 1 2775 7 view .LVU1770 6048 0026 1868 ldr r0, [r3] 6049 0028 C26D ldr r2, [r0, #92] 6050 .LVL436: 2775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6051 .loc 1 2775 7 is_stmt 0 view .LVU1771 6052 002a 22F00F02 bic r2, r2, #15 6053 002e 0A43 orrs r2, r2, r1 6054 0030 C265 str r2, [r0, #92] 2778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6055 .loc 1 2778 7 is_stmt 1 view .LVU1772 2778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6056 .loc 1 2778 11 is_stmt 0 view .LVU1773 6057 0032 1A68 ldr r2, [r3] 2778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6058 .loc 1 2778 10 view .LVU1774 6059 0034 1849 ldr r1, .L496 6060 .LVL437: 2778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6061 .loc 1 2778 10 view .LVU1775 6062 0036 8A42 cmp r2, r1 6063 0038 09D0 beq .L492 2778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6064 .loc 1 2778 11 discriminator 1 view .LVU1776 6065 003a 01F58061 add r1, r1, #1024 6066 003e 8A42 cmp r2, r1 6067 0040 05D0 beq .L492 2784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6068 .loc 1 2784 9 is_stmt 1 view .LVU1777 6069 0042 916E ldr r1, [r2, #104] 6070 0044 21F00101 bic r1, r1, #1 6071 0048 9166 str r1, [r2, #104] 2764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6072 .loc 1 2764 21 is_stmt 0 view .LVU1778 6073 004a 0020 movs r0, #0 6074 004c 1EE0 b .L486 6075 .L492: 2780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6076 .loc 1 2780 9 is_stmt 1 view .LVU1779 6077 004e 916E ldr r1, [r2, #104] 6078 0050 41F00101 orr r1, r1, #1 6079 0054 9166 str r1, [r2, #104] 2764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6080 .loc 1 2764 21 is_stmt 0 view .LVU1780 6081 0056 0020 movs r0, #0 2780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6082 .loc 1 2780 9 view .LVU1781 6083 0058 18E0 b .L486 6084 .LVL438: 6085 .L490: 2788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 6086 .loc 1 2788 7 is_stmt 1 view .LVU1782 ARM GAS /tmp/ccdmQ4z9.s page 202 6087 005a 1868 ldr r0, [r3] 6088 005c C26D ldr r2, [r0, #92] 6089 .LVL439: 2788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 6090 .loc 1 2788 7 is_stmt 0 view .LVU1783 6091 005e 22F47062 bic r2, r2, #3840 6092 0062 0A43 orrs r2, r2, r1 6093 0064 C265 str r2, [r0, #92] 2789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3: 6094 .loc 1 2789 7 is_stmt 1 view .LVU1784 2764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6095 .loc 1 2764 21 is_stmt 0 view .LVU1785 6096 0066 0020 movs r0, #0 2789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3: 6097 .loc 1 2789 7 view .LVU1786 6098 0068 10E0 b .L486 6099 .LVL440: 6100 .L489: 2791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 6101 .loc 1 2791 7 is_stmt 1 view .LVU1787 6102 006a 1868 ldr r0, [r3] 6103 006c C26D ldr r2, [r0, #92] 6104 .LVL441: 2791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 6105 .loc 1 2791 7 is_stmt 0 view .LVU1788 6106 006e 22F47022 bic r2, r2, #983040 6107 0072 0A43 orrs r2, r2, r1 6108 0074 C265 str r2, [r0, #92] 2792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4: 6109 .loc 1 2792 7 is_stmt 1 view .LVU1789 2764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6110 .loc 1 2764 21 is_stmt 0 view .LVU1790 6111 0076 0020 movs r0, #0 2792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4: 6112 .loc 1 2792 7 view .LVU1791 6113 0078 08E0 b .L486 6114 .LVL442: 6115 .L487: 2794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 6116 .loc 1 2794 7 is_stmt 1 view .LVU1792 6117 007a 1868 ldr r0, [r3] 6118 007c C26D ldr r2, [r0, #92] 6119 .LVL443: 2794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break; 6120 .loc 1 2794 7 is_stmt 0 view .LVU1793 6121 007e 22F07062 bic r2, r2, #251658240 6122 0082 0A43 orrs r2, r2, r1 6123 0084 C265 str r2, [r0, #92] 2795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 6124 .loc 1 2795 7 is_stmt 1 view .LVU1794 2764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6125 .loc 1 2764 21 is_stmt 0 view .LVU1795 6126 0086 0020 movs r0, #0 2795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default: 6127 .loc 1 2795 7 view .LVU1796 6128 0088 00E0 b .L486 6129 .LVL444: ARM GAS /tmp/ccdmQ4z9.s page 203 6130 .L495: 2772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6131 .loc 1 2772 3 view .LVU1797 6132 008a 0120 movs r0, #1 6133 .LVL445: 6134 .L486: 2801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6135 .loc 1 2801 3 is_stmt 1 view .LVU1798 2801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6136 .loc 1 2801 3 view .LVU1799 6137 008c 0022 movs r2, #0 6138 008e 83F83C20 strb r2, [r3, #60] 2801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6139 .loc 1 2801 3 view .LVU1800 2803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6140 .loc 1 2803 3 view .LVU1801 2803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6141 .loc 1 2803 10 is_stmt 0 view .LVU1802 6142 0092 7047 bx lr 6143 .LVL446: 6144 .L494: 2770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6145 .loc 1 2770 3 discriminator 1 view .LVU1803 6146 0094 0220 movs r0, #2 2804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6147 .loc 1 2804 1 view .LVU1804 6148 0096 7047 bx lr 6149 .L497: 6150 .align 2 6151 .L496: 6152 0098 00440140 .word 1073824768 6153 .cfi_endproc 6154 .LFE362: 6156 .section .text.HAL_TIMEx_GroupChannel5,"ax",%progbits 6157 .align 1 6158 .global HAL_TIMEx_GroupChannel5 6159 .syntax unified 6160 .thumb 6161 .thumb_func 6163 HAL_TIMEx_GroupChannel5: 6164 .LVL447: 6165 .LFB363: 2818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check parameters */ 6166 .loc 1 2818 1 is_stmt 1 view -0 6167 .cfi_startproc 6168 @ args = 0, pretend = 0, frame = 0 6169 @ frame_needed = 0, uses_anonymous_args = 0 6170 @ link register save eliminated. 2820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_GROUPCH5(Channels)); 6171 .loc 1 2820 3 view .LVU1806 2821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6172 .loc 1 2821 3 view .LVU1807 2824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6173 .loc 1 2824 3 view .LVU1808 2824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6174 .loc 1 2824 3 view .LVU1809 6175 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 ARM GAS /tmp/ccdmQ4z9.s page 204 6176 0004 012B cmp r3, #1 6177 0006 18D0 beq .L500 2818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check parameters */ 6178 .loc 1 2818 1 is_stmt 0 view .LVU1810 6179 0008 10B4 push {r4} 6180 .LCFI48: 6181 .cfi_def_cfa_offset 4 6182 .cfi_offset 4, -4 2824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6183 .loc 1 2824 3 is_stmt 1 discriminator 2 view .LVU1811 6184 000a 0122 movs r2, #1 6185 000c 80F83C20 strb r2, [r0, #60] 2824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6186 .loc 1 2824 3 discriminator 2 view .LVU1812 2826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6187 .loc 1 2826 3 view .LVU1813 2826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6188 .loc 1 2826 15 is_stmt 0 view .LVU1814 6189 0010 0223 movs r3, #2 6190 0012 80F83D30 strb r3, [r0, #61] 2829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6191 .loc 1 2829 3 is_stmt 1 view .LVU1815 2829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6192 .loc 1 2829 7 is_stmt 0 view .LVU1816 6193 0016 0468 ldr r4, [r0] 2829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6194 .loc 1 2829 17 view .LVU1817 6195 0018 A36C ldr r3, [r4, #72] 2829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6196 .loc 1 2829 24 view .LVU1818 6197 001a 23F06043 bic r3, r3, #-536870912 6198 001e A364 str r3, [r4, #72] 2832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6199 .loc 1 2832 3 is_stmt 1 view .LVU1819 2832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6200 .loc 1 2832 7 is_stmt 0 view .LVU1820 6201 0020 0468 ldr r4, [r0] 2832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6202 .loc 1 2832 17 view .LVU1821 6203 0022 A36C ldr r3, [r4, #72] 2832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6204 .loc 1 2832 24 view .LVU1822 6205 0024 0B43 orrs r3, r3, r1 6206 0026 A364 str r3, [r4, #72] 2835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6207 .loc 1 2835 3 is_stmt 1 view .LVU1823 2835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6208 .loc 1 2835 15 is_stmt 0 view .LVU1824 6209 0028 80F83D20 strb r2, [r0, #61] 2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6210 .loc 1 2837 3 is_stmt 1 view .LVU1825 2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6211 .loc 1 2837 3 view .LVU1826 6212 002c 0023 movs r3, #0 6213 002e 80F83C30 strb r3, [r0, #60] 2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6214 .loc 1 2837 3 view .LVU1827 ARM GAS /tmp/ccdmQ4z9.s page 205 2839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6215 .loc 1 2839 3 view .LVU1828 2839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6216 .loc 1 2839 10 is_stmt 0 view .LVU1829 6217 0032 1846 mov r0, r3 6218 .LVL448: 2840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6219 .loc 1 2840 1 view .LVU1830 6220 0034 5DF8044B ldr r4, [sp], #4 6221 .LCFI49: 6222 .cfi_restore 4 6223 .cfi_def_cfa_offset 0 6224 0038 7047 bx lr 6225 .LVL449: 6226 .L500: 2824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6227 .loc 1 2824 3 discriminator 1 view .LVU1831 6228 003a 0220 movs r0, #2 6229 .LVL450: 2840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6230 .loc 1 2840 1 view .LVU1832 6231 003c 7047 bx lr 6232 .cfi_endproc 6233 .LFE363: 6235 .section .text.HAL_TIMEx_DisarmBreakInput,"ax",%progbits 6236 .align 1 6237 .global HAL_TIMEx_DisarmBreakInput 6238 .syntax unified 6239 .thumb 6240 .thumb_func 6242 HAL_TIMEx_DisarmBreakInput: 6243 .LVL451: 6244 .LFB364: 2856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 6245 .loc 1 2856 1 is_stmt 1 view -0 6246 .cfi_startproc 6247 @ args = 0, pretend = 0, frame = 0 6248 @ frame_needed = 0, uses_anonymous_args = 0 6249 @ link register save eliminated. 2857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr; 6250 .loc 1 2857 3 view .LVU1834 2858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6251 .loc 1 2858 3 view .LVU1835 2861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUT(BreakInput)); 6252 .loc 1 2861 3 view .LVU1836 2862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6253 .loc 1 2862 3 view .LVU1837 2864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6254 .loc 1 2864 3 view .LVU1838 6255 0000 0129 cmp r1, #1 6256 0002 03D0 beq .L506 6257 0004 0229 cmp r1, #2 6258 0006 10D0 beq .L507 6259 0008 0120 movs r0, #1 6260 .LVL452: 2864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6261 .loc 1 2864 3 is_stmt 0 view .LVU1839 ARM GAS /tmp/ccdmQ4z9.s page 206 6262 000a 7047 bx lr 6263 .LVL453: 6264 .L506: 2869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BKBID) == TIM_BDTR_BKBID) && 6265 .loc 1 2869 7 is_stmt 1 view .LVU1840 2869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BKBID) == TIM_BDTR_BKBID) && 6266 .loc 1 2869 17 is_stmt 0 view .LVU1841 6267 000c 0268 ldr r2, [r0] 2869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BKBID) == TIM_BDTR_BKBID) && 6268 .loc 1 2869 15 view .LVU1842 6269 000e 516C ldr r1, [r2, #68] 6270 .LVL454: 2870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U)) 6271 .loc 1 2870 7 is_stmt 1 view .LVU1843 2870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U)) 6272 .loc 1 2870 65 is_stmt 0 view .LVU1844 6273 0010 0D4B ldr r3, .L513 6274 0012 0B40 ands r3, r3, r1 2870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U)) 6275 .loc 1 2870 10 view .LVU1845 6276 0014 B3F1805F cmp r3, #268435456 6277 0018 01D0 beq .L511 2857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr; 6278 .loc 1 2857 21 view .LVU1846 6279 001a 0020 movs r0, #0 6280 .LVL455: 2857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr; 6281 .loc 1 2857 21 view .LVU1847 6282 001c 7047 bx lr 6283 .LVL456: 6284 .L511: 2874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6285 .loc 1 2874 9 is_stmt 1 view .LVU1848 6286 001e 536C ldr r3, [r2, #68] 6287 0020 43F08063 orr r3, r3, #67108864 6288 0024 5364 str r3, [r2, #68] 2857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr; 6289 .loc 1 2857 21 is_stmt 0 view .LVU1849 6290 0026 0020 movs r0, #0 6291 .LVL457: 2857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr; 6292 .loc 1 2857 21 view .LVU1850 6293 0028 7047 bx lr 6294 .LVL458: 6295 .L507: 2881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BK2BID) == TIM_BDTR_BK2BID) && 6296 .loc 1 2881 7 is_stmt 1 view .LVU1851 2881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BK2BID) == TIM_BDTR_BK2BID) && 6297 .loc 1 2881 17 is_stmt 0 view .LVU1852 6298 002a 0268 ldr r2, [r0] 2881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BK2BID) == TIM_BDTR_BK2BID) && 6299 .loc 1 2881 15 view .LVU1853 6300 002c 516C ldr r1, [r2, #68] 6301 .LVL459: 2882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U)) 6302 .loc 1 2882 7 is_stmt 1 view .LVU1854 2882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U)) ARM GAS /tmp/ccdmQ4z9.s page 207 6303 .loc 1 2882 67 is_stmt 0 view .LVU1855 6304 002e 074B ldr r3, .L513+4 6305 0030 0B40 ands r3, r3, r1 2882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U)) 6306 .loc 1 2882 10 view .LVU1856 6307 0032 B3F1005F cmp r3, #536870912 6308 0036 01D0 beq .L512 2857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr; 6309 .loc 1 2857 21 view .LVU1857 6310 0038 0020 movs r0, #0 6311 .LVL460: 2895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6312 .loc 1 2895 3 is_stmt 1 view .LVU1858 2896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6313 .loc 1 2896 1 is_stmt 0 view .LVU1859 6314 003a 7047 bx lr 6315 .LVL461: 6316 .L512: 2886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6317 .loc 1 2886 9 is_stmt 1 view .LVU1860 6318 003c 536C ldr r3, [r2, #68] 6319 003e 43F00063 orr r3, r3, #134217728 6320 0042 5364 str r3, [r2, #68] 2857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr; 6321 .loc 1 2857 21 is_stmt 0 view .LVU1861 6322 0044 0020 movs r0, #0 6323 .LVL462: 2857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr; 6324 .loc 1 2857 21 view .LVU1862 6325 0046 7047 bx lr 6326 .L514: 6327 .align 2 6328 .L513: 6329 0048 00800010 .word 268468224 6330 004c 00800020 .word 536903680 6331 .cfi_endproc 6332 .LFE364: 6334 .section .text.HAL_TIMEx_ReArmBreakInput,"ax",%progbits 6335 .align 1 6336 .global HAL_TIMEx_ReArmBreakInput 6337 .syntax unified 6338 .thumb 6339 .thumb_func 6341 HAL_TIMEx_ReArmBreakInput: 6342 .LVL463: 6343 .LFB365: 2910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 6344 .loc 1 2910 1 is_stmt 1 view -0 6345 .cfi_startproc 6346 @ args = 0, pretend = 0, frame = 0 6347 @ frame_needed = 0, uses_anonymous_args = 0 2910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK; 6348 .loc 1 2910 1 is_stmt 0 view .LVU1864 6349 0000 38B5 push {r3, r4, r5, lr} 6350 .LCFI50: 6351 .cfi_def_cfa_offset 16 6352 .cfi_offset 3, -16 ARM GAS /tmp/ccdmQ4z9.s page 208 6353 .cfi_offset 4, -12 6354 .cfi_offset 5, -8 6355 .cfi_offset 14, -4 6356 0002 0446 mov r4, r0 2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart; 6357 .loc 1 2911 3 is_stmt 1 view .LVU1865 6358 .LVL464: 2912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6359 .loc 1 2912 3 view .LVU1866 2915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUT(BreakInput)); 6360 .loc 1 2915 3 view .LVU1867 2916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6361 .loc 1 2916 3 view .LVU1868 2918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6362 .loc 1 2918 3 view .LVU1869 6363 0004 0129 cmp r1, #1 6364 0006 03D0 beq .L516 6365 0008 0229 cmp r1, #2 6366 000a 1ED0 beq .L517 6367 000c 0120 movs r0, #1 6368 .LVL465: 6369 .L518: 2971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6370 .loc 1 2971 1 is_stmt 0 view .LVU1870 6371 000e 38BD pop {r3, r4, r5, pc} 6372 .LVL466: 6373 .L516: 2923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6374 .loc 1 2923 7 is_stmt 1 view .LVU1871 2923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6375 .loc 1 2923 11 is_stmt 0 view .LVU1872 6376 0010 0368 ldr r3, [r0] 6377 0012 5B6C ldr r3, [r3, #68] 2923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6378 .loc 1 2923 10 view .LVU1873 6379 0014 13F0805F tst r3, #268435456 6380 0018 01D1 bne .L528 2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart; 6381 .loc 1 2911 21 view .LVU1874 6382 001a 0020 movs r0, #0 6383 .LVL467: 2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart; 6384 .loc 1 2911 21 view .LVU1875 6385 001c F7E7 b .L518 6386 .LVL468: 6387 .L528: 2927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** while (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BKDSRM) != 0UL) 6388 .loc 1 2927 9 is_stmt 1 view .LVU1876 2927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** while (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BKDSRM) != 0UL) 6389 .loc 1 2927 21 is_stmt 0 view .LVU1877 6390 001e FFF7FEFF bl HAL_GetTick 6391 .LVL469: 2927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** while (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BKDSRM) != 0UL) 6392 .loc 1 2927 21 view .LVU1878 6393 0022 0546 mov r5, r0 6394 .LVL470: 2928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { ARM GAS /tmp/ccdmQ4z9.s page 209 6395 .loc 1 2928 9 is_stmt 1 view .LVU1879 6396 .L519: 2928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6397 .loc 1 2928 64 view .LVU1880 2928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6398 .loc 1 2928 16 is_stmt 0 view .LVU1881 6399 0024 2368 ldr r3, [r4] 6400 0026 5B6C ldr r3, [r3, #68] 2928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6401 .loc 1 2928 64 view .LVU1882 6402 0028 13F0806F tst r3, #67108864 6403 002c 0BD0 beq .L529 2930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6404 .loc 1 2930 11 is_stmt 1 view .LVU1883 2930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6405 .loc 1 2930 16 is_stmt 0 view .LVU1884 6406 002e FFF7FEFF bl HAL_GetTick 6407 .LVL471: 2930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6408 .loc 1 2930 30 discriminator 1 view .LVU1885 6409 0032 401B subs r0, r0, r5 2930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6410 .loc 1 2930 14 discriminator 1 view .LVU1886 6411 0034 0528 cmp r0, #5 6412 0036 F5D9 bls .L519 2933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6413 .loc 1 2933 13 is_stmt 1 view .LVU1887 2933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6414 .loc 1 2933 17 is_stmt 0 view .LVU1888 6415 0038 2368 ldr r3, [r4] 6416 003a 5B6C ldr r3, [r3, #68] 2933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6417 .loc 1 2933 16 view .LVU1889 6418 003c 13F0806F tst r3, #67108864 6419 0040 F0D0 beq .L519 2935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6420 .loc 1 2935 22 view .LVU1890 6421 0042 0320 movs r0, #3 6422 0044 E3E7 b .L518 6423 .L529: 2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart; 6424 .loc 1 2911 21 view .LVU1891 6425 0046 0020 movs r0, #0 6426 0048 E1E7 b .L518 6427 .LVL472: 6428 .L517: 2946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6429 .loc 1 2946 7 is_stmt 1 view .LVU1892 2946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6430 .loc 1 2946 11 is_stmt 0 view .LVU1893 6431 004a 0368 ldr r3, [r0] 6432 004c 5B6C ldr r3, [r3, #68] 2946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6433 .loc 1 2946 10 view .LVU1894 6434 004e 13F0005F tst r3, #536870912 6435 0052 01D1 bne .L530 2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart; ARM GAS /tmp/ccdmQ4z9.s page 210 6436 .loc 1 2911 21 view .LVU1895 6437 0054 0020 movs r0, #0 6438 .LVL473: 2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart; 6439 .loc 1 2911 21 view .LVU1896 6440 0056 DAE7 b .L518 6441 .LVL474: 6442 .L530: 2950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** while (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BK2DSRM) != 0UL) 6443 .loc 1 2950 9 is_stmt 1 view .LVU1897 2950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** while (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BK2DSRM) != 0UL) 6444 .loc 1 2950 21 is_stmt 0 view .LVU1898 6445 0058 FFF7FEFF bl HAL_GetTick 6446 .LVL475: 2950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** while (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BK2DSRM) != 0UL) 6447 .loc 1 2950 21 view .LVU1899 6448 005c 0546 mov r5, r0 6449 .LVL476: 2951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6450 .loc 1 2951 9 is_stmt 1 view .LVU1900 6451 .L521: 2951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6452 .loc 1 2951 65 view .LVU1901 2951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6453 .loc 1 2951 16 is_stmt 0 view .LVU1902 6454 005e 2368 ldr r3, [r4] 6455 0060 5B6C ldr r3, [r3, #68] 2951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6456 .loc 1 2951 65 view .LVU1903 6457 0062 13F0006F tst r3, #134217728 6458 0066 0BD0 beq .L531 2953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6459 .loc 1 2953 11 is_stmt 1 view .LVU1904 2953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6460 .loc 1 2953 16 is_stmt 0 view .LVU1905 6461 0068 FFF7FEFF bl HAL_GetTick 6462 .LVL477: 2953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6463 .loc 1 2953 30 discriminator 1 view .LVU1906 6464 006c 401B subs r0, r0, r5 2953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6465 .loc 1 2953 14 discriminator 1 view .LVU1907 6466 006e 0528 cmp r0, #5 6467 0070 F5D9 bls .L521 2956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6468 .loc 1 2956 13 is_stmt 1 view .LVU1908 2956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6469 .loc 1 2956 17 is_stmt 0 view .LVU1909 6470 0072 2368 ldr r3, [r4] 6471 0074 5B6C ldr r3, [r3, #68] 2956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** { 6472 .loc 1 2956 16 view .LVU1910 6473 0076 13F0006F tst r3, #134217728 6474 007a F0D0 beq .L521 2958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6475 .loc 1 2958 22 view .LVU1911 6476 007c 0320 movs r0, #3 ARM GAS /tmp/ccdmQ4z9.s page 211 6477 007e C6E7 b .L518 6478 .L531: 2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart; 6479 .loc 1 2911 21 view .LVU1912 6480 0080 0020 movs r0, #0 6481 0082 C4E7 b .L518 6482 .cfi_endproc 6483 .LFE365: 6485 .section .text.HAL_TIMEx_DitheringEnable,"ax",%progbits 6486 .align 1 6487 .global HAL_TIMEx_DitheringEnable 6488 .syntax unified 6489 .thumb 6490 .thumb_func 6492 HAL_TIMEx_DitheringEnable: 6493 .LVL478: 6494 .LFB366: 2993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6495 .loc 1 2993 1 is_stmt 1 view -0 6496 .cfi_startproc 6497 @ args = 0, pretend = 0, frame = 0 6498 @ frame_needed = 0, uses_anonymous_args = 0 6499 @ link register save eliminated. 2995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6500 .loc 1 2995 3 view .LVU1914 2997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 6501 .loc 1 2997 3 view .LVU1915 6502 0000 0268 ldr r2, [r0] 6503 0002 1368 ldr r3, [r2] 6504 0004 43F48053 orr r3, r3, #4096 6505 0008 1360 str r3, [r2] 2998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6506 .loc 1 2998 3 view .LVU1916 2999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6507 .loc 1 2999 1 is_stmt 0 view .LVU1917 6508 000a 0020 movs r0, #0 6509 .LVL479: 2999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6510 .loc 1 2999 1 view .LVU1918 6511 000c 7047 bx lr 6512 .cfi_endproc 6513 .LFE366: 6515 .section .text.HAL_TIMEx_DitheringDisable,"ax",%progbits 6516 .align 1 6517 .global HAL_TIMEx_DitheringDisable 6518 .syntax unified 6519 .thumb 6520 .thumb_func 6522 HAL_TIMEx_DitheringDisable: 6523 .LVL480: 6524 .LFB367: 3017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6525 .loc 1 3017 1 is_stmt 1 view -0 6526 .cfi_startproc 6527 @ args = 0, pretend = 0, frame = 0 6528 @ frame_needed = 0, uses_anonymous_args = 0 6529 @ link register save eliminated. ARM GAS /tmp/ccdmQ4z9.s page 212 3019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6530 .loc 1 3019 3 view .LVU1920 3021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 6531 .loc 1 3021 3 view .LVU1921 6532 0000 0268 ldr r2, [r0] 6533 0002 1368 ldr r3, [r2] 6534 0004 23F48053 bic r3, r3, #4096 6535 0008 1360 str r3, [r2] 3022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6536 .loc 1 3022 3 view .LVU1922 3023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6537 .loc 1 3023 1 is_stmt 0 view .LVU1923 6538 000a 0020 movs r0, #0 6539 .LVL481: 3023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6540 .loc 1 3023 1 view .LVU1924 6541 000c 7047 bx lr 6542 .cfi_endproc 6543 .LFE367: 6545 .section .text.HAL_TIMEx_OC_ConfigPulseOnCompare,"ax",%progbits 6546 .align 1 6547 .global HAL_TIMEx_OC_ConfigPulseOnCompare 6548 .syntax unified 6549 .thumb 6550 .thumb_func 6552 HAL_TIMEx_OC_ConfigPulseOnCompare: 6553 .LVL482: 6554 .LFB368: 3037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpecr; 6555 .loc 1 3037 1 is_stmt 1 view -0 6556 .cfi_startproc 6557 @ args = 0, pretend = 0, frame = 0 6558 @ frame_needed = 0, uses_anonymous_args = 0 6559 @ link register save eliminated. 3037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpecr; 6560 .loc 1 3037 1 is_stmt 0 view .LVU1926 6561 0000 0346 mov r3, r0 3038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6562 .loc 1 3038 3 is_stmt 1 view .LVU1927 3041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_PULSEONCOMPARE_WIDTH(PulseWidth)); 6563 .loc 1 3041 3 view .LVU1928 3042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_PULSEONCOMPARE_WIDTHPRESCALER(PulseWidthPrescaler)); 6564 .loc 1 3042 3 view .LVU1929 3043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6565 .loc 1 3043 3 view .LVU1930 3046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6566 .loc 1 3046 3 view .LVU1931 3046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6567 .loc 1 3046 3 view .LVU1932 6568 0002 90F83C00 ldrb r0, [r0, #60] @ zero_extendqisi2 6569 .LVL483: 3046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6570 .loc 1 3046 3 is_stmt 0 view .LVU1933 6571 0006 0128 cmp r0, #1 6572 0008 18D0 beq .L536 3037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpecr; 6573 .loc 1 3037 1 view .LVU1934 ARM GAS /tmp/ccdmQ4z9.s page 213 6574 000a 10B4 push {r4} 6575 .LCFI51: 6576 .cfi_def_cfa_offset 4 6577 .cfi_offset 4, -4 3046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6578 .loc 1 3046 3 is_stmt 1 discriminator 2 view .LVU1935 6579 000c 4FF0010C mov ip, #1 6580 0010 83F83CC0 strb ip, [r3, #60] 3046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6581 .loc 1 3046 3 discriminator 2 view .LVU1936 3049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6582 .loc 1 3049 3 view .LVU1937 3049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6583 .loc 1 3049 15 is_stmt 0 view .LVU1938 6584 0014 0220 movs r0, #2 6585 0016 83F83D00 strb r0, [r3, #61] 3052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the Pulse width prescaler and the Pulse width */ 6586 .loc 1 3052 3 is_stmt 1 view .LVU1939 3052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the Pulse width prescaler and the Pulse width */ 6587 .loc 1 3052 16 is_stmt 0 view .LVU1940 6588 001a 1C68 ldr r4, [r3] 3052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the Pulse width prescaler and the Pulse width */ 6589 .loc 1 3052 10 view .LVU1941 6590 001c A06D ldr r0, [r4, #88] 6591 .LVL484: 3054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the Pulse width prescaler and Pulse width*/ 6592 .loc 1 3054 3 is_stmt 1 view .LVU1942 3054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the Pulse width prescaler and Pulse width*/ 6593 .loc 1 3054 10 is_stmt 0 view .LVU1943 6594 001e 6FF31A40 bfc r0, #16, #11 6595 .LVL485: 3056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpecr |= PulseWidth << TIM_ECR_PW_Pos; 6596 .loc 1 3056 3 is_stmt 1 view .LVU1944 3056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpecr |= PulseWidth << TIM_ECR_PW_Pos; 6597 .loc 1 3056 10 is_stmt 0 view .LVU1945 6598 0022 40EA0161 orr r1, r0, r1, lsl #24 6599 .LVL486: 3057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Write to TIMx ECR */ 6600 .loc 1 3057 3 is_stmt 1 view .LVU1946 3057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Write to TIMx ECR */ 6601 .loc 1 3057 10 is_stmt 0 view .LVU1947 6602 0026 41EA0242 orr r2, r1, r2, lsl #16 6603 .LVL487: 3059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6604 .loc 1 3059 3 is_stmt 1 view .LVU1948 3059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6605 .loc 1 3059 23 is_stmt 0 view .LVU1949 6606 002a A265 str r2, [r4, #88] 3062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6607 .loc 1 3062 3 is_stmt 1 view .LVU1950 3062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6608 .loc 1 3062 15 is_stmt 0 view .LVU1951 6609 002c 83F83DC0 strb ip, [r3, #61] 3065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6610 .loc 1 3065 3 is_stmt 1 view .LVU1952 3065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6611 .loc 1 3065 3 view .LVU1953 ARM GAS /tmp/ccdmQ4z9.s page 214 6612 0030 0020 movs r0, #0 6613 0032 83F83C00 strb r0, [r3, #60] 3065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6614 .loc 1 3065 3 view .LVU1954 3067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6615 .loc 1 3067 3 view .LVU1955 3068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6616 .loc 1 3068 1 is_stmt 0 view .LVU1956 6617 0036 5DF8044B ldr r4, [sp], #4 6618 .LCFI52: 6619 .cfi_restore 4 6620 .cfi_def_cfa_offset 0 6621 003a 7047 bx lr 6622 .LVL488: 6623 .L536: 3046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6624 .loc 1 3046 3 discriminator 1 view .LVU1957 6625 003c 0220 movs r0, #2 3068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6626 .loc 1 3068 1 view .LVU1958 6627 003e 7047 bx lr 6628 .cfi_endproc 6629 .LFE368: 6631 .section .text.HAL_TIMEx_ConfigSlaveModePreload,"ax",%progbits 6632 .align 1 6633 .global HAL_TIMEx_ConfigSlaveModePreload 6634 .syntax unified 6635 .thumb 6636 .thumb_func 6638 HAL_TIMEx_ConfigSlaveModePreload: 6639 .LVL489: 6640 .LFB369: 3080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6641 .loc 1 3080 1 is_stmt 1 view -0 6642 .cfi_startproc 6643 @ args = 0, pretend = 0, frame = 0 6644 @ frame_needed = 0, uses_anonymous_args = 0 6645 @ link register save eliminated. 3082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_SLAVE_PRELOAD_SOURCE(Source)); 6646 .loc 1 3082 3 view .LVU1960 3083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6647 .loc 1 3083 3 view .LVU1961 3085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 6648 .loc 1 3085 3 view .LVU1962 6649 0000 0268 ldr r2, [r0] 6650 0002 9368 ldr r3, [r2, #8] 6651 0004 23F00073 bic r3, r3, #33554432 6652 0008 0B43 orrs r3, r3, r1 6653 000a 9360 str r3, [r2, #8] 3086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6654 .loc 1 3086 3 view .LVU1963 3087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6655 .loc 1 3087 1 is_stmt 0 view .LVU1964 6656 000c 0020 movs r0, #0 6657 .LVL490: 3087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6658 .loc 1 3087 1 view .LVU1965 ARM GAS /tmp/ccdmQ4z9.s page 215 6659 000e 7047 bx lr 6660 .cfi_endproc 6661 .LFE369: 6663 .section .text.HAL_TIMEx_EnableSlaveModePreload,"ax",%progbits 6664 .align 1 6665 .global HAL_TIMEx_EnableSlaveModePreload 6666 .syntax unified 6667 .thumb 6668 .thumb_func 6670 HAL_TIMEx_EnableSlaveModePreload: 6671 .LVL491: 6672 .LFB370: 3095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6673 .loc 1 3095 1 is_stmt 1 view -0 6674 .cfi_startproc 6675 @ args = 0, pretend = 0, frame = 0 6676 @ frame_needed = 0, uses_anonymous_args = 0 6677 @ link register save eliminated. 3097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6678 .loc 1 3097 3 view .LVU1967 3099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 6679 .loc 1 3099 3 view .LVU1968 6680 0000 0268 ldr r2, [r0] 6681 0002 9368 ldr r3, [r2, #8] 6682 0004 43F08073 orr r3, r3, #16777216 6683 0008 9360 str r3, [r2, #8] 3100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6684 .loc 1 3100 3 view .LVU1969 3101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6685 .loc 1 3101 1 is_stmt 0 view .LVU1970 6686 000a 0020 movs r0, #0 6687 .LVL492: 3101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6688 .loc 1 3101 1 view .LVU1971 6689 000c 7047 bx lr 6690 .cfi_endproc 6691 .LFE370: 6693 .section .text.HAL_TIMEx_DisableSlaveModePreload,"ax",%progbits 6694 .align 1 6695 .global HAL_TIMEx_DisableSlaveModePreload 6696 .syntax unified 6697 .thumb 6698 .thumb_func 6700 HAL_TIMEx_DisableSlaveModePreload: 6701 .LVL493: 6702 .LFB371: 3109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6703 .loc 1 3109 1 is_stmt 1 view -0 6704 .cfi_startproc 6705 @ args = 0, pretend = 0, frame = 0 6706 @ frame_needed = 0, uses_anonymous_args = 0 6707 @ link register save eliminated. 3111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6708 .loc 1 3111 3 view .LVU1973 3113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 6709 .loc 1 3113 3 view .LVU1974 6710 0000 0268 ldr r2, [r0] ARM GAS /tmp/ccdmQ4z9.s page 216 6711 0002 9368 ldr r3, [r2, #8] 6712 0004 23F08073 bic r3, r3, #16777216 6713 0008 9360 str r3, [r2, #8] 3114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6714 .loc 1 3114 3 view .LVU1975 3115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6715 .loc 1 3115 1 is_stmt 0 view .LVU1976 6716 000a 0020 movs r0, #0 6717 .LVL494: 3115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6718 .loc 1 3115 1 view .LVU1977 6719 000c 7047 bx lr 6720 .cfi_endproc 6721 .LFE371: 6723 .section .text.HAL_TIMEx_EnableDeadTimePreload,"ax",%progbits 6724 .align 1 6725 .global HAL_TIMEx_EnableDeadTimePreload 6726 .syntax unified 6727 .thumb 6728 .thumb_func 6730 HAL_TIMEx_EnableDeadTimePreload: 6731 .LVL495: 6732 .LFB372: 3123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6733 .loc 1 3123 1 is_stmt 1 view -0 6734 .cfi_startproc 6735 @ args = 0, pretend = 0, frame = 0 6736 @ frame_needed = 0, uses_anonymous_args = 0 6737 @ link register save eliminated. 3125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6738 .loc 1 3125 3 view .LVU1979 3127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 6739 .loc 1 3127 3 view .LVU1980 6740 0000 0268 ldr r2, [r0] 6741 0002 536D ldr r3, [r2, #84] 6742 0004 43F40033 orr r3, r3, #131072 6743 0008 5365 str r3, [r2, #84] 3128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6744 .loc 1 3128 3 view .LVU1981 3129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6745 .loc 1 3129 1 is_stmt 0 view .LVU1982 6746 000a 0020 movs r0, #0 6747 .LVL496: 3129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6748 .loc 1 3129 1 view .LVU1983 6749 000c 7047 bx lr 6750 .cfi_endproc 6751 .LFE372: 6753 .section .text.HAL_TIMEx_DisableDeadTimePreload,"ax",%progbits 6754 .align 1 6755 .global HAL_TIMEx_DisableDeadTimePreload 6756 .syntax unified 6757 .thumb 6758 .thumb_func 6760 HAL_TIMEx_DisableDeadTimePreload: 6761 .LVL497: 6762 .LFB373: ARM GAS /tmp/ccdmQ4z9.s page 217 3137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6763 .loc 1 3137 1 is_stmt 1 view -0 6764 .cfi_startproc 6765 @ args = 0, pretend = 0, frame = 0 6766 @ frame_needed = 0, uses_anonymous_args = 0 6767 @ link register save eliminated. 3139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6768 .loc 1 3139 3 view .LVU1985 3141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 6769 .loc 1 3141 3 view .LVU1986 6770 0000 0268 ldr r2, [r0] 6771 0002 536D ldr r3, [r2, #84] 6772 0004 23F40033 bic r3, r3, #131072 6773 0008 5365 str r3, [r2, #84] 3142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6774 .loc 1 3142 3 view .LVU1987 3143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6775 .loc 1 3143 1 is_stmt 0 view .LVU1988 6776 000a 0020 movs r0, #0 6777 .LVL498: 3143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6778 .loc 1 3143 1 view .LVU1989 6779 000c 7047 bx lr 6780 .cfi_endproc 6781 .LFE373: 6783 .section .text.HAL_TIMEx_ConfigDeadTime,"ax",%progbits 6784 .align 1 6785 .global HAL_TIMEx_ConfigDeadTime 6786 .syntax unified 6787 .thumb 6788 .thumb_func 6790 HAL_TIMEx_ConfigDeadTime: 6791 .LVL499: 6792 .LFB374: 3153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6793 .loc 1 3153 1 is_stmt 1 view -0 6794 .cfi_startproc 6795 @ args = 0, pretend = 0, frame = 0 6796 @ frame_needed = 0, uses_anonymous_args = 0 6797 @ link register save eliminated. 3155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_DEADTIME(Deadtime)); 6798 .loc 1 3155 3 view .LVU1991 3156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6799 .loc 1 3156 3 view .LVU1992 3158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 6800 .loc 1 3158 3 view .LVU1993 6801 0000 0268 ldr r2, [r0] 6802 0002 536C ldr r3, [r2, #68] 6803 0004 23F0FF03 bic r3, r3, #255 6804 0008 0B43 orrs r3, r3, r1 6805 000a 5364 str r3, [r2, #68] 3159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6806 .loc 1 3159 3 view .LVU1994 3160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6807 .loc 1 3160 1 is_stmt 0 view .LVU1995 6808 000c 0020 movs r0, #0 6809 .LVL500: ARM GAS /tmp/ccdmQ4z9.s page 218 3160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6810 .loc 1 3160 1 view .LVU1996 6811 000e 7047 bx lr 6812 .cfi_endproc 6813 .LFE374: 6815 .section .text.HAL_TIMEx_ConfigAsymmetricalDeadTime,"ax",%progbits 6816 .align 1 6817 .global HAL_TIMEx_ConfigAsymmetricalDeadTime 6818 .syntax unified 6819 .thumb 6820 .thumb_func 6822 HAL_TIMEx_ConfigAsymmetricalDeadTime: 6823 .LVL501: 6824 .LFB375: 3170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6825 .loc 1 3170 1 is_stmt 1 view -0 6826 .cfi_startproc 6827 @ args = 0, pretend = 0, frame = 0 6828 @ frame_needed = 0, uses_anonymous_args = 0 6829 @ link register save eliminated. 3172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_DEADTIME(FallingDeadtime)); 6830 .loc 1 3172 3 view .LVU1998 3173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6831 .loc 1 3173 3 view .LVU1999 3175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 6832 .loc 1 3175 3 view .LVU2000 6833 0000 0268 ldr r2, [r0] 6834 0002 536D ldr r3, [r2, #84] 6835 0004 23F0FF03 bic r3, r3, #255 6836 0008 0B43 orrs r3, r3, r1 6837 000a 5365 str r3, [r2, #84] 3176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6838 .loc 1 3176 3 view .LVU2001 3177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6839 .loc 1 3177 1 is_stmt 0 view .LVU2002 6840 000c 0020 movs r0, #0 6841 .LVL502: 3177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6842 .loc 1 3177 1 view .LVU2003 6843 000e 7047 bx lr 6844 .cfi_endproc 6845 .LFE375: 6847 .section .text.HAL_TIMEx_EnableAsymmetricalDeadTime,"ax",%progbits 6848 .align 1 6849 .global HAL_TIMEx_EnableAsymmetricalDeadTime 6850 .syntax unified 6851 .thumb 6852 .thumb_func 6854 HAL_TIMEx_EnableAsymmetricalDeadTime: 6855 .LVL503: 6856 .LFB376: 3185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6857 .loc 1 3185 1 is_stmt 1 view -0 6858 .cfi_startproc 6859 @ args = 0, pretend = 0, frame = 0 6860 @ frame_needed = 0, uses_anonymous_args = 0 6861 @ link register save eliminated. ARM GAS /tmp/ccdmQ4z9.s page 219 3187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6862 .loc 1 3187 3 view .LVU2005 3189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 6863 .loc 1 3189 3 view .LVU2006 6864 0000 0268 ldr r2, [r0] 6865 0002 536D ldr r3, [r2, #84] 6866 0004 43F48033 orr r3, r3, #65536 6867 0008 5365 str r3, [r2, #84] 3190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6868 .loc 1 3190 3 view .LVU2007 3191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6869 .loc 1 3191 1 is_stmt 0 view .LVU2008 6870 000a 0020 movs r0, #0 6871 .LVL504: 3191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6872 .loc 1 3191 1 view .LVU2009 6873 000c 7047 bx lr 6874 .cfi_endproc 6875 .LFE376: 6877 .section .text.HAL_TIMEx_DisableAsymmetricalDeadTime,"ax",%progbits 6878 .align 1 6879 .global HAL_TIMEx_DisableAsymmetricalDeadTime 6880 .syntax unified 6881 .thumb 6882 .thumb_func 6884 HAL_TIMEx_DisableAsymmetricalDeadTime: 6885 .LVL505: 6886 .LFB377: 3199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6887 .loc 1 3199 1 is_stmt 1 view -0 6888 .cfi_startproc 6889 @ args = 0, pretend = 0, frame = 0 6890 @ frame_needed = 0, uses_anonymous_args = 0 6891 @ link register save eliminated. 3201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6892 .loc 1 3201 3 view .LVU2011 3203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 6893 .loc 1 3203 3 view .LVU2012 6894 0000 0268 ldr r2, [r0] 6895 0002 536D ldr r3, [r2, #84] 6896 0004 23F48033 bic r3, r3, #65536 6897 0008 5365 str r3, [r2, #84] 3204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6898 .loc 1 3204 3 view .LVU2013 3205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6899 .loc 1 3205 1 is_stmt 0 view .LVU2014 6900 000a 0020 movs r0, #0 6901 .LVL506: 3205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6902 .loc 1 3205 1 view .LVU2015 6903 000c 7047 bx lr 6904 .cfi_endproc 6905 .LFE377: 6907 .section .text.HAL_TIMEx_ConfigEncoderIndex,"ax",%progbits 6908 .align 1 6909 .global HAL_TIMEx_ConfigEncoderIndex 6910 .syntax unified ARM GAS /tmp/ccdmQ4z9.s page 220 6911 .thumb 6912 .thumb_func 6914 HAL_TIMEx_ConfigEncoderIndex: 6915 .LVL507: 6916 .LFB378: 3218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6917 .loc 1 3218 1 is_stmt 1 view -0 6918 .cfi_startproc 6919 @ args = 0, pretend = 0, frame = 0 6920 @ frame_needed = 0, uses_anonymous_args = 0 3218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 6921 .loc 1 3218 1 is_stmt 0 view .LVU2017 6922 0000 38B5 push {r3, r4, r5, lr} 6923 .LCFI53: 6924 .cfi_def_cfa_offset 16 6925 .cfi_offset 3, -16 6926 .cfi_offset 4, -12 6927 .cfi_offset 5, -8 6928 .cfi_offset 14, -4 3220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_POLARITY(sEncoderIndexConfig->Polarity)); 6929 .loc 1 3220 3 is_stmt 1 view .LVU2018 3221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_PRESCALER(sEncoderIndexConfig->Prescaler)); 6930 .loc 1 3221 3 view .LVU2019 3222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_FILTER(sEncoderIndexConfig->Filter)); 6931 .loc 1 3222 3 view .LVU2020 3223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_FUNCTIONAL_STATE(sEncoderIndexConfig->FirstIndexEnable)); 6932 .loc 1 3223 3 view .LVU2021 3224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_POSITION(sEncoderIndexConfig->Position)); 6933 .loc 1 3224 3 view .LVU2022 3225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_DIRECTION(sEncoderIndexConfig->Direction)); 6934 .loc 1 3225 3 view .LVU2023 3226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6935 .loc 1 3226 3 view .LVU2024 3229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6936 .loc 1 3229 3 view .LVU2025 3229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6937 .loc 1 3229 3 view .LVU2026 6938 0002 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 6939 0006 012B cmp r3, #1 6940 0008 20D0 beq .L553 6941 000a 0546 mov r5, r0 6942 000c 0C46 mov r4, r1 3229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6943 .loc 1 3229 3 discriminator 2 view .LVU2027 6944 000e 0123 movs r3, #1 6945 0010 80F83C30 strb r3, [r0, #60] 3229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6946 .loc 1 3229 3 discriminator 2 view .LVU2028 3232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Prescaler, 6947 .loc 1 3232 3 view .LVU2029 6948 0014 8B68 ldr r3, [r1, #8] 6949 0016 0A68 ldr r2, [r1] 6950 0018 4968 ldr r1, [r1, #4] 6951 .LVL508: 3232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Prescaler, 6952 .loc 1 3232 3 is_stmt 0 view .LVU2030 6953 001a 0068 ldr r0, [r0] ARM GAS /tmp/ccdmQ4z9.s page 221 6954 .LVL509: 3232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Prescaler, 6955 .loc 1 3232 3 view .LVU2031 6956 001c FFF7FEFF bl TIM_ETR_SetConfig 6957 .LVL510: 3238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ECR_IDIR_Msk | TIM_ECR_FIDX_Msk | TIM_ECR_IPOS_Msk, 6958 .loc 1 3238 3 is_stmt 1 view .LVU2032 6959 0020 2968 ldr r1, [r5] 6960 0022 8B6D ldr r3, [r1, #88] 6961 0024 23F0E603 bic r3, r3, #230 6962 0028 6269 ldr r2, [r4, #20] 6963 002a 207B ldrb r0, [r4, #12] @ zero_extendqisi2 6964 002c 0128 cmp r0, #1 6965 002e 0BD0 beq .L556 3238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ECR_IDIR_Msk | TIM_ECR_FIDX_Msk | TIM_ECR_IPOS_Msk, 6966 .loc 1 3238 3 is_stmt 0 discriminator 2 view .LVU2033 6967 0030 0020 movs r0, #0 6968 .L552: 3238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ECR_IDIR_Msk | TIM_ECR_FIDX_Msk | TIM_ECR_IPOS_Msk, 6969 .loc 1 3238 3 discriminator 4 view .LVU2034 6970 0032 0243 orrs r2, r2, r0 6971 0034 2069 ldr r0, [r4, #16] 6972 0036 0243 orrs r2, r2, r0 6973 0038 1343 orrs r3, r3, r2 6974 003a 43F00103 orr r3, r3, #1 6975 003e 8B65 str r3, [r1, #88] 3245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6976 .loc 1 3245 3 is_stmt 1 view .LVU2035 3245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6977 .loc 1 3245 3 view .LVU2036 6978 0040 0020 movs r0, #0 6979 0042 85F83C00 strb r0, [r5, #60] 3245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6980 .loc 1 3245 3 view .LVU2037 3247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 6981 .loc 1 3247 3 view .LVU2038 6982 .LVL511: 6983 .L551: 3248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6984 .loc 1 3248 1 is_stmt 0 view .LVU2039 6985 0046 38BD pop {r3, r4, r5, pc} 6986 .LVL512: 6987 .L556: 3238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ECR_IDIR_Msk | TIM_ECR_FIDX_Msk | TIM_ECR_IPOS_Msk, 6988 .loc 1 3238 3 discriminator 1 view .LVU2040 6989 0048 2020 movs r0, #32 6990 004a F2E7 b .L552 6991 .LVL513: 6992 .L553: 3229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6993 .loc 1 3229 3 discriminator 1 view .LVU2041 6994 004c 0220 movs r0, #2 6995 .LVL514: 3229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 6996 .loc 1 3229 3 discriminator 1 view .LVU2042 6997 004e FAE7 b .L551 6998 .cfi_endproc ARM GAS /tmp/ccdmQ4z9.s page 222 6999 .LFE378: 7001 .section .text.HAL_TIMEx_EnableEncoderIndex,"ax",%progbits 7002 .align 1 7003 .global HAL_TIMEx_EnableEncoderIndex 7004 .syntax unified 7005 .thumb 7006 .thumb_func 7008 HAL_TIMEx_EnableEncoderIndex: 7009 .LVL515: 7010 .LFB379: 3256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 7011 .loc 1 3256 1 is_stmt 1 view -0 7012 .cfi_startproc 7013 @ args = 0, pretend = 0, frame = 0 7014 @ frame_needed = 0, uses_anonymous_args = 0 7015 @ link register save eliminated. 3258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7016 .loc 1 3258 3 view .LVU2044 3260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 7017 .loc 1 3260 3 view .LVU2045 7018 0000 0268 ldr r2, [r0] 7019 0002 936D ldr r3, [r2, #88] 7020 0004 43F00103 orr r3, r3, #1 7021 0008 9365 str r3, [r2, #88] 3261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 7022 .loc 1 3261 3 view .LVU2046 3262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7023 .loc 1 3262 1 is_stmt 0 view .LVU2047 7024 000a 0020 movs r0, #0 7025 .LVL516: 3262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7026 .loc 1 3262 1 view .LVU2048 7027 000c 7047 bx lr 7028 .cfi_endproc 7029 .LFE379: 7031 .section .text.HAL_TIMEx_DisableEncoderIndex,"ax",%progbits 7032 .align 1 7033 .global HAL_TIMEx_DisableEncoderIndex 7034 .syntax unified 7035 .thumb 7036 .thumb_func 7038 HAL_TIMEx_DisableEncoderIndex: 7039 .LVL517: 7040 .LFB380: 3270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 7041 .loc 1 3270 1 is_stmt 1 view -0 7042 .cfi_startproc 7043 @ args = 0, pretend = 0, frame = 0 7044 @ frame_needed = 0, uses_anonymous_args = 0 7045 @ link register save eliminated. 3272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7046 .loc 1 3272 3 view .LVU2050 3274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 7047 .loc 1 3274 3 view .LVU2051 7048 0000 0268 ldr r2, [r0] 7049 0002 936D ldr r3, [r2, #88] 7050 0004 23F00103 bic r3, r3, #1 ARM GAS /tmp/ccdmQ4z9.s page 223 7051 0008 9365 str r3, [r2, #88] 3275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 7052 .loc 1 3275 3 view .LVU2052 3276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7053 .loc 1 3276 1 is_stmt 0 view .LVU2053 7054 000a 0020 movs r0, #0 7055 .LVL518: 3276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7056 .loc 1 3276 1 view .LVU2054 7057 000c 7047 bx lr 7058 .cfi_endproc 7059 .LFE380: 7061 .section .text.HAL_TIMEx_EnableEncoderFirstIndex,"ax",%progbits 7062 .align 1 7063 .global HAL_TIMEx_EnableEncoderFirstIndex 7064 .syntax unified 7065 .thumb 7066 .thumb_func 7068 HAL_TIMEx_EnableEncoderFirstIndex: 7069 .LVL519: 7070 .LFB381: 3284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 7071 .loc 1 3284 1 is_stmt 1 view -0 7072 .cfi_startproc 7073 @ args = 0, pretend = 0, frame = 0 7074 @ frame_needed = 0, uses_anonymous_args = 0 7075 @ link register save eliminated. 3286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7076 .loc 1 3286 3 view .LVU2056 3288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 7077 .loc 1 3288 3 view .LVU2057 7078 0000 0268 ldr r2, [r0] 7079 0002 936D ldr r3, [r2, #88] 7080 0004 43F02003 orr r3, r3, #32 7081 0008 9365 str r3, [r2, #88] 3289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 7082 .loc 1 3289 3 view .LVU2058 3290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7083 .loc 1 3290 1 is_stmt 0 view .LVU2059 7084 000a 0020 movs r0, #0 7085 .LVL520: 3290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7086 .loc 1 3290 1 view .LVU2060 7087 000c 7047 bx lr 7088 .cfi_endproc 7089 .LFE381: 7091 .section .text.HAL_TIMEx_DisableEncoderFirstIndex,"ax",%progbits 7092 .align 1 7093 .global HAL_TIMEx_DisableEncoderFirstIndex 7094 .syntax unified 7095 .thumb 7096 .thumb_func 7098 HAL_TIMEx_DisableEncoderFirstIndex: 7099 .LVL521: 7100 .LFB382: 3298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */ 7101 .loc 1 3298 1 is_stmt 1 view -0 ARM GAS /tmp/ccdmQ4z9.s page 224 7102 .cfi_startproc 7103 @ args = 0, pretend = 0, frame = 0 7104 @ frame_needed = 0, uses_anonymous_args = 0 7105 @ link register save eliminated. 3300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7106 .loc 1 3300 3 view .LVU2062 3302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK; 7107 .loc 1 3302 3 view .LVU2063 7108 0000 0268 ldr r2, [r0] 7109 0002 936D ldr r3, [r2, #88] 7110 0004 23F02003 bic r3, r3, #32 7111 0008 9365 str r3, [r2, #88] 3303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 7112 .loc 1 3303 3 view .LVU2064 3304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7113 .loc 1 3304 1 is_stmt 0 view .LVU2065 7114 000a 0020 movs r0, #0 7115 .LVL522: 3304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7116 .loc 1 3304 1 view .LVU2066 7117 000c 7047 bx lr 7118 .cfi_endproc 7119 .LFE382: 7121 .section .text.HAL_TIMEx_CommutCallback,"ax",%progbits 7122 .align 1 7123 .weak HAL_TIMEx_CommutCallback 7124 .syntax unified 7125 .thumb 7126 .thumb_func 7128 HAL_TIMEx_CommutCallback: 7129 .LVL523: 7130 .LFB383: 3332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 7131 .loc 1 3332 1 is_stmt 1 view -0 7132 .cfi_startproc 7133 @ args = 0, pretend = 0, frame = 0 7134 @ frame_needed = 0, uses_anonymous_args = 0 7135 @ link register save eliminated. 3334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7136 .loc 1 3334 3 view .LVU2068 3339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 7137 .loc 1 3339 1 is_stmt 0 view .LVU2069 7138 0000 7047 bx lr 7139 .cfi_endproc 7140 .LFE383: 7142 .section .text.TIMEx_DMACommutationCplt,"ax",%progbits 7143 .align 1 7144 .global TIMEx_DMACommutationCplt 7145 .syntax unified 7146 .thumb 7147 .thumb_func 7149 TIMEx_DMACommutationCplt: 7150 .LVL524: 7151 .LFB393: 3515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 7152 .loc 1 3515 1 is_stmt 1 view -0 7153 .cfi_startproc ARM GAS /tmp/ccdmQ4z9.s page 225 7154 @ args = 0, pretend = 0, frame = 0 7155 @ frame_needed = 0, uses_anonymous_args = 0 3515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 7156 .loc 1 3515 1 is_stmt 0 view .LVU2071 7157 0000 08B5 push {r3, lr} 7158 .LCFI54: 7159 .cfi_def_cfa_offset 8 7160 .cfi_offset 3, -8 7161 .cfi_offset 14, -4 3516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7162 .loc 1 3516 3 is_stmt 1 view .LVU2072 3516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7163 .loc 1 3516 22 is_stmt 0 view .LVU2073 7164 0002 806A ldr r0, [r0, #40] 7165 .LVL525: 3519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7166 .loc 1 3519 3 is_stmt 1 view .LVU2074 3519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7167 .loc 1 3519 15 is_stmt 0 view .LVU2075 7168 0004 0123 movs r3, #1 7169 0006 80F83D30 strb r3, [r0, #61] 3524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 7170 .loc 1 3524 3 is_stmt 1 view .LVU2076 7171 000a FFF7FEFF bl HAL_TIMEx_CommutCallback 7172 .LVL526: 3526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7173 .loc 1 3526 1 is_stmt 0 view .LVU2077 7174 000e 08BD pop {r3, pc} 7175 .cfi_endproc 7176 .LFE393: 7178 .section .text.HAL_TIMEx_CommutHalfCpltCallback,"ax",%progbits 7179 .align 1 7180 .weak HAL_TIMEx_CommutHalfCpltCallback 7181 .syntax unified 7182 .thumb 7183 .thumb_func 7185 HAL_TIMEx_CommutHalfCpltCallback: 7186 .LVL527: 7187 .LFB384: 3346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 7188 .loc 1 3346 1 is_stmt 1 view -0 7189 .cfi_startproc 7190 @ args = 0, pretend = 0, frame = 0 7191 @ frame_needed = 0, uses_anonymous_args = 0 7192 @ link register save eliminated. 3348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7193 .loc 1 3348 3 view .LVU2079 3353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7194 .loc 1 3353 1 is_stmt 0 view .LVU2080 7195 0000 7047 bx lr 7196 .cfi_endproc 7197 .LFE384: 7199 .section .text.TIMEx_DMACommutationHalfCplt,"ax",%progbits 7200 .align 1 7201 .global TIMEx_DMACommutationHalfCplt 7202 .syntax unified 7203 .thumb ARM GAS /tmp/ccdmQ4z9.s page 226 7204 .thumb_func 7206 TIMEx_DMACommutationHalfCplt: 7207 .LVL528: 7208 .LFB394: 3534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 7209 .loc 1 3534 1 is_stmt 1 view -0 7210 .cfi_startproc 7211 @ args = 0, pretend = 0, frame = 0 7212 @ frame_needed = 0, uses_anonymous_args = 0 3534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 7213 .loc 1 3534 1 is_stmt 0 view .LVU2082 7214 0000 08B5 push {r3, lr} 7215 .LCFI55: 7216 .cfi_def_cfa_offset 8 7217 .cfi_offset 3, -8 7218 .cfi_offset 14, -4 3535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7219 .loc 1 3535 3 is_stmt 1 view .LVU2083 3535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7220 .loc 1 3535 22 is_stmt 0 view .LVU2084 7221 0002 806A ldr r0, [r0, #40] 7222 .LVL529: 3538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7223 .loc 1 3538 3 is_stmt 1 view .LVU2085 3538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7224 .loc 1 3538 15 is_stmt 0 view .LVU2086 7225 0004 0123 movs r3, #1 7226 0006 80F83D30 strb r3, [r0, #61] 3543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 7227 .loc 1 3543 3 is_stmt 1 view .LVU2087 7228 000a FFF7FEFF bl HAL_TIMEx_CommutHalfCpltCallback 7229 .LVL530: 3545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7230 .loc 1 3545 1 is_stmt 0 view .LVU2088 7231 000e 08BD pop {r3, pc} 7232 .cfi_endproc 7233 .LFE394: 7235 .section .text.HAL_TIMEx_BreakCallback,"ax",%progbits 7236 .align 1 7237 .weak HAL_TIMEx_BreakCallback 7238 .syntax unified 7239 .thumb 7240 .thumb_func 7242 HAL_TIMEx_BreakCallback: 7243 .LVL531: 7244 .LFB385: 3361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 7245 .loc 1 3361 1 is_stmt 1 view -0 7246 .cfi_startproc 7247 @ args = 0, pretend = 0, frame = 0 7248 @ frame_needed = 0, uses_anonymous_args = 0 7249 @ link register save eliminated. 3363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7250 .loc 1 3363 3 view .LVU2090 3368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7251 .loc 1 3368 1 is_stmt 0 view .LVU2091 7252 0000 7047 bx lr ARM GAS /tmp/ccdmQ4z9.s page 227 7253 .cfi_endproc 7254 .LFE385: 7256 .section .text.HAL_TIMEx_Break2Callback,"ax",%progbits 7257 .align 1 7258 .weak HAL_TIMEx_Break2Callback 7259 .syntax unified 7260 .thumb 7261 .thumb_func 7263 HAL_TIMEx_Break2Callback: 7264 .LVL532: 7265 .LFB386: 3376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 7266 .loc 1 3376 1 is_stmt 1 view -0 7267 .cfi_startproc 7268 @ args = 0, pretend = 0, frame = 0 7269 @ frame_needed = 0, uses_anonymous_args = 0 7270 @ link register save eliminated. 3378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7271 .loc 1 3378 3 view .LVU2093 3383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7272 .loc 1 3383 1 is_stmt 0 view .LVU2094 7273 0000 7047 bx lr 7274 .cfi_endproc 7275 .LFE386: 7277 .section .text.HAL_TIMEx_EncoderIndexCallback,"ax",%progbits 7278 .align 1 7279 .weak HAL_TIMEx_EncoderIndexCallback 7280 .syntax unified 7281 .thumb 7282 .thumb_func 7284 HAL_TIMEx_EncoderIndexCallback: 7285 .LVL533: 7286 .LFB387: 3391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 7287 .loc 1 3391 1 is_stmt 1 view -0 7288 .cfi_startproc 7289 @ args = 0, pretend = 0, frame = 0 7290 @ frame_needed = 0, uses_anonymous_args = 0 7291 @ link register save eliminated. 3393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7292 .loc 1 3393 3 view .LVU2096 3398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7293 .loc 1 3398 1 is_stmt 0 view .LVU2097 7294 0000 7047 bx lr 7295 .cfi_endproc 7296 .LFE387: 7298 .section .text.HAL_TIMEx_DirectionChangeCallback,"ax",%progbits 7299 .align 1 7300 .weak HAL_TIMEx_DirectionChangeCallback 7301 .syntax unified 7302 .thumb 7303 .thumb_func 7305 HAL_TIMEx_DirectionChangeCallback: 7306 .LVL534: 7307 .LFB388: 3406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 7308 .loc 1 3406 1 is_stmt 1 view -0 ARM GAS /tmp/ccdmQ4z9.s page 228 7309 .cfi_startproc 7310 @ args = 0, pretend = 0, frame = 0 7311 @ frame_needed = 0, uses_anonymous_args = 0 7312 @ link register save eliminated. 3408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7313 .loc 1 3408 3 view .LVU2099 3413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7314 .loc 1 3413 1 is_stmt 0 view .LVU2100 7315 0000 7047 bx lr 7316 .cfi_endproc 7317 .LFE388: 7319 .section .text.HAL_TIMEx_IndexErrorCallback,"ax",%progbits 7320 .align 1 7321 .weak HAL_TIMEx_IndexErrorCallback 7322 .syntax unified 7323 .thumb 7324 .thumb_func 7326 HAL_TIMEx_IndexErrorCallback: 7327 .LVL535: 7328 .LFB389: 3421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 7329 .loc 1 3421 1 is_stmt 1 view -0 7330 .cfi_startproc 7331 @ args = 0, pretend = 0, frame = 0 7332 @ frame_needed = 0, uses_anonymous_args = 0 7333 @ link register save eliminated. 3423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7334 .loc 1 3423 3 view .LVU2102 3428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7335 .loc 1 3428 1 is_stmt 0 view .LVU2103 7336 0000 7047 bx lr 7337 .cfi_endproc 7338 .LFE389: 7340 .section .text.HAL_TIMEx_TransitionErrorCallback,"ax",%progbits 7341 .align 1 7342 .weak HAL_TIMEx_TransitionErrorCallback 7343 .syntax unified 7344 .thumb 7345 .thumb_func 7347 HAL_TIMEx_TransitionErrorCallback: 7348 .LVL536: 7349 .LFB390: 3436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */ 7350 .loc 1 3436 1 is_stmt 1 view -0 7351 .cfi_startproc 7352 @ args = 0, pretend = 0, frame = 0 7353 @ frame_needed = 0, uses_anonymous_args = 0 7354 @ link register save eliminated. 3438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7355 .loc 1 3438 3 view .LVU2105 3443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7356 .loc 1 3443 1 is_stmt 0 view .LVU2106 7357 0000 7047 bx lr 7358 .cfi_endproc 7359 .LFE390: 7361 .section .text.HAL_TIMEx_HallSensor_GetState,"ax",%progbits 7362 .align 1 ARM GAS /tmp/ccdmQ4z9.s page 229 7363 .global HAL_TIMEx_HallSensor_GetState 7364 .syntax unified 7365 .thumb 7366 .thumb_func 7368 HAL_TIMEx_HallSensor_GetState: 7369 .LVL537: 7370 .LFB391: 3470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return htim->State; 7371 .loc 1 3470 1 is_stmt 1 view -0 7372 .cfi_startproc 7373 @ args = 0, pretend = 0, frame = 0 7374 @ frame_needed = 0, uses_anonymous_args = 0 7375 @ link register save eliminated. 3471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 7376 .loc 1 3471 3 view .LVU2108 3471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 7377 .loc 1 3471 14 is_stmt 0 view .LVU2109 7378 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2 7379 .LVL538: 3472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7380 .loc 1 3472 1 view .LVU2110 7381 0004 7047 bx lr 7382 .cfi_endproc 7383 .LFE391: 7385 .section .text.HAL_TIMEx_GetChannelNState,"ax",%progbits 7386 .align 1 7387 .global HAL_TIMEx_GetChannelNState 7388 .syntax unified 7389 .thumb 7390 .thumb_func 7392 HAL_TIMEx_GetChannelNState: 7393 .LVL539: 7394 .LFB392: 3486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_state; 7395 .loc 1 3486 1 is_stmt 1 view -0 7396 .cfi_startproc 7397 @ args = 0, pretend = 0, frame = 0 7398 @ frame_needed = 0, uses_anonymous_args = 0 7399 @ link register save eliminated. 3487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7400 .loc 1 3487 3 view .LVU2112 3490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7401 .loc 1 3490 3 view .LVU2113 3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7402 .loc 1 3492 3 view .LVU2114 3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7403 .loc 1 3492 19 is_stmt 0 view .LVU2115 7404 0000 19B9 cbnz r1, .L575 3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7405 .loc 1 3492 19 discriminator 1 view .LVU2116 7406 0002 90F84400 ldrb r0, [r0, #68] @ zero_extendqisi2 7407 .LVL540: 3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7408 .loc 1 3492 19 discriminator 1 view .LVU2117 7409 0006 C0B2 uxtb r0, r0 7410 0008 7047 bx lr 7411 .LVL541: ARM GAS /tmp/ccdmQ4z9.s page 230 7412 .L575: 3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7413 .loc 1 3492 19 discriminator 2 view .LVU2118 7414 000a 0429 cmp r1, #4 7415 000c 05D0 beq .L579 3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7416 .loc 1 3492 19 discriminator 5 view .LVU2119 7417 000e 0829 cmp r1, #8 7418 0010 07D0 beq .L580 3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7419 .loc 1 3492 19 discriminator 8 view .LVU2120 7420 0012 90F84700 ldrb r0, [r0, #71] @ zero_extendqisi2 7421 .LVL542: 3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7422 .loc 1 3492 19 discriminator 8 view .LVU2121 7423 0016 C0B2 uxtb r0, r0 7424 .LVL543: 3494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } 7425 .loc 1 3494 3 is_stmt 1 view .LVU2122 3495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** 7426 .loc 1 3495 1 is_stmt 0 view .LVU2123 7427 0018 7047 bx lr 7428 .LVL544: 7429 .L579: 3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7430 .loc 1 3492 19 discriminator 4 view .LVU2124 7431 001a 90F84500 ldrb r0, [r0, #69] @ zero_extendqisi2 7432 .LVL545: 3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7433 .loc 1 3492 19 discriminator 4 view .LVU2125 7434 001e C0B2 uxtb r0, r0 7435 0020 7047 bx lr 7436 .LVL546: 7437 .L580: 3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7438 .loc 1 3492 19 discriminator 7 view .LVU2126 7439 0022 90F84600 ldrb r0, [r0, #70] @ zero_extendqisi2 7440 .LVL547: 3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** 7441 .loc 1 3492 19 discriminator 7 view .LVU2127 7442 0026 C0B2 uxtb r0, r0 7443 0028 7047 bx lr 7444 .cfi_endproc 7445 .LFE392: 7447 .text 7448 .Letext0: 7449 .file 2 "/home/fra/bin/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi/arm-none-eabi/include/mach 7450 .file 3 "/home/fra/bin/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi/arm-none-eabi/include/sys/ 7451 .file 4 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g431xx.h" 7452 .file 5 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g4xx.h" 7453 .file 6 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_def.h" 7454 .file 7 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_dma.h" 7455 .file 8 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_tim.h" 7456 .file 9 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_tim_ex.h" 7457 .file 10 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal.h" ARM GAS /tmp/ccdmQ4z9.s page 231 DEFINED SYMBOLS *ABS*:00000000 stm32g4xx_hal_tim_ex.c /tmp/ccdmQ4z9.s:21 .text.TIM_CCxNChannelCmd:00000000 $t /tmp/ccdmQ4z9.s:26 .text.TIM_CCxNChannelCmd:00000000 TIM_CCxNChannelCmd /tmp/ccdmQ4z9.s:64 .text.TIM_DMAErrorCCxN:00000000 $t /tmp/ccdmQ4z9.s:69 .text.TIM_DMAErrorCCxN:00000000 TIM_DMAErrorCCxN /tmp/ccdmQ4z9.s:162 .text.TIM_DMADelayPulseNCplt:00000000 $t /tmp/ccdmQ4z9.s:167 .text.TIM_DMADelayPulseNCplt:00000000 TIM_DMADelayPulseNCplt /tmp/ccdmQ4z9.s:287 .text.HAL_TIMEx_HallSensor_MspInit:00000000 $t /tmp/ccdmQ4z9.s:293 .text.HAL_TIMEx_HallSensor_MspInit:00000000 HAL_TIMEx_HallSensor_MspInit /tmp/ccdmQ4z9.s:308 .text.HAL_TIMEx_HallSensor_Init:00000000 $t /tmp/ccdmQ4z9.s:314 .text.HAL_TIMEx_HallSensor_Init:00000000 HAL_TIMEx_HallSensor_Init /tmp/ccdmQ4z9.s:534 .text.HAL_TIMEx_HallSensor_MspDeInit:00000000 $t /tmp/ccdmQ4z9.s:540 .text.HAL_TIMEx_HallSensor_MspDeInit:00000000 HAL_TIMEx_HallSensor_MspDeInit /tmp/ccdmQ4z9.s:555 .text.HAL_TIMEx_HallSensor_DeInit:00000000 $t /tmp/ccdmQ4z9.s:561 .text.HAL_TIMEx_HallSensor_DeInit:00000000 HAL_TIMEx_HallSensor_DeInit /tmp/ccdmQ4z9.s:631 .text.HAL_TIMEx_HallSensor_Start:00000000 $t /tmp/ccdmQ4z9.s:637 .text.HAL_TIMEx_HallSensor_Start:00000000 HAL_TIMEx_HallSensor_Start /tmp/ccdmQ4z9.s:800 .text.HAL_TIMEx_HallSensor_Start:000000b0 $d /tmp/ccdmQ4z9.s:806 .text.HAL_TIMEx_HallSensor_Stop:00000000 $t /tmp/ccdmQ4z9.s:812 .text.HAL_TIMEx_HallSensor_Stop:00000000 HAL_TIMEx_HallSensor_Stop /tmp/ccdmQ4z9.s:871 .text.HAL_TIMEx_HallSensor_Start_IT:00000000 $t /tmp/ccdmQ4z9.s:877 .text.HAL_TIMEx_HallSensor_Start_IT:00000000 HAL_TIMEx_HallSensor_Start_IT /tmp/ccdmQ4z9.s:1048 .text.HAL_TIMEx_HallSensor_Start_IT:000000bc $d /tmp/ccdmQ4z9.s:1054 .text.HAL_TIMEx_HallSensor_Stop_IT:00000000 $t /tmp/ccdmQ4z9.s:1060 .text.HAL_TIMEx_HallSensor_Stop_IT:00000000 HAL_TIMEx_HallSensor_Stop_IT /tmp/ccdmQ4z9.s:1124 .text.HAL_TIMEx_HallSensor_Start_DMA:00000000 $t /tmp/ccdmQ4z9.s:1130 .text.HAL_TIMEx_HallSensor_Start_DMA:00000000 HAL_TIMEx_HallSensor_Start_DMA /tmp/ccdmQ4z9.s:1324 .text.HAL_TIMEx_HallSensor_Start_DMA:000000d4 $d /tmp/ccdmQ4z9.s:1333 .text.HAL_TIMEx_HallSensor_Stop_DMA:00000000 $t /tmp/ccdmQ4z9.s:1339 .text.HAL_TIMEx_HallSensor_Stop_DMA:00000000 HAL_TIMEx_HallSensor_Stop_DMA /tmp/ccdmQ4z9.s:1404 .text.HAL_TIMEx_OCN_Start:00000000 $t /tmp/ccdmQ4z9.s:1410 .text.HAL_TIMEx_OCN_Start:00000000 HAL_TIMEx_OCN_Start /tmp/ccdmQ4z9.s:1598 .text.HAL_TIMEx_OCN_Start:000000ec $d /tmp/ccdmQ4z9.s:1604 .text.HAL_TIMEx_OCN_Stop:00000000 $t /tmp/ccdmQ4z9.s:1610 .text.HAL_TIMEx_OCN_Stop:00000000 HAL_TIMEx_OCN_Stop /tmp/ccdmQ4z9.s:1707 .text.HAL_TIMEx_OCN_Start_IT:00000000 $t /tmp/ccdmQ4z9.s:1713 .text.HAL_TIMEx_OCN_Start_IT:00000000 HAL_TIMEx_OCN_Start_IT /tmp/ccdmQ4z9.s:1868 .text.HAL_TIMEx_OCN_Start_IT:000000d4 $d /tmp/ccdmQ4z9.s:1881 .text.HAL_TIMEx_OCN_Start_IT:00000108 $t /tmp/ccdmQ4z9.s:1969 .text.HAL_TIMEx_OCN_Start_IT:00000164 $d /tmp/ccdmQ4z9.s:1975 .text.HAL_TIMEx_OCN_Stop_IT:00000000 $t /tmp/ccdmQ4z9.s:1981 .text.HAL_TIMEx_OCN_Stop_IT:00000000 HAL_TIMEx_OCN_Stop_IT /tmp/ccdmQ4z9.s:2007 .text.HAL_TIMEx_OCN_Stop_IT:0000000e $d /tmp/ccdmQ4z9.s:2168 .text.HAL_TIMEx_OCN_Start_DMA:00000000 $t /tmp/ccdmQ4z9.s:2174 .text.HAL_TIMEx_OCN_Start_DMA:00000000 HAL_TIMEx_OCN_Start_DMA /tmp/ccdmQ4z9.s:2436 .text.HAL_TIMEx_OCN_Start_DMA:00000160 $d /tmp/ccdmQ4z9.s:2449 .text.HAL_TIMEx_OCN_Start_DMA:00000194 $t /tmp/ccdmQ4z9.s:2660 .text.HAL_TIMEx_OCN_Start_DMA:00000270 $d /tmp/ccdmQ4z9.s:2669 .text.HAL_TIMEx_OCN_Stop_DMA:00000000 $t /tmp/ccdmQ4z9.s:2675 .text.HAL_TIMEx_OCN_Stop_DMA:00000000 HAL_TIMEx_OCN_Stop_DMA /tmp/ccdmQ4z9.s:2700 .text.HAL_TIMEx_OCN_Stop_DMA:0000000e $d /tmp/ccdmQ4z9.s:2868 .text.HAL_TIMEx_PWMN_Start:00000000 $t /tmp/ccdmQ4z9.s:2874 .text.HAL_TIMEx_PWMN_Start:00000000 HAL_TIMEx_PWMN_Start /tmp/ccdmQ4z9.s:3062 .text.HAL_TIMEx_PWMN_Start:000000ec $d /tmp/ccdmQ4z9.s:3068 .text.HAL_TIMEx_PWMN_Stop:00000000 $t /tmp/ccdmQ4z9.s:3074 .text.HAL_TIMEx_PWMN_Stop:00000000 HAL_TIMEx_PWMN_Stop ARM GAS /tmp/ccdmQ4z9.s page 232 /tmp/ccdmQ4z9.s:3171 .text.HAL_TIMEx_PWMN_Start_IT:00000000 $t /tmp/ccdmQ4z9.s:3177 .text.HAL_TIMEx_PWMN_Start_IT:00000000 HAL_TIMEx_PWMN_Start_IT /tmp/ccdmQ4z9.s:3332 .text.HAL_TIMEx_PWMN_Start_IT:000000d4 $d /tmp/ccdmQ4z9.s:3345 .text.HAL_TIMEx_PWMN_Start_IT:00000108 $t /tmp/ccdmQ4z9.s:3433 .text.HAL_TIMEx_PWMN_Start_IT:00000164 $d /tmp/ccdmQ4z9.s:3439 .text.HAL_TIMEx_PWMN_Stop_IT:00000000 $t /tmp/ccdmQ4z9.s:3445 .text.HAL_TIMEx_PWMN_Stop_IT:00000000 HAL_TIMEx_PWMN_Stop_IT /tmp/ccdmQ4z9.s:3471 .text.HAL_TIMEx_PWMN_Stop_IT:0000000e $d /tmp/ccdmQ4z9.s:3632 .text.HAL_TIMEx_PWMN_Start_DMA:00000000 $t /tmp/ccdmQ4z9.s:3638 .text.HAL_TIMEx_PWMN_Start_DMA:00000000 HAL_TIMEx_PWMN_Start_DMA /tmp/ccdmQ4z9.s:3900 .text.HAL_TIMEx_PWMN_Start_DMA:00000160 $d /tmp/ccdmQ4z9.s:3913 .text.HAL_TIMEx_PWMN_Start_DMA:00000194 $t /tmp/ccdmQ4z9.s:4124 .text.HAL_TIMEx_PWMN_Start_DMA:00000270 $d /tmp/ccdmQ4z9.s:4133 .text.HAL_TIMEx_PWMN_Stop_DMA:00000000 $t /tmp/ccdmQ4z9.s:4139 .text.HAL_TIMEx_PWMN_Stop_DMA:00000000 HAL_TIMEx_PWMN_Stop_DMA /tmp/ccdmQ4z9.s:4164 .text.HAL_TIMEx_PWMN_Stop_DMA:0000000e $d /tmp/ccdmQ4z9.s:4332 .text.HAL_TIMEx_OnePulseN_Start:00000000 $t /tmp/ccdmQ4z9.s:4338 .text.HAL_TIMEx_OnePulseN_Start:00000000 HAL_TIMEx_OnePulseN_Start /tmp/ccdmQ4z9.s:4467 .text.HAL_TIMEx_OnePulseN_Stop:00000000 $t /tmp/ccdmQ4z9.s:4473 .text.HAL_TIMEx_OnePulseN_Stop:00000000 HAL_TIMEx_OnePulseN_Stop /tmp/ccdmQ4z9.s:4569 .text.HAL_TIMEx_OnePulseN_Start_IT:00000000 $t /tmp/ccdmQ4z9.s:4575 .text.HAL_TIMEx_OnePulseN_Start_IT:00000000 HAL_TIMEx_OnePulseN_Start_IT /tmp/ccdmQ4z9.s:4714 .text.HAL_TIMEx_OnePulseN_Stop_IT:00000000 $t /tmp/ccdmQ4z9.s:4720 .text.HAL_TIMEx_OnePulseN_Stop_IT:00000000 HAL_TIMEx_OnePulseN_Stop_IT /tmp/ccdmQ4z9.s:4826 .text.HAL_TIMEx_ConfigCommutEvent:00000000 $t /tmp/ccdmQ4z9.s:4832 .text.HAL_TIMEx_ConfigCommutEvent:00000000 HAL_TIMEx_ConfigCommutEvent /tmp/ccdmQ4z9.s:4977 .text.HAL_TIMEx_ConfigCommutEvent:000000a0 $d /tmp/ccdmQ4z9.s:4983 .text.HAL_TIMEx_ConfigCommutEvent_IT:00000000 $t /tmp/ccdmQ4z9.s:4989 .text.HAL_TIMEx_ConfigCommutEvent_IT:00000000 HAL_TIMEx_ConfigCommutEvent_IT /tmp/ccdmQ4z9.s:5134 .text.HAL_TIMEx_ConfigCommutEvent_IT:000000a0 $d /tmp/ccdmQ4z9.s:5140 .text.HAL_TIMEx_ConfigCommutEvent_DMA:00000000 $t /tmp/ccdmQ4z9.s:5146 .text.HAL_TIMEx_ConfigCommutEvent_DMA:00000000 HAL_TIMEx_ConfigCommutEvent_DMA /tmp/ccdmQ4z9.s:5309 .text.HAL_TIMEx_ConfigCommutEvent_DMA:000000b4 $d /tmp/ccdmQ4z9.s:7149 .text.TIMEx_DMACommutationCplt:00000000 TIMEx_DMACommutationCplt /tmp/ccdmQ4z9.s:7206 .text.TIMEx_DMACommutationHalfCplt:00000000 TIMEx_DMACommutationHalfCplt /tmp/ccdmQ4z9.s:5318 .text.HAL_TIMEx_MasterConfigSynchronization:00000000 $t /tmp/ccdmQ4z9.s:5324 .text.HAL_TIMEx_MasterConfigSynchronization:00000000 HAL_TIMEx_MasterConfigSynchronization /tmp/ccdmQ4z9.s:5478 .text.HAL_TIMEx_MasterConfigSynchronization:00000090 $d /tmp/ccdmQ4z9.s:5483 .text.HAL_TIMEx_ConfigBreakDeadTime:00000000 $t /tmp/ccdmQ4z9.s:5489 .text.HAL_TIMEx_ConfigBreakDeadTime:00000000 HAL_TIMEx_ConfigBreakDeadTime /tmp/ccdmQ4z9.s:5674 .text.HAL_TIMEx_ConfigBreakDeadTime:0000009c $d /tmp/ccdmQ4z9.s:5679 .text.HAL_TIMEx_ConfigBreakInput:00000000 $t /tmp/ccdmQ4z9.s:5685 .text.HAL_TIMEx_ConfigBreakInput:00000000 HAL_TIMEx_ConfigBreakInput /tmp/ccdmQ4z9.s:5734 .text.HAL_TIMEx_ConfigBreakInput:0000001e $d /tmp/ccdmQ4z9.s:5750 .text.HAL_TIMEx_ConfigBreakInput:0000002e $t /tmp/ccdmQ4z9.s:5941 .text.HAL_TIMEx_RemapConfig:00000000 $t /tmp/ccdmQ4z9.s:5947 .text.HAL_TIMEx_RemapConfig:00000000 HAL_TIMEx_RemapConfig /tmp/ccdmQ4z9.s:5996 .text.HAL_TIMEx_TISelection:00000000 $t /tmp/ccdmQ4z9.s:6002 .text.HAL_TIMEx_TISelection:00000000 HAL_TIMEx_TISelection /tmp/ccdmQ4z9.s:6032 .text.HAL_TIMEx_TISelection:00000018 $d /tmp/ccdmQ4z9.s:6152 .text.HAL_TIMEx_TISelection:00000098 $d /tmp/ccdmQ4z9.s:6157 .text.HAL_TIMEx_GroupChannel5:00000000 $t /tmp/ccdmQ4z9.s:6163 .text.HAL_TIMEx_GroupChannel5:00000000 HAL_TIMEx_GroupChannel5 /tmp/ccdmQ4z9.s:6236 .text.HAL_TIMEx_DisarmBreakInput:00000000 $t /tmp/ccdmQ4z9.s:6242 .text.HAL_TIMEx_DisarmBreakInput:00000000 HAL_TIMEx_DisarmBreakInput /tmp/ccdmQ4z9.s:6329 .text.HAL_TIMEx_DisarmBreakInput:00000048 $d /tmp/ccdmQ4z9.s:6335 .text.HAL_TIMEx_ReArmBreakInput:00000000 $t ARM GAS /tmp/ccdmQ4z9.s page 233 /tmp/ccdmQ4z9.s:6341 .text.HAL_TIMEx_ReArmBreakInput:00000000 HAL_TIMEx_ReArmBreakInput /tmp/ccdmQ4z9.s:6486 .text.HAL_TIMEx_DitheringEnable:00000000 $t /tmp/ccdmQ4z9.s:6492 .text.HAL_TIMEx_DitheringEnable:00000000 HAL_TIMEx_DitheringEnable /tmp/ccdmQ4z9.s:6516 .text.HAL_TIMEx_DitheringDisable:00000000 $t /tmp/ccdmQ4z9.s:6522 .text.HAL_TIMEx_DitheringDisable:00000000 HAL_TIMEx_DitheringDisable /tmp/ccdmQ4z9.s:6546 .text.HAL_TIMEx_OC_ConfigPulseOnCompare:00000000 $t /tmp/ccdmQ4z9.s:6552 .text.HAL_TIMEx_OC_ConfigPulseOnCompare:00000000 HAL_TIMEx_OC_ConfigPulseOnCompare /tmp/ccdmQ4z9.s:6632 .text.HAL_TIMEx_ConfigSlaveModePreload:00000000 $t /tmp/ccdmQ4z9.s:6638 .text.HAL_TIMEx_ConfigSlaveModePreload:00000000 HAL_TIMEx_ConfigSlaveModePreload /tmp/ccdmQ4z9.s:6664 .text.HAL_TIMEx_EnableSlaveModePreload:00000000 $t /tmp/ccdmQ4z9.s:6670 .text.HAL_TIMEx_EnableSlaveModePreload:00000000 HAL_TIMEx_EnableSlaveModePreload /tmp/ccdmQ4z9.s:6694 .text.HAL_TIMEx_DisableSlaveModePreload:00000000 $t /tmp/ccdmQ4z9.s:6700 .text.HAL_TIMEx_DisableSlaveModePreload:00000000 HAL_TIMEx_DisableSlaveModePreload /tmp/ccdmQ4z9.s:6724 .text.HAL_TIMEx_EnableDeadTimePreload:00000000 $t /tmp/ccdmQ4z9.s:6730 .text.HAL_TIMEx_EnableDeadTimePreload:00000000 HAL_TIMEx_EnableDeadTimePreload /tmp/ccdmQ4z9.s:6754 .text.HAL_TIMEx_DisableDeadTimePreload:00000000 $t /tmp/ccdmQ4z9.s:6760 .text.HAL_TIMEx_DisableDeadTimePreload:00000000 HAL_TIMEx_DisableDeadTimePreload /tmp/ccdmQ4z9.s:6784 .text.HAL_TIMEx_ConfigDeadTime:00000000 $t /tmp/ccdmQ4z9.s:6790 .text.HAL_TIMEx_ConfigDeadTime:00000000 HAL_TIMEx_ConfigDeadTime /tmp/ccdmQ4z9.s:6816 .text.HAL_TIMEx_ConfigAsymmetricalDeadTime:00000000 $t /tmp/ccdmQ4z9.s:6822 .text.HAL_TIMEx_ConfigAsymmetricalDeadTime:00000000 HAL_TIMEx_ConfigAsymmetricalDeadTime /tmp/ccdmQ4z9.s:6848 .text.HAL_TIMEx_EnableAsymmetricalDeadTime:00000000 $t /tmp/ccdmQ4z9.s:6854 .text.HAL_TIMEx_EnableAsymmetricalDeadTime:00000000 HAL_TIMEx_EnableAsymmetricalDeadTime /tmp/ccdmQ4z9.s:6878 .text.HAL_TIMEx_DisableAsymmetricalDeadTime:00000000 $t /tmp/ccdmQ4z9.s:6884 .text.HAL_TIMEx_DisableAsymmetricalDeadTime:00000000 HAL_TIMEx_DisableAsymmetricalDeadTime /tmp/ccdmQ4z9.s:6908 .text.HAL_TIMEx_ConfigEncoderIndex:00000000 $t /tmp/ccdmQ4z9.s:6914 .text.HAL_TIMEx_ConfigEncoderIndex:00000000 HAL_TIMEx_ConfigEncoderIndex /tmp/ccdmQ4z9.s:7002 .text.HAL_TIMEx_EnableEncoderIndex:00000000 $t /tmp/ccdmQ4z9.s:7008 .text.HAL_TIMEx_EnableEncoderIndex:00000000 HAL_TIMEx_EnableEncoderIndex /tmp/ccdmQ4z9.s:7032 .text.HAL_TIMEx_DisableEncoderIndex:00000000 $t /tmp/ccdmQ4z9.s:7038 .text.HAL_TIMEx_DisableEncoderIndex:00000000 HAL_TIMEx_DisableEncoderIndex /tmp/ccdmQ4z9.s:7062 .text.HAL_TIMEx_EnableEncoderFirstIndex:00000000 $t /tmp/ccdmQ4z9.s:7068 .text.HAL_TIMEx_EnableEncoderFirstIndex:00000000 HAL_TIMEx_EnableEncoderFirstIndex /tmp/ccdmQ4z9.s:7092 .text.HAL_TIMEx_DisableEncoderFirstIndex:00000000 $t /tmp/ccdmQ4z9.s:7098 .text.HAL_TIMEx_DisableEncoderFirstIndex:00000000 HAL_TIMEx_DisableEncoderFirstIndex /tmp/ccdmQ4z9.s:7122 .text.HAL_TIMEx_CommutCallback:00000000 $t /tmp/ccdmQ4z9.s:7128 .text.HAL_TIMEx_CommutCallback:00000000 HAL_TIMEx_CommutCallback /tmp/ccdmQ4z9.s:7143 .text.TIMEx_DMACommutationCplt:00000000 $t /tmp/ccdmQ4z9.s:7179 .text.HAL_TIMEx_CommutHalfCpltCallback:00000000 $t /tmp/ccdmQ4z9.s:7185 .text.HAL_TIMEx_CommutHalfCpltCallback:00000000 HAL_TIMEx_CommutHalfCpltCallback /tmp/ccdmQ4z9.s:7200 .text.TIMEx_DMACommutationHalfCplt:00000000 $t /tmp/ccdmQ4z9.s:7236 .text.HAL_TIMEx_BreakCallback:00000000 $t /tmp/ccdmQ4z9.s:7242 .text.HAL_TIMEx_BreakCallback:00000000 HAL_TIMEx_BreakCallback /tmp/ccdmQ4z9.s:7257 .text.HAL_TIMEx_Break2Callback:00000000 $t /tmp/ccdmQ4z9.s:7263 .text.HAL_TIMEx_Break2Callback:00000000 HAL_TIMEx_Break2Callback /tmp/ccdmQ4z9.s:7278 .text.HAL_TIMEx_EncoderIndexCallback:00000000 $t /tmp/ccdmQ4z9.s:7284 .text.HAL_TIMEx_EncoderIndexCallback:00000000 HAL_TIMEx_EncoderIndexCallback /tmp/ccdmQ4z9.s:7299 .text.HAL_TIMEx_DirectionChangeCallback:00000000 $t /tmp/ccdmQ4z9.s:7305 .text.HAL_TIMEx_DirectionChangeCallback:00000000 HAL_TIMEx_DirectionChangeCallback /tmp/ccdmQ4z9.s:7320 .text.HAL_TIMEx_IndexErrorCallback:00000000 $t /tmp/ccdmQ4z9.s:7326 .text.HAL_TIMEx_IndexErrorCallback:00000000 HAL_TIMEx_IndexErrorCallback /tmp/ccdmQ4z9.s:7341 .text.HAL_TIMEx_TransitionErrorCallback:00000000 $t /tmp/ccdmQ4z9.s:7347 .text.HAL_TIMEx_TransitionErrorCallback:00000000 HAL_TIMEx_TransitionErrorCallback /tmp/ccdmQ4z9.s:7362 .text.HAL_TIMEx_HallSensor_GetState:00000000 $t /tmp/ccdmQ4z9.s:7368 .text.HAL_TIMEx_HallSensor_GetState:00000000 HAL_TIMEx_HallSensor_GetState /tmp/ccdmQ4z9.s:7386 .text.HAL_TIMEx_GetChannelNState:00000000 $t /tmp/ccdmQ4z9.s:7392 .text.HAL_TIMEx_GetChannelNState:00000000 HAL_TIMEx_GetChannelNState ARM GAS /tmp/ccdmQ4z9.s page 234 /tmp/ccdmQ4z9.s:2020 .text.HAL_TIMEx_OCN_Stop_IT:0000001b $d /tmp/ccdmQ4z9.s:2020 .text.HAL_TIMEx_OCN_Stop_IT:0000001c $t /tmp/ccdmQ4z9.s:2713 .text.HAL_TIMEx_OCN_Stop_DMA:0000001b $d /tmp/ccdmQ4z9.s:2713 .text.HAL_TIMEx_OCN_Stop_DMA:0000001c $t /tmp/ccdmQ4z9.s:3484 .text.HAL_TIMEx_PWMN_Stop_IT:0000001b $d /tmp/ccdmQ4z9.s:3484 .text.HAL_TIMEx_PWMN_Stop_IT:0000001c $t /tmp/ccdmQ4z9.s:4177 .text.HAL_TIMEx_PWMN_Stop_DMA:0000001b $d /tmp/ccdmQ4z9.s:4177 .text.HAL_TIMEx_PWMN_Stop_DMA:0000001c $t /tmp/ccdmQ4z9.s:6045 .text.HAL_TIMEx_TISelection:00000025 $d /tmp/ccdmQ4z9.s:6045 .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