ARM GAS /tmp/cc0wMqvE.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.c" 16 .text 17 .Ltext0: 18 .cfi_sections .debug_frame 19 .file 1 "Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c" 20 .section .text.TIM_OC1_SetConfig,"ax",%progbits 21 .align 1 22 .syntax unified 23 .thumb 24 .thumb_func 26 TIM_OC1_SetConfig: 27 .LVL0: 28 .LFB434: 1:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ****************************************************************************** 3:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @file stm32g4xx_hal_tim.c 4:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @author MCD Application Team 5:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM HAL module driver. 6:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This file provides firmware functions to manage the following 7:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * functionalities of the Timer (TIM) peripheral: 8:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * + TIM Time Base Initialization 9:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * + TIM Time Base Start 10:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * + TIM Time Base Start Interruption 11:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * + TIM Time Base Start DMA 12:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * + TIM Output Compare/PWM Initialization 13:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * + TIM Output Compare/PWM Channel Configuration 14:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * + TIM Output Compare/PWM Start 15:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * + TIM Output Compare/PWM Start Interruption 16:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * + TIM Output Compare/PWM Start DMA 17:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * + TIM Input Capture Initialization 18:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * + TIM Input Capture Channel Configuration 19:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * + TIM Input Capture Start 20:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * + TIM Input Capture Start Interruption 21:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * + TIM Input Capture Start DMA 22:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * + TIM One Pulse Initialization 23:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * + TIM One Pulse Channel Configuration 24:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * + TIM One Pulse Start 25:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * + TIM Encoder Interface Initialization 26:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * + TIM Encoder Interface Start 27:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * + TIM Encoder Interface Start Interruption 28:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * + TIM Encoder Interface Start DMA 29:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * + Commutation Event configuration with Interruption and DMA 30:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * + TIM OCRef clear configuration ARM GAS /tmp/cc0wMqvE.s page 2 31:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * + TIM External Clock configuration 32:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ****************************************************************************** 33:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @attention 34:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * 35:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * Copyright (c) 2019 STMicroelectronics. 36:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * All rights reserved. 37:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * 38:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This software is licensed under terms that can be found in the LICENSE file 39:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * in the root directory of this software component. 40:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * If no LICENSE file comes with this software, it is provided AS-IS. 41:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * 42:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ****************************************************************************** 43:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @verbatim 44:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 45:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ##### TIMER Generic features ##### 46:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 47:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] The Timer features include: 48:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (#) 16-bit up, down, up/down auto-reload counter. 49:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (#) 16-bit programmable prescaler allowing dividing (also on the fly) the 50:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** counter clock frequency either by any factor between 1 and 65536. 51:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (#) Up to 4 independent channels for: 52:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (++) Input Capture 53:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (++) Output Compare 54:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (++) PWM generation (Edge and Center-aligned Mode) 55:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (++) One-pulse mode output 56:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (#) Synchronization circuit to control the timer with external signals and to interconnect 57:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** several timers together. 58:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (#) Supports incremental encoder for positioning purposes 59:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 60:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ##### How to use this driver ##### 61:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 62:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 63:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (#) Initialize the TIM low level resources by implementing the following functions 64:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** depending on the selected feature: 65:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (++) Time Base : HAL_TIM_Base_MspInit() 66:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (++) Input Capture : HAL_TIM_IC_MspInit() 67:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (++) Output Compare : HAL_TIM_OC_MspInit() 68:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (++) PWM generation : HAL_TIM_PWM_MspInit() 69:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (++) One-pulse mode output : HAL_TIM_OnePulse_MspInit() 70:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (++) Encoder mode output : HAL_TIM_Encoder_MspInit() 71:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 72:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (#) Initialize the TIM low level resources : 73:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (##) Enable the TIM interface clock using __HAL_RCC_TIMx_CLK_ENABLE(); 74:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (##) TIM pins configuration 75:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+++) Enable the clock for the TIM GPIOs using the following function: 76:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_RCC_GPIOx_CLK_ENABLE(); 77:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+++) Configure these TIM pins in Alternate function mode using HAL_GPIO_Init(); 78:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 79:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (#) The external Clock can be configured, if needed (the default clock is the 80:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** internal clock from the APBx), using the following function: 81:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ConfigClockSource, the clock configuration should be done before 82:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** any start function. 83:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 84:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (#) Configure the TIM in the desired functioning mode using one of the 85:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Initialization function of this driver: 86:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (++) HAL_TIM_Base_Init: to use the Timer to generate a simple time base 87:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (++) HAL_TIM_OC_Init, HAL_TIM_OC_ConfigChannel and optionally HAL_TIMEx_OC_ConfigPulseOnComp ARM GAS /tmp/cc0wMqvE.s page 3 88:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** to use the Timer to generate an Output Compare signal. 89:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (++) HAL_TIM_PWM_Init and HAL_TIM_PWM_ConfigChannel: to use the Timer to generate a 90:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** PWM signal. 91:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (++) HAL_TIM_IC_Init and HAL_TIM_IC_ConfigChannel: to use the Timer to measure an 92:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** external signal. 93:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (++) HAL_TIM_OnePulse_Init and HAL_TIM_OnePulse_ConfigChannel: to use the Timer 94:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** in One Pulse Mode. 95:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (++) HAL_TIM_Encoder_Init: to use the Timer Encoder Interface. 96:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 97:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (#) Activate the TIM peripheral using one of the start functions depending from the feature us 98:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (++) Time Base : HAL_TIM_Base_Start(), HAL_TIM_Base_Start_DMA(), HAL_TIM_Base_Start_IT() 99:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (++) Input Capture : HAL_TIM_IC_Start(), HAL_TIM_IC_Start_DMA(), HAL_TIM_IC_Start_IT() 100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (++) Output Compare : HAL_TIM_OC_Start(), HAL_TIM_OC_Start_DMA(), HAL_TIM_OC_Start_IT() 101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (++) PWM generation : HAL_TIM_PWM_Start(), HAL_TIM_PWM_Start_DMA(), HAL_TIM_PWM_Start_IT 102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (++) One-pulse mode output : HAL_TIM_OnePulse_Start(), HAL_TIM_OnePulse_Start_IT() 103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (++) Encoder mode output : HAL_TIM_Encoder_Start(), HAL_TIM_Encoder_Start_DMA(), HAL_TIM 104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (#) The DMA Burst is managed with the two following functions: 106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_DMABurst_WriteStart() 107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_DMABurst_ReadStart() 108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** *** Callback registration *** 110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================= 111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** The compilation define USE_HAL_TIM_REGISTER_CALLBACKS when set to 1 114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** allows the user to configure dynamically the driver callbacks. 115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Use Function HAL_TIM_RegisterCallback() to register a callback. 118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_RegisterCallback() takes as parameters the HAL peripheral handle, 119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the Callback ID and a pointer to the user callback function. 120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Use function HAL_TIM_UnRegisterCallback() to reset a callback to the default 123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** weak function. 124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_UnRegisterCallback takes as parameters the HAL peripheral handle, 125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** and the Callback ID. 126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** These functions allow to register/unregister following callbacks: 129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Base_MspInitCallback : TIM Base Msp Init Callback. 130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Base_MspDeInitCallback : TIM Base Msp DeInit Callback. 131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) IC_MspInitCallback : TIM IC Msp Init Callback. 132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) IC_MspDeInitCallback : TIM IC Msp DeInit Callback. 133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) OC_MspInitCallback : TIM OC Msp Init Callback. 134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) OC_MspDeInitCallback : TIM OC Msp DeInit Callback. 135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) PWM_MspInitCallback : TIM PWM Msp Init Callback. 136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) PWM_MspDeInitCallback : TIM PWM Msp DeInit Callback. 137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) OnePulse_MspInitCallback : TIM One Pulse Msp Init Callback. 138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) OnePulse_MspDeInitCallback : TIM One Pulse Msp DeInit Callback. 139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Encoder_MspInitCallback : TIM Encoder Msp Init Callback. 140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Encoder_MspDeInitCallback : TIM Encoder Msp DeInit Callback. 141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) HallSensor_MspInitCallback : TIM Hall Sensor Msp Init Callback. 142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) HallSensor_MspDeInitCallback : TIM Hall Sensor Msp DeInit Callback. 143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) PeriodElapsedCallback : TIM Period Elapsed Callback. 144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) PeriodElapsedHalfCpltCallback : TIM Period Elapsed half complete Callback. ARM GAS /tmp/cc0wMqvE.s page 4 145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) TriggerCallback : TIM Trigger Callback. 146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) TriggerHalfCpltCallback : TIM Trigger half complete Callback. 147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) IC_CaptureCallback : TIM Input Capture Callback. 148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) IC_CaptureHalfCpltCallback : TIM Input Capture half complete Callback. 149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) OC_DelayElapsedCallback : TIM Output Compare Delay Elapsed Callback. 150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) PWM_PulseFinishedCallback : TIM PWM Pulse Finished Callback. 151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) PWM_PulseFinishedHalfCpltCallback : TIM PWM Pulse Finished half complete Callback. 152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) ErrorCallback : TIM Error Callback. 153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) CommutationCallback : TIM Commutation Callback. 154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) CommutationHalfCpltCallback : TIM Commutation half complete Callback. 155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) BreakCallback : TIM Break Callback. 156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Break2Callback : TIM Break2 Callback. 157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) EncoderIndexCallback : TIM Encoder Index Callback. 158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) DirectionChangeCallback : TIM Direction Change Callback 159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) IndexErrorCallback : TIM Index Error Callback. 160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) TransitionErrorCallback : TIM Transition Error Callback 161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** By default, after the Init and when the state is HAL_TIM_STATE_RESET 164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** all interrupt callbacks are set to the corresponding weak functions: 165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** examples HAL_TIM_TriggerCallback(), HAL_TIM_ErrorCallback(). 166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Exception done for MspInit and MspDeInit functions that are reset to the legacy weak 169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** functionalities in the Init / DeInit only when these callbacks are null 170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (not registered beforehand). If not, MspInit or MspDeInit are not null, the Init / DeInit 171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** keep and use the user MspInit / MspDeInit callbacks(registered beforehand) 172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Callbacks can be registered / unregistered in HAL_TIM_STATE_READY state only. 175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Exception done MspInit / MspDeInit that can be registered / unregistered 176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** in HAL_TIM_STATE_READY or HAL_TIM_STATE_RESET state, 177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** thus registered(user) MspInit / DeInit callbacks can be used during the Init / DeInit. 178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** In that case first register the MspInit/MspDeInit user callbacks 179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** using HAL_TIM_RegisterCallback() before calling DeInit or Init function. 180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** When The compilation define USE_HAL_TIM_REGISTER_CALLBACKS is set to 0 or 183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** not defined, the callback registration feature is not available and all callbacks 184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** are set to the corresponding weak functions. 185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @endverbatim 187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ****************************************************************************** 188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Includes ------------------------------------------------------------------*/ 191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #include "stm32g4xx_hal.h" 192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** @addtogroup STM32G4xx_HAL_Driver 194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @{ 195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** @defgroup TIM TIM 198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM HAL module driver 199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @{ 200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 5 202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #ifdef HAL_TIM_MODULE_ENABLED 203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Private typedef -----------------------------------------------------------*/ 205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Private define ------------------------------------------------------------*/ 206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** @addtogroup TIM_Private_Constants 207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @{ 208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #define TIMx_AF2_OCRSEL TIM1_AF2_OCRSEL 210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @} 213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Private macros ------------------------------------------------------------*/ 215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Private variables ---------------------------------------------------------*/ 216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Private function prototypes -----------------------------------------------*/ 217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** @addtogroup TIM_Private_Functions 218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @{ 219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config); 221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config); 222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config); 223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_OC5_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config); 224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_OC6_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config); 225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_TI1_ConfigInputStage(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICFil 226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_TI2_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection, 227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t TIM_ICFilter); 228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_TI2_ConfigInputStage(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICFil 229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_TI3_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection, 230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t TIM_ICFilter); 231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_TI4_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection, 232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t TIM_ICFilter); 233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_ITRx_SetConfig(TIM_TypeDef *TIMx, uint32_t InputTriggerSource); 234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_DMAPeriodElapsedCplt(DMA_HandleTypeDef *hdma); 235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_DMAPeriodElapsedHalfCplt(DMA_HandleTypeDef *hdma); 236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_DMADelayPulseCplt(DMA_HandleTypeDef *hdma); 237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_DMATriggerCplt(DMA_HandleTypeDef *hdma); 238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_DMATriggerHalfCplt(DMA_HandleTypeDef *hdma); 239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static HAL_StatusTypeDef TIM_SlaveTimer_SetConfig(TIM_HandleTypeDef *htim, 240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_SlaveConfigTypeDef *sSlaveConfig); 241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @} 243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Exported functions --------------------------------------------------------*/ 245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions TIM Exported Functions 247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @{ 248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group1 TIM Time Base functions 251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Time Base functions 252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * 253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @verbatim 254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ##### Time Base functions ##### 256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** This section provides functions allowing to: ARM GAS /tmp/cc0wMqvE.s page 6 259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Initialize and configure the TIM base. 260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) De-initialize the TIM base. 261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the Time Base. 262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the Time Base. 263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the Time Base and enable interrupt. 264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the Time Base and disable interrupt. 265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the Time Base and enable DMA transfer. 266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the Time Base and disable DMA transfer. 267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @endverbatim 269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @{ 270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM Time base Unit according to the specified 273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * parameters in the TIM_HandleTypeDef and initialize the associated handle. 274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note Switching from Center Aligned counter mode to Edge counter mode (or reverse) 275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * requires a timer reset to avoid unexpected direction 276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * due to DIR bit readonly in center aligned mode. 277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * Ex: call @ref HAL_TIM_Base_DeInit() before HAL_TIM_Base_Init() 278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Base handle 279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Base_Init(TIM_HandleTypeDef *htim) 282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim == NULL) 285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_RESET) 296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Allocate lock resource and initialize it */ 298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Lock = HAL_UNLOCKED; 299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset interrupt callbacks to legacy weak callbacks */ 302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ResetCallback(htim); 303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->Base_MspInitCallback == NULL) 305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Base_MspInitCallback = HAL_TIM_Base_MspInit; 307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */ 309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Base_MspInitCallback(htim); 310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */ 312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_Base_MspInit(htim); 313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 7 316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM state */ 317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Time Base configuration */ 320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_Base_SetConfig(htim->Instance, &htim->Init); 321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the DMA burst operation state */ 323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY; 324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the TIM channels state */ 326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the TIM state*/ 330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief DeInitializes the TIM Base peripheral 337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Base handle 338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Base_DeInit(TIM_HandleTypeDef *htim) 341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Peripheral Clock */ 348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->Base_MspDeInitCallback == NULL) 352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Base_MspDeInitCallback = HAL_TIM_Base_MspDeInit; 354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* DeInit the low level hardware */ 356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Base_MspDeInitCallback(htim); 357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC */ 359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_Base_MspDeInit(htim); 360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the DMA burst operation state */ 363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_RESET; 364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the TIM channels state */ 366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change TIM state */ 370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_RESET; 371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Release Lock */ ARM GAS /tmp/cc0wMqvE.s page 8 373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM Base MSP. 380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Base handle 381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_Base_MspInit(TIM_HandleTypeDef *htim) 384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_Base_MspInit could be implemented in the user file 390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief DeInitializes TIM Base MSP. 395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Base handle 396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef *htim) 399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_Base_MspDeInit could be implemented in the user file 405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM Base generation. 411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Base handle 412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Base_Start(TIM_HandleTypeDef *htim) 415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM state */ 422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->State != HAL_TIM_STATE_READY) 423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM state */ 428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 9 430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger 431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM Base generation. 450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Base handle 451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Base_Stop(TIM_HandleTypeDef *htim) 454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM state */ 462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM Base generation in interrupt mode. 470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Base handle 471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Base_Start_IT(TIM_HandleTypeDef *htim) 474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM state */ 481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->State != HAL_TIM_STATE_READY) 482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM state */ ARM GAS /tmp/cc0wMqvE.s page 10 487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Update interrupt */ 490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_UPDATE); 491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger 493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM Base generation in interrupt mode. 512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Base handle 513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Base_Stop_IT(TIM_HandleTypeDef *htim) 516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Update interrupt */ 521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_UPDATE); 522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM state */ 527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM Base generation in DMA mode. 535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Base handle 536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param pData The source Buffer address. 537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Length The length of data to be transferred from memory to peripheral. 538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Base_Start_DMA(TIM_HandleTypeDef *htim, uint32_t *pData, uint16_t Length) 541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 11 544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_INSTANCE(htim->Instance)); 546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM state */ 548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_BUSY) 549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_BUSY; 551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (htim->State == HAL_TIM_STATE_READY) 553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((pData == NULL) && (Length > 0U)) 555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA Period elapsed callbacks */ 569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferCpltCallback = TIM_DMAPeriodElapsedCplt; 570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferErrorCallback = TIM_DMAError ; 574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_UPDATE], (uint32_t)pData, (uint32_t)&htim->Instance->A 577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Update DMA request */ 584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_UPDATE); 585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger 587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ ARM GAS /tmp/cc0wMqvE.s page 12 601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM Base generation in DMA mode. 606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Base handle 607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Base_Stop_DMA(TIM_HandleTypeDef *htim) 610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_INSTANCE(htim->Instance)); 613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Update DMA request */ 615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_UPDATE); 616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_UPDATE]); 618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM state */ 623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @} 631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group2 TIM Output Compare functions 634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM Output Compare functions 635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * 636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @verbatim 637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ##### TIM Output Compare functions ##### 639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** This section provides functions allowing to: 642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Initialize and configure the TIM Output Compare. 643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) De-initialize the TIM Output Compare. 644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM Output Compare. 645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM Output Compare. 646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM Output Compare and enable interrupt. 647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM Output Compare and disable interrupt. 648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM Output Compare and enable DMA transfer. 649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM Output Compare and disable DMA transfer. 650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @endverbatim 652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @{ 653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM Output Compare according to the specified 656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * parameters in the TIM_HandleTypeDef and initializes the associated handle. 657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note Switching from Center Aligned counter mode to Edge counter mode (or reverse) ARM GAS /tmp/cc0wMqvE.s page 13 658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * requires a timer reset to avoid unexpected direction 659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * due to DIR bit readonly in center aligned mode. 660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * Ex: call @ref HAL_TIM_OC_DeInit() before HAL_TIM_OC_Init() 661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Output Compare handle 662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_Init(TIM_HandleTypeDef *htim) 665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim == NULL) 668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_RESET) 679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Allocate lock resource and initialize it */ 681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Lock = HAL_UNLOCKED; 682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset interrupt callbacks to legacy weak callbacks */ 685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ResetCallback(htim); 686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->OC_MspInitCallback == NULL) 688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_MspInitCallback = HAL_TIM_OC_MspInit; 690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */ 692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_MspInitCallback(htim); 693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC and DMA */ 695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_OC_MspInit(htim); 696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM state */ 700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the base time for the Output Compare */ 703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_Base_SetConfig(htim->Instance, &htim->Init); 704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the DMA burst operation state */ 706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY; 707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the TIM channels state */ 709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the TIM state*/ 713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 14 715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief DeInitializes the TIM peripheral 720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Output Compare handle 721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_DeInit(TIM_HandleTypeDef *htim) 724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Peripheral Clock */ 731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->OC_MspDeInitCallback == NULL) 735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_MspDeInitCallback = HAL_TIM_OC_MspDeInit; 737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* DeInit the low level hardware */ 739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_MspDeInitCallback(htim); 740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC and DMA */ 742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_OC_MspDeInit(htim); 743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the DMA burst operation state */ 746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_RESET; 747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the TIM channels state */ 749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change TIM state */ 753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_RESET; 754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Release Lock */ 756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM Output Compare MSP. 763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Output Compare handle 764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_OC_MspInit(TIM_HandleTypeDef *htim) 767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, ARM GAS /tmp/cc0wMqvE.s page 15 772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_OC_MspInit could be implemented in the user file 773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief DeInitializes TIM Output Compare MSP. 778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Output Compare handle 779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_OC_MspDeInit(TIM_HandleTypeDef *htim) 782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_OC_MspDeInit could be implemented in the user file 788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM Output Compare signal generation. 793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Output Compare handle 794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channel to be enabled 795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_5: TIM Channel 5 selected 801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_6: TIM Channel 6 selected 802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_Start(TIM_HandleTypeDef *htim, uint32_t Channel) 805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); 810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM channel state */ 812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (TIM_CHANNEL_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY) 813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Output compare channel */ 821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); 822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the main output */ 826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_ENABLE(htim); 827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 16 829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger 830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM Output Compare signal generation. 849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Output Compare handle 850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channel to be disabled 851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_5: TIM Channel 5 selected 857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_6: TIM Channel 6 selected 858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_Stop(TIM_HandleTypeDef *htim, uint32_t Channel) 861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); 864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Output compare channel */ 866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); 867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Main Output */ 871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_DISABLE(htim); 872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM Output Compare signal generation in interrupt mode. ARM GAS /tmp/cc0wMqvE.s page 17 886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Output Compare handle 887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channel to be enabled 888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel) 896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); 902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM channel state */ 904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (TIM_CHANNEL_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY) 905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 1 interrupt */ 917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 2 interrupt */ 924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 3 interrupt */ 931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC3); 932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 4 interrupt */ 938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC4); 939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: ARM GAS /tmp/cc0wMqvE.s page 18 943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Output compare channel */ 950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); 951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the main output */ 955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_ENABLE(htim); 956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigge 959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM Output Compare signal generation in interrupt mode. 979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Output Compare handle 980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channel to be disabled 981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel) 989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); 994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 1 interrupt */ ARM GAS /tmp/cc0wMqvE.s page 19 1000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1); 1001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 1005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 2 interrupt */ 1007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2); 1008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 1012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 3 interrupt */ 1014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC3); 1015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 1019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 4 interrupt */ 1021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC4); 1022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 1026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 1027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 1031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Output compare channel */ 1033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); 1034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 1036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Main Output */ 1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_DISABLE(htim); 1039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 1042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 1043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 1045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 1046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 1049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 1050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM Output Compare signal generation in DMA mode. 1054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Output Compare handle 1055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channel to be enabled 1056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: ARM GAS /tmp/cc0wMqvE.s page 20 1057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param pData The source Buffer address. 1062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Length The length of data to be transferred from memory to TIM peripheral 1063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 1064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, 1066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 1068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 1069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); 1072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (TIM_CHANNEL_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_BUSY) 1075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_BUSY; 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (TIM_CHANNEL_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_READY) 1079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((pData == NULL) && (Length > 0U)) 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 1085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 1087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 1090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 1095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA compare callbacks */ 1099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMADelayPulseCplt; 1100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 1103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ; 1104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 1106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)pData, (uint32_t)&htim->Instance-> 1107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 1110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 1 DMA request */ ARM GAS /tmp/cc0wMqvE.s page 21 1114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1); 1115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 1119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA compare callbacks */ 1121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMADelayPulseCplt; 1122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 1125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAError ; 1126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 1128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)pData, (uint32_t)&htim->Instance-> 1129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 1132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 2 DMA request */ 1136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2); 1137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 1141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA compare callbacks */ 1143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferCpltCallback = TIM_DMADelayPulseCplt; 1144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 1147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferErrorCallback = TIM_DMAError ; 1148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 1150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)pData, (uint32_t)&htim->Instance-> 1151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 1154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 3 DMA request */ 1157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC3); 1158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 1162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA compare callbacks */ 1164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferCpltCallback = TIM_DMADelayPulseCplt; 1165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 1168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferErrorCallback = TIM_DMAError ; 1169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ ARM GAS /tmp/cc0wMqvE.s page 22 1171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC4], (uint32_t)pData, (uint32_t)&htim->Instance-> 1172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 4 DMA request */ 1178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC4); 1179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 1183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 1188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Output compare channel */ 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); 1191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 1193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the main output */ 1195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_ENABLE(htim); 1196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigge 1199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 1200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 1205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 1208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 1210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 1214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 1215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM Output Compare signal generation in DMA mode. 1219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Output Compare handle 1220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channel to be disabled 1221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 1222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 1227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ ARM GAS /tmp/cc0wMqvE.s page 23 1228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel) 1229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 1231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); 1234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 1236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 1238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 1 DMA request */ 1240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1); 1241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 1242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 1246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 2 DMA request */ 1248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2); 1249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 1250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 1254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 3 DMA request */ 1256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC3); 1257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 1258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 1262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 4 interrupt */ 1264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC4); 1265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 1266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 1270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 1271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 1275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Output compare channel */ 1277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); 1278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 1280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Main Output */ 1282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_DISABLE(htim); 1283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 24 1285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 1286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 1287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 1289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 1290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 1293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 1294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @} 1298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group3 TIM PWM functions 1301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM PWM functions 1302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * 1303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @verbatim 1304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 1305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ##### TIM PWM functions ##### 1306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 1307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 1308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** This section provides functions allowing to: 1309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Initialize and configure the TIM PWM. 1310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) De-initialize the TIM PWM. 1311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM PWM. 1312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM PWM. 1313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM PWM and enable interrupt. 1314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM PWM and disable interrupt. 1315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM PWM and enable DMA transfer. 1316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM PWM and disable DMA transfer. 1317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @endverbatim 1319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @{ 1320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM PWM Time Base according to the specified 1323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * parameters in the TIM_HandleTypeDef and initializes the associated handle. 1324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note Switching from Center Aligned counter mode to Edge counter mode (or reverse) 1325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * requires a timer reset to avoid unexpected direction 1326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * due to DIR bit readonly in center aligned mode. 1327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * Ex: call @ref HAL_TIM_PWM_DeInit() before HAL_TIM_PWM_Init() 1328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM PWM handle 1329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 1330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_Init(TIM_HandleTypeDef *htim) 1332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 1334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim == NULL) 1335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 1341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); ARM GAS /tmp/cc0wMqvE.s page 25 1342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 1343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 1344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_RESET) 1346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Allocate lock resource and initialize it */ 1348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Lock = HAL_UNLOCKED; 1349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 1351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset interrupt callbacks to legacy weak callbacks */ 1352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ResetCallback(htim); 1353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->PWM_MspInitCallback == NULL) 1355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_MspInitCallback = HAL_TIM_PWM_MspInit; 1357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */ 1359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_MspInitCallback(htim); 1360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 1361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC and DMA */ 1362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_MspInit(htim); 1363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 1364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM state */ 1367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 1368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the base time for the PWM */ 1370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_Base_SetConfig(htim->Instance, &htim->Init); 1371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the DMA burst operation state */ 1373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY; 1374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the TIM channels state */ 1376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 1377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 1378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the TIM state*/ 1380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 1381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 1383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief DeInitializes the TIM peripheral 1387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM PWM handle 1388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 1389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_DeInit(TIM_HandleTypeDef *htim) 1391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 1394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 1396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Peripheral Clock */ 1398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); ARM GAS /tmp/cc0wMqvE.s page 26 1399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 1401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->PWM_MspDeInitCallback == NULL) 1402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_MspDeInitCallback = HAL_TIM_PWM_MspDeInit; 1404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* DeInit the low level hardware */ 1406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_MspDeInitCallback(htim); 1407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 1408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC and DMA */ 1409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_MspDeInit(htim); 1410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 1411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the DMA burst operation state */ 1413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_RESET; 1414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the TIM channels state */ 1416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 1417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 1418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change TIM state */ 1420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_RESET; 1421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Release Lock */ 1423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 1424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 1426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM PWM MSP. 1430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM PWM handle 1431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 1432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_PWM_MspInit(TIM_HandleTypeDef *htim) 1434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 1436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 1437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 1439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_PWM_MspInit could be implemented in the user file 1440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief DeInitializes TIM PWM MSP. 1445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM PWM handle 1446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 1447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_PWM_MspDeInit(TIM_HandleTypeDef *htim) 1449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 1451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 1452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 1454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_PWM_MspDeInit could be implemented in the user file 1455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ ARM GAS /tmp/cc0wMqvE.s page 27 1456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the PWM signal generation. 1460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 1461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be enabled 1462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 1463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_5: TIM Channel 5 selected 1468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_6: TIM Channel 6 selected 1469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 1470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_Start(TIM_HandleTypeDef *htim, uint32_t Channel) 1472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 1474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); 1477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM channel state */ 1479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (TIM_CHANNEL_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY) 1480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 1485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 1486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Capture compare channel */ 1488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); 1489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 1491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the main output */ 1493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_ENABLE(htim); 1494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger 1497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 1498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 1500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 1503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 1506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 1508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 1511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 1512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 28 1513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the PWM signal generation. 1516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM PWM handle 1517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be disabled 1518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 1519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_5: TIM Channel 5 selected 1524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_6: TIM Channel 6 selected 1525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 1526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_Stop(TIM_HandleTypeDef *htim, uint32_t Channel) 1528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); 1531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Capture compare channel */ 1533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); 1534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 1536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Main Output */ 1538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_DISABLE(htim); 1539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 1542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 1543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 1545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 1546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 1548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the PWM signal generation in interrupt mode. 1553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM PWM handle 1554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channel to be enabled 1555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 1556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 1561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel) 1563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 1565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 1566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); 1569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 29 1570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM channel state */ 1571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (TIM_CHANNEL_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY) 1572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 1577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 1578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 1580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 1582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 1 interrupt */ 1584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 1585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 1589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 2 interrupt */ 1591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 1592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 1596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 3 interrupt */ 1598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC3); 1599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 1603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 4 interrupt */ 1605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC4); 1606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 1610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 1611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 1615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Capture compare channel */ 1617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); 1618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 1620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the main output */ 1622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_ENABLE(htim); 1623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigge 1626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) ARM GAS /tmp/cc0wMqvE.s page 30 1627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 1629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 1632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 1635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 1637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 1641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 1642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the PWM signal generation in interrupt mode. 1646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM PWM handle 1647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be disabled 1648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 1649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 1654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel) 1656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 1658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); 1661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 1663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 1665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 1 interrupt */ 1667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1); 1668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 1672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 2 interrupt */ 1674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2); 1675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 1679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 3 interrupt */ 1681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC3); 1682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 31 1684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 1686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 4 interrupt */ 1688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC4); 1689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 1693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 1694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 1698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Capture compare channel */ 1700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); 1701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 1703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Main Output */ 1705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_DISABLE(htim); 1706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 1710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 1712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 1713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 1716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 1717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM PWM signal generation in DMA mode. 1721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM PWM handle 1722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be enabled 1723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 1724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param pData The source Buffer address. 1729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Length The length of data to be transferred from memory to TIM peripheral 1730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 1731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, 1733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 1735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 1736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); 1739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ ARM GAS /tmp/cc0wMqvE.s page 32 1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (TIM_CHANNEL_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_BUSY) 1742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_BUSY; 1744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (TIM_CHANNEL_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_READY) 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((pData == NULL) && (Length > 0U)) 1748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 1752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 1754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 1757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 1762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 1764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA compare callbacks */ 1766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMADelayPulseCplt; 1767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 1770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ; 1771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 1773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)pData, (uint32_t)&htim->Instance-> 1774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 1777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 1 DMA request */ 1781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1); 1782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 1786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA compare callbacks */ 1788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMADelayPulseCplt; 1789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 1792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAError ; 1793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 1795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)pData, (uint32_t)&htim->Instance-> 1796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 33 1798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 1799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 2 DMA request */ 1802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2); 1803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 1807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA compare callbacks */ 1809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferCpltCallback = TIM_DMADelayPulseCplt; 1810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 1813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferErrorCallback = TIM_DMAError ; 1814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 1816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)pData, (uint32_t)&htim->Instance-> 1817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 1820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Output Capture/Compare 3 request */ 1823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC3); 1824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 1828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA compare callbacks */ 1830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferCpltCallback = TIM_DMADelayPulseCplt; 1831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 1834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferErrorCallback = TIM_DMAError ; 1835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 1837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC4], (uint32_t)pData, (uint32_t)&htim->Instance-> 1838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 1841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 4 DMA request */ 1844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC4); 1845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 1849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 1850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 1854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 34 1855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Capture compare channel */ 1856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); 1857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 1859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the main output */ 1861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_ENABLE(htim); 1862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigge 1865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 1866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 1868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 1871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 1874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 1876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 1880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 1881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM PWM signal generation in DMA mode. 1885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM PWM handle 1886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be disabled 1887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 1888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 1893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel) 1895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 1897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); 1900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 1902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 1904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 1 DMA request */ 1906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1); 1907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 1908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: ARM GAS /tmp/cc0wMqvE.s page 35 1912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 2 DMA request */ 1914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2); 1915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 1916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 1920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 3 DMA request */ 1922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC3); 1923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 1924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 1928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 4 interrupt */ 1930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC4); 1931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 1932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 1936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 1937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 1941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Capture compare channel */ 1943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); 1944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 1946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Main Output */ 1948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_DISABLE(htim); 1949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 1952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 1953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 1955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 1956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 1959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 1960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @} 1964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group4 TIM Input Capture functions 1967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM Input Capture functions 1968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * ARM GAS /tmp/cc0wMqvE.s page 36 1969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @verbatim 1970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 1971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ##### TIM Input Capture functions ##### 1972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 1973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 1974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** This section provides functions allowing to: 1975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Initialize and configure the TIM Input Capture. 1976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) De-initialize the TIM Input Capture. 1977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM Input Capture. 1978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM Input Capture. 1979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM Input Capture and enable interrupt. 1980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM Input Capture and disable interrupt. 1981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM Input Capture and enable DMA transfer. 1982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM Input Capture and disable DMA transfer. 1983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @endverbatim 1985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @{ 1986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM Input Capture Time base according to the specified 1989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * parameters in the TIM_HandleTypeDef and initializes the associated handle. 1990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note Switching from Center Aligned counter mode to Edge counter mode (or reverse) 1991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * requires a timer reset to avoid unexpected direction 1992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * due to DIR bit readonly in center aligned mode. 1993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * Ex: call @ref HAL_TIM_IC_DeInit() before HAL_TIM_IC_Init() 1994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Input Capture handle 1995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 1996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_Init(TIM_HandleTypeDef *htim) 1998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 2000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim == NULL) 2001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 2003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 2007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 2008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 2009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 2010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_RESET) 2012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Allocate lock resource and initialize it */ 2014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Lock = HAL_UNLOCKED; 2015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 2017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset interrupt callbacks to legacy weak callbacks */ 2018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ResetCallback(htim); 2019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->IC_MspInitCallback == NULL) 2021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_MspInitCallback = HAL_TIM_IC_MspInit; 2023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */ 2025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_MspInitCallback(htim); ARM GAS /tmp/cc0wMqvE.s page 37 2026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 2027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC and DMA */ 2028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_IC_MspInit(htim); 2029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM state */ 2033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 2034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the base time for the input capture */ 2036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_Base_SetConfig(htim->Instance, &htim->Init); 2037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the DMA burst operation state */ 2039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY; 2040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the TIM channels state */ 2042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 2043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 2044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the TIM state*/ 2046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 2047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 2049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief DeInitializes the TIM peripheral 2053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Input Capture handle 2054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 2055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_DeInit(TIM_HandleTypeDef *htim) 2057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 2060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 2062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Peripheral Clock */ 2064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 2065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 2067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->IC_MspDeInitCallback == NULL) 2068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_MspDeInitCallback = HAL_TIM_IC_MspDeInit; 2070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* DeInit the low level hardware */ 2072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_MspDeInitCallback(htim); 2073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 2074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC and DMA */ 2075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_IC_MspDeInit(htim); 2076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the DMA burst operation state */ 2079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_RESET; 2080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the TIM channels state */ 2082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); ARM GAS /tmp/cc0wMqvE.s page 38 2083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change TIM state */ 2086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_RESET; 2087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Release Lock */ 2089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 2090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 2092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM Input Capture MSP. 2096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Input Capture handle 2097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 2098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_IC_MspInit(TIM_HandleTypeDef *htim) 2100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 2103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 2105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_IC_MspInit could be implemented in the user file 2106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief DeInitializes TIM Input Capture MSP. 2111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 2112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 2113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_IC_MspDeInit(TIM_HandleTypeDef *htim) 2115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 2118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 2120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_IC_MspDeInit could be implemented in the user file 2121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM Input Capture measurement. 2126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Input Capture handle 2127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be enabled 2128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 2129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 2130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 2131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 2132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 2133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 2134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_Start(TIM_HandleTypeDef *htim, uint32_t Channel) 2136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 2138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_state = TIM_CHANNEL_STATE_GET(htim, Channel); 2139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); ARM GAS /tmp/cc0wMqvE.s page 39 2140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); 2143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM channel state */ 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_state != HAL_TIM_CHANNEL_STATE_READY) 2146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_state != HAL_TIM_CHANNEL_STATE_READY)) 2147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 2149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 2153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 2154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Input Capture channel */ 2156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); 2157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 2160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 2162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 2163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 2168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 2170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 2173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 2174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM Input Capture measurement. 2178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Input Capture handle 2179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be disabled 2180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 2181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 2182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 2183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 2184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 2185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 2186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_Stop(TIM_HandleTypeDef *htim, uint32_t Channel) 2188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); 2191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Input Capture channel */ 2193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); 2194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 2196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); ARM GAS /tmp/cc0wMqvE.s page 40 2197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 2199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 2200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 2201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 2203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 2204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM Input Capture measurement in interrupt mode. 2208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Input Capture handle 2209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be enabled 2210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 2211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 2212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 2213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 2214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 2215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 2216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel) 2218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 2220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 2221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_state = TIM_CHANNEL_STATE_GET(htim, Channel); 2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 2224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); 2227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM channel state */ 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_state != HAL_TIM_CHANNEL_STATE_READY) 2230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_state != HAL_TIM_CHANNEL_STATE_READY)) 2231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 2233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 2236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 2237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 2238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 2240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 2242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 1 interrupt */ 2244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 2245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 2249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 2 interrupt */ 2251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 2252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 41 2254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 2256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 3 interrupt */ 2258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC3); 2259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 2263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 4 interrupt */ 2265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC4); 2266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 2270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 2271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 2275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Input Capture channel */ 2277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); 2278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigge 2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 2281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 2283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 2284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 2289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 2291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 2295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 2296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM Input Capture measurement in interrupt mode. 2300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Input Capture handle 2301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be disabled 2302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 2303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 2304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 2305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 2306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 2307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 2308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel) 2310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 42 2311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 2312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); 2315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 2317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 2319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 1 interrupt */ 2321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1); 2322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 2326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 2 interrupt */ 2328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2); 2329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 2333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 3 interrupt */ 2335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC3); 2336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 2340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 4 interrupt */ 2342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC4); 2343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 2347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 2348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 2352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Input Capture channel */ 2354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); 2355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 2357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 2358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 2360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 2361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 2362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 2365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 43 2368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM Input Capture measurement in DMA mode. 2370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Input Capture handle 2371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be enabled 2372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 2373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 2374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 2375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 2376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 2377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param pData The destination Buffer address. 2378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Length The length of data to be transferred from TIM peripheral to memory. 2379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 2380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, 2382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 2384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 2385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_state = TIM_CHANNEL_STATE_GET(htim, Channel); 2387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 2388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); 2391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_CC_INSTANCE(htim->Instance)); 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 2394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_state == HAL_TIM_CHANNEL_STATE_BUSY) 2395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_state == HAL_TIM_CHANNEL_STATE_BUSY)) 2396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_BUSY; 2398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if ((channel_state == HAL_TIM_CHANNEL_STATE_READY) 2400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_state == HAL_TIM_CHANNEL_STATE_READY)) 2401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((pData == NULL) && (Length > 0U)) 2403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 2405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 2407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 2409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 2410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 2413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Input Capture channel */ 2418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); 2419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 2421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 2423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA capture callbacks */ ARM GAS /tmp/cc0wMqvE.s page 44 2425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMACaptureCplt; 2426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 2427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 2429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ; 2430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 2432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)&htim->Instance->CCR1, (uint32_t)p 2433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 2434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 2436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 2437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 1 DMA request */ 2439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1); 2440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 2444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA capture callbacks */ 2446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMACaptureCplt; 2447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 2448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 2450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAError ; 2451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 2453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)&htim->Instance->CCR2, (uint32_t)p 2454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 2455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 2457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 2458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 2 DMA request */ 2460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2); 2461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 2465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA capture callbacks */ 2467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferCpltCallback = TIM_DMACaptureCplt; 2468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 2469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 2471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferErrorCallback = TIM_DMAError ; 2472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 2474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)&htim->Instance->CCR3, (uint32_t)p 2475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 2476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 2478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 2479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 3 DMA request */ 2481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC3); ARM GAS /tmp/cc0wMqvE.s page 45 2482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 2486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA capture callbacks */ 2488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferCpltCallback = TIM_DMACaptureCplt; 2489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 2490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 2492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferErrorCallback = TIM_DMAError ; 2493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 2495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC4], (uint32_t)&htim->Instance->CCR4, (uint32_t)p 2496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 2497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 2499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 2500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 4 DMA request */ 2502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC4); 2503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 2507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 2508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger 2512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 2513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 2515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 2516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 2518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 2521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 2523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 2526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 2527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM Input Capture measurement in DMA mode. 2531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Input Capture handle 2532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be disabled 2533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 2534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 2535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 2536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 2537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 2538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status ARM GAS /tmp/cc0wMqvE.s page 46 2539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel) 2541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 2543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); 2546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_CC_INSTANCE(htim->Instance)); 2547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Input Capture channel */ 2549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); 2550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 2552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 2554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 1 DMA request */ 2556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1); 2557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 2558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 2562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 2 DMA request */ 2564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2); 2565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 2566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 2570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 3 DMA request */ 2572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC3); 2573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 2574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 2578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 4 DMA request */ 2580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC4); 2581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 2582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 2586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 2587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 2591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 2593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 2594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ ARM GAS /tmp/cc0wMqvE.s page 47 2596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 2597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 2598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 2601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 2602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @} 2605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group5 TIM One Pulse functions 2608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM One Pulse functions 2609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * 2610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @verbatim 2611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 2612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ##### TIM One Pulse functions ##### 2613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 2614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 2615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** This section provides functions allowing to: 2616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Initialize and configure the TIM One Pulse. 2617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) De-initialize the TIM One Pulse. 2618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM One Pulse. 2619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM One Pulse. 2620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM One Pulse and enable interrupt. 2621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM One Pulse and disable interrupt. 2622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM One Pulse and enable DMA transfer. 2623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM One Pulse and disable DMA transfer. 2624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @endverbatim 2626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @{ 2627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM One Pulse Time Base according to the specified 2630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * parameters in the TIM_HandleTypeDef and initializes the associated handle. 2631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note Switching from Center Aligned counter mode to Edge counter mode (or reverse) 2632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * requires a timer reset to avoid unexpected direction 2633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * due to DIR bit readonly in center aligned mode. 2634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * Ex: call @ref HAL_TIM_OnePulse_DeInit() before HAL_TIM_OnePulse_Init() 2635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note When the timer instance is initialized in One Pulse mode, timer 2636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * channels 1 and channel 2 are reserved and cannot be used for other 2637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * purpose. 2638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM One Pulse handle 2639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param OnePulseMode Select the One pulse mode. 2640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 2641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_OPMODE_SINGLE: Only one pulse will be generated. 2642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_OPMODE_REPETITIVE: Repetitive pulses will be generated. 2643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 2644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OnePulse_Init(TIM_HandleTypeDef *htim, uint32_t OnePulseMode) 2646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 2648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim == NULL) 2649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 2651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 48 2653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 2655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 2656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 2657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OPM_MODE(OnePulseMode)); 2658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 2659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_RESET) 2661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Allocate lock resource and initialize it */ 2663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Lock = HAL_UNLOCKED; 2664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 2666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset interrupt callbacks to legacy weak callbacks */ 2667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ResetCallback(htim); 2668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->OnePulse_MspInitCallback == NULL) 2670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OnePulse_MspInitCallback = HAL_TIM_OnePulse_MspInit; 2672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */ 2674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OnePulse_MspInitCallback(htim); 2675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 2676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC and DMA */ 2677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_OnePulse_MspInit(htim); 2678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM state */ 2682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 2683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Time base in the One Pulse Mode */ 2685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_Base_SetConfig(htim->Instance, &htim->Init); 2686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the OPM Bit */ 2688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CR1 &= ~TIM_CR1_OPM; 2689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the OPM Mode */ 2691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CR1 |= OnePulseMode; 2692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the DMA burst operation state */ 2694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY; 2695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the TIM channels state */ 2697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 2698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 2699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 2700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 2701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the TIM state*/ 2703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 2704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 2706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief DeInitializes the TIM One Pulse ARM GAS /tmp/cc0wMqvE.s page 49 2710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM One Pulse handle 2711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 2712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OnePulse_DeInit(TIM_HandleTypeDef *htim) 2714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 2717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 2719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Peripheral Clock */ 2721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 2722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 2724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->OnePulse_MspDeInitCallback == NULL) 2725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OnePulse_MspDeInitCallback = HAL_TIM_OnePulse_MspDeInit; 2727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* DeInit the low level hardware */ 2729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OnePulse_MspDeInitCallback(htim); 2730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 2731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC */ 2732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_OnePulse_MspDeInit(htim); 2733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the DMA burst operation state */ 2736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_RESET; 2737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 2739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET); 2740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET); 2741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET); 2742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET); 2743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change TIM state */ 2745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_RESET; 2746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Release Lock */ 2748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 2749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 2751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM One Pulse MSP. 2755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM One Pulse handle 2756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 2757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_OnePulse_MspInit(TIM_HandleTypeDef *htim) 2759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 2762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 2764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_OnePulse_MspInit could be implemented in the user file 2765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 50 2767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief DeInitializes TIM One Pulse MSP. 2770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM One Pulse handle 2771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 2772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_OnePulse_MspDeInit(TIM_HandleTypeDef *htim) 2774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 2777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 2779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_OnePulse_MspDeInit could be implemented in the user file 2780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM One Pulse signal generation. 2785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note Though OutputChannel parameter is deprecated and ignored by the function 2786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * it has been kept to avoid HAL_TIM API compatibility break. 2787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note The pulse output channel is determined when calling 2788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @ref HAL_TIM_OnePulse_ConfigChannel(). 2789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM One Pulse handle 2790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param OutputChannel See note above 2791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 2792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OnePulse_Start(TIM_HandleTypeDef *htim, uint32_t OutputChannel) 2794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 2796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 2797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 2798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 2799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(OutputChannel); 2802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM channels state */ 2804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 2805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 2806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 2807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 2808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 2810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channels state */ 2813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 2814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 2815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 2816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 2817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Capture compare and the Input Capture channels 2819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (in the OPM Mode the two possible channels that can be used are TIM_CHANNEL_1 and TIM_CHANNEL_2 2820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if TIM_CHANNEL_1 is used as output, the TIM_CHANNEL_2 will be used as input and 2821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if TIM_CHANNEL_1 is used as input, the TIM_CHANNEL_2 will be used as output 2822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** whatever the combination, the TIM_CHANNEL_1 and TIM_CHANNEL_2 should be enabled together 2823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 51 2824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** No need to enable the counter, it's enabled automatically by hardware 2825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (the counter starts in response to a stimulus and generate a pulse */ 2826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); 2828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 2829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 2831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the main output */ 2833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_ENABLE(htim); 2834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 2838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM One Pulse signal generation. 2842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note Though OutputChannel parameter is deprecated and ignored by the function 2843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * it has been kept to avoid HAL_TIM API compatibility break. 2844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note The pulse output channel is determined when calling 2845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @ref HAL_TIM_OnePulse_ConfigChannel(). 2846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM One Pulse handle 2847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param OutputChannel See note above 2848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 2849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OnePulse_Stop(TIM_HandleTypeDef *htim, uint32_t OutputChannel) 2851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(OutputChannel); 2854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Capture compare and the Input Capture channels 2856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (in the OPM Mode the two possible channels that can be used are TIM_CHANNEL_1 and TIM_CHANNEL_2) 2857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if TIM_CHANNEL_1 is used as output, the TIM_CHANNEL_2 will be used as input and 2858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if TIM_CHANNEL_1 is used as input, the TIM_CHANNEL_2 will be used as output 2859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** whatever the combination, the TIM_CHANNEL_1 and TIM_CHANNEL_2 should be disabled together */ 2860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE); 2862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 2863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 2865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Main Output */ 2867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_DISABLE(htim); 2868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 2871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 2872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channels state */ 2874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 2875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 2876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 2877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 2878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 2880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; ARM GAS /tmp/cc0wMqvE.s page 52 2881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM One Pulse signal generation in interrupt mode. 2885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note Though OutputChannel parameter is deprecated and ignored by the function 2886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * it has been kept to avoid HAL_TIM API compatibility break. 2887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note The pulse output channel is determined when calling 2888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @ref HAL_TIM_OnePulse_ConfigChannel(). 2889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM One Pulse handle 2890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param OutputChannel See note above 2891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 2892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OnePulse_Start_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel) 2894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 2896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 2897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 2898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 2899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(OutputChannel); 2902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM channels state */ 2904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 2905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 2906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 2907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 2908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 2910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channels state */ 2913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 2914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 2915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 2916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 2917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Capture compare and the Input Capture channels 2919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (in the OPM Mode the two possible channels that can be used are TIM_CHANNEL_1 and TIM_CHANNEL_2 2920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if TIM_CHANNEL_1 is used as output, the TIM_CHANNEL_2 will be used as input and 2921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if TIM_CHANNEL_1 is used as input, the TIM_CHANNEL_2 will be used as output 2922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** whatever the combination, the TIM_CHANNEL_1 and TIM_CHANNEL_2 should be enabled together 2923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** No need to enable the counter, it's enabled automatically by hardware 2925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (the counter starts in response to a stimulus and generate a pulse */ 2926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 1 interrupt */ 2928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 2929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 2 interrupt */ 2931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 2932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); 2934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 2935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 2937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 53 2938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the main output */ 2939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_ENABLE(htim); 2940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 2943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 2944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM One Pulse signal generation in interrupt mode. 2948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note Though OutputChannel parameter is deprecated and ignored by the function 2949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * it has been kept to avoid HAL_TIM API compatibility break. 2950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note The pulse output channel is determined when calling 2951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @ref HAL_TIM_OnePulse_ConfigChannel(). 2952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM One Pulse handle 2953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param OutputChannel See note above 2954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 2955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OnePulse_Stop_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel) 2957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(OutputChannel); 2960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 1 interrupt */ 2962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1); 2963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 2 interrupt */ 2965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2); 2966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Capture compare and the Input Capture channels 2968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (in the OPM Mode the two possible channels that can be used are TIM_CHANNEL_1 and TIM_CHANNEL_2) 2969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if TIM_CHANNEL_1 is used as output, the TIM_CHANNEL_2 will be used as input and 2970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if TIM_CHANNEL_1 is used as input, the TIM_CHANNEL_2 will be used as output 2971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** whatever the combination, the TIM_CHANNEL_1 and TIM_CHANNEL_2 should be disabled together */ 2972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE); 2973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 2974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 2976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Main Output */ 2978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_DISABLE(htim); 2979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 2982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 2983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channels state */ 2985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 2986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 2987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 2988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 2989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 2991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 2992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** ARM GAS /tmp/cc0wMqvE.s page 54 2995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @} 2996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group6 TIM Encoder functions 2999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM Encoder functions 3000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * 3001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @verbatim 3002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 3003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ##### TIM Encoder functions ##### 3004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 3005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 3006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** This section provides functions allowing to: 3007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Initialize and configure the TIM Encoder. 3008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) De-initialize the TIM Encoder. 3009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM Encoder. 3010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM Encoder. 3011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM Encoder and enable interrupt. 3012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM Encoder and disable interrupt. 3013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM Encoder and enable DMA transfer. 3014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM Encoder and disable DMA transfer. 3015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @endverbatim 3017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @{ 3018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 3020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM Encoder Interface and initialize the associated handle. 3021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note Switching from Center Aligned counter mode to Edge counter mode (or reverse) 3022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * requires a timer reset to avoid unexpected direction 3023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * due to DIR bit readonly in center aligned mode. 3024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * Ex: call @ref HAL_TIM_Encoder_DeInit() before HAL_TIM_Encoder_Init() 3025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note Encoder mode and External clock mode 2 are not compatible and must not be selected toge 3026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * Ex: A call for @ref HAL_TIM_Encoder_Init will erase the settings of @ref HAL_TIM_Config 3027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * using TIM_CLOCKSOURCE_ETRMODE2 and vice versa 3028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note When the timer instance is initialized in Encoder mode, timer 3029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * channels 1 and channel 2 are reserved and cannot be used for other 3030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * purpose. 3031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Encoder Interface handle 3032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param sConfig TIM Encoder Interface configuration structure 3033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 3034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Encoder_Init(TIM_HandleTypeDef *htim, TIM_Encoder_InitTypeDef *sConfig) 3036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 3038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr1; 3039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 3040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 3042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim == NULL) 3043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 3048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance)); 3049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 3050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 3051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); ARM GAS /tmp/cc0wMqvE.s page 55 3052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_MODE(sConfig->EncoderMode)); 3053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_SELECTION(sConfig->IC1Selection)); 3054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_SELECTION(sConfig->IC2Selection)); 3055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODERINPUT_POLARITY(sConfig->IC1Polarity)); 3056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODERINPUT_POLARITY(sConfig->IC2Polarity)); 3057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->IC1Prescaler)); 3058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->IC2Prescaler)); 3059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_FILTER(sConfig->IC1Filter)); 3060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_FILTER(sConfig->IC2Filter)); 3061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_RESET) 3063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Allocate lock resource and initialize it */ 3065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Lock = HAL_UNLOCKED; 3066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset interrupt callbacks to legacy weak callbacks */ 3069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ResetCallback(htim); 3070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->Encoder_MspInitCallback == NULL) 3072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Encoder_MspInitCallback = HAL_TIM_Encoder_MspInit; 3074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */ 3076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Encoder_MspInitCallback(htim); 3077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 3078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC and DMA */ 3079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_Encoder_MspInit(htim); 3080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM state */ 3084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 3085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the SMS and ECE bits */ 3087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR &= ~(TIM_SMCR_SMS | TIM_SMCR_ECE); 3088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Time base in the Encoder Mode */ 3090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_Base_SetConfig(htim->Instance, &htim->Init); 3091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx SMCR register value */ 3093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR; 3094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCMR1 register value */ 3096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = htim->Instance->CCMR1; 3097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCER register value */ 3099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = htim->Instance->CCER; 3100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the encoder Mode */ 3102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr |= sConfig->EncoderMode; 3103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Capture Compare 1 and the Capture Compare 2 as input */ 3105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 &= ~(TIM_CCMR1_CC1S | TIM_CCMR1_CC2S); 3106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Selection | (sConfig->IC2Selection << 8U)); 3107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Capture Compare 1 and the Capture Compare 2 prescalers and filters */ ARM GAS /tmp/cc0wMqvE.s page 56 3109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 &= ~(TIM_CCMR1_IC1PSC | TIM_CCMR1_IC2PSC); 3110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 &= ~(TIM_CCMR1_IC1F | TIM_CCMR1_IC2F); 3111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= sConfig->IC1Prescaler | (sConfig->IC2Prescaler << 8U); 3112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Filter << 4U) | (sConfig->IC2Filter << 12U); 3113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TI1 and the TI2 Polarities */ 3115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC1P | TIM_CCER_CC2P); 3116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC1NP | TIM_CCER_CC2NP); 3117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= sConfig->IC1Polarity | (sConfig->IC2Polarity << 4U); 3118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx SMCR */ 3120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR = tmpsmcr; 3121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR1 */ 3123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 = tmpccmr1; 3124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCER */ 3126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCER = tmpccer; 3127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the DMA burst operation state */ 3129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY; 3130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channels state */ 3132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 3133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 3134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 3135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 3136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the TIM state*/ 3138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 3139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 3141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 3145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief DeInitializes the TIM Encoder interface 3146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Encoder Interface handle 3147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 3148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Encoder_DeInit(TIM_HandleTypeDef *htim) 3150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 3152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 3153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 3155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Peripheral Clock */ 3157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 3158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->Encoder_MspDeInitCallback == NULL) 3161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Encoder_MspDeInitCallback = HAL_TIM_Encoder_MspDeInit; 3163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* DeInit the low level hardware */ 3165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Encoder_MspDeInitCallback(htim); ARM GAS /tmp/cc0wMqvE.s page 57 3166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 3167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC */ 3168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_Encoder_MspDeInit(htim); 3169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the DMA burst operation state */ 3172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_RESET; 3173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channels state */ 3175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET); 3176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET); 3177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET); 3178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET); 3179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change TIM state */ 3181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_RESET; 3182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Release Lock */ 3184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 3185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 3187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 3190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM Encoder Interface MSP. 3191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Encoder Interface handle 3192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 3193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_Encoder_MspInit(TIM_HandleTypeDef *htim) 3195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 3197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 3198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 3200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_Encoder_MspInit could be implemented in the user file 3201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 3205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief DeInitializes TIM Encoder Interface MSP. 3206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Encoder Interface handle 3207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 3208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_Encoder_MspDeInit(TIM_HandleTypeDef *htim) 3210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 3212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 3213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 3215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_Encoder_MspDeInit could be implemented in the user file 3216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 3220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM Encoder Interface. 3221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Encoder Interface handle 3222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be enabled ARM GAS /tmp/cc0wMqvE.s page 58 3223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 3224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 3225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 3226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_ALL: TIM Channel 1 and TIM Channel 2 are selected 3227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 3228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Encoder_Start(TIM_HandleTypeDef *htim, uint32_t Channel) 3230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 3232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 3233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 3234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 3235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 3237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance)); 3238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel(s) state */ 3240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (Channel == TIM_CHANNEL_1) 3241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 3243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)) 3244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 3250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 3251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (Channel == TIM_CHANNEL_2) 3254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 3256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 3257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 3263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 3264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 3269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 3270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 3271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 3272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 3278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 3279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); ARM GAS /tmp/cc0wMqvE.s page 59 3280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 3281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the encoder interface channels */ 3285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 3286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 3288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); 3290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 3294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 3296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default : 3300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); 3302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 3303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral */ 3307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 3308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 3310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 3311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 3314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM Encoder Interface. 3315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Encoder Interface handle 3316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be disabled 3317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 3318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 3319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 3320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_ALL: TIM Channel 1 and TIM Channel 2 are selected 3321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 3322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Encoder_Stop(TIM_HandleTypeDef *htim, uint32_t Channel) 3324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 3326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance)); 3327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Input Capture channels 1 and 2 3329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (in the EncoderInterface the two possible channels that can be used are TIM_CHANNEL_1 and TIM_C 3330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 3331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 3333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE); 3335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 60 3337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 3339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 3341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default : 3345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE); 3347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 3348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 3353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 3354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel(s) state */ 3356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((Channel == TIM_CHANNEL_1) || (Channel == TIM_CHANNEL_2)) 3357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 3359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 3360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 3364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 3365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 3366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 3367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 3370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 3371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 3374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM Encoder Interface in interrupt mode. 3375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Encoder Interface handle 3376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be enabled 3377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 3378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 3379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 3380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_ALL: TIM Channel 1 and TIM Channel 2 are selected 3381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 3382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Encoder_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel) 3384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 3386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 3387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 3388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 3389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 3391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance)); 3392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel(s) state */ ARM GAS /tmp/cc0wMqvE.s page 61 3394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (Channel == TIM_CHANNEL_1) 3395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 3397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)) 3398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 3404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 3405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (Channel == TIM_CHANNEL_2) 3408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 3410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 3411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 3417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 3418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 3423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 3424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 3425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 3426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 3432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 3433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 3434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 3435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the encoder interface channels */ 3439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the capture compare Interrupts 1 and/or 2 */ 3440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 3441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 3443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); 3445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 3446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 3450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 62 3451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 3452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 3453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default : 3457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); 3459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 3460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 3461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 3462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral */ 3467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 3468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 3470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 3471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 3474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM Encoder Interface in interrupt mode. 3475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Encoder Interface handle 3476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be disabled 3477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 3478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 3479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 3480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_ALL: TIM Channel 1 and TIM Channel 2 are selected 3481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 3482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Encoder_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel) 3484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 3486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance)); 3487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Input Capture channels 1 and 2 3489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (in the EncoderInterface the two possible channels that can be used are TIM_CHANNEL_1 and TIM_C 3490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (Channel == TIM_CHANNEL_1) 3491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE); 3493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the capture compare Interrupts 1 */ 3495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1); 3496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (Channel == TIM_CHANNEL_2) 3498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 3500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the capture compare Interrupts 2 */ 3502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2); 3503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE); 3507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); ARM GAS /tmp/cc0wMqvE.s page 63 3508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the capture compare Interrupts 1 and 2 */ 3510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1); 3511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2); 3512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 3515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 3516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel(s) state */ 3518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((Channel == TIM_CHANNEL_1) || (Channel == TIM_CHANNEL_2)) 3519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 3521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 3522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 3526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 3527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 3528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 3529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 3532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 3533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 3536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM Encoder Interface in DMA mode. 3537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Encoder Interface handle 3538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be enabled 3539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 3540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 3541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 3542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_ALL: TIM Channel 1 and TIM Channel 2 are selected 3543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param pData1 The destination Buffer address for IC1. 3544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param pData2 The destination Buffer address for IC2. 3545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Length The length of data to be transferred from TIM peripheral to memory. 3546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 3547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Encoder_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pD 3549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t *pData2, uint16_t Length) 3550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 3552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 3553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 3554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 3555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 3557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance)); 3558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel(s) state */ 3560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (Channel == TIM_CHANNEL_1) 3561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY) 3563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY)) 3564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 64 3565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_BUSY; 3566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if ((channel_1_state == HAL_TIM_CHANNEL_STATE_READY) 3568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY)) 3569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((pData1 == NULL) && (Length > 0U)) 3571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 3577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 3578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (Channel == TIM_CHANNEL_2) 3586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY) 3588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY)) 3589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_BUSY; 3591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if ((channel_2_state == HAL_TIM_CHANNEL_STATE_READY) 3593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_READY)) 3594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((pData2 == NULL) && (Length > 0U)) 3596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 3602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 3603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY) 3613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY) 3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY) 3615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY)) 3616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_BUSY; 3618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if ((channel_1_state == HAL_TIM_CHANNEL_STATE_READY) 3620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (channel_2_state == HAL_TIM_CHANNEL_STATE_READY) 3621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY) ARM GAS /tmp/cc0wMqvE.s page 65 3622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_READY)) 3623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((((pData1 == NULL) || (pData2 == NULL))) && (Length > 0U)) 3625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 3631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 3632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 3633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 3634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 3643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 3645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA capture callbacks */ 3647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMACaptureCplt; 3648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 3651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ; 3652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 3654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)&htim->Instance->CCR1, (uint32_t)p 3655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 3656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 3658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Input Capture DMA request */ 3661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1); 3662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Capture compare channel */ 3664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); 3665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral */ 3667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 3668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 3673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA capture callbacks */ 3675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMACaptureCplt; 3676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ ARM GAS /tmp/cc0wMqvE.s page 66 3679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAError; 3680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 3681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)&htim->Instance->CCR2, (uint32_t)p 3682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 3683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 3685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Input Capture DMA request */ 3688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2); 3689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Capture compare channel */ 3691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 3692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral */ 3694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 3695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 3700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA capture callbacks */ 3702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMACaptureCplt; 3703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 3706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ; 3707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 3709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)&htim->Instance->CCR1, (uint32_t)p 3710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 3711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 3713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA capture callbacks */ 3717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMACaptureCplt; 3718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 3721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAError ; 3722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 3724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)&htim->Instance->CCR2, (uint32_t)p 3725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 3726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 3728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Input Capture DMA request */ 3732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1); 3733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Input Capture DMA request */ 3734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2); 3735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 67 3736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Capture compare channel */ 3737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); 3738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 3739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral */ 3741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 3742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 3748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 3749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 3752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM Encoder Interface in DMA mode. 3753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Encoder Interface handle 3754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be enabled 3755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 3756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 3757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 3758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_ALL: TIM Channel 1 and TIM Channel 2 are selected 3759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 3760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Encoder_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel) 3762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 3764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance)); 3765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Input Capture channels 1 and 2 3767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (in the EncoderInterface the two possible channels that can be used are TIM_CHANNEL_1 and TIM_C 3768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (Channel == TIM_CHANNEL_1) 3769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE); 3771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the capture compare DMA Request 1 */ 3773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1); 3774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 3775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (Channel == TIM_CHANNEL_2) 3777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 3779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the capture compare DMA Request 2 */ 3781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2); 3782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 3783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE); 3787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 3788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the capture compare DMA Request 1 and 2 */ 3790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1); 3791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2); 3792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); ARM GAS /tmp/cc0wMqvE.s page 68 3793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 3794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 3797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 3798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel(s) state */ 3800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((Channel == TIM_CHANNEL_1) || (Channel == TIM_CHANNEL_2)) 3801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 3803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 3804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 3808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 3809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 3810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 3811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 3814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 3815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 3818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @} 3819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group7 TIM IRQ handler management 3821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM IRQ handler management 3822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * 3823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @verbatim 3824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 3825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ##### IRQ handler management ##### 3826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 3827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 3828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** This section provides Timer IRQ handler function. 3829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @endverbatim 3831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @{ 3832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 3834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief This function handles TIM interrupts requests. 3835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 3836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 3837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** void HAL_TIM_IRQHandler(TIM_HandleTypeDef *htim) 3839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Capture compare 1 event */ 3841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC1) != RESET) 3842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC1) != RESET) 3844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC1); 3847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1; 3848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ ARM GAS /tmp/cc0wMqvE.s page 69 3850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((htim->Instance->CCMR1 & TIM_CCMR1_CC1S) != 0x00U) 3851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_CaptureCallback(htim); 3854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 3855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_IC_CaptureCallback(htim); 3856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Output compare event */ 3859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_DelayElapsedCallback(htim); 3863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_PulseFinishedCallback(htim); 3864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 3865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_OC_DelayElapsedCallback(htim); 3866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim); 3867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; 3870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Capture compare 2 event */ 3874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC2) != RESET) 3875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC2) != RESET) 3877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC2); 3879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2; 3880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ 3881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((htim->Instance->CCMR1 & TIM_CCMR1_CC2S) != 0x00U) 3882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_CaptureCallback(htim); 3885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 3886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_IC_CaptureCallback(htim); 3887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Output compare event */ 3890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_DelayElapsedCallback(htim); 3894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_PulseFinishedCallback(htim); 3895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 3896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_OC_DelayElapsedCallback(htim); 3897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim); 3898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; 3901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Capture compare 3 event */ 3904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC3) != RESET) 3905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC3) != RESET) ARM GAS /tmp/cc0wMqvE.s page 70 3907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC3); 3909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3; 3910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ 3911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((htim->Instance->CCMR2 & TIM_CCMR2_CC3S) != 0x00U) 3912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_CaptureCallback(htim); 3915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 3916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_IC_CaptureCallback(htim); 3917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Output compare event */ 3920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_DelayElapsedCallback(htim); 3924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_PulseFinishedCallback(htim); 3925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 3926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_OC_DelayElapsedCallback(htim); 3927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim); 3928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; 3931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Capture compare 4 event */ 3934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC4) != RESET) 3935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC4) != RESET) 3937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC4); 3939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4; 3940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ 3941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((htim->Instance->CCMR2 & TIM_CCMR2_CC4S) != 0x00U) 3942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_CaptureCallback(htim); 3945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 3946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_IC_CaptureCallback(htim); 3947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Output compare event */ 3950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_DelayElapsedCallback(htim); 3954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_PulseFinishedCallback(htim); 3955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 3956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_OC_DelayElapsedCallback(htim); 3957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim); 3958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; 3961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TIM Update event */ ARM GAS /tmp/cc0wMqvE.s page 71 3964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_UPDATE) != RESET) 3965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_UPDATE) != RESET) 3967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_IT(htim, TIM_IT_UPDATE); 3969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PeriodElapsedCallback(htim); 3971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 3972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PeriodElapsedCallback(htim); 3973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TIM Break input event */ 3977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_BREAK) != RESET) 3978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_BREAK) != RESET) 3980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_IT(htim, TIM_IT_BREAK); 3982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->BreakCallback(htim); 3984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 3985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIMEx_BreakCallback(htim); 3986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TIM Break2 input event */ 3990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_BREAK2) != RESET) 3991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_BREAK) != RESET) 3993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_FLAG(htim, TIM_FLAG_BREAK2); 3995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Break2Callback(htim); 3997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 3998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIMEx_Break2Callback(htim); 3999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TIM Trigger detection event */ 4003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_TRIGGER) != RESET) 4004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_TRIGGER) != RESET) 4006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_IT(htim, TIM_IT_TRIGGER); 4008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->TriggerCallback(htim); 4010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 4011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_TriggerCallback(htim); 4012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TIM commutation event */ 4016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_COM) != RESET) 4017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_COM) != RESET) 4019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_IT(htim, TIM_FLAG_COM); ARM GAS /tmp/cc0wMqvE.s page 72 4021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->CommutationCallback(htim); 4023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 4024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIMEx_CommutCallback(htim); 4025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TIM Encoder index event */ 4029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_IDX) != RESET) 4030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_IDX) != RESET) 4032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_IT(htim, TIM_FLAG_IDX); 4034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->EncoderIndexCallback(htim); 4036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 4037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIMEx_EncoderIndexCallback(htim); 4038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TIM Direction change event */ 4042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_DIR) != RESET) 4043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_DIR) != RESET) 4045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_IT(htim, TIM_FLAG_DIR); 4047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DirectionChangeCallback(htim); 4049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 4050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIMEx_DirectionChangeCallback(htim); 4051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TIM Index error event */ 4055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_IERR) != RESET) 4056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_IERR) != RESET) 4058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_IT(htim, TIM_FLAG_IERR); 4060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IndexErrorCallback(htim); 4062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 4063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIMEx_IndexErrorCallback(htim); 4064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TIM Transition error event */ 4068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_TERR) != RESET) 4069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_TERR) != RESET) 4071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_IT(htim, TIM_FLAG_TERR); 4073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->TransitionErrorCallback(htim); 4075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 4076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIMEx_TransitionErrorCallback(htim); 4077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ ARM GAS /tmp/cc0wMqvE.s page 73 4078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 4083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @} 4084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 4085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group8 TIM Peripheral Control functions 4087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM Peripheral Control functions 4088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * 4089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @verbatim 4090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 4091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ##### Peripheral Control functions ##### 4092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 4093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 4094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** This section provides functions allowing to: 4095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Configure The Input Output channels for OC, PWM, IC or One Pulse mode. 4096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Configure External Clock source. 4097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Configure Complementary channels, break features and dead time. 4098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Configure Master and the Slave synchronization. 4099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Configure the DMA Burst Mode. 4100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @endverbatim 4102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @{ 4103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 4104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 4106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM Output Compare Channels according to the specified 4107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * parameters in the TIM_OC_InitTypeDef. 4108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Output Compare handle 4109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param sConfig TIM Output Compare configuration structure 4110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to configure 4111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 4112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 4113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 4114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 4115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 4116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_5: TIM Channel 5 selected 4117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_6: TIM Channel 6 selected 4118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 4119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 4120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_ConfigChannel(TIM_HandleTypeDef *htim, 4121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC_InitTypeDef *sConfig, 4122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t Channel) 4123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 4125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CHANNELS(Channel)); 4128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OC_CHANNEL_MODE(sConfig->OCMode, Channel)); 4129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OC_POLARITY(sConfig->OCPolarity)); 4130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Process Locked */ 4132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_LOCK(htim); 4133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) ARM GAS /tmp/cc0wMqvE.s page 74 4135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 4137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(htim->Instance)); 4140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the TIM Channel 1 in Output Compare */ 4142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC1_SetConfig(htim->Instance, sConfig); 4143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 4147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC2_INSTANCE(htim->Instance)); 4150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the TIM Channel 2 in Output Compare */ 4152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC2_SetConfig(htim->Instance, sConfig); 4153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 4157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC3_INSTANCE(htim->Instance)); 4160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the TIM Channel 3 in Output Compare */ 4162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC3_SetConfig(htim->Instance, sConfig); 4163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 4167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC4_INSTANCE(htim->Instance)); 4170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the TIM Channel 4 in Output Compare */ 4172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC4_SetConfig(htim->Instance, sConfig); 4173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_5: 4177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC5_INSTANCE(htim->Instance)); 4180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the TIM Channel 5 in Output Compare */ 4182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC5_SetConfig(htim->Instance, sConfig); 4183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_6: 4187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC6_INSTANCE(htim->Instance)); 4190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the TIM Channel 6 in Output Compare */ ARM GAS /tmp/cc0wMqvE.s page 75 4192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC6_SetConfig(htim->Instance, sConfig); 4193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 4197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 4198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 4202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 4204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 4207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM Input Capture Channels according to the specified 4208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * parameters in the TIM_IC_InitTypeDef. 4209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM IC handle 4210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param sConfig TIM Input Capture configuration structure 4211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channel to configure 4212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 4213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 4214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 4215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 4216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 4217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 4218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 4219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_ConfigChannel(TIM_HandleTypeDef *htim, TIM_IC_InitTypeDef *sConfig, ui 4220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 4222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(htim->Instance)); 4225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_POLARITY(sConfig->ICPolarity)); 4226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_SELECTION(sConfig->ICSelection)); 4227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->ICPrescaler)); 4228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_FILTER(sConfig->ICFilter)); 4229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Process Locked */ 4231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_LOCK(htim); 4232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (Channel == TIM_CHANNEL_1) 4234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TI1 Configuration */ 4236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_TI1_SetConfig(htim->Instance, 4237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 4238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICSelection, 4239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICFilter); 4240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the IC1PSC Bits */ 4242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 &= ~TIM_CCMR1_IC1PSC; 4243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the IC1PSC value */ 4245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->ICPrescaler; 4246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (Channel == TIM_CHANNEL_2) 4248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 76 4249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TI2 Configuration */ 4250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC2_INSTANCE(htim->Instance)); 4251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_TI2_SetConfig(htim->Instance, 4253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 4254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICSelection, 4255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICFilter); 4256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the IC2PSC Bits */ 4258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 &= ~TIM_CCMR1_IC2PSC; 4259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the IC2PSC value */ 4261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= (sConfig->ICPrescaler << 8U); 4262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (Channel == TIM_CHANNEL_3) 4264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TI3 Configuration */ 4266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC3_INSTANCE(htim->Instance)); 4267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_TI3_SetConfig(htim->Instance, 4269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 4270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICSelection, 4271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICFilter); 4272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the IC3PSC Bits */ 4274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 &= ~TIM_CCMR2_IC3PSC; 4275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the IC3PSC value */ 4277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->ICPrescaler; 4278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (Channel == TIM_CHANNEL_4) 4280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TI4 Configuration */ 4282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC4_INSTANCE(htim->Instance)); 4283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_TI4_SetConfig(htim->Instance, 4285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 4286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICSelection, 4287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICFilter); 4288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the IC4PSC Bits */ 4290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 &= ~TIM_CCMR2_IC4PSC; 4291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the IC4PSC value */ 4293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= (sConfig->ICPrescaler << 8U); 4294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 4296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 4298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 4301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 4303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** ARM GAS /tmp/cc0wMqvE.s page 77 4306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM PWM channels according to the specified 4307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * parameters in the TIM_OC_InitTypeDef. 4308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM PWM handle 4309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param sConfig TIM PWM configuration structure 4310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be configured 4311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 4312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 4313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 4314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 4315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 4316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_5: TIM Channel 5 selected 4317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_6: TIM Channel 6 selected 4318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 4319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 4320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_ConfigChannel(TIM_HandleTypeDef *htim, 4321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC_InitTypeDef *sConfig, 4322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t Channel) 4323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 4325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CHANNELS(Channel)); 4328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_PWM_MODE(sConfig->OCMode)); 4329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OC_POLARITY(sConfig->OCPolarity)); 4330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_FAST_STATE(sConfig->OCFastMode)); 4331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Process Locked */ 4333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_LOCK(htim); 4334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 4336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 4338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(htim->Instance)); 4341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Channel 1 in PWM mode */ 4343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC1_SetConfig(htim->Instance, sConfig); 4344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Preload enable bit for channel1 */ 4346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= TIM_CCMR1_OC1PE; 4347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Output Fast mode */ 4349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 &= ~TIM_CCMR1_OC1FE; 4350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode; 4351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 4355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC2_INSTANCE(htim->Instance)); 4358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Channel 2 in PWM mode */ 4360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC2_SetConfig(htim->Instance, sConfig); 4361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Preload enable bit for channel2 */ ARM GAS /tmp/cc0wMqvE.s page 78 4363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= TIM_CCMR1_OC2PE; 4364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Output Fast mode */ 4366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 &= ~TIM_CCMR1_OC2FE; 4367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode << 8U; 4368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 4372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC3_INSTANCE(htim->Instance)); 4375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Channel 3 in PWM mode */ 4377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC3_SetConfig(htim->Instance, sConfig); 4378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Preload enable bit for channel3 */ 4380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= TIM_CCMR2_OC3PE; 4381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Output Fast mode */ 4383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 &= ~TIM_CCMR2_OC3FE; 4384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode; 4385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 4389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC4_INSTANCE(htim->Instance)); 4392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Channel 4 in PWM mode */ 4394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC4_SetConfig(htim->Instance, sConfig); 4395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Preload enable bit for channel4 */ 4397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= TIM_CCMR2_OC4PE; 4398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Output Fast mode */ 4400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 &= ~TIM_CCMR2_OC4FE; 4401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode << 8U; 4402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_5: 4406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC5_INSTANCE(htim->Instance)); 4409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Channel 5 in PWM mode */ 4411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC5_SetConfig(htim->Instance, sConfig); 4412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Preload enable bit for channel5*/ 4414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= TIM_CCMR3_OC5PE; 4415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Output Fast mode */ 4417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 &= ~TIM_CCMR3_OC5FE; 4418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode; 4419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; ARM GAS /tmp/cc0wMqvE.s page 79 4420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_6: 4423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC6_INSTANCE(htim->Instance)); 4426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Channel 6 in PWM mode */ 4428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC6_SetConfig(htim->Instance, sConfig); 4429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Preload enable bit for channel6 */ 4431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= TIM_CCMR3_OC6PE; 4432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Output Fast mode */ 4434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 &= ~TIM_CCMR3_OC6FE; 4435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode << 8U; 4436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 4440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 4441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 4445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 4447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 4450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM One Pulse Channels according to the specified 4451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * parameters in the TIM_OnePulse_InitTypeDef. 4452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM One Pulse handle 4453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param sConfig TIM One Pulse configuration structure 4454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param OutputChannel TIM output channel to configure 4455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 4456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 4457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 4458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param InputChannel TIM input Channel to configure 4459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 4460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 4461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 4462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note To output a waveform with a minimum delay user can enable the fast 4463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * mode by calling the @ref __HAL_TIM_ENABLE_OCxFAST macro. Then CCx 4464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * output is forced in response to the edge detection on TIx input, 4465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * without taking in account the comparison. 4466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 4467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 4468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OnePulse_ConfigChannel(TIM_HandleTypeDef *htim, TIM_OnePulse_InitTypeDef 4469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t OutputChannel, uint32_t InputChannel) 4470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 4472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC_InitTypeDef temp1; 4473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OPM_CHANNELS(OutputChannel)); 4476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OPM_CHANNELS(InputChannel)); ARM GAS /tmp/cc0wMqvE.s page 80 4477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (OutputChannel != InputChannel) 4479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Process Locked */ 4481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_LOCK(htim); 4482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 4484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Extract the Output compare configuration from sConfig structure */ 4486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCMode = sConfig->OCMode; 4487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.Pulse = sConfig->Pulse; 4488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCPolarity = sConfig->OCPolarity; 4489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCNPolarity = sConfig->OCNPolarity; 4490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCIdleState = sConfig->OCIdleState; 4491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCNIdleState = sConfig->OCNIdleState; 4492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (OutputChannel) 4494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 4496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(htim->Instance)); 4498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC1_SetConfig(htim->Instance, &temp1); 4500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 4504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC2_INSTANCE(htim->Instance)); 4506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC2_SetConfig(htim->Instance, &temp1); 4508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 4512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 4513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 4517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (InputChannel) 4519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 4521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(htim->Instance)); 4523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_TI1_SetConfig(htim->Instance, sConfig->ICPolarity, 4525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICSelection, sConfig->ICFilter); 4526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the IC1PSC Bits */ 4528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 &= ~TIM_CCMR1_IC1PSC; 4529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Trigger source */ 4531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS; 4532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI1FP1; 4533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 81 4534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Slave Mode */ 4535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR &= ~TIM_SMCR_SMS; 4536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 4537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 4541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC2_INSTANCE(htim->Instance)); 4543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_TI2_SetConfig(htim->Instance, sConfig->ICPolarity, 4545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICSelection, sConfig->ICFilter); 4546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the IC2PSC Bits */ 4548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 &= ~TIM_CCMR1_IC2PSC; 4549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Trigger source */ 4551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS; 4552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI2FP2; 4553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Slave Mode */ 4555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR &= ~TIM_SMCR_SMS; 4556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 4557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 4561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 4562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 4567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 4569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 4571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 4573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 4575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 4579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configure the DMA Burst to transfer Data from the memory to the TIM peripheral 4580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 4581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstBaseAddress TIM Base address from where the DMA will start the Data write 4582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 4583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CR1 4584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CR2 4585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_SMCR 4586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_DIER 4587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_SR 4588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_EGR 4589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR1 4590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR2 ARM GAS /tmp/cc0wMqvE.s page 82 4591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCER 4592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CNT 4593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_PSC 4594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_ARR 4595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_RCR 4596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR1 4597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR2 4598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR3 4599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR4 4600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_BDTR 4601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR3 4602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR5 4603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR6 4604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_DTR2 4605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_ECR 4606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_TISEL 4607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_AF1 4608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_AF2 4609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_OR 4610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstRequestSrc TIM DMA Request sources 4611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 4612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_UPDATE: TIM update Interrupt source 4613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC1: TIM Capture Compare 1 DMA source 4614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC2: TIM Capture Compare 2 DMA source 4615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC3: TIM Capture Compare 3 DMA source 4616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC4: TIM Capture Compare 4 DMA source 4617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_COM: TIM Commutation DMA source 4618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_TRIGGER: TIM Trigger DMA source 4619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstBuffer The Buffer address. 4620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstLength DMA Burst length. This parameter can be one value 4621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * between: TIM_DMABURSTLENGTH_1TRANSFER and TIM_DMABURSTLENGTH_26TRANSFER. 4622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note This function should be used only when BurstLength is equal to DMA data transfer length 4623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 4624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 4625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_DMABurst_WriteStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, 4626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t BurstRequestSrc, uint32_t *BurstBuffer, uint 4627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status; 4629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_TIM_DMABurst_MultiWriteStart(htim, BurstBaseAddress, BurstRequestSrc, BurstBuffer, B 4631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ((BurstLength) >> 8U) + 1U); 4632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 4636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 4639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configure the DMA Burst to transfer multiple Data from the memory to the TIM peripheral 4640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 4641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstBaseAddress TIM Base address from where the DMA will start the Data write 4642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 4643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CR1 4644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CR2 4645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_SMCR 4646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_DIER 4647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_SR ARM GAS /tmp/cc0wMqvE.s page 83 4648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_EGR 4649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR1 4650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR2 4651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCER 4652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CNT 4653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_PSC 4654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_ARR 4655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_RCR 4656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR1 4657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR2 4658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR3 4659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR4 4660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_BDTR 4661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR3 4662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR5 4663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR6 4664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_DTR2 4665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_ECR 4666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_TISEL 4667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_AF1 4668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_AF2 4669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_OR 4670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstRequestSrc TIM DMA Request sources 4671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 4672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_UPDATE: TIM update Interrupt source 4673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC1: TIM Capture Compare 1 DMA source 4674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC2: TIM Capture Compare 2 DMA source 4675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC3: TIM Capture Compare 3 DMA source 4676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC4: TIM Capture Compare 4 DMA source 4677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_COM: TIM Commutation DMA source 4678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_TRIGGER: TIM Trigger DMA source 4679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstBuffer The Buffer address. 4680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstLength DMA Burst length. This parameter can be one value 4681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * between: TIM_DMABURSTLENGTH_1TRANSFER and TIM_DMABURSTLENGTH_26TRANSFER. 4682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param DataLength Data length. This parameter can be one value 4683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * between 1 and 0xFFFF. 4684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 4685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 4686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_DMABurst_MultiWriteStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddre 4687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t BurstRequestSrc, uint32_t *BurstBuffer, 4688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t BurstLength, uint32_t DataLength) 4689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 4691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMABURST_INSTANCE(htim->Instance)); 4694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_BASE(BurstBaseAddress)); 4695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_SOURCE(BurstRequestSrc)); 4696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_LENGTH(BurstLength)); 4697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_DATA_LENGTH(DataLength)); 4698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->DMABurstState == HAL_DMA_BURST_STATE_BUSY) 4700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_BUSY; 4702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (htim->DMABurstState == HAL_DMA_BURST_STATE_READY) 4704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 84 4705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((BurstBuffer == NULL) && (BurstLength > 0U)) 4706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 4708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 4710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_BUSY; 4712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 4715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* nothing to do */ 4717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (BurstRequestSrc) 4720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_UPDATE: 4722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA Period elapsed callbacks */ 4724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferCpltCallback = TIM_DMAPeriodElapsedCplt; 4725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 4726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 4728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferErrorCallback = TIM_DMAError ; 4729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 4731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_UPDATE], (uint32_t)BurstBuffer, 4732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 4733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 4735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 4736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC1: 4740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA compare callbacks */ 4742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMADelayPulseCplt; 4743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 4744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 4746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ; 4747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 4749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)BurstBuffer, 4750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 4751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 4753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 4754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC2: 4758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA compare callbacks */ 4760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMADelayPulseCplt; 4761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; ARM GAS /tmp/cc0wMqvE.s page 85 4762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 4764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAError ; 4765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 4767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)BurstBuffer, 4768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 4769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 4771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 4772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC3: 4776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA compare callbacks */ 4778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferCpltCallback = TIM_DMADelayPulseCplt; 4779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 4780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 4782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferErrorCallback = TIM_DMAError ; 4783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 4785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)BurstBuffer, 4786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 4787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 4789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 4790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC4: 4794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA compare callbacks */ 4796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferCpltCallback = TIM_DMADelayPulseCplt; 4797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 4798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 4800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferErrorCallback = TIM_DMAError ; 4801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 4803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC4], (uint32_t)BurstBuffer, 4804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 4805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 4807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 4808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_COM: 4812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA commutation callbacks */ 4814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferCpltCallback = TIMEx_DMACommutationCplt; 4815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 4816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 4818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferErrorCallback = TIM_DMAError ; ARM GAS /tmp/cc0wMqvE.s page 86 4819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 4821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_COMMUTATION], (uint32_t)BurstBuffer, 4822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 4823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 4825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 4826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_TRIGGER: 4830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA trigger callbacks */ 4832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferCpltCallback = TIM_DMATriggerCplt; 4833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt; 4834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 4836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferErrorCallback = TIM_DMAError ; 4837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 4839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_TRIGGER], (uint32_t)BurstBuffer, 4840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 4841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 4843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 4844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 4848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 4849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 4853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the DMA Burst Mode */ 4855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->DCR = (BurstBaseAddress | BurstLength); 4856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM DMA Request */ 4857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, BurstRequestSrc); 4858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 4861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 4862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 4865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM DMA Burst mode 4866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 4867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstRequestSrc TIM DMA Request sources to disable 4868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 4869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 4870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_DMABurst_WriteStop(TIM_HandleTypeDef *htim, uint32_t BurstRequestSrc) 4871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 4873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_SOURCE(BurstRequestSrc)); ARM GAS /tmp/cc0wMqvE.s page 87 4876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Abort the DMA transfer (at least disable the DMA channel) */ 4878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (BurstRequestSrc) 4879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_UPDATE: 4881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_UPDATE]); 4883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC1: 4886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 4888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC2: 4891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 4893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC3: 4896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 4898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC4: 4901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 4903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_COM: 4906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_COMMUTATION]); 4908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_TRIGGER: 4911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_TRIGGER]); 4913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 4916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 4917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 4921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Update DMA request */ 4923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, BurstRequestSrc); 4924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the DMA burst operation state */ 4926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY; 4927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 4930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 4931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 88 4933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 4934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configure the DMA Burst to transfer Data from the TIM peripheral to the memory 4935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 4936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstBaseAddress TIM Base address from where the DMA will start the Data read 4937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 4938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CR1 4939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CR2 4940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_SMCR 4941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_DIER 4942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_SR 4943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_EGR 4944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR1 4945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR2 4946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCER 4947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CNT 4948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_PSC 4949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_ARR 4950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_RCR 4951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR1 4952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR2 4953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR3 4954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR4 4955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_BDTR 4956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR3 4957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR5 4958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR6 4959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_DTR2 4960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_ECR 4961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_TISEL 4962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_AF1 4963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_AF2 4964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_OR 4965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstRequestSrc TIM DMA Request sources 4966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 4967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_UPDATE: TIM update Interrupt source 4968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC1: TIM Capture Compare 1 DMA source 4969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC2: TIM Capture Compare 2 DMA source 4970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC3: TIM Capture Compare 3 DMA source 4971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC4: TIM Capture Compare 4 DMA source 4972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_COM: TIM Commutation DMA source 4973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_TRIGGER: TIM Trigger DMA source 4974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstBuffer The Buffer address. 4975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstLength DMA Burst length. This parameter can be one value 4976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * between: TIM_DMABURSTLENGTH_1TRANSFER and TIM_DMABURSTLENGTH_26TRANSFER. 4977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note This function should be used only when BurstLength is equal to DMA data transfer length 4978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 4979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 4980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_DMABurst_ReadStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, 4981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t BurstRequestSrc, uint32_t *BurstBuffer, uint 4982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status; 4984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_TIM_DMABurst_MultiReadStart(htim, BurstBaseAddress, BurstRequestSrc, BurstBuffer, Bu 4986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ((BurstLength) >> 8U) + 1U); 4987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; ARM GAS /tmp/cc0wMqvE.s page 89 4990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 4993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configure the DMA Burst to transfer Data from the TIM peripheral to the memory 4994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 4995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstBaseAddress TIM Base address from where the DMA will start the Data read 4996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 4997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CR1 4998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CR2 4999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_SMCR 5000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_DIER 5001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_SR 5002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_EGR 5003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR1 5004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR2 5005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCER 5006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CNT 5007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_PSC 5008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_ARR 5009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_RCR 5010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR1 5011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR2 5012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR3 5013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR4 5014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_BDTR 5015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR3 5016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR5 5017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR6 5018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_DTR2 5019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_ECR 5020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_TISEL 5021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_AF1 5022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_AF2 5023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_OR 5024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstRequestSrc TIM DMA Request sources 5025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 5026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_UPDATE: TIM update Interrupt source 5027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC1: TIM Capture Compare 1 DMA source 5028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC2: TIM Capture Compare 2 DMA source 5029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC3: TIM Capture Compare 3 DMA source 5030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC4: TIM Capture Compare 4 DMA source 5031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_COM: TIM Commutation DMA source 5032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_TRIGGER: TIM Trigger DMA source 5033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstBuffer The Buffer address. 5034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstLength DMA Burst length. This parameter can be one value 5035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * between: TIM_DMABURSTLENGTH_1TRANSFER and TIM_DMABURSTLENGTH_26TRANSFER. 5036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param DataLength Data length. This parameter can be one value 5037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * between 1 and 0xFFFF. 5038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 5039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_DMABurst_MultiReadStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddres 5041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t BurstRequestSrc, uint32_t *BurstBuffer, 5042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t BurstLength, uint32_t DataLength) 5043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 5045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ ARM GAS /tmp/cc0wMqvE.s page 90 5047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMABURST_INSTANCE(htim->Instance)); 5048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_BASE(BurstBaseAddress)); 5049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_SOURCE(BurstRequestSrc)); 5050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_LENGTH(BurstLength)); 5051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_DATA_LENGTH(DataLength)); 5052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->DMABurstState == HAL_DMA_BURST_STATE_BUSY) 5054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_BUSY; 5056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (htim->DMABurstState == HAL_DMA_BURST_STATE_READY) 5058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((BurstBuffer == NULL) && (BurstLength > 0U)) 5060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 5062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 5064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_BUSY; 5066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 5069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* nothing to do */ 5071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (BurstRequestSrc) 5073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_UPDATE: 5075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA Period elapsed callbacks */ 5077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferCpltCallback = TIM_DMAPeriodElapsedCplt; 5078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 5079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 5081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferErrorCallback = TIM_DMAError ; 5082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 5084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_UPDATE], (uint32_t)&htim->Instance->DMAR, (uint32_ 5085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 5086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 5088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 5089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC1: 5093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA capture callbacks */ 5095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMACaptureCplt; 5096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 5097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 5099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ; 5100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 5102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)&htim->Instance->DMAR, (uint32_t)B 5103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) ARM GAS /tmp/cc0wMqvE.s page 91 5104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 5106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 5107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC2: 5111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA capture callbacks */ 5113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMACaptureCplt; 5114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 5115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 5117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAError ; 5118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 5120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)&htim->Instance->DMAR, (uint32_t)B 5121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 5122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 5124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 5125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC3: 5129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA capture callbacks */ 5131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferCpltCallback = TIM_DMACaptureCplt; 5132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 5133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 5135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferErrorCallback = TIM_DMAError ; 5136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 5138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)&htim->Instance->DMAR, (uint32_t)B 5139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 5140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 5142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 5143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC4: 5147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA capture callbacks */ 5149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferCpltCallback = TIM_DMACaptureCplt; 5150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 5151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 5153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferErrorCallback = TIM_DMAError ; 5154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 5156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC4], (uint32_t)&htim->Instance->DMAR, (uint32_t)B 5157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 5158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 5160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; ARM GAS /tmp/cc0wMqvE.s page 92 5161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_COM: 5165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA commutation callbacks */ 5167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferCpltCallback = TIMEx_DMACommutationCplt; 5168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 5169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 5171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferErrorCallback = TIM_DMAError ; 5172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 5174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_COMMUTATION], (uint32_t)&htim->Instance->DMAR, (ui 5175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 5176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 5178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 5179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_TRIGGER: 5183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA trigger callbacks */ 5185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferCpltCallback = TIM_DMATriggerCplt; 5186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt; 5187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 5189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferErrorCallback = TIM_DMAError ; 5190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 5192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_TRIGGER], (uint32_t)&htim->Instance->DMAR, (uint32 5193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 5194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 5196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 5197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 5201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 5202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 5206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the DMA Burst Mode */ 5208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->DCR = (BurstBaseAddress | BurstLength); 5209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM DMA Request */ 5211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, BurstRequestSrc); 5212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 5215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 5216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 93 5218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 5219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stop the DMA burst reading 5220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 5221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstRequestSrc TIM DMA Request sources to disable. 5222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 5223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_DMABurst_ReadStop(TIM_HandleTypeDef *htim, uint32_t BurstRequestSrc) 5225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 5227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_SOURCE(BurstRequestSrc)); 5230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Abort the DMA transfer (at least disable the DMA channel) */ 5232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (BurstRequestSrc) 5233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_UPDATE: 5235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_UPDATE]); 5237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC1: 5240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 5242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC2: 5245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 5247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC3: 5250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 5252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC4: 5255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 5257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_COM: 5260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_COMMUTATION]); 5262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_TRIGGER: 5265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_TRIGGER]); 5267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 5270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 5271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) ARM GAS /tmp/cc0wMqvE.s page 94 5275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Update DMA request */ 5277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, BurstRequestSrc); 5278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the DMA burst operation state */ 5280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY; 5281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 5284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 5285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 5288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Generate a software event 5289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 5290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param EventSource specifies the event source. 5291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 5292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_UPDATE: Timer update Event source 5293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_CC1: Timer Capture Compare 1 Event source 5294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_CC2: Timer Capture Compare 2 Event source 5295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_CC3: Timer Capture Compare 3 Event source 5296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_CC4: Timer Capture Compare 4 Event source 5297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_COM: Timer COM event source 5298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_TRIGGER: Timer Trigger Event source 5299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_BREAK: Timer Break event source 5300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_BREAK2: Timer Break2 event source 5301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note Basic timers can only generate an update event. 5302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note TIM_EVENTSOURCE_COM is relevant only with advanced timer instances. 5303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note TIM_EVENTSOURCE_BREAK and TIM_EVENTSOURCE_BREAK2 are relevant 5304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * only for timer instances supporting break input(s). 5305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 5306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_GenerateEvent(TIM_HandleTypeDef *htim, uint32_t EventSource) 5309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 5312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_EVENT_SOURCE(EventSource)); 5313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Process Locked */ 5315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_LOCK(htim); 5316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the TIM state */ 5318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 5319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the event sources */ 5321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->EGR = EventSource; 5322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the TIM state */ 5324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 5325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 5327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 5329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 5330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 95 5332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 5333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configures the OCRef clear feature 5334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 5335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param sClearInputConfig pointer to a TIM_ClearInputConfigTypeDef structure that 5336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * contains the OCREF clear feature and parameters for the TIM peripheral. 5337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel specifies the TIM Channel 5338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 5339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 5340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 5341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 5342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 5343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_5: TIM Channel 5 5344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_6: TIM Channel 6 5345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 5346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_ConfigOCrefClear(TIM_HandleTypeDef *htim, 5348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ClearInputConfigTypeDef *sClearInputConfig, 5349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t Channel) 5350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 5352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCXREF_CLEAR_INSTANCE(htim->Instance)); 5355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLEARINPUT_SOURCE(sClearInputConfig->ClearInputSource)); 5356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Process Locked */ 5358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_LOCK(htim); 5359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 5361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (sClearInputConfig->ClearInputSource) 5363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLEARINPUTSOURCE_NONE: 5365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Clear the OCREF clear selection bit and the the ETR Bits */ 5367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_OCCS_INSTANCE(htim->Instance)) 5368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** CLEAR_BIT(htim->Instance->SMCR, (TIM_SMCR_OCCS | TIM_SMCR_ETF | TIM_SMCR_ETPS | TIM_SMCR_EC 5370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Clear TIMx_AF2_OCRSEL (reset value) */ 5372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** CLEAR_BIT(htim->Instance->AF2, TIMx_AF2_OCRSEL); 5373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 5375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** CLEAR_BIT(htim->Instance->SMCR, (TIM_SMCR_ETF | TIM_SMCR_ETPS | TIM_SMCR_ECE | TIM_SMCR_ETP 5377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLEARINPUTSOURCE_COMP1: 5382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLEARINPUTSOURCE_COMP2: 5383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLEARINPUTSOURCE_COMP3: 5384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLEARINPUTSOURCE_COMP4: 5385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if defined (COMP5) 5386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLEARINPUTSOURCE_COMP5: 5387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* COMP5 */ 5388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if defined (COMP6) ARM GAS /tmp/cc0wMqvE.s page 96 5389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLEARINPUTSOURCE_COMP6: 5390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* COMP6 */ 5391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if defined (COMP7) 5392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLEARINPUTSOURCE_COMP7: 5393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* COMP7 */ 5394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_OCCS_INSTANCE(htim->Instance)) 5396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Clear the OCREF clear selection bit */ 5398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** CLEAR_BIT(htim->Instance->SMCR, TIM_SMCR_OCCS); 5399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Clear TIM1_AF2_OCRSEL (reset value) */ 5401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** MODIFY_REG(htim->Instance->AF2, TIMx_AF2_OCRSEL, sClearInputConfig->ClearInputSource); 5402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLEARINPUTSOURCE_ETR: 5407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLEARINPUT_POLARITY(sClearInputConfig->ClearInputPolarity)); 5410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLEARINPUT_PRESCALER(sClearInputConfig->ClearInputPrescaler)); 5411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLEARINPUT_FILTER(sClearInputConfig->ClearInputFilter)); 5412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* When OCRef clear feature is used with ETR source, ETR prescaler must be off */ 5414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (sClearInputConfig->ClearInputPrescaler != TIM_CLEARINPUTPRESCALER_DIV1) 5415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 5417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 5418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 5419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ETR_SetConfig(htim->Instance, 5422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClearInputConfig->ClearInputPrescaler, 5423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClearInputConfig->ClearInputPolarity, 5424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClearInputConfig->ClearInputFilter); 5425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_OCCS_INSTANCE(htim->Instance)) 5427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the OCREF clear selection bit */ 5429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** SET_BIT(htim->Instance->SMCR, TIM_SMCR_OCCS); 5430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Clear TIMx_AF2_OCRSEL (reset value) */ 5432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** CLEAR_BIT(htim->Instance->AF2, TIMx_AF2_OCRSEL); 5433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 5438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 5439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 5443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 5445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 97 5446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 5447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (sClearInputConfig->ClearInputState != (uint32_t)DISABLE) 5449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the OCREF clear feature for Channel 1 */ 5451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** SET_BIT(htim->Instance->CCMR1, TIM_CCMR1_OC1CE); 5452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 5454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the OCREF clear feature for Channel 1 */ 5456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** CLEAR_BIT(htim->Instance->CCMR1, TIM_CCMR1_OC1CE); 5457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 5461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (sClearInputConfig->ClearInputState != (uint32_t)DISABLE) 5463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the OCREF clear feature for Channel 2 */ 5465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** SET_BIT(htim->Instance->CCMR1, TIM_CCMR1_OC2CE); 5466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 5468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the OCREF clear feature for Channel 2 */ 5470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** CLEAR_BIT(htim->Instance->CCMR1, TIM_CCMR1_OC2CE); 5471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 5475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (sClearInputConfig->ClearInputState != (uint32_t)DISABLE) 5477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the OCREF clear feature for Channel 3 */ 5479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** SET_BIT(htim->Instance->CCMR2, TIM_CCMR2_OC3CE); 5480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 5482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the OCREF clear feature for Channel 3 */ 5484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** CLEAR_BIT(htim->Instance->CCMR2, TIM_CCMR2_OC3CE); 5485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 5489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (sClearInputConfig->ClearInputState != (uint32_t)DISABLE) 5491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the OCREF clear feature for Channel 4 */ 5493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** SET_BIT(htim->Instance->CCMR2, TIM_CCMR2_OC4CE); 5494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 5496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the OCREF clear feature for Channel 4 */ 5498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** CLEAR_BIT(htim->Instance->CCMR2, TIM_CCMR2_OC4CE); 5499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_5: ARM GAS /tmp/cc0wMqvE.s page 98 5503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (sClearInputConfig->ClearInputState != (uint32_t)DISABLE) 5505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the OCREF clear feature for Channel 5 */ 5507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** SET_BIT(htim->Instance->CCMR3, TIM_CCMR3_OC5CE); 5508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 5510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the OCREF clear feature for Channel 5 */ 5512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** CLEAR_BIT(htim->Instance->CCMR3, TIM_CCMR3_OC5CE); 5513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_6: 5517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (sClearInputConfig->ClearInputState != (uint32_t)DISABLE) 5519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the OCREF clear feature for Channel 6 */ 5521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** SET_BIT(htim->Instance->CCMR3, TIM_CCMR3_OC6CE); 5522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 5524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the OCREF clear feature for Channel 6 */ 5526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** CLEAR_BIT(htim->Instance->CCMR3, TIM_CCMR3_OC6CE); 5527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 5531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 5536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 5538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 5540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 5543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configures the clock source to be used 5544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 5545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param sClockSourceConfig pointer to a TIM_ClockConfigTypeDef structure that 5546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * contains the clock source information for the TIM peripheral. 5547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 5548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_ConfigClockSource(TIM_HandleTypeDef *htim, TIM_ClockConfigTypeDef *sClock 5550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 5552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 5553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Process Locked */ 5555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_LOCK(htim); 5556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 5558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ ARM GAS /tmp/cc0wMqvE.s page 99 5560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKSOURCE(sClockSourceConfig->ClockSource)); 5561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the SMS, TS, ECE, ETPS and ETRF bits */ 5563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR; 5564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr &= ~(TIM_SMCR_SMS | TIM_SMCR_TS); 5565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr &= ~(TIM_SMCR_ETF | TIM_SMCR_ETPS | TIM_SMCR_ECE | TIM_SMCR_ETP); 5566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR = tmpsmcr; 5567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (sClockSourceConfig->ClockSource) 5569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_INTERNAL: 5571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 5573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ETRMODE1: 5577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check whether or not the timer instance supports external trigger input mode 1 (ETRF)*/ 5579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKSOURCE_ETRMODE1_INSTANCE(htim->Instance)); 5580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check ETR input conditioning related parameters */ 5582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKPRESCALER(sClockSourceConfig->ClockPrescaler)); 5583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKPOLARITY(sClockSourceConfig->ClockPolarity)); 5584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); 5585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the ETR Clock source */ 5587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ETR_SetConfig(htim->Instance, 5588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 5589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 5590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockFilter); 5591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the External clock mode1 and the ETRF trigger */ 5593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR; 5594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr |= (TIM_SLAVEMODE_EXTERNAL1 | TIM_CLOCKSOURCE_ETRMODE1); 5595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx SMCR */ 5596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR = tmpsmcr; 5597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ETRMODE2: 5601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check whether or not the timer instance supports external trigger input mode 2 (ETRF)*/ 5603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKSOURCE_ETRMODE2_INSTANCE(htim->Instance)); 5604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check ETR input conditioning related parameters */ 5606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKPRESCALER(sClockSourceConfig->ClockPrescaler)); 5607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKPOLARITY(sClockSourceConfig->ClockPolarity)); 5608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); 5609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the ETR Clock source */ 5611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ETR_SetConfig(htim->Instance, 5612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 5613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 5614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockFilter); 5615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the External clock mode2 */ 5616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SMCR_ECE; ARM GAS /tmp/cc0wMqvE.s page 100 5617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_TI1: 5621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check whether or not the timer instance supports external clock mode 1 */ 5623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKSOURCE_TIX_INSTANCE(htim->Instance)); 5624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check TI1 input conditioning related parameters */ 5626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKPOLARITY(sClockSourceConfig->ClockPolarity)); 5627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); 5628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_TI1_ConfigInputStage(htim->Instance, 5630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 5631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockFilter); 5632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ITRx_SetConfig(htim->Instance, TIM_CLOCKSOURCE_TI1); 5633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_TI2: 5637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check whether or not the timer instance supports external clock mode 1 (ETRF)*/ 5639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKSOURCE_TIX_INSTANCE(htim->Instance)); 5640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check TI2 input conditioning related parameters */ 5642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKPOLARITY(sClockSourceConfig->ClockPolarity)); 5643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); 5644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_TI2_ConfigInputStage(htim->Instance, 5646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 5647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockFilter); 5648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ITRx_SetConfig(htim->Instance, TIM_CLOCKSOURCE_TI2); 5649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_TI1ED: 5653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check whether or not the timer instance supports external clock mode 1 */ 5655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKSOURCE_TIX_INSTANCE(htim->Instance)); 5656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check TI1 input conditioning related parameters */ 5658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKPOLARITY(sClockSourceConfig->ClockPolarity)); 5659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); 5660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_TI1_ConfigInputStage(htim->Instance, 5662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 5663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockFilter); 5664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ITRx_SetConfig(htim->Instance, TIM_CLOCKSOURCE_TI1ED); 5665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR0: 5669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR1: 5670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR2: 5671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR3: 5672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if defined (TIM5) 5673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR4: ARM GAS /tmp/cc0wMqvE.s page 101 5674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* TIM5 */ 5675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR5: 5676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR6: 5677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR7: 5678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR8: 5679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if defined (TIM20) 5680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR9: 5681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* TIM20 */ 5682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if defined (HRTIM1) 5683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR10: 5684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* HRTIM1 */ 5685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR11: 5686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check whether or not the timer instance supports internal trigger input */ 5688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKSOURCE_INSTANCE((htim->Instance), sClockSourceConfig->ClockSource)); 5689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ITRx_SetConfig(htim->Instance, sClockSourceConfig->ClockSource); 5691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 5695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 5696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 5699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 5701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 5703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 5706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Selects the signal connected to the TI1 input: direct from CH1_input 5707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * or a XOR combination between CH1_input, CH2_input & CH3_input 5708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle. 5709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TI1_Selection Indicate whether or not channel 1 is connected to the 5710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * output of a XOR gate. 5711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 5712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TI1SELECTION_CH1: The TIMx_CH1 pin is connected to TI1 input 5713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TI1SELECTION_XORCOMBINATION: The TIMx_CH1, CH2 and CH3 5714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * pins are connected to the TI1 input (XOR combination) 5715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 5716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_ConfigTI1Input(TIM_HandleTypeDef *htim, uint32_t TI1_Selection) 5718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpcr2; 5720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_XOR_INSTANCE(htim->Instance)); 5723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TI1SELECTION(TI1_Selection)); 5724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CR2 register value */ 5726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 = htim->Instance->CR2; 5727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the TI1 selection */ 5729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_TI1S; 5730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 102 5731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TI1 selection */ 5732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 |= TI1_Selection; 5733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMxCR2 */ 5735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CR2 = tmpcr2; 5736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 5738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 5741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configures the TIM in Slave mode 5742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle. 5743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param sSlaveConfig pointer to a TIM_SlaveConfigTypeDef structure that 5744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * contains the selected trigger (internal trigger input, filtered 5745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * timer input or external trigger input) and the Slave mode 5746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * (Disable, Reset, Gated, Trigger, External clock mode 1, Reset + Trigger, Gated + Reset) 5747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 5748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro(TIM_HandleTypeDef *htim, TIM_SlaveConfigTypeDef *sSlav 5750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_SLAVE_INSTANCE(htim->Instance)); 5753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_SLAVE_MODE(sSlaveConfig->SlaveMode)); 5754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGER_INSTANCE(htim->Instance, sSlaveConfig->InputTrigger)); 5755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_LOCK(htim); 5757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 5759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (TIM_SlaveTimer_SetConfig(htim, sSlaveConfig) != HAL_OK) 5761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 5763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 5764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 5765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable Trigger Interrupt */ 5768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_TRIGGER); 5769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable Trigger DMA request */ 5771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_TRIGGER); 5772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 5774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 5776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 5778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 5781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configures the TIM in Slave mode in interrupt mode 5782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle. 5783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param sSlaveConfig pointer to a TIM_SlaveConfigTypeDef structure that 5784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * contains the selected trigger (internal trigger input, filtered 5785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * timer input or external trigger input) and the Slave mode 5786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * (Disable, Reset, Gated, Trigger, External clock mode 1, Reset + Trigger, Gated + Reset) 5787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status ARM GAS /tmp/cc0wMqvE.s page 103 5788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro_IT(TIM_HandleTypeDef *htim, 5790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_SlaveConfigTypeDef *sSlaveConfig) 5791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_SLAVE_INSTANCE(htim->Instance)); 5794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_SLAVE_MODE(sSlaveConfig->SlaveMode)); 5795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGER_INSTANCE(htim->Instance, sSlaveConfig->InputTrigger)); 5796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_LOCK(htim); 5798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 5800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (TIM_SlaveTimer_SetConfig(htim, sSlaveConfig) != HAL_OK) 5802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 5804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 5805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 5806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable Trigger Interrupt */ 5809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_TRIGGER); 5810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable Trigger DMA request */ 5812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_TRIGGER); 5813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 5815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 5817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 5819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 5822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Read the captured value from Capture Compare unit 5823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle. 5824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be enabled 5825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 5826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 5827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 5828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 5829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 5830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval Captured value 5831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t HAL_TIM_ReadCapturedValue(TIM_HandleTypeDef *htim, uint32_t Channel) 5833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpreg = 0U; 5835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 5837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 5839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(htim->Instance)); 5842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return the capture 1 value */ 5844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpreg = htim->Instance->CCR1; ARM GAS /tmp/cc0wMqvE.s page 104 5845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 5849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC2_INSTANCE(htim->Instance)); 5852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return the capture 2 value */ 5854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpreg = htim->Instance->CCR2; 5855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 5860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC3_INSTANCE(htim->Instance)); 5863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return the capture 3 value */ 5865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpreg = htim->Instance->CCR3; 5866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 5871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC4_INSTANCE(htim->Instance)); 5874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return the capture 4 value */ 5876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpreg = htim->Instance->CCR4; 5877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 5882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return tmpreg; 5886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 5889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @} 5890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group9 TIM Callbacks functions 5893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM Callbacks functions 5894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * 5895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @verbatim 5896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 5897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ##### TIM Callbacks functions ##### 5898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 5899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 5900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** This section provides TIM callback functions: 5901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) TIM Period elapsed callback ARM GAS /tmp/cc0wMqvE.s page 105 5902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) TIM Output Compare callback 5903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) TIM Input capture callback 5904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) TIM Trigger callback 5905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) TIM Error callback 5906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) TIM Index callback 5907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) TIM Direction change callback 5908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) TIM Index error callback 5909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) TIM Transition error callback 5910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @endverbatim 5912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @{ 5913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 5916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Period elapsed callback in non-blocking mode 5917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 5918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 5919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) 5921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 5923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 5924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 5926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_PeriodElapsedCallback could be implemented in the user file 5927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 5931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Period elapsed half complete callback in non-blocking mode 5932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 5933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 5934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_PeriodElapsedHalfCpltCallback(TIM_HandleTypeDef *htim) 5936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 5938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 5939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 5941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_PeriodElapsedHalfCpltCallback could be implemented in the user file 5942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 5946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Output Compare callback in non-blocking mode 5947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM OC handle 5948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 5949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_OC_DelayElapsedCallback(TIM_HandleTypeDef *htim) 5951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 5953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 5954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 5956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_OC_DelayElapsedCallback could be implemented in the user file 5957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 106 5959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 5961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Input Capture callback in non-blocking mode 5962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM IC handle 5963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 5964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_IC_CaptureCallback(TIM_HandleTypeDef *htim) 5966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 5968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 5969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 5971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_IC_CaptureCallback could be implemented in the user file 5972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 5976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Input Capture half complete callback in non-blocking mode 5977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM IC handle 5978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 5979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_IC_CaptureHalfCpltCallback(TIM_HandleTypeDef *htim) 5981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 5983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 5984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 5986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_IC_CaptureHalfCpltCallback could be implemented in the user file 5987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 5991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief PWM Pulse finished callback in non-blocking mode 5992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 5993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 5994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_PWM_PulseFinishedCallback(TIM_HandleTypeDef *htim) 5996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 5998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 5999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 6001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_PWM_PulseFinishedCallback could be implemented in the user file 6002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief PWM Pulse finished half complete callback in non-blocking mode 6007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 6008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 6009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_PWM_PulseFinishedHalfCpltCallback(TIM_HandleTypeDef *htim) 6011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 6013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 6014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, ARM GAS /tmp/cc0wMqvE.s page 107 6016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_PWM_PulseFinishedHalfCpltCallback could be implemented in the user file 6017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Hall Trigger detection callback in non-blocking mode 6022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 6023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 6024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_TriggerCallback(TIM_HandleTypeDef *htim) 6026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 6028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 6029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 6031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_TriggerCallback could be implemented in the user file 6032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Hall Trigger detection half complete callback in non-blocking mode 6037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 6038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 6039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_TriggerHalfCpltCallback(TIM_HandleTypeDef *htim) 6041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 6043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 6044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 6046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_TriggerHalfCpltCallback could be implemented in the user file 6047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Timer error callback in non-blocking mode 6052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 6053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 6054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_ErrorCallback(TIM_HandleTypeDef *htim) 6056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 6058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 6059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 6061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_ErrorCallback could be implemented in the user file 6062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 6066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Register a User TIM callback to be used instead of the weak predefined callback 6068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim tim handle 6069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param CallbackID ID of the callback to be registered 6070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 6071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_BASE_MSPINIT_CB_ID Base MspInit Callback ID 6072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_BASE_MSPDEINIT_CB_ID Base MspDeInit Callback ID ARM GAS /tmp/cc0wMqvE.s page 108 6073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_IC_MSPINIT_CB_ID IC MspInit Callback ID 6074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_IC_MSPDEINIT_CB_ID IC MspDeInit Callback ID 6075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_OC_MSPINIT_CB_ID OC MspInit Callback ID 6076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_OC_MSPDEINIT_CB_ID OC MspDeInit Callback ID 6077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_PWM_MSPINIT_CB_ID PWM MspInit Callback ID 6078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_PWM_MSPDEINIT_CB_ID PWM MspDeInit Callback ID 6079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_ONE_PULSE_MSPINIT_CB_ID One Pulse MspInit Callback ID 6080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_ONE_PULSE_MSPDEINIT_CB_ID One Pulse MspDeInit Callback ID 6081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_ENCODER_MSPINIT_CB_ID Encoder MspInit Callback ID 6082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_ENCODER_MSPDEINIT_CB_ID Encoder MspDeInit Callback ID 6083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_HALL_SENSOR_MSPINIT_CB_ID Hall Sensor MspInit Callback ID 6084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_HALL_SENSOR_MSPDEINIT_CB_ID Hall Sensor MspDeInit Callback ID 6085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_PERIOD_ELAPSED_CB_ID Period Elapsed Callback ID 6086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_PERIOD_ELAPSED_HALF_CB_ID Period Elapsed half complete Callback ID 6087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_TRIGGER_CB_ID Trigger Callback ID 6088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_TRIGGER_HALF_CB_ID Trigger half complete Callback ID 6089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_IC_CAPTURE_CB_ID Input Capture Callback ID 6090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_IC_CAPTURE_HALF_CB_ID Input Capture half complete Callback ID 6091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_OC_DELAY_ELAPSED_CB_ID Output Compare Delay Elapsed Callback ID 6092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_PWM_PULSE_FINISHED_CB_ID PWM Pulse Finished Callback ID 6093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_PWM_PULSE_FINISHED_HALF_CB_ID PWM Pulse Finished half complete Callb 6094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_ERROR_CB_ID Error Callback ID 6095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_COMMUTATION_CB_ID Commutation Callback ID 6096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_COMMUTATION_HALF_CB_ID Commutation half complete Callback ID 6097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_BREAK_CB_ID Break Callback ID 6098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_BREAK2_CB_ID Break2 Callback ID 6099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_ENCODER_INDEX_CB_ID Encoder Index Callback ID 6100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_DIRECTION_CHANGE_CB_ID Direction Change Callback ID 6101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_INDEX_ERROR_CB_ID Index Error Callback ID 6102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_TRANSITION_ERROR_CB_ID Transition Error Callback ID 6103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param pCallback pointer to the callback function 6104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval status 6105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_RegisterCallback(TIM_HandleTypeDef *htim, HAL_TIM_CallbackIDTypeDef Callb 6107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** pTIM_CallbackTypeDef pCallback) 6108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 6110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (pCallback == NULL) 6112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 6114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Process locked */ 6116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_LOCK(htim); 6117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_READY) 6119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (CallbackID) 6121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_BASE_MSPINIT_CB_ID : 6123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Base_MspInitCallback = pCallback; 6124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_BASE_MSPDEINIT_CB_ID : 6127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Base_MspDeInitCallback = pCallback; 6128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 109 6130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_IC_MSPINIT_CB_ID : 6131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_MspInitCallback = pCallback; 6132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_IC_MSPDEINIT_CB_ID : 6135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_MspDeInitCallback = pCallback; 6136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_OC_MSPINIT_CB_ID : 6139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_MspInitCallback = pCallback; 6140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_OC_MSPDEINIT_CB_ID : 6143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_MspDeInitCallback = pCallback; 6144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_PWM_MSPINIT_CB_ID : 6147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_MspInitCallback = pCallback; 6148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_PWM_MSPDEINIT_CB_ID : 6151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_MspDeInitCallback = pCallback; 6152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ONE_PULSE_MSPINIT_CB_ID : 6155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OnePulse_MspInitCallback = pCallback; 6156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ONE_PULSE_MSPDEINIT_CB_ID : 6159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OnePulse_MspDeInitCallback = pCallback; 6160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ENCODER_MSPINIT_CB_ID : 6163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Encoder_MspInitCallback = pCallback; 6164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ENCODER_MSPDEINIT_CB_ID : 6167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Encoder_MspDeInitCallback = pCallback; 6168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_HALL_SENSOR_MSPINIT_CB_ID : 6171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->HallSensor_MspInitCallback = pCallback; 6172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_HALL_SENSOR_MSPDEINIT_CB_ID : 6175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->HallSensor_MspDeInitCallback = pCallback; 6176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_PERIOD_ELAPSED_CB_ID : 6179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PeriodElapsedCallback = pCallback; 6180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_PERIOD_ELAPSED_HALF_CB_ID : 6183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PeriodElapsedHalfCpltCallback = pCallback; 6184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_TRIGGER_CB_ID : ARM GAS /tmp/cc0wMqvE.s page 110 6187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->TriggerCallback = pCallback; 6188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_TRIGGER_HALF_CB_ID : 6191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->TriggerHalfCpltCallback = pCallback; 6192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_IC_CAPTURE_CB_ID : 6195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_CaptureCallback = pCallback; 6196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_IC_CAPTURE_HALF_CB_ID : 6199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_CaptureHalfCpltCallback = pCallback; 6200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_OC_DELAY_ELAPSED_CB_ID : 6203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_DelayElapsedCallback = pCallback; 6204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_PWM_PULSE_FINISHED_CB_ID : 6207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_PulseFinishedCallback = pCallback; 6208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_PWM_PULSE_FINISHED_HALF_CB_ID : 6211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_PulseFinishedHalfCpltCallback = pCallback; 6212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ERROR_CB_ID : 6215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->ErrorCallback = pCallback; 6216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_COMMUTATION_CB_ID : 6219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->CommutationCallback = pCallback; 6220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_COMMUTATION_HALF_CB_ID : 6223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->CommutationHalfCpltCallback = pCallback; 6224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_BREAK_CB_ID : 6227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->BreakCallback = pCallback; 6228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_BREAK2_CB_ID : 6231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Break2Callback = pCallback; 6232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ENCODER_INDEX_CB_ID : 6235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->EncoderIndexCallback = pCallback; 6236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_DIRECTION_CHANGE_CB_ID : 6239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DirectionChangeCallback = pCallback; 6240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_INDEX_ERROR_CB_ID : 6243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IndexErrorCallback = pCallback; ARM GAS /tmp/cc0wMqvE.s page 111 6244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_TRANSITION_ERROR_CB_ID : 6247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->TransitionErrorCallback = pCallback; 6248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default : 6251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 6252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 6253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (htim->State == HAL_TIM_STATE_RESET) 6257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (CallbackID) 6259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_BASE_MSPINIT_CB_ID : 6261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Base_MspInitCallback = pCallback; 6262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_BASE_MSPDEINIT_CB_ID : 6265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Base_MspDeInitCallback = pCallback; 6266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_IC_MSPINIT_CB_ID : 6269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_MspInitCallback = pCallback; 6270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_IC_MSPDEINIT_CB_ID : 6273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_MspDeInitCallback = pCallback; 6274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_OC_MSPINIT_CB_ID : 6277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_MspInitCallback = pCallback; 6278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_OC_MSPDEINIT_CB_ID : 6281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_MspDeInitCallback = pCallback; 6282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_PWM_MSPINIT_CB_ID : 6285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_MspInitCallback = pCallback; 6286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_PWM_MSPDEINIT_CB_ID : 6289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_MspDeInitCallback = pCallback; 6290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ONE_PULSE_MSPINIT_CB_ID : 6293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OnePulse_MspInitCallback = pCallback; 6294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ONE_PULSE_MSPDEINIT_CB_ID : 6297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OnePulse_MspDeInitCallback = pCallback; 6298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ENCODER_MSPINIT_CB_ID : ARM GAS /tmp/cc0wMqvE.s page 112 6301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Encoder_MspInitCallback = pCallback; 6302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ENCODER_MSPDEINIT_CB_ID : 6305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Encoder_MspDeInitCallback = pCallback; 6306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_HALL_SENSOR_MSPINIT_CB_ID : 6309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->HallSensor_MspInitCallback = pCallback; 6310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_HALL_SENSOR_MSPDEINIT_CB_ID : 6313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->HallSensor_MspDeInitCallback = pCallback; 6314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default : 6317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 6318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 6319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 6323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 6325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 6326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Release Lock */ 6329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 6330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 6332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Unregister a TIM callback 6336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * TIM callback is redirected to the weak predefined callback 6337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim tim handle 6338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param CallbackID ID of the callback to be unregistered 6339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 6340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_BASE_MSPINIT_CB_ID Base MspInit Callback ID 6341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_BASE_MSPDEINIT_CB_ID Base MspDeInit Callback ID 6342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_IC_MSPINIT_CB_ID IC MspInit Callback ID 6343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_IC_MSPDEINIT_CB_ID IC MspDeInit Callback ID 6344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_OC_MSPINIT_CB_ID OC MspInit Callback ID 6345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_OC_MSPDEINIT_CB_ID OC MspDeInit Callback ID 6346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_PWM_MSPINIT_CB_ID PWM MspInit Callback ID 6347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_PWM_MSPDEINIT_CB_ID PWM MspDeInit Callback ID 6348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_ONE_PULSE_MSPINIT_CB_ID One Pulse MspInit Callback ID 6349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_ONE_PULSE_MSPDEINIT_CB_ID One Pulse MspDeInit Callback ID 6350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_ENCODER_MSPINIT_CB_ID Encoder MspInit Callback ID 6351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_ENCODER_MSPDEINIT_CB_ID Encoder MspDeInit Callback ID 6352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_HALL_SENSOR_MSPINIT_CB_ID Hall Sensor MspInit Callback ID 6353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_HALL_SENSOR_MSPDEINIT_CB_ID Hall Sensor MspDeInit Callback ID 6354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_PERIOD_ELAPSED_CB_ID Period Elapsed Callback ID 6355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_PERIOD_ELAPSED_HALF_CB_ID Period Elapsed half complete Callback ID 6356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_TRIGGER_CB_ID Trigger Callback ID 6357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_TRIGGER_HALF_CB_ID Trigger half complete Callback ID ARM GAS /tmp/cc0wMqvE.s page 113 6358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_IC_CAPTURE_CB_ID Input Capture Callback ID 6359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_IC_CAPTURE_HALF_CB_ID Input Capture half complete Callback ID 6360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_OC_DELAY_ELAPSED_CB_ID Output Compare Delay Elapsed Callback ID 6361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_PWM_PULSE_FINISHED_CB_ID PWM Pulse Finished Callback ID 6362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_PWM_PULSE_FINISHED_HALF_CB_ID PWM Pulse Finished half complete Callb 6363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_ERROR_CB_ID Error Callback ID 6364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_COMMUTATION_CB_ID Commutation Callback ID 6365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_COMMUTATION_HALF_CB_ID Commutation half complete Callback ID 6366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_BREAK_CB_ID Break Callback ID 6367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_BREAK2_CB_ID Break2 Callback ID 6368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_ENCODER_INDEX_CB_ID Encoder Index Callback ID 6369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_DIRECTION_CHANGE_CB_ID Direction Change Callback ID 6370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_INDEX_ERROR_CB_ID Index Error Callback ID 6371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_TRANSITION_ERROR_CB_ID Transition Error Callback ID 6372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval status 6373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_UnRegisterCallback(TIM_HandleTypeDef *htim, HAL_TIM_CallbackIDTypeDef Cal 6375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 6377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Process locked */ 6379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_LOCK(htim); 6380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_READY) 6382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (CallbackID) 6384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_BASE_MSPINIT_CB_ID : 6386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Base MspInit Callback */ 6387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Base_MspInitCallback = HAL_TIM_Base_MspInit; 6388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_BASE_MSPDEINIT_CB_ID : 6391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Base Msp DeInit Callback */ 6392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Base_MspDeInitCallback = HAL_TIM_Base_MspDeInit; 6393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_IC_MSPINIT_CB_ID : 6396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak IC Msp Init Callback */ 6397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_MspInitCallback = HAL_TIM_IC_MspInit; 6398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_IC_MSPDEINIT_CB_ID : 6401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak IC Msp DeInit Callback */ 6402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_MspDeInitCallback = HAL_TIM_IC_MspDeInit; 6403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_OC_MSPINIT_CB_ID : 6406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak OC Msp Init Callback */ 6407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_MspInitCallback = HAL_TIM_OC_MspInit; 6408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_OC_MSPDEINIT_CB_ID : 6411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak OC Msp DeInit Callback */ 6412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_MspDeInitCallback = HAL_TIM_OC_MspDeInit; 6413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 114 6415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_PWM_MSPINIT_CB_ID : 6416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak PWM Msp Init Callback */ 6417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_MspInitCallback = HAL_TIM_PWM_MspInit; 6418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_PWM_MSPDEINIT_CB_ID : 6421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak PWM Msp DeInit Callback */ 6422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_MspDeInitCallback = HAL_TIM_PWM_MspDeInit; 6423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ONE_PULSE_MSPINIT_CB_ID : 6426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak One Pulse Msp Init Callback */ 6427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OnePulse_MspInitCallback = HAL_TIM_OnePulse_MspInit; 6428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ONE_PULSE_MSPDEINIT_CB_ID : 6431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak One Pulse Msp DeInit Callback */ 6432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OnePulse_MspDeInitCallback = HAL_TIM_OnePulse_MspDeInit; 6433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ENCODER_MSPINIT_CB_ID : 6436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Encoder Msp Init Callback */ 6437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Encoder_MspInitCallback = HAL_TIM_Encoder_MspInit; 6438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ENCODER_MSPDEINIT_CB_ID : 6441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Encoder Msp DeInit Callback */ 6442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Encoder_MspDeInitCallback = HAL_TIM_Encoder_MspDeInit; 6443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_HALL_SENSOR_MSPINIT_CB_ID : 6446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Hall Sensor Msp Init Callback */ 6447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->HallSensor_MspInitCallback = HAL_TIMEx_HallSensor_MspInit; 6448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_HALL_SENSOR_MSPDEINIT_CB_ID : 6451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Hall Sensor Msp DeInit Callback */ 6452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->HallSensor_MspDeInitCallback = HAL_TIMEx_HallSensor_MspDeInit; 6453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_PERIOD_ELAPSED_CB_ID : 6456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Period Elapsed Callback */ 6457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PeriodElapsedCallback = HAL_TIM_PeriodElapsedCallback; 6458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_PERIOD_ELAPSED_HALF_CB_ID : 6461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Period Elapsed half complete Callback */ 6462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PeriodElapsedHalfCpltCallback = HAL_TIM_PeriodElapsedHalfCpltCallback; 6463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_TRIGGER_CB_ID : 6466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Trigger Callback */ 6467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->TriggerCallback = HAL_TIM_TriggerCallback; 6468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_TRIGGER_HALF_CB_ID : 6471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Trigger half complete Callback */ ARM GAS /tmp/cc0wMqvE.s page 115 6472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->TriggerHalfCpltCallback = HAL_TIM_TriggerHalfCpltCallback; 6473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_IC_CAPTURE_CB_ID : 6476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak IC Capture Callback */ 6477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_CaptureCallback = HAL_TIM_IC_CaptureCallback; 6478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_IC_CAPTURE_HALF_CB_ID : 6481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak IC Capture half complete Callback */ 6482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_CaptureHalfCpltCallback = HAL_TIM_IC_CaptureHalfCpltCallback; 6483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_OC_DELAY_ELAPSED_CB_ID : 6486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak OC Delay Elapsed Callback */ 6487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_DelayElapsedCallback = HAL_TIM_OC_DelayElapsedCallback; 6488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_PWM_PULSE_FINISHED_CB_ID : 6491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak PWM Pulse Finished Callback */ 6492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_PulseFinishedCallback = HAL_TIM_PWM_PulseFinishedCallback; 6493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_PWM_PULSE_FINISHED_HALF_CB_ID : 6496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak PWM Pulse Finished half complete Callback */ 6497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_PulseFinishedHalfCpltCallback = HAL_TIM_PWM_PulseFinishedHalfCpltCallback; 6498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ERROR_CB_ID : 6501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Error Callback */ 6502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->ErrorCallback = HAL_TIM_ErrorCallback; 6503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_COMMUTATION_CB_ID : 6506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Commutation Callback */ 6507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->CommutationCallback = HAL_TIMEx_CommutCallback; 6508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_COMMUTATION_HALF_CB_ID : 6511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Commutation half complete Callback */ 6512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->CommutationHalfCpltCallback = HAL_TIMEx_CommutHalfCpltCallback; 6513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_BREAK_CB_ID : 6516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Break Callback */ 6517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->BreakCallback = HAL_TIMEx_BreakCallback; 6518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_BREAK2_CB_ID : 6521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Break2 Callback */ 6522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Break2Callback = HAL_TIMEx_Break2Callback; 6523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ENCODER_INDEX_CB_ID : 6526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Encoder Index Callback */ 6527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->EncoderIndexCallback = HAL_TIMEx_EncoderIndexCallback; 6528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; ARM GAS /tmp/cc0wMqvE.s page 116 6529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_DIRECTION_CHANGE_CB_ID : 6531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Direction Change Callback */ 6532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DirectionChangeCallback = HAL_TIMEx_DirectionChangeCallback; 6533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_INDEX_ERROR_CB_ID : 6536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Index Error Callback */ 6537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IndexErrorCallback = HAL_TIMEx_IndexErrorCallback; 6538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_TRANSITION_ERROR_CB_ID : 6541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Transition Error Callback */ 6542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->TransitionErrorCallback = HAL_TIMEx_TransitionErrorCallback; 6543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default : 6546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 6547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 6548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (htim->State == HAL_TIM_STATE_RESET) 6552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (CallbackID) 6554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_BASE_MSPINIT_CB_ID : 6556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Base MspInit Callback */ 6557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Base_MspInitCallback = HAL_TIM_Base_MspInit; 6558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_BASE_MSPDEINIT_CB_ID : 6561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Base Msp DeInit Callback */ 6562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Base_MspDeInitCallback = HAL_TIM_Base_MspDeInit; 6563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_IC_MSPINIT_CB_ID : 6566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak IC Msp Init Callback */ 6567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_MspInitCallback = HAL_TIM_IC_MspInit; 6568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_IC_MSPDEINIT_CB_ID : 6571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak IC Msp DeInit Callback */ 6572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_MspDeInitCallback = HAL_TIM_IC_MspDeInit; 6573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_OC_MSPINIT_CB_ID : 6576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak OC Msp Init Callback */ 6577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_MspInitCallback = HAL_TIM_OC_MspInit; 6578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_OC_MSPDEINIT_CB_ID : 6581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak OC Msp DeInit Callback */ 6582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_MspDeInitCallback = HAL_TIM_OC_MspDeInit; 6583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_PWM_MSPINIT_CB_ID : ARM GAS /tmp/cc0wMqvE.s page 117 6586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak PWM Msp Init Callback */ 6587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_MspInitCallback = HAL_TIM_PWM_MspInit; 6588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_PWM_MSPDEINIT_CB_ID : 6591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak PWM Msp DeInit Callback */ 6592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_MspDeInitCallback = HAL_TIM_PWM_MspDeInit; 6593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ONE_PULSE_MSPINIT_CB_ID : 6596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak One Pulse Msp Init Callback */ 6597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OnePulse_MspInitCallback = HAL_TIM_OnePulse_MspInit; 6598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ONE_PULSE_MSPDEINIT_CB_ID : 6601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak One Pulse Msp DeInit Callback */ 6602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OnePulse_MspDeInitCallback = HAL_TIM_OnePulse_MspDeInit; 6603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ENCODER_MSPINIT_CB_ID : 6606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Encoder Msp Init Callback */ 6607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Encoder_MspInitCallback = HAL_TIM_Encoder_MspInit; 6608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ENCODER_MSPDEINIT_CB_ID : 6611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Encoder Msp DeInit Callback */ 6612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Encoder_MspDeInitCallback = HAL_TIM_Encoder_MspDeInit; 6613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_HALL_SENSOR_MSPINIT_CB_ID : 6616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Hall Sensor Msp Init Callback */ 6617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->HallSensor_MspInitCallback = HAL_TIMEx_HallSensor_MspInit; 6618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_HALL_SENSOR_MSPDEINIT_CB_ID : 6621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Hall Sensor Msp DeInit Callback */ 6622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->HallSensor_MspDeInitCallback = HAL_TIMEx_HallSensor_MspDeInit; 6623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default : 6626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 6627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 6628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 6632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 6634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 6635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Release Lock */ 6638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 6639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 6641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ ARM GAS /tmp/cc0wMqvE.s page 118 6643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @} 6646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group10 TIM Peripheral State functions 6649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM Peripheral State functions 6650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * 6651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @verbatim 6652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 6653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ##### Peripheral State functions ##### 6654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 6655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 6656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** This subsection permits to get in run-time the status of the peripheral 6657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** and the data flow. 6658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @endverbatim 6660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @{ 6661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Return the TIM Base handle state. 6665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Base handle 6666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL state 6667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_StateTypeDef HAL_TIM_Base_GetState(TIM_HandleTypeDef *htim) 6669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 6671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Return the TIM OC handle state. 6675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Output Compare handle 6676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL state 6677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_StateTypeDef HAL_TIM_OC_GetState(TIM_HandleTypeDef *htim) 6679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 6681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Return the TIM PWM handle state. 6685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 6686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL state 6687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_StateTypeDef HAL_TIM_PWM_GetState(TIM_HandleTypeDef *htim) 6689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 6691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Return the TIM Input Capture handle state. 6695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM IC handle 6696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL state 6697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_StateTypeDef HAL_TIM_IC_GetState(TIM_HandleTypeDef *htim) 6699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 119 6700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 6701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Return the TIM One Pulse Mode handle state. 6705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM OPM handle 6706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL state 6707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_StateTypeDef HAL_TIM_OnePulse_GetState(TIM_HandleTypeDef *htim) 6709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 6711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Return the TIM Encoder Mode handle state. 6715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Encoder Interface handle 6716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL state 6717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_StateTypeDef HAL_TIM_Encoder_GetState(TIM_HandleTypeDef *htim) 6719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 6721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Return the TIM Encoder Mode handle state. 6725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 6726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval Active channel 6727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ActiveChannel HAL_TIM_GetActiveChannel(TIM_HandleTypeDef *htim) 6729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->Channel; 6731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Return actual state of the TIM channel. 6735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 6736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channel 6737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 6738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 6739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 6740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 6741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 6742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_5: TIM Channel 5 6743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_6: TIM Channel 6 6744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval TIM Channel state 6745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef HAL_TIM_GetChannelState(TIM_HandleTypeDef *htim, uint32_t Channel) 6747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_state; 6749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 6751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); 6752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** channel_state = TIM_CHANNEL_STATE_GET(htim, Channel); 6754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return channel_state; 6756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 120 6757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Return actual state of a DMA burst operation. 6760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 6761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval DMA burst state 6762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_DMABurstStateTypeDef HAL_TIM_DMABurstState(TIM_HandleTypeDef *htim) 6764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 6766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMABURST_INSTANCE(htim->Instance)); 6767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->DMABurstState; 6769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @} 6773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @} 6777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** @defgroup TIM_Private_Functions TIM Private Functions 6780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @{ 6781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM DMA error callback 6785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param hdma pointer to DMA handle. 6786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 6787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** void TIM_DMAError(DMA_HandleTypeDef *hdma) 6789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 6791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma == htim->hdma[TIM_DMA_ID_CC1]) 6793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1; 6795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 6796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC2]) 6798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2; 6800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 6801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC3]) 6803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3; 6805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY); 6806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC4]) 6808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4; 6810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY); 6811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 6813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 121 6814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 6815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 6818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->ErrorCallback(htim); 6819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 6820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ErrorCallback(htim); 6821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; 6824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM DMA Delay Pulse complete callback. 6828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param hdma pointer to DMA handle. 6829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 6830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_DMADelayPulseCplt(DMA_HandleTypeDef *hdma) 6832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 6834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma == htim->hdma[TIM_DMA_ID_CC1]) 6836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1; 6838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma->Init.Mode == DMA_NORMAL) 6840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 6842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC2]) 6845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2; 6847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma->Init.Mode == DMA_NORMAL) 6849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 6851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC3]) 6854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3; 6856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma->Init.Mode == DMA_NORMAL) 6858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY); 6860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC4]) 6863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4; 6865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma->Init.Mode == DMA_NORMAL) 6867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY); 6869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 122 6871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 6872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* nothing to do */ 6874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 6877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_PulseFinishedCallback(htim); 6878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 6879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim); 6880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; 6883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM DMA Delay Pulse half complete callback. 6887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param hdma pointer to DMA handle. 6888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 6889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** void TIM_DMADelayPulseHalfCplt(DMA_HandleTypeDef *hdma) 6891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 6893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma == htim->hdma[TIM_DMA_ID_CC1]) 6895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1; 6897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC2]) 6899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2; 6901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC3]) 6903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3; 6905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC4]) 6907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4; 6909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 6911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* nothing to do */ 6913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 6916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_PulseFinishedHalfCpltCallback(htim); 6917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 6918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedHalfCpltCallback(htim); 6919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; 6922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM DMA Capture complete callback. 6926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param hdma pointer to DMA handle. 6927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None ARM GAS /tmp/cc0wMqvE.s page 123 6928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** void TIM_DMACaptureCplt(DMA_HandleTypeDef *hdma) 6930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 6932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma == htim->hdma[TIM_DMA_ID_CC1]) 6934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1; 6936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma->Init.Mode == DMA_NORMAL) 6938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 6940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 6941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC2]) 6944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2; 6946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma->Init.Mode == DMA_NORMAL) 6948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 6950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 6951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC3]) 6954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3; 6956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma->Init.Mode == DMA_NORMAL) 6958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY); 6960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY); 6961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC4]) 6964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4; 6966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma->Init.Mode == DMA_NORMAL) 6968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY); 6970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY); 6971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 6974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* nothing to do */ 6976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 6979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_CaptureCallback(htim); 6980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 6981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_IC_CaptureCallback(htim); 6982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; ARM GAS /tmp/cc0wMqvE.s page 124 6985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM DMA Capture half complete callback. 6989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param hdma pointer to DMA handle. 6990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 6991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** void TIM_DMACaptureHalfCplt(DMA_HandleTypeDef *hdma) 6993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 6995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma == htim->hdma[TIM_DMA_ID_CC1]) 6997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1; 6999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC2]) 7001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2; 7003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC3]) 7005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3; 7007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC4]) 7009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4; 7011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 7013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* nothing to do */ 7015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 7018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_CaptureHalfCpltCallback(htim); 7019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 7020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_IC_CaptureHalfCpltCallback(htim); 7021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 7022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; 7024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM DMA Period Elapse complete callback. 7028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param hdma pointer to DMA handle. 7029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_DMAPeriodElapsedCplt(DMA_HandleTypeDef *hdma) 7032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 7034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->hdma[TIM_DMA_ID_UPDATE]->Init.Mode == DMA_NORMAL) 7036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 7038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 7041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PeriodElapsedCallback(htim); ARM GAS /tmp/cc0wMqvE.s page 125 7042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 7043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PeriodElapsedCallback(htim); 7044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 7045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM DMA Period Elapse half complete callback. 7049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param hdma pointer to DMA handle. 7050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_DMAPeriodElapsedHalfCplt(DMA_HandleTypeDef *hdma) 7053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 7055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 7057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PeriodElapsedHalfCpltCallback(htim); 7058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 7059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PeriodElapsedHalfCpltCallback(htim); 7060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 7061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM DMA Trigger callback. 7065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param hdma pointer to DMA handle. 7066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_DMATriggerCplt(DMA_HandleTypeDef *hdma) 7069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 7071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->hdma[TIM_DMA_ID_TRIGGER]->Init.Mode == DMA_NORMAL) 7073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 7075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 7078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->TriggerCallback(htim); 7079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 7080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_TriggerCallback(htim); 7081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 7082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM DMA Trigger half complete callback. 7086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param hdma pointer to DMA handle. 7087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_DMATriggerHalfCplt(DMA_HandleTypeDef *hdma) 7090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 7092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 7094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->TriggerHalfCpltCallback(htim); 7095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 7096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_TriggerHalfCpltCallback(htim); 7097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 7098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 126 7099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Time Base configuration 7102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx TIM peripheral 7103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Structure TIM Base configuration structure 7104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** void TIM_Base_SetConfig(TIM_TypeDef *TIMx, TIM_Base_InitTypeDef *Structure) 7107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpcr1; 7109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr1 = TIMx->CR1; 7110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set TIM Time Base Unit parameters ---------------------------------------*/ 7112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_COUNTER_MODE_SELECT_INSTANCE(TIMx)) 7113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Counter Mode */ 7115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr1 &= ~(TIM_CR1_DIR | TIM_CR1_CMS); 7116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr1 |= Structure->CounterMode; 7117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_CLOCK_DIVISION_INSTANCE(TIMx)) 7120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the clock division */ 7122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr1 &= ~TIM_CR1_CKD; 7123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr1 |= (uint32_t)Structure->ClockDivision; 7124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the auto-reload preload */ 7127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** MODIFY_REG(tmpcr1, TIM_CR1_ARPE, Structure->AutoReloadPreload); 7128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CR1 = tmpcr1; 7130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Autoreload value */ 7132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->ARR = (uint32_t)Structure->Period ; 7133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Prescaler value */ 7135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->PSC = Structure->Prescaler; 7136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_REPETITION_COUNTER_INSTANCE(TIMx)) 7138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Repetition Counter value */ 7140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->RCR = Structure->RepetitionCounter; 7141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Generate an update event to reload the Prescaler 7144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** and the repetition counter (only for advanced timer) value immediately */ 7145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->EGR = TIM_EGR_UG; 7146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Timer Output Compare 1 configuration 7150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral 7151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param OC_Config The output configuration structure 7152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) 7155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 127 29 .loc 1 7155 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. 34 .loc 1 7155 1 is_stmt 0 view .LVU1 35 0000 30B4 push {r4, r5} 36 .LCFI0: 37 .cfi_def_cfa_offset 8 38 .cfi_offset 4, -8 39 .cfi_offset 5, -4 7156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmrx; 40 .loc 1 7156 3 is_stmt 1 view .LVU2 7157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 41 .loc 1 7157 3 view .LVU3 7158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpcr2; 42 .loc 1 7158 3 view .LVU4 7159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Channel 1: Reset the CC1E Bit */ 7161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC1E; 43 .loc 1 7161 3 view .LVU5 44 .loc 1 7161 7 is_stmt 0 view .LVU6 45 0002 036A ldr r3, [r0, #32] 46 .loc 1 7161 14 view .LVU7 47 0004 23F00103 bic r3, r3, #1 48 0008 0362 str r3, [r0, #32] 7162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCER register value */ 7164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 49 .loc 1 7164 3 is_stmt 1 view .LVU8 50 .loc 1 7164 11 is_stmt 0 view .LVU9 51 000a 026A ldr r2, [r0, #32] 52 .LVL1: 7165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CR2 register value */ 7166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 = TIMx->CR2; 53 .loc 1 7166 3 is_stmt 1 view .LVU10 54 .loc 1 7166 10 is_stmt 0 view .LVU11 55 000c 4468 ldr r4, [r0, #4] 56 .LVL2: 7167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCMR1 register value */ 7169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx = TIMx->CCMR1; 57 .loc 1 7169 3 is_stmt 1 view .LVU12 58 .loc 1 7169 12 is_stmt 0 view .LVU13 59 000e 8369 ldr r3, [r0, #24] 60 .LVL3: 7170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare Mode Bits */ 7172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR1_OC1M; 61 .loc 1 7172 3 is_stmt 1 view .LVU14 7173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR1_CC1S; 62 .loc 1 7173 3 view .LVU15 63 .loc 1 7173 12 is_stmt 0 view .LVU16 64 0010 23F48033 bic r3, r3, #65536 65 .LVL4: 66 .loc 1 7173 12 view .LVU17 67 0014 23F07303 bic r3, r3, #115 ARM GAS /tmp/cc0wMqvE.s page 128 68 .LVL5: 7174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Output Compare Mode */ 7175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx |= OC_Config->OCMode; 69 .loc 1 7175 3 is_stmt 1 view .LVU18 70 .loc 1 7175 24 is_stmt 0 view .LVU19 71 0018 0D68 ldr r5, [r1] 72 .loc 1 7175 12 view .LVU20 73 001a 1D43 orrs r5, r5, r3 74 .LVL6: 7176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Polarity level */ 7178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC1P; 75 .loc 1 7178 3 is_stmt 1 view .LVU21 76 .loc 1 7178 11 is_stmt 0 view .LVU22 77 001c 22F00202 bic r2, r2, #2 78 .LVL7: 7179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Compare Polarity */ 7180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= OC_Config->OCPolarity; 79 .loc 1 7180 3 is_stmt 1 view .LVU23 80 .loc 1 7180 23 is_stmt 0 view .LVU24 81 0020 8B68 ldr r3, [r1, #8] 82 .loc 1 7180 11 view .LVU25 83 0022 1343 orrs r3, r3, r2 84 .LVL8: 7181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_CCXN_INSTANCE(TIMx, TIM_CHANNEL_1)) 85 .loc 1 7182 3 is_stmt 1 view .LVU26 86 .loc 1 7182 6 is_stmt 0 view .LVU27 87 0024 1C4A ldr r2, .L7 88 0026 9042 cmp r0, r2 89 0028 0FD0 beq .L2 90 .loc 1 7182 7 discriminator 1 view .LVU28 91 002a 02F50062 add r2, r2, #2048 92 002e 9042 cmp r0, r2 93 0030 0BD0 beq .L2 94 .loc 1 7182 7 discriminator 2 view .LVU29 95 0032 02F54062 add r2, r2, #3072 96 0036 9042 cmp r0, r2 97 0038 07D0 beq .L2 98 .loc 1 7182 7 discriminator 3 view .LVU30 99 003a 02F58062 add r2, r2, #1024 100 003e 9042 cmp r0, r2 101 0040 03D0 beq .L2 102 .loc 1 7182 7 discriminator 4 view .LVU31 103 0042 02F58062 add r2, r2, #1024 104 0046 9042 cmp r0, r2 105 0048 05D1 bne .L3 106 .L2: 7183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check parameters */ 7185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); 107 .loc 1 7185 5 is_stmt 1 view .LVU32 7186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output N Polarity level */ 7188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC1NP; 108 .loc 1 7188 5 view .LVU33 109 .loc 1 7188 13 is_stmt 0 view .LVU34 ARM GAS /tmp/cc0wMqvE.s page 129 110 004a 23F00803 bic r3, r3, #8 111 .LVL9: 7189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Polarity */ 7190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= OC_Config->OCNPolarity; 112 .loc 1 7190 5 is_stmt 1 view .LVU35 113 .loc 1 7190 25 is_stmt 0 view .LVU36 114 004e CA68 ldr r2, [r1, #12] 115 .loc 1 7190 13 view .LVU37 116 0050 1A43 orrs r2, r2, r3 117 .LVL10: 7191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output N State */ 7192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC1NE; 118 .loc 1 7192 5 is_stmt 1 view .LVU38 119 .loc 1 7192 13 is_stmt 0 view .LVU39 120 0052 22F00403 bic r3, r2, #4 121 .LVL11: 122 .L3: 7193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(TIMx)) 123 .loc 1 7195 3 is_stmt 1 view .LVU40 124 .loc 1 7195 6 is_stmt 0 view .LVU41 125 0056 104A ldr r2, .L7 126 0058 9042 cmp r0, r2 127 005a 0FD0 beq .L4 128 .loc 1 7195 7 discriminator 1 view .LVU42 129 005c 02F50062 add r2, r2, #2048 130 0060 9042 cmp r0, r2 131 0062 0BD0 beq .L4 132 .loc 1 7195 7 discriminator 2 view .LVU43 133 0064 02F54062 add r2, r2, #3072 134 0068 9042 cmp r0, r2 135 006a 07D0 beq .L4 136 .loc 1 7195 7 discriminator 3 view .LVU44 137 006c 02F58062 add r2, r2, #1024 138 0070 9042 cmp r0, r2 139 0072 03D0 beq .L4 140 .loc 1 7195 7 discriminator 4 view .LVU45 141 0074 02F58062 add r2, r2, #1024 142 0078 9042 cmp r0, r2 143 007a 05D1 bne .L5 144 .L4: 7196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check parameters */ 7198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCNIDLE_STATE(OC_Config->OCNIdleState)); 145 .loc 1 7198 5 is_stmt 1 view .LVU46 7199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState)); 146 .loc 1 7199 5 view .LVU47 7200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare and Output Compare N IDLE State */ 7202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS1; 147 .loc 1 7202 5 view .LVU48 148 .LVL12: 7203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS1N; 149 .loc 1 7203 5 view .LVU49 150 .loc 1 7203 12 is_stmt 0 view .LVU50 151 007c 24F44074 bic r4, r4, #768 ARM GAS /tmp/cc0wMqvE.s page 130 152 .LVL13: 7204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Idle state */ 7205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 |= OC_Config->OCIdleState; 153 .loc 1 7205 5 is_stmt 1 view .LVU51 154 .loc 1 7205 24 is_stmt 0 view .LVU52 155 0080 4A69 ldr r2, [r1, #20] 156 .loc 1 7205 12 view .LVU53 157 0082 2243 orrs r2, r2, r4 158 .LVL14: 7206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Idle state */ 7207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 |= OC_Config->OCNIdleState; 159 .loc 1 7207 5 is_stmt 1 view .LVU54 160 .loc 1 7207 24 is_stmt 0 view .LVU55 161 0084 8C69 ldr r4, [r1, #24] 162 .loc 1 7207 12 view .LVU56 163 0086 1443 orrs r4, r4, r2 164 .LVL15: 165 .L5: 7208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CR2 */ 7211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CR2 = tmpcr2; 166 .loc 1 7211 3 is_stmt 1 view .LVU57 167 .loc 1 7211 13 is_stmt 0 view .LVU58 168 0088 4460 str r4, [r0, #4] 7212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR1 */ 7214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCMR1 = tmpccmrx; 169 .loc 1 7214 3 is_stmt 1 view .LVU59 170 .loc 1 7214 15 is_stmt 0 view .LVU60 171 008a 8561 str r5, [r0, #24] 7215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Capture Compare Register value */ 7217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCR1 = OC_Config->Pulse; 172 .loc 1 7217 3 is_stmt 1 view .LVU61 173 .loc 1 7217 25 is_stmt 0 view .LVU62 174 008c 4A68 ldr r2, [r1, #4] 175 .loc 1 7217 14 view .LVU63 176 008e 4263 str r2, [r0, #52] 7218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCER */ 7220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 177 .loc 1 7220 3 is_stmt 1 view .LVU64 178 .loc 1 7220 14 is_stmt 0 view .LVU65 179 0090 0362 str r3, [r0, #32] 7221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 180 .loc 1 7221 1 view .LVU66 181 0092 30BC pop {r4, r5} 182 .LCFI1: 183 .cfi_restore 5 184 .cfi_restore 4 185 .cfi_def_cfa_offset 0 186 .LVL16: 187 .loc 1 7221 1 view .LVU67 188 0094 7047 bx lr 189 .L8: 190 0096 00BF .align 2 ARM GAS /tmp/cc0wMqvE.s page 131 191 .L7: 192 0098 002C0140 .word 1073818624 193 .cfi_endproc 194 .LFE434: 196 .section .text.TIM_OC3_SetConfig,"ax",%progbits 197 .align 1 198 .syntax unified 199 .thumb 200 .thumb_func 202 TIM_OC3_SetConfig: 203 .LVL17: 204 .LFB436: 7222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Timer Output Compare 2 configuration 7225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral 7226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param OC_Config The output configuration structure 7227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** void TIM_OC2_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) 7230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmrx; 7232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 7233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpcr2; 7234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Channel 2: Reset the CC2E Bit */ 7236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC2E; 7237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCER register value */ 7239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 7240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CR2 register value */ 7241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 = TIMx->CR2; 7242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCMR1 register value */ 7244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx = TIMx->CCMR1; 7245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare mode and Capture/Compare selection Bits */ 7247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR1_OC2M; 7248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR1_CC2S; 7249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Output Compare Mode */ 7251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx |= (OC_Config->OCMode << 8U); 7252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Polarity level */ 7254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC2P; 7255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Compare Polarity */ 7256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (OC_Config->OCPolarity << 4U); 7257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_CCXN_INSTANCE(TIMx, TIM_CHANNEL_2)) 7259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); 7261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output N Polarity level */ 7263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC2NP; 7264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Polarity */ 7265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (OC_Config->OCNPolarity << 4U); 7266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output N State */ ARM GAS /tmp/cc0wMqvE.s page 132 7267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC2NE; 7268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(TIMx)) 7272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check parameters */ 7274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCNIDLE_STATE(OC_Config->OCNIdleState)); 7275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState)); 7276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare and Output Compare N IDLE State */ 7278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS2; 7279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS2N; 7280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Idle state */ 7281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 |= (OC_Config->OCIdleState << 2U); 7282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Idle state */ 7283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 |= (OC_Config->OCNIdleState << 2U); 7284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CR2 */ 7287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CR2 = tmpcr2; 7288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR1 */ 7290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCMR1 = tmpccmrx; 7291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Capture Compare Register value */ 7293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCR2 = OC_Config->Pulse; 7294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCER */ 7296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 7297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Timer Output Compare 3 configuration 7301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral 7302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param OC_Config The output configuration structure 7303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) 7306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 205 .loc 1 7306 1 is_stmt 1 view -0 206 .cfi_startproc 207 @ args = 0, pretend = 0, frame = 0 208 @ frame_needed = 0, uses_anonymous_args = 0 209 @ link register save eliminated. 210 .loc 1 7306 1 is_stmt 0 view .LVU69 211 0000 30B4 push {r4, r5} 212 .LCFI2: 213 .cfi_def_cfa_offset 8 214 .cfi_offset 4, -8 215 .cfi_offset 5, -4 7307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmrx; 216 .loc 1 7307 3 is_stmt 1 view .LVU70 7308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 217 .loc 1 7308 3 view .LVU71 7309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpcr2; 218 .loc 1 7309 3 view .LVU72 ARM GAS /tmp/cc0wMqvE.s page 133 7310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Channel 3: Reset the CC2E Bit */ 7312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC3E; 219 .loc 1 7312 3 view .LVU73 220 .loc 1 7312 7 is_stmt 0 view .LVU74 221 0002 036A ldr r3, [r0, #32] 222 .loc 1 7312 14 view .LVU75 223 0004 23F48073 bic r3, r3, #256 224 0008 0362 str r3, [r0, #32] 7313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCER register value */ 7315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 225 .loc 1 7315 3 is_stmt 1 view .LVU76 226 .loc 1 7315 11 is_stmt 0 view .LVU77 227 000a 036A ldr r3, [r0, #32] 228 .LVL18: 7316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CR2 register value */ 7317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 = TIMx->CR2; 229 .loc 1 7317 3 is_stmt 1 view .LVU78 230 .loc 1 7317 10 is_stmt 0 view .LVU79 231 000c 4468 ldr r4, [r0, #4] 232 .LVL19: 7318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCMR2 register value */ 7320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx = TIMx->CCMR2; 233 .loc 1 7320 3 is_stmt 1 view .LVU80 234 .loc 1 7320 12 is_stmt 0 view .LVU81 235 000e C269 ldr r2, [r0, #28] 236 .LVL20: 7321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare mode and Capture/Compare selection Bits */ 7323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR2_OC3M; 237 .loc 1 7323 3 is_stmt 1 view .LVU82 7324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR2_CC3S; 238 .loc 1 7324 3 view .LVU83 239 .loc 1 7324 12 is_stmt 0 view .LVU84 240 0010 22F48032 bic r2, r2, #65536 241 .LVL21: 242 .loc 1 7324 12 view .LVU85 243 0014 22F07302 bic r2, r2, #115 244 .LVL22: 7325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Output Compare Mode */ 7326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx |= OC_Config->OCMode; 245 .loc 1 7326 3 is_stmt 1 view .LVU86 246 .loc 1 7326 24 is_stmt 0 view .LVU87 247 0018 0D68 ldr r5, [r1] 248 .loc 1 7326 12 view .LVU88 249 001a 1543 orrs r5, r5, r2 250 .LVL23: 7327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Polarity level */ 7329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC3P; 251 .loc 1 7329 3 is_stmt 1 view .LVU89 252 .loc 1 7329 11 is_stmt 0 view .LVU90 253 001c 23F40073 bic r3, r3, #512 254 .LVL24: 7330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Compare Polarity */ ARM GAS /tmp/cc0wMqvE.s page 134 7331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (OC_Config->OCPolarity << 8U); 255 .loc 1 7331 3 is_stmt 1 view .LVU91 256 .loc 1 7331 24 is_stmt 0 view .LVU92 257 0020 8A68 ldr r2, [r1, #8] 258 .loc 1 7331 11 view .LVU93 259 0022 43EA0223 orr r3, r3, r2, lsl #8 260 .LVL25: 7332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_CCXN_INSTANCE(TIMx, TIM_CHANNEL_3)) 261 .loc 1 7333 3 is_stmt 1 view .LVU94 262 .loc 1 7333 6 is_stmt 0 view .LVU95 263 0026 184A ldr r2, .L15 264 0028 9042 cmp r0, r2 265 002a 03D0 beq .L10 266 .loc 1 7333 7 discriminator 1 view .LVU96 267 002c 02F50062 add r2, r2, #2048 268 0030 9042 cmp r0, r2 269 0032 06D1 bne .L11 270 .L10: 7334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); 271 .loc 1 7335 5 is_stmt 1 view .LVU97 7336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output N Polarity level */ 7338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC3NP; 272 .loc 1 7338 5 view .LVU98 273 .loc 1 7338 13 is_stmt 0 view .LVU99 274 0034 23F40063 bic r3, r3, #2048 275 .LVL26: 7339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Polarity */ 7340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (OC_Config->OCNPolarity << 8U); 276 .loc 1 7340 5 is_stmt 1 view .LVU100 277 .loc 1 7340 26 is_stmt 0 view .LVU101 278 0038 CA68 ldr r2, [r1, #12] 279 .loc 1 7340 13 view .LVU102 280 003a 43EA0223 orr r3, r3, r2, lsl #8 281 .LVL27: 7341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output N State */ 7342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC3NE; 282 .loc 1 7342 5 is_stmt 1 view .LVU103 283 .loc 1 7342 13 is_stmt 0 view .LVU104 284 003e 23F48063 bic r3, r3, #1024 285 .LVL28: 286 .L11: 7343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(TIMx)) 287 .loc 1 7345 3 is_stmt 1 view .LVU105 288 .loc 1 7345 6 is_stmt 0 view .LVU106 289 0042 114A ldr r2, .L15 290 0044 9042 cmp r0, r2 291 0046 0FD0 beq .L12 292 .loc 1 7345 7 discriminator 1 view .LVU107 293 0048 02F50062 add r2, r2, #2048 294 004c 9042 cmp r0, r2 295 004e 0BD0 beq .L12 296 .loc 1 7345 7 discriminator 2 view .LVU108 ARM GAS /tmp/cc0wMqvE.s page 135 297 0050 02F54062 add r2, r2, #3072 298 0054 9042 cmp r0, r2 299 0056 07D0 beq .L12 300 .loc 1 7345 7 discriminator 3 view .LVU109 301 0058 02F58062 add r2, r2, #1024 302 005c 9042 cmp r0, r2 303 005e 03D0 beq .L12 304 .loc 1 7345 7 discriminator 4 view .LVU110 305 0060 02F58062 add r2, r2, #1024 306 0064 9042 cmp r0, r2 307 0066 07D1 bne .L13 308 .L12: 7346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check parameters */ 7348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCNIDLE_STATE(OC_Config->OCNIdleState)); 309 .loc 1 7348 5 is_stmt 1 view .LVU111 7349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState)); 310 .loc 1 7349 5 view .LVU112 7350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare and Output Compare N IDLE State */ 7352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS3; 311 .loc 1 7352 5 view .LVU113 312 .LVL29: 7353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS3N; 313 .loc 1 7353 5 view .LVU114 314 .loc 1 7353 12 is_stmt 0 view .LVU115 315 0068 24F44052 bic r2, r4, #12288 316 .LVL30: 7354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Idle state */ 7355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 |= (OC_Config->OCIdleState << 4U); 317 .loc 1 7355 5 is_stmt 1 view .LVU116 318 .loc 1 7355 25 is_stmt 0 view .LVU117 319 006c 4C69 ldr r4, [r1, #20] 320 .loc 1 7355 12 view .LVU118 321 006e 42EA0412 orr r2, r2, r4, lsl #4 322 .LVL31: 7356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Idle state */ 7357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 |= (OC_Config->OCNIdleState << 4U); 323 .loc 1 7357 5 is_stmt 1 view .LVU119 324 .loc 1 7357 25 is_stmt 0 view .LVU120 325 0072 8C69 ldr r4, [r1, #24] 326 .loc 1 7357 12 view .LVU121 327 0074 42EA0414 orr r4, r2, r4, lsl #4 328 .LVL32: 329 .L13: 7358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CR2 */ 7361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CR2 = tmpcr2; 330 .loc 1 7361 3 is_stmt 1 view .LVU122 331 .loc 1 7361 13 is_stmt 0 view .LVU123 332 0078 4460 str r4, [r0, #4] 7362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR2 */ 7364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCMR2 = tmpccmrx; 333 .loc 1 7364 3 is_stmt 1 view .LVU124 334 .loc 1 7364 15 is_stmt 0 view .LVU125 ARM GAS /tmp/cc0wMqvE.s page 136 335 007a C561 str r5, [r0, #28] 7365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Capture Compare Register value */ 7367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCR3 = OC_Config->Pulse; 336 .loc 1 7367 3 is_stmt 1 view .LVU126 337 .loc 1 7367 25 is_stmt 0 view .LVU127 338 007c 4A68 ldr r2, [r1, #4] 339 .loc 1 7367 14 view .LVU128 340 007e C263 str r2, [r0, #60] 7368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCER */ 7370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 341 .loc 1 7370 3 is_stmt 1 view .LVU129 342 .loc 1 7370 14 is_stmt 0 view .LVU130 343 0080 0362 str r3, [r0, #32] 7371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 344 .loc 1 7371 1 view .LVU131 345 0082 30BC pop {r4, r5} 346 .LCFI3: 347 .cfi_restore 5 348 .cfi_restore 4 349 .cfi_def_cfa_offset 0 350 .LVL33: 351 .loc 1 7371 1 view .LVU132 352 0084 7047 bx lr 353 .L16: 354 0086 00BF .align 2 355 .L15: 356 0088 002C0140 .word 1073818624 357 .cfi_endproc 358 .LFE436: 360 .section .text.TIM_OC4_SetConfig,"ax",%progbits 361 .align 1 362 .syntax unified 363 .thumb 364 .thumb_func 366 TIM_OC4_SetConfig: 367 .LVL34: 368 .LFB437: 7372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Timer Output Compare 4 configuration 7375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral 7376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param OC_Config The output configuration structure 7377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) 7380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 369 .loc 1 7380 1 is_stmt 1 view -0 370 .cfi_startproc 371 @ args = 0, pretend = 0, frame = 0 372 @ frame_needed = 0, uses_anonymous_args = 0 373 @ link register save eliminated. 374 .loc 1 7380 1 is_stmt 0 view .LVU134 375 0000 30B4 push {r4, r5} 376 .LCFI4: 377 .cfi_def_cfa_offset 8 ARM GAS /tmp/cc0wMqvE.s page 137 378 .cfi_offset 4, -8 379 .cfi_offset 5, -4 7381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmrx; 380 .loc 1 7381 3 is_stmt 1 view .LVU135 7382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 381 .loc 1 7382 3 view .LVU136 7383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpcr2; 382 .loc 1 7383 3 view .LVU137 7384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Channel 4: Reset the CC4E Bit */ 7386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC4E; 383 .loc 1 7386 3 view .LVU138 384 .loc 1 7386 7 is_stmt 0 view .LVU139 385 0002 036A ldr r3, [r0, #32] 386 .loc 1 7386 14 view .LVU140 387 0004 23F48053 bic r3, r3, #4096 388 0008 0362 str r3, [r0, #32] 7387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCER register value */ 7389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 389 .loc 1 7389 3 is_stmt 1 view .LVU141 390 .loc 1 7389 11 is_stmt 0 view .LVU142 391 000a 036A ldr r3, [r0, #32] 392 .LVL35: 7390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CR2 register value */ 7391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 = TIMx->CR2; 393 .loc 1 7391 3 is_stmt 1 view .LVU143 394 .loc 1 7391 10 is_stmt 0 view .LVU144 395 000c 4468 ldr r4, [r0, #4] 396 .LVL36: 7392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCMR2 register value */ 7394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx = TIMx->CCMR2; 397 .loc 1 7394 3 is_stmt 1 view .LVU145 398 .loc 1 7394 12 is_stmt 0 view .LVU146 399 000e C269 ldr r2, [r0, #28] 400 .LVL37: 7395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare mode and Capture/Compare selection Bits */ 7397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR2_OC4M; 401 .loc 1 7397 3 is_stmt 1 view .LVU147 7398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR2_CC4S; 402 .loc 1 7398 3 view .LVU148 403 .loc 1 7398 12 is_stmt 0 view .LVU149 404 0010 22F08072 bic r2, r2, #16777216 405 .LVL38: 406 .loc 1 7398 12 view .LVU150 407 0014 22F4E642 bic r2, r2, #29440 408 .LVL39: 7399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Output Compare Mode */ 7401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx |= (OC_Config->OCMode << 8U); 409 .loc 1 7401 3 is_stmt 1 view .LVU151 410 .loc 1 7401 25 is_stmt 0 view .LVU152 411 0018 0D68 ldr r5, [r1] 412 .loc 1 7401 12 view .LVU153 413 001a 42EA0522 orr r2, r2, r5, lsl #8 ARM GAS /tmp/cc0wMqvE.s page 138 414 .LVL40: 7402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Polarity level */ 7404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC4P; 415 .loc 1 7404 3 is_stmt 1 view .LVU154 416 .loc 1 7404 11 is_stmt 0 view .LVU155 417 001e 23F40053 bic r3, r3, #8192 418 .LVL41: 7405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Compare Polarity */ 7406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (OC_Config->OCPolarity << 12U); 419 .loc 1 7406 3 is_stmt 1 view .LVU156 420 .loc 1 7406 24 is_stmt 0 view .LVU157 421 0022 8D68 ldr r5, [r1, #8] 422 .loc 1 7406 11 view .LVU158 423 0024 43EA0533 orr r3, r3, r5, lsl #12 424 .LVL42: 7407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_CCXN_INSTANCE(TIMx, TIM_CHANNEL_4)) 425 .loc 1 7408 3 is_stmt 1 view .LVU159 426 .loc 1 7408 6 is_stmt 0 view .LVU160 427 0028 174D ldr r5, .L23 428 002a A842 cmp r0, r5 429 002c 03D0 beq .L18 430 .loc 1 7408 7 discriminator 1 view .LVU161 431 002e 05F50065 add r5, r5, #2048 432 0032 A842 cmp r0, r5 433 0034 06D1 bne .L19 434 .L18: 7409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); 435 .loc 1 7410 5 is_stmt 1 view .LVU162 7411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output N Polarity level */ 7413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC4NP; 436 .loc 1 7413 5 view .LVU163 437 .loc 1 7413 13 is_stmt 0 view .LVU164 438 0036 23F40043 bic r3, r3, #32768 439 .LVL43: 7414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Polarity */ 7415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (OC_Config->OCNPolarity << 12U); 440 .loc 1 7415 5 is_stmt 1 view .LVU165 441 .loc 1 7415 26 is_stmt 0 view .LVU166 442 003a CD68 ldr r5, [r1, #12] 443 .loc 1 7415 13 view .LVU167 444 003c 43EA0533 orr r3, r3, r5, lsl #12 445 .LVL44: 7416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output N State */ 7417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC4NE; 446 .loc 1 7417 5 is_stmt 1 view .LVU168 447 .loc 1 7417 13 is_stmt 0 view .LVU169 448 0040 23F48043 bic r3, r3, #16384 449 .LVL45: 450 .L19: 7418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(TIMx)) 451 .loc 1 7420 3 is_stmt 1 view .LVU170 ARM GAS /tmp/cc0wMqvE.s page 139 452 .loc 1 7420 6 is_stmt 0 view .LVU171 453 0044 104D ldr r5, .L23 454 0046 A842 cmp r0, r5 455 0048 0FD0 beq .L20 456 .loc 1 7420 7 discriminator 1 view .LVU172 457 004a 05F50065 add r5, r5, #2048 458 004e A842 cmp r0, r5 459 0050 0BD0 beq .L20 460 .loc 1 7420 7 discriminator 2 view .LVU173 461 0052 05F54065 add r5, r5, #3072 462 0056 A842 cmp r0, r5 463 0058 07D0 beq .L20 464 .loc 1 7420 7 discriminator 3 view .LVU174 465 005a 05F58065 add r5, r5, #1024 466 005e A842 cmp r0, r5 467 0060 03D0 beq .L20 468 .loc 1 7420 7 discriminator 4 view .LVU175 469 0062 05F58065 add r5, r5, #1024 470 0066 A842 cmp r0, r5 471 0068 07D1 bne .L21 472 .L20: 7421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check parameters */ 7423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCNIDLE_STATE(OC_Config->OCNIdleState)); 473 .loc 1 7423 5 is_stmt 1 view .LVU176 7424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState)); 474 .loc 1 7424 5 view .LVU177 7425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare IDLE State */ 7427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS4; 475 .loc 1 7427 5 view .LVU178 476 .LVL46: 7428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare N IDLE State */ 7429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS4N; 477 .loc 1 7429 5 view .LVU179 478 .loc 1 7429 12 is_stmt 0 view .LVU180 479 006a 24F4404C bic ip, r4, #49152 480 .LVL47: 7430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Idle state */ 7432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 |= (OC_Config->OCIdleState << 6U); 481 .loc 1 7432 5 is_stmt 1 view .LVU181 482 .loc 1 7432 25 is_stmt 0 view .LVU182 483 006e 4C69 ldr r4, [r1, #20] 484 .loc 1 7432 12 view .LVU183 485 0070 4CEA841C orr ip, ip, r4, lsl #6 486 .LVL48: 7433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Idle state */ 7434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 |= (OC_Config->OCNIdleState << 6U); 487 .loc 1 7434 5 is_stmt 1 view .LVU184 488 .loc 1 7434 25 is_stmt 0 view .LVU185 489 0074 8C69 ldr r4, [r1, #24] 490 .loc 1 7434 12 view .LVU186 491 0076 4CEA8414 orr r4, ip, r4, lsl #6 492 .LVL49: 493 .L21: 7435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 140 7436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CR2 */ 7438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CR2 = tmpcr2; 494 .loc 1 7438 3 is_stmt 1 view .LVU187 495 .loc 1 7438 13 is_stmt 0 view .LVU188 496 007a 4460 str r4, [r0, #4] 7439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR2 */ 7441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCMR2 = tmpccmrx; 497 .loc 1 7441 3 is_stmt 1 view .LVU189 498 .loc 1 7441 15 is_stmt 0 view .LVU190 499 007c C261 str r2, [r0, #28] 7442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Capture Compare Register value */ 7444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCR4 = OC_Config->Pulse; 500 .loc 1 7444 3 is_stmt 1 view .LVU191 501 .loc 1 7444 25 is_stmt 0 view .LVU192 502 007e 4A68 ldr r2, [r1, #4] 503 .LVL50: 504 .loc 1 7444 14 view .LVU193 505 0080 0264 str r2, [r0, #64] 506 .LVL51: 7445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCER */ 7447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 507 .loc 1 7447 3 is_stmt 1 view .LVU194 508 .loc 1 7447 14 is_stmt 0 view .LVU195 509 0082 0362 str r3, [r0, #32] 7448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 510 .loc 1 7448 1 view .LVU196 511 0084 30BC pop {r4, r5} 512 .LCFI5: 513 .cfi_restore 5 514 .cfi_restore 4 515 .cfi_def_cfa_offset 0 516 .LVL52: 517 .loc 1 7448 1 view .LVU197 518 0086 7047 bx lr 519 .L24: 520 .align 2 521 .L23: 522 0088 002C0140 .word 1073818624 523 .cfi_endproc 524 .LFE437: 526 .section .text.TIM_OC5_SetConfig,"ax",%progbits 527 .align 1 528 .syntax unified 529 .thumb 530 .thumb_func 532 TIM_OC5_SetConfig: 533 .LVL53: 534 .LFB438: 7449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Timer Output Compare 5 configuration 7452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral 7453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param OC_Config The output configuration structure ARM GAS /tmp/cc0wMqvE.s page 141 7454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_OC5_SetConfig(TIM_TypeDef *TIMx, 7457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC_InitTypeDef *OC_Config) 7458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 535 .loc 1 7458 1 is_stmt 1 view -0 536 .cfi_startproc 537 @ args = 0, pretend = 0, frame = 0 538 @ frame_needed = 0, uses_anonymous_args = 0 539 @ link register save eliminated. 540 .loc 1 7458 1 is_stmt 0 view .LVU199 541 0000 30B4 push {r4, r5} 542 .LCFI6: 543 .cfi_def_cfa_offset 8 544 .cfi_offset 4, -8 545 .cfi_offset 5, -4 7459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmrx; 546 .loc 1 7459 3 is_stmt 1 view .LVU200 7460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 547 .loc 1 7460 3 view .LVU201 7461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpcr2; 548 .loc 1 7461 3 view .LVU202 7462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the output: Reset the CCxE Bit */ 7464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC5E; 549 .loc 1 7464 3 view .LVU203 550 .loc 1 7464 7 is_stmt 0 view .LVU204 551 0002 036A ldr r3, [r0, #32] 552 .loc 1 7464 14 view .LVU205 553 0004 23F48033 bic r3, r3, #65536 554 0008 0362 str r3, [r0, #32] 7465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCER register value */ 7467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 555 .loc 1 7467 3 is_stmt 1 view .LVU206 556 .loc 1 7467 11 is_stmt 0 view .LVU207 557 000a 036A ldr r3, [r0, #32] 558 .LVL54: 7468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CR2 register value */ 7469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 = TIMx->CR2; 559 .loc 1 7469 3 is_stmt 1 view .LVU208 560 .loc 1 7469 10 is_stmt 0 view .LVU209 561 000c 4468 ldr r4, [r0, #4] 562 .LVL55: 7470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCMR1 register value */ 7471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx = TIMx->CCMR3; 563 .loc 1 7471 3 is_stmt 1 view .LVU210 564 .loc 1 7471 12 is_stmt 0 view .LVU211 565 000e 026D ldr r2, [r0, #80] 566 .LVL56: 7472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare Mode Bits */ 7474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx &= ~(TIM_CCMR3_OC5M); 567 .loc 1 7474 3 is_stmt 1 view .LVU212 568 .loc 1 7474 12 is_stmt 0 view .LVU213 569 0010 22F48032 bic r2, r2, #65536 570 .LVL57: ARM GAS /tmp/cc0wMqvE.s page 142 571 .loc 1 7474 12 view .LVU214 572 0014 22F07002 bic r2, r2, #112 573 .LVL58: 7475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Output Compare Mode */ 7476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx |= OC_Config->OCMode; 574 .loc 1 7476 3 is_stmt 1 view .LVU215 575 .loc 1 7476 24 is_stmt 0 view .LVU216 576 0018 0D68 ldr r5, [r1] 577 .loc 1 7476 12 view .LVU217 578 001a 1543 orrs r5, r5, r2 579 .LVL59: 7477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Polarity level */ 7479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC5P; 580 .loc 1 7479 3 is_stmt 1 view .LVU218 581 .loc 1 7479 11 is_stmt 0 view .LVU219 582 001c 23F40033 bic r3, r3, #131072 583 .LVL60: 7480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Compare Polarity */ 7481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (OC_Config->OCPolarity << 16U); 584 .loc 1 7481 3 is_stmt 1 view .LVU220 585 .loc 1 7481 24 is_stmt 0 view .LVU221 586 0020 8A68 ldr r2, [r1, #8] 587 .loc 1 7481 11 view .LVU222 588 0022 43EA0243 orr r3, r3, r2, lsl #16 589 .LVL61: 7482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(TIMx)) 590 .loc 1 7483 3 is_stmt 1 view .LVU223 591 .loc 1 7483 6 is_stmt 0 view .LVU224 592 0026 0F4A ldr r2, .L29 593 0028 9042 cmp r0, r2 594 002a 0FD0 beq .L26 595 .loc 1 7483 7 discriminator 1 view .LVU225 596 002c 02F50062 add r2, r2, #2048 597 0030 9042 cmp r0, r2 598 0032 0BD0 beq .L26 599 .loc 1 7483 7 discriminator 2 view .LVU226 600 0034 02F54062 add r2, r2, #3072 601 0038 9042 cmp r0, r2 602 003a 07D0 beq .L26 603 .loc 1 7483 7 discriminator 3 view .LVU227 604 003c 02F58062 add r2, r2, #1024 605 0040 9042 cmp r0, r2 606 0042 03D0 beq .L26 607 .loc 1 7483 7 discriminator 4 view .LVU228 608 0044 02F58062 add r2, r2, #1024 609 0048 9042 cmp r0, r2 610 004a 04D1 bne .L27 611 .L26: 7484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare IDLE State */ 7486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS5; 612 .loc 1 7486 5 is_stmt 1 view .LVU229 613 .loc 1 7486 12 is_stmt 0 view .LVU230 614 004c 24F48034 bic r4, r4, #65536 615 .LVL62: ARM GAS /tmp/cc0wMqvE.s page 143 7487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Idle state */ 7488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 |= (OC_Config->OCIdleState << 8U); 616 .loc 1 7488 5 is_stmt 1 view .LVU231 617 .loc 1 7488 25 is_stmt 0 view .LVU232 618 0050 4A69 ldr r2, [r1, #20] 619 .loc 1 7488 12 view .LVU233 620 0052 44EA0224 orr r4, r4, r2, lsl #8 621 .LVL63: 622 .L27: 7489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CR2 */ 7491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CR2 = tmpcr2; 623 .loc 1 7491 3 is_stmt 1 view .LVU234 624 .loc 1 7491 13 is_stmt 0 view .LVU235 625 0056 4460 str r4, [r0, #4] 7492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR3 */ 7494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCMR3 = tmpccmrx; 626 .loc 1 7494 3 is_stmt 1 view .LVU236 627 .loc 1 7494 15 is_stmt 0 view .LVU237 628 0058 0565 str r5, [r0, #80] 7495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Capture Compare Register value */ 7497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCR5 = OC_Config->Pulse; 629 .loc 1 7497 3 is_stmt 1 view .LVU238 630 .loc 1 7497 25 is_stmt 0 view .LVU239 631 005a 4A68 ldr r2, [r1, #4] 632 .loc 1 7497 14 view .LVU240 633 005c 8264 str r2, [r0, #72] 7498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCER */ 7500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 634 .loc 1 7500 3 is_stmt 1 view .LVU241 635 .loc 1 7500 14 is_stmt 0 view .LVU242 636 005e 0362 str r3, [r0, #32] 7501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 637 .loc 1 7501 1 view .LVU243 638 0060 30BC pop {r4, r5} 639 .LCFI7: 640 .cfi_restore 5 641 .cfi_restore 4 642 .cfi_def_cfa_offset 0 643 .LVL64: 644 .loc 1 7501 1 view .LVU244 645 0062 7047 bx lr 646 .L30: 647 .align 2 648 .L29: 649 0064 002C0140 .word 1073818624 650 .cfi_endproc 651 .LFE438: 653 .section .text.TIM_OC6_SetConfig,"ax",%progbits 654 .align 1 655 .syntax unified 656 .thumb 657 .thumb_func 659 TIM_OC6_SetConfig: ARM GAS /tmp/cc0wMqvE.s page 144 660 .LVL65: 661 .LFB439: 7502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Timer Output Compare 6 configuration 7505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral 7506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param OC_Config The output configuration structure 7507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_OC6_SetConfig(TIM_TypeDef *TIMx, 7510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC_InitTypeDef *OC_Config) 7511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 662 .loc 1 7511 1 is_stmt 1 view -0 663 .cfi_startproc 664 @ args = 0, pretend = 0, frame = 0 665 @ frame_needed = 0, uses_anonymous_args = 0 666 @ link register save eliminated. 667 .loc 1 7511 1 is_stmt 0 view .LVU246 668 0000 30B4 push {r4, r5} 669 .LCFI8: 670 .cfi_def_cfa_offset 8 671 .cfi_offset 4, -8 672 .cfi_offset 5, -4 7512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmrx; 673 .loc 1 7512 3 is_stmt 1 view .LVU247 7513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 674 .loc 1 7513 3 view .LVU248 7514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpcr2; 675 .loc 1 7514 3 view .LVU249 7515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the output: Reset the CCxE Bit */ 7517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC6E; 676 .loc 1 7517 3 view .LVU250 677 .loc 1 7517 7 is_stmt 0 view .LVU251 678 0002 036A ldr r3, [r0, #32] 679 .loc 1 7517 14 view .LVU252 680 0004 23F48013 bic r3, r3, #1048576 681 0008 0362 str r3, [r0, #32] 7518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCER register value */ 7520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 682 .loc 1 7520 3 is_stmt 1 view .LVU253 683 .loc 1 7520 11 is_stmt 0 view .LVU254 684 000a 036A ldr r3, [r0, #32] 685 .LVL66: 7521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CR2 register value */ 7522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 = TIMx->CR2; 686 .loc 1 7522 3 is_stmt 1 view .LVU255 687 .loc 1 7522 10 is_stmt 0 view .LVU256 688 000c 4468 ldr r4, [r0, #4] 689 .LVL67: 7523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCMR1 register value */ 7524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx = TIMx->CCMR3; 690 .loc 1 7524 3 is_stmt 1 view .LVU257 691 .loc 1 7524 12 is_stmt 0 view .LVU258 692 000e 026D ldr r2, [r0, #80] 693 .LVL68: ARM GAS /tmp/cc0wMqvE.s page 145 7525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare Mode Bits */ 7527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx &= ~(TIM_CCMR3_OC6M); 694 .loc 1 7527 3 is_stmt 1 view .LVU259 695 .loc 1 7527 12 is_stmt 0 view .LVU260 696 0010 22F08072 bic r2, r2, #16777216 697 .LVL69: 698 .loc 1 7527 12 view .LVU261 699 0014 22F4E042 bic r2, r2, #28672 700 .LVL70: 7528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Output Compare Mode */ 7529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx |= (OC_Config->OCMode << 8U); 701 .loc 1 7529 3 is_stmt 1 view .LVU262 702 .loc 1 7529 25 is_stmt 0 view .LVU263 703 0018 0D68 ldr r5, [r1] 704 .loc 1 7529 12 view .LVU264 705 001a 42EA0522 orr r2, r2, r5, lsl #8 706 .LVL71: 7530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Polarity level */ 7532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= (uint32_t)~TIM_CCER_CC6P; 707 .loc 1 7532 3 is_stmt 1 view .LVU265 708 .loc 1 7532 11 is_stmt 0 view .LVU266 709 001e 23F40013 bic r3, r3, #2097152 710 .LVL72: 7533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Compare Polarity */ 7534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (OC_Config->OCPolarity << 20U); 711 .loc 1 7534 3 is_stmt 1 view .LVU267 712 .loc 1 7534 24 is_stmt 0 view .LVU268 713 0022 8D68 ldr r5, [r1, #8] 714 .loc 1 7534 11 view .LVU269 715 0024 43EA0553 orr r3, r3, r5, lsl #20 716 .LVL73: 7535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(TIMx)) 717 .loc 1 7536 3 is_stmt 1 view .LVU270 718 .loc 1 7536 6 is_stmt 0 view .LVU271 719 0028 0F4D ldr r5, .L35 720 002a A842 cmp r0, r5 721 002c 0FD0 beq .L32 722 .loc 1 7536 7 discriminator 1 view .LVU272 723 002e 05F50065 add r5, r5, #2048 724 0032 A842 cmp r0, r5 725 0034 0BD0 beq .L32 726 .loc 1 7536 7 discriminator 2 view .LVU273 727 0036 05F54065 add r5, r5, #3072 728 003a A842 cmp r0, r5 729 003c 07D0 beq .L32 730 .loc 1 7536 7 discriminator 3 view .LVU274 731 003e 05F58065 add r5, r5, #1024 732 0042 A842 cmp r0, r5 733 0044 03D0 beq .L32 734 .loc 1 7536 7 discriminator 4 view .LVU275 735 0046 05F58065 add r5, r5, #1024 736 004a A842 cmp r0, r5 737 004c 04D1 bne .L33 738 .L32: ARM GAS /tmp/cc0wMqvE.s page 146 7537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare IDLE State */ 7539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS6; 739 .loc 1 7539 5 is_stmt 1 view .LVU276 740 .loc 1 7539 12 is_stmt 0 view .LVU277 741 004e 24F48024 bic r4, r4, #262144 742 .LVL74: 7540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Idle state */ 7541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 |= (OC_Config->OCIdleState << 10U); 743 .loc 1 7541 5 is_stmt 1 view .LVU278 744 .loc 1 7541 25 is_stmt 0 view .LVU279 745 0052 4D69 ldr r5, [r1, #20] 746 .loc 1 7541 12 view .LVU280 747 0054 44EA8524 orr r4, r4, r5, lsl #10 748 .LVL75: 749 .L33: 7542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CR2 */ 7545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CR2 = tmpcr2; 750 .loc 1 7545 3 is_stmt 1 view .LVU281 751 .loc 1 7545 13 is_stmt 0 view .LVU282 752 0058 4460 str r4, [r0, #4] 7546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR3 */ 7548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCMR3 = tmpccmrx; 753 .loc 1 7548 3 is_stmt 1 view .LVU283 754 .loc 1 7548 15 is_stmt 0 view .LVU284 755 005a 0265 str r2, [r0, #80] 7549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Capture Compare Register value */ 7551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCR6 = OC_Config->Pulse; 756 .loc 1 7551 3 is_stmt 1 view .LVU285 757 .loc 1 7551 25 is_stmt 0 view .LVU286 758 005c 4A68 ldr r2, [r1, #4] 759 .LVL76: 760 .loc 1 7551 14 view .LVU287 761 005e C264 str r2, [r0, #76] 762 .LVL77: 7552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCER */ 7554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 763 .loc 1 7554 3 is_stmt 1 view .LVU288 764 .loc 1 7554 14 is_stmt 0 view .LVU289 765 0060 0362 str r3, [r0, #32] 7555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 766 .loc 1 7555 1 view .LVU290 767 0062 30BC pop {r4, r5} 768 .LCFI9: 769 .cfi_restore 5 770 .cfi_restore 4 771 .cfi_def_cfa_offset 0 772 .LVL78: 773 .loc 1 7555 1 view .LVU291 774 0064 7047 bx lr 775 .L36: 776 0066 00BF .align 2 ARM GAS /tmp/cc0wMqvE.s page 147 777 .L35: 778 0068 002C0140 .word 1073818624 779 .cfi_endproc 780 .LFE439: 782 .section .text.TIM_TI1_ConfigInputStage,"ax",%progbits 783 .align 1 784 .syntax unified 785 .thumb 786 .thumb_func 788 TIM_TI1_ConfigInputStage: 789 .LVL79: 790 .LFB442: 7556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Slave Timer configuration function 7559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 7560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param sSlaveConfig Slave timer configuration 7561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static HAL_StatusTypeDef TIM_SlaveTimer_SetConfig(TIM_HandleTypeDef *htim, 7564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_SlaveConfigTypeDef *sSlaveConfig) 7565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 7567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 7568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr1; 7569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 7570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx SMCR register value */ 7572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR; 7573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Trigger Selection Bits */ 7575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr &= ~TIM_SMCR_TS; 7576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Input Trigger source */ 7577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr |= sSlaveConfig->InputTrigger; 7578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the slave mode Bits */ 7580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr &= ~TIM_SMCR_SMS; 7581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the slave mode */ 7582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr |= sSlaveConfig->SlaveMode; 7583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx SMCR */ 7585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR = tmpsmcr; 7586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the trigger prescaler, filter, and polarity */ 7588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (sSlaveConfig->InputTrigger) 7589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ETRF: 7591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 7593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKSOURCE_ETRMODE1_INSTANCE(htim->Instance)); 7594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERPRESCALER(sSlaveConfig->TriggerPrescaler)); 7595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERPOLARITY(sSlaveConfig->TriggerPolarity)); 7596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERFILTER(sSlaveConfig->TriggerFilter)); 7597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the ETR Trigger source */ 7598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ETR_SetConfig(htim->Instance, 7599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPrescaler, 7600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, ARM GAS /tmp/cc0wMqvE.s page 148 7601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerFilter); 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_TI1F_ED: 7606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 7608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(htim->Instance)); 7609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERFILTER(sSlaveConfig->TriggerFilter)); 7610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((sSlaveConfig->SlaveMode == TIM_SLAVEMODE_GATED) || \ 7612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (sSlaveConfig->SlaveMode == TIM_SLAVEMODE_COMBINED_GATEDRESET)) 7613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 7615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Channel 1: Reset the CC1E Bit */ 7618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = htim->Instance->CCER; 7619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCER &= ~TIM_CCER_CC1E; 7620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = htim->Instance->CCMR1; 7621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the filter */ 7623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 &= ~TIM_CCMR1_IC1F; 7624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= ((sSlaveConfig->TriggerFilter) << 4U); 7625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR1 and CCER registers */ 7627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 = tmpccmr1; 7628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCER = tmpccer; 7629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_TI1FP1: 7633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 7635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(htim->Instance)); 7636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERPOLARITY(sSlaveConfig->TriggerPolarity)); 7637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERFILTER(sSlaveConfig->TriggerFilter)); 7638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure TI1 Filter and Polarity */ 7640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_TI1_ConfigInputStage(htim->Instance, 7641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 7642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerFilter); 7643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_TI2FP2: 7647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 7649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC2_INSTANCE(htim->Instance)); 7650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERPOLARITY(sSlaveConfig->TriggerPolarity)); 7651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERFILTER(sSlaveConfig->TriggerFilter)); 7652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure TI2 Filter and Polarity */ 7654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_TI2_ConfigInputStage(htim->Instance, 7655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 7656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerFilter); 7657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; ARM GAS /tmp/cc0wMqvE.s page 149 7658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ITR0: 7661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ITR1: 7662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ITR2: 7663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ITR3: 7664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if defined (TIM5) 7665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ITR4: 7666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* TIM5 */ 7667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ITR5: 7668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ITR6: 7669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ITR7: 7670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ITR8: 7671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if defined (TIM20) 7672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ITR9: 7673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* TIM20 */ 7674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if defined (HRTIM1) 7675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ITR10: 7676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* HRTIM1 */ 7677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ITR11: 7678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameter */ 7680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_INSTANCE((htim->Instance), sSlaveConfig->InputTrigg 7681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 7685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 7686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 7690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configure the TI1 as Input. 7694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral. 7695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICPolarity The Input Polarity. 7696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 7697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_RISING 7698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_FALLING 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_BOTHEDGE 7700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICSelection specifies the input to be used. 7701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 7702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICSELECTION_DIRECTTI: TIM Input 1 is selected to be connected to IC1. 7703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICSELECTION_INDIRECTTI: TIM Input 1 is selected to be connected to IC2. 7704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICSELECTION_TRC: TIM Input 1 is selected to be connected to TRC. 7705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICFilter Specifies the Input Capture Filter. 7706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter must be a value between 0x00 and 0x0F. 7707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note TIM_ICFilter and TIM_ICPolarity are not used in INDIRECT mode as TI2FP1 7709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * (on channel2 path) is used as the input signal. Therefore CCMR1 must be 7710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * protected against un-initialized filter and polarity values. 7711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** void TIM_TI1_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection, 7713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t TIM_ICFilter) 7714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 150 7715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr1; 7716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 7717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Channel 1: Reset the CC1E Bit */ 7719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC1E; 7720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = TIMx->CCMR1; 7721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 7722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Input */ 7724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_CC2_INSTANCE(TIMx) != RESET) 7725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 &= ~TIM_CCMR1_CC1S; 7727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= TIM_ICSelection; 7728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 7730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= TIM_CCMR1_CC1S_0; 7732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the filter */ 7735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 &= ~TIM_CCMR1_IC1F; 7736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= ((TIM_ICFilter << 4U) & TIM_CCMR1_IC1F); 7737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Polarity and set the CC1E Bit */ 7739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC1P | TIM_CCER_CC1NP); 7740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (TIM_ICPolarity & (TIM_CCER_CC1P | TIM_CCER_CC1NP)); 7741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR1 and CCER registers */ 7743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCMR1 = tmpccmr1; 7744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 7745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configure the Polarity and Filter for TI1. 7749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral. 7750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICPolarity The Input Polarity. 7751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 7752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_RISING 7753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_FALLING 7754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_BOTHEDGE 7755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICFilter Specifies the Input Capture Filter. 7756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter must be a value between 0x00 and 0x0F. 7757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_TI1_ConfigInputStage(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICFil 7760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 791 .loc 1 7760 1 is_stmt 1 view -0 792 .cfi_startproc 793 @ args = 0, pretend = 0, frame = 0 794 @ frame_needed = 0, uses_anonymous_args = 0 795 @ link register save eliminated. 796 .loc 1 7760 1 is_stmt 0 view .LVU293 797 0000 10B4 push {r4} 798 .LCFI10: 799 .cfi_def_cfa_offset 4 800 .cfi_offset 4, -4 7761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr1; ARM GAS /tmp/cc0wMqvE.s page 151 801 .loc 1 7761 3 is_stmt 1 view .LVU294 7762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 802 .loc 1 7762 3 view .LVU295 7763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Channel 1: Reset the CC1E Bit */ 7765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 803 .loc 1 7765 3 view .LVU296 804 .loc 1 7765 11 is_stmt 0 view .LVU297 805 0002 036A ldr r3, [r0, #32] 806 .LVL80: 7766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC1E; 807 .loc 1 7766 3 is_stmt 1 view .LVU298 808 .loc 1 7766 7 is_stmt 0 view .LVU299 809 0004 046A ldr r4, [r0, #32] 810 .loc 1 7766 14 view .LVU300 811 0006 24F00104 bic r4, r4, #1 812 000a 0462 str r4, [r0, #32] 7767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = TIMx->CCMR1; 813 .loc 1 7767 3 is_stmt 1 view .LVU301 814 .loc 1 7767 12 is_stmt 0 view .LVU302 815 000c 8469 ldr r4, [r0, #24] 816 .LVL81: 7768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the filter */ 7770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 &= ~TIM_CCMR1_IC1F; 817 .loc 1 7770 3 is_stmt 1 view .LVU303 818 .loc 1 7770 12 is_stmt 0 view .LVU304 819 000e 24F0F00C bic ip, r4, #240 820 .LVL82: 7771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (TIM_ICFilter << 4U); 821 .loc 1 7771 3 is_stmt 1 view .LVU305 822 .loc 1 7771 12 is_stmt 0 view .LVU306 823 0012 4CEA0212 orr r2, ip, r2, lsl #4 824 .LVL83: 7772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Polarity and set the CC1E Bit */ 7774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC1P | TIM_CCER_CC1NP); 825 .loc 1 7774 3 is_stmt 1 view .LVU307 826 .loc 1 7774 11 is_stmt 0 view .LVU308 827 0016 23F00A03 bic r3, r3, #10 828 .LVL84: 7775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= TIM_ICPolarity; 829 .loc 1 7775 3 is_stmt 1 view .LVU309 830 .loc 1 7775 11 is_stmt 0 view .LVU310 831 001a 0B43 orrs r3, r3, r1 832 .LVL85: 7776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR1 and CCER registers */ 7778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCMR1 = tmpccmr1; 833 .loc 1 7778 3 is_stmt 1 view .LVU311 834 .loc 1 7778 15 is_stmt 0 view .LVU312 835 001c 8261 str r2, [r0, #24] 7779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 836 .loc 1 7779 3 is_stmt 1 view .LVU313 837 .loc 1 7779 14 is_stmt 0 view .LVU314 838 001e 0362 str r3, [r0, #32] 7780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 152 839 .loc 1 7780 1 view .LVU315 840 0020 5DF8044B ldr r4, [sp], #4 841 .LCFI11: 842 .cfi_restore 4 843 .cfi_def_cfa_offset 0 844 0024 7047 bx lr 845 .cfi_endproc 846 .LFE442: 848 .section .text.TIM_TI2_SetConfig,"ax",%progbits 849 .align 1 850 .syntax unified 851 .thumb 852 .thumb_func 854 TIM_TI2_SetConfig: 855 .LVL86: 856 .LFB443: 7781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configure the TI2 as Input. 7784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral 7785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICPolarity The Input Polarity. 7786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 7787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_RISING 7788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_FALLING 7789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_BOTHEDGE 7790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICSelection specifies the input to be used. 7791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 7792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICSELECTION_DIRECTTI: TIM Input 2 is selected to be connected to IC2. 7793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICSELECTION_INDIRECTTI: TIM Input 2 is selected to be connected to IC1. 7794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICSELECTION_TRC: TIM Input 2 is selected to be connected to TRC. 7795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICFilter Specifies the Input Capture Filter. 7796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter must be a value between 0x00 and 0x0F. 7797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note TIM_ICFilter and TIM_ICPolarity are not used in INDIRECT mode as TI1FP2 7799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * (on channel1 path) is used as the input signal. Therefore CCMR1 must be 7800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * protected against un-initialized filter and polarity values. 7801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_TI2_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection, 7803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t TIM_ICFilter) 7804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 857 .loc 1 7804 1 is_stmt 1 view -0 858 .cfi_startproc 859 @ args = 0, pretend = 0, frame = 0 860 @ frame_needed = 0, uses_anonymous_args = 0 861 @ link register save eliminated. 862 .loc 1 7804 1 is_stmt 0 view .LVU317 863 0000 30B4 push {r4, r5} 864 .LCFI12: 865 .cfi_def_cfa_offset 8 866 .cfi_offset 4, -8 867 .cfi_offset 5, -4 7805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr1; 868 .loc 1 7805 3 is_stmt 1 view .LVU318 7806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 869 .loc 1 7806 3 view .LVU319 7807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Channel 2: Reset the CC2E Bit */ ARM GAS /tmp/cc0wMqvE.s page 153 7809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC2E; 870 .loc 1 7809 3 view .LVU320 871 .loc 1 7809 7 is_stmt 0 view .LVU321 872 0002 046A ldr r4, [r0, #32] 873 .loc 1 7809 14 view .LVU322 874 0004 24F01004 bic r4, r4, #16 875 0008 0462 str r4, [r0, #32] 7810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = TIMx->CCMR1; 876 .loc 1 7810 3 is_stmt 1 view .LVU323 877 .loc 1 7810 12 is_stmt 0 view .LVU324 878 000a 8469 ldr r4, [r0, #24] 879 .LVL87: 7811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 880 .loc 1 7811 3 is_stmt 1 view .LVU325 881 .loc 1 7811 11 is_stmt 0 view .LVU326 882 000c 056A ldr r5, [r0, #32] 883 .LVL88: 7812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Input */ 7814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 &= ~TIM_CCMR1_CC2S; 884 .loc 1 7814 3 is_stmt 1 view .LVU327 885 .loc 1 7814 12 is_stmt 0 view .LVU328 886 000e 24F4407C bic ip, r4, #768 887 .LVL89: 7815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (TIM_ICSelection << 8U); 888 .loc 1 7815 3 is_stmt 1 view .LVU329 889 .loc 1 7815 12 is_stmt 0 view .LVU330 890 0012 4CEA022C orr ip, ip, r2, lsl #8 891 .LVL90: 7816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the filter */ 7818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 &= ~TIM_CCMR1_IC2F; 892 .loc 1 7818 3 is_stmt 1 view .LVU331 893 .loc 1 7818 12 is_stmt 0 view .LVU332 894 0016 2CF4704C bic ip, ip, #61440 895 .LVL91: 7819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= ((TIM_ICFilter << 12U) & TIM_CCMR1_IC2F); 896 .loc 1 7819 3 is_stmt 1 view .LVU333 897 .loc 1 7819 30 is_stmt 0 view .LVU334 898 001a 1B03 lsls r3, r3, #12 899 .LVL92: 900 .loc 1 7819 38 view .LVU335 901 001c 9BB2 uxth r3, r3 902 .loc 1 7819 12 view .LVU336 903 001e 43EA0C03 orr r3, r3, ip 904 .LVL93: 7820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Polarity and set the CC2E Bit */ 7822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC2P | TIM_CCER_CC2NP); 905 .loc 1 7822 3 is_stmt 1 view .LVU337 906 .loc 1 7822 11 is_stmt 0 view .LVU338 907 0022 25F0A005 bic r5, r5, #160 908 .LVL94: 7823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= ((TIM_ICPolarity << 4U) & (TIM_CCER_CC2P | TIM_CCER_CC2NP)); 909 .loc 1 7823 3 is_stmt 1 view .LVU339 910 .loc 1 7823 31 is_stmt 0 view .LVU340 911 0026 0901 lsls r1, r1, #4 ARM GAS /tmp/cc0wMqvE.s page 154 912 .LVL95: 913 .loc 1 7823 38 view .LVU341 914 0028 01F0A001 and r1, r1, #160 915 .loc 1 7823 11 view .LVU342 916 002c 2943 orrs r1, r1, r5 917 .LVL96: 7824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR1 and CCER registers */ 7826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCMR1 = tmpccmr1 ; 918 .loc 1 7826 3 is_stmt 1 view .LVU343 919 .loc 1 7826 15 is_stmt 0 view .LVU344 920 002e 8361 str r3, [r0, #24] 7827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 921 .loc 1 7827 3 is_stmt 1 view .LVU345 922 .loc 1 7827 14 is_stmt 0 view .LVU346 923 0030 0162 str r1, [r0, #32] 7828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 924 .loc 1 7828 1 view .LVU347 925 0032 30BC pop {r4, r5} 926 .LCFI13: 927 .cfi_restore 5 928 .cfi_restore 4 929 .cfi_def_cfa_offset 0 930 0034 7047 bx lr 931 .cfi_endproc 932 .LFE443: 934 .section .text.TIM_TI2_ConfigInputStage,"ax",%progbits 935 .align 1 936 .syntax unified 937 .thumb 938 .thumb_func 940 TIM_TI2_ConfigInputStage: 941 .LVL97: 942 .LFB444: 7829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configure the Polarity and Filter for TI2. 7832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral. 7833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICPolarity The Input Polarity. 7834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 7835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_RISING 7836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_FALLING 7837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_BOTHEDGE 7838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICFilter Specifies the Input Capture Filter. 7839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter must be a value between 0x00 and 0x0F. 7840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_TI2_ConfigInputStage(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICFil 7843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 943 .loc 1 7843 1 is_stmt 1 view -0 944 .cfi_startproc 945 @ args = 0, pretend = 0, frame = 0 946 @ frame_needed = 0, uses_anonymous_args = 0 947 @ link register save eliminated. 948 .loc 1 7843 1 is_stmt 0 view .LVU349 949 0000 10B4 push {r4} 950 .LCFI14: ARM GAS /tmp/cc0wMqvE.s page 155 951 .cfi_def_cfa_offset 4 952 .cfi_offset 4, -4 7844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr1; 953 .loc 1 7844 3 is_stmt 1 view .LVU350 7845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 954 .loc 1 7845 3 view .LVU351 7846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Channel 2: Reset the CC2E Bit */ 7848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC2E; 955 .loc 1 7848 3 view .LVU352 956 .loc 1 7848 7 is_stmt 0 view .LVU353 957 0002 036A ldr r3, [r0, #32] 958 .loc 1 7848 14 view .LVU354 959 0004 23F01003 bic r3, r3, #16 960 0008 0362 str r3, [r0, #32] 7849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = TIMx->CCMR1; 961 .loc 1 7849 3 is_stmt 1 view .LVU355 962 .loc 1 7849 12 is_stmt 0 view .LVU356 963 000a 8469 ldr r4, [r0, #24] 964 .LVL98: 7850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 965 .loc 1 7850 3 is_stmt 1 view .LVU357 966 .loc 1 7850 11 is_stmt 0 view .LVU358 967 000c 036A ldr r3, [r0, #32] 968 .LVL99: 7851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the filter */ 7853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 &= ~TIM_CCMR1_IC2F; 969 .loc 1 7853 3 is_stmt 1 view .LVU359 970 .loc 1 7853 12 is_stmt 0 view .LVU360 971 000e 24F4704C bic ip, r4, #61440 972 .LVL100: 7854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (TIM_ICFilter << 12U); 973 .loc 1 7854 3 is_stmt 1 view .LVU361 974 .loc 1 7854 12 is_stmt 0 view .LVU362 975 0012 4CEA0232 orr r2, ip, r2, lsl #12 976 .LVL101: 7855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Polarity and set the CC2E Bit */ 7857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC2P | TIM_CCER_CC2NP); 977 .loc 1 7857 3 is_stmt 1 view .LVU363 978 .loc 1 7857 11 is_stmt 0 view .LVU364 979 0016 23F0A003 bic r3, r3, #160 980 .LVL102: 7858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (TIM_ICPolarity << 4U); 981 .loc 1 7858 3 is_stmt 1 view .LVU365 982 .loc 1 7858 11 is_stmt 0 view .LVU366 983 001a 43EA0113 orr r3, r3, r1, lsl #4 984 .LVL103: 7859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR1 and CCER registers */ 7861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCMR1 = tmpccmr1 ; 985 .loc 1 7861 3 is_stmt 1 view .LVU367 986 .loc 1 7861 15 is_stmt 0 view .LVU368 987 001e 8261 str r2, [r0, #24] 7862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 988 .loc 1 7862 3 is_stmt 1 view .LVU369 ARM GAS /tmp/cc0wMqvE.s page 156 989 .loc 1 7862 14 is_stmt 0 view .LVU370 990 0020 0362 str r3, [r0, #32] 7863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 991 .loc 1 7863 1 view .LVU371 992 0022 5DF8044B ldr r4, [sp], #4 993 .LCFI15: 994 .cfi_restore 4 995 .cfi_def_cfa_offset 0 996 0026 7047 bx lr 997 .cfi_endproc 998 .LFE444: 1000 .section .text.TIM_TI3_SetConfig,"ax",%progbits 1001 .align 1 1002 .syntax unified 1003 .thumb 1004 .thumb_func 1006 TIM_TI3_SetConfig: 1007 .LVL104: 1008 .LFB445: 7864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configure the TI3 as Input. 7867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral 7868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICPolarity The Input Polarity. 7869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 7870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_RISING 7871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_FALLING 7872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_BOTHEDGE 7873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICSelection specifies the input to be used. 7874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 7875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICSELECTION_DIRECTTI: TIM Input 3 is selected to be connected to IC3. 7876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICSELECTION_INDIRECTTI: TIM Input 3 is selected to be connected to IC4. 7877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICSELECTION_TRC: TIM Input 3 is selected to be connected to TRC. 7878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICFilter Specifies the Input Capture Filter. 7879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter must be a value between 0x00 and 0x0F. 7880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note TIM_ICFilter and TIM_ICPolarity are not used in INDIRECT mode as TI3FP4 7882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * (on channel1 path) is used as the input signal. Therefore CCMR2 must be 7883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * protected against un-initialized filter and polarity values. 7884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_TI3_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection, 7886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t TIM_ICFilter) 7887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1009 .loc 1 7887 1 is_stmt 1 view -0 1010 .cfi_startproc 1011 @ args = 0, pretend = 0, frame = 0 1012 @ frame_needed = 0, uses_anonymous_args = 0 1013 @ link register save eliminated. 1014 .loc 1 7887 1 is_stmt 0 view .LVU373 1015 0000 30B4 push {r4, r5} 1016 .LCFI16: 1017 .cfi_def_cfa_offset 8 1018 .cfi_offset 4, -8 1019 .cfi_offset 5, -4 7888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr2; 1020 .loc 1 7888 3 is_stmt 1 view .LVU374 7889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; ARM GAS /tmp/cc0wMqvE.s page 157 1021 .loc 1 7889 3 view .LVU375 7890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Channel 3: Reset the CC3E Bit */ 7892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC3E; 1022 .loc 1 7892 3 view .LVU376 1023 .loc 1 7892 7 is_stmt 0 view .LVU377 1024 0002 046A ldr r4, [r0, #32] 1025 .loc 1 7892 14 view .LVU378 1026 0004 24F48074 bic r4, r4, #256 1027 0008 0462 str r4, [r0, #32] 7893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr2 = TIMx->CCMR2; 1028 .loc 1 7893 3 is_stmt 1 view .LVU379 1029 .loc 1 7893 12 is_stmt 0 view .LVU380 1030 000a C469 ldr r4, [r0, #28] 1031 .LVL105: 7894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 1032 .loc 1 7894 3 is_stmt 1 view .LVU381 1033 .loc 1 7894 11 is_stmt 0 view .LVU382 1034 000c 056A ldr r5, [r0, #32] 1035 .LVL106: 7895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Input */ 7897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr2 &= ~TIM_CCMR2_CC3S; 1036 .loc 1 7897 3 is_stmt 1 view .LVU383 1037 .loc 1 7897 12 is_stmt 0 view .LVU384 1038 000e 24F0030C bic ip, r4, #3 1039 .LVL107: 7898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr2 |= TIM_ICSelection; 1040 .loc 1 7898 3 is_stmt 1 view .LVU385 1041 .loc 1 7898 12 is_stmt 0 view .LVU386 1042 0012 4CEA020C orr ip, ip, r2 1043 .LVL108: 7899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the filter */ 7901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr2 &= ~TIM_CCMR2_IC3F; 1044 .loc 1 7901 3 is_stmt 1 view .LVU387 1045 .loc 1 7901 12 is_stmt 0 view .LVU388 1046 0016 2CF0F00C bic ip, ip, #240 1047 .LVL109: 7902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr2 |= ((TIM_ICFilter << 4U) & TIM_CCMR2_IC3F); 1048 .loc 1 7902 3 is_stmt 1 view .LVU389 1049 .loc 1 7902 30 is_stmt 0 view .LVU390 1050 001a 1B01 lsls r3, r3, #4 1051 .LVL110: 1052 .loc 1 7902 37 view .LVU391 1053 001c DBB2 uxtb r3, r3 1054 .loc 1 7902 12 view .LVU392 1055 001e 43EA0C03 orr r3, r3, ip 1056 .LVL111: 7903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Polarity and set the CC3E Bit */ 7905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC3P | TIM_CCER_CC3NP); 1057 .loc 1 7905 3 is_stmt 1 view .LVU393 1058 .loc 1 7905 11 is_stmt 0 view .LVU394 1059 0022 25F42065 bic r5, r5, #2560 1060 .LVL112: 7906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= ((TIM_ICPolarity << 8U) & (TIM_CCER_CC3P | TIM_CCER_CC3NP)); ARM GAS /tmp/cc0wMqvE.s page 158 1061 .loc 1 7906 3 is_stmt 1 view .LVU395 1062 .loc 1 7906 31 is_stmt 0 view .LVU396 1063 0026 0902 lsls r1, r1, #8 1064 .LVL113: 1065 .loc 1 7906 38 view .LVU397 1066 0028 01F42061 and r1, r1, #2560 1067 .loc 1 7906 11 view .LVU398 1068 002c 2943 orrs r1, r1, r5 1069 .LVL114: 7907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR2 and CCER registers */ 7909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCMR2 = tmpccmr2; 1070 .loc 1 7909 3 is_stmt 1 view .LVU399 1071 .loc 1 7909 15 is_stmt 0 view .LVU400 1072 002e C361 str r3, [r0, #28] 7910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 1073 .loc 1 7910 3 is_stmt 1 view .LVU401 1074 .loc 1 7910 14 is_stmt 0 view .LVU402 1075 0030 0162 str r1, [r0, #32] 7911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1076 .loc 1 7911 1 view .LVU403 1077 0032 30BC pop {r4, r5} 1078 .LCFI17: 1079 .cfi_restore 5 1080 .cfi_restore 4 1081 .cfi_def_cfa_offset 0 1082 0034 7047 bx lr 1083 .cfi_endproc 1084 .LFE445: 1086 .section .text.TIM_TI4_SetConfig,"ax",%progbits 1087 .align 1 1088 .syntax unified 1089 .thumb 1090 .thumb_func 1092 TIM_TI4_SetConfig: 1093 .LVL115: 1094 .LFB446: 7912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configure the TI4 as Input. 7915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral 7916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICPolarity The Input Polarity. 7917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 7918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_RISING 7919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_FALLING 7920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_BOTHEDGE 7921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICSelection specifies the input to be used. 7922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 7923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICSELECTION_DIRECTTI: TIM Input 4 is selected to be connected to IC4. 7924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICSELECTION_INDIRECTTI: TIM Input 4 is selected to be connected to IC3. 7925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICSELECTION_TRC: TIM Input 4 is selected to be connected to TRC. 7926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICFilter Specifies the Input Capture Filter. 7927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter must be a value between 0x00 and 0x0F. 7928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note TIM_ICFilter and TIM_ICPolarity are not used in INDIRECT mode as TI4FP3 7929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * (on channel1 path) is used as the input signal. Therefore CCMR2 must be 7930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * protected against un-initialized filter and polarity values. 7931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None ARM GAS /tmp/cc0wMqvE.s page 159 7932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_TI4_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection, 7934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t TIM_ICFilter) 7935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1095 .loc 1 7935 1 is_stmt 1 view -0 1096 .cfi_startproc 1097 @ args = 0, pretend = 0, frame = 0 1098 @ frame_needed = 0, uses_anonymous_args = 0 1099 @ link register save eliminated. 1100 .loc 1 7935 1 is_stmt 0 view .LVU405 1101 0000 30B4 push {r4, r5} 1102 .LCFI18: 1103 .cfi_def_cfa_offset 8 1104 .cfi_offset 4, -8 1105 .cfi_offset 5, -4 7936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr2; 1106 .loc 1 7936 3 is_stmt 1 view .LVU406 7937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 1107 .loc 1 7937 3 view .LVU407 7938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Channel 4: Reset the CC4E Bit */ 7940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC4E; 1108 .loc 1 7940 3 view .LVU408 1109 .loc 1 7940 7 is_stmt 0 view .LVU409 1110 0002 046A ldr r4, [r0, #32] 1111 .loc 1 7940 14 view .LVU410 1112 0004 24F48054 bic r4, r4, #4096 1113 0008 0462 str r4, [r0, #32] 7941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr2 = TIMx->CCMR2; 1114 .loc 1 7941 3 is_stmt 1 view .LVU411 1115 .loc 1 7941 12 is_stmt 0 view .LVU412 1116 000a C469 ldr r4, [r0, #28] 1117 .LVL116: 7942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 1118 .loc 1 7942 3 is_stmt 1 view .LVU413 1119 .loc 1 7942 11 is_stmt 0 view .LVU414 1120 000c 056A ldr r5, [r0, #32] 1121 .LVL117: 7943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Input */ 7945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr2 &= ~TIM_CCMR2_CC4S; 1122 .loc 1 7945 3 is_stmt 1 view .LVU415 1123 .loc 1 7945 12 is_stmt 0 view .LVU416 1124 000e 24F4407C bic ip, r4, #768 1125 .LVL118: 7946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr2 |= (TIM_ICSelection << 8U); 1126 .loc 1 7946 3 is_stmt 1 view .LVU417 1127 .loc 1 7946 12 is_stmt 0 view .LVU418 1128 0012 4CEA022C orr ip, ip, r2, lsl #8 1129 .LVL119: 7947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the filter */ 7949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr2 &= ~TIM_CCMR2_IC4F; 1130 .loc 1 7949 3 is_stmt 1 view .LVU419 1131 .loc 1 7949 12 is_stmt 0 view .LVU420 1132 0016 2CF4704C bic ip, ip, #61440 1133 .LVL120: ARM GAS /tmp/cc0wMqvE.s page 160 7950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr2 |= ((TIM_ICFilter << 12U) & TIM_CCMR2_IC4F); 1134 .loc 1 7950 3 is_stmt 1 view .LVU421 1135 .loc 1 7950 30 is_stmt 0 view .LVU422 1136 001a 1B03 lsls r3, r3, #12 1137 .LVL121: 1138 .loc 1 7950 38 view .LVU423 1139 001c 9BB2 uxth r3, r3 1140 .loc 1 7950 12 view .LVU424 1141 001e 43EA0C03 orr r3, r3, ip 1142 .LVL122: 7951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Polarity and set the CC4E Bit */ 7953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC4P | TIM_CCER_CC4NP); 1143 .loc 1 7953 3 is_stmt 1 view .LVU425 1144 .loc 1 7953 11 is_stmt 0 view .LVU426 1145 0022 25F42045 bic r5, r5, #40960 1146 .LVL123: 7954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= ((TIM_ICPolarity << 12U) & (TIM_CCER_CC4P | TIM_CCER_CC4NP)); 1147 .loc 1 7954 3 is_stmt 1 view .LVU427 1148 .loc 1 7954 31 is_stmt 0 view .LVU428 1149 0026 0903 lsls r1, r1, #12 1150 .LVL124: 1151 .loc 1 7954 39 view .LVU429 1152 0028 01F42041 and r1, r1, #40960 1153 .loc 1 7954 11 view .LVU430 1154 002c 2943 orrs r1, r1, r5 1155 .LVL125: 7955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR2 and CCER registers */ 7957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCMR2 = tmpccmr2; 1156 .loc 1 7957 3 is_stmt 1 view .LVU431 1157 .loc 1 7957 15 is_stmt 0 view .LVU432 1158 002e C361 str r3, [r0, #28] 7958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer ; 1159 .loc 1 7958 3 is_stmt 1 view .LVU433 1160 .loc 1 7958 14 is_stmt 0 view .LVU434 1161 0030 0162 str r1, [r0, #32] 7959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1162 .loc 1 7959 1 view .LVU435 1163 0032 30BC pop {r4, r5} 1164 .LCFI19: 1165 .cfi_restore 5 1166 .cfi_restore 4 1167 .cfi_def_cfa_offset 0 1168 0034 7047 bx lr 1169 .cfi_endproc 1170 .LFE446: 1172 .section .text.TIM_ITRx_SetConfig,"ax",%progbits 1173 .align 1 1174 .syntax unified 1175 .thumb 1176 .thumb_func 1178 TIM_ITRx_SetConfig: 1179 .LVL126: 1180 .LFB447: 7960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** ARM GAS /tmp/cc0wMqvE.s page 161 7962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Selects the Input Trigger source 7963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral 7964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param InputTriggerSource The Input Trigger source. 7965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 7966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ITR0: Internal Trigger 0 7967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ITR1: Internal Trigger 1 7968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ITR2: Internal Trigger 2 7969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ITR3: Internal Trigger 3 7970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_TI1F_ED: TI1 Edge Detector 7971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_TI1FP1: Filtered Timer Input 1 7972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_TI2FP2: Filtered Timer Input 2 7973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ETRF: External Trigger input 7974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ITR4: Internal Trigger 4 (*) 7975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ITR5: Internal Trigger 5 7976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ITR6: Internal Trigger 6 7977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ITR7: Internal Trigger 7 7978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ITR8: Internal Trigger 8 7979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ITR9: Internal Trigger 9 (*) 7980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ITR10: Internal Trigger 10 7981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ITR11: Internal Trigger 11 7982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * 7983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * (*) Value not defined in all devices. 7984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * 7985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_ITRx_SetConfig(TIM_TypeDef *TIMx, uint32_t InputTriggerSource) 7988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1181 .loc 1 7988 1 is_stmt 1 view -0 1182 .cfi_startproc 1183 @ args = 0, pretend = 0, frame = 0 1184 @ frame_needed = 0, uses_anonymous_args = 0 1185 @ link register save eliminated. 7989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 1186 .loc 1 7989 3 view .LVU437 7990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx SMCR register value */ 7992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = TIMx->SMCR; 1187 .loc 1 7992 3 view .LVU438 1188 .loc 1 7992 11 is_stmt 0 view .LVU439 1189 0000 8368 ldr r3, [r0, #8] 1190 .LVL127: 7993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the TS Bits */ 7994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr &= ~TIM_SMCR_TS; 1191 .loc 1 7994 3 is_stmt 1 view .LVU440 1192 .loc 1 7994 11 is_stmt 0 view .LVU441 1193 0002 23F44013 bic r3, r3, #3145728 1194 .LVL128: 1195 .loc 1 7994 11 view .LVU442 1196 0006 23F07003 bic r3, r3, #112 1197 .LVL129: 7995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Input Trigger source and the slave mode*/ 7996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr |= (InputTriggerSource | TIM_SLAVEMODE_EXTERNAL1); 1198 .loc 1 7996 3 is_stmt 1 view .LVU443 1199 .loc 1 7996 11 is_stmt 0 view .LVU444 1200 000a 0B43 orrs r3, r3, r1 1201 .LVL130: 1202 .loc 1 7996 11 view .LVU445 ARM GAS /tmp/cc0wMqvE.s page 162 1203 000c 43F00703 orr r3, r3, #7 1204 .LVL131: 7997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx SMCR */ 7998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->SMCR = tmpsmcr; 1205 .loc 1 7998 3 is_stmt 1 view .LVU446 1206 .loc 1 7998 14 is_stmt 0 view .LVU447 1207 0010 8360 str r3, [r0, #8] 7999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1208 .loc 1 7999 1 view .LVU448 1209 0012 7047 bx lr 1210 .cfi_endproc 1211 .LFE447: 1213 .section .text.HAL_TIM_Base_MspInit,"ax",%progbits 1214 .align 1 1215 .weak HAL_TIM_Base_MspInit 1216 .syntax unified 1217 .thumb 1218 .thumb_func 1220 HAL_TIM_Base_MspInit: 1221 .LVL132: 1222 .LFB331: 384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 1223 .loc 1 384 1 is_stmt 1 view -0 1224 .cfi_startproc 1225 @ args = 0, pretend = 0, frame = 0 1226 @ frame_needed = 0, uses_anonymous_args = 0 1227 @ link register save eliminated. 386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1228 .loc 1 386 3 view .LVU450 391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1229 .loc 1 391 1 is_stmt 0 view .LVU451 1230 0000 7047 bx lr 1231 .cfi_endproc 1232 .LFE331: 1234 .section .text.HAL_TIM_Base_MspDeInit,"ax",%progbits 1235 .align 1 1236 .weak HAL_TIM_Base_MspDeInit 1237 .syntax unified 1238 .thumb 1239 .thumb_func 1241 HAL_TIM_Base_MspDeInit: 1242 .LVL133: 1243 .LFB332: 399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 1244 .loc 1 399 1 is_stmt 1 view -0 1245 .cfi_startproc 1246 @ args = 0, pretend = 0, frame = 0 1247 @ frame_needed = 0, uses_anonymous_args = 0 1248 @ link register save eliminated. 401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1249 .loc 1 401 3 view .LVU453 406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1250 .loc 1 406 1 is_stmt 0 view .LVU454 1251 0000 7047 bx lr 1252 .cfi_endproc 1253 .LFE332: 1255 .section .text.HAL_TIM_Base_DeInit,"ax",%progbits ARM GAS /tmp/cc0wMqvE.s page 163 1256 .align 1 1257 .global HAL_TIM_Base_DeInit 1258 .syntax unified 1259 .thumb 1260 .thumb_func 1262 HAL_TIM_Base_DeInit: 1263 .LVL134: 1264 .LFB330: 341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1265 .loc 1 341 1 is_stmt 1 view -0 1266 .cfi_startproc 1267 @ args = 0, pretend = 0, frame = 0 1268 @ frame_needed = 0, uses_anonymous_args = 0 341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1269 .loc 1 341 1 is_stmt 0 view .LVU456 1270 0000 10B5 push {r4, lr} 1271 .LCFI20: 1272 .cfi_def_cfa_offset 8 1273 .cfi_offset 4, -8 1274 .cfi_offset 14, -4 1275 0002 0446 mov r4, r0 343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1276 .loc 1 343 3 is_stmt 1 view .LVU457 345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1277 .loc 1 345 3 view .LVU458 345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1278 .loc 1 345 15 is_stmt 0 view .LVU459 1279 0004 0223 movs r3, #2 1280 0006 80F83D30 strb r3, [r0, #61] 348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1281 .loc 1 348 3 is_stmt 1 view .LVU460 348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1282 .loc 1 348 3 view .LVU461 1283 000a 0368 ldr r3, [r0] 1284 000c 196A ldr r1, [r3, #32] 1285 000e 41F21112 movw r2, #4369 1286 0012 1142 tst r1, r2 1287 0014 08D1 bne .L51 348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1288 .loc 1 348 3 discriminator 1 view .LVU462 1289 0016 196A ldr r1, [r3, #32] 1290 0018 44F24442 movw r2, #17476 1291 001c 1142 tst r1, r2 1292 001e 03D1 bne .L51 348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1293 .loc 1 348 3 discriminator 3 view .LVU463 1294 0020 1A68 ldr r2, [r3] 1295 0022 22F00102 bic r2, r2, #1 1296 0026 1A60 str r2, [r3] 1297 .L51: 348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1298 .loc 1 348 3 discriminator 5 view .LVU464 359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 1299 .loc 1 359 3 discriminator 5 view .LVU465 1300 0028 2046 mov r0, r4 1301 .LVL135: 359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ ARM GAS /tmp/cc0wMqvE.s page 164 1302 .loc 1 359 3 is_stmt 0 discriminator 5 view .LVU466 1303 002a FFF7FEFF bl HAL_TIM_Base_MspDeInit 1304 .LVL136: 363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1305 .loc 1 363 3 is_stmt 1 discriminator 5 view .LVU467 363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1306 .loc 1 363 23 is_stmt 0 discriminator 5 view .LVU468 1307 002e 0020 movs r0, #0 1308 0030 84F84800 strb r0, [r4, #72] 366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 1309 .loc 1 366 3 is_stmt 1 discriminator 5 view .LVU469 366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 1310 .loc 1 366 3 discriminator 5 view .LVU470 1311 0034 84F83E00 strb r0, [r4, #62] 366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 1312 .loc 1 366 3 discriminator 5 view .LVU471 1313 0038 84F83F00 strb r0, [r4, #63] 366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 1314 .loc 1 366 3 discriminator 5 view .LVU472 1315 003c 84F84000 strb r0, [r4, #64] 366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 1316 .loc 1 366 3 discriminator 5 view .LVU473 1317 0040 84F84100 strb r0, [r4, #65] 366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 1318 .loc 1 366 3 discriminator 5 view .LVU474 1319 0044 84F84200 strb r0, [r4, #66] 366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 1320 .loc 1 366 3 discriminator 5 view .LVU475 1321 0048 84F84300 strb r0, [r4, #67] 366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 1322 .loc 1 366 3 discriminator 5 view .LVU476 367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1323 .loc 1 367 3 discriminator 5 view .LVU477 367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1324 .loc 1 367 3 discriminator 5 view .LVU478 1325 004c 84F84400 strb r0, [r4, #68] 367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1326 .loc 1 367 3 discriminator 5 view .LVU479 1327 0050 84F84500 strb r0, [r4, #69] 367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1328 .loc 1 367 3 discriminator 5 view .LVU480 1329 0054 84F84600 strb r0, [r4, #70] 367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1330 .loc 1 367 3 discriminator 5 view .LVU481 1331 0058 84F84700 strb r0, [r4, #71] 367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1332 .loc 1 367 3 discriminator 5 view .LVU482 370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1333 .loc 1 370 3 discriminator 5 view .LVU483 370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1334 .loc 1 370 15 is_stmt 0 discriminator 5 view .LVU484 1335 005c 84F83D00 strb r0, [r4, #61] 373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1336 .loc 1 373 3 is_stmt 1 discriminator 5 view .LVU485 373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1337 .loc 1 373 3 discriminator 5 view .LVU486 1338 0060 84F83C00 strb r0, [r4, #60] ARM GAS /tmp/cc0wMqvE.s page 165 373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1339 .loc 1 373 3 discriminator 5 view .LVU487 375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1340 .loc 1 375 3 discriminator 5 view .LVU488 376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1341 .loc 1 376 1 is_stmt 0 discriminator 5 view .LVU489 1342 0064 10BD pop {r4, pc} 376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1343 .loc 1 376 1 discriminator 5 view .LVU490 1344 .cfi_endproc 1345 .LFE330: 1347 .section .text.HAL_TIM_Base_Start,"ax",%progbits 1348 .align 1 1349 .global HAL_TIM_Base_Start 1350 .syntax unified 1351 .thumb 1352 .thumb_func 1354 HAL_TIM_Base_Start: 1355 .LVL137: 1356 .LFB333: 415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 1357 .loc 1 415 1 is_stmt 1 view -0 1358 .cfi_startproc 1359 @ args = 0, pretend = 0, frame = 0 1360 @ frame_needed = 0, uses_anonymous_args = 0 1361 @ link register save eliminated. 416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1362 .loc 1 416 3 view .LVU492 419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1363 .loc 1 419 3 view .LVU493 422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1364 .loc 1 422 3 view .LVU494 422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1365 .loc 1 422 11 is_stmt 0 view .LVU495 1366 0000 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 1367 0004 DBB2 uxtb r3, r3 422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1368 .loc 1 422 6 view .LVU496 1369 0006 012B cmp r3, #1 1370 0008 2DD1 bne .L57 428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1371 .loc 1 428 3 is_stmt 1 view .LVU497 428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1372 .loc 1 428 15 is_stmt 0 view .LVU498 1373 000a 0223 movs r3, #2 1374 000c 80F83D30 strb r3, [r0, #61] 431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1375 .loc 1 431 3 is_stmt 1 view .LVU499 431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1376 .loc 1 431 7 is_stmt 0 view .LVU500 1377 0010 0368 ldr r3, [r0] 431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1378 .loc 1 431 6 view .LVU501 1379 0012 184A ldr r2, .L60 1380 0014 9342 cmp r3, r2 1381 0016 18D0 beq .L55 431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 166 1382 .loc 1 431 7 discriminator 1 view .LVU502 1383 0018 B3F1804F cmp r3, #1073741824 1384 001c 15D0 beq .L55 431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1385 .loc 1 431 7 discriminator 2 view .LVU503 1386 001e A2F59432 sub r2, r2, #75776 1387 0022 9342 cmp r3, r2 1388 0024 11D0 beq .L55 431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1389 .loc 1 431 7 discriminator 3 view .LVU504 1390 0026 02F58062 add r2, r2, #1024 1391 002a 9342 cmp r3, r2 1392 002c 0DD0 beq .L55 431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1393 .loc 1 431 7 discriminator 4 view .LVU505 1394 002e 02F59632 add r2, r2, #76800 1395 0032 9342 cmp r3, r2 1396 0034 09D0 beq .L55 431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1397 .loc 1 431 7 discriminator 5 view .LVU506 1398 0036 02F54062 add r2, r2, #3072 1399 003a 9342 cmp r3, r2 1400 003c 05D0 beq .L55 441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1401 .loc 1 441 5 is_stmt 1 view .LVU507 1402 003e 1A68 ldr r2, [r3] 1403 0040 42F00102 orr r2, r2, #1 1404 0044 1A60 str r2, [r3] 445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1405 .loc 1 445 10 is_stmt 0 view .LVU508 1406 0046 0020 movs r0, #0 1407 .LVL138: 445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1408 .loc 1 445 10 view .LVU509 1409 0048 7047 bx lr 1410 .LVL139: 1411 .L55: 433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1412 .loc 1 433 5 is_stmt 1 view .LVU510 433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1413 .loc 1 433 29 is_stmt 0 view .LVU511 1414 004a 9968 ldr r1, [r3, #8] 433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1415 .loc 1 433 13 view .LVU512 1416 004c 0A4A ldr r2, .L60+4 1417 004e 0A40 ands r2, r2, r1 1418 .LVL140: 434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1419 .loc 1 434 5 is_stmt 1 view .LVU513 434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1420 .loc 1 434 8 is_stmt 0 view .LVU514 1421 0050 062A cmp r2, #6 1422 0052 0AD0 beq .L58 434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1423 .loc 1 434 9 discriminator 1 view .LVU515 1424 0054 B2F5803F cmp r2, #65536 1425 0058 09D0 beq .L59 ARM GAS /tmp/cc0wMqvE.s page 167 436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1426 .loc 1 436 7 is_stmt 1 view .LVU516 1427 005a 1A68 ldr r2, [r3] 1428 .LVL141: 436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1429 .loc 1 436 7 is_stmt 0 view .LVU517 1430 005c 42F00102 orr r2, r2, #1 1431 0060 1A60 str r2, [r3] 445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1432 .loc 1 445 10 view .LVU518 1433 0062 0020 movs r0, #0 1434 .LVL142: 445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1435 .loc 1 445 10 view .LVU519 1436 0064 7047 bx lr 1437 .LVL143: 1438 .L57: 424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1439 .loc 1 424 12 view .LVU520 1440 0066 0120 movs r0, #1 1441 .LVL144: 424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1442 .loc 1 424 12 view .LVU521 1443 0068 7047 bx lr 1444 .LVL145: 1445 .L58: 445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1446 .loc 1 445 10 view .LVU522 1447 006a 0020 movs r0, #0 1448 .LVL146: 445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1449 .loc 1 445 10 view .LVU523 1450 006c 7047 bx lr 1451 .LVL147: 1452 .L59: 445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1453 .loc 1 445 10 view .LVU524 1454 006e 0020 movs r0, #0 1455 .LVL148: 446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1456 .loc 1 446 1 view .LVU525 1457 0070 7047 bx lr 1458 .L61: 1459 0072 00BF .align 2 1460 .L60: 1461 0074 002C0140 .word 1073818624 1462 0078 07000100 .word 65543 1463 .cfi_endproc 1464 .LFE333: 1466 .section .text.HAL_TIM_Base_Stop,"ax",%progbits 1467 .align 1 1468 .global HAL_TIM_Base_Stop 1469 .syntax unified 1470 .thumb 1471 .thumb_func 1473 HAL_TIM_Base_Stop: 1474 .LVL149: ARM GAS /tmp/cc0wMqvE.s page 168 1475 .LFB334: 454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1476 .loc 1 454 1 is_stmt 1 view -0 1477 .cfi_startproc 1478 @ args = 0, pretend = 0, frame = 0 1479 @ frame_needed = 0, uses_anonymous_args = 0 1480 @ link register save eliminated. 456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1481 .loc 1 456 3 view .LVU527 459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1482 .loc 1 459 3 view .LVU528 459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1483 .loc 1 459 3 view .LVU529 1484 0000 0368 ldr r3, [r0] 1485 0002 196A ldr r1, [r3, #32] 1486 0004 41F21112 movw r2, #4369 1487 0008 1142 tst r1, r2 1488 000a 08D1 bne .L63 459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1489 .loc 1 459 3 discriminator 1 view .LVU530 1490 000c 196A ldr r1, [r3, #32] 1491 000e 44F24442 movw r2, #17476 1492 0012 1142 tst r1, r2 1493 0014 03D1 bne .L63 459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1494 .loc 1 459 3 discriminator 3 view .LVU531 1495 0016 1A68 ldr r2, [r3] 1496 0018 22F00102 bic r2, r2, #1 1497 001c 1A60 str r2, [r3] 1498 .L63: 459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1499 .loc 1 459 3 discriminator 5 view .LVU532 462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1500 .loc 1 462 3 discriminator 5 view .LVU533 462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1501 .loc 1 462 15 is_stmt 0 discriminator 5 view .LVU534 1502 001e 0123 movs r3, #1 1503 0020 80F83D30 strb r3, [r0, #61] 465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1504 .loc 1 465 3 is_stmt 1 discriminator 5 view .LVU535 466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1505 .loc 1 466 1 is_stmt 0 discriminator 5 view .LVU536 1506 0024 0020 movs r0, #0 1507 .LVL150: 466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1508 .loc 1 466 1 discriminator 5 view .LVU537 1509 0026 7047 bx lr 1510 .cfi_endproc 1511 .LFE334: 1513 .section .text.HAL_TIM_Base_Start_IT,"ax",%progbits 1514 .align 1 1515 .global HAL_TIM_Base_Start_IT 1516 .syntax unified 1517 .thumb 1518 .thumb_func 1520 HAL_TIM_Base_Start_IT: 1521 .LVL151: ARM GAS /tmp/cc0wMqvE.s page 169 1522 .LFB335: 474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 1523 .loc 1 474 1 is_stmt 1 view -0 1524 .cfi_startproc 1525 @ args = 0, pretend = 0, frame = 0 1526 @ frame_needed = 0, uses_anonymous_args = 0 1527 @ link register save eliminated. 475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1528 .loc 1 475 3 view .LVU539 478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1529 .loc 1 478 3 view .LVU540 481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1530 .loc 1 481 3 view .LVU541 481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1531 .loc 1 481 11 is_stmt 0 view .LVU542 1532 0000 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 1533 0004 DBB2 uxtb r3, r3 481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1534 .loc 1 481 6 view .LVU543 1535 0006 012B cmp r3, #1 1536 0008 32D1 bne .L68 487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1537 .loc 1 487 3 is_stmt 1 view .LVU544 487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1538 .loc 1 487 15 is_stmt 0 view .LVU545 1539 000a 0223 movs r3, #2 1540 000c 80F83D30 strb r3, [r0, #61] 490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1541 .loc 1 490 3 is_stmt 1 view .LVU546 1542 0010 0268 ldr r2, [r0] 1543 0012 D368 ldr r3, [r2, #12] 1544 0014 43F00103 orr r3, r3, #1 1545 0018 D360 str r3, [r2, #12] 493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1546 .loc 1 493 3 view .LVU547 493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1547 .loc 1 493 7 is_stmt 0 view .LVU548 1548 001a 0368 ldr r3, [r0] 493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1549 .loc 1 493 6 view .LVU549 1550 001c 174A ldr r2, .L71 1551 001e 9342 cmp r3, r2 1552 0020 18D0 beq .L66 493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1553 .loc 1 493 7 discriminator 1 view .LVU550 1554 0022 B3F1804F cmp r3, #1073741824 1555 0026 15D0 beq .L66 493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1556 .loc 1 493 7 discriminator 2 view .LVU551 1557 0028 A2F59432 sub r2, r2, #75776 1558 002c 9342 cmp r3, r2 1559 002e 11D0 beq .L66 493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1560 .loc 1 493 7 discriminator 3 view .LVU552 1561 0030 02F58062 add r2, r2, #1024 1562 0034 9342 cmp r3, r2 1563 0036 0DD0 beq .L66 ARM GAS /tmp/cc0wMqvE.s page 170 493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1564 .loc 1 493 7 discriminator 4 view .LVU553 1565 0038 02F59632 add r2, r2, #76800 1566 003c 9342 cmp r3, r2 1567 003e 09D0 beq .L66 493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1568 .loc 1 493 7 discriminator 5 view .LVU554 1569 0040 02F54062 add r2, r2, #3072 1570 0044 9342 cmp r3, r2 1571 0046 05D0 beq .L66 503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1572 .loc 1 503 5 is_stmt 1 view .LVU555 1573 0048 1A68 ldr r2, [r3] 1574 004a 42F00102 orr r2, r2, #1 1575 004e 1A60 str r2, [r3] 507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1576 .loc 1 507 10 is_stmt 0 view .LVU556 1577 0050 0020 movs r0, #0 1578 .LVL152: 507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1579 .loc 1 507 10 view .LVU557 1580 0052 7047 bx lr 1581 .LVL153: 1582 .L66: 495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1583 .loc 1 495 5 is_stmt 1 view .LVU558 495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1584 .loc 1 495 29 is_stmt 0 view .LVU559 1585 0054 9968 ldr r1, [r3, #8] 495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1586 .loc 1 495 13 view .LVU560 1587 0056 0A4A ldr r2, .L71+4 1588 0058 0A40 ands r2, r2, r1 1589 .LVL154: 496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1590 .loc 1 496 5 is_stmt 1 view .LVU561 496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1591 .loc 1 496 8 is_stmt 0 view .LVU562 1592 005a 062A cmp r2, #6 1593 005c 0AD0 beq .L69 496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1594 .loc 1 496 9 discriminator 1 view .LVU563 1595 005e B2F5803F cmp r2, #65536 1596 0062 09D0 beq .L70 498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1597 .loc 1 498 7 is_stmt 1 view .LVU564 1598 0064 1A68 ldr r2, [r3] 1599 .LVL155: 498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1600 .loc 1 498 7 is_stmt 0 view .LVU565 1601 0066 42F00102 orr r2, r2, #1 1602 006a 1A60 str r2, [r3] 507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1603 .loc 1 507 10 view .LVU566 1604 006c 0020 movs r0, #0 1605 .LVL156: 507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 171 1606 .loc 1 507 10 view .LVU567 1607 006e 7047 bx lr 1608 .LVL157: 1609 .L68: 483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1610 .loc 1 483 12 view .LVU568 1611 0070 0120 movs r0, #1 1612 .LVL158: 483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1613 .loc 1 483 12 view .LVU569 1614 0072 7047 bx lr 1615 .LVL159: 1616 .L69: 507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1617 .loc 1 507 10 view .LVU570 1618 0074 0020 movs r0, #0 1619 .LVL160: 507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1620 .loc 1 507 10 view .LVU571 1621 0076 7047 bx lr 1622 .LVL161: 1623 .L70: 507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1624 .loc 1 507 10 view .LVU572 1625 0078 0020 movs r0, #0 1626 .LVL162: 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1627 .loc 1 508 1 view .LVU573 1628 007a 7047 bx lr 1629 .L72: 1630 .align 2 1631 .L71: 1632 007c 002C0140 .word 1073818624 1633 0080 07000100 .word 65543 1634 .cfi_endproc 1635 .LFE335: 1637 .section .text.HAL_TIM_Base_Stop_IT,"ax",%progbits 1638 .align 1 1639 .global HAL_TIM_Base_Stop_IT 1640 .syntax unified 1641 .thumb 1642 .thumb_func 1644 HAL_TIM_Base_Stop_IT: 1645 .LVL163: 1646 .LFB336: 516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1647 .loc 1 516 1 is_stmt 1 view -0 1648 .cfi_startproc 1649 @ args = 0, pretend = 0, frame = 0 1650 @ frame_needed = 0, uses_anonymous_args = 0 1651 @ link register save eliminated. 518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1652 .loc 1 518 3 view .LVU575 521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1653 .loc 1 521 3 view .LVU576 1654 0000 0268 ldr r2, [r0] 1655 0002 D368 ldr r3, [r2, #12] ARM GAS /tmp/cc0wMqvE.s page 172 1656 0004 23F00103 bic r3, r3, #1 1657 0008 D360 str r3, [r2, #12] 524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1658 .loc 1 524 3 view .LVU577 524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1659 .loc 1 524 3 view .LVU578 1660 000a 0368 ldr r3, [r0] 1661 000c 196A ldr r1, [r3, #32] 1662 000e 41F21112 movw r2, #4369 1663 0012 1142 tst r1, r2 1664 0014 08D1 bne .L74 524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1665 .loc 1 524 3 discriminator 1 view .LVU579 1666 0016 196A ldr r1, [r3, #32] 1667 0018 44F24442 movw r2, #17476 1668 001c 1142 tst r1, r2 1669 001e 03D1 bne .L74 524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1670 .loc 1 524 3 discriminator 3 view .LVU580 1671 0020 1A68 ldr r2, [r3] 1672 0022 22F00102 bic r2, r2, #1 1673 0026 1A60 str r2, [r3] 1674 .L74: 524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1675 .loc 1 524 3 discriminator 5 view .LVU581 527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1676 .loc 1 527 3 discriminator 5 view .LVU582 527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1677 .loc 1 527 15 is_stmt 0 discriminator 5 view .LVU583 1678 0028 0123 movs r3, #1 1679 002a 80F83D30 strb r3, [r0, #61] 530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1680 .loc 1 530 3 is_stmt 1 discriminator 5 view .LVU584 531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1681 .loc 1 531 1 is_stmt 0 discriminator 5 view .LVU585 1682 002e 0020 movs r0, #0 1683 .LVL164: 531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1684 .loc 1 531 1 discriminator 5 view .LVU586 1685 0030 7047 bx lr 1686 .cfi_endproc 1687 .LFE336: 1689 .section .text.HAL_TIM_Base_Start_DMA,"ax",%progbits 1690 .align 1 1691 .global HAL_TIM_Base_Start_DMA 1692 .syntax unified 1693 .thumb 1694 .thumb_func 1696 HAL_TIM_Base_Start_DMA: 1697 .LVL165: 1698 .LFB337: 541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 1699 .loc 1 541 1 is_stmt 1 view -0 1700 .cfi_startproc 1701 @ args = 0, pretend = 0, frame = 0 1702 @ frame_needed = 0, uses_anonymous_args = 0 541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; ARM GAS /tmp/cc0wMqvE.s page 173 1703 .loc 1 541 1 is_stmt 0 view .LVU588 1704 0000 38B5 push {r3, r4, r5, lr} 1705 .LCFI21: 1706 .cfi_def_cfa_offset 16 1707 .cfi_offset 3, -16 1708 .cfi_offset 4, -12 1709 .cfi_offset 5, -8 1710 .cfi_offset 14, -4 542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1711 .loc 1 542 3 is_stmt 1 view .LVU589 545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1712 .loc 1 545 3 view .LVU590 548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1713 .loc 1 548 3 view .LVU591 548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1714 .loc 1 548 11 is_stmt 0 view .LVU592 1715 0002 90F83D40 ldrb r4, [r0, #61] @ zero_extendqisi2 1716 0006 E4B2 uxtb r4, r4 548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1717 .loc 1 548 6 view .LVU593 1718 0008 022C cmp r4, #2 1719 000a 51D0 beq .L76 1720 000c 0546 mov r5, r0 552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1721 .loc 1 552 8 is_stmt 1 view .LVU594 552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1722 .loc 1 552 16 is_stmt 0 view .LVU595 1723 000e 90F83D40 ldrb r4, [r0, #61] @ zero_extendqisi2 1724 0012 E4B2 uxtb r4, r4 552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1725 .loc 1 552 11 view .LVU596 1726 0014 012C cmp r4, #1 1727 0016 4AD1 bne .L80 554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1728 .loc 1 554 5 is_stmt 1 view .LVU597 554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1729 .loc 1 554 8 is_stmt 0 view .LVU598 1730 0018 0029 cmp r1, #0 1731 001a 37D0 beq .L84 1732 .L77: 560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1733 .loc 1 560 7 is_stmt 1 view .LVU599 560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1734 .loc 1 560 19 is_stmt 0 view .LVU600 1735 001c 0223 movs r3, #2 1736 001e 85F83D30 strb r3, [r5, #61] 569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 1737 .loc 1 569 3 is_stmt 1 view .LVU601 569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 1738 .loc 1 569 13 is_stmt 0 view .LVU602 1739 0022 2B6A ldr r3, [r5, #32] 569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 1740 .loc 1 569 51 view .LVU603 1741 0024 2548 ldr r0, .L85 1742 .LVL166: 569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 1743 .loc 1 569 51 view .LVU604 ARM GAS /tmp/cc0wMqvE.s page 174 1744 0026 D862 str r0, [r3, #44] 570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1745 .loc 1 570 3 is_stmt 1 view .LVU605 570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1746 .loc 1 570 13 is_stmt 0 view .LVU606 1747 0028 2B6A ldr r3, [r5, #32] 570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1748 .loc 1 570 55 view .LVU607 1749 002a 2548 ldr r0, .L85+4 1750 002c 1863 str r0, [r3, #48] 573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1751 .loc 1 573 3 is_stmt 1 view .LVU608 573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1752 .loc 1 573 13 is_stmt 0 view .LVU609 1753 002e 2B6A ldr r3, [r5, #32] 573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1754 .loc 1 573 52 view .LVU610 1755 0030 2448 ldr r0, .L85+8 1756 0032 5863 str r0, [r3, #52] 576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1757 .loc 1 576 3 is_stmt 1 view .LVU611 576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1758 .loc 1 576 87 is_stmt 0 view .LVU612 1759 0034 2868 ldr r0, [r5] 576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1760 .loc 1 576 7 view .LVU613 1761 0036 1346 mov r3, r2 1762 0038 00F12C02 add r2, r0, #44 1763 .LVL167: 576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1764 .loc 1 576 7 view .LVU614 1765 003c 286A ldr r0, [r5, #32] 1766 003e FFF7FEFF bl HAL_DMA_Start_IT 1767 .LVL168: 576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1768 .loc 1 576 6 view .LVU615 1769 0042 0146 mov r1, r0 1770 0044 0028 cmp r0, #0 1771 0046 33D1 bne .L76 584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1772 .loc 1 584 3 is_stmt 1 view .LVU616 1773 0048 2A68 ldr r2, [r5] 1774 004a D368 ldr r3, [r2, #12] 1775 004c 43F48073 orr r3, r3, #256 1776 0050 D360 str r3, [r2, #12] 587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1777 .loc 1 587 3 view .LVU617 587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1778 .loc 1 587 7 is_stmt 0 view .LVU618 1779 0052 2B68 ldr r3, [r5] 587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1780 .loc 1 587 6 view .LVU619 1781 0054 1C4A ldr r2, .L85+12 1782 0056 9342 cmp r3, r2 1783 0058 1BD0 beq .L78 587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1784 .loc 1 587 7 discriminator 1 view .LVU620 ARM GAS /tmp/cc0wMqvE.s page 175 1785 005a B3F1804F cmp r3, #1073741824 1786 005e 18D0 beq .L78 587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1787 .loc 1 587 7 discriminator 2 view .LVU621 1788 0060 A2F59432 sub r2, r2, #75776 1789 0064 9342 cmp r3, r2 1790 0066 14D0 beq .L78 587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1791 .loc 1 587 7 discriminator 3 view .LVU622 1792 0068 02F58062 add r2, r2, #1024 1793 006c 9342 cmp r3, r2 1794 006e 10D0 beq .L78 587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1795 .loc 1 587 7 discriminator 4 view .LVU623 1796 0070 02F59632 add r2, r2, #76800 1797 0074 9342 cmp r3, r2 1798 0076 0CD0 beq .L78 587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1799 .loc 1 587 7 discriminator 5 view .LVU624 1800 0078 02F54062 add r2, r2, #3072 1801 007c 9342 cmp r3, r2 1802 007e 08D0 beq .L78 597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1803 .loc 1 597 5 is_stmt 1 view .LVU625 1804 0080 1A68 ldr r2, [r3] 1805 0082 42F00102 orr r2, r2, #1 1806 0086 1A60 str r2, [r3] 601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1807 .loc 1 601 10 is_stmt 0 view .LVU626 1808 0088 0446 mov r4, r0 1809 008a 11E0 b .L76 1810 .LVL169: 1811 .L84: 554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1812 .loc 1 554 25 discriminator 1 view .LVU627 1813 008c 002A cmp r2, #0 1814 008e C5D0 beq .L77 1815 0090 0EE0 b .L76 1816 .LVL170: 1817 .L78: 589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1818 .loc 1 589 5 is_stmt 1 view .LVU628 589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1819 .loc 1 589 29 is_stmt 0 view .LVU629 1820 0092 9868 ldr r0, [r3, #8] 589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1821 .loc 1 589 13 view .LVU630 1822 0094 0D4A ldr r2, .L85+16 1823 0096 0240 ands r2, r2, r0 1824 .LVL171: 590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1825 .loc 1 590 5 is_stmt 1 view .LVU631 590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1826 .loc 1 590 8 is_stmt 0 view .LVU632 1827 0098 062A cmp r2, #6 1828 009a 0BD0 beq .L81 590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 176 1829 .loc 1 590 9 discriminator 1 view .LVU633 1830 009c B2F5803F cmp r2, #65536 1831 00a0 0AD0 beq .L82 592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1832 .loc 1 592 7 is_stmt 1 view .LVU634 1833 00a2 1A68 ldr r2, [r3] 1834 .LVL172: 592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1835 .loc 1 592 7 is_stmt 0 view .LVU635 1836 00a4 42F00102 orr r2, r2, #1 1837 00a8 1A60 str r2, [r3] 601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1838 .loc 1 601 10 view .LVU636 1839 00aa 0C46 mov r4, r1 1840 00ac 00E0 b .L76 1841 .LVL173: 1842 .L80: 565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1843 .loc 1 565 12 view .LVU637 1844 00ae 0124 movs r4, #1 1845 .LVL174: 1846 .L76: 602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1847 .loc 1 602 1 view .LVU638 1848 00b0 2046 mov r0, r4 1849 00b2 38BD pop {r3, r4, r5, pc} 1850 .LVL175: 1851 .L81: 601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1852 .loc 1 601 10 view .LVU639 1853 00b4 0C46 mov r4, r1 1854 00b6 FBE7 b .L76 1855 .L82: 1856 00b8 0C46 mov r4, r1 1857 00ba F9E7 b .L76 1858 .L86: 1859 .align 2 1860 .L85: 1861 00bc 00000000 .word TIM_DMAPeriodElapsedCplt 1862 00c0 00000000 .word TIM_DMAPeriodElapsedHalfCplt 1863 00c4 00000000 .word TIM_DMAError 1864 00c8 002C0140 .word 1073818624 1865 00cc 07000100 .word 65543 1866 .cfi_endproc 1867 .LFE337: 1869 .section .text.HAL_TIM_Base_Stop_DMA,"ax",%progbits 1870 .align 1 1871 .global HAL_TIM_Base_Stop_DMA 1872 .syntax unified 1873 .thumb 1874 .thumb_func 1876 HAL_TIM_Base_Stop_DMA: 1877 .LVL176: 1878 .LFB338: 610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1879 .loc 1 610 1 is_stmt 1 view -0 1880 .cfi_startproc ARM GAS /tmp/cc0wMqvE.s page 177 1881 @ args = 0, pretend = 0, frame = 0 1882 @ frame_needed = 0, uses_anonymous_args = 0 610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1883 .loc 1 610 1 is_stmt 0 view .LVU641 1884 0000 10B5 push {r4, lr} 1885 .LCFI22: 1886 .cfi_def_cfa_offset 8 1887 .cfi_offset 4, -8 1888 .cfi_offset 14, -4 1889 0002 0446 mov r4, r0 612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1890 .loc 1 612 3 is_stmt 1 view .LVU642 615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1891 .loc 1 615 3 view .LVU643 1892 0004 0268 ldr r2, [r0] 1893 0006 D368 ldr r3, [r2, #12] 1894 0008 23F48073 bic r3, r3, #256 1895 000c D360 str r3, [r2, #12] 617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1896 .loc 1 617 3 view .LVU644 617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1897 .loc 1 617 9 is_stmt 0 view .LVU645 1898 000e 006A ldr r0, [r0, #32] 1899 .LVL177: 617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1900 .loc 1 617 9 view .LVU646 1901 0010 FFF7FEFF bl HAL_DMA_Abort_IT 1902 .LVL178: 620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1903 .loc 1 620 3 is_stmt 1 view .LVU647 620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1904 .loc 1 620 3 view .LVU648 1905 0014 2368 ldr r3, [r4] 1906 0016 196A ldr r1, [r3, #32] 1907 0018 41F21112 movw r2, #4369 1908 001c 1142 tst r1, r2 1909 001e 08D1 bne .L88 620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1910 .loc 1 620 3 discriminator 1 view .LVU649 1911 0020 196A ldr r1, [r3, #32] 1912 0022 44F24442 movw r2, #17476 1913 0026 1142 tst r1, r2 1914 0028 03D1 bne .L88 620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1915 .loc 1 620 3 discriminator 3 view .LVU650 1916 002a 1A68 ldr r2, [r3] 1917 002c 22F00102 bic r2, r2, #1 1918 0030 1A60 str r2, [r3] 1919 .L88: 620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1920 .loc 1 620 3 discriminator 5 view .LVU651 623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1921 .loc 1 623 3 discriminator 5 view .LVU652 623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1922 .loc 1 623 15 is_stmt 0 discriminator 5 view .LVU653 1923 0032 0123 movs r3, #1 1924 0034 84F83D30 strb r3, [r4, #61] ARM GAS /tmp/cc0wMqvE.s page 178 626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1925 .loc 1 626 3 is_stmt 1 discriminator 5 view .LVU654 627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1926 .loc 1 627 1 is_stmt 0 discriminator 5 view .LVU655 1927 0038 0020 movs r0, #0 1928 003a 10BD pop {r4, pc} 627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1929 .loc 1 627 1 discriminator 5 view .LVU656 1930 .cfi_endproc 1931 .LFE338: 1933 .section .text.HAL_TIM_OC_MspInit,"ax",%progbits 1934 .align 1 1935 .weak HAL_TIM_OC_MspInit 1936 .syntax unified 1937 .thumb 1938 .thumb_func 1940 HAL_TIM_OC_MspInit: 1941 .LVL179: 1942 .LFB341: 767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 1943 .loc 1 767 1 is_stmt 1 view -0 1944 .cfi_startproc 1945 @ args = 0, pretend = 0, frame = 0 1946 @ frame_needed = 0, uses_anonymous_args = 0 1947 @ link register save eliminated. 769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1948 .loc 1 769 3 view .LVU658 774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1949 .loc 1 774 1 is_stmt 0 view .LVU659 1950 0000 7047 bx lr 1951 .cfi_endproc 1952 .LFE341: 1954 .section .text.HAL_TIM_OC_MspDeInit,"ax",%progbits 1955 .align 1 1956 .weak HAL_TIM_OC_MspDeInit 1957 .syntax unified 1958 .thumb 1959 .thumb_func 1961 HAL_TIM_OC_MspDeInit: 1962 .LVL180: 1963 .LFB342: 782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 1964 .loc 1 782 1 is_stmt 1 view -0 1965 .cfi_startproc 1966 @ args = 0, pretend = 0, frame = 0 1967 @ frame_needed = 0, uses_anonymous_args = 0 1968 @ link register save eliminated. 784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1969 .loc 1 784 3 view .LVU661 789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1970 .loc 1 789 1 is_stmt 0 view .LVU662 1971 0000 7047 bx lr 1972 .cfi_endproc 1973 .LFE342: 1975 .section .text.HAL_TIM_OC_DeInit,"ax",%progbits 1976 .align 1 1977 .global HAL_TIM_OC_DeInit ARM GAS /tmp/cc0wMqvE.s page 179 1978 .syntax unified 1979 .thumb 1980 .thumb_func 1982 HAL_TIM_OC_DeInit: 1983 .LVL181: 1984 .LFB340: 724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1985 .loc 1 724 1 is_stmt 1 view -0 1986 .cfi_startproc 1987 @ args = 0, pretend = 0, frame = 0 1988 @ frame_needed = 0, uses_anonymous_args = 0 724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1989 .loc 1 724 1 is_stmt 0 view .LVU664 1990 0000 10B5 push {r4, lr} 1991 .LCFI23: 1992 .cfi_def_cfa_offset 8 1993 .cfi_offset 4, -8 1994 .cfi_offset 14, -4 1995 0002 0446 mov r4, r0 726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1996 .loc 1 726 3 is_stmt 1 view .LVU665 728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1997 .loc 1 728 3 view .LVU666 728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1998 .loc 1 728 15 is_stmt 0 view .LVU667 1999 0004 0223 movs r3, #2 2000 0006 80F83D30 strb r3, [r0, #61] 731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2001 .loc 1 731 3 is_stmt 1 view .LVU668 731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2002 .loc 1 731 3 view .LVU669 2003 000a 0368 ldr r3, [r0] 2004 000c 196A ldr r1, [r3, #32] 2005 000e 41F21112 movw r2, #4369 2006 0012 1142 tst r1, r2 2007 0014 08D1 bne .L93 731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2008 .loc 1 731 3 discriminator 1 view .LVU670 2009 0016 196A ldr r1, [r3, #32] 2010 0018 44F24442 movw r2, #17476 2011 001c 1142 tst r1, r2 2012 001e 03D1 bne .L93 731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2013 .loc 1 731 3 discriminator 3 view .LVU671 2014 0020 1A68 ldr r2, [r3] 2015 0022 22F00102 bic r2, r2, #1 2016 0026 1A60 str r2, [r3] 2017 .L93: 731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2018 .loc 1 731 3 discriminator 5 view .LVU672 742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2019 .loc 1 742 3 discriminator 5 view .LVU673 2020 0028 2046 mov r0, r4 2021 .LVL182: 742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2022 .loc 1 742 3 is_stmt 0 discriminator 5 view .LVU674 2023 002a FFF7FEFF bl HAL_TIM_OC_MspDeInit ARM GAS /tmp/cc0wMqvE.s page 180 2024 .LVL183: 746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2025 .loc 1 746 3 is_stmt 1 discriminator 5 view .LVU675 746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2026 .loc 1 746 23 is_stmt 0 discriminator 5 view .LVU676 2027 002e 0020 movs r0, #0 2028 0030 84F84800 strb r0, [r4, #72] 749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2029 .loc 1 749 3 is_stmt 1 discriminator 5 view .LVU677 749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2030 .loc 1 749 3 discriminator 5 view .LVU678 2031 0034 84F83E00 strb r0, [r4, #62] 749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2032 .loc 1 749 3 discriminator 5 view .LVU679 2033 0038 84F83F00 strb r0, [r4, #63] 749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2034 .loc 1 749 3 discriminator 5 view .LVU680 2035 003c 84F84000 strb r0, [r4, #64] 749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2036 .loc 1 749 3 discriminator 5 view .LVU681 2037 0040 84F84100 strb r0, [r4, #65] 749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2038 .loc 1 749 3 discriminator 5 view .LVU682 2039 0044 84F84200 strb r0, [r4, #66] 749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2040 .loc 1 749 3 discriminator 5 view .LVU683 2041 0048 84F84300 strb r0, [r4, #67] 749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2042 .loc 1 749 3 discriminator 5 view .LVU684 750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2043 .loc 1 750 3 discriminator 5 view .LVU685 750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2044 .loc 1 750 3 discriminator 5 view .LVU686 2045 004c 84F84400 strb r0, [r4, #68] 750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2046 .loc 1 750 3 discriminator 5 view .LVU687 2047 0050 84F84500 strb r0, [r4, #69] 750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2048 .loc 1 750 3 discriminator 5 view .LVU688 2049 0054 84F84600 strb r0, [r4, #70] 750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2050 .loc 1 750 3 discriminator 5 view .LVU689 2051 0058 84F84700 strb r0, [r4, #71] 750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2052 .loc 1 750 3 discriminator 5 view .LVU690 753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2053 .loc 1 753 3 discriminator 5 view .LVU691 753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2054 .loc 1 753 15 is_stmt 0 discriminator 5 view .LVU692 2055 005c 84F83D00 strb r0, [r4, #61] 756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2056 .loc 1 756 3 is_stmt 1 discriminator 5 view .LVU693 756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2057 .loc 1 756 3 discriminator 5 view .LVU694 2058 0060 84F83C00 strb r0, [r4, #60] 756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2059 .loc 1 756 3 discriminator 5 view .LVU695 ARM GAS /tmp/cc0wMqvE.s page 181 758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2060 .loc 1 758 3 discriminator 5 view .LVU696 759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2061 .loc 1 759 1 is_stmt 0 discriminator 5 view .LVU697 2062 0064 10BD pop {r4, pc} 759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2063 .loc 1 759 1 discriminator 5 view .LVU698 2064 .cfi_endproc 2065 .LFE340: 2067 .section .text.HAL_TIM_PWM_MspInit,"ax",%progbits 2068 .align 1 2069 .weak HAL_TIM_PWM_MspInit 2070 .syntax unified 2071 .thumb 2072 .thumb_func 2074 HAL_TIM_PWM_MspInit: 2075 .LVL184: 2076 .LFB351: 1434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2077 .loc 1 1434 1 is_stmt 1 view -0 2078 .cfi_startproc 2079 @ args = 0, pretend = 0, frame = 0 2080 @ frame_needed = 0, uses_anonymous_args = 0 2081 @ link register save eliminated. 1436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2082 .loc 1 1436 3 view .LVU700 1441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2083 .loc 1 1441 1 is_stmt 0 view .LVU701 2084 0000 7047 bx lr 2085 .cfi_endproc 2086 .LFE351: 2088 .section .text.HAL_TIM_PWM_MspDeInit,"ax",%progbits 2089 .align 1 2090 .weak HAL_TIM_PWM_MspDeInit 2091 .syntax unified 2092 .thumb 2093 .thumb_func 2095 HAL_TIM_PWM_MspDeInit: 2096 .LVL185: 2097 .LFB352: 1449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2098 .loc 1 1449 1 is_stmt 1 view -0 2099 .cfi_startproc 2100 @ args = 0, pretend = 0, frame = 0 2101 @ frame_needed = 0, uses_anonymous_args = 0 2102 @ link register save eliminated. 1451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2103 .loc 1 1451 3 view .LVU703 1456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2104 .loc 1 1456 1 is_stmt 0 view .LVU704 2105 0000 7047 bx lr 2106 .cfi_endproc 2107 .LFE352: 2109 .section .text.HAL_TIM_PWM_DeInit,"ax",%progbits 2110 .align 1 2111 .global HAL_TIM_PWM_DeInit 2112 .syntax unified ARM GAS /tmp/cc0wMqvE.s page 182 2113 .thumb 2114 .thumb_func 2116 HAL_TIM_PWM_DeInit: 2117 .LVL186: 2118 .LFB350: 1391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2119 .loc 1 1391 1 is_stmt 1 view -0 2120 .cfi_startproc 2121 @ args = 0, pretend = 0, frame = 0 2122 @ frame_needed = 0, uses_anonymous_args = 0 1391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2123 .loc 1 1391 1 is_stmt 0 view .LVU706 2124 0000 10B5 push {r4, lr} 2125 .LCFI24: 2126 .cfi_def_cfa_offset 8 2127 .cfi_offset 4, -8 2128 .cfi_offset 14, -4 2129 0002 0446 mov r4, r0 1393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2130 .loc 1 1393 3 is_stmt 1 view .LVU707 1395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2131 .loc 1 1395 3 view .LVU708 1395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2132 .loc 1 1395 15 is_stmt 0 view .LVU709 2133 0004 0223 movs r3, #2 2134 0006 80F83D30 strb r3, [r0, #61] 1398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2135 .loc 1 1398 3 is_stmt 1 view .LVU710 1398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2136 .loc 1 1398 3 view .LVU711 2137 000a 0368 ldr r3, [r0] 2138 000c 196A ldr r1, [r3, #32] 2139 000e 41F21112 movw r2, #4369 2140 0012 1142 tst r1, r2 2141 0014 08D1 bne .L98 1398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2142 .loc 1 1398 3 discriminator 1 view .LVU712 2143 0016 196A ldr r1, [r3, #32] 2144 0018 44F24442 movw r2, #17476 2145 001c 1142 tst r1, r2 2146 001e 03D1 bne .L98 1398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2147 .loc 1 1398 3 discriminator 3 view .LVU713 2148 0020 1A68 ldr r2, [r3] 2149 0022 22F00102 bic r2, r2, #1 2150 0026 1A60 str r2, [r3] 2151 .L98: 1398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2152 .loc 1 1398 3 discriminator 5 view .LVU714 1409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2153 .loc 1 1409 3 discriminator 5 view .LVU715 2154 0028 2046 mov r0, r4 2155 .LVL187: 1409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2156 .loc 1 1409 3 is_stmt 0 discriminator 5 view .LVU716 2157 002a FFF7FEFF bl HAL_TIM_PWM_MspDeInit 2158 .LVL188: ARM GAS /tmp/cc0wMqvE.s page 183 1413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2159 .loc 1 1413 3 is_stmt 1 discriminator 5 view .LVU717 1413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2160 .loc 1 1413 23 is_stmt 0 discriminator 5 view .LVU718 2161 002e 0020 movs r0, #0 2162 0030 84F84800 strb r0, [r4, #72] 1416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2163 .loc 1 1416 3 is_stmt 1 discriminator 5 view .LVU719 1416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2164 .loc 1 1416 3 discriminator 5 view .LVU720 2165 0034 84F83E00 strb r0, [r4, #62] 1416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2166 .loc 1 1416 3 discriminator 5 view .LVU721 2167 0038 84F83F00 strb r0, [r4, #63] 1416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2168 .loc 1 1416 3 discriminator 5 view .LVU722 2169 003c 84F84000 strb r0, [r4, #64] 1416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2170 .loc 1 1416 3 discriminator 5 view .LVU723 2171 0040 84F84100 strb r0, [r4, #65] 1416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2172 .loc 1 1416 3 discriminator 5 view .LVU724 2173 0044 84F84200 strb r0, [r4, #66] 1416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2174 .loc 1 1416 3 discriminator 5 view .LVU725 2175 0048 84F84300 strb r0, [r4, #67] 1416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2176 .loc 1 1416 3 discriminator 5 view .LVU726 1417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2177 .loc 1 1417 3 discriminator 5 view .LVU727 1417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2178 .loc 1 1417 3 discriminator 5 view .LVU728 2179 004c 84F84400 strb r0, [r4, #68] 1417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2180 .loc 1 1417 3 discriminator 5 view .LVU729 2181 0050 84F84500 strb r0, [r4, #69] 1417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2182 .loc 1 1417 3 discriminator 5 view .LVU730 2183 0054 84F84600 strb r0, [r4, #70] 1417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2184 .loc 1 1417 3 discriminator 5 view .LVU731 2185 0058 84F84700 strb r0, [r4, #71] 1417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2186 .loc 1 1417 3 discriminator 5 view .LVU732 1420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2187 .loc 1 1420 3 discriminator 5 view .LVU733 1420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2188 .loc 1 1420 15 is_stmt 0 discriminator 5 view .LVU734 2189 005c 84F83D00 strb r0, [r4, #61] 1423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2190 .loc 1 1423 3 is_stmt 1 discriminator 5 view .LVU735 1423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2191 .loc 1 1423 3 discriminator 5 view .LVU736 2192 0060 84F83C00 strb r0, [r4, #60] 1423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2193 .loc 1 1423 3 discriminator 5 view .LVU737 1425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 184 2194 .loc 1 1425 3 discriminator 5 view .LVU738 1426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2195 .loc 1 1426 1 is_stmt 0 discriminator 5 view .LVU739 2196 0064 10BD pop {r4, pc} 1426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2197 .loc 1 1426 1 discriminator 5 view .LVU740 2198 .cfi_endproc 2199 .LFE350: 2201 .section .text.HAL_TIM_IC_MspInit,"ax",%progbits 2202 .align 1 2203 .weak HAL_TIM_IC_MspInit 2204 .syntax unified 2205 .thumb 2206 .thumb_func 2208 HAL_TIM_IC_MspInit: 2209 .LVL189: 2210 .LFB361: 2100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2211 .loc 1 2100 1 is_stmt 1 view -0 2212 .cfi_startproc 2213 @ args = 0, pretend = 0, frame = 0 2214 @ frame_needed = 0, uses_anonymous_args = 0 2215 @ link register save eliminated. 2102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2216 .loc 1 2102 3 view .LVU742 2107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2217 .loc 1 2107 1 is_stmt 0 view .LVU743 2218 0000 7047 bx lr 2219 .cfi_endproc 2220 .LFE361: 2222 .section .text.HAL_TIM_IC_MspDeInit,"ax",%progbits 2223 .align 1 2224 .weak HAL_TIM_IC_MspDeInit 2225 .syntax unified 2226 .thumb 2227 .thumb_func 2229 HAL_TIM_IC_MspDeInit: 2230 .LVL190: 2231 .LFB362: 2115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2232 .loc 1 2115 1 is_stmt 1 view -0 2233 .cfi_startproc 2234 @ args = 0, pretend = 0, frame = 0 2235 @ frame_needed = 0, uses_anonymous_args = 0 2236 @ link register save eliminated. 2117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2237 .loc 1 2117 3 view .LVU745 2122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2238 .loc 1 2122 1 is_stmt 0 view .LVU746 2239 0000 7047 bx lr 2240 .cfi_endproc 2241 .LFE362: 2243 .section .text.HAL_TIM_IC_DeInit,"ax",%progbits 2244 .align 1 2245 .global HAL_TIM_IC_DeInit 2246 .syntax unified 2247 .thumb ARM GAS /tmp/cc0wMqvE.s page 185 2248 .thumb_func 2250 HAL_TIM_IC_DeInit: 2251 .LVL191: 2252 .LFB360: 2057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2253 .loc 1 2057 1 is_stmt 1 view -0 2254 .cfi_startproc 2255 @ args = 0, pretend = 0, frame = 0 2256 @ frame_needed = 0, uses_anonymous_args = 0 2057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2257 .loc 1 2057 1 is_stmt 0 view .LVU748 2258 0000 10B5 push {r4, lr} 2259 .LCFI25: 2260 .cfi_def_cfa_offset 8 2261 .cfi_offset 4, -8 2262 .cfi_offset 14, -4 2263 0002 0446 mov r4, r0 2059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2264 .loc 1 2059 3 is_stmt 1 view .LVU749 2061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2265 .loc 1 2061 3 view .LVU750 2061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2266 .loc 1 2061 15 is_stmt 0 view .LVU751 2267 0004 0223 movs r3, #2 2268 0006 80F83D30 strb r3, [r0, #61] 2064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2269 .loc 1 2064 3 is_stmt 1 view .LVU752 2064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2270 .loc 1 2064 3 view .LVU753 2271 000a 0368 ldr r3, [r0] 2272 000c 196A ldr r1, [r3, #32] 2273 000e 41F21112 movw r2, #4369 2274 0012 1142 tst r1, r2 2275 0014 08D1 bne .L103 2064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2276 .loc 1 2064 3 discriminator 1 view .LVU754 2277 0016 196A ldr r1, [r3, #32] 2278 0018 44F24442 movw r2, #17476 2279 001c 1142 tst r1, r2 2280 001e 03D1 bne .L103 2064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2281 .loc 1 2064 3 discriminator 3 view .LVU755 2282 0020 1A68 ldr r2, [r3] 2283 0022 22F00102 bic r2, r2, #1 2284 0026 1A60 str r2, [r3] 2285 .L103: 2064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2286 .loc 1 2064 3 discriminator 5 view .LVU756 2075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2287 .loc 1 2075 3 discriminator 5 view .LVU757 2288 0028 2046 mov r0, r4 2289 .LVL192: 2075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2290 .loc 1 2075 3 is_stmt 0 discriminator 5 view .LVU758 2291 002a FFF7FEFF bl HAL_TIM_IC_MspDeInit 2292 .LVL193: 2079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 186 2293 .loc 1 2079 3 is_stmt 1 discriminator 5 view .LVU759 2079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2294 .loc 1 2079 23 is_stmt 0 discriminator 5 view .LVU760 2295 002e 0020 movs r0, #0 2296 0030 84F84800 strb r0, [r4, #72] 2082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2297 .loc 1 2082 3 is_stmt 1 discriminator 5 view .LVU761 2082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2298 .loc 1 2082 3 discriminator 5 view .LVU762 2299 0034 84F83E00 strb r0, [r4, #62] 2082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2300 .loc 1 2082 3 discriminator 5 view .LVU763 2301 0038 84F83F00 strb r0, [r4, #63] 2082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2302 .loc 1 2082 3 discriminator 5 view .LVU764 2303 003c 84F84000 strb r0, [r4, #64] 2082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2304 .loc 1 2082 3 discriminator 5 view .LVU765 2305 0040 84F84100 strb r0, [r4, #65] 2082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2306 .loc 1 2082 3 discriminator 5 view .LVU766 2307 0044 84F84200 strb r0, [r4, #66] 2082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2308 .loc 1 2082 3 discriminator 5 view .LVU767 2309 0048 84F84300 strb r0, [r4, #67] 2082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2310 .loc 1 2082 3 discriminator 5 view .LVU768 2083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2311 .loc 1 2083 3 discriminator 5 view .LVU769 2083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2312 .loc 1 2083 3 discriminator 5 view .LVU770 2313 004c 84F84400 strb r0, [r4, #68] 2083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2314 .loc 1 2083 3 discriminator 5 view .LVU771 2315 0050 84F84500 strb r0, [r4, #69] 2083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2316 .loc 1 2083 3 discriminator 5 view .LVU772 2317 0054 84F84600 strb r0, [r4, #70] 2083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2318 .loc 1 2083 3 discriminator 5 view .LVU773 2319 0058 84F84700 strb r0, [r4, #71] 2083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2320 .loc 1 2083 3 discriminator 5 view .LVU774 2086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2321 .loc 1 2086 3 discriminator 5 view .LVU775 2086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2322 .loc 1 2086 15 is_stmt 0 discriminator 5 view .LVU776 2323 005c 84F83D00 strb r0, [r4, #61] 2089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2324 .loc 1 2089 3 is_stmt 1 discriminator 5 view .LVU777 2089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2325 .loc 1 2089 3 discriminator 5 view .LVU778 2326 0060 84F83C00 strb r0, [r4, #60] 2089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2327 .loc 1 2089 3 discriminator 5 view .LVU779 2091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2328 .loc 1 2091 3 discriminator 5 view .LVU780 ARM GAS /tmp/cc0wMqvE.s page 187 2092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2329 .loc 1 2092 1 is_stmt 0 discriminator 5 view .LVU781 2330 0064 10BD pop {r4, pc} 2092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2331 .loc 1 2092 1 discriminator 5 view .LVU782 2332 .cfi_endproc 2333 .LFE360: 2335 .section .text.HAL_TIM_OnePulse_MspInit,"ax",%progbits 2336 .align 1 2337 .weak HAL_TIM_OnePulse_MspInit 2338 .syntax unified 2339 .thumb 2340 .thumb_func 2342 HAL_TIM_OnePulse_MspInit: 2343 .LVL194: 2344 .LFB371: 2759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2345 .loc 1 2759 1 is_stmt 1 view -0 2346 .cfi_startproc 2347 @ args = 0, pretend = 0, frame = 0 2348 @ frame_needed = 0, uses_anonymous_args = 0 2349 @ link register save eliminated. 2761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2350 .loc 1 2761 3 view .LVU784 2766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2351 .loc 1 2766 1 is_stmt 0 view .LVU785 2352 0000 7047 bx lr 2353 .cfi_endproc 2354 .LFE371: 2356 .section .text.HAL_TIM_OnePulse_MspDeInit,"ax",%progbits 2357 .align 1 2358 .weak HAL_TIM_OnePulse_MspDeInit 2359 .syntax unified 2360 .thumb 2361 .thumb_func 2363 HAL_TIM_OnePulse_MspDeInit: 2364 .LVL195: 2365 .LFB372: 2774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2366 .loc 1 2774 1 is_stmt 1 view -0 2367 .cfi_startproc 2368 @ args = 0, pretend = 0, frame = 0 2369 @ frame_needed = 0, uses_anonymous_args = 0 2370 @ link register save eliminated. 2776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2371 .loc 1 2776 3 view .LVU787 2781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2372 .loc 1 2781 1 is_stmt 0 view .LVU788 2373 0000 7047 bx lr 2374 .cfi_endproc 2375 .LFE372: 2377 .section .text.HAL_TIM_OnePulse_DeInit,"ax",%progbits 2378 .align 1 2379 .global HAL_TIM_OnePulse_DeInit 2380 .syntax unified 2381 .thumb 2382 .thumb_func ARM GAS /tmp/cc0wMqvE.s page 188 2384 HAL_TIM_OnePulse_DeInit: 2385 .LVL196: 2386 .LFB370: 2714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2387 .loc 1 2714 1 is_stmt 1 view -0 2388 .cfi_startproc 2389 @ args = 0, pretend = 0, frame = 0 2390 @ frame_needed = 0, uses_anonymous_args = 0 2714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2391 .loc 1 2714 1 is_stmt 0 view .LVU790 2392 0000 10B5 push {r4, lr} 2393 .LCFI26: 2394 .cfi_def_cfa_offset 8 2395 .cfi_offset 4, -8 2396 .cfi_offset 14, -4 2397 0002 0446 mov r4, r0 2716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2398 .loc 1 2716 3 is_stmt 1 view .LVU791 2718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2399 .loc 1 2718 3 view .LVU792 2718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2400 .loc 1 2718 15 is_stmt 0 view .LVU793 2401 0004 0223 movs r3, #2 2402 0006 80F83D30 strb r3, [r0, #61] 2721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2403 .loc 1 2721 3 is_stmt 1 view .LVU794 2721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2404 .loc 1 2721 3 view .LVU795 2405 000a 0368 ldr r3, [r0] 2406 000c 196A ldr r1, [r3, #32] 2407 000e 41F21112 movw r2, #4369 2408 0012 1142 tst r1, r2 2409 0014 08D1 bne .L108 2721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2410 .loc 1 2721 3 discriminator 1 view .LVU796 2411 0016 196A ldr r1, [r3, #32] 2412 0018 44F24442 movw r2, #17476 2413 001c 1142 tst r1, r2 2414 001e 03D1 bne .L108 2721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2415 .loc 1 2721 3 discriminator 3 view .LVU797 2416 0020 1A68 ldr r2, [r3] 2417 0022 22F00102 bic r2, r2, #1 2418 0026 1A60 str r2, [r3] 2419 .L108: 2721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2420 .loc 1 2721 3 discriminator 5 view .LVU798 2732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2421 .loc 1 2732 3 discriminator 5 view .LVU799 2422 0028 2046 mov r0, r4 2423 .LVL197: 2732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2424 .loc 1 2732 3 is_stmt 0 discriminator 5 view .LVU800 2425 002a FFF7FEFF bl HAL_TIM_OnePulse_MspDeInit 2426 .LVL198: 2736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2427 .loc 1 2736 3 is_stmt 1 discriminator 5 view .LVU801 ARM GAS /tmp/cc0wMqvE.s page 189 2736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2428 .loc 1 2736 23 is_stmt 0 discriminator 5 view .LVU802 2429 002e 0020 movs r0, #0 2430 0030 84F84800 strb r0, [r4, #72] 2739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET); 2431 .loc 1 2739 3 is_stmt 1 discriminator 5 view .LVU803 2432 0034 84F83E00 strb r0, [r4, #62] 2740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET); 2433 .loc 1 2740 3 discriminator 5 view .LVU804 2434 0038 84F83F00 strb r0, [r4, #63] 2741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET); 2435 .loc 1 2741 3 discriminator 5 view .LVU805 2436 003c 84F84400 strb r0, [r4, #68] 2742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2437 .loc 1 2742 3 discriminator 5 view .LVU806 2438 0040 84F84500 strb r0, [r4, #69] 2745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2439 .loc 1 2745 3 discriminator 5 view .LVU807 2745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2440 .loc 1 2745 15 is_stmt 0 discriminator 5 view .LVU808 2441 0044 84F83D00 strb r0, [r4, #61] 2748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2442 .loc 1 2748 3 is_stmt 1 discriminator 5 view .LVU809 2748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2443 .loc 1 2748 3 discriminator 5 view .LVU810 2444 0048 84F83C00 strb r0, [r4, #60] 2748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2445 .loc 1 2748 3 discriminator 5 view .LVU811 2750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2446 .loc 1 2750 3 discriminator 5 view .LVU812 2751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2447 .loc 1 2751 1 is_stmt 0 discriminator 5 view .LVU813 2448 004c 10BD pop {r4, pc} 2751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2449 .loc 1 2751 1 discriminator 5 view .LVU814 2450 .cfi_endproc 2451 .LFE370: 2453 .section .text.HAL_TIM_Encoder_MspInit,"ax",%progbits 2454 .align 1 2455 .weak HAL_TIM_Encoder_MspInit 2456 .syntax unified 2457 .thumb 2458 .thumb_func 2460 HAL_TIM_Encoder_MspInit: 2461 .LVL199: 2462 .LFB379: 3195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2463 .loc 1 3195 1 is_stmt 1 view -0 2464 .cfi_startproc 2465 @ args = 0, pretend = 0, frame = 0 2466 @ frame_needed = 0, uses_anonymous_args = 0 2467 @ link register save eliminated. 3197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2468 .loc 1 3197 3 view .LVU816 3202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2469 .loc 1 3202 1 is_stmt 0 view .LVU817 2470 0000 7047 bx lr ARM GAS /tmp/cc0wMqvE.s page 190 2471 .cfi_endproc 2472 .LFE379: 2474 .section .text.HAL_TIM_Encoder_MspDeInit,"ax",%progbits 2475 .align 1 2476 .weak HAL_TIM_Encoder_MspDeInit 2477 .syntax unified 2478 .thumb 2479 .thumb_func 2481 HAL_TIM_Encoder_MspDeInit: 2482 .LVL200: 2483 .LFB380: 3210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2484 .loc 1 3210 1 is_stmt 1 view -0 2485 .cfi_startproc 2486 @ args = 0, pretend = 0, frame = 0 2487 @ frame_needed = 0, uses_anonymous_args = 0 2488 @ link register save eliminated. 3212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2489 .loc 1 3212 3 view .LVU819 3217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2490 .loc 1 3217 1 is_stmt 0 view .LVU820 2491 0000 7047 bx lr 2492 .cfi_endproc 2493 .LFE380: 2495 .section .text.HAL_TIM_Encoder_DeInit,"ax",%progbits 2496 .align 1 2497 .global HAL_TIM_Encoder_DeInit 2498 .syntax unified 2499 .thumb 2500 .thumb_func 2502 HAL_TIM_Encoder_DeInit: 2503 .LVL201: 2504 .LFB378: 3150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2505 .loc 1 3150 1 is_stmt 1 view -0 2506 .cfi_startproc 2507 @ args = 0, pretend = 0, frame = 0 2508 @ frame_needed = 0, uses_anonymous_args = 0 3150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2509 .loc 1 3150 1 is_stmt 0 view .LVU822 2510 0000 10B5 push {r4, lr} 2511 .LCFI27: 2512 .cfi_def_cfa_offset 8 2513 .cfi_offset 4, -8 2514 .cfi_offset 14, -4 2515 0002 0446 mov r4, r0 3152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2516 .loc 1 3152 3 is_stmt 1 view .LVU823 3154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2517 .loc 1 3154 3 view .LVU824 3154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2518 .loc 1 3154 15 is_stmt 0 view .LVU825 2519 0004 0223 movs r3, #2 2520 0006 80F83D30 strb r3, [r0, #61] 3157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2521 .loc 1 3157 3 is_stmt 1 view .LVU826 3157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 191 2522 .loc 1 3157 3 view .LVU827 2523 000a 0368 ldr r3, [r0] 2524 000c 196A ldr r1, [r3, #32] 2525 000e 41F21112 movw r2, #4369 2526 0012 1142 tst r1, r2 2527 0014 08D1 bne .L113 3157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2528 .loc 1 3157 3 discriminator 1 view .LVU828 2529 0016 196A ldr r1, [r3, #32] 2530 0018 44F24442 movw r2, #17476 2531 001c 1142 tst r1, r2 2532 001e 03D1 bne .L113 3157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2533 .loc 1 3157 3 discriminator 3 view .LVU829 2534 0020 1A68 ldr r2, [r3] 2535 0022 22F00102 bic r2, r2, #1 2536 0026 1A60 str r2, [r3] 2537 .L113: 3157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2538 .loc 1 3157 3 discriminator 5 view .LVU830 3168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2539 .loc 1 3168 3 discriminator 5 view .LVU831 2540 0028 2046 mov r0, r4 2541 .LVL202: 3168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2542 .loc 1 3168 3 is_stmt 0 discriminator 5 view .LVU832 2543 002a FFF7FEFF bl HAL_TIM_Encoder_MspDeInit 2544 .LVL203: 3172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2545 .loc 1 3172 3 is_stmt 1 discriminator 5 view .LVU833 3172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2546 .loc 1 3172 23 is_stmt 0 discriminator 5 view .LVU834 2547 002e 0020 movs r0, #0 2548 0030 84F84800 strb r0, [r4, #72] 3175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET); 2549 .loc 1 3175 3 is_stmt 1 discriminator 5 view .LVU835 2550 0034 84F83E00 strb r0, [r4, #62] 3176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET); 2551 .loc 1 3176 3 discriminator 5 view .LVU836 2552 0038 84F83F00 strb r0, [r4, #63] 3177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET); 2553 .loc 1 3177 3 discriminator 5 view .LVU837 2554 003c 84F84400 strb r0, [r4, #68] 3178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2555 .loc 1 3178 3 discriminator 5 view .LVU838 2556 0040 84F84500 strb r0, [r4, #69] 3181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2557 .loc 1 3181 3 discriminator 5 view .LVU839 3181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2558 .loc 1 3181 15 is_stmt 0 discriminator 5 view .LVU840 2559 0044 84F83D00 strb r0, [r4, #61] 3184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2560 .loc 1 3184 3 is_stmt 1 discriminator 5 view .LVU841 3184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2561 .loc 1 3184 3 discriminator 5 view .LVU842 2562 0048 84F83C00 strb r0, [r4, #60] 3184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 192 2563 .loc 1 3184 3 discriminator 5 view .LVU843 3186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2564 .loc 1 3186 3 discriminator 5 view .LVU844 3187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2565 .loc 1 3187 1 is_stmt 0 discriminator 5 view .LVU845 2566 004c 10BD pop {r4, pc} 3187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2567 .loc 1 3187 1 discriminator 5 view .LVU846 2568 .cfi_endproc 2569 .LFE378: 2571 .section .text.HAL_TIM_DMABurst_MultiWriteStart,"ax",%progbits 2572 .align 1 2573 .global HAL_TIM_DMABurst_MultiWriteStart 2574 .syntax unified 2575 .thumb 2576 .thumb_func 2578 HAL_TIM_DMABurst_MultiWriteStart: 2579 .LVL204: 2580 .LFB393: 4689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 2581 .loc 1 4689 1 is_stmt 1 view -0 2582 .cfi_startproc 2583 @ args = 8, pretend = 0, frame = 0 2584 @ frame_needed = 0, uses_anonymous_args = 0 4689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 2585 .loc 1 4689 1 is_stmt 0 view .LVU848 2586 0000 70B5 push {r4, r5, r6, lr} 2587 .LCFI28: 2588 .cfi_def_cfa_offset 16 2589 .cfi_offset 4, -16 2590 .cfi_offset 5, -12 2591 .cfi_offset 6, -8 2592 .cfi_offset 14, -4 2593 0002 0546 mov r5, r0 4690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2594 .loc 1 4690 3 is_stmt 1 view .LVU849 2595 .LVL205: 4693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_BASE(BurstBaseAddress)); 2596 .loc 1 4693 3 view .LVU850 4694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_SOURCE(BurstRequestSrc)); 2597 .loc 1 4694 3 view .LVU851 4695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_LENGTH(BurstLength)); 2598 .loc 1 4695 3 view .LVU852 4696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_DATA_LENGTH(DataLength)); 2599 .loc 1 4696 3 view .LVU853 4697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2600 .loc 1 4697 3 view .LVU854 4699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2601 .loc 1 4699 3 view .LVU855 4699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2602 .loc 1 4699 11 is_stmt 0 view .LVU856 2603 0004 90F84800 ldrb r0, [r0, #72] @ zero_extendqisi2 2604 .LVL206: 4699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2605 .loc 1 4699 11 view .LVU857 2606 0008 C0B2 uxtb r0, r0 4699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 193 2607 .loc 1 4699 6 view .LVU858 2608 000a 0228 cmp r0, #2 2609 000c 4DD0 beq .L116 2610 000e 0E46 mov r6, r1 2611 0010 1446 mov r4, r2 2612 0012 1946 mov r1, r3 2613 .LVL207: 4703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2614 .loc 1 4703 8 is_stmt 1 view .LVU859 4703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2615 .loc 1 4703 16 is_stmt 0 view .LVU860 2616 0014 95F84800 ldrb r0, [r5, #72] @ zero_extendqisi2 2617 0018 C0B2 uxtb r0, r0 4703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2618 .loc 1 4703 11 view .LVU861 2619 001a 0128 cmp r0, #1 2620 001c 1DD0 beq .L136 2621 .LVL208: 2622 .L117: 4717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2623 .loc 1 4717 3 is_stmt 1 view .LVU862 4719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2624 .loc 1 4719 3 view .LVU863 2625 001e B4F5006F cmp r4, #2048 2626 0022 00F08C80 beq .L119 2627 0026 43D8 bhi .L120 2628 0028 B4F5007F cmp r4, #512 2629 002c 73D0 beq .L121 2630 002e B4F5806F cmp r4, #1024 2631 0032 1BD1 bne .L137 4760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2632 .loc 1 4760 7 view .LVU864 4760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2633 .loc 1 4760 17 is_stmt 0 view .LVU865 2634 0034 AB6A ldr r3, [r5, #40] 4760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2635 .loc 1 4760 52 view .LVU866 2636 0036 574A ldr r2, .L143 2637 .LVL209: 4760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2638 .loc 1 4760 52 view .LVU867 2639 0038 DA62 str r2, [r3, #44] 4761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2640 .loc 1 4761 7 is_stmt 1 view .LVU868 4761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2641 .loc 1 4761 17 is_stmt 0 view .LVU869 2642 003a AB6A ldr r3, [r5, #40] 4761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2643 .loc 1 4761 56 view .LVU870 2644 003c 564A ldr r2, .L143+4 2645 003e 1A63 str r2, [r3, #48] 4764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2646 .loc 1 4764 7 is_stmt 1 view .LVU871 4764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2647 .loc 1 4764 17 is_stmt 0 view .LVU872 2648 0040 AB6A ldr r3, [r5, #40] 4764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 194 2649 .loc 1 4764 53 view .LVU873 2650 0042 564A ldr r2, .L143+8 2651 0044 5A63 str r2, [r3, #52] 4767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2652 .loc 1 4767 7 is_stmt 1 view .LVU874 4768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2653 .loc 1 4768 43 is_stmt 0 view .LVU875 2654 0046 2A68 ldr r2, [r5] 4767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2655 .loc 1 4767 11 view .LVU876 2656 0048 059B ldr r3, [sp, #20] 2657 004a 02F57872 add r2, r2, #992 2658 004e A86A ldr r0, [r5, #40] 2659 0050 FFF7FEFF bl HAL_DMA_Start_IT 2660 .LVL210: 4767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2661 .loc 1 4767 10 view .LVU877 2662 0054 F8B1 cbz r0, .L127 4771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2663 .loc 1 4771 16 view .LVU878 2664 0056 0120 movs r0, #1 2665 0058 27E0 b .L116 2666 .LVL211: 2667 .L136: 4705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2668 .loc 1 4705 5 is_stmt 1 view .LVU879 4705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2669 .loc 1 4705 8 is_stmt 0 view .LVU880 2670 005a 1BB1 cbz r3, .L138 2671 .L118: 4711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2672 .loc 1 4711 7 is_stmt 1 view .LVU881 4711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2673 .loc 1 4711 27 is_stmt 0 view .LVU882 2674 005c 0223 movs r3, #2 2675 005e 85F84830 strb r3, [r5, #72] 2676 0062 DCE7 b .L117 2677 .L138: 4705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2678 .loc 1 4705 31 discriminator 1 view .LVU883 2679 0064 049B ldr r3, [sp, #16] 2680 0066 002B cmp r3, #0 2681 0068 F8D0 beq .L118 2682 006a 1EE0 b .L116 2683 .L137: 4719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2684 .loc 1 4719 3 view .LVU884 2685 006c B4F5807F cmp r4, #256 2686 0070 1CD1 bne .L139 4724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 2687 .loc 1 4724 7 is_stmt 1 view .LVU885 4724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 2688 .loc 1 4724 17 is_stmt 0 view .LVU886 2689 0072 2B6A ldr r3, [r5, #32] 4724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 2690 .loc 1 4724 55 view .LVU887 2691 0074 4A4A ldr r2, .L143+12 ARM GAS /tmp/cc0wMqvE.s page 195 2692 .LVL212: 4724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 2693 .loc 1 4724 55 view .LVU888 2694 0076 DA62 str r2, [r3, #44] 4725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2695 .loc 1 4725 7 is_stmt 1 view .LVU889 4725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2696 .loc 1 4725 17 is_stmt 0 view .LVU890 2697 0078 2B6A ldr r3, [r5, #32] 4725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2698 .loc 1 4725 59 view .LVU891 2699 007a 4A4A ldr r2, .L143+16 2700 007c 1A63 str r2, [r3, #48] 4728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2701 .loc 1 4728 7 is_stmt 1 view .LVU892 4728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2702 .loc 1 4728 17 is_stmt 0 view .LVU893 2703 007e 2B6A ldr r3, [r5, #32] 4728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2704 .loc 1 4728 56 view .LVU894 2705 0080 464A ldr r2, .L143+8 2706 0082 5A63 str r2, [r3, #52] 4731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2707 .loc 1 4731 7 is_stmt 1 view .LVU895 4732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2708 .loc 1 4732 43 is_stmt 0 view .LVU896 2709 0084 2A68 ldr r2, [r5] 4731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2710 .loc 1 4731 11 view .LVU897 2711 0086 059B ldr r3, [sp, #20] 2712 0088 02F57872 add r2, r2, #992 2713 008c 286A ldr r0, [r5, #32] 2714 008e FFF7FEFF bl HAL_DMA_Start_IT 2715 .LVL213: 4731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2716 .loc 1 4731 10 view .LVU898 2717 0092 0028 cmp r0, #0 2718 0094 7BD1 bne .L140 2719 .L127: 2720 .LVL214: 4855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM DMA Request */ 2721 .loc 1 4855 5 is_stmt 1 view .LVU899 4855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM DMA Request */ 2722 .loc 1 4855 9 is_stmt 0 view .LVU900 2723 0096 2B68 ldr r3, [r5] 4855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM DMA Request */ 2724 .loc 1 4855 45 view .LVU901 2725 0098 049A ldr r2, [sp, #16] 2726 009a 1643 orrs r6, r6, r2 2727 .LVL215: 4855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM DMA Request */ 2728 .loc 1 4855 25 view .LVU902 2729 009c C3F8DC63 str r6, [r3, #988] 4857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2730 .loc 1 4857 5 is_stmt 1 view .LVU903 2731 00a0 2A68 ldr r2, [r5] 2732 00a2 D368 ldr r3, [r2, #12] ARM GAS /tmp/cc0wMqvE.s page 196 2733 00a4 2343 orrs r3, r3, r4 2734 00a6 D360 str r3, [r2, #12] 2735 00a8 0020 movs r0, #0 2736 .LVL216: 2737 .L116: 4862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2738 .loc 1 4862 1 is_stmt 0 view .LVU904 2739 00aa 70BD pop {r4, r5, r6, pc} 2740 .LVL217: 2741 .L139: 4719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2742 .loc 1 4719 3 view .LVU905 2743 00ac 0120 movs r0, #1 2744 00ae FCE7 b .L116 2745 .L120: 4719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2746 .loc 1 4719 3 view .LVU906 2747 00b0 B4F5005F cmp r4, #8192 2748 00b4 57D0 beq .L124 2749 00b6 B4F5804F cmp r4, #16384 2750 00ba 13D1 bne .L141 4832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt; 2751 .loc 1 4832 7 is_stmt 1 view .LVU907 4832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt; 2752 .loc 1 4832 17 is_stmt 0 view .LVU908 2753 00bc AB6B ldr r3, [r5, #56] 4832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt; 2754 .loc 1 4832 56 view .LVU909 2755 00be 3A4A ldr r2, .L143+20 2756 .LVL218: 4832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt; 2757 .loc 1 4832 56 view .LVU910 2758 00c0 DA62 str r2, [r3, #44] 4833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2759 .loc 1 4833 7 is_stmt 1 view .LVU911 4833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2760 .loc 1 4833 17 is_stmt 0 view .LVU912 2761 00c2 AB6B ldr r3, [r5, #56] 4833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2762 .loc 1 4833 60 view .LVU913 2763 00c4 394A ldr r2, .L143+24 2764 00c6 1A63 str r2, [r3, #48] 4836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2765 .loc 1 4836 7 is_stmt 1 view .LVU914 4836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2766 .loc 1 4836 17 is_stmt 0 view .LVU915 2767 00c8 AB6B ldr r3, [r5, #56] 4836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2768 .loc 1 4836 57 view .LVU916 2769 00ca 344A ldr r2, .L143+8 2770 00cc 5A63 str r2, [r3, #52] 4839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2771 .loc 1 4839 7 is_stmt 1 view .LVU917 4840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2772 .loc 1 4840 43 is_stmt 0 view .LVU918 2773 00ce 2A68 ldr r2, [r5] 4839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) ARM GAS /tmp/cc0wMqvE.s page 197 2774 .loc 1 4839 11 view .LVU919 2775 00d0 059B ldr r3, [sp, #20] 2776 00d2 02F57872 add r2, r2, #992 2777 00d6 A86B ldr r0, [r5, #56] 2778 00d8 FFF7FEFF bl HAL_DMA_Start_IT 2779 .LVL219: 4839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2780 .loc 1 4839 10 view .LVU920 2781 00dc 0028 cmp r0, #0 2782 00de DAD0 beq .L127 4843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2783 .loc 1 4843 16 view .LVU921 2784 00e0 0120 movs r0, #1 2785 00e2 E2E7 b .L116 2786 .LVL220: 2787 .L141: 4719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2788 .loc 1 4719 3 view .LVU922 2789 00e4 B4F5805F cmp r4, #4096 2790 00e8 13D1 bne .L142 4796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2791 .loc 1 4796 7 is_stmt 1 view .LVU923 4796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2792 .loc 1 4796 17 is_stmt 0 view .LVU924 2793 00ea 2B6B ldr r3, [r5, #48] 4796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2794 .loc 1 4796 52 view .LVU925 2795 00ec 294A ldr r2, .L143 2796 .LVL221: 4796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2797 .loc 1 4796 52 view .LVU926 2798 00ee DA62 str r2, [r3, #44] 4797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2799 .loc 1 4797 7 is_stmt 1 view .LVU927 4797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2800 .loc 1 4797 17 is_stmt 0 view .LVU928 2801 00f0 2B6B ldr r3, [r5, #48] 4797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2802 .loc 1 4797 56 view .LVU929 2803 00f2 294A ldr r2, .L143+4 2804 00f4 1A63 str r2, [r3, #48] 4800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2805 .loc 1 4800 7 is_stmt 1 view .LVU930 4800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2806 .loc 1 4800 17 is_stmt 0 view .LVU931 2807 00f6 2B6B ldr r3, [r5, #48] 4800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2808 .loc 1 4800 53 view .LVU932 2809 00f8 284A ldr r2, .L143+8 2810 00fa 5A63 str r2, [r3, #52] 4803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2811 .loc 1 4803 7 is_stmt 1 view .LVU933 4804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2812 .loc 1 4804 43 is_stmt 0 view .LVU934 2813 00fc 2A68 ldr r2, [r5] 4803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2814 .loc 1 4803 11 view .LVU935 ARM GAS /tmp/cc0wMqvE.s page 198 2815 00fe 059B ldr r3, [sp, #20] 2816 0100 02F57872 add r2, r2, #992 2817 0104 286B ldr r0, [r5, #48] 2818 0106 FFF7FEFF bl HAL_DMA_Start_IT 2819 .LVL222: 4803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2820 .loc 1 4803 10 view .LVU936 2821 010a 0028 cmp r0, #0 2822 010c C3D0 beq .L127 4807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2823 .loc 1 4807 16 view .LVU937 2824 010e 0120 movs r0, #1 2825 0110 CBE7 b .L116 2826 .LVL223: 2827 .L142: 4719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2828 .loc 1 4719 3 view .LVU938 2829 0112 0120 movs r0, #1 2830 0114 C9E7 b .L116 2831 .L121: 4742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2832 .loc 1 4742 7 is_stmt 1 view .LVU939 4742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2833 .loc 1 4742 17 is_stmt 0 view .LVU940 2834 0116 6B6A ldr r3, [r5, #36] 4742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2835 .loc 1 4742 52 view .LVU941 2836 0118 1E4A ldr r2, .L143 2837 .LVL224: 4742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2838 .loc 1 4742 52 view .LVU942 2839 011a DA62 str r2, [r3, #44] 4743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2840 .loc 1 4743 7 is_stmt 1 view .LVU943 4743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2841 .loc 1 4743 17 is_stmt 0 view .LVU944 2842 011c 6B6A ldr r3, [r5, #36] 4743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2843 .loc 1 4743 56 view .LVU945 2844 011e 1E4A ldr r2, .L143+4 2845 0120 1A63 str r2, [r3, #48] 4746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2846 .loc 1 4746 7 is_stmt 1 view .LVU946 4746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2847 .loc 1 4746 17 is_stmt 0 view .LVU947 2848 0122 6B6A ldr r3, [r5, #36] 4746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2849 .loc 1 4746 53 view .LVU948 2850 0124 1D4A ldr r2, .L143+8 2851 0126 5A63 str r2, [r3, #52] 4749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2852 .loc 1 4749 7 is_stmt 1 view .LVU949 4750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2853 .loc 1 4750 43 is_stmt 0 view .LVU950 2854 0128 2A68 ldr r2, [r5] 4749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2855 .loc 1 4749 11 view .LVU951 ARM GAS /tmp/cc0wMqvE.s page 199 2856 012a 059B ldr r3, [sp, #20] 2857 012c 02F57872 add r2, r2, #992 2858 0130 686A ldr r0, [r5, #36] 2859 0132 FFF7FEFF bl HAL_DMA_Start_IT 2860 .LVL225: 4749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2861 .loc 1 4749 10 view .LVU952 2862 0136 0028 cmp r0, #0 2863 0138 ADD0 beq .L127 4753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2864 .loc 1 4753 16 view .LVU953 2865 013a 0120 movs r0, #1 2866 013c B5E7 b .L116 2867 .LVL226: 2868 .L119: 4778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2869 .loc 1 4778 7 is_stmt 1 view .LVU954 4778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2870 .loc 1 4778 17 is_stmt 0 view .LVU955 2871 013e EB6A ldr r3, [r5, #44] 4778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2872 .loc 1 4778 52 view .LVU956 2873 0140 144A ldr r2, .L143 2874 .LVL227: 4778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2875 .loc 1 4778 52 view .LVU957 2876 0142 DA62 str r2, [r3, #44] 4779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2877 .loc 1 4779 7 is_stmt 1 view .LVU958 4779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2878 .loc 1 4779 17 is_stmt 0 view .LVU959 2879 0144 EB6A ldr r3, [r5, #44] 4779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2880 .loc 1 4779 56 view .LVU960 2881 0146 144A ldr r2, .L143+4 2882 0148 1A63 str r2, [r3, #48] 4782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2883 .loc 1 4782 7 is_stmt 1 view .LVU961 4782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2884 .loc 1 4782 17 is_stmt 0 view .LVU962 2885 014a EB6A ldr r3, [r5, #44] 4782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2886 .loc 1 4782 53 view .LVU963 2887 014c 134A ldr r2, .L143+8 2888 014e 5A63 str r2, [r3, #52] 4785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2889 .loc 1 4785 7 is_stmt 1 view .LVU964 4786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2890 .loc 1 4786 43 is_stmt 0 view .LVU965 2891 0150 2A68 ldr r2, [r5] 4785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2892 .loc 1 4785 11 view .LVU966 2893 0152 059B ldr r3, [sp, #20] 2894 0154 02F57872 add r2, r2, #992 2895 0158 E86A ldr r0, [r5, #44] 2896 015a FFF7FEFF bl HAL_DMA_Start_IT 2897 .LVL228: ARM GAS /tmp/cc0wMqvE.s page 200 4785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2898 .loc 1 4785 10 view .LVU967 2899 015e 0028 cmp r0, #0 2900 0160 99D0 beq .L127 4789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2901 .loc 1 4789 16 view .LVU968 2902 0162 0120 movs r0, #1 2903 0164 A1E7 b .L116 2904 .LVL229: 2905 .L124: 4814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 2906 .loc 1 4814 7 is_stmt 1 view .LVU969 4814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 2907 .loc 1 4814 17 is_stmt 0 view .LVU970 2908 0166 6B6B ldr r3, [r5, #52] 4814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 2909 .loc 1 4814 60 view .LVU971 2910 0168 114A ldr r2, .L143+28 2911 .LVL230: 4814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 2912 .loc 1 4814 60 view .LVU972 2913 016a DA62 str r2, [r3, #44] 4815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2914 .loc 1 4815 7 is_stmt 1 view .LVU973 4815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2915 .loc 1 4815 17 is_stmt 0 view .LVU974 2916 016c 6B6B ldr r3, [r5, #52] 4815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2917 .loc 1 4815 64 view .LVU975 2918 016e 114A ldr r2, .L143+32 2919 0170 1A63 str r2, [r3, #48] 4818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2920 .loc 1 4818 7 is_stmt 1 view .LVU976 4818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2921 .loc 1 4818 17 is_stmt 0 view .LVU977 2922 0172 6B6B ldr r3, [r5, #52] 4818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2923 .loc 1 4818 61 view .LVU978 2924 0174 094A ldr r2, .L143+8 2925 0176 5A63 str r2, [r3, #52] 4821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2926 .loc 1 4821 7 is_stmt 1 view .LVU979 4822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2927 .loc 1 4822 43 is_stmt 0 view .LVU980 2928 0178 2A68 ldr r2, [r5] 4821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2929 .loc 1 4821 11 view .LVU981 2930 017a 059B ldr r3, [sp, #20] 2931 017c 02F57872 add r2, r2, #992 2932 0180 686B ldr r0, [r5, #52] 2933 0182 FFF7FEFF bl HAL_DMA_Start_IT 2934 .LVL231: 4821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2935 .loc 1 4821 10 view .LVU982 2936 0186 0028 cmp r0, #0 2937 0188 85D0 beq .L127 4825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 201 2938 .loc 1 4825 16 view .LVU983 2939 018a 0120 movs r0, #1 2940 018c 8DE7 b .L116 2941 .L140: 4735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2942 .loc 1 4735 16 view .LVU984 2943 018e 0120 movs r0, #1 2944 0190 8BE7 b .L116 2945 .L144: 2946 0192 00BF .align 2 2947 .L143: 2948 0194 00000000 .word TIM_DMADelayPulseCplt 2949 0198 00000000 .word TIM_DMADelayPulseHalfCplt 2950 019c 00000000 .word TIM_DMAError 2951 01a0 00000000 .word TIM_DMAPeriodElapsedCplt 2952 01a4 00000000 .word TIM_DMAPeriodElapsedHalfCplt 2953 01a8 00000000 .word TIM_DMATriggerCplt 2954 01ac 00000000 .word TIM_DMATriggerHalfCplt 2955 01b0 00000000 .word TIMEx_DMACommutationCplt 2956 01b4 00000000 .word TIMEx_DMACommutationHalfCplt 2957 .cfi_endproc 2958 .LFE393: 2960 .section .text.HAL_TIM_DMABurst_WriteStart,"ax",%progbits 2961 .align 1 2962 .global HAL_TIM_DMABurst_WriteStart 2963 .syntax unified 2964 .thumb 2965 .thumb_func 2967 HAL_TIM_DMABurst_WriteStart: 2968 .LVL232: 2969 .LFB392: 4627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status; 2970 .loc 1 4627 1 is_stmt 1 view -0 2971 .cfi_startproc 2972 @ args = 4, pretend = 0, frame = 0 2973 @ frame_needed = 0, uses_anonymous_args = 0 4627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status; 2974 .loc 1 4627 1 is_stmt 0 view .LVU986 2975 0000 30B5 push {r4, r5, lr} 2976 .LCFI29: 2977 .cfi_def_cfa_offset 12 2978 .cfi_offset 4, -12 2979 .cfi_offset 5, -8 2980 .cfi_offset 14, -4 2981 0002 83B0 sub sp, sp, #12 2982 .LCFI30: 2983 .cfi_def_cfa_offset 24 2984 0004 069D ldr r5, [sp, #24] 4628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2985 .loc 1 4628 3 is_stmt 1 view .LVU987 4630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ((BurstLength) >> 8U) + 1U); 2986 .loc 1 4630 3 view .LVU988 4631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2987 .loc 1 4631 60 is_stmt 0 view .LVU989 2988 0006 2C0A lsrs r4, r5, #8 4630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ((BurstLength) >> 8U) + 1U); 2989 .loc 1 4630 12 view .LVU990 ARM GAS /tmp/cc0wMqvE.s page 202 2990 0008 0134 adds r4, r4, #1 2991 000a 0194 str r4, [sp, #4] 2992 000c 0095 str r5, [sp] 2993 000e FFF7FEFF bl HAL_TIM_DMABurst_MultiWriteStart 2994 .LVL233: 4635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2995 .loc 1 4635 3 is_stmt 1 view .LVU991 4636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2996 .loc 1 4636 1 is_stmt 0 view .LVU992 2997 0012 03B0 add sp, sp, #12 2998 .LCFI31: 2999 .cfi_def_cfa_offset 12 3000 @ sp needed 3001 0014 30BD pop {r4, r5, pc} 4636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3002 .loc 1 4636 1 view .LVU993 3003 .cfi_endproc 3004 .LFE392: 3006 .section .text.HAL_TIM_DMABurst_WriteStop,"ax",%progbits 3007 .align 1 3008 .global HAL_TIM_DMABurst_WriteStop 3009 .syntax unified 3010 .thumb 3011 .thumb_func 3013 HAL_TIM_DMABurst_WriteStop: 3014 .LVL234: 3015 .LFB394: 4871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 3016 .loc 1 4871 1 is_stmt 1 view -0 3017 .cfi_startproc 3018 @ args = 0, pretend = 0, frame = 0 3019 @ frame_needed = 0, uses_anonymous_args = 0 4871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 3020 .loc 1 4871 1 is_stmt 0 view .LVU995 3021 0000 38B5 push {r3, r4, r5, lr} 3022 .LCFI32: 3023 .cfi_def_cfa_offset 16 3024 .cfi_offset 3, -16 3025 .cfi_offset 4, -12 3026 .cfi_offset 5, -8 3027 .cfi_offset 14, -4 3028 0002 0546 mov r5, r0 3029 0004 0C46 mov r4, r1 4872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3030 .loc 1 4872 3 is_stmt 1 view .LVU996 3031 .LVL235: 4875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3032 .loc 1 4875 3 view .LVU997 4878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3033 .loc 1 4878 3 view .LVU998 3034 0006 B1F5006F cmp r1, #2048 3035 000a 33D0 beq .L148 3036 000c 1BD8 bhi .L149 3037 000e B1F5007F cmp r1, #512 3038 0012 2BD0 beq .L150 3039 0014 B1F5806F cmp r1, #1024 3040 0018 03D1 bne .L159 ARM GAS /tmp/cc0wMqvE.s page 203 4892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3041 .loc 1 4892 7 view .LVU999 4892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3042 .loc 1 4892 13 is_stmt 0 view .LVU1000 3043 001a 806A ldr r0, [r0, #40] 3044 .LVL236: 4892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3045 .loc 1 4892 13 view .LVU1001 3046 001c FFF7FEFF bl HAL_DMA_Abort_IT 3047 .LVL237: 4893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3048 .loc 1 4893 7 is_stmt 1 view .LVU1002 4920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3049 .loc 1 4920 3 view .LVU1003 3050 0020 05E0 b .L157 3051 .LVL238: 3052 .L159: 4878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3053 .loc 1 4878 3 is_stmt 0 view .LVU1004 3054 0022 B1F5807F cmp r1, #256 3055 0026 0CD1 bne .L160 4882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3056 .loc 1 4882 7 is_stmt 1 view .LVU1005 4882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3057 .loc 1 4882 13 is_stmt 0 view .LVU1006 3058 0028 006A ldr r0, [r0, #32] 3059 .LVL239: 4882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3060 .loc 1 4882 13 view .LVU1007 3061 002a FFF7FEFF bl HAL_DMA_Abort_IT 3062 .LVL240: 4883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3063 .loc 1 4883 7 is_stmt 1 view .LVU1008 4920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3064 .loc 1 4920 3 view .LVU1009 3065 .L157: 4923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3066 .loc 1 4923 5 view .LVU1010 3067 002e 2A68 ldr r2, [r5] 3068 0030 D368 ldr r3, [r2, #12] 3069 0032 23EA0403 bic r3, r3, r4 3070 0036 D360 str r3, [r2, #12] 4926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3071 .loc 1 4926 5 view .LVU1011 4926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3072 .loc 1 4926 25 is_stmt 0 view .LVU1012 3073 0038 0123 movs r3, #1 3074 003a 85F84830 strb r3, [r5, #72] 3075 003e 0020 movs r0, #0 3076 .L153: 3077 .LVL241: 4930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3078 .loc 1 4930 3 is_stmt 1 view .LVU1013 4931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3079 .loc 1 4931 1 is_stmt 0 view .LVU1014 3080 0040 38BD pop {r3, r4, r5, pc} 3081 .LVL242: ARM GAS /tmp/cc0wMqvE.s page 204 3082 .L160: 4878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3083 .loc 1 4878 3 view .LVU1015 3084 0042 0120 movs r0, #1 3085 .LVL243: 4878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3086 .loc 1 4878 3 view .LVU1016 3087 0044 FCE7 b .L153 3088 .LVL244: 3089 .L149: 4878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3090 .loc 1 4878 3 view .LVU1017 3091 0046 B1F5005F cmp r1, #8192 3092 004a 17D0 beq .L154 3093 004c B1F5804F cmp r1, #16384 3094 0050 03D1 bne .L161 4912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3095 .loc 1 4912 7 is_stmt 1 view .LVU1018 4912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3096 .loc 1 4912 13 is_stmt 0 view .LVU1019 3097 0052 806B ldr r0, [r0, #56] 3098 .LVL245: 4912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3099 .loc 1 4912 13 view .LVU1020 3100 0054 FFF7FEFF bl HAL_DMA_Abort_IT 3101 .LVL246: 4913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3102 .loc 1 4913 7 is_stmt 1 view .LVU1021 4920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3103 .loc 1 4920 3 view .LVU1022 3104 0058 E9E7 b .L157 3105 .LVL247: 3106 .L161: 4878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3107 .loc 1 4878 3 is_stmt 0 view .LVU1023 3108 005a B1F5805F cmp r1, #4096 3109 005e 03D1 bne .L162 4902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3110 .loc 1 4902 7 is_stmt 1 view .LVU1024 4902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3111 .loc 1 4902 13 is_stmt 0 view .LVU1025 3112 0060 006B ldr r0, [r0, #48] 3113 .LVL248: 4902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3114 .loc 1 4902 13 view .LVU1026 3115 0062 FFF7FEFF bl HAL_DMA_Abort_IT 3116 .LVL249: 4903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3117 .loc 1 4903 7 is_stmt 1 view .LVU1027 4920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3118 .loc 1 4920 3 view .LVU1028 3119 0066 E2E7 b .L157 3120 .LVL250: 3121 .L162: 4878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3122 .loc 1 4878 3 is_stmt 0 view .LVU1029 3123 0068 0120 movs r0, #1 ARM GAS /tmp/cc0wMqvE.s page 205 3124 .LVL251: 4878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3125 .loc 1 4878 3 view .LVU1030 3126 006a E9E7 b .L153 3127 .LVL252: 3128 .L150: 4887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3129 .loc 1 4887 7 is_stmt 1 view .LVU1031 4887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3130 .loc 1 4887 13 is_stmt 0 view .LVU1032 3131 006c 406A ldr r0, [r0, #36] 3132 .LVL253: 4887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3133 .loc 1 4887 13 view .LVU1033 3134 006e FFF7FEFF bl HAL_DMA_Abort_IT 3135 .LVL254: 4888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3136 .loc 1 4888 7 is_stmt 1 view .LVU1034 4920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3137 .loc 1 4920 3 view .LVU1035 3138 0072 DCE7 b .L157 3139 .LVL255: 3140 .L148: 4897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3141 .loc 1 4897 7 view .LVU1036 4897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3142 .loc 1 4897 13 is_stmt 0 view .LVU1037 3143 0074 C06A ldr r0, [r0, #44] 3144 .LVL256: 4897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3145 .loc 1 4897 13 view .LVU1038 3146 0076 FFF7FEFF bl HAL_DMA_Abort_IT 3147 .LVL257: 4898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3148 .loc 1 4898 7 is_stmt 1 view .LVU1039 4920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3149 .loc 1 4920 3 view .LVU1040 3150 007a D8E7 b .L157 3151 .LVL258: 3152 .L154: 4907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3153 .loc 1 4907 7 view .LVU1041 4907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3154 .loc 1 4907 13 is_stmt 0 view .LVU1042 3155 007c 406B ldr r0, [r0, #52] 3156 .LVL259: 4907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3157 .loc 1 4907 13 view .LVU1043 3158 007e FFF7FEFF bl HAL_DMA_Abort_IT 3159 .LVL260: 4908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3160 .loc 1 4908 7 is_stmt 1 view .LVU1044 4920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3161 .loc 1 4920 3 view .LVU1045 3162 0082 D4E7 b .L157 3163 .cfi_endproc 3164 .LFE394: ARM GAS /tmp/cc0wMqvE.s page 206 3166 .section .text.HAL_TIM_DMABurst_MultiReadStart,"ax",%progbits 3167 .align 1 3168 .global HAL_TIM_DMABurst_MultiReadStart 3169 .syntax unified 3170 .thumb 3171 .thumb_func 3173 HAL_TIM_DMABurst_MultiReadStart: 3174 .LVL261: 3175 .LFB396: 5043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 3176 .loc 1 5043 1 view -0 3177 .cfi_startproc 3178 @ args = 8, pretend = 0, frame = 0 3179 @ frame_needed = 0, uses_anonymous_args = 0 5043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 3180 .loc 1 5043 1 is_stmt 0 view .LVU1047 3181 0000 70B5 push {r4, r5, r6, lr} 3182 .LCFI33: 3183 .cfi_def_cfa_offset 16 3184 .cfi_offset 4, -16 3185 .cfi_offset 5, -12 3186 .cfi_offset 6, -8 3187 .cfi_offset 14, -4 3188 0002 0546 mov r5, r0 5044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3189 .loc 1 5044 3 is_stmt 1 view .LVU1048 3190 .LVL262: 5047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_BASE(BurstBaseAddress)); 3191 .loc 1 5047 3 view .LVU1049 5048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_SOURCE(BurstRequestSrc)); 3192 .loc 1 5048 3 view .LVU1050 5049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_LENGTH(BurstLength)); 3193 .loc 1 5049 3 view .LVU1051 5050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_DATA_LENGTH(DataLength)); 3194 .loc 1 5050 3 view .LVU1052 5051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3195 .loc 1 5051 3 view .LVU1053 5053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3196 .loc 1 5053 3 view .LVU1054 5053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3197 .loc 1 5053 11 is_stmt 0 view .LVU1055 3198 0004 90F84800 ldrb r0, [r0, #72] @ zero_extendqisi2 3199 .LVL263: 5053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3200 .loc 1 5053 11 view .LVU1056 3201 0008 C0B2 uxtb r0, r0 5053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3202 .loc 1 5053 6 view .LVU1057 3203 000a 0228 cmp r0, #2 3204 000c 4DD0 beq .L164 3205 000e 0E46 mov r6, r1 3206 0010 1446 mov r4, r2 3207 0012 1A46 mov r2, r3 3208 .LVL264: 5057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3209 .loc 1 5057 8 is_stmt 1 view .LVU1058 5057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 207 3210 .loc 1 5057 16 is_stmt 0 view .LVU1059 3211 0014 95F84800 ldrb r0, [r5, #72] @ zero_extendqisi2 3212 0018 C0B2 uxtb r0, r0 5057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3213 .loc 1 5057 11 view .LVU1060 3214 001a 0128 cmp r0, #1 3215 001c 1DD0 beq .L184 3216 .LVL265: 3217 .L165: 5071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (BurstRequestSrc) 3218 .loc 1 5071 3 is_stmt 1 view .LVU1061 5072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3219 .loc 1 5072 3 view .LVU1062 3220 001e B4F5006F cmp r4, #2048 3221 0022 00F08C80 beq .L167 3222 0026 43D8 bhi .L168 3223 0028 B4F5007F cmp r4, #512 3224 002c 73D0 beq .L169 3225 002e B4F5806F cmp r4, #1024 3226 0032 1BD1 bne .L185 5113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3227 .loc 1 5113 7 view .LVU1063 5113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3228 .loc 1 5113 17 is_stmt 0 view .LVU1064 3229 0034 AB6A ldr r3, [r5, #40] 5113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3230 .loc 1 5113 52 view .LVU1065 3231 0036 5749 ldr r1, .L191 3232 .LVL266: 5113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3233 .loc 1 5113 52 view .LVU1066 3234 0038 D962 str r1, [r3, #44] 5114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3235 .loc 1 5114 7 is_stmt 1 view .LVU1067 5114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3236 .loc 1 5114 17 is_stmt 0 view .LVU1068 3237 003a AB6A ldr r3, [r5, #40] 5114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3238 .loc 1 5114 56 view .LVU1069 3239 003c 5649 ldr r1, .L191+4 3240 003e 1963 str r1, [r3, #48] 5117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3241 .loc 1 5117 7 is_stmt 1 view .LVU1070 5117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3242 .loc 1 5117 17 is_stmt 0 view .LVU1071 3243 0040 AB6A ldr r3, [r5, #40] 5117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3244 .loc 1 5117 53 view .LVU1072 3245 0042 5649 ldr r1, .L191+8 3246 0044 5963 str r1, [r3, #52] 5120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3247 .loc 1 5120 7 is_stmt 1 view .LVU1073 5120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3248 .loc 1 5120 71 is_stmt 0 view .LVU1074 3249 0046 2968 ldr r1, [r5] 5120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3250 .loc 1 5120 11 view .LVU1075 ARM GAS /tmp/cc0wMqvE.s page 208 3251 0048 059B ldr r3, [sp, #20] 3252 004a 01F57871 add r1, r1, #992 3253 004e A86A ldr r0, [r5, #40] 3254 0050 FFF7FEFF bl HAL_DMA_Start_IT 3255 .LVL267: 5120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3256 .loc 1 5120 10 view .LVU1076 3257 0054 F8B1 cbz r0, .L175 5124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3258 .loc 1 5124 16 view .LVU1077 3259 0056 0120 movs r0, #1 3260 0058 27E0 b .L164 3261 .LVL268: 3262 .L184: 5059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3263 .loc 1 5059 5 is_stmt 1 view .LVU1078 5059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3264 .loc 1 5059 8 is_stmt 0 view .LVU1079 3265 005a 1BB1 cbz r3, .L186 3266 .L166: 5065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3267 .loc 1 5065 7 is_stmt 1 view .LVU1080 5065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3268 .loc 1 5065 27 is_stmt 0 view .LVU1081 3269 005c 0223 movs r3, #2 3270 005e 85F84830 strb r3, [r5, #72] 3271 0062 DCE7 b .L165 3272 .L186: 5059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3273 .loc 1 5059 31 discriminator 1 view .LVU1082 3274 0064 049B ldr r3, [sp, #16] 3275 0066 002B cmp r3, #0 3276 0068 F8D0 beq .L166 3277 006a 1EE0 b .L164 3278 .L185: 5072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3279 .loc 1 5072 3 view .LVU1083 3280 006c B4F5807F cmp r4, #256 3281 0070 1CD1 bne .L187 5077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 3282 .loc 1 5077 7 is_stmt 1 view .LVU1084 5077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 3283 .loc 1 5077 17 is_stmt 0 view .LVU1085 3284 0072 2B6A ldr r3, [r5, #32] 5077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 3285 .loc 1 5077 55 view .LVU1086 3286 0074 4A49 ldr r1, .L191+12 3287 .LVL269: 5077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 3288 .loc 1 5077 55 view .LVU1087 3289 0076 D962 str r1, [r3, #44] 5078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3290 .loc 1 5078 7 is_stmt 1 view .LVU1088 5078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3291 .loc 1 5078 17 is_stmt 0 view .LVU1089 3292 0078 2B6A ldr r3, [r5, #32] 5078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 209 3293 .loc 1 5078 59 view .LVU1090 3294 007a 4A49 ldr r1, .L191+16 3295 007c 1963 str r1, [r3, #48] 5081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3296 .loc 1 5081 7 is_stmt 1 view .LVU1091 5081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3297 .loc 1 5081 17 is_stmt 0 view .LVU1092 3298 007e 2B6A ldr r3, [r5, #32] 5081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3299 .loc 1 5081 56 view .LVU1093 3300 0080 4649 ldr r1, .L191+8 3301 0082 5963 str r1, [r3, #52] 5084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3302 .loc 1 5084 7 is_stmt 1 view .LVU1094 5084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3303 .loc 1 5084 74 is_stmt 0 view .LVU1095 3304 0084 2968 ldr r1, [r5] 5084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3305 .loc 1 5084 11 view .LVU1096 3306 0086 059B ldr r3, [sp, #20] 3307 0088 01F57871 add r1, r1, #992 3308 008c 286A ldr r0, [r5, #32] 3309 008e FFF7FEFF bl HAL_DMA_Start_IT 3310 .LVL270: 5084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3311 .loc 1 5084 10 view .LVU1097 3312 0092 0028 cmp r0, #0 3313 0094 7BD1 bne .L188 3314 .L175: 3315 .LVL271: 5208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3316 .loc 1 5208 5 is_stmt 1 view .LVU1098 5208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3317 .loc 1 5208 9 is_stmt 0 view .LVU1099 3318 0096 2B68 ldr r3, [r5] 5208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3319 .loc 1 5208 45 view .LVU1100 3320 0098 049A ldr r2, [sp, #16] 3321 009a 1643 orrs r6, r6, r2 3322 .LVL272: 5208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3323 .loc 1 5208 25 view .LVU1101 3324 009c C3F8DC63 str r6, [r3, #988] 5211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3325 .loc 1 5211 5 is_stmt 1 view .LVU1102 3326 00a0 2A68 ldr r2, [r5] 3327 00a2 D368 ldr r3, [r2, #12] 3328 00a4 2343 orrs r3, r3, r4 3329 00a6 D360 str r3, [r2, #12] 3330 00a8 0020 movs r0, #0 3331 .LVL273: 3332 .L164: 5216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3333 .loc 1 5216 1 is_stmt 0 view .LVU1103 3334 00aa 70BD pop {r4, r5, r6, pc} 3335 .LVL274: 3336 .L187: ARM GAS /tmp/cc0wMqvE.s page 210 5072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3337 .loc 1 5072 3 view .LVU1104 3338 00ac 0120 movs r0, #1 3339 00ae FCE7 b .L164 3340 .L168: 5072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3341 .loc 1 5072 3 view .LVU1105 3342 00b0 B4F5005F cmp r4, #8192 3343 00b4 57D0 beq .L172 3344 00b6 B4F5804F cmp r4, #16384 3345 00ba 13D1 bne .L189 5185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt; 3346 .loc 1 5185 7 is_stmt 1 view .LVU1106 5185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt; 3347 .loc 1 5185 17 is_stmt 0 view .LVU1107 3348 00bc AB6B ldr r3, [r5, #56] 5185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt; 3349 .loc 1 5185 56 view .LVU1108 3350 00be 3A49 ldr r1, .L191+20 3351 .LVL275: 5185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt; 3352 .loc 1 5185 56 view .LVU1109 3353 00c0 D962 str r1, [r3, #44] 5186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3354 .loc 1 5186 7 is_stmt 1 view .LVU1110 5186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3355 .loc 1 5186 17 is_stmt 0 view .LVU1111 3356 00c2 AB6B ldr r3, [r5, #56] 5186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3357 .loc 1 5186 60 view .LVU1112 3358 00c4 3949 ldr r1, .L191+24 3359 00c6 1963 str r1, [r3, #48] 5189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3360 .loc 1 5189 7 is_stmt 1 view .LVU1113 5189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3361 .loc 1 5189 17 is_stmt 0 view .LVU1114 3362 00c8 AB6B ldr r3, [r5, #56] 5189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3363 .loc 1 5189 57 view .LVU1115 3364 00ca 3449 ldr r1, .L191+8 3365 00cc 5963 str r1, [r3, #52] 5192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3366 .loc 1 5192 7 is_stmt 1 view .LVU1116 5192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3367 .loc 1 5192 75 is_stmt 0 view .LVU1117 3368 00ce 2968 ldr r1, [r5] 5192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3369 .loc 1 5192 11 view .LVU1118 3370 00d0 059B ldr r3, [sp, #20] 3371 00d2 01F57871 add r1, r1, #992 3372 00d6 A86B ldr r0, [r5, #56] 3373 00d8 FFF7FEFF bl HAL_DMA_Start_IT 3374 .LVL276: 5192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3375 .loc 1 5192 10 view .LVU1119 3376 00dc 0028 cmp r0, #0 3377 00de DAD0 beq .L175 ARM GAS /tmp/cc0wMqvE.s page 211 5196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3378 .loc 1 5196 16 view .LVU1120 3379 00e0 0120 movs r0, #1 3380 00e2 E2E7 b .L164 3381 .LVL277: 3382 .L189: 5072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3383 .loc 1 5072 3 view .LVU1121 3384 00e4 B4F5805F cmp r4, #4096 3385 00e8 13D1 bne .L190 5149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3386 .loc 1 5149 7 is_stmt 1 view .LVU1122 5149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3387 .loc 1 5149 17 is_stmt 0 view .LVU1123 3388 00ea 2B6B ldr r3, [r5, #48] 5149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3389 .loc 1 5149 52 view .LVU1124 3390 00ec 2949 ldr r1, .L191 3391 .LVL278: 5149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3392 .loc 1 5149 52 view .LVU1125 3393 00ee D962 str r1, [r3, #44] 5150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3394 .loc 1 5150 7 is_stmt 1 view .LVU1126 5150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3395 .loc 1 5150 17 is_stmt 0 view .LVU1127 3396 00f0 2B6B ldr r3, [r5, #48] 5150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3397 .loc 1 5150 56 view .LVU1128 3398 00f2 2949 ldr r1, .L191+4 3399 00f4 1963 str r1, [r3, #48] 5153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3400 .loc 1 5153 7 is_stmt 1 view .LVU1129 5153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3401 .loc 1 5153 17 is_stmt 0 view .LVU1130 3402 00f6 2B6B ldr r3, [r5, #48] 5153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3403 .loc 1 5153 53 view .LVU1131 3404 00f8 2849 ldr r1, .L191+8 3405 00fa 5963 str r1, [r3, #52] 5156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3406 .loc 1 5156 7 is_stmt 1 view .LVU1132 5156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3407 .loc 1 5156 71 is_stmt 0 view .LVU1133 3408 00fc 2968 ldr r1, [r5] 5156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3409 .loc 1 5156 11 view .LVU1134 3410 00fe 059B ldr r3, [sp, #20] 3411 0100 01F57871 add r1, r1, #992 3412 0104 286B ldr r0, [r5, #48] 3413 0106 FFF7FEFF bl HAL_DMA_Start_IT 3414 .LVL279: 5156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3415 .loc 1 5156 10 view .LVU1135 3416 010a 0028 cmp r0, #0 3417 010c C3D0 beq .L175 5160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 212 3418 .loc 1 5160 16 view .LVU1136 3419 010e 0120 movs r0, #1 3420 0110 CBE7 b .L164 3421 .LVL280: 3422 .L190: 5072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3423 .loc 1 5072 3 view .LVU1137 3424 0112 0120 movs r0, #1 3425 0114 C9E7 b .L164 3426 .L169: 5095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3427 .loc 1 5095 7 is_stmt 1 view .LVU1138 5095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3428 .loc 1 5095 17 is_stmt 0 view .LVU1139 3429 0116 6B6A ldr r3, [r5, #36] 5095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3430 .loc 1 5095 52 view .LVU1140 3431 0118 1E49 ldr r1, .L191 3432 .LVL281: 5095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3433 .loc 1 5095 52 view .LVU1141 3434 011a D962 str r1, [r3, #44] 5096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3435 .loc 1 5096 7 is_stmt 1 view .LVU1142 5096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3436 .loc 1 5096 17 is_stmt 0 view .LVU1143 3437 011c 6B6A ldr r3, [r5, #36] 5096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3438 .loc 1 5096 56 view .LVU1144 3439 011e 1E49 ldr r1, .L191+4 3440 0120 1963 str r1, [r3, #48] 5099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3441 .loc 1 5099 7 is_stmt 1 view .LVU1145 5099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3442 .loc 1 5099 17 is_stmt 0 view .LVU1146 3443 0122 6B6A ldr r3, [r5, #36] 5099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3444 .loc 1 5099 53 view .LVU1147 3445 0124 1D49 ldr r1, .L191+8 3446 0126 5963 str r1, [r3, #52] 5102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3447 .loc 1 5102 7 is_stmt 1 view .LVU1148 5102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3448 .loc 1 5102 71 is_stmt 0 view .LVU1149 3449 0128 2968 ldr r1, [r5] 5102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3450 .loc 1 5102 11 view .LVU1150 3451 012a 059B ldr r3, [sp, #20] 3452 012c 01F57871 add r1, r1, #992 3453 0130 686A ldr r0, [r5, #36] 3454 0132 FFF7FEFF bl HAL_DMA_Start_IT 3455 .LVL282: 5102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3456 .loc 1 5102 10 view .LVU1151 3457 0136 0028 cmp r0, #0 3458 0138 ADD0 beq .L175 5106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 213 3459 .loc 1 5106 16 view .LVU1152 3460 013a 0120 movs r0, #1 3461 013c B5E7 b .L164 3462 .LVL283: 3463 .L167: 5131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3464 .loc 1 5131 7 is_stmt 1 view .LVU1153 5131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3465 .loc 1 5131 17 is_stmt 0 view .LVU1154 3466 013e EB6A ldr r3, [r5, #44] 5131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3467 .loc 1 5131 52 view .LVU1155 3468 0140 1449 ldr r1, .L191 3469 .LVL284: 5131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3470 .loc 1 5131 52 view .LVU1156 3471 0142 D962 str r1, [r3, #44] 5132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3472 .loc 1 5132 7 is_stmt 1 view .LVU1157 5132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3473 .loc 1 5132 17 is_stmt 0 view .LVU1158 3474 0144 EB6A ldr r3, [r5, #44] 5132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3475 .loc 1 5132 56 view .LVU1159 3476 0146 1449 ldr r1, .L191+4 3477 0148 1963 str r1, [r3, #48] 5135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3478 .loc 1 5135 7 is_stmt 1 view .LVU1160 5135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3479 .loc 1 5135 17 is_stmt 0 view .LVU1161 3480 014a EB6A ldr r3, [r5, #44] 5135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3481 .loc 1 5135 53 view .LVU1162 3482 014c 1349 ldr r1, .L191+8 3483 014e 5963 str r1, [r3, #52] 5138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3484 .loc 1 5138 7 is_stmt 1 view .LVU1163 5138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3485 .loc 1 5138 71 is_stmt 0 view .LVU1164 3486 0150 2968 ldr r1, [r5] 5138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3487 .loc 1 5138 11 view .LVU1165 3488 0152 059B ldr r3, [sp, #20] 3489 0154 01F57871 add r1, r1, #992 3490 0158 E86A ldr r0, [r5, #44] 3491 015a FFF7FEFF bl HAL_DMA_Start_IT 3492 .LVL285: 5138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3493 .loc 1 5138 10 view .LVU1166 3494 015e 0028 cmp r0, #0 3495 0160 99D0 beq .L175 5142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3496 .loc 1 5142 16 view .LVU1167 3497 0162 0120 movs r0, #1 3498 0164 A1E7 b .L164 3499 .LVL286: 3500 .L172: ARM GAS /tmp/cc0wMqvE.s page 214 5167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 3501 .loc 1 5167 7 is_stmt 1 view .LVU1168 5167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 3502 .loc 1 5167 17 is_stmt 0 view .LVU1169 3503 0166 6B6B ldr r3, [r5, #52] 5167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 3504 .loc 1 5167 60 view .LVU1170 3505 0168 1149 ldr r1, .L191+28 3506 .LVL287: 5167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 3507 .loc 1 5167 60 view .LVU1171 3508 016a D962 str r1, [r3, #44] 5168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3509 .loc 1 5168 7 is_stmt 1 view .LVU1172 5168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3510 .loc 1 5168 17 is_stmt 0 view .LVU1173 3511 016c 6B6B ldr r3, [r5, #52] 5168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3512 .loc 1 5168 64 view .LVU1174 3513 016e 1149 ldr r1, .L191+32 3514 0170 1963 str r1, [r3, #48] 5171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3515 .loc 1 5171 7 is_stmt 1 view .LVU1175 5171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3516 .loc 1 5171 17 is_stmt 0 view .LVU1176 3517 0172 6B6B ldr r3, [r5, #52] 5171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3518 .loc 1 5171 61 view .LVU1177 3519 0174 0949 ldr r1, .L191+8 3520 0176 5963 str r1, [r3, #52] 5174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3521 .loc 1 5174 7 is_stmt 1 view .LVU1178 5174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3522 .loc 1 5174 79 is_stmt 0 view .LVU1179 3523 0178 2968 ldr r1, [r5] 5174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3524 .loc 1 5174 11 view .LVU1180 3525 017a 059B ldr r3, [sp, #20] 3526 017c 01F57871 add r1, r1, #992 3527 0180 686B ldr r0, [r5, #52] 3528 0182 FFF7FEFF bl HAL_DMA_Start_IT 3529 .LVL288: 5174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3530 .loc 1 5174 10 view .LVU1181 3531 0186 0028 cmp r0, #0 3532 0188 85D0 beq .L175 5178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3533 .loc 1 5178 16 view .LVU1182 3534 018a 0120 movs r0, #1 3535 018c 8DE7 b .L164 3536 .L188: 5088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3537 .loc 1 5088 16 view .LVU1183 3538 018e 0120 movs r0, #1 3539 0190 8BE7 b .L164 3540 .L192: 3541 0192 00BF .align 2 ARM GAS /tmp/cc0wMqvE.s page 215 3542 .L191: 3543 0194 00000000 .word TIM_DMACaptureCplt 3544 0198 00000000 .word TIM_DMACaptureHalfCplt 3545 019c 00000000 .word TIM_DMAError 3546 01a0 00000000 .word TIM_DMAPeriodElapsedCplt 3547 01a4 00000000 .word TIM_DMAPeriodElapsedHalfCplt 3548 01a8 00000000 .word TIM_DMATriggerCplt 3549 01ac 00000000 .word TIM_DMATriggerHalfCplt 3550 01b0 00000000 .word TIMEx_DMACommutationCplt 3551 01b4 00000000 .word TIMEx_DMACommutationHalfCplt 3552 .cfi_endproc 3553 .LFE396: 3555 .section .text.HAL_TIM_DMABurst_ReadStart,"ax",%progbits 3556 .align 1 3557 .global HAL_TIM_DMABurst_ReadStart 3558 .syntax unified 3559 .thumb 3560 .thumb_func 3562 HAL_TIM_DMABurst_ReadStart: 3563 .LVL289: 3564 .LFB395: 4982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status; 3565 .loc 1 4982 1 is_stmt 1 view -0 3566 .cfi_startproc 3567 @ args = 4, pretend = 0, frame = 0 3568 @ frame_needed = 0, uses_anonymous_args = 0 4982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status; 3569 .loc 1 4982 1 is_stmt 0 view .LVU1185 3570 0000 30B5 push {r4, r5, lr} 3571 .LCFI34: 3572 .cfi_def_cfa_offset 12 3573 .cfi_offset 4, -12 3574 .cfi_offset 5, -8 3575 .cfi_offset 14, -4 3576 0002 83B0 sub sp, sp, #12 3577 .LCFI35: 3578 .cfi_def_cfa_offset 24 3579 0004 069D ldr r5, [sp, #24] 4983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3580 .loc 1 4983 3 is_stmt 1 view .LVU1186 4985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ((BurstLength) >> 8U) + 1U); 3581 .loc 1 4985 3 view .LVU1187 4986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3582 .loc 1 4986 59 is_stmt 0 view .LVU1188 3583 0006 2C0A lsrs r4, r5, #8 4985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ((BurstLength) >> 8U) + 1U); 3584 .loc 1 4985 12 view .LVU1189 3585 0008 0134 adds r4, r4, #1 3586 000a 0194 str r4, [sp, #4] 3587 000c 0095 str r5, [sp] 3588 000e FFF7FEFF bl HAL_TIM_DMABurst_MultiReadStart 3589 .LVL290: 4989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3590 .loc 1 4989 3 is_stmt 1 view .LVU1190 4990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3591 .loc 1 4990 1 is_stmt 0 view .LVU1191 3592 0012 03B0 add sp, sp, #12 ARM GAS /tmp/cc0wMqvE.s page 216 3593 .LCFI36: 3594 .cfi_def_cfa_offset 12 3595 @ sp needed 3596 0014 30BD pop {r4, r5, pc} 4990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3597 .loc 1 4990 1 view .LVU1192 3598 .cfi_endproc 3599 .LFE395: 3601 .section .text.HAL_TIM_DMABurst_ReadStop,"ax",%progbits 3602 .align 1 3603 .global HAL_TIM_DMABurst_ReadStop 3604 .syntax unified 3605 .thumb 3606 .thumb_func 3608 HAL_TIM_DMABurst_ReadStop: 3609 .LVL291: 3610 .LFB397: 5225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 3611 .loc 1 5225 1 is_stmt 1 view -0 3612 .cfi_startproc 3613 @ args = 0, pretend = 0, frame = 0 3614 @ frame_needed = 0, uses_anonymous_args = 0 5225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 3615 .loc 1 5225 1 is_stmt 0 view .LVU1194 3616 0000 38B5 push {r3, r4, r5, lr} 3617 .LCFI37: 3618 .cfi_def_cfa_offset 16 3619 .cfi_offset 3, -16 3620 .cfi_offset 4, -12 3621 .cfi_offset 5, -8 3622 .cfi_offset 14, -4 3623 0002 0546 mov r5, r0 3624 0004 0C46 mov r4, r1 5226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3625 .loc 1 5226 3 is_stmt 1 view .LVU1195 3626 .LVL292: 5229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3627 .loc 1 5229 3 view .LVU1196 5232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3628 .loc 1 5232 3 view .LVU1197 3629 0006 B1F5006F cmp r1, #2048 3630 000a 33D0 beq .L196 3631 000c 1BD8 bhi .L197 3632 000e B1F5007F cmp r1, #512 3633 0012 2BD0 beq .L198 3634 0014 B1F5806F cmp r1, #1024 3635 0018 03D1 bne .L207 5246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3636 .loc 1 5246 7 view .LVU1198 5246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3637 .loc 1 5246 13 is_stmt 0 view .LVU1199 3638 001a 806A ldr r0, [r0, #40] 3639 .LVL293: 5246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3640 .loc 1 5246 13 view .LVU1200 3641 001c FFF7FEFF bl HAL_DMA_Abort_IT 3642 .LVL294: ARM GAS /tmp/cc0wMqvE.s page 217 5247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3643 .loc 1 5247 7 is_stmt 1 view .LVU1201 5274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3644 .loc 1 5274 3 view .LVU1202 3645 0020 05E0 b .L205 3646 .LVL295: 3647 .L207: 5232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3648 .loc 1 5232 3 is_stmt 0 view .LVU1203 3649 0022 B1F5807F cmp r1, #256 3650 0026 0CD1 bne .L208 5236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3651 .loc 1 5236 7 is_stmt 1 view .LVU1204 5236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3652 .loc 1 5236 13 is_stmt 0 view .LVU1205 3653 0028 006A ldr r0, [r0, #32] 3654 .LVL296: 5236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3655 .loc 1 5236 13 view .LVU1206 3656 002a FFF7FEFF bl HAL_DMA_Abort_IT 3657 .LVL297: 5237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3658 .loc 1 5237 7 is_stmt 1 view .LVU1207 5274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3659 .loc 1 5274 3 view .LVU1208 3660 .L205: 5277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3661 .loc 1 5277 5 view .LVU1209 3662 002e 2A68 ldr r2, [r5] 3663 0030 D368 ldr r3, [r2, #12] 3664 0032 23EA0403 bic r3, r3, r4 3665 0036 D360 str r3, [r2, #12] 5280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3666 .loc 1 5280 5 view .LVU1210 5280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3667 .loc 1 5280 25 is_stmt 0 view .LVU1211 3668 0038 0123 movs r3, #1 3669 003a 85F84830 strb r3, [r5, #72] 3670 003e 0020 movs r0, #0 3671 .L201: 3672 .LVL298: 5284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3673 .loc 1 5284 3 is_stmt 1 view .LVU1212 5285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3674 .loc 1 5285 1 is_stmt 0 view .LVU1213 3675 0040 38BD pop {r3, r4, r5, pc} 3676 .LVL299: 3677 .L208: 5232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3678 .loc 1 5232 3 view .LVU1214 3679 0042 0120 movs r0, #1 3680 .LVL300: 5232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3681 .loc 1 5232 3 view .LVU1215 3682 0044 FCE7 b .L201 3683 .LVL301: 3684 .L197: ARM GAS /tmp/cc0wMqvE.s page 218 5232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3685 .loc 1 5232 3 view .LVU1216 3686 0046 B1F5005F cmp r1, #8192 3687 004a 17D0 beq .L202 3688 004c B1F5804F cmp r1, #16384 3689 0050 03D1 bne .L209 5266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3690 .loc 1 5266 7 is_stmt 1 view .LVU1217 5266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3691 .loc 1 5266 13 is_stmt 0 view .LVU1218 3692 0052 806B ldr r0, [r0, #56] 3693 .LVL302: 5266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3694 .loc 1 5266 13 view .LVU1219 3695 0054 FFF7FEFF bl HAL_DMA_Abort_IT 3696 .LVL303: 5267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3697 .loc 1 5267 7 is_stmt 1 view .LVU1220 5274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3698 .loc 1 5274 3 view .LVU1221 3699 0058 E9E7 b .L205 3700 .LVL304: 3701 .L209: 5232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3702 .loc 1 5232 3 is_stmt 0 view .LVU1222 3703 005a B1F5805F cmp r1, #4096 3704 005e 03D1 bne .L210 5256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3705 .loc 1 5256 7 is_stmt 1 view .LVU1223 5256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3706 .loc 1 5256 13 is_stmt 0 view .LVU1224 3707 0060 006B ldr r0, [r0, #48] 3708 .LVL305: 5256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3709 .loc 1 5256 13 view .LVU1225 3710 0062 FFF7FEFF bl HAL_DMA_Abort_IT 3711 .LVL306: 5257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3712 .loc 1 5257 7 is_stmt 1 view .LVU1226 5274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3713 .loc 1 5274 3 view .LVU1227 3714 0066 E2E7 b .L205 3715 .LVL307: 3716 .L210: 5232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3717 .loc 1 5232 3 is_stmt 0 view .LVU1228 3718 0068 0120 movs r0, #1 3719 .LVL308: 5232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3720 .loc 1 5232 3 view .LVU1229 3721 006a E9E7 b .L201 3722 .LVL309: 3723 .L198: 5241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3724 .loc 1 5241 7 is_stmt 1 view .LVU1230 5241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3725 .loc 1 5241 13 is_stmt 0 view .LVU1231 ARM GAS /tmp/cc0wMqvE.s page 219 3726 006c 406A ldr r0, [r0, #36] 3727 .LVL310: 5241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3728 .loc 1 5241 13 view .LVU1232 3729 006e FFF7FEFF bl HAL_DMA_Abort_IT 3730 .LVL311: 5242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3731 .loc 1 5242 7 is_stmt 1 view .LVU1233 5274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3732 .loc 1 5274 3 view .LVU1234 3733 0072 DCE7 b .L205 3734 .LVL312: 3735 .L196: 5251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3736 .loc 1 5251 7 view .LVU1235 5251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3737 .loc 1 5251 13 is_stmt 0 view .LVU1236 3738 0074 C06A ldr r0, [r0, #44] 3739 .LVL313: 5251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3740 .loc 1 5251 13 view .LVU1237 3741 0076 FFF7FEFF bl HAL_DMA_Abort_IT 3742 .LVL314: 5252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3743 .loc 1 5252 7 is_stmt 1 view .LVU1238 5274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3744 .loc 1 5274 3 view .LVU1239 3745 007a D8E7 b .L205 3746 .LVL315: 3747 .L202: 5261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3748 .loc 1 5261 7 view .LVU1240 5261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3749 .loc 1 5261 13 is_stmt 0 view .LVU1241 3750 007c 406B ldr r0, [r0, #52] 3751 .LVL316: 5261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3752 .loc 1 5261 13 view .LVU1242 3753 007e FFF7FEFF bl HAL_DMA_Abort_IT 3754 .LVL317: 5262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3755 .loc 1 5262 7 is_stmt 1 view .LVU1243 5274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3756 .loc 1 5274 3 view .LVU1244 3757 0082 D4E7 b .L205 3758 .cfi_endproc 3759 .LFE397: 3761 .section .text.HAL_TIM_GenerateEvent,"ax",%progbits 3762 .align 1 3763 .global HAL_TIM_GenerateEvent 3764 .syntax unified 3765 .thumb 3766 .thumb_func 3768 HAL_TIM_GenerateEvent: 3769 .LVL318: 3770 .LFB398: 5309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ ARM GAS /tmp/cc0wMqvE.s page 220 3771 .loc 1 5309 1 view -0 3772 .cfi_startproc 3773 @ args = 0, pretend = 0, frame = 0 3774 @ frame_needed = 0, uses_anonymous_args = 0 3775 @ link register save eliminated. 5311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_EVENT_SOURCE(EventSource)); 3776 .loc 1 5311 3 view .LVU1246 5312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3777 .loc 1 5312 3 view .LVU1247 5315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3778 .loc 1 5315 3 view .LVU1248 5315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3779 .loc 1 5315 3 view .LVU1249 3780 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 3781 0004 012B cmp r3, #1 3782 0006 0ED0 beq .L213 5315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3783 .loc 1 5315 3 discriminator 2 view .LVU1250 3784 0008 0123 movs r3, #1 3785 000a 80F83C30 strb r3, [r0, #60] 5315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3786 .loc 1 5315 3 discriminator 2 view .LVU1251 5318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3787 .loc 1 5318 3 discriminator 2 view .LVU1252 5318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3788 .loc 1 5318 15 is_stmt 0 discriminator 2 view .LVU1253 3789 000e 0222 movs r2, #2 3790 0010 80F83D20 strb r2, [r0, #61] 5321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3791 .loc 1 5321 3 is_stmt 1 discriminator 2 view .LVU1254 5321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3792 .loc 1 5321 7 is_stmt 0 discriminator 2 view .LVU1255 3793 0014 0268 ldr r2, [r0] 5321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3794 .loc 1 5321 23 discriminator 2 view .LVU1256 3795 0016 5161 str r1, [r2, #20] 5324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3796 .loc 1 5324 3 is_stmt 1 discriminator 2 view .LVU1257 5324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3797 .loc 1 5324 15 is_stmt 0 discriminator 2 view .LVU1258 3798 0018 80F83D30 strb r3, [r0, #61] 5326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3799 .loc 1 5326 3 is_stmt 1 discriminator 2 view .LVU1259 5326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3800 .loc 1 5326 3 discriminator 2 view .LVU1260 3801 001c 0023 movs r3, #0 3802 001e 80F83C30 strb r3, [r0, #60] 5326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3803 .loc 1 5326 3 discriminator 2 view .LVU1261 5329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3804 .loc 1 5329 3 discriminator 2 view .LVU1262 5329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3805 .loc 1 5329 10 is_stmt 0 discriminator 2 view .LVU1263 3806 0022 1846 mov r0, r3 3807 .LVL319: 5329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3808 .loc 1 5329 10 discriminator 2 view .LVU1264 ARM GAS /tmp/cc0wMqvE.s page 221 3809 0024 7047 bx lr 3810 .LVL320: 3811 .L213: 5315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3812 .loc 1 5315 3 view .LVU1265 3813 0026 0220 movs r0, #2 3814 .LVL321: 5330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3815 .loc 1 5330 1 view .LVU1266 3816 0028 7047 bx lr 3817 .cfi_endproc 3818 .LFE398: 3820 .section .text.HAL_TIM_ConfigTI1Input,"ax",%progbits 3821 .align 1 3822 .global HAL_TIM_ConfigTI1Input 3823 .syntax unified 3824 .thumb 3825 .thumb_func 3827 HAL_TIM_ConfigTI1Input: 3828 .LVL322: 3829 .LFB401: 5718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpcr2; 3830 .loc 1 5718 1 is_stmt 1 view -0 3831 .cfi_startproc 3832 @ args = 0, pretend = 0, frame = 0 3833 @ frame_needed = 0, uses_anonymous_args = 0 3834 @ link register save eliminated. 5719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3835 .loc 1 5719 3 view .LVU1268 5722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TI1SELECTION(TI1_Selection)); 3836 .loc 1 5722 3 view .LVU1269 5723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3837 .loc 1 5723 3 view .LVU1270 5726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3838 .loc 1 5726 3 view .LVU1271 5726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3839 .loc 1 5726 16 is_stmt 0 view .LVU1272 3840 0000 0268 ldr r2, [r0] 5726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3841 .loc 1 5726 10 view .LVU1273 3842 0002 5368 ldr r3, [r2, #4] 3843 .LVL323: 5729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3844 .loc 1 5729 3 is_stmt 1 view .LVU1274 5729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3845 .loc 1 5729 10 is_stmt 0 view .LVU1275 3846 0004 23F08003 bic r3, r3, #128 3847 .LVL324: 5732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3848 .loc 1 5732 3 is_stmt 1 view .LVU1276 5732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3849 .loc 1 5732 10 is_stmt 0 view .LVU1277 3850 0008 0B43 orrs r3, r3, r1 3851 .LVL325: 5735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3852 .loc 1 5735 3 is_stmt 1 view .LVU1278 5735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 222 3853 .loc 1 5735 23 is_stmt 0 view .LVU1279 3854 000a 5360 str r3, [r2, #4] 5737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3855 .loc 1 5737 3 is_stmt 1 view .LVU1280 5738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3856 .loc 1 5738 1 is_stmt 0 view .LVU1281 3857 000c 0020 movs r0, #0 3858 .LVL326: 5738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3859 .loc 1 5738 1 view .LVU1282 3860 000e 7047 bx lr 3861 .cfi_endproc 3862 .LFE401: 3864 .section .text.HAL_TIM_ReadCapturedValue,"ax",%progbits 3865 .align 1 3866 .global HAL_TIM_ReadCapturedValue 3867 .syntax unified 3868 .thumb 3869 .thumb_func 3871 HAL_TIM_ReadCapturedValue: 3872 .LVL327: 3873 .LFB404: 5833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpreg = 0U; 3874 .loc 1 5833 1 is_stmt 1 view -0 3875 .cfi_startproc 3876 @ args = 0, pretend = 0, frame = 0 3877 @ frame_needed = 0, uses_anonymous_args = 0 3878 @ link register save eliminated. 5834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3879 .loc 1 5834 3 view .LVU1284 5836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3880 .loc 1 5836 3 view .LVU1285 3881 0000 0C29 cmp r1, #12 3882 0002 14D8 bhi .L222 3883 0004 DFE801F0 tbb [pc, r1] 3884 .L218: 3885 0008 07 .byte (.L221-.L218)/2 3886 0009 13 .byte (.L222-.L218)/2 3887 000a 13 .byte (.L222-.L218)/2 3888 000b 13 .byte (.L222-.L218)/2 3889 000c 0A .byte (.L220-.L218)/2 3890 000d 13 .byte (.L222-.L218)/2 3891 000e 13 .byte (.L222-.L218)/2 3892 000f 13 .byte (.L222-.L218)/2 3893 0010 0D .byte (.L219-.L218)/2 3894 0011 13 .byte (.L222-.L218)/2 3895 0012 13 .byte (.L222-.L218)/2 3896 0013 13 .byte (.L222-.L218)/2 3897 0014 10 .byte (.L217-.L218)/2 3898 0015 00 .p2align 1 3899 .L221: 5841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3900 .loc 1 5841 7 view .LVU1286 5844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3901 .loc 1 5844 7 view .LVU1287 5844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3902 .loc 1 5844 21 is_stmt 0 view .LVU1288 ARM GAS /tmp/cc0wMqvE.s page 223 3903 0016 0368 ldr r3, [r0] 5844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3904 .loc 1 5844 14 view .LVU1289 3905 0018 586B ldr r0, [r3, #52] 3906 .LVL328: 5846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3907 .loc 1 5846 7 is_stmt 1 view .LVU1290 3908 001a 7047 bx lr 3909 .LVL329: 3910 .L220: 5851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3911 .loc 1 5851 7 view .LVU1291 5854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3912 .loc 1 5854 7 view .LVU1292 5854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3913 .loc 1 5854 22 is_stmt 0 view .LVU1293 3914 001c 0368 ldr r3, [r0] 5854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3915 .loc 1 5854 14 view .LVU1294 3916 001e 986B ldr r0, [r3, #56] 3917 .LVL330: 5856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3918 .loc 1 5856 7 is_stmt 1 view .LVU1295 3919 0020 7047 bx lr 3920 .LVL331: 3921 .L219: 5862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3922 .loc 1 5862 7 view .LVU1296 5865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3923 .loc 1 5865 7 view .LVU1297 5865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3924 .loc 1 5865 22 is_stmt 0 view .LVU1298 3925 0022 0368 ldr r3, [r0] 5865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3926 .loc 1 5865 14 view .LVU1299 3927 0024 D86B ldr r0, [r3, #60] 3928 .LVL332: 5867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3929 .loc 1 5867 7 is_stmt 1 view .LVU1300 3930 0026 7047 bx lr 3931 .LVL333: 3932 .L217: 5873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3933 .loc 1 5873 7 view .LVU1301 5876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3934 .loc 1 5876 7 view .LVU1302 5876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3935 .loc 1 5876 22 is_stmt 0 view .LVU1303 3936 0028 0368 ldr r3, [r0] 5876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3937 .loc 1 5876 14 view .LVU1304 3938 002a 186C ldr r0, [r3, #64] 3939 .LVL334: 5878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3940 .loc 1 5878 7 is_stmt 1 view .LVU1305 3941 002c 7047 bx lr 3942 .LVL335: ARM GAS /tmp/cc0wMqvE.s page 224 3943 .L222: 5836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3944 .loc 1 5836 3 is_stmt 0 view .LVU1306 3945 002e 0020 movs r0, #0 3946 .LVL336: 5885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3947 .loc 1 5885 3 is_stmt 1 view .LVU1307 5886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3948 .loc 1 5886 1 is_stmt 0 view .LVU1308 3949 0030 7047 bx lr 3950 .cfi_endproc 3951 .LFE404: 3953 .section .text.HAL_TIM_PeriodElapsedCallback,"ax",%progbits 3954 .align 1 3955 .weak HAL_TIM_PeriodElapsedCallback 3956 .syntax unified 3957 .thumb 3958 .thumb_func 3960 HAL_TIM_PeriodElapsedCallback: 3961 .LVL337: 3962 .LFB405: 5921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 3963 .loc 1 5921 1 is_stmt 1 view -0 3964 .cfi_startproc 3965 @ args = 0, pretend = 0, frame = 0 3966 @ frame_needed = 0, uses_anonymous_args = 0 3967 @ link register save eliminated. 5923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3968 .loc 1 5923 3 view .LVU1310 5928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3969 .loc 1 5928 1 is_stmt 0 view .LVU1311 3970 0000 7047 bx lr 3971 .cfi_endproc 3972 .LFE405: 3974 .section .text.TIM_DMAPeriodElapsedCplt,"ax",%progbits 3975 .align 1 3976 .syntax unified 3977 .thumb 3978 .thumb_func 3980 TIM_DMAPeriodElapsedCplt: 3981 .LVL338: 3982 .LFB429: 7032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 3983 .loc 1 7032 1 is_stmt 1 view -0 3984 .cfi_startproc 3985 @ args = 0, pretend = 0, frame = 0 3986 @ frame_needed = 0, uses_anonymous_args = 0 7032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 3987 .loc 1 7032 1 is_stmt 0 view .LVU1313 3988 0000 08B5 push {r3, lr} 3989 .LCFI38: 3990 .cfi_def_cfa_offset 8 3991 .cfi_offset 3, -8 3992 .cfi_offset 14, -4 7033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3993 .loc 1 7033 3 is_stmt 1 view .LVU1314 7033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 225 3994 .loc 1 7033 22 is_stmt 0 view .LVU1315 3995 0002 806A ldr r0, [r0, #40] 3996 .LVL339: 7035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3997 .loc 1 7035 3 is_stmt 1 view .LVU1316 7035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3998 .loc 1 7035 17 is_stmt 0 view .LVU1317 3999 0004 036A ldr r3, [r0, #32] 7035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4000 .loc 1 7035 42 view .LVU1318 4001 0006 DB69 ldr r3, [r3, #28] 7035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4002 .loc 1 7035 6 view .LVU1319 4003 0008 13B9 cbnz r3, .L225 7037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4004 .loc 1 7037 5 is_stmt 1 view .LVU1320 7037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4005 .loc 1 7037 17 is_stmt 0 view .LVU1321 4006 000a 0123 movs r3, #1 4007 000c 80F83D30 strb r3, [r0, #61] 4008 .L225: 7043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4009 .loc 1 7043 3 is_stmt 1 view .LVU1322 4010 0010 FFF7FEFF bl HAL_TIM_PeriodElapsedCallback 4011 .LVL340: 7045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4012 .loc 1 7045 1 is_stmt 0 view .LVU1323 4013 0014 08BD pop {r3, pc} 4014 .cfi_endproc 4015 .LFE429: 4017 .section .text.HAL_TIM_PeriodElapsedHalfCpltCallback,"ax",%progbits 4018 .align 1 4019 .weak HAL_TIM_PeriodElapsedHalfCpltCallback 4020 .syntax unified 4021 .thumb 4022 .thumb_func 4024 HAL_TIM_PeriodElapsedHalfCpltCallback: 4025 .LVL341: 4026 .LFB406: 5936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 4027 .loc 1 5936 1 is_stmt 1 view -0 4028 .cfi_startproc 4029 @ args = 0, pretend = 0, frame = 0 4030 @ frame_needed = 0, uses_anonymous_args = 0 4031 @ link register save eliminated. 5938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4032 .loc 1 5938 3 view .LVU1325 5943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4033 .loc 1 5943 1 is_stmt 0 view .LVU1326 4034 0000 7047 bx lr 4035 .cfi_endproc 4036 .LFE406: 4038 .section .text.TIM_DMAPeriodElapsedHalfCplt,"ax",%progbits 4039 .align 1 4040 .syntax unified 4041 .thumb 4042 .thumb_func ARM GAS /tmp/cc0wMqvE.s page 226 4044 TIM_DMAPeriodElapsedHalfCplt: 4045 .LVL342: 4046 .LFB430: 7053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 4047 .loc 1 7053 1 is_stmt 1 view -0 4048 .cfi_startproc 4049 @ args = 0, pretend = 0, frame = 0 4050 @ frame_needed = 0, uses_anonymous_args = 0 7053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 4051 .loc 1 7053 1 is_stmt 0 view .LVU1328 4052 0000 08B5 push {r3, lr} 4053 .LCFI39: 4054 .cfi_def_cfa_offset 8 4055 .cfi_offset 3, -8 4056 .cfi_offset 14, -4 7054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4057 .loc 1 7054 3 is_stmt 1 view .LVU1329 4058 .LVL343: 7059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4059 .loc 1 7059 3 view .LVU1330 4060 0002 806A ldr r0, [r0, #40] 4061 .LVL344: 7059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4062 .loc 1 7059 3 is_stmt 0 view .LVU1331 4063 0004 FFF7FEFF bl HAL_TIM_PeriodElapsedHalfCpltCallback 4064 .LVL345: 7061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4065 .loc 1 7061 1 view .LVU1332 4066 0008 08BD pop {r3, pc} 4067 .cfi_endproc 4068 .LFE430: 4070 .section .text.HAL_TIM_OC_DelayElapsedCallback,"ax",%progbits 4071 .align 1 4072 .weak HAL_TIM_OC_DelayElapsedCallback 4073 .syntax unified 4074 .thumb 4075 .thumb_func 4077 HAL_TIM_OC_DelayElapsedCallback: 4078 .LVL346: 4079 .LFB407: 5951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 4080 .loc 1 5951 1 is_stmt 1 view -0 4081 .cfi_startproc 4082 @ args = 0, pretend = 0, frame = 0 4083 @ frame_needed = 0, uses_anonymous_args = 0 4084 @ link register save eliminated. 5953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4085 .loc 1 5953 3 view .LVU1334 5958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4086 .loc 1 5958 1 is_stmt 0 view .LVU1335 4087 0000 7047 bx lr 4088 .cfi_endproc 4089 .LFE407: 4091 .section .text.HAL_TIM_IC_CaptureCallback,"ax",%progbits 4092 .align 1 4093 .weak HAL_TIM_IC_CaptureCallback 4094 .syntax unified ARM GAS /tmp/cc0wMqvE.s page 227 4095 .thumb 4096 .thumb_func 4098 HAL_TIM_IC_CaptureCallback: 4099 .LVL347: 4100 .LFB408: 5966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 4101 .loc 1 5966 1 is_stmt 1 view -0 4102 .cfi_startproc 4103 @ args = 0, pretend = 0, frame = 0 4104 @ frame_needed = 0, uses_anonymous_args = 0 4105 @ link register save eliminated. 5968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4106 .loc 1 5968 3 view .LVU1337 5973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4107 .loc 1 5973 1 is_stmt 0 view .LVU1338 4108 0000 7047 bx lr 4109 .cfi_endproc 4110 .LFE408: 4112 .section .text.TIM_DMACaptureCplt,"ax",%progbits 4113 .align 1 4114 .global TIM_DMACaptureCplt 4115 .syntax unified 4116 .thumb 4117 .thumb_func 4119 TIM_DMACaptureCplt: 4120 .LVL348: 4121 .LFB427: 6930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 4122 .loc 1 6930 1 is_stmt 1 view -0 4123 .cfi_startproc 4124 @ args = 0, pretend = 0, frame = 0 4125 @ frame_needed = 0, uses_anonymous_args = 0 6930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 4126 .loc 1 6930 1 is_stmt 0 view .LVU1340 4127 0000 10B5 push {r4, lr} 4128 .LCFI40: 4129 .cfi_def_cfa_offset 8 4130 .cfi_offset 4, -8 4131 .cfi_offset 14, -4 6931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4132 .loc 1 6931 3 is_stmt 1 view .LVU1341 6931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4133 .loc 1 6931 22 is_stmt 0 view .LVU1342 4134 0002 846A ldr r4, [r0, #40] 4135 .LVL349: 6933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4136 .loc 1 6933 3 is_stmt 1 view .LVU1343 6933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4137 .loc 1 6933 25 is_stmt 0 view .LVU1344 4138 0004 636A ldr r3, [r4, #36] 6933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4139 .loc 1 6933 6 view .LVU1345 4140 0006 8342 cmp r3, r0 4141 0008 0ED0 beq .L238 6943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4142 .loc 1 6943 8 is_stmt 1 view .LVU1346 6943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 228 4143 .loc 1 6943 30 is_stmt 0 view .LVU1347 4144 000a A36A ldr r3, [r4, #40] 6943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4145 .loc 1 6943 11 view .LVU1348 4146 000c 8342 cmp r3, r0 4147 000e 16D0 beq .L239 6953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4148 .loc 1 6953 8 is_stmt 1 view .LVU1349 6953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4149 .loc 1 6953 30 is_stmt 0 view .LVU1350 4150 0010 E36A ldr r3, [r4, #44] 6953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4151 .loc 1 6953 11 view .LVU1351 4152 0012 8342 cmp r3, r0 4153 0014 1ED0 beq .L240 6963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4154 .loc 1 6963 8 is_stmt 1 view .LVU1352 6963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4155 .loc 1 6963 30 is_stmt 0 view .LVU1353 4156 0016 236B ldr r3, [r4, #48] 6963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4157 .loc 1 6963 11 view .LVU1354 4158 0018 8342 cmp r3, r0 4159 001a 26D0 beq .L241 4160 .L234: 6976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4161 .loc 1 6976 3 is_stmt 1 view .LVU1355 6981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4162 .loc 1 6981 3 view .LVU1356 4163 001c 2046 mov r0, r4 4164 .LVL350: 6981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4165 .loc 1 6981 3 is_stmt 0 view .LVU1357 4166 001e FFF7FEFF bl HAL_TIM_IC_CaptureCallback 4167 .LVL351: 6984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4168 .loc 1 6984 3 is_stmt 1 view .LVU1358 6984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4169 .loc 1 6984 17 is_stmt 0 view .LVU1359 4170 0022 0023 movs r3, #0 4171 0024 2377 strb r3, [r4, #28] 6985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4172 .loc 1 6985 1 view .LVU1360 4173 0026 10BD pop {r4, pc} 4174 .LVL352: 4175 .L238: 6935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4176 .loc 1 6935 5 is_stmt 1 view .LVU1361 6935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4177 .loc 1 6935 19 is_stmt 0 view .LVU1362 4178 0028 0123 movs r3, #1 4179 002a 2377 strb r3, [r4, #28] 6937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4180 .loc 1 6937 5 is_stmt 1 view .LVU1363 6937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4181 .loc 1 6937 19 is_stmt 0 view .LVU1364 4182 002c C369 ldr r3, [r0, #28] ARM GAS /tmp/cc0wMqvE.s page 229 6937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4183 .loc 1 6937 8 view .LVU1365 4184 002e 002B cmp r3, #0 4185 0030 F4D1 bne .L234 6939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 4186 .loc 1 6939 7 is_stmt 1 view .LVU1366 4187 0032 0123 movs r3, #1 4188 0034 84F83E30 strb r3, [r4, #62] 6940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4189 .loc 1 6940 7 view .LVU1367 4190 0038 84F84430 strb r3, [r4, #68] 4191 003c EEE7 b .L234 4192 .L239: 6945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4193 .loc 1 6945 5 view .LVU1368 6945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4194 .loc 1 6945 19 is_stmt 0 view .LVU1369 4195 003e 0223 movs r3, #2 4196 0040 2377 strb r3, [r4, #28] 6947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4197 .loc 1 6947 5 is_stmt 1 view .LVU1370 6947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4198 .loc 1 6947 19 is_stmt 0 view .LVU1371 4199 0042 C369 ldr r3, [r0, #28] 6947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4200 .loc 1 6947 8 view .LVU1372 4201 0044 002B cmp r3, #0 4202 0046 E9D1 bne .L234 6949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 4203 .loc 1 6949 7 is_stmt 1 view .LVU1373 4204 0048 0123 movs r3, #1 4205 004a 84F83F30 strb r3, [r4, #63] 6950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4206 .loc 1 6950 7 view .LVU1374 4207 004e 84F84530 strb r3, [r4, #69] 4208 0052 E3E7 b .L234 4209 .L240: 6955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4210 .loc 1 6955 5 view .LVU1375 6955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4211 .loc 1 6955 19 is_stmt 0 view .LVU1376 4212 0054 0423 movs r3, #4 4213 0056 2377 strb r3, [r4, #28] 6957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4214 .loc 1 6957 5 is_stmt 1 view .LVU1377 6957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4215 .loc 1 6957 19 is_stmt 0 view .LVU1378 4216 0058 C369 ldr r3, [r0, #28] 6957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4217 .loc 1 6957 8 view .LVU1379 4218 005a 002B cmp r3, #0 4219 005c DED1 bne .L234 6959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY); 4220 .loc 1 6959 7 is_stmt 1 view .LVU1380 4221 005e 0123 movs r3, #1 4222 0060 84F84030 strb r3, [r4, #64] 6960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 230 4223 .loc 1 6960 7 view .LVU1381 4224 0064 84F84630 strb r3, [r4, #70] 4225 0068 D8E7 b .L234 4226 .L241: 6965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4227 .loc 1 6965 5 view .LVU1382 6965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4228 .loc 1 6965 19 is_stmt 0 view .LVU1383 4229 006a 0823 movs r3, #8 4230 006c 2377 strb r3, [r4, #28] 6967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4231 .loc 1 6967 5 is_stmt 1 view .LVU1384 6967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4232 .loc 1 6967 19 is_stmt 0 view .LVU1385 4233 006e C369 ldr r3, [r0, #28] 6967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4234 .loc 1 6967 8 view .LVU1386 4235 0070 002B cmp r3, #0 4236 0072 D3D1 bne .L234 6969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY); 4237 .loc 1 6969 7 is_stmt 1 view .LVU1387 4238 0074 0123 movs r3, #1 4239 0076 84F84130 strb r3, [r4, #65] 6970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4240 .loc 1 6970 7 view .LVU1388 4241 007a 84F84730 strb r3, [r4, #71] 4242 007e CDE7 b .L234 4243 .cfi_endproc 4244 .LFE427: 4246 .section .text.HAL_TIM_IC_CaptureHalfCpltCallback,"ax",%progbits 4247 .align 1 4248 .weak HAL_TIM_IC_CaptureHalfCpltCallback 4249 .syntax unified 4250 .thumb 4251 .thumb_func 4253 HAL_TIM_IC_CaptureHalfCpltCallback: 4254 .LVL353: 4255 .LFB409: 5981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 4256 .loc 1 5981 1 view -0 4257 .cfi_startproc 4258 @ args = 0, pretend = 0, frame = 0 4259 @ frame_needed = 0, uses_anonymous_args = 0 4260 @ link register save eliminated. 5983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4261 .loc 1 5983 3 view .LVU1390 5988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4262 .loc 1 5988 1 is_stmt 0 view .LVU1391 4263 0000 7047 bx lr 4264 .cfi_endproc 4265 .LFE409: 4267 .section .text.TIM_DMACaptureHalfCplt,"ax",%progbits 4268 .align 1 4269 .global TIM_DMACaptureHalfCplt 4270 .syntax unified 4271 .thumb 4272 .thumb_func ARM GAS /tmp/cc0wMqvE.s page 231 4274 TIM_DMACaptureHalfCplt: 4275 .LVL354: 4276 .LFB428: 6993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 4277 .loc 1 6993 1 is_stmt 1 view -0 4278 .cfi_startproc 4279 @ args = 0, pretend = 0, frame = 0 4280 @ frame_needed = 0, uses_anonymous_args = 0 6993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 4281 .loc 1 6993 1 is_stmt 0 view .LVU1393 4282 0000 10B5 push {r4, lr} 4283 .LCFI41: 4284 .cfi_def_cfa_offset 8 4285 .cfi_offset 4, -8 4286 .cfi_offset 14, -4 6994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4287 .loc 1 6994 3 is_stmt 1 view .LVU1394 6994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4288 .loc 1 6994 22 is_stmt 0 view .LVU1395 4289 0002 846A ldr r4, [r0, #40] 4290 .LVL355: 6996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4291 .loc 1 6996 3 is_stmt 1 view .LVU1396 6996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4292 .loc 1 6996 25 is_stmt 0 view .LVU1397 4293 0004 636A ldr r3, [r4, #36] 6996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4294 .loc 1 6996 6 view .LVU1398 4295 0006 8342 cmp r3, r0 4296 0008 0BD0 beq .L249 7000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4297 .loc 1 7000 8 is_stmt 1 view .LVU1399 7000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4298 .loc 1 7000 30 is_stmt 0 view .LVU1400 4299 000a A36A ldr r3, [r4, #40] 7000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4300 .loc 1 7000 11 view .LVU1401 4301 000c 8342 cmp r3, r0 4302 000e 10D0 beq .L250 7004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4303 .loc 1 7004 8 is_stmt 1 view .LVU1402 7004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4304 .loc 1 7004 30 is_stmt 0 view .LVU1403 4305 0010 E36A ldr r3, [r4, #44] 7004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4306 .loc 1 7004 11 view .LVU1404 4307 0012 8342 cmp r3, r0 4308 0014 10D0 beq .L251 7008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4309 .loc 1 7008 8 is_stmt 1 view .LVU1405 7008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4310 .loc 1 7008 30 is_stmt 0 view .LVU1406 4311 0016 236B ldr r3, [r4, #48] 7008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4312 .loc 1 7008 11 view .LVU1407 4313 0018 8342 cmp r3, r0 4314 001a 04D1 bne .L245 ARM GAS /tmp/cc0wMqvE.s page 232 7010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4315 .loc 1 7010 5 is_stmt 1 view .LVU1408 7010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4316 .loc 1 7010 19 is_stmt 0 view .LVU1409 4317 001c 0823 movs r3, #8 4318 001e 2377 strb r3, [r4, #28] 4319 0020 01E0 b .L245 4320 .L249: 6998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4321 .loc 1 6998 5 is_stmt 1 view .LVU1410 6998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4322 .loc 1 6998 19 is_stmt 0 view .LVU1411 4323 0022 0123 movs r3, #1 4324 0024 2377 strb r3, [r4, #28] 4325 .L245: 7015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4326 .loc 1 7015 3 is_stmt 1 view .LVU1412 7020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4327 .loc 1 7020 3 view .LVU1413 4328 0026 2046 mov r0, r4 4329 .LVL356: 7020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4330 .loc 1 7020 3 is_stmt 0 view .LVU1414 4331 0028 FFF7FEFF bl HAL_TIM_IC_CaptureHalfCpltCallback 4332 .LVL357: 7023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4333 .loc 1 7023 3 is_stmt 1 view .LVU1415 7023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4334 .loc 1 7023 17 is_stmt 0 view .LVU1416 4335 002c 0023 movs r3, #0 4336 002e 2377 strb r3, [r4, #28] 7024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4337 .loc 1 7024 1 view .LVU1417 4338 0030 10BD pop {r4, pc} 4339 .LVL358: 4340 .L250: 7002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4341 .loc 1 7002 5 is_stmt 1 view .LVU1418 7002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4342 .loc 1 7002 19 is_stmt 0 view .LVU1419 4343 0032 0223 movs r3, #2 4344 0034 2377 strb r3, [r4, #28] 4345 0036 F6E7 b .L245 4346 .L251: 7006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4347 .loc 1 7006 5 is_stmt 1 view .LVU1420 7006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4348 .loc 1 7006 19 is_stmt 0 view .LVU1421 4349 0038 0423 movs r3, #4 4350 003a 2377 strb r3, [r4, #28] 4351 003c F3E7 b .L245 4352 .cfi_endproc 4353 .LFE428: 4355 .section .text.HAL_TIM_PWM_PulseFinishedCallback,"ax",%progbits 4356 .align 1 4357 .weak HAL_TIM_PWM_PulseFinishedCallback 4358 .syntax unified ARM GAS /tmp/cc0wMqvE.s page 233 4359 .thumb 4360 .thumb_func 4362 HAL_TIM_PWM_PulseFinishedCallback: 4363 .LVL359: 4364 .LFB410: 5996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 4365 .loc 1 5996 1 is_stmt 1 view -0 4366 .cfi_startproc 4367 @ args = 0, pretend = 0, frame = 0 4368 @ frame_needed = 0, uses_anonymous_args = 0 4369 @ link register save eliminated. 5998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4370 .loc 1 5998 3 view .LVU1423 6003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4371 .loc 1 6003 1 is_stmt 0 view .LVU1424 4372 0000 7047 bx lr 4373 .cfi_endproc 4374 .LFE410: 4376 .section .text.TIM_DMADelayPulseCplt,"ax",%progbits 4377 .align 1 4378 .syntax unified 4379 .thumb 4380 .thumb_func 4382 TIM_DMADelayPulseCplt: 4383 .LVL360: 4384 .LFB425: 6832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 4385 .loc 1 6832 1 is_stmt 1 view -0 4386 .cfi_startproc 4387 @ args = 0, pretend = 0, frame = 0 4388 @ frame_needed = 0, uses_anonymous_args = 0 6832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 4389 .loc 1 6832 1 is_stmt 0 view .LVU1426 4390 0000 10B5 push {r4, lr} 4391 .LCFI42: 4392 .cfi_def_cfa_offset 8 4393 .cfi_offset 4, -8 4394 .cfi_offset 14, -4 6833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4395 .loc 1 6833 3 is_stmt 1 view .LVU1427 6833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4396 .loc 1 6833 22 is_stmt 0 view .LVU1428 4397 0002 846A ldr r4, [r0, #40] 4398 .LVL361: 6835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4399 .loc 1 6835 3 is_stmt 1 view .LVU1429 6835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4400 .loc 1 6835 25 is_stmt 0 view .LVU1430 4401 0004 636A ldr r3, [r4, #36] 6835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4402 .loc 1 6835 6 view .LVU1431 4403 0006 8342 cmp r3, r0 4404 0008 0ED0 beq .L259 6844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4405 .loc 1 6844 8 is_stmt 1 view .LVU1432 6844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4406 .loc 1 6844 30 is_stmt 0 view .LVU1433 ARM GAS /tmp/cc0wMqvE.s page 234 4407 000a A36A ldr r3, [r4, #40] 6844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4408 .loc 1 6844 11 view .LVU1434 4409 000c 8342 cmp r3, r0 4410 000e 14D0 beq .L260 6853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4411 .loc 1 6853 8 is_stmt 1 view .LVU1435 6853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4412 .loc 1 6853 30 is_stmt 0 view .LVU1436 4413 0010 E36A ldr r3, [r4, #44] 6853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4414 .loc 1 6853 11 view .LVU1437 4415 0012 8342 cmp r3, r0 4416 0014 1AD0 beq .L261 6862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4417 .loc 1 6862 8 is_stmt 1 view .LVU1438 6862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4418 .loc 1 6862 30 is_stmt 0 view .LVU1439 4419 0016 236B ldr r3, [r4, #48] 6862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4420 .loc 1 6862 11 view .LVU1440 4421 0018 8342 cmp r3, r0 4422 001a 20D0 beq .L262 4423 .L255: 6874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4424 .loc 1 6874 3 is_stmt 1 view .LVU1441 6879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4425 .loc 1 6879 3 view .LVU1442 4426 001c 2046 mov r0, r4 4427 .LVL362: 6879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4428 .loc 1 6879 3 is_stmt 0 view .LVU1443 4429 001e FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback 4430 .LVL363: 6882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4431 .loc 1 6882 3 is_stmt 1 view .LVU1444 6882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4432 .loc 1 6882 17 is_stmt 0 view .LVU1445 4433 0022 0023 movs r3, #0 4434 0024 2377 strb r3, [r4, #28] 6883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4435 .loc 1 6883 1 view .LVU1446 4436 0026 10BD pop {r4, pc} 4437 .LVL364: 4438 .L259: 6837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4439 .loc 1 6837 5 is_stmt 1 view .LVU1447 6837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4440 .loc 1 6837 19 is_stmt 0 view .LVU1448 4441 0028 0123 movs r3, #1 4442 002a 2377 strb r3, [r4, #28] 6839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4443 .loc 1 6839 5 is_stmt 1 view .LVU1449 6839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4444 .loc 1 6839 19 is_stmt 0 view .LVU1450 4445 002c C369 ldr r3, [r0, #28] 6839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 235 4446 .loc 1 6839 8 view .LVU1451 4447 002e 002B cmp r3, #0 4448 0030 F4D1 bne .L255 6841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4449 .loc 1 6841 7 is_stmt 1 view .LVU1452 4450 0032 0123 movs r3, #1 4451 0034 84F83E30 strb r3, [r4, #62] 4452 0038 F0E7 b .L255 4453 .L260: 6846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4454 .loc 1 6846 5 view .LVU1453 6846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4455 .loc 1 6846 19 is_stmt 0 view .LVU1454 4456 003a 0223 movs r3, #2 4457 003c 2377 strb r3, [r4, #28] 6848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4458 .loc 1 6848 5 is_stmt 1 view .LVU1455 6848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4459 .loc 1 6848 19 is_stmt 0 view .LVU1456 4460 003e C369 ldr r3, [r0, #28] 6848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4461 .loc 1 6848 8 view .LVU1457 4462 0040 002B cmp r3, #0 4463 0042 EBD1 bne .L255 6850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4464 .loc 1 6850 7 is_stmt 1 view .LVU1458 4465 0044 0123 movs r3, #1 4466 0046 84F83F30 strb r3, [r4, #63] 4467 004a E7E7 b .L255 4468 .L261: 6855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4469 .loc 1 6855 5 view .LVU1459 6855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4470 .loc 1 6855 19 is_stmt 0 view .LVU1460 4471 004c 0423 movs r3, #4 4472 004e 2377 strb r3, [r4, #28] 6857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4473 .loc 1 6857 5 is_stmt 1 view .LVU1461 6857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4474 .loc 1 6857 19 is_stmt 0 view .LVU1462 4475 0050 C369 ldr r3, [r0, #28] 6857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4476 .loc 1 6857 8 view .LVU1463 4477 0052 002B cmp r3, #0 4478 0054 E2D1 bne .L255 6859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4479 .loc 1 6859 7 is_stmt 1 view .LVU1464 4480 0056 0123 movs r3, #1 4481 0058 84F84030 strb r3, [r4, #64] 4482 005c DEE7 b .L255 4483 .L262: 6864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4484 .loc 1 6864 5 view .LVU1465 6864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4485 .loc 1 6864 19 is_stmt 0 view .LVU1466 4486 005e 0823 movs r3, #8 4487 0060 2377 strb r3, [r4, #28] ARM GAS /tmp/cc0wMqvE.s page 236 6866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4488 .loc 1 6866 5 is_stmt 1 view .LVU1467 6866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4489 .loc 1 6866 19 is_stmt 0 view .LVU1468 4490 0062 C369 ldr r3, [r0, #28] 6866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4491 .loc 1 6866 8 view .LVU1469 4492 0064 002B cmp r3, #0 4493 0066 D9D1 bne .L255 6868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4494 .loc 1 6868 7 is_stmt 1 view .LVU1470 4495 0068 0123 movs r3, #1 4496 006a 84F84130 strb r3, [r4, #65] 4497 006e D5E7 b .L255 4498 .cfi_endproc 4499 .LFE425: 4501 .section .text.HAL_TIM_PWM_PulseFinishedHalfCpltCallback,"ax",%progbits 4502 .align 1 4503 .weak HAL_TIM_PWM_PulseFinishedHalfCpltCallback 4504 .syntax unified 4505 .thumb 4506 .thumb_func 4508 HAL_TIM_PWM_PulseFinishedHalfCpltCallback: 4509 .LVL365: 4510 .LFB411: 6011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 4511 .loc 1 6011 1 view -0 4512 .cfi_startproc 4513 @ args = 0, pretend = 0, frame = 0 4514 @ frame_needed = 0, uses_anonymous_args = 0 4515 @ link register save eliminated. 6013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4516 .loc 1 6013 3 view .LVU1472 6018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4517 .loc 1 6018 1 is_stmt 0 view .LVU1473 4518 0000 7047 bx lr 4519 .cfi_endproc 4520 .LFE411: 4522 .section .text.TIM_DMADelayPulseHalfCplt,"ax",%progbits 4523 .align 1 4524 .global TIM_DMADelayPulseHalfCplt 4525 .syntax unified 4526 .thumb 4527 .thumb_func 4529 TIM_DMADelayPulseHalfCplt: 4530 .LVL366: 4531 .LFB426: 6891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 4532 .loc 1 6891 1 is_stmt 1 view -0 4533 .cfi_startproc 4534 @ args = 0, pretend = 0, frame = 0 4535 @ frame_needed = 0, uses_anonymous_args = 0 6891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 4536 .loc 1 6891 1 is_stmt 0 view .LVU1475 4537 0000 10B5 push {r4, lr} 4538 .LCFI43: 4539 .cfi_def_cfa_offset 8 ARM GAS /tmp/cc0wMqvE.s page 237 4540 .cfi_offset 4, -8 4541 .cfi_offset 14, -4 6892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4542 .loc 1 6892 3 is_stmt 1 view .LVU1476 6892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4543 .loc 1 6892 22 is_stmt 0 view .LVU1477 4544 0002 846A ldr r4, [r0, #40] 4545 .LVL367: 6894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4546 .loc 1 6894 3 is_stmt 1 view .LVU1478 6894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4547 .loc 1 6894 25 is_stmt 0 view .LVU1479 4548 0004 636A ldr r3, [r4, #36] 6894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4549 .loc 1 6894 6 view .LVU1480 4550 0006 8342 cmp r3, r0 4551 0008 0BD0 beq .L270 6898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4552 .loc 1 6898 8 is_stmt 1 view .LVU1481 6898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4553 .loc 1 6898 30 is_stmt 0 view .LVU1482 4554 000a A36A ldr r3, [r4, #40] 6898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4555 .loc 1 6898 11 view .LVU1483 4556 000c 8342 cmp r3, r0 4557 000e 10D0 beq .L271 6902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4558 .loc 1 6902 8 is_stmt 1 view .LVU1484 6902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4559 .loc 1 6902 30 is_stmt 0 view .LVU1485 4560 0010 E36A ldr r3, [r4, #44] 6902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4561 .loc 1 6902 11 view .LVU1486 4562 0012 8342 cmp r3, r0 4563 0014 10D0 beq .L272 6906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4564 .loc 1 6906 8 is_stmt 1 view .LVU1487 6906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4565 .loc 1 6906 30 is_stmt 0 view .LVU1488 4566 0016 236B ldr r3, [r4, #48] 6906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4567 .loc 1 6906 11 view .LVU1489 4568 0018 8342 cmp r3, r0 4569 001a 04D1 bne .L266 6908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4570 .loc 1 6908 5 is_stmt 1 view .LVU1490 6908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4571 .loc 1 6908 19 is_stmt 0 view .LVU1491 4572 001c 0823 movs r3, #8 4573 001e 2377 strb r3, [r4, #28] 4574 0020 01E0 b .L266 4575 .L270: 6896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4576 .loc 1 6896 5 is_stmt 1 view .LVU1492 6896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4577 .loc 1 6896 19 is_stmt 0 view .LVU1493 4578 0022 0123 movs r3, #1 ARM GAS /tmp/cc0wMqvE.s page 238 4579 0024 2377 strb r3, [r4, #28] 4580 .L266: 6913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4581 .loc 1 6913 3 is_stmt 1 view .LVU1494 6918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4582 .loc 1 6918 3 view .LVU1495 4583 0026 2046 mov r0, r4 4584 .LVL368: 6918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4585 .loc 1 6918 3 is_stmt 0 view .LVU1496 4586 0028 FFF7FEFF bl HAL_TIM_PWM_PulseFinishedHalfCpltCallback 4587 .LVL369: 6921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4588 .loc 1 6921 3 is_stmt 1 view .LVU1497 6921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4589 .loc 1 6921 17 is_stmt 0 view .LVU1498 4590 002c 0023 movs r3, #0 4591 002e 2377 strb r3, [r4, #28] 6922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4592 .loc 1 6922 1 view .LVU1499 4593 0030 10BD pop {r4, pc} 4594 .LVL370: 4595 .L271: 6900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4596 .loc 1 6900 5 is_stmt 1 view .LVU1500 6900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4597 .loc 1 6900 19 is_stmt 0 view .LVU1501 4598 0032 0223 movs r3, #2 4599 0034 2377 strb r3, [r4, #28] 4600 0036 F6E7 b .L266 4601 .L272: 6904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4602 .loc 1 6904 5 is_stmt 1 view .LVU1502 6904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4603 .loc 1 6904 19 is_stmt 0 view .LVU1503 4604 0038 0423 movs r3, #4 4605 003a 2377 strb r3, [r4, #28] 4606 003c F3E7 b .L266 4607 .cfi_endproc 4608 .LFE426: 4610 .section .text.HAL_TIM_TriggerCallback,"ax",%progbits 4611 .align 1 4612 .weak HAL_TIM_TriggerCallback 4613 .syntax unified 4614 .thumb 4615 .thumb_func 4617 HAL_TIM_TriggerCallback: 4618 .LVL371: 4619 .LFB412: 6026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 4620 .loc 1 6026 1 is_stmt 1 view -0 4621 .cfi_startproc 4622 @ args = 0, pretend = 0, frame = 0 4623 @ frame_needed = 0, uses_anonymous_args = 0 4624 @ link register save eliminated. 6028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4625 .loc 1 6028 3 view .LVU1505 ARM GAS /tmp/cc0wMqvE.s page 239 6033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4626 .loc 1 6033 1 is_stmt 0 view .LVU1506 4627 0000 7047 bx lr 4628 .cfi_endproc 4629 .LFE412: 4631 .section .text.HAL_TIM_IRQHandler,"ax",%progbits 4632 .align 1 4633 .global HAL_TIM_IRQHandler 4634 .syntax unified 4635 .thumb 4636 .thumb_func 4638 HAL_TIM_IRQHandler: 4639 .LVL372: 4640 .LFB387: 3839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Capture compare 1 event */ 4641 .loc 1 3839 1 is_stmt 1 view -0 4642 .cfi_startproc 4643 @ args = 0, pretend = 0, frame = 0 4644 @ frame_needed = 0, uses_anonymous_args = 0 3839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Capture compare 1 event */ 4645 .loc 1 3839 1 is_stmt 0 view .LVU1508 4646 0000 10B5 push {r4, lr} 4647 .LCFI44: 4648 .cfi_def_cfa_offset 8 4649 .cfi_offset 4, -8 4650 .cfi_offset 14, -4 4651 0002 0446 mov r4, r0 3841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4652 .loc 1 3841 3 is_stmt 1 view .LVU1509 3841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4653 .loc 1 3841 7 is_stmt 0 view .LVU1510 4654 0004 0368 ldr r3, [r0] 4655 0006 1A69 ldr r2, [r3, #16] 3841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4656 .loc 1 3841 6 view .LVU1511 4657 0008 12F0020F tst r2, #2 4658 000c 12D0 beq .L275 3843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4659 .loc 1 3843 5 is_stmt 1 view .LVU1512 3843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4660 .loc 1 3843 9 is_stmt 0 view .LVU1513 4661 000e DA68 ldr r2, [r3, #12] 3843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4662 .loc 1 3843 8 view .LVU1514 4663 0010 12F0020F tst r2, #2 4664 0014 0ED0 beq .L275 3846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1; 4665 .loc 1 3846 9 is_stmt 1 view .LVU1515 4666 0016 6FF00202 mvn r2, #2 4667 001a 1A61 str r2, [r3, #16] 3847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4668 .loc 1 3847 9 view .LVU1516 3847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4669 .loc 1 3847 23 is_stmt 0 view .LVU1517 4670 001c 0123 movs r3, #1 4671 001e 0377 strb r3, [r0, #28] 3850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 240 4672 .loc 1 3850 9 is_stmt 1 view .LVU1518 3850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4673 .loc 1 3850 18 is_stmt 0 view .LVU1519 4674 0020 0368 ldr r3, [r0] 3850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4675 .loc 1 3850 28 view .LVU1520 4676 0022 9B69 ldr r3, [r3, #24] 3850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4677 .loc 1 3850 12 view .LVU1521 4678 0024 13F0030F tst r3, #3 4679 0028 00F09F80 beq .L276 3855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4680 .loc 1 3855 11 is_stmt 1 view .LVU1522 4681 002c FFF7FEFF bl HAL_TIM_IC_CaptureCallback 4682 .LVL373: 4683 .L277: 3869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4684 .loc 1 3869 9 view .LVU1523 3869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4685 .loc 1 3869 23 is_stmt 0 view .LVU1524 4686 0030 0023 movs r3, #0 4687 0032 2377 strb r3, [r4, #28] 4688 .L275: 3874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4689 .loc 1 3874 3 is_stmt 1 view .LVU1525 3874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4690 .loc 1 3874 7 is_stmt 0 view .LVU1526 4691 0034 2368 ldr r3, [r4] 4692 0036 1A69 ldr r2, [r3, #16] 3874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4693 .loc 1 3874 6 view .LVU1527 4694 0038 12F0040F tst r2, #4 4695 003c 13D0 beq .L278 3876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4696 .loc 1 3876 5 is_stmt 1 view .LVU1528 3876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4697 .loc 1 3876 9 is_stmt 0 view .LVU1529 4698 003e DA68 ldr r2, [r3, #12] 3876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4699 .loc 1 3876 8 view .LVU1530 4700 0040 12F0040F tst r2, #4 4701 0044 0FD0 beq .L278 3878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2; 4702 .loc 1 3878 7 is_stmt 1 view .LVU1531 4703 0046 6FF00402 mvn r2, #4 4704 004a 1A61 str r2, [r3, #16] 3879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ 4705 .loc 1 3879 7 view .LVU1532 3879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ 4706 .loc 1 3879 21 is_stmt 0 view .LVU1533 4707 004c 0223 movs r3, #2 4708 004e 2377 strb r3, [r4, #28] 3881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4709 .loc 1 3881 7 is_stmt 1 view .LVU1534 3881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4710 .loc 1 3881 16 is_stmt 0 view .LVU1535 4711 0050 2368 ldr r3, [r4] ARM GAS /tmp/cc0wMqvE.s page 241 3881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4712 .loc 1 3881 26 view .LVU1536 4713 0052 9B69 ldr r3, [r3, #24] 3881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4714 .loc 1 3881 10 view .LVU1537 4715 0054 13F4407F tst r3, #768 4716 0058 00F08D80 beq .L279 3886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4717 .loc 1 3886 9 is_stmt 1 view .LVU1538 4718 005c 2046 mov r0, r4 4719 005e FFF7FEFF bl HAL_TIM_IC_CaptureCallback 4720 .LVL374: 4721 .L280: 3900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4722 .loc 1 3900 7 view .LVU1539 3900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4723 .loc 1 3900 21 is_stmt 0 view .LVU1540 4724 0062 0023 movs r3, #0 4725 0064 2377 strb r3, [r4, #28] 4726 .L278: 3904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4727 .loc 1 3904 3 is_stmt 1 view .LVU1541 3904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4728 .loc 1 3904 7 is_stmt 0 view .LVU1542 4729 0066 2368 ldr r3, [r4] 4730 0068 1A69 ldr r2, [r3, #16] 3904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4731 .loc 1 3904 6 view .LVU1543 4732 006a 12F0080F tst r2, #8 4733 006e 12D0 beq .L281 3906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4734 .loc 1 3906 5 is_stmt 1 view .LVU1544 3906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4735 .loc 1 3906 9 is_stmt 0 view .LVU1545 4736 0070 DA68 ldr r2, [r3, #12] 3906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4737 .loc 1 3906 8 view .LVU1546 4738 0072 12F0080F tst r2, #8 4739 0076 0ED0 beq .L281 3908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3; 4740 .loc 1 3908 7 is_stmt 1 view .LVU1547 4741 0078 6FF00802 mvn r2, #8 4742 007c 1A61 str r2, [r3, #16] 3909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ 4743 .loc 1 3909 7 view .LVU1548 3909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ 4744 .loc 1 3909 21 is_stmt 0 view .LVU1549 4745 007e 0423 movs r3, #4 4746 0080 2377 strb r3, [r4, #28] 3911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4747 .loc 1 3911 7 is_stmt 1 view .LVU1550 3911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4748 .loc 1 3911 16 is_stmt 0 view .LVU1551 4749 0082 2368 ldr r3, [r4] 3911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4750 .loc 1 3911 26 view .LVU1552 4751 0084 DB69 ldr r3, [r3, #28] ARM GAS /tmp/cc0wMqvE.s page 242 3911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4752 .loc 1 3911 10 view .LVU1553 4753 0086 13F0030F tst r3, #3 4754 008a 7BD0 beq .L282 3916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4755 .loc 1 3916 9 is_stmt 1 view .LVU1554 4756 008c 2046 mov r0, r4 4757 008e FFF7FEFF bl HAL_TIM_IC_CaptureCallback 4758 .LVL375: 4759 .L283: 3930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4760 .loc 1 3930 7 view .LVU1555 3930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4761 .loc 1 3930 21 is_stmt 0 view .LVU1556 4762 0092 0023 movs r3, #0 4763 0094 2377 strb r3, [r4, #28] 4764 .L281: 3934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4765 .loc 1 3934 3 is_stmt 1 view .LVU1557 3934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4766 .loc 1 3934 7 is_stmt 0 view .LVU1558 4767 0096 2368 ldr r3, [r4] 4768 0098 1A69 ldr r2, [r3, #16] 3934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4769 .loc 1 3934 6 view .LVU1559 4770 009a 12F0100F tst r2, #16 4771 009e 12D0 beq .L284 3936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4772 .loc 1 3936 5 is_stmt 1 view .LVU1560 3936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4773 .loc 1 3936 9 is_stmt 0 view .LVU1561 4774 00a0 DA68 ldr r2, [r3, #12] 3936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4775 .loc 1 3936 8 view .LVU1562 4776 00a2 12F0100F tst r2, #16 4777 00a6 0ED0 beq .L284 3938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4; 4778 .loc 1 3938 7 is_stmt 1 view .LVU1563 4779 00a8 6FF01002 mvn r2, #16 4780 00ac 1A61 str r2, [r3, #16] 3939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ 4781 .loc 1 3939 7 view .LVU1564 3939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ 4782 .loc 1 3939 21 is_stmt 0 view .LVU1565 4783 00ae 0823 movs r3, #8 4784 00b0 2377 strb r3, [r4, #28] 3941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4785 .loc 1 3941 7 is_stmt 1 view .LVU1566 3941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4786 .loc 1 3941 16 is_stmt 0 view .LVU1567 4787 00b2 2368 ldr r3, [r4] 3941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4788 .loc 1 3941 26 view .LVU1568 4789 00b4 DB69 ldr r3, [r3, #28] 3941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4790 .loc 1 3941 10 view .LVU1569 4791 00b6 13F4407F tst r3, #768 ARM GAS /tmp/cc0wMqvE.s page 243 4792 00ba 6AD0 beq .L285 3946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4793 .loc 1 3946 9 is_stmt 1 view .LVU1570 4794 00bc 2046 mov r0, r4 4795 00be FFF7FEFF bl HAL_TIM_IC_CaptureCallback 4796 .LVL376: 4797 .L286: 3960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4798 .loc 1 3960 7 view .LVU1571 3960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4799 .loc 1 3960 21 is_stmt 0 view .LVU1572 4800 00c2 0023 movs r3, #0 4801 00c4 2377 strb r3, [r4, #28] 4802 .L284: 3964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4803 .loc 1 3964 3 is_stmt 1 view .LVU1573 3964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4804 .loc 1 3964 7 is_stmt 0 view .LVU1574 4805 00c6 2368 ldr r3, [r4] 4806 00c8 1A69 ldr r2, [r3, #16] 3964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4807 .loc 1 3964 6 view .LVU1575 4808 00ca 12F0010F tst r2, #1 4809 00ce 03D0 beq .L287 3966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4810 .loc 1 3966 5 is_stmt 1 view .LVU1576 3966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4811 .loc 1 3966 9 is_stmt 0 view .LVU1577 4812 00d0 DA68 ldr r2, [r3, #12] 3966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4813 .loc 1 3966 8 view .LVU1578 4814 00d2 12F0010F tst r2, #1 4815 00d6 63D1 bne .L297 4816 .L287: 3977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4817 .loc 1 3977 3 is_stmt 1 view .LVU1579 3977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4818 .loc 1 3977 7 is_stmt 0 view .LVU1580 4819 00d8 2368 ldr r3, [r4] 4820 00da 1A69 ldr r2, [r3, #16] 3977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4821 .loc 1 3977 6 view .LVU1581 4822 00dc 12F0800F tst r2, #128 4823 00e0 03D0 beq .L288 3979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4824 .loc 1 3979 5 is_stmt 1 view .LVU1582 3979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4825 .loc 1 3979 9 is_stmt 0 view .LVU1583 4826 00e2 DA68 ldr r2, [r3, #12] 3979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4827 .loc 1 3979 8 view .LVU1584 4828 00e4 12F0800F tst r2, #128 4829 00e8 61D1 bne .L298 4830 .L288: 3990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4831 .loc 1 3990 3 is_stmt 1 view .LVU1585 3990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 244 4832 .loc 1 3990 7 is_stmt 0 view .LVU1586 4833 00ea 2368 ldr r3, [r4] 4834 00ec 1A69 ldr r2, [r3, #16] 3990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4835 .loc 1 3990 6 view .LVU1587 4836 00ee 12F4807F tst r2, #256 4837 00f2 03D0 beq .L289 3992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4838 .loc 1 3992 5 is_stmt 1 view .LVU1588 3992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4839 .loc 1 3992 9 is_stmt 0 view .LVU1589 4840 00f4 DA68 ldr r2, [r3, #12] 3992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4841 .loc 1 3992 8 view .LVU1590 4842 00f6 12F0800F tst r2, #128 4843 00fa 5FD1 bne .L299 4844 .L289: 4003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4845 .loc 1 4003 3 is_stmt 1 view .LVU1591 4003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4846 .loc 1 4003 7 is_stmt 0 view .LVU1592 4847 00fc 2368 ldr r3, [r4] 4848 00fe 1A69 ldr r2, [r3, #16] 4003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4849 .loc 1 4003 6 view .LVU1593 4850 0100 12F0400F tst r2, #64 4851 0104 03D0 beq .L290 4005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4852 .loc 1 4005 5 is_stmt 1 view .LVU1594 4005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4853 .loc 1 4005 9 is_stmt 0 view .LVU1595 4854 0106 DA68 ldr r2, [r3, #12] 4005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4855 .loc 1 4005 8 view .LVU1596 4856 0108 12F0400F tst r2, #64 4857 010c 5DD1 bne .L300 4858 .L290: 4016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4859 .loc 1 4016 3 is_stmt 1 view .LVU1597 4016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4860 .loc 1 4016 7 is_stmt 0 view .LVU1598 4861 010e 2368 ldr r3, [r4] 4862 0110 1A69 ldr r2, [r3, #16] 4016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4863 .loc 1 4016 6 view .LVU1599 4864 0112 12F0200F tst r2, #32 4865 0116 03D0 beq .L291 4018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4866 .loc 1 4018 5 is_stmt 1 view .LVU1600 4018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4867 .loc 1 4018 9 is_stmt 0 view .LVU1601 4868 0118 DA68 ldr r2, [r3, #12] 4018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4869 .loc 1 4018 8 view .LVU1602 4870 011a 12F0200F tst r2, #32 4871 011e 5BD1 bne .L301 4872 .L291: ARM GAS /tmp/cc0wMqvE.s page 245 4029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4873 .loc 1 4029 3 is_stmt 1 view .LVU1603 4029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4874 .loc 1 4029 7 is_stmt 0 view .LVU1604 4875 0120 2368 ldr r3, [r4] 4876 0122 1A69 ldr r2, [r3, #16] 4029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4877 .loc 1 4029 6 view .LVU1605 4878 0124 12F4801F tst r2, #1048576 4879 0128 03D0 beq .L292 4031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4880 .loc 1 4031 5 is_stmt 1 view .LVU1606 4031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4881 .loc 1 4031 9 is_stmt 0 view .LVU1607 4882 012a DA68 ldr r2, [r3, #12] 4031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4883 .loc 1 4031 8 view .LVU1608 4884 012c 12F4801F tst r2, #1048576 4885 0130 59D1 bne .L302 4886 .L292: 4042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4887 .loc 1 4042 3 is_stmt 1 view .LVU1609 4042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4888 .loc 1 4042 7 is_stmt 0 view .LVU1610 4889 0132 2368 ldr r3, [r4] 4890 0134 1A69 ldr r2, [r3, #16] 4042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4891 .loc 1 4042 6 view .LVU1611 4892 0136 12F4001F tst r2, #2097152 4893 013a 03D0 beq .L293 4044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4894 .loc 1 4044 5 is_stmt 1 view .LVU1612 4044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4895 .loc 1 4044 9 is_stmt 0 view .LVU1613 4896 013c DA68 ldr r2, [r3, #12] 4044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4897 .loc 1 4044 8 view .LVU1614 4898 013e 12F4001F tst r2, #2097152 4899 0142 57D1 bne .L303 4900 .L293: 4055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4901 .loc 1 4055 3 is_stmt 1 view .LVU1615 4055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4902 .loc 1 4055 7 is_stmt 0 view .LVU1616 4903 0144 2368 ldr r3, [r4] 4904 0146 1A69 ldr r2, [r3, #16] 4055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4905 .loc 1 4055 6 view .LVU1617 4906 0148 12F4800F tst r2, #4194304 4907 014c 03D0 beq .L294 4057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4908 .loc 1 4057 5 is_stmt 1 view .LVU1618 4057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4909 .loc 1 4057 9 is_stmt 0 view .LVU1619 4910 014e DA68 ldr r2, [r3, #12] 4057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4911 .loc 1 4057 8 view .LVU1620 ARM GAS /tmp/cc0wMqvE.s page 246 4912 0150 12F4800F tst r2, #4194304 4913 0154 55D1 bne .L304 4914 .L294: 4068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4915 .loc 1 4068 3 is_stmt 1 view .LVU1621 4068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4916 .loc 1 4068 7 is_stmt 0 view .LVU1622 4917 0156 2368 ldr r3, [r4] 4918 0158 1A69 ldr r2, [r3, #16] 4068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4919 .loc 1 4068 6 view .LVU1623 4920 015a 12F4000F tst r2, #8388608 4921 015e 03D0 beq .L274 4070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4922 .loc 1 4070 5 is_stmt 1 view .LVU1624 4070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4923 .loc 1 4070 9 is_stmt 0 view .LVU1625 4924 0160 DA68 ldr r2, [r3, #12] 4070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4925 .loc 1 4070 8 view .LVU1626 4926 0162 12F4000F tst r2, #8388608 4927 0166 53D1 bne .L305 4928 .L274: 4080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4929 .loc 1 4080 1 view .LVU1627 4930 0168 10BD pop {r4, pc} 4931 .LVL377: 4932 .L276: 3865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim); 4933 .loc 1 3865 11 is_stmt 1 view .LVU1628 4934 016a FFF7FEFF bl HAL_TIM_OC_DelayElapsedCallback 4935 .LVL378: 3866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4936 .loc 1 3866 11 view .LVU1629 4937 016e 2046 mov r0, r4 4938 0170 FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback 4939 .LVL379: 4940 0174 5CE7 b .L277 4941 .L279: 3896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim); 4942 .loc 1 3896 9 view .LVU1630 4943 0176 2046 mov r0, r4 4944 0178 FFF7FEFF bl HAL_TIM_OC_DelayElapsedCallback 4945 .LVL380: 3897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4946 .loc 1 3897 9 view .LVU1631 4947 017c 2046 mov r0, r4 4948 017e FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback 4949 .LVL381: 4950 0182 6EE7 b .L280 4951 .L282: 3926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim); 4952 .loc 1 3926 9 view .LVU1632 4953 0184 2046 mov r0, r4 4954 0186 FFF7FEFF bl HAL_TIM_OC_DelayElapsedCallback 4955 .LVL382: 3927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ ARM GAS /tmp/cc0wMqvE.s page 247 4956 .loc 1 3927 9 view .LVU1633 4957 018a 2046 mov r0, r4 4958 018c FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback 4959 .LVL383: 4960 0190 7FE7 b .L283 4961 .L285: 3956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim); 4962 .loc 1 3956 9 view .LVU1634 4963 0192 2046 mov r0, r4 4964 0194 FFF7FEFF bl HAL_TIM_OC_DelayElapsedCallback 4965 .LVL384: 3957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4966 .loc 1 3957 9 view .LVU1635 4967 0198 2046 mov r0, r4 4968 019a FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback 4969 .LVL385: 4970 019e 90E7 b .L286 4971 .L297: 3968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4972 .loc 1 3968 7 view .LVU1636 4973 01a0 6FF00102 mvn r2, #1 4974 01a4 1A61 str r2, [r3, #16] 3972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4975 .loc 1 3972 7 view .LVU1637 4976 01a6 2046 mov r0, r4 4977 01a8 FFF7FEFF bl HAL_TIM_PeriodElapsedCallback 4978 .LVL386: 4979 01ac 94E7 b .L287 4980 .L298: 3981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4981 .loc 1 3981 7 view .LVU1638 4982 01ae 6FF08002 mvn r2, #128 4983 01b2 1A61 str r2, [r3, #16] 3985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4984 .loc 1 3985 7 view .LVU1639 4985 01b4 2046 mov r0, r4 4986 01b6 FFF7FEFF bl HAL_TIMEx_BreakCallback 4987 .LVL387: 4988 01ba 96E7 b .L288 4989 .L299: 3994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4990 .loc 1 3994 7 view .LVU1640 4991 01bc 6FF48072 mvn r2, #256 4992 01c0 1A61 str r2, [r3, #16] 3998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4993 .loc 1 3998 7 view .LVU1641 4994 01c2 2046 mov r0, r4 4995 01c4 FFF7FEFF bl HAL_TIMEx_Break2Callback 4996 .LVL388: 4997 01c8 98E7 b .L289 4998 .L300: 4007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4999 .loc 1 4007 7 view .LVU1642 5000 01ca 6FF04002 mvn r2, #64 5001 01ce 1A61 str r2, [r3, #16] 4011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5002 .loc 1 4011 7 view .LVU1643 ARM GAS /tmp/cc0wMqvE.s page 248 5003 01d0 2046 mov r0, r4 5004 01d2 FFF7FEFF bl HAL_TIM_TriggerCallback 5005 .LVL389: 5006 01d6 9AE7 b .L290 5007 .L301: 4020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 5008 .loc 1 4020 7 view .LVU1644 5009 01d8 6FF02002 mvn r2, #32 5010 01dc 1A61 str r2, [r3, #16] 4024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5011 .loc 1 4024 7 view .LVU1645 5012 01de 2046 mov r0, r4 5013 01e0 FFF7FEFF bl HAL_TIMEx_CommutCallback 5014 .LVL390: 5015 01e4 9CE7 b .L291 5016 .L302: 4033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 5017 .loc 1 4033 7 view .LVU1646 5018 01e6 6FF48012 mvn r2, #1048576 5019 01ea 1A61 str r2, [r3, #16] 4037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5020 .loc 1 4037 7 view .LVU1647 5021 01ec 2046 mov r0, r4 5022 01ee FFF7FEFF bl HAL_TIMEx_EncoderIndexCallback 5023 .LVL391: 5024 01f2 9EE7 b .L292 5025 .L303: 4046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 5026 .loc 1 4046 7 view .LVU1648 5027 01f4 6FF40012 mvn r2, #2097152 5028 01f8 1A61 str r2, [r3, #16] 4050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5029 .loc 1 4050 7 view .LVU1649 5030 01fa 2046 mov r0, r4 5031 01fc FFF7FEFF bl HAL_TIMEx_DirectionChangeCallback 5032 .LVL392: 5033 0200 A0E7 b .L293 5034 .L304: 4059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 5035 .loc 1 4059 7 view .LVU1650 5036 0202 6FF48002 mvn r2, #4194304 5037 0206 1A61 str r2, [r3, #16] 4063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5038 .loc 1 4063 7 view .LVU1651 5039 0208 2046 mov r0, r4 5040 020a FFF7FEFF bl HAL_TIMEx_IndexErrorCallback 5041 .LVL393: 5042 020e A2E7 b .L294 5043 .L305: 4072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 5044 .loc 1 4072 7 view .LVU1652 5045 0210 6FF40002 mvn r2, #8388608 5046 0214 1A61 str r2, [r3, #16] 4076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5047 .loc 1 4076 7 view .LVU1653 5048 0216 2046 mov r0, r4 5049 0218 FFF7FEFF bl HAL_TIMEx_TransitionErrorCallback ARM GAS /tmp/cc0wMqvE.s page 249 5050 .LVL394: 4080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5051 .loc 1 4080 1 is_stmt 0 view .LVU1654 5052 021c A4E7 b .L274 5053 .cfi_endproc 5054 .LFE387: 5056 .section .text.TIM_DMATriggerCplt,"ax",%progbits 5057 .align 1 5058 .syntax unified 5059 .thumb 5060 .thumb_func 5062 TIM_DMATriggerCplt: 5063 .LVL395: 5064 .LFB431: 7069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 5065 .loc 1 7069 1 is_stmt 1 view -0 5066 .cfi_startproc 5067 @ args = 0, pretend = 0, frame = 0 5068 @ frame_needed = 0, uses_anonymous_args = 0 7069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 5069 .loc 1 7069 1 is_stmt 0 view .LVU1656 5070 0000 08B5 push {r3, lr} 5071 .LCFI45: 5072 .cfi_def_cfa_offset 8 5073 .cfi_offset 3, -8 5074 .cfi_offset 14, -4 7070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5075 .loc 1 7070 3 is_stmt 1 view .LVU1657 7070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5076 .loc 1 7070 22 is_stmt 0 view .LVU1658 5077 0002 806A ldr r0, [r0, #40] 5078 .LVL396: 7072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5079 .loc 1 7072 3 is_stmt 1 view .LVU1659 7072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5080 .loc 1 7072 17 is_stmt 0 view .LVU1660 5081 0004 836B ldr r3, [r0, #56] 7072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5082 .loc 1 7072 43 view .LVU1661 5083 0006 DB69 ldr r3, [r3, #28] 7072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5084 .loc 1 7072 6 view .LVU1662 5085 0008 13B9 cbnz r3, .L307 7074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5086 .loc 1 7074 5 is_stmt 1 view .LVU1663 7074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5087 .loc 1 7074 17 is_stmt 0 view .LVU1664 5088 000a 0123 movs r3, #1 5089 000c 80F83D30 strb r3, [r0, #61] 5090 .L307: 7080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5091 .loc 1 7080 3 is_stmt 1 view .LVU1665 5092 0010 FFF7FEFF bl HAL_TIM_TriggerCallback 5093 .LVL397: 7082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5094 .loc 1 7082 1 is_stmt 0 view .LVU1666 5095 0014 08BD pop {r3, pc} ARM GAS /tmp/cc0wMqvE.s page 250 5096 .cfi_endproc 5097 .LFE431: 5099 .section .text.HAL_TIM_TriggerHalfCpltCallback,"ax",%progbits 5100 .align 1 5101 .weak HAL_TIM_TriggerHalfCpltCallback 5102 .syntax unified 5103 .thumb 5104 .thumb_func 5106 HAL_TIM_TriggerHalfCpltCallback: 5107 .LVL398: 5108 .LFB413: 6041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 5109 .loc 1 6041 1 is_stmt 1 view -0 5110 .cfi_startproc 5111 @ args = 0, pretend = 0, frame = 0 5112 @ frame_needed = 0, uses_anonymous_args = 0 5113 @ link register save eliminated. 6043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5114 .loc 1 6043 3 view .LVU1668 6048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5115 .loc 1 6048 1 is_stmt 0 view .LVU1669 5116 0000 7047 bx lr 5117 .cfi_endproc 5118 .LFE413: 5120 .section .text.TIM_DMATriggerHalfCplt,"ax",%progbits 5121 .align 1 5122 .syntax unified 5123 .thumb 5124 .thumb_func 5126 TIM_DMATriggerHalfCplt: 5127 .LVL399: 5128 .LFB432: 7090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 5129 .loc 1 7090 1 is_stmt 1 view -0 5130 .cfi_startproc 5131 @ args = 0, pretend = 0, frame = 0 5132 @ frame_needed = 0, uses_anonymous_args = 0 7090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 5133 .loc 1 7090 1 is_stmt 0 view .LVU1671 5134 0000 08B5 push {r3, lr} 5135 .LCFI46: 5136 .cfi_def_cfa_offset 8 5137 .cfi_offset 3, -8 5138 .cfi_offset 14, -4 7091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5139 .loc 1 7091 3 is_stmt 1 view .LVU1672 5140 .LVL400: 7096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5141 .loc 1 7096 3 view .LVU1673 5142 0002 806A ldr r0, [r0, #40] 5143 .LVL401: 7096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5144 .loc 1 7096 3 is_stmt 0 view .LVU1674 5145 0004 FFF7FEFF bl HAL_TIM_TriggerHalfCpltCallback 5146 .LVL402: 7098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5147 .loc 1 7098 1 view .LVU1675 ARM GAS /tmp/cc0wMqvE.s page 251 5148 0008 08BD pop {r3, pc} 5149 .cfi_endproc 5150 .LFE432: 5152 .section .text.HAL_TIM_ErrorCallback,"ax",%progbits 5153 .align 1 5154 .weak HAL_TIM_ErrorCallback 5155 .syntax unified 5156 .thumb 5157 .thumb_func 5159 HAL_TIM_ErrorCallback: 5160 .LVL403: 5161 .LFB414: 6056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 5162 .loc 1 6056 1 is_stmt 1 view -0 5163 .cfi_startproc 5164 @ args = 0, pretend = 0, frame = 0 5165 @ frame_needed = 0, uses_anonymous_args = 0 5166 @ link register save eliminated. 6058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5167 .loc 1 6058 3 view .LVU1677 6063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5168 .loc 1 6063 1 is_stmt 0 view .LVU1678 5169 0000 7047 bx lr 5170 .cfi_endproc 5171 .LFE414: 5173 .section .text.TIM_DMAError,"ax",%progbits 5174 .align 1 5175 .global TIM_DMAError 5176 .syntax unified 5177 .thumb 5178 .thumb_func 5180 TIM_DMAError: 5181 .LVL404: 5182 .LFB424: 6789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 5183 .loc 1 6789 1 is_stmt 1 view -0 5184 .cfi_startproc 5185 @ args = 0, pretend = 0, frame = 0 5186 @ frame_needed = 0, uses_anonymous_args = 0 6789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 5187 .loc 1 6789 1 is_stmt 0 view .LVU1680 5188 0000 10B5 push {r4, lr} 5189 .LCFI47: 5190 .cfi_def_cfa_offset 8 5191 .cfi_offset 4, -8 5192 .cfi_offset 14, -4 6790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5193 .loc 1 6790 3 is_stmt 1 view .LVU1681 6790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5194 .loc 1 6790 22 is_stmt 0 view .LVU1682 5195 0002 846A ldr r4, [r0, #40] 5196 .LVL405: 6792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5197 .loc 1 6792 3 is_stmt 1 view .LVU1683 6792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5198 .loc 1 6792 25 is_stmt 0 view .LVU1684 5199 0004 636A ldr r3, [r4, #36] ARM GAS /tmp/cc0wMqvE.s page 252 6792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5200 .loc 1 6792 6 view .LVU1685 5201 0006 8342 cmp r3, r0 5202 0008 0CD0 beq .L320 6797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5203 .loc 1 6797 8 is_stmt 1 view .LVU1686 6797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5204 .loc 1 6797 30 is_stmt 0 view .LVU1687 5205 000a A36A ldr r3, [r4, #40] 6797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5206 .loc 1 6797 11 view .LVU1688 5207 000c 8342 cmp r3, r0 5208 000e 13D0 beq .L321 6802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5209 .loc 1 6802 8 is_stmt 1 view .LVU1689 6802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5210 .loc 1 6802 30 is_stmt 0 view .LVU1690 5211 0010 E36A ldr r3, [r4, #44] 6802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5212 .loc 1 6802 11 view .LVU1691 5213 0012 8342 cmp r3, r0 5214 0014 16D0 beq .L322 6807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5215 .loc 1 6807 8 is_stmt 1 view .LVU1692 6807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5216 .loc 1 6807 30 is_stmt 0 view .LVU1693 5217 0016 236B ldr r3, [r4, #48] 6807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5218 .loc 1 6807 11 view .LVU1694 5219 0018 8342 cmp r3, r0 5220 001a 19D0 beq .L323 6814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5221 .loc 1 6814 5 is_stmt 1 view .LVU1695 6814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5222 .loc 1 6814 17 is_stmt 0 view .LVU1696 5223 001c 0123 movs r3, #1 5224 001e 84F83D30 strb r3, [r4, #61] 5225 0022 03E0 b .L315 5226 .L320: 6794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 5227 .loc 1 6794 5 is_stmt 1 view .LVU1697 6794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 5228 .loc 1 6794 19 is_stmt 0 view .LVU1698 5229 0024 0123 movs r3, #1 5230 0026 2377 strb r3, [r4, #28] 6795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5231 .loc 1 6795 5 is_stmt 1 view .LVU1699 5232 0028 84F83E30 strb r3, [r4, #62] 5233 .L315: 6820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5234 .loc 1 6820 3 view .LVU1700 5235 002c 2046 mov r0, r4 5236 .LVL406: 6820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5237 .loc 1 6820 3 is_stmt 0 view .LVU1701 5238 002e FFF7FEFF bl HAL_TIM_ErrorCallback 5239 .LVL407: ARM GAS /tmp/cc0wMqvE.s page 253 6823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5240 .loc 1 6823 3 is_stmt 1 view .LVU1702 6823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5241 .loc 1 6823 17 is_stmt 0 view .LVU1703 5242 0032 0023 movs r3, #0 5243 0034 2377 strb r3, [r4, #28] 6824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5244 .loc 1 6824 1 view .LVU1704 5245 0036 10BD pop {r4, pc} 5246 .LVL408: 5247 .L321: 6799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 5248 .loc 1 6799 5 is_stmt 1 view .LVU1705 6799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 5249 .loc 1 6799 19 is_stmt 0 view .LVU1706 5250 0038 0223 movs r3, #2 5251 003a 2377 strb r3, [r4, #28] 6800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5252 .loc 1 6800 5 is_stmt 1 view .LVU1707 5253 003c 0123 movs r3, #1 5254 003e 84F83F30 strb r3, [r4, #63] 5255 0042 F3E7 b .L315 5256 .L322: 6804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY); 5257 .loc 1 6804 5 view .LVU1708 6804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY); 5258 .loc 1 6804 19 is_stmt 0 view .LVU1709 5259 0044 0423 movs r3, #4 5260 0046 2377 strb r3, [r4, #28] 6805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5261 .loc 1 6805 5 is_stmt 1 view .LVU1710 5262 0048 0123 movs r3, #1 5263 004a 84F84030 strb r3, [r4, #64] 5264 004e EDE7 b .L315 5265 .L323: 6809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY); 5266 .loc 1 6809 5 view .LVU1711 6809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY); 5267 .loc 1 6809 19 is_stmt 0 view .LVU1712 5268 0050 0823 movs r3, #8 5269 0052 2377 strb r3, [r4, #28] 6810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5270 .loc 1 6810 5 is_stmt 1 view .LVU1713 5271 0054 0123 movs r3, #1 5272 0056 84F84130 strb r3, [r4, #65] 5273 005a E7E7 b .L315 5274 .cfi_endproc 5275 .LFE424: 5277 .section .text.HAL_TIM_Base_GetState,"ax",%progbits 5278 .align 1 5279 .global HAL_TIM_Base_GetState 5280 .syntax unified 5281 .thumb 5282 .thumb_func 5284 HAL_TIM_Base_GetState: 5285 .LVL409: 5286 .LFB415: ARM GAS /tmp/cc0wMqvE.s page 254 6669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 5287 .loc 1 6669 1 view -0 5288 .cfi_startproc 5289 @ args = 0, pretend = 0, frame = 0 5290 @ frame_needed = 0, uses_anonymous_args = 0 5291 @ link register save eliminated. 6670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5292 .loc 1 6670 3 view .LVU1715 6670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5293 .loc 1 6670 14 is_stmt 0 view .LVU1716 5294 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2 5295 .LVL410: 6671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5296 .loc 1 6671 1 view .LVU1717 5297 0004 7047 bx lr 5298 .cfi_endproc 5299 .LFE415: 5301 .section .text.HAL_TIM_OC_GetState,"ax",%progbits 5302 .align 1 5303 .global HAL_TIM_OC_GetState 5304 .syntax unified 5305 .thumb 5306 .thumb_func 5308 HAL_TIM_OC_GetState: 5309 .LVL411: 5310 .LFB416: 6679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 5311 .loc 1 6679 1 is_stmt 1 view -0 5312 .cfi_startproc 5313 @ args = 0, pretend = 0, frame = 0 5314 @ frame_needed = 0, uses_anonymous_args = 0 5315 @ link register save eliminated. 6680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5316 .loc 1 6680 3 view .LVU1719 6680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5317 .loc 1 6680 14 is_stmt 0 view .LVU1720 5318 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2 5319 .LVL412: 6681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5320 .loc 1 6681 1 view .LVU1721 5321 0004 7047 bx lr 5322 .cfi_endproc 5323 .LFE416: 5325 .section .text.HAL_TIM_PWM_GetState,"ax",%progbits 5326 .align 1 5327 .global HAL_TIM_PWM_GetState 5328 .syntax unified 5329 .thumb 5330 .thumb_func 5332 HAL_TIM_PWM_GetState: 5333 .LVL413: 5334 .LFB417: 6689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 5335 .loc 1 6689 1 is_stmt 1 view -0 5336 .cfi_startproc 5337 @ args = 0, pretend = 0, frame = 0 5338 @ frame_needed = 0, uses_anonymous_args = 0 ARM GAS /tmp/cc0wMqvE.s page 255 5339 @ link register save eliminated. 6690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5340 .loc 1 6690 3 view .LVU1723 6690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5341 .loc 1 6690 14 is_stmt 0 view .LVU1724 5342 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2 5343 .LVL414: 6691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5344 .loc 1 6691 1 view .LVU1725 5345 0004 7047 bx lr 5346 .cfi_endproc 5347 .LFE417: 5349 .section .text.HAL_TIM_IC_GetState,"ax",%progbits 5350 .align 1 5351 .global HAL_TIM_IC_GetState 5352 .syntax unified 5353 .thumb 5354 .thumb_func 5356 HAL_TIM_IC_GetState: 5357 .LVL415: 5358 .LFB418: 6699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 5359 .loc 1 6699 1 is_stmt 1 view -0 5360 .cfi_startproc 5361 @ args = 0, pretend = 0, frame = 0 5362 @ frame_needed = 0, uses_anonymous_args = 0 5363 @ link register save eliminated. 6700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5364 .loc 1 6700 3 view .LVU1727 6700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5365 .loc 1 6700 14 is_stmt 0 view .LVU1728 5366 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2 5367 .LVL416: 6701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5368 .loc 1 6701 1 view .LVU1729 5369 0004 7047 bx lr 5370 .cfi_endproc 5371 .LFE418: 5373 .section .text.HAL_TIM_OnePulse_GetState,"ax",%progbits 5374 .align 1 5375 .global HAL_TIM_OnePulse_GetState 5376 .syntax unified 5377 .thumb 5378 .thumb_func 5380 HAL_TIM_OnePulse_GetState: 5381 .LVL417: 5382 .LFB419: 6709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 5383 .loc 1 6709 1 is_stmt 1 view -0 5384 .cfi_startproc 5385 @ args = 0, pretend = 0, frame = 0 5386 @ frame_needed = 0, uses_anonymous_args = 0 5387 @ link register save eliminated. 6710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5388 .loc 1 6710 3 view .LVU1731 6710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5389 .loc 1 6710 14 is_stmt 0 view .LVU1732 ARM GAS /tmp/cc0wMqvE.s page 256 5390 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2 5391 .LVL418: 6711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5392 .loc 1 6711 1 view .LVU1733 5393 0004 7047 bx lr 5394 .cfi_endproc 5395 .LFE419: 5397 .section .text.HAL_TIM_Encoder_GetState,"ax",%progbits 5398 .align 1 5399 .global HAL_TIM_Encoder_GetState 5400 .syntax unified 5401 .thumb 5402 .thumb_func 5404 HAL_TIM_Encoder_GetState: 5405 .LVL419: 5406 .LFB420: 6719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 5407 .loc 1 6719 1 is_stmt 1 view -0 5408 .cfi_startproc 5409 @ args = 0, pretend = 0, frame = 0 5410 @ frame_needed = 0, uses_anonymous_args = 0 5411 @ link register save eliminated. 6720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5412 .loc 1 6720 3 view .LVU1735 6720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5413 .loc 1 6720 14 is_stmt 0 view .LVU1736 5414 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2 5415 .LVL420: 6721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5416 .loc 1 6721 1 view .LVU1737 5417 0004 7047 bx lr 5418 .cfi_endproc 5419 .LFE420: 5421 .section .text.HAL_TIM_GetActiveChannel,"ax",%progbits 5422 .align 1 5423 .global HAL_TIM_GetActiveChannel 5424 .syntax unified 5425 .thumb 5426 .thumb_func 5428 HAL_TIM_GetActiveChannel: 5429 .LVL421: 5430 .LFB421: 6729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->Channel; 5431 .loc 1 6729 1 is_stmt 1 view -0 5432 .cfi_startproc 5433 @ args = 0, pretend = 0, frame = 0 5434 @ frame_needed = 0, uses_anonymous_args = 0 5435 @ link register save eliminated. 6730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5436 .loc 1 6730 3 view .LVU1739 6731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5437 .loc 1 6731 1 is_stmt 0 view .LVU1740 5438 0000 007F ldrb r0, [r0, #28] @ zero_extendqisi2 5439 .LVL422: 6731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5440 .loc 1 6731 1 view .LVU1741 5441 0002 7047 bx lr ARM GAS /tmp/cc0wMqvE.s page 257 5442 .cfi_endproc 5443 .LFE421: 5445 .section .text.HAL_TIM_GetChannelState,"ax",%progbits 5446 .align 1 5447 .global HAL_TIM_GetChannelState 5448 .syntax unified 5449 .thumb 5450 .thumb_func 5452 HAL_TIM_GetChannelState: 5453 .LVL423: 5454 .LFB422: 6747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_state; 5455 .loc 1 6747 1 is_stmt 1 view -0 5456 .cfi_startproc 5457 @ args = 0, pretend = 0, frame = 0 5458 @ frame_needed = 0, uses_anonymous_args = 0 5459 @ link register save eliminated. 6748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5460 .loc 1 6748 3 view .LVU1743 6751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5461 .loc 1 6751 3 view .LVU1744 6753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5462 .loc 1 6753 3 view .LVU1745 5463 0000 1029 cmp r1, #16 5464 0002 1ED8 bhi .L332 5465 0004 DFE801F0 tbb [pc, r1] 5466 .L334: 5467 0008 09 .byte (.L338-.L334)/2 5468 0009 1D .byte (.L332-.L334)/2 5469 000a 1D .byte (.L332-.L334)/2 5470 000b 1D .byte (.L332-.L334)/2 5471 000c 0D .byte (.L337-.L334)/2 5472 000d 1D .byte (.L332-.L334)/2 5473 000e 1D .byte (.L332-.L334)/2 5474 000f 1D .byte (.L332-.L334)/2 5475 0010 11 .byte (.L336-.L334)/2 5476 0011 1D .byte (.L332-.L334)/2 5477 0012 1D .byte (.L332-.L334)/2 5478 0013 1D .byte (.L332-.L334)/2 5479 0014 15 .byte (.L335-.L334)/2 5480 0015 1D .byte (.L332-.L334)/2 5481 0016 1D .byte (.L332-.L334)/2 5482 0017 1D .byte (.L332-.L334)/2 5483 0018 19 .byte (.L333-.L334)/2 5484 0019 00 .p2align 1 5485 .L338: 6753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5486 .loc 1 6753 19 is_stmt 0 discriminator 1 view .LVU1746 5487 001a 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 5488 .LVL424: 6753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5489 .loc 1 6753 19 discriminator 1 view .LVU1747 5490 001e C0B2 uxtb r0, r0 5491 0020 7047 bx lr 5492 .LVL425: 5493 .L337: 6753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 258 5494 .loc 1 6753 19 discriminator 4 view .LVU1748 5495 0022 90F83F00 ldrb r0, [r0, #63] @ zero_extendqisi2 5496 .LVL426: 6753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5497 .loc 1 6753 19 discriminator 4 view .LVU1749 5498 0026 C0B2 uxtb r0, r0 5499 0028 7047 bx lr 5500 .LVL427: 5501 .L336: 6753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5502 .loc 1 6753 19 discriminator 7 view .LVU1750 5503 002a 90F84000 ldrb r0, [r0, #64] @ zero_extendqisi2 5504 .LVL428: 6753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5505 .loc 1 6753 19 discriminator 7 view .LVU1751 5506 002e C0B2 uxtb r0, r0 5507 0030 7047 bx lr 5508 .LVL429: 5509 .L335: 6753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5510 .loc 1 6753 19 discriminator 10 view .LVU1752 5511 0032 90F84100 ldrb r0, [r0, #65] @ zero_extendqisi2 5512 .LVL430: 6753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5513 .loc 1 6753 19 discriminator 10 view .LVU1753 5514 0036 C0B2 uxtb r0, r0 5515 0038 7047 bx lr 5516 .LVL431: 5517 .L333: 6753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5518 .loc 1 6753 19 discriminator 13 view .LVU1754 5519 003a 90F84200 ldrb r0, [r0, #66] @ zero_extendqisi2 5520 .LVL432: 6753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5521 .loc 1 6753 19 discriminator 13 view .LVU1755 5522 003e C0B2 uxtb r0, r0 5523 0040 7047 bx lr 5524 .LVL433: 5525 .L332: 6753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5526 .loc 1 6753 19 discriminator 14 view .LVU1756 5527 0042 90F84300 ldrb r0, [r0, #67] @ zero_extendqisi2 5528 .LVL434: 6753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5529 .loc 1 6753 19 discriminator 14 view .LVU1757 5530 0046 C0B2 uxtb r0, r0 5531 .LVL435: 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5532 .loc 1 6755 3 is_stmt 1 discriminator 14 view .LVU1758 6756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5533 .loc 1 6756 1 is_stmt 0 discriminator 14 view .LVU1759 5534 0048 7047 bx lr 5535 .cfi_endproc 5536 .LFE422: 5538 .section .text.HAL_TIM_DMABurstState,"ax",%progbits 5539 .align 1 5540 .global HAL_TIM_DMABurstState ARM GAS /tmp/cc0wMqvE.s page 259 5541 .syntax unified 5542 .thumb 5543 .thumb_func 5545 HAL_TIM_DMABurstState: 5546 .LVL436: 5547 .LFB423: 6764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5548 .loc 1 6764 1 is_stmt 1 view -0 5549 .cfi_startproc 5550 @ args = 0, pretend = 0, frame = 0 5551 @ frame_needed = 0, uses_anonymous_args = 0 5552 @ link register save eliminated. 6766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5553 .loc 1 6766 3 view .LVU1761 6768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5554 .loc 1 6768 3 view .LVU1762 6768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5555 .loc 1 6768 14 is_stmt 0 view .LVU1763 5556 0000 90F84800 ldrb r0, [r0, #72] @ zero_extendqisi2 5557 .LVL437: 6769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5558 .loc 1 6769 1 view .LVU1764 5559 0004 7047 bx lr 5560 .cfi_endproc 5561 .LFE423: 5563 .section .text.TIM_Base_SetConfig,"ax",%progbits 5564 .align 1 5565 .global TIM_Base_SetConfig 5566 .syntax unified 5567 .thumb 5568 .thumb_func 5570 TIM_Base_SetConfig: 5571 .LVL438: 5572 .LFB433: 7107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpcr1; 5573 .loc 1 7107 1 is_stmt 1 view -0 5574 .cfi_startproc 5575 @ args = 0, pretend = 0, frame = 0 5576 @ frame_needed = 0, uses_anonymous_args = 0 5577 @ link register save eliminated. 7108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr1 = TIMx->CR1; 5578 .loc 1 7108 3 view .LVU1766 7109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5579 .loc 1 7109 3 view .LVU1767 7109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5580 .loc 1 7109 10 is_stmt 0 view .LVU1768 5581 0000 0368 ldr r3, [r0] 5582 .LVL439: 7112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5583 .loc 1 7112 3 is_stmt 1 view .LVU1769 7112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5584 .loc 1 7112 6 is_stmt 0 view .LVU1770 5585 0002 2C4A ldr r2, .L348 5586 0004 9042 cmp r0, r2 5587 0006 0ED0 beq .L342 7112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5588 .loc 1 7112 7 discriminator 1 view .LVU1771 ARM GAS /tmp/cc0wMqvE.s page 260 5589 0008 B0F1804F cmp r0, #1073741824 5590 000c 0BD0 beq .L342 7112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5591 .loc 1 7112 7 discriminator 2 view .LVU1772 5592 000e A2F59432 sub r2, r2, #75776 5593 0012 9042 cmp r0, r2 5594 0014 07D0 beq .L342 7112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5595 .loc 1 7112 7 discriminator 3 view .LVU1773 5596 0016 02F58062 add r2, r2, #1024 5597 001a 9042 cmp r0, r2 5598 001c 03D0 beq .L342 7112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5599 .loc 1 7112 7 discriminator 4 view .LVU1774 5600 001e 02F59632 add r2, r2, #76800 5601 0022 9042 cmp r0, r2 5602 0024 03D1 bne .L343 5603 .L342: 7115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr1 |= Structure->CounterMode; 5604 .loc 1 7115 5 is_stmt 1 view .LVU1775 7115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr1 |= Structure->CounterMode; 5605 .loc 1 7115 12 is_stmt 0 view .LVU1776 5606 0026 23F07003 bic r3, r3, #112 5607 .LVL440: 7116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5608 .loc 1 7116 5 is_stmt 1 view .LVU1777 7116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5609 .loc 1 7116 24 is_stmt 0 view .LVU1778 5610 002a 4A68 ldr r2, [r1, #4] 7116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5611 .loc 1 7116 12 view .LVU1779 5612 002c 1343 orrs r3, r3, r2 5613 .LVL441: 5614 .L343: 7119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5615 .loc 1 7119 3 is_stmt 1 view .LVU1780 7119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5616 .loc 1 7119 6 is_stmt 0 view .LVU1781 5617 002e 214A ldr r2, .L348 5618 0030 9042 cmp r0, r2 5619 0032 1AD0 beq .L344 7119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5620 .loc 1 7119 7 discriminator 1 view .LVU1782 5621 0034 B0F1804F cmp r0, #1073741824 5622 0038 17D0 beq .L344 7119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5623 .loc 1 7119 7 discriminator 2 view .LVU1783 5624 003a A2F59432 sub r2, r2, #75776 5625 003e 9042 cmp r0, r2 5626 0040 13D0 beq .L344 7119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5627 .loc 1 7119 7 discriminator 3 view .LVU1784 5628 0042 02F58062 add r2, r2, #1024 5629 0046 9042 cmp r0, r2 5630 0048 0FD0 beq .L344 7119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5631 .loc 1 7119 7 discriminator 4 view .LVU1785 ARM GAS /tmp/cc0wMqvE.s page 261 5632 004a 02F59632 add r2, r2, #76800 5633 004e 9042 cmp r0, r2 5634 0050 0BD0 beq .L344 7119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5635 .loc 1 7119 7 discriminator 5 view .LVU1786 5636 0052 02F54062 add r2, r2, #3072 5637 0056 9042 cmp r0, r2 5638 0058 07D0 beq .L344 7119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5639 .loc 1 7119 7 discriminator 6 view .LVU1787 5640 005a 02F58062 add r2, r2, #1024 5641 005e 9042 cmp r0, r2 5642 0060 03D0 beq .L344 7119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5643 .loc 1 7119 7 discriminator 7 view .LVU1788 5644 0062 02F58062 add r2, r2, #1024 5645 0066 9042 cmp r0, r2 5646 0068 03D1 bne .L345 5647 .L344: 7122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr1 |= (uint32_t)Structure->ClockDivision; 5648 .loc 1 7122 5 is_stmt 1 view .LVU1789 7122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr1 |= (uint32_t)Structure->ClockDivision; 5649 .loc 1 7122 12 is_stmt 0 view .LVU1790 5650 006a 23F44073 bic r3, r3, #768 5651 .LVL442: 7123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5652 .loc 1 7123 5 is_stmt 1 view .LVU1791 7123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5653 .loc 1 7123 34 is_stmt 0 view .LVU1792 5654 006e CA68 ldr r2, [r1, #12] 7123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5655 .loc 1 7123 12 view .LVU1793 5656 0070 1343 orrs r3, r3, r2 5657 .LVL443: 5658 .L345: 7127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5659 .loc 1 7127 3 is_stmt 1 view .LVU1794 5660 0072 23F08003 bic r3, r3, #128 5661 .LVL444: 7127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5662 .loc 1 7127 3 is_stmt 0 view .LVU1795 5663 0076 4A69 ldr r2, [r1, #20] 5664 0078 1343 orrs r3, r3, r2 5665 .LVL445: 7129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5666 .loc 1 7129 3 is_stmt 1 view .LVU1796 7129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5667 .loc 1 7129 13 is_stmt 0 view .LVU1797 5668 007a 0360 str r3, [r0] 7132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5669 .loc 1 7132 3 is_stmt 1 view .LVU1798 7132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5670 .loc 1 7132 34 is_stmt 0 view .LVU1799 5671 007c 8B68 ldr r3, [r1, #8] 5672 .LVL446: 7132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5673 .loc 1 7132 13 view .LVU1800 ARM GAS /tmp/cc0wMqvE.s page 262 5674 007e C362 str r3, [r0, #44] 5675 .LVL447: 7135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5676 .loc 1 7135 3 is_stmt 1 view .LVU1801 7135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5677 .loc 1 7135 24 is_stmt 0 view .LVU1802 5678 0080 0B68 ldr r3, [r1] 7135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5679 .loc 1 7135 13 view .LVU1803 5680 0082 8362 str r3, [r0, #40] 7137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5681 .loc 1 7137 3 is_stmt 1 view .LVU1804 7137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5682 .loc 1 7137 6 is_stmt 0 view .LVU1805 5683 0084 0B4B ldr r3, .L348 5684 0086 9842 cmp r0, r3 5685 0088 0FD0 beq .L346 7137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5686 .loc 1 7137 7 discriminator 1 view .LVU1806 5687 008a 03F50063 add r3, r3, #2048 5688 008e 9842 cmp r0, r3 5689 0090 0BD0 beq .L346 7137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5690 .loc 1 7137 7 discriminator 2 view .LVU1807 5691 0092 03F54063 add r3, r3, #3072 5692 0096 9842 cmp r0, r3 5693 0098 07D0 beq .L346 7137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5694 .loc 1 7137 7 discriminator 3 view .LVU1808 5695 009a 03F58063 add r3, r3, #1024 5696 009e 9842 cmp r0, r3 5697 00a0 03D0 beq .L346 7137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5698 .loc 1 7137 7 discriminator 4 view .LVU1809 5699 00a2 03F58063 add r3, r3, #1024 5700 00a6 9842 cmp r0, r3 5701 00a8 01D1 bne .L347 5702 .L346: 7140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5703 .loc 1 7140 5 is_stmt 1 view .LVU1810 7140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5704 .loc 1 7140 26 is_stmt 0 view .LVU1811 5705 00aa 0B69 ldr r3, [r1, #16] 7140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5706 .loc 1 7140 15 view .LVU1812 5707 00ac 0363 str r3, [r0, #48] 5708 .L347: 7145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5709 .loc 1 7145 3 is_stmt 1 view .LVU1813 7145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5710 .loc 1 7145 13 is_stmt 0 view .LVU1814 5711 00ae 0123 movs r3, #1 5712 00b0 4361 str r3, [r0, #20] 7146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5713 .loc 1 7146 1 view .LVU1815 5714 00b2 7047 bx lr 5715 .L349: ARM GAS /tmp/cc0wMqvE.s page 263 5716 .align 2 5717 .L348: 5718 00b4 002C0140 .word 1073818624 5719 .cfi_endproc 5720 .LFE433: 5722 .section .text.HAL_TIM_Base_Init,"ax",%progbits 5723 .align 1 5724 .global HAL_TIM_Base_Init 5725 .syntax unified 5726 .thumb 5727 .thumb_func 5729 HAL_TIM_Base_Init: 5730 .LVL448: 5731 .LFB329: 282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 5732 .loc 1 282 1 is_stmt 1 view -0 5733 .cfi_startproc 5734 @ args = 0, pretend = 0, frame = 0 5735 @ frame_needed = 0, uses_anonymous_args = 0 284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5736 .loc 1 284 3 view .LVU1817 284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5737 .loc 1 284 6 is_stmt 0 view .LVU1818 5738 0000 60B3 cbz r0, .L353 282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 5739 .loc 1 282 1 view .LVU1819 5740 0002 10B5 push {r4, lr} 5741 .LCFI48: 5742 .cfi_def_cfa_offset 8 5743 .cfi_offset 4, -8 5744 .cfi_offset 14, -4 5745 0004 0446 mov r4, r0 290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 5746 .loc 1 290 3 is_stmt 1 view .LVU1820 291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 5747 .loc 1 291 3 view .LVU1821 292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 5748 .loc 1 292 3 view .LVU1822 293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5749 .loc 1 293 3 view .LVU1823 295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5750 .loc 1 295 3 view .LVU1824 295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5751 .loc 1 295 11 is_stmt 0 view .LVU1825 5752 0006 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5753 .loc 1 295 6 view .LVU1826 5754 000a 13B3 cbz r3, .L358 5755 .LVL449: 5756 .L352: 317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5757 .loc 1 317 3 is_stmt 1 view .LVU1827 317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5758 .loc 1 317 15 is_stmt 0 view .LVU1828 5759 000c 0223 movs r3, #2 5760 000e 84F83D30 strb r3, [r4, #61] 320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 264 5761 .loc 1 320 3 is_stmt 1 view .LVU1829 5762 0012 2146 mov r1, r4 5763 0014 51F8040B ldr r0, [r1], #4 5764 0018 FFF7FEFF bl TIM_Base_SetConfig 5765 .LVL450: 323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5766 .loc 1 323 3 view .LVU1830 323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5767 .loc 1 323 23 is_stmt 0 view .LVU1831 5768 001c 0123 movs r3, #1 5769 001e 84F84830 strb r3, [r4, #72] 326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5770 .loc 1 326 3 is_stmt 1 view .LVU1832 326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5771 .loc 1 326 3 view .LVU1833 5772 0022 84F83E30 strb r3, [r4, #62] 326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5773 .loc 1 326 3 view .LVU1834 5774 0026 84F83F30 strb r3, [r4, #63] 326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5775 .loc 1 326 3 view .LVU1835 5776 002a 84F84030 strb r3, [r4, #64] 326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5777 .loc 1 326 3 view .LVU1836 5778 002e 84F84130 strb r3, [r4, #65] 326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5779 .loc 1 326 3 view .LVU1837 5780 0032 84F84230 strb r3, [r4, #66] 326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5781 .loc 1 326 3 view .LVU1838 5782 0036 84F84330 strb r3, [r4, #67] 326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5783 .loc 1 326 3 view .LVU1839 327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5784 .loc 1 327 3 view .LVU1840 327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5785 .loc 1 327 3 view .LVU1841 5786 003a 84F84430 strb r3, [r4, #68] 327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5787 .loc 1 327 3 view .LVU1842 5788 003e 84F84530 strb r3, [r4, #69] 327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5789 .loc 1 327 3 view .LVU1843 5790 0042 84F84630 strb r3, [r4, #70] 327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5791 .loc 1 327 3 view .LVU1844 5792 0046 84F84730 strb r3, [r4, #71] 327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5793 .loc 1 327 3 view .LVU1845 330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5794 .loc 1 330 3 view .LVU1846 330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5795 .loc 1 330 15 is_stmt 0 view .LVU1847 5796 004a 84F83D30 strb r3, [r4, #61] 332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5797 .loc 1 332 3 is_stmt 1 view .LVU1848 332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 265 5798 .loc 1 332 10 is_stmt 0 view .LVU1849 5799 004e 0020 movs r0, #0 333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5800 .loc 1 333 1 view .LVU1850 5801 0050 10BD pop {r4, pc} 5802 .LVL451: 5803 .L358: 298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5804 .loc 1 298 5 is_stmt 1 view .LVU1851 298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5805 .loc 1 298 16 is_stmt 0 view .LVU1852 5806 0052 80F83C30 strb r3, [r0, #60] 312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5807 .loc 1 312 5 is_stmt 1 view .LVU1853 5808 0056 FFF7FEFF bl HAL_TIM_Base_MspInit 5809 .LVL452: 312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5810 .loc 1 312 5 is_stmt 0 view .LVU1854 5811 005a D7E7 b .L352 5812 .LVL453: 5813 .L353: 5814 .LCFI49: 5815 .cfi_def_cfa_offset 0 5816 .cfi_restore 4 5817 .cfi_restore 14 286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5818 .loc 1 286 12 view .LVU1855 5819 005c 0120 movs r0, #1 5820 .LVL454: 333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5821 .loc 1 333 1 view .LVU1856 5822 005e 7047 bx lr 5823 .cfi_endproc 5824 .LFE329: 5826 .section .text.HAL_TIM_OC_Init,"ax",%progbits 5827 .align 1 5828 .global HAL_TIM_OC_Init 5829 .syntax unified 5830 .thumb 5831 .thumb_func 5833 HAL_TIM_OC_Init: 5834 .LVL455: 5835 .LFB339: 665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 5836 .loc 1 665 1 is_stmt 1 view -0 5837 .cfi_startproc 5838 @ args = 0, pretend = 0, frame = 0 5839 @ frame_needed = 0, uses_anonymous_args = 0 667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5840 .loc 1 667 3 view .LVU1858 667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5841 .loc 1 667 6 is_stmt 0 view .LVU1859 5842 0000 60B3 cbz r0, .L362 665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 5843 .loc 1 665 1 view .LVU1860 5844 0002 10B5 push {r4, lr} 5845 .LCFI50: ARM GAS /tmp/cc0wMqvE.s page 266 5846 .cfi_def_cfa_offset 8 5847 .cfi_offset 4, -8 5848 .cfi_offset 14, -4 5849 0004 0446 mov r4, r0 673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 5850 .loc 1 673 3 is_stmt 1 view .LVU1861 674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 5851 .loc 1 674 3 view .LVU1862 675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 5852 .loc 1 675 3 view .LVU1863 676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5853 .loc 1 676 3 view .LVU1864 678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5854 .loc 1 678 3 view .LVU1865 678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5855 .loc 1 678 11 is_stmt 0 view .LVU1866 5856 0006 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5857 .loc 1 678 6 view .LVU1867 5858 000a 13B3 cbz r3, .L367 5859 .LVL456: 5860 .L361: 700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5861 .loc 1 700 3 is_stmt 1 view .LVU1868 700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5862 .loc 1 700 15 is_stmt 0 view .LVU1869 5863 000c 0223 movs r3, #2 5864 000e 84F83D30 strb r3, [r4, #61] 703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5865 .loc 1 703 3 is_stmt 1 view .LVU1870 5866 0012 2146 mov r1, r4 5867 0014 51F8040B ldr r0, [r1], #4 5868 0018 FFF7FEFF bl TIM_Base_SetConfig 5869 .LVL457: 706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5870 .loc 1 706 3 view .LVU1871 706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5871 .loc 1 706 23 is_stmt 0 view .LVU1872 5872 001c 0123 movs r3, #1 5873 001e 84F84830 strb r3, [r4, #72] 709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5874 .loc 1 709 3 is_stmt 1 view .LVU1873 709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5875 .loc 1 709 3 view .LVU1874 5876 0022 84F83E30 strb r3, [r4, #62] 709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5877 .loc 1 709 3 view .LVU1875 5878 0026 84F83F30 strb r3, [r4, #63] 709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5879 .loc 1 709 3 view .LVU1876 5880 002a 84F84030 strb r3, [r4, #64] 709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5881 .loc 1 709 3 view .LVU1877 5882 002e 84F84130 strb r3, [r4, #65] 709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5883 .loc 1 709 3 view .LVU1878 5884 0032 84F84230 strb r3, [r4, #66] ARM GAS /tmp/cc0wMqvE.s page 267 709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5885 .loc 1 709 3 view .LVU1879 5886 0036 84F84330 strb r3, [r4, #67] 709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5887 .loc 1 709 3 view .LVU1880 710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5888 .loc 1 710 3 view .LVU1881 710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5889 .loc 1 710 3 view .LVU1882 5890 003a 84F84430 strb r3, [r4, #68] 710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5891 .loc 1 710 3 view .LVU1883 5892 003e 84F84530 strb r3, [r4, #69] 710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5893 .loc 1 710 3 view .LVU1884 5894 0042 84F84630 strb r3, [r4, #70] 710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5895 .loc 1 710 3 view .LVU1885 5896 0046 84F84730 strb r3, [r4, #71] 710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5897 .loc 1 710 3 view .LVU1886 713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5898 .loc 1 713 3 view .LVU1887 713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5899 .loc 1 713 15 is_stmt 0 view .LVU1888 5900 004a 84F83D30 strb r3, [r4, #61] 715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5901 .loc 1 715 3 is_stmt 1 view .LVU1889 715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5902 .loc 1 715 10 is_stmt 0 view .LVU1890 5903 004e 0020 movs r0, #0 716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5904 .loc 1 716 1 view .LVU1891 5905 0050 10BD pop {r4, pc} 5906 .LVL458: 5907 .L367: 681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5908 .loc 1 681 5 is_stmt 1 view .LVU1892 681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5909 .loc 1 681 16 is_stmt 0 view .LVU1893 5910 0052 80F83C30 strb r3, [r0, #60] 695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5911 .loc 1 695 5 is_stmt 1 view .LVU1894 5912 0056 FFF7FEFF bl HAL_TIM_OC_MspInit 5913 .LVL459: 695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5914 .loc 1 695 5 is_stmt 0 view .LVU1895 5915 005a D7E7 b .L361 5916 .LVL460: 5917 .L362: 5918 .LCFI51: 5919 .cfi_def_cfa_offset 0 5920 .cfi_restore 4 5921 .cfi_restore 14 669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5922 .loc 1 669 12 view .LVU1896 5923 005c 0120 movs r0, #1 ARM GAS /tmp/cc0wMqvE.s page 268 5924 .LVL461: 716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5925 .loc 1 716 1 view .LVU1897 5926 005e 7047 bx lr 5927 .cfi_endproc 5928 .LFE339: 5930 .section .text.HAL_TIM_PWM_Init,"ax",%progbits 5931 .align 1 5932 .global HAL_TIM_PWM_Init 5933 .syntax unified 5934 .thumb 5935 .thumb_func 5937 HAL_TIM_PWM_Init: 5938 .LVL462: 5939 .LFB349: 1332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 5940 .loc 1 1332 1 is_stmt 1 view -0 5941 .cfi_startproc 5942 @ args = 0, pretend = 0, frame = 0 5943 @ frame_needed = 0, uses_anonymous_args = 0 1334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5944 .loc 1 1334 3 view .LVU1899 1334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5945 .loc 1 1334 6 is_stmt 0 view .LVU1900 5946 0000 60B3 cbz r0, .L371 1332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 5947 .loc 1 1332 1 view .LVU1901 5948 0002 10B5 push {r4, lr} 5949 .LCFI52: 5950 .cfi_def_cfa_offset 8 5951 .cfi_offset 4, -8 5952 .cfi_offset 14, -4 5953 0004 0446 mov r4, r0 1340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 5954 .loc 1 1340 3 is_stmt 1 view .LVU1902 1341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 5955 .loc 1 1341 3 view .LVU1903 1342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 5956 .loc 1 1342 3 view .LVU1904 1343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5957 .loc 1 1343 3 view .LVU1905 1345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5958 .loc 1 1345 3 view .LVU1906 1345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5959 .loc 1 1345 11 is_stmt 0 view .LVU1907 5960 0006 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 1345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5961 .loc 1 1345 6 view .LVU1908 5962 000a 13B3 cbz r3, .L376 5963 .LVL463: 5964 .L370: 1367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5965 .loc 1 1367 3 is_stmt 1 view .LVU1909 1367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5966 .loc 1 1367 15 is_stmt 0 view .LVU1910 5967 000c 0223 movs r3, #2 5968 000e 84F83D30 strb r3, [r4, #61] ARM GAS /tmp/cc0wMqvE.s page 269 1370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5969 .loc 1 1370 3 is_stmt 1 view .LVU1911 5970 0012 2146 mov r1, r4 5971 0014 51F8040B ldr r0, [r1], #4 5972 0018 FFF7FEFF bl TIM_Base_SetConfig 5973 .LVL464: 1373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5974 .loc 1 1373 3 view .LVU1912 1373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5975 .loc 1 1373 23 is_stmt 0 view .LVU1913 5976 001c 0123 movs r3, #1 5977 001e 84F84830 strb r3, [r4, #72] 1376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5978 .loc 1 1376 3 is_stmt 1 view .LVU1914 1376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5979 .loc 1 1376 3 view .LVU1915 5980 0022 84F83E30 strb r3, [r4, #62] 1376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5981 .loc 1 1376 3 view .LVU1916 5982 0026 84F83F30 strb r3, [r4, #63] 1376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5983 .loc 1 1376 3 view .LVU1917 5984 002a 84F84030 strb r3, [r4, #64] 1376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5985 .loc 1 1376 3 view .LVU1918 5986 002e 84F84130 strb r3, [r4, #65] 1376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5987 .loc 1 1376 3 view .LVU1919 5988 0032 84F84230 strb r3, [r4, #66] 1376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5989 .loc 1 1376 3 view .LVU1920 5990 0036 84F84330 strb r3, [r4, #67] 1376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5991 .loc 1 1376 3 view .LVU1921 1377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5992 .loc 1 1377 3 view .LVU1922 1377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5993 .loc 1 1377 3 view .LVU1923 5994 003a 84F84430 strb r3, [r4, #68] 1377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5995 .loc 1 1377 3 view .LVU1924 5996 003e 84F84530 strb r3, [r4, #69] 1377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5997 .loc 1 1377 3 view .LVU1925 5998 0042 84F84630 strb r3, [r4, #70] 1377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5999 .loc 1 1377 3 view .LVU1926 6000 0046 84F84730 strb r3, [r4, #71] 1377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6001 .loc 1 1377 3 view .LVU1927 1380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6002 .loc 1 1380 3 view .LVU1928 1380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6003 .loc 1 1380 15 is_stmt 0 view .LVU1929 6004 004a 84F83D30 strb r3, [r4, #61] 1382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6005 .loc 1 1382 3 is_stmt 1 view .LVU1930 ARM GAS /tmp/cc0wMqvE.s page 270 1382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6006 .loc 1 1382 10 is_stmt 0 view .LVU1931 6007 004e 0020 movs r0, #0 1383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6008 .loc 1 1383 1 view .LVU1932 6009 0050 10BD pop {r4, pc} 6010 .LVL465: 6011 .L376: 1348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6012 .loc 1 1348 5 is_stmt 1 view .LVU1933 1348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6013 .loc 1 1348 16 is_stmt 0 view .LVU1934 6014 0052 80F83C30 strb r3, [r0, #60] 1362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6015 .loc 1 1362 5 is_stmt 1 view .LVU1935 6016 0056 FFF7FEFF bl HAL_TIM_PWM_MspInit 6017 .LVL466: 1362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6018 .loc 1 1362 5 is_stmt 0 view .LVU1936 6019 005a D7E7 b .L370 6020 .LVL467: 6021 .L371: 6022 .LCFI53: 6023 .cfi_def_cfa_offset 0 6024 .cfi_restore 4 6025 .cfi_restore 14 1336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6026 .loc 1 1336 12 view .LVU1937 6027 005c 0120 movs r0, #1 6028 .LVL468: 1383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6029 .loc 1 1383 1 view .LVU1938 6030 005e 7047 bx lr 6031 .cfi_endproc 6032 .LFE349: 6034 .section .text.HAL_TIM_IC_Init,"ax",%progbits 6035 .align 1 6036 .global HAL_TIM_IC_Init 6037 .syntax unified 6038 .thumb 6039 .thumb_func 6041 HAL_TIM_IC_Init: 6042 .LVL469: 6043 .LFB359: 1998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 6044 .loc 1 1998 1 is_stmt 1 view -0 6045 .cfi_startproc 6046 @ args = 0, pretend = 0, frame = 0 6047 @ frame_needed = 0, uses_anonymous_args = 0 2000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6048 .loc 1 2000 3 view .LVU1940 2000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6049 .loc 1 2000 6 is_stmt 0 view .LVU1941 6050 0000 60B3 cbz r0, .L380 1998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 6051 .loc 1 1998 1 view .LVU1942 6052 0002 10B5 push {r4, lr} ARM GAS /tmp/cc0wMqvE.s page 271 6053 .LCFI54: 6054 .cfi_def_cfa_offset 8 6055 .cfi_offset 4, -8 6056 .cfi_offset 14, -4 6057 0004 0446 mov r4, r0 2006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 6058 .loc 1 2006 3 is_stmt 1 view .LVU1943 2007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 6059 .loc 1 2007 3 view .LVU1944 2008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 6060 .loc 1 2008 3 view .LVU1945 2009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6061 .loc 1 2009 3 view .LVU1946 2011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6062 .loc 1 2011 3 view .LVU1947 2011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6063 .loc 1 2011 11 is_stmt 0 view .LVU1948 6064 0006 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 2011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6065 .loc 1 2011 6 view .LVU1949 6066 000a 13B3 cbz r3, .L385 6067 .LVL470: 6068 .L379: 2033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6069 .loc 1 2033 3 is_stmt 1 view .LVU1950 2033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6070 .loc 1 2033 15 is_stmt 0 view .LVU1951 6071 000c 0223 movs r3, #2 6072 000e 84F83D30 strb r3, [r4, #61] 2036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6073 .loc 1 2036 3 is_stmt 1 view .LVU1952 6074 0012 2146 mov r1, r4 6075 0014 51F8040B ldr r0, [r1], #4 6076 0018 FFF7FEFF bl TIM_Base_SetConfig 6077 .LVL471: 2039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6078 .loc 1 2039 3 view .LVU1953 2039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6079 .loc 1 2039 23 is_stmt 0 view .LVU1954 6080 001c 0123 movs r3, #1 6081 001e 84F84830 strb r3, [r4, #72] 2042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 6082 .loc 1 2042 3 is_stmt 1 view .LVU1955 2042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 6083 .loc 1 2042 3 view .LVU1956 6084 0022 84F83E30 strb r3, [r4, #62] 2042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 6085 .loc 1 2042 3 view .LVU1957 6086 0026 84F83F30 strb r3, [r4, #63] 2042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 6087 .loc 1 2042 3 view .LVU1958 6088 002a 84F84030 strb r3, [r4, #64] 2042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 6089 .loc 1 2042 3 view .LVU1959 6090 002e 84F84130 strb r3, [r4, #65] 2042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 6091 .loc 1 2042 3 view .LVU1960 ARM GAS /tmp/cc0wMqvE.s page 272 6092 0032 84F84230 strb r3, [r4, #66] 2042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 6093 .loc 1 2042 3 view .LVU1961 6094 0036 84F84330 strb r3, [r4, #67] 2042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 6095 .loc 1 2042 3 view .LVU1962 2043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6096 .loc 1 2043 3 view .LVU1963 2043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6097 .loc 1 2043 3 view .LVU1964 6098 003a 84F84430 strb r3, [r4, #68] 2043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6099 .loc 1 2043 3 view .LVU1965 6100 003e 84F84530 strb r3, [r4, #69] 2043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6101 .loc 1 2043 3 view .LVU1966 6102 0042 84F84630 strb r3, [r4, #70] 2043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6103 .loc 1 2043 3 view .LVU1967 6104 0046 84F84730 strb r3, [r4, #71] 2043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6105 .loc 1 2043 3 view .LVU1968 2046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6106 .loc 1 2046 3 view .LVU1969 2046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6107 .loc 1 2046 15 is_stmt 0 view .LVU1970 6108 004a 84F83D30 strb r3, [r4, #61] 2048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6109 .loc 1 2048 3 is_stmt 1 view .LVU1971 2048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6110 .loc 1 2048 10 is_stmt 0 view .LVU1972 6111 004e 0020 movs r0, #0 2049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6112 .loc 1 2049 1 view .LVU1973 6113 0050 10BD pop {r4, pc} 6114 .LVL472: 6115 .L385: 2014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6116 .loc 1 2014 5 is_stmt 1 view .LVU1974 2014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6117 .loc 1 2014 16 is_stmt 0 view .LVU1975 6118 0052 80F83C30 strb r3, [r0, #60] 2028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6119 .loc 1 2028 5 is_stmt 1 view .LVU1976 6120 0056 FFF7FEFF bl HAL_TIM_IC_MspInit 6121 .LVL473: 2028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6122 .loc 1 2028 5 is_stmt 0 view .LVU1977 6123 005a D7E7 b .L379 6124 .LVL474: 6125 .L380: 6126 .LCFI55: 6127 .cfi_def_cfa_offset 0 6128 .cfi_restore 4 6129 .cfi_restore 14 2002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6130 .loc 1 2002 12 view .LVU1978 ARM GAS /tmp/cc0wMqvE.s page 273 6131 005c 0120 movs r0, #1 6132 .LVL475: 2049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6133 .loc 1 2049 1 view .LVU1979 6134 005e 7047 bx lr 6135 .cfi_endproc 6136 .LFE359: 6138 .section .text.HAL_TIM_OnePulse_Init,"ax",%progbits 6139 .align 1 6140 .global HAL_TIM_OnePulse_Init 6141 .syntax unified 6142 .thumb 6143 .thumb_func 6145 HAL_TIM_OnePulse_Init: 6146 .LVL476: 6147 .LFB369: 2646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 6148 .loc 1 2646 1 is_stmt 1 view -0 6149 .cfi_startproc 6150 @ args = 0, pretend = 0, frame = 0 6151 @ frame_needed = 0, uses_anonymous_args = 0 2648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6152 .loc 1 2648 3 view .LVU1981 2648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6153 .loc 1 2648 6 is_stmt 0 view .LVU1982 6154 0000 50B3 cbz r0, .L389 2646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 6155 .loc 1 2646 1 view .LVU1983 6156 0002 38B5 push {r3, r4, r5, lr} 6157 .LCFI56: 6158 .cfi_def_cfa_offset 16 6159 .cfi_offset 3, -16 6160 .cfi_offset 4, -12 6161 .cfi_offset 5, -8 6162 .cfi_offset 14, -4 6163 0004 0D46 mov r5, r1 6164 0006 0446 mov r4, r0 2654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 6165 .loc 1 2654 3 is_stmt 1 view .LVU1984 2655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 6166 .loc 1 2655 3 view .LVU1985 2656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OPM_MODE(OnePulseMode)); 6167 .loc 1 2656 3 view .LVU1986 2657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 6168 .loc 1 2657 3 view .LVU1987 2658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6169 .loc 1 2658 3 view .LVU1988 2660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6170 .loc 1 2660 3 view .LVU1989 2660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6171 .loc 1 2660 11 is_stmt 0 view .LVU1990 6172 0008 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 2660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6173 .loc 1 2660 6 view .LVU1991 6174 000c FBB1 cbz r3, .L394 6175 .LVL477: 6176 .L388: ARM GAS /tmp/cc0wMqvE.s page 274 2682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6177 .loc 1 2682 3 is_stmt 1 view .LVU1992 2682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6178 .loc 1 2682 15 is_stmt 0 view .LVU1993 6179 000e 0223 movs r3, #2 6180 0010 84F83D30 strb r3, [r4, #61] 2685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6181 .loc 1 2685 3 is_stmt 1 view .LVU1994 6182 0014 2146 mov r1, r4 6183 0016 51F8040B ldr r0, [r1], #4 6184 001a FFF7FEFF bl TIM_Base_SetConfig 6185 .LVL478: 2688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6186 .loc 1 2688 3 view .LVU1995 2688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6187 .loc 1 2688 7 is_stmt 0 view .LVU1996 6188 001e 2268 ldr r2, [r4] 2688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6189 .loc 1 2688 17 view .LVU1997 6190 0020 1368 ldr r3, [r2] 2688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6191 .loc 1 2688 23 view .LVU1998 6192 0022 23F00803 bic r3, r3, #8 6193 0026 1360 str r3, [r2] 2691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6194 .loc 1 2691 3 is_stmt 1 view .LVU1999 2691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6195 .loc 1 2691 7 is_stmt 0 view .LVU2000 6196 0028 2268 ldr r2, [r4] 2691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6197 .loc 1 2691 17 view .LVU2001 6198 002a 1368 ldr r3, [r2] 2691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6199 .loc 1 2691 23 view .LVU2002 6200 002c 2B43 orrs r3, r3, r5 6201 002e 1360 str r3, [r2] 2694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6202 .loc 1 2694 3 is_stmt 1 view .LVU2003 2694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6203 .loc 1 2694 23 is_stmt 0 view .LVU2004 6204 0030 0123 movs r3, #1 6205 0032 84F84830 strb r3, [r4, #72] 2697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 6206 .loc 1 2697 3 is_stmt 1 view .LVU2005 6207 0036 84F83E30 strb r3, [r4, #62] 2698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 6208 .loc 1 2698 3 view .LVU2006 6209 003a 84F83F30 strb r3, [r4, #63] 2699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 6210 .loc 1 2699 3 view .LVU2007 6211 003e 84F84430 strb r3, [r4, #68] 2700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6212 .loc 1 2700 3 view .LVU2008 6213 0042 84F84530 strb r3, [r4, #69] 2703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6214 .loc 1 2703 3 view .LVU2009 2703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 275 6215 .loc 1 2703 15 is_stmt 0 view .LVU2010 6216 0046 84F83D30 strb r3, [r4, #61] 2705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6217 .loc 1 2705 3 is_stmt 1 view .LVU2011 2705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6218 .loc 1 2705 10 is_stmt 0 view .LVU2012 6219 004a 0020 movs r0, #0 2706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6220 .loc 1 2706 1 view .LVU2013 6221 004c 38BD pop {r3, r4, r5, pc} 6222 .LVL479: 6223 .L394: 2663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6224 .loc 1 2663 5 is_stmt 1 view .LVU2014 2663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6225 .loc 1 2663 16 is_stmt 0 view .LVU2015 6226 004e 80F83C30 strb r3, [r0, #60] 2677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6227 .loc 1 2677 5 is_stmt 1 view .LVU2016 6228 0052 FFF7FEFF bl HAL_TIM_OnePulse_MspInit 6229 .LVL480: 2677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6230 .loc 1 2677 5 is_stmt 0 view .LVU2017 6231 0056 DAE7 b .L388 6232 .LVL481: 6233 .L389: 6234 .LCFI57: 6235 .cfi_def_cfa_offset 0 6236 .cfi_restore 3 6237 .cfi_restore 4 6238 .cfi_restore 5 6239 .cfi_restore 14 2650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6240 .loc 1 2650 12 view .LVU2018 6241 0058 0120 movs r0, #1 6242 .LVL482: 2706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6243 .loc 1 2706 1 view .LVU2019 6244 005a 7047 bx lr 6245 .cfi_endproc 6246 .LFE369: 6248 .section .text.HAL_TIM_Encoder_Init,"ax",%progbits 6249 .align 1 6250 .global HAL_TIM_Encoder_Init 6251 .syntax unified 6252 .thumb 6253 .thumb_func 6255 HAL_TIM_Encoder_Init: 6256 .LVL483: 6257 .LFB377: 3036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 6258 .loc 1 3036 1 is_stmt 1 view -0 6259 .cfi_startproc 6260 @ args = 0, pretend = 0, frame = 0 6261 @ frame_needed = 0, uses_anonymous_args = 0 3037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr1; 6262 .loc 1 3037 3 view .LVU2021 ARM GAS /tmp/cc0wMqvE.s page 276 3038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 6263 .loc 1 3038 3 view .LVU2022 3039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6264 .loc 1 3039 3 view .LVU2023 3042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6265 .loc 1 3042 3 view .LVU2024 3042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6266 .loc 1 3042 6 is_stmt 0 view .LVU2025 6267 0000 0028 cmp r0, #0 6268 0002 53D0 beq .L398 3036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 6269 .loc 1 3036 1 view .LVU2026 6270 0004 F8B5 push {r3, r4, r5, r6, r7, lr} 6271 .LCFI58: 6272 .cfi_def_cfa_offset 24 6273 .cfi_offset 3, -24 6274 .cfi_offset 4, -20 6275 .cfi_offset 5, -16 6276 .cfi_offset 6, -12 6277 .cfi_offset 7, -8 6278 .cfi_offset 14, -4 6279 0006 0D46 mov r5, r1 6280 0008 0446 mov r4, r0 3048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 6281 .loc 1 3048 3 is_stmt 1 view .LVU2027 3049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 6282 .loc 1 3049 3 view .LVU2028 3050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 6283 .loc 1 3050 3 view .LVU2029 3051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_MODE(sConfig->EncoderMode)); 6284 .loc 1 3051 3 view .LVU2030 3052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_SELECTION(sConfig->IC1Selection)); 6285 .loc 1 3052 3 view .LVU2031 3053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_SELECTION(sConfig->IC2Selection)); 6286 .loc 1 3053 3 view .LVU2032 3054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODERINPUT_POLARITY(sConfig->IC1Polarity)); 6287 .loc 1 3054 3 view .LVU2033 3055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODERINPUT_POLARITY(sConfig->IC2Polarity)); 6288 .loc 1 3055 3 view .LVU2034 3056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->IC1Prescaler)); 6289 .loc 1 3056 3 view .LVU2035 3057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->IC2Prescaler)); 6290 .loc 1 3057 3 view .LVU2036 3058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_FILTER(sConfig->IC1Filter)); 6291 .loc 1 3058 3 view .LVU2037 3059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_FILTER(sConfig->IC2Filter)); 6292 .loc 1 3059 3 view .LVU2038 3060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6293 .loc 1 3060 3 view .LVU2039 3062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6294 .loc 1 3062 3 view .LVU2040 3062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6295 .loc 1 3062 11 is_stmt 0 view .LVU2041 6296 000a 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 3062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6297 .loc 1 3062 6 view .LVU2042 6298 000e 002B cmp r3, #0 ARM GAS /tmp/cc0wMqvE.s page 277 6299 0010 47D0 beq .L403 6300 .LVL484: 6301 .L397: 3084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6302 .loc 1 3084 3 is_stmt 1 view .LVU2043 3084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6303 .loc 1 3084 15 is_stmt 0 view .LVU2044 6304 0012 0223 movs r3, #2 6305 0014 84F83D30 strb r3, [r4, #61] 3087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6306 .loc 1 3087 3 is_stmt 1 view .LVU2045 3087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6307 .loc 1 3087 7 is_stmt 0 view .LVU2046 6308 0018 2268 ldr r2, [r4] 3087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6309 .loc 1 3087 17 view .LVU2047 6310 001a 9368 ldr r3, [r2, #8] 3087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6311 .loc 1 3087 24 view .LVU2048 6312 001c 23F4A033 bic r3, r3, #81920 6313 0020 23F00703 bic r3, r3, #7 6314 0024 9360 str r3, [r2, #8] 3090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6315 .loc 1 3090 3 is_stmt 1 view .LVU2049 6316 0026 2146 mov r1, r4 6317 0028 51F8040B ldr r0, [r1], #4 6318 002c FFF7FEFF bl TIM_Base_SetConfig 6319 .LVL485: 3093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6320 .loc 1 3093 3 view .LVU2050 3093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6321 .loc 1 3093 17 is_stmt 0 view .LVU2051 6322 0030 2168 ldr r1, [r4] 3093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6323 .loc 1 3093 11 view .LVU2052 6324 0032 8B68 ldr r3, [r1, #8] 6325 .LVL486: 3096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6326 .loc 1 3096 3 is_stmt 1 view .LVU2053 3096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6327 .loc 1 3096 12 is_stmt 0 view .LVU2054 6328 0034 8A69 ldr r2, [r1, #24] 6329 .LVL487: 3099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6330 .loc 1 3099 3 is_stmt 1 view .LVU2055 3099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6331 .loc 1 3099 11 is_stmt 0 view .LVU2056 6332 0036 0E6A ldr r6, [r1, #32] 6333 .LVL488: 3102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6334 .loc 1 3102 3 is_stmt 1 view .LVU2057 3102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6335 .loc 1 3102 21 is_stmt 0 view .LVU2058 6336 0038 2868 ldr r0, [r5] 3102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6337 .loc 1 3102 11 view .LVU2059 6338 003a 1843 orrs r0, r0, r3 ARM GAS /tmp/cc0wMqvE.s page 278 6339 .LVL489: 3105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Selection | (sConfig->IC2Selection << 8U)); 6340 .loc 1 3105 3 is_stmt 1 view .LVU2060 3105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Selection | (sConfig->IC2Selection << 8U)); 6341 .loc 1 3105 12 is_stmt 0 view .LVU2061 6342 003c 22F44072 bic r2, r2, #768 6343 .LVL490: 3105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Selection | (sConfig->IC2Selection << 8U)); 6344 .loc 1 3105 12 view .LVU2062 6345 0040 22F00302 bic r2, r2, #3 6346 .LVL491: 3106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6347 .loc 1 3106 3 is_stmt 1 view .LVU2063 3106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6348 .loc 1 3106 23 is_stmt 0 view .LVU2064 6349 0044 AB68 ldr r3, [r5, #8] 3106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6350 .loc 1 3106 38 view .LVU2065 6351 0046 AF69 ldr r7, [r5, #24] 6352 0048 43EA0723 orr r3, r3, r7, lsl #8 3106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6353 .loc 1 3106 12 view .LVU2066 6354 004c 1343 orrs r3, r3, r2 6355 .LVL492: 3109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 &= ~(TIM_CCMR1_IC1F | TIM_CCMR1_IC2F); 6356 .loc 1 3109 3 is_stmt 1 view .LVU2067 3110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= sConfig->IC1Prescaler | (sConfig->IC2Prescaler << 8U); 6357 .loc 1 3110 3 view .LVU2068 3110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= sConfig->IC1Prescaler | (sConfig->IC2Prescaler << 8U); 6358 .loc 1 3110 12 is_stmt 0 view .LVU2069 6359 004e 23F47C43 bic r3, r3, #64512 6360 .LVL493: 3110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= sConfig->IC1Prescaler | (sConfig->IC2Prescaler << 8U); 6361 .loc 1 3110 12 view .LVU2070 6362 0052 23F0FC03 bic r3, r3, #252 6363 .LVL494: 3111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Filter << 4U) | (sConfig->IC2Filter << 12U); 6364 .loc 1 3111 3 is_stmt 1 view .LVU2071 3111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Filter << 4U) | (sConfig->IC2Filter << 12U); 6365 .loc 1 3111 22 is_stmt 0 view .LVU2072 6366 0056 EA68 ldr r2, [r5, #12] 3111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Filter << 4U) | (sConfig->IC2Filter << 12U); 6367 .loc 1 3111 37 view .LVU2073 6368 0058 EF69 ldr r7, [r5, #28] 6369 005a 42EA0722 orr r2, r2, r7, lsl #8 3111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Filter << 4U) | (sConfig->IC2Filter << 12U); 6370 .loc 1 3111 12 view .LVU2074 6371 005e 1A43 orrs r2, r2, r3 6372 .LVL495: 3112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6373 .loc 1 3112 3 is_stmt 1 view .LVU2075 3112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6374 .loc 1 3112 52 is_stmt 0 view .LVU2076 6375 0060 2B6A ldr r3, [r5, #32] 3112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6376 .loc 1 3112 64 view .LVU2077 6377 0062 1B03 lsls r3, r3, #12 ARM GAS /tmp/cc0wMqvE.s page 279 3112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6378 .loc 1 3112 42 view .LVU2078 6379 0064 2F69 ldr r7, [r5, #16] 6380 0066 43EA0713 orr r3, r3, r7, lsl #4 3112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6381 .loc 1 3112 12 view .LVU2079 6382 006a 1343 orrs r3, r3, r2 6383 .LVL496: 3115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC1NP | TIM_CCER_CC2NP); 6384 .loc 1 3115 3 is_stmt 1 view .LVU2080 3116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= sConfig->IC1Polarity | (sConfig->IC2Polarity << 4U); 6385 .loc 1 3116 3 view .LVU2081 3116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= sConfig->IC1Polarity | (sConfig->IC2Polarity << 4U); 6386 .loc 1 3116 11 is_stmt 0 view .LVU2082 6387 006c 26F0AA06 bic r6, r6, #170 6388 .LVL497: 3117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6389 .loc 1 3117 3 is_stmt 1 view .LVU2083 3117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6390 .loc 1 3117 21 is_stmt 0 view .LVU2084 6391 0070 6A68 ldr r2, [r5, #4] 3117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6392 .loc 1 3117 45 view .LVU2085 6393 0072 6D69 ldr r5, [r5, #20] 6394 .LVL498: 3117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6395 .loc 1 3117 35 view .LVU2086 6396 0074 42EA0512 orr r2, r2, r5, lsl #4 3117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6397 .loc 1 3117 11 view .LVU2087 6398 0078 3243 orrs r2, r2, r6 6399 .LVL499: 3120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6400 .loc 1 3120 3 is_stmt 1 view .LVU2088 3120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6401 .loc 1 3120 24 is_stmt 0 view .LVU2089 6402 007a 8860 str r0, [r1, #8] 3123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6403 .loc 1 3123 3 is_stmt 1 view .LVU2090 3123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6404 .loc 1 3123 7 is_stmt 0 view .LVU2091 6405 007c 2168 ldr r1, [r4] 3123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6406 .loc 1 3123 25 view .LVU2092 6407 007e 8B61 str r3, [r1, #24] 3126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6408 .loc 1 3126 3 is_stmt 1 view .LVU2093 3126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6409 .loc 1 3126 7 is_stmt 0 view .LVU2094 6410 0080 2368 ldr r3, [r4] 6411 .LVL500: 3126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6412 .loc 1 3126 24 view .LVU2095 6413 0082 1A62 str r2, [r3, #32] 6414 .LVL501: 3129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6415 .loc 1 3129 3 is_stmt 1 view .LVU2096 ARM GAS /tmp/cc0wMqvE.s page 280 3129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6416 .loc 1 3129 23 is_stmt 0 view .LVU2097 6417 0084 0123 movs r3, #1 6418 0086 84F84830 strb r3, [r4, #72] 3132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 6419 .loc 1 3132 3 is_stmt 1 view .LVU2098 6420 008a 84F83E30 strb r3, [r4, #62] 3133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 6421 .loc 1 3133 3 view .LVU2099 6422 008e 84F83F30 strb r3, [r4, #63] 3134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 6423 .loc 1 3134 3 view .LVU2100 6424 0092 84F84430 strb r3, [r4, #68] 3135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6425 .loc 1 3135 3 view .LVU2101 6426 0096 84F84530 strb r3, [r4, #69] 3138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6427 .loc 1 3138 3 view .LVU2102 3138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6428 .loc 1 3138 15 is_stmt 0 view .LVU2103 6429 009a 84F83D30 strb r3, [r4, #61] 3140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6430 .loc 1 3140 3 is_stmt 1 view .LVU2104 3140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6431 .loc 1 3140 10 is_stmt 0 view .LVU2105 6432 009e 0020 movs r0, #0 6433 .LVL502: 3141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6434 .loc 1 3141 1 view .LVU2106 6435 00a0 F8BD pop {r3, r4, r5, r6, r7, pc} 6436 .LVL503: 6437 .L403: 3065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6438 .loc 1 3065 5 is_stmt 1 view .LVU2107 3065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6439 .loc 1 3065 16 is_stmt 0 view .LVU2108 6440 00a2 80F83C30 strb r3, [r0, #60] 3079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6441 .loc 1 3079 5 is_stmt 1 view .LVU2109 6442 00a6 FFF7FEFF bl HAL_TIM_Encoder_MspInit 6443 .LVL504: 3079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6444 .loc 1 3079 5 is_stmt 0 view .LVU2110 6445 00aa B2E7 b .L397 6446 .LVL505: 6447 .L398: 6448 .LCFI59: 6449 .cfi_def_cfa_offset 0 6450 .cfi_restore 3 6451 .cfi_restore 4 6452 .cfi_restore 5 6453 .cfi_restore 6 6454 .cfi_restore 7 6455 .cfi_restore 14 3044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6456 .loc 1 3044 12 view .LVU2111 6457 00ac 0120 movs r0, #1 ARM GAS /tmp/cc0wMqvE.s page 281 6458 .LVL506: 3141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6459 .loc 1 3141 1 view .LVU2112 6460 00ae 7047 bx lr 6461 .cfi_endproc 6462 .LFE377: 6464 .section .text.TIM_OC2_SetConfig,"ax",%progbits 6465 .align 1 6466 .global TIM_OC2_SetConfig 6467 .syntax unified 6468 .thumb 6469 .thumb_func 6471 TIM_OC2_SetConfig: 6472 .LVL507: 6473 .LFB435: 7230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmrx; 6474 .loc 1 7230 1 is_stmt 1 view -0 6475 .cfi_startproc 6476 @ args = 0, pretend = 0, frame = 0 6477 @ frame_needed = 0, uses_anonymous_args = 0 6478 @ link register save eliminated. 7230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmrx; 6479 .loc 1 7230 1 is_stmt 0 view .LVU2114 6480 0000 30B4 push {r4, r5} 6481 .LCFI60: 6482 .cfi_def_cfa_offset 8 6483 .cfi_offset 4, -8 6484 .cfi_offset 5, -4 7231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 6485 .loc 1 7231 3 is_stmt 1 view .LVU2115 7232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpcr2; 6486 .loc 1 7232 3 view .LVU2116 7233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6487 .loc 1 7233 3 view .LVU2117 7236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6488 .loc 1 7236 3 view .LVU2118 7236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6489 .loc 1 7236 7 is_stmt 0 view .LVU2119 6490 0002 036A ldr r3, [r0, #32] 7236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6491 .loc 1 7236 14 view .LVU2120 6492 0004 23F01003 bic r3, r3, #16 6493 0008 0362 str r3, [r0, #32] 7239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CR2 register value */ 6494 .loc 1 7239 3 is_stmt 1 view .LVU2121 7239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CR2 register value */ 6495 .loc 1 7239 11 is_stmt 0 view .LVU2122 6496 000a 036A ldr r3, [r0, #32] 6497 .LVL508: 7241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6498 .loc 1 7241 3 is_stmt 1 view .LVU2123 7241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6499 .loc 1 7241 10 is_stmt 0 view .LVU2124 6500 000c 4468 ldr r4, [r0, #4] 6501 .LVL509: 7244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6502 .loc 1 7244 3 is_stmt 1 view .LVU2125 ARM GAS /tmp/cc0wMqvE.s page 282 7244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6503 .loc 1 7244 12 is_stmt 0 view .LVU2126 6504 000e 8269 ldr r2, [r0, #24] 6505 .LVL510: 7247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR1_CC2S; 6506 .loc 1 7247 3 is_stmt 1 view .LVU2127 7248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6507 .loc 1 7248 3 view .LVU2128 7248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6508 .loc 1 7248 12 is_stmt 0 view .LVU2129 6509 0010 22F08072 bic r2, r2, #16777216 6510 .LVL511: 7248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6511 .loc 1 7248 12 view .LVU2130 6512 0014 22F4E642 bic r2, r2, #29440 6513 .LVL512: 7251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6514 .loc 1 7251 3 is_stmt 1 view .LVU2131 7251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6515 .loc 1 7251 25 is_stmt 0 view .LVU2132 6516 0018 0D68 ldr r5, [r1] 7251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6517 .loc 1 7251 12 view .LVU2133 6518 001a 42EA0522 orr r2, r2, r5, lsl #8 6519 .LVL513: 7254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Compare Polarity */ 6520 .loc 1 7254 3 is_stmt 1 view .LVU2134 7254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Compare Polarity */ 6521 .loc 1 7254 11 is_stmt 0 view .LVU2135 6522 001e 23F02003 bic r3, r3, #32 6523 .LVL514: 7256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6524 .loc 1 7256 3 is_stmt 1 view .LVU2136 7256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6525 .loc 1 7256 24 is_stmt 0 view .LVU2137 6526 0022 8D68 ldr r5, [r1, #8] 7256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6527 .loc 1 7256 11 view .LVU2138 6528 0024 43EA0513 orr r3, r3, r5, lsl #4 6529 .LVL515: 7258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6530 .loc 1 7258 3 is_stmt 1 view .LVU2139 7258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6531 .loc 1 7258 6 is_stmt 0 view .LVU2140 6532 0028 174D ldr r5, .L410 6533 002a A842 cmp r0, r5 6534 002c 03D0 beq .L405 7258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6535 .loc 1 7258 7 discriminator 1 view .LVU2141 6536 002e 05F50065 add r5, r5, #2048 6537 0032 A842 cmp r0, r5 6538 0034 06D1 bne .L406 6539 .L405: 7260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6540 .loc 1 7260 5 is_stmt 1 view .LVU2142 7263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Polarity */ 6541 .loc 1 7263 5 view .LVU2143 ARM GAS /tmp/cc0wMqvE.s page 283 7263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Polarity */ 6542 .loc 1 7263 13 is_stmt 0 view .LVU2144 6543 0036 23F08003 bic r3, r3, #128 6544 .LVL516: 7265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output N State */ 6545 .loc 1 7265 5 is_stmt 1 view .LVU2145 7265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output N State */ 6546 .loc 1 7265 26 is_stmt 0 view .LVU2146 6547 003a CD68 ldr r5, [r1, #12] 7265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output N State */ 6548 .loc 1 7265 13 view .LVU2147 6549 003c 43EA0513 orr r3, r3, r5, lsl #4 6550 .LVL517: 7267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6551 .loc 1 7267 5 is_stmt 1 view .LVU2148 7267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6552 .loc 1 7267 13 is_stmt 0 view .LVU2149 6553 0040 23F04003 bic r3, r3, #64 6554 .LVL518: 6555 .L406: 7271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6556 .loc 1 7271 3 is_stmt 1 view .LVU2150 7271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6557 .loc 1 7271 6 is_stmt 0 view .LVU2151 6558 0044 104D ldr r5, .L410 6559 0046 A842 cmp r0, r5 6560 0048 0FD0 beq .L407 7271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6561 .loc 1 7271 7 discriminator 1 view .LVU2152 6562 004a 05F50065 add r5, r5, #2048 6563 004e A842 cmp r0, r5 6564 0050 0BD0 beq .L407 7271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6565 .loc 1 7271 7 discriminator 2 view .LVU2153 6566 0052 05F54065 add r5, r5, #3072 6567 0056 A842 cmp r0, r5 6568 0058 07D0 beq .L407 7271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6569 .loc 1 7271 7 discriminator 3 view .LVU2154 6570 005a 05F58065 add r5, r5, #1024 6571 005e A842 cmp r0, r5 6572 0060 03D0 beq .L407 7271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6573 .loc 1 7271 7 discriminator 4 view .LVU2155 6574 0062 05F58065 add r5, r5, #1024 6575 0066 A842 cmp r0, r5 6576 0068 07D1 bne .L408 6577 .L407: 7274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState)); 6578 .loc 1 7274 5 is_stmt 1 view .LVU2156 7275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6579 .loc 1 7275 5 view .LVU2157 7278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS2N; 6580 .loc 1 7278 5 view .LVU2158 6581 .LVL519: 7279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Idle state */ 6582 .loc 1 7279 5 view .LVU2159 ARM GAS /tmp/cc0wMqvE.s page 284 7279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Idle state */ 6583 .loc 1 7279 12 is_stmt 0 view .LVU2160 6584 006a 24F4406C bic ip, r4, #3072 6585 .LVL520: 7281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Idle state */ 6586 .loc 1 7281 5 is_stmt 1 view .LVU2161 7281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Idle state */ 6587 .loc 1 7281 25 is_stmt 0 view .LVU2162 6588 006e 4C69 ldr r4, [r1, #20] 7281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Idle state */ 6589 .loc 1 7281 12 view .LVU2163 6590 0070 4CEA840C orr ip, ip, r4, lsl #2 6591 .LVL521: 7283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6592 .loc 1 7283 5 is_stmt 1 view .LVU2164 7283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6593 .loc 1 7283 25 is_stmt 0 view .LVU2165 6594 0074 8C69 ldr r4, [r1, #24] 7283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6595 .loc 1 7283 12 view .LVU2166 6596 0076 4CEA8404 orr r4, ip, r4, lsl #2 6597 .LVL522: 6598 .L408: 7287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6599 .loc 1 7287 3 is_stmt 1 view .LVU2167 7287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6600 .loc 1 7287 13 is_stmt 0 view .LVU2168 6601 007a 4460 str r4, [r0, #4] 7290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6602 .loc 1 7290 3 is_stmt 1 view .LVU2169 7290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6603 .loc 1 7290 15 is_stmt 0 view .LVU2170 6604 007c 8261 str r2, [r0, #24] 7293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6605 .loc 1 7293 3 is_stmt 1 view .LVU2171 7293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6606 .loc 1 7293 25 is_stmt 0 view .LVU2172 6607 007e 4A68 ldr r2, [r1, #4] 6608 .LVL523: 7293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6609 .loc 1 7293 14 view .LVU2173 6610 0080 8263 str r2, [r0, #56] 6611 .LVL524: 7296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6612 .loc 1 7296 3 is_stmt 1 view .LVU2174 7296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6613 .loc 1 7296 14 is_stmt 0 view .LVU2175 6614 0082 0362 str r3, [r0, #32] 7297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6615 .loc 1 7297 1 view .LVU2176 6616 0084 30BC pop {r4, r5} 6617 .LCFI61: 6618 .cfi_restore 5 6619 .cfi_restore 4 6620 .cfi_def_cfa_offset 0 6621 .LVL525: 7297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 285 6622 .loc 1 7297 1 view .LVU2177 6623 0086 7047 bx lr 6624 .L411: 6625 .align 2 6626 .L410: 6627 0088 002C0140 .word 1073818624 6628 .cfi_endproc 6629 .LFE435: 6631 .section .text.HAL_TIM_OC_ConfigChannel,"ax",%progbits 6632 .align 1 6633 .global HAL_TIM_OC_ConfigChannel 6634 .syntax unified 6635 .thumb 6636 .thumb_func 6638 HAL_TIM_OC_ConfigChannel: 6639 .LVL526: 6640 .LFB388: 4123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 6641 .loc 1 4123 1 is_stmt 1 view -0 6642 .cfi_startproc 6643 @ args = 0, pretend = 0, frame = 0 6644 @ frame_needed = 0, uses_anonymous_args = 0 4124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6645 .loc 1 4124 3 view .LVU2179 4127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OC_CHANNEL_MODE(sConfig->OCMode, Channel)); 6646 .loc 1 4127 3 view .LVU2180 4128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OC_POLARITY(sConfig->OCPolarity)); 6647 .loc 1 4128 3 view .LVU2181 4129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6648 .loc 1 4129 3 view .LVU2182 4132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6649 .loc 1 4132 3 view .LVU2183 4132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6650 .loc 1 4132 3 view .LVU2184 6651 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 6652 0004 012B cmp r3, #1 6653 0006 36D0 beq .L422 4123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 6654 .loc 1 4123 1 is_stmt 0 discriminator 2 view .LVU2185 6655 0008 10B5 push {r4, lr} 6656 .LCFI62: 6657 .cfi_def_cfa_offset 8 6658 .cfi_offset 4, -8 6659 .cfi_offset 14, -4 6660 000a 0446 mov r4, r0 4132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6661 .loc 1 4132 3 is_stmt 1 discriminator 2 view .LVU2186 6662 000c 0123 movs r3, #1 6663 000e 80F83C30 strb r3, [r0, #60] 4132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6664 .loc 1 4132 3 discriminator 2 view .LVU2187 4134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6665 .loc 1 4134 3 discriminator 2 view .LVU2188 6666 0012 142A cmp r2, #20 6667 0014 2AD8 bhi .L423 6668 0016 DFE802F0 tbb [pc, r2] 6669 .L416: ARM GAS /tmp/cc0wMqvE.s page 286 6670 001a 0B .byte (.L421-.L416)/2 6671 001b 29 .byte (.L423-.L416)/2 6672 001c 29 .byte (.L423-.L416)/2 6673 001d 29 .byte (.L423-.L416)/2 6674 001e 10 .byte (.L420-.L416)/2 6675 001f 29 .byte (.L423-.L416)/2 6676 0020 29 .byte (.L423-.L416)/2 6677 0021 29 .byte (.L423-.L416)/2 6678 0022 15 .byte (.L419-.L416)/2 6679 0023 29 .byte (.L423-.L416)/2 6680 0024 29 .byte (.L423-.L416)/2 6681 0025 29 .byte (.L423-.L416)/2 6682 0026 1A .byte (.L418-.L416)/2 6683 0027 29 .byte (.L423-.L416)/2 6684 0028 29 .byte (.L423-.L416)/2 6685 0029 29 .byte (.L423-.L416)/2 6686 002a 1F .byte (.L417-.L416)/2 6687 002b 29 .byte (.L423-.L416)/2 6688 002c 29 .byte (.L423-.L416)/2 6689 002d 29 .byte (.L423-.L416)/2 6690 002e 24 .byte (.L415-.L416)/2 6691 002f 00 .p2align 1 6692 .L421: 4139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6693 .loc 1 4139 7 view .LVU2189 4142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6694 .loc 1 4142 7 view .LVU2190 6695 0030 0068 ldr r0, [r0] 6696 .LVL527: 4142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6697 .loc 1 4142 7 is_stmt 0 view .LVU2191 6698 0032 FFF7FEFF bl TIM_OC1_SetConfig 6699 .LVL528: 4143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6700 .loc 1 4143 7 is_stmt 1 view .LVU2192 4124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6701 .loc 1 4124 21 is_stmt 0 view .LVU2193 6702 0036 0020 movs r0, #0 4143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6703 .loc 1 4143 7 view .LVU2194 6704 0038 19E0 b .L414 6705 .LVL529: 6706 .L420: 4149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6707 .loc 1 4149 7 is_stmt 1 view .LVU2195 4152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6708 .loc 1 4152 7 view .LVU2196 6709 003a 0068 ldr r0, [r0] 6710 .LVL530: 4152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6711 .loc 1 4152 7 is_stmt 0 view .LVU2197 6712 003c FFF7FEFF bl TIM_OC2_SetConfig 6713 .LVL531: 4153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6714 .loc 1 4153 7 is_stmt 1 view .LVU2198 4124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6715 .loc 1 4124 21 is_stmt 0 view .LVU2199 ARM GAS /tmp/cc0wMqvE.s page 287 6716 0040 0020 movs r0, #0 4153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6717 .loc 1 4153 7 view .LVU2200 6718 0042 14E0 b .L414 6719 .LVL532: 6720 .L419: 4159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6721 .loc 1 4159 7 is_stmt 1 view .LVU2201 4162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6722 .loc 1 4162 7 view .LVU2202 6723 0044 0068 ldr r0, [r0] 6724 .LVL533: 4162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6725 .loc 1 4162 7 is_stmt 0 view .LVU2203 6726 0046 FFF7FEFF bl TIM_OC3_SetConfig 6727 .LVL534: 4163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6728 .loc 1 4163 7 is_stmt 1 view .LVU2204 4124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6729 .loc 1 4124 21 is_stmt 0 view .LVU2205 6730 004a 0020 movs r0, #0 4163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6731 .loc 1 4163 7 view .LVU2206 6732 004c 0FE0 b .L414 6733 .LVL535: 6734 .L418: 4169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6735 .loc 1 4169 7 is_stmt 1 view .LVU2207 4172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6736 .loc 1 4172 7 view .LVU2208 6737 004e 0068 ldr r0, [r0] 6738 .LVL536: 4172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6739 .loc 1 4172 7 is_stmt 0 view .LVU2209 6740 0050 FFF7FEFF bl TIM_OC4_SetConfig 6741 .LVL537: 4173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6742 .loc 1 4173 7 is_stmt 1 view .LVU2210 4124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6743 .loc 1 4124 21 is_stmt 0 view .LVU2211 6744 0054 0020 movs r0, #0 4173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6745 .loc 1 4173 7 view .LVU2212 6746 0056 0AE0 b .L414 6747 .LVL538: 6748 .L417: 4179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6749 .loc 1 4179 7 is_stmt 1 view .LVU2213 4182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6750 .loc 1 4182 7 view .LVU2214 6751 0058 0068 ldr r0, [r0] 6752 .LVL539: 4182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6753 .loc 1 4182 7 is_stmt 0 view .LVU2215 6754 005a FFF7FEFF bl TIM_OC5_SetConfig 6755 .LVL540: 4183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 288 6756 .loc 1 4183 7 is_stmt 1 view .LVU2216 4124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6757 .loc 1 4124 21 is_stmt 0 view .LVU2217 6758 005e 0020 movs r0, #0 4183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6759 .loc 1 4183 7 view .LVU2218 6760 0060 05E0 b .L414 6761 .LVL541: 6762 .L415: 4189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6763 .loc 1 4189 7 is_stmt 1 view .LVU2219 4192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6764 .loc 1 4192 7 view .LVU2220 6765 0062 0068 ldr r0, [r0] 6766 .LVL542: 4192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6767 .loc 1 4192 7 is_stmt 0 view .LVU2221 6768 0064 FFF7FEFF bl TIM_OC6_SetConfig 6769 .LVL543: 4193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6770 .loc 1 4193 7 is_stmt 1 view .LVU2222 4124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6771 .loc 1 4124 21 is_stmt 0 view .LVU2223 6772 0068 0020 movs r0, #0 4193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6773 .loc 1 4193 7 view .LVU2224 6774 006a 00E0 b .L414 6775 .LVL544: 6776 .L423: 4134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6777 .loc 1 4134 3 view .LVU2225 6778 006c 0120 movs r0, #1 6779 .LVL545: 6780 .L414: 4201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6781 .loc 1 4201 3 is_stmt 1 view .LVU2226 4201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6782 .loc 1 4201 3 view .LVU2227 6783 006e 0023 movs r3, #0 6784 0070 84F83C30 strb r3, [r4, #60] 4201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6785 .loc 1 4201 3 view .LVU2228 4203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6786 .loc 1 4203 3 view .LVU2229 4204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6787 .loc 1 4204 1 is_stmt 0 view .LVU2230 6788 0074 10BD pop {r4, pc} 6789 .LVL546: 6790 .L422: 6791 .LCFI63: 6792 .cfi_def_cfa_offset 0 6793 .cfi_restore 4 6794 .cfi_restore 14 4132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6795 .loc 1 4132 3 view .LVU2231 6796 0076 0220 movs r0, #2 6797 .LVL547: ARM GAS /tmp/cc0wMqvE.s page 289 4204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6798 .loc 1 4204 1 view .LVU2232 6799 0078 7047 bx lr 6800 .cfi_endproc 6801 .LFE388: 6803 .section .text.HAL_TIM_PWM_ConfigChannel,"ax",%progbits 6804 .align 1 6805 .global HAL_TIM_PWM_ConfigChannel 6806 .syntax unified 6807 .thumb 6808 .thumb_func 6810 HAL_TIM_PWM_ConfigChannel: 6811 .LVL548: 6812 .LFB390: 4323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 6813 .loc 1 4323 1 is_stmt 1 view -0 6814 .cfi_startproc 6815 @ args = 0, pretend = 0, frame = 0 6816 @ frame_needed = 0, uses_anonymous_args = 0 4323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 6817 .loc 1 4323 1 is_stmt 0 view .LVU2234 6818 0000 38B5 push {r3, r4, r5, lr} 6819 .LCFI64: 6820 .cfi_def_cfa_offset 16 6821 .cfi_offset 3, -16 6822 .cfi_offset 4, -12 6823 .cfi_offset 5, -8 6824 .cfi_offset 14, -4 4324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6825 .loc 1 4324 3 is_stmt 1 view .LVU2235 6826 .LVL549: 4327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_PWM_MODE(sConfig->OCMode)); 6827 .loc 1 4327 3 view .LVU2236 4328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OC_POLARITY(sConfig->OCPolarity)); 6828 .loc 1 4328 3 view .LVU2237 4329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_FAST_STATE(sConfig->OCFastMode)); 6829 .loc 1 4329 3 view .LVU2238 4330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6830 .loc 1 4330 3 view .LVU2239 4333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6831 .loc 1 4333 3 view .LVU2240 4333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6832 .loc 1 4333 3 view .LVU2241 6833 0002 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 6834 0006 012B cmp r3, #1 6835 0008 00F09580 beq .L438 6836 000c 0446 mov r4, r0 6837 000e 0D46 mov r5, r1 4333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6838 .loc 1 4333 3 discriminator 2 view .LVU2242 6839 0010 0123 movs r3, #1 6840 0012 80F83C30 strb r3, [r0, #60] 4333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6841 .loc 1 4333 3 discriminator 2 view .LVU2243 4335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6842 .loc 1 4335 3 discriminator 2 view .LVU2244 6843 0016 142A cmp r2, #20 ARM GAS /tmp/cc0wMqvE.s page 290 6844 0018 00F28880 bhi .L439 6845 001c DFE802F0 tbb [pc, r2] 6846 .L432: 6847 0020 0B .byte (.L437-.L432)/2 6848 0021 86 .byte (.L439-.L432)/2 6849 0022 86 .byte (.L439-.L432)/2 6850 0023 86 .byte (.L439-.L432)/2 6851 0024 1F .byte (.L436-.L432)/2 6852 0025 86 .byte (.L439-.L432)/2 6853 0026 86 .byte (.L439-.L432)/2 6854 0027 86 .byte (.L439-.L432)/2 6855 0028 34 .byte (.L435-.L432)/2 6856 0029 86 .byte (.L439-.L432)/2 6857 002a 86 .byte (.L439-.L432)/2 6858 002b 86 .byte (.L439-.L432)/2 6859 002c 48 .byte (.L434-.L432)/2 6860 002d 86 .byte (.L439-.L432)/2 6861 002e 86 .byte (.L439-.L432)/2 6862 002f 86 .byte (.L439-.L432)/2 6863 0030 5D .byte (.L433-.L432)/2 6864 0031 86 .byte (.L439-.L432)/2 6865 0032 86 .byte (.L439-.L432)/2 6866 0033 86 .byte (.L439-.L432)/2 6867 0034 71 .byte (.L431-.L432)/2 6868 0035 00 .p2align 1 6869 .L437: 4340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6870 .loc 1 4340 7 view .LVU2245 4343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6871 .loc 1 4343 7 view .LVU2246 6872 0036 0068 ldr r0, [r0] 6873 .LVL550: 4343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6874 .loc 1 4343 7 is_stmt 0 view .LVU2247 6875 0038 FFF7FEFF bl TIM_OC1_SetConfig 6876 .LVL551: 4346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6877 .loc 1 4346 7 is_stmt 1 view .LVU2248 4346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6878 .loc 1 4346 11 is_stmt 0 view .LVU2249 6879 003c 2268 ldr r2, [r4] 4346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6880 .loc 1 4346 21 view .LVU2250 6881 003e 9369 ldr r3, [r2, #24] 4346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6882 .loc 1 4346 29 view .LVU2251 6883 0040 43F00803 orr r3, r3, #8 6884 0044 9361 str r3, [r2, #24] 4349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode; 6885 .loc 1 4349 7 is_stmt 1 view .LVU2252 4349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode; 6886 .loc 1 4349 11 is_stmt 0 view .LVU2253 6887 0046 2268 ldr r2, [r4] 4349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode; 6888 .loc 1 4349 21 view .LVU2254 6889 0048 9369 ldr r3, [r2, #24] 4349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode; ARM GAS /tmp/cc0wMqvE.s page 291 6890 .loc 1 4349 29 view .LVU2255 6891 004a 23F00403 bic r3, r3, #4 6892 004e 9361 str r3, [r2, #24] 4350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6893 .loc 1 4350 7 is_stmt 1 view .LVU2256 4350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6894 .loc 1 4350 11 is_stmt 0 view .LVU2257 6895 0050 2268 ldr r2, [r4] 4350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6896 .loc 1 4350 21 view .LVU2258 6897 0052 9369 ldr r3, [r2, #24] 4350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6898 .loc 1 4350 39 view .LVU2259 6899 0054 2969 ldr r1, [r5, #16] 4350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6900 .loc 1 4350 29 view .LVU2260 6901 0056 0B43 orrs r3, r3, r1 6902 0058 9361 str r3, [r2, #24] 4351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6903 .loc 1 4351 7 is_stmt 1 view .LVU2261 4324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6904 .loc 1 4324 21 is_stmt 0 view .LVU2262 6905 005a 0020 movs r0, #0 4351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6906 .loc 1 4351 7 view .LVU2263 6907 005c 67E0 b .L430 6908 .LVL552: 6909 .L436: 4357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6910 .loc 1 4357 7 is_stmt 1 view .LVU2264 4360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6911 .loc 1 4360 7 view .LVU2265 6912 005e 0068 ldr r0, [r0] 6913 .LVL553: 4360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6914 .loc 1 4360 7 is_stmt 0 view .LVU2266 6915 0060 FFF7FEFF bl TIM_OC2_SetConfig 6916 .LVL554: 4363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6917 .loc 1 4363 7 is_stmt 1 view .LVU2267 4363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6918 .loc 1 4363 11 is_stmt 0 view .LVU2268 6919 0064 2268 ldr r2, [r4] 4363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6920 .loc 1 4363 21 view .LVU2269 6921 0066 9369 ldr r3, [r2, #24] 4363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6922 .loc 1 4363 29 view .LVU2270 6923 0068 43F40063 orr r3, r3, #2048 6924 006c 9361 str r3, [r2, #24] 4366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode << 8U; 6925 .loc 1 4366 7 is_stmt 1 view .LVU2271 4366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode << 8U; 6926 .loc 1 4366 11 is_stmt 0 view .LVU2272 6927 006e 2268 ldr r2, [r4] 4366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode << 8U; 6928 .loc 1 4366 21 view .LVU2273 ARM GAS /tmp/cc0wMqvE.s page 292 6929 0070 9369 ldr r3, [r2, #24] 4366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode << 8U; 6930 .loc 1 4366 29 view .LVU2274 6931 0072 23F48063 bic r3, r3, #1024 6932 0076 9361 str r3, [r2, #24] 4367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6933 .loc 1 4367 7 is_stmt 1 view .LVU2275 4367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6934 .loc 1 4367 11 is_stmt 0 view .LVU2276 6935 0078 2268 ldr r2, [r4] 4367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6936 .loc 1 4367 21 view .LVU2277 6937 007a 9369 ldr r3, [r2, #24] 4367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6938 .loc 1 4367 39 view .LVU2278 6939 007c 2969 ldr r1, [r5, #16] 4367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6940 .loc 1 4367 29 view .LVU2279 6941 007e 43EA0123 orr r3, r3, r1, lsl #8 6942 0082 9361 str r3, [r2, #24] 4368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6943 .loc 1 4368 7 is_stmt 1 view .LVU2280 4324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6944 .loc 1 4324 21 is_stmt 0 view .LVU2281 6945 0084 0020 movs r0, #0 4368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6946 .loc 1 4368 7 view .LVU2282 6947 0086 52E0 b .L430 6948 .LVL555: 6949 .L435: 4374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6950 .loc 1 4374 7 is_stmt 1 view .LVU2283 4377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6951 .loc 1 4377 7 view .LVU2284 6952 0088 0068 ldr r0, [r0] 6953 .LVL556: 4377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6954 .loc 1 4377 7 is_stmt 0 view .LVU2285 6955 008a FFF7FEFF bl TIM_OC3_SetConfig 6956 .LVL557: 4380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6957 .loc 1 4380 7 is_stmt 1 view .LVU2286 4380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6958 .loc 1 4380 11 is_stmt 0 view .LVU2287 6959 008e 2268 ldr r2, [r4] 4380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6960 .loc 1 4380 21 view .LVU2288 6961 0090 D369 ldr r3, [r2, #28] 4380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6962 .loc 1 4380 29 view .LVU2289 6963 0092 43F00803 orr r3, r3, #8 6964 0096 D361 str r3, [r2, #28] 4383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode; 6965 .loc 1 4383 7 is_stmt 1 view .LVU2290 4383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode; 6966 .loc 1 4383 11 is_stmt 0 view .LVU2291 6967 0098 2268 ldr r2, [r4] ARM GAS /tmp/cc0wMqvE.s page 293 4383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode; 6968 .loc 1 4383 21 view .LVU2292 6969 009a D369 ldr r3, [r2, #28] 4383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode; 6970 .loc 1 4383 29 view .LVU2293 6971 009c 23F00403 bic r3, r3, #4 6972 00a0 D361 str r3, [r2, #28] 4384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6973 .loc 1 4384 7 is_stmt 1 view .LVU2294 4384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6974 .loc 1 4384 11 is_stmt 0 view .LVU2295 6975 00a2 2268 ldr r2, [r4] 4384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6976 .loc 1 4384 21 view .LVU2296 6977 00a4 D369 ldr r3, [r2, #28] 4384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6978 .loc 1 4384 39 view .LVU2297 6979 00a6 2969 ldr r1, [r5, #16] 4384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6980 .loc 1 4384 29 view .LVU2298 6981 00a8 0B43 orrs r3, r3, r1 6982 00aa D361 str r3, [r2, #28] 4385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6983 .loc 1 4385 7 is_stmt 1 view .LVU2299 4324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6984 .loc 1 4324 21 is_stmt 0 view .LVU2300 6985 00ac 0020 movs r0, #0 4385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6986 .loc 1 4385 7 view .LVU2301 6987 00ae 3EE0 b .L430 6988 .LVL558: 6989 .L434: 4391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6990 .loc 1 4391 7 is_stmt 1 view .LVU2302 4394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6991 .loc 1 4394 7 view .LVU2303 6992 00b0 0068 ldr r0, [r0] 6993 .LVL559: 4394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6994 .loc 1 4394 7 is_stmt 0 view .LVU2304 6995 00b2 FFF7FEFF bl TIM_OC4_SetConfig 6996 .LVL560: 4397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6997 .loc 1 4397 7 is_stmt 1 view .LVU2305 4397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6998 .loc 1 4397 11 is_stmt 0 view .LVU2306 6999 00b6 2268 ldr r2, [r4] 4397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7000 .loc 1 4397 21 view .LVU2307 7001 00b8 D369 ldr r3, [r2, #28] 4397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7002 .loc 1 4397 29 view .LVU2308 7003 00ba 43F40063 orr r3, r3, #2048 7004 00be D361 str r3, [r2, #28] 4400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode << 8U; 7005 .loc 1 4400 7 is_stmt 1 view .LVU2309 4400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode << 8U; ARM GAS /tmp/cc0wMqvE.s page 294 7006 .loc 1 4400 11 is_stmt 0 view .LVU2310 7007 00c0 2268 ldr r2, [r4] 4400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode << 8U; 7008 .loc 1 4400 21 view .LVU2311 7009 00c2 D369 ldr r3, [r2, #28] 4400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode << 8U; 7010 .loc 1 4400 29 view .LVU2312 7011 00c4 23F48063 bic r3, r3, #1024 7012 00c8 D361 str r3, [r2, #28] 4401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7013 .loc 1 4401 7 is_stmt 1 view .LVU2313 4401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7014 .loc 1 4401 11 is_stmt 0 view .LVU2314 7015 00ca 2268 ldr r2, [r4] 4401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7016 .loc 1 4401 21 view .LVU2315 7017 00cc D369 ldr r3, [r2, #28] 4401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7018 .loc 1 4401 39 view .LVU2316 7019 00ce 2969 ldr r1, [r5, #16] 4401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7020 .loc 1 4401 29 view .LVU2317 7021 00d0 43EA0123 orr r3, r3, r1, lsl #8 7022 00d4 D361 str r3, [r2, #28] 4402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7023 .loc 1 4402 7 is_stmt 1 view .LVU2318 4324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7024 .loc 1 4324 21 is_stmt 0 view .LVU2319 7025 00d6 0020 movs r0, #0 4402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7026 .loc 1 4402 7 view .LVU2320 7027 00d8 29E0 b .L430 7028 .LVL561: 7029 .L433: 4408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7030 .loc 1 4408 7 is_stmt 1 view .LVU2321 4411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7031 .loc 1 4411 7 view .LVU2322 7032 00da 0068 ldr r0, [r0] 7033 .LVL562: 4411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7034 .loc 1 4411 7 is_stmt 0 view .LVU2323 7035 00dc FFF7FEFF bl TIM_OC5_SetConfig 7036 .LVL563: 4414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7037 .loc 1 4414 7 is_stmt 1 view .LVU2324 4414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7038 .loc 1 4414 11 is_stmt 0 view .LVU2325 7039 00e0 2268 ldr r2, [r4] 4414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7040 .loc 1 4414 21 view .LVU2326 7041 00e2 136D ldr r3, [r2, #80] 4414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7042 .loc 1 4414 29 view .LVU2327 7043 00e4 43F00803 orr r3, r3, #8 7044 00e8 1365 str r3, [r2, #80] 4417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode; ARM GAS /tmp/cc0wMqvE.s page 295 7045 .loc 1 4417 7 is_stmt 1 view .LVU2328 4417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode; 7046 .loc 1 4417 11 is_stmt 0 view .LVU2329 7047 00ea 2268 ldr r2, [r4] 4417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode; 7048 .loc 1 4417 21 view .LVU2330 7049 00ec 136D ldr r3, [r2, #80] 4417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode; 7050 .loc 1 4417 29 view .LVU2331 7051 00ee 23F00403 bic r3, r3, #4 7052 00f2 1365 str r3, [r2, #80] 4418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7053 .loc 1 4418 7 is_stmt 1 view .LVU2332 4418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7054 .loc 1 4418 11 is_stmt 0 view .LVU2333 7055 00f4 2268 ldr r2, [r4] 4418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7056 .loc 1 4418 21 view .LVU2334 7057 00f6 136D ldr r3, [r2, #80] 4418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7058 .loc 1 4418 39 view .LVU2335 7059 00f8 2969 ldr r1, [r5, #16] 4418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7060 .loc 1 4418 29 view .LVU2336 7061 00fa 0B43 orrs r3, r3, r1 7062 00fc 1365 str r3, [r2, #80] 4419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7063 .loc 1 4419 7 is_stmt 1 view .LVU2337 4324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7064 .loc 1 4324 21 is_stmt 0 view .LVU2338 7065 00fe 0020 movs r0, #0 4419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7066 .loc 1 4419 7 view .LVU2339 7067 0100 15E0 b .L430 7068 .LVL564: 7069 .L431: 4425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7070 .loc 1 4425 7 is_stmt 1 view .LVU2340 4428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7071 .loc 1 4428 7 view .LVU2341 7072 0102 0068 ldr r0, [r0] 7073 .LVL565: 4428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7074 .loc 1 4428 7 is_stmt 0 view .LVU2342 7075 0104 FFF7FEFF bl TIM_OC6_SetConfig 7076 .LVL566: 4431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7077 .loc 1 4431 7 is_stmt 1 view .LVU2343 4431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7078 .loc 1 4431 11 is_stmt 0 view .LVU2344 7079 0108 2268 ldr r2, [r4] 4431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7080 .loc 1 4431 21 view .LVU2345 7081 010a 136D ldr r3, [r2, #80] 4431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7082 .loc 1 4431 29 view .LVU2346 7083 010c 43F40063 orr r3, r3, #2048 ARM GAS /tmp/cc0wMqvE.s page 296 7084 0110 1365 str r3, [r2, #80] 4434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode << 8U; 7085 .loc 1 4434 7 is_stmt 1 view .LVU2347 4434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode << 8U; 7086 .loc 1 4434 11 is_stmt 0 view .LVU2348 7087 0112 2268 ldr r2, [r4] 4434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode << 8U; 7088 .loc 1 4434 21 view .LVU2349 7089 0114 136D ldr r3, [r2, #80] 4434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode << 8U; 7090 .loc 1 4434 29 view .LVU2350 7091 0116 23F48063 bic r3, r3, #1024 7092 011a 1365 str r3, [r2, #80] 4435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7093 .loc 1 4435 7 is_stmt 1 view .LVU2351 4435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7094 .loc 1 4435 11 is_stmt 0 view .LVU2352 7095 011c 2268 ldr r2, [r4] 4435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7096 .loc 1 4435 21 view .LVU2353 7097 011e 136D ldr r3, [r2, #80] 4435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7098 .loc 1 4435 39 view .LVU2354 7099 0120 2969 ldr r1, [r5, #16] 4435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7100 .loc 1 4435 29 view .LVU2355 7101 0122 43EA0123 orr r3, r3, r1, lsl #8 7102 0126 1365 str r3, [r2, #80] 4436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7103 .loc 1 4436 7 is_stmt 1 view .LVU2356 4324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7104 .loc 1 4324 21 is_stmt 0 view .LVU2357 7105 0128 0020 movs r0, #0 4436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7106 .loc 1 4436 7 view .LVU2358 7107 012a 00E0 b .L430 7108 .LVL567: 7109 .L439: 4335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7110 .loc 1 4335 3 view .LVU2359 7111 012c 0120 movs r0, #1 7112 .LVL568: 7113 .L430: 4444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7114 .loc 1 4444 3 is_stmt 1 view .LVU2360 4444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7115 .loc 1 4444 3 view .LVU2361 7116 012e 0023 movs r3, #0 7117 0130 84F83C30 strb r3, [r4, #60] 4444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7118 .loc 1 4444 3 view .LVU2362 4446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7119 .loc 1 4446 3 view .LVU2363 7120 .LVL569: 7121 .L429: 4447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7122 .loc 1 4447 1 is_stmt 0 view .LVU2364 ARM GAS /tmp/cc0wMqvE.s page 297 7123 0134 38BD pop {r3, r4, r5, pc} 7124 .LVL570: 7125 .L438: 4333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7126 .loc 1 4333 3 view .LVU2365 7127 0136 0220 movs r0, #2 7128 .LVL571: 4333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7129 .loc 1 4333 3 view .LVU2366 7130 0138 FCE7 b .L429 7131 .cfi_endproc 7132 .LFE390: 7134 .section .text.TIM_TI1_SetConfig,"ax",%progbits 7135 .align 1 7136 .global TIM_TI1_SetConfig 7137 .syntax unified 7138 .thumb 7139 .thumb_func 7141 TIM_TI1_SetConfig: 7142 .LVL572: 7143 .LFB441: 7714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr1; 7144 .loc 1 7714 1 is_stmt 1 view -0 7145 .cfi_startproc 7146 @ args = 0, pretend = 0, frame = 0 7147 @ frame_needed = 0, uses_anonymous_args = 0 7148 @ link register save eliminated. 7714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr1; 7149 .loc 1 7714 1 is_stmt 0 view .LVU2368 7150 0000 70B4 push {r4, r5, r6} 7151 .LCFI65: 7152 .cfi_def_cfa_offset 12 7153 .cfi_offset 4, -12 7154 .cfi_offset 5, -8 7155 .cfi_offset 6, -4 7156 0002 9446 mov ip, r2 7715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 7157 .loc 1 7715 3 is_stmt 1 view .LVU2369 7716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7158 .loc 1 7716 3 view .LVU2370 7719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = TIMx->CCMR1; 7159 .loc 1 7719 3 view .LVU2371 7719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = TIMx->CCMR1; 7160 .loc 1 7719 7 is_stmt 0 view .LVU2372 7161 0004 046A ldr r4, [r0, #32] 7719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = TIMx->CCMR1; 7162 .loc 1 7719 14 view .LVU2373 7163 0006 24F00104 bic r4, r4, #1 7164 000a 0462 str r4, [r0, #32] 7720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 7165 .loc 1 7720 3 is_stmt 1 view .LVU2374 7720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 7166 .loc 1 7720 12 is_stmt 0 view .LVU2375 7167 000c 8469 ldr r4, [r0, #24] 7168 .LVL573: 7721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7169 .loc 1 7721 3 is_stmt 1 view .LVU2376 ARM GAS /tmp/cc0wMqvE.s page 298 7721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7170 .loc 1 7721 11 is_stmt 0 view .LVU2377 7171 000e 066A ldr r6, [r0, #32] 7172 .LVL574: 7724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7173 .loc 1 7724 3 is_stmt 1 view .LVU2378 7724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7174 .loc 1 7724 7 is_stmt 0 view .LVU2379 7175 0010 144D ldr r5, .L445 7176 0012 A842 cmp r0, r5 7177 0014 14D0 beq .L442 7724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7178 .loc 1 7724 7 discriminator 2 view .LVU2380 7179 0016 B0F1804F cmp r0, #1073741824 7180 001a 11D0 beq .L442 7724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7181 .loc 1 7724 7 discriminator 4 view .LVU2381 7182 001c 124A ldr r2, .L445+4 7183 .LVL575: 7724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7184 .loc 1 7724 7 discriminator 4 view .LVU2382 7185 001e 9042 cmp r0, r2 7186 0020 0ED0 beq .L442 7724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7187 .loc 1 7724 7 discriminator 6 view .LVU2383 7188 0022 02F58062 add r2, r2, #1024 7189 0026 9042 cmp r0, r2 7190 0028 0AD0 beq .L442 7724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7191 .loc 1 7724 7 discriminator 8 view .LVU2384 7192 002a 02F59632 add r2, r2, #76800 7193 002e 9042 cmp r0, r2 7194 0030 06D0 beq .L442 7724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7195 .loc 1 7724 7 discriminator 10 view .LVU2385 7196 0032 02F54062 add r2, r2, #3072 7197 0036 9042 cmp r0, r2 7198 0038 02D0 beq .L442 7731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7199 .loc 1 7731 5 is_stmt 1 view .LVU2386 7731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7200 .loc 1 7731 14 is_stmt 0 view .LVU2387 7201 003a 44F00102 orr r2, r4, #1 7202 .LVL576: 7731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7203 .loc 1 7731 14 view .LVU2388 7204 003e 03E0 b .L443 7205 .LVL577: 7206 .L442: 7726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= TIM_ICSelection; 7207 .loc 1 7726 5 is_stmt 1 view .LVU2389 7726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= TIM_ICSelection; 7208 .loc 1 7726 14 is_stmt 0 view .LVU2390 7209 0040 24F00302 bic r2, r4, #3 7210 .LVL578: 7727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7211 .loc 1 7727 5 is_stmt 1 view .LVU2391 ARM GAS /tmp/cc0wMqvE.s page 299 7727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7212 .loc 1 7727 14 is_stmt 0 view .LVU2392 7213 0044 42EA0C02 orr r2, r2, ip 7214 .LVL579: 7215 .L443: 7735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= ((TIM_ICFilter << 4U) & TIM_CCMR1_IC1F); 7216 .loc 1 7735 3 is_stmt 1 view .LVU2393 7735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= ((TIM_ICFilter << 4U) & TIM_CCMR1_IC1F); 7217 .loc 1 7735 12 is_stmt 0 view .LVU2394 7218 0048 22F0F002 bic r2, r2, #240 7219 .LVL580: 7736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7220 .loc 1 7736 3 is_stmt 1 view .LVU2395 7736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7221 .loc 1 7736 30 is_stmt 0 view .LVU2396 7222 004c 1B01 lsls r3, r3, #4 7223 .LVL581: 7736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7224 .loc 1 7736 37 view .LVU2397 7225 004e DBB2 uxtb r3, r3 7736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7226 .loc 1 7736 12 view .LVU2398 7227 0050 1343 orrs r3, r3, r2 7228 .LVL582: 7739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (TIM_ICPolarity & (TIM_CCER_CC1P | TIM_CCER_CC1NP)); 7229 .loc 1 7739 3 is_stmt 1 view .LVU2399 7739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (TIM_ICPolarity & (TIM_CCER_CC1P | TIM_CCER_CC1NP)); 7230 .loc 1 7739 11 is_stmt 0 view .LVU2400 7231 0052 26F00A02 bic r2, r6, #10 7232 .LVL583: 7740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7233 .loc 1 7740 3 is_stmt 1 view .LVU2401 7740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7234 .loc 1 7740 30 is_stmt 0 view .LVU2402 7235 0056 01F00A01 and r1, r1, #10 7236 .LVL584: 7740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7237 .loc 1 7740 11 view .LVU2403 7238 005a 1143 orrs r1, r1, r2 7239 .LVL585: 7743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 7240 .loc 1 7743 3 is_stmt 1 view .LVU2404 7743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 7241 .loc 1 7743 15 is_stmt 0 view .LVU2405 7242 005c 8361 str r3, [r0, #24] 7744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7243 .loc 1 7744 3 is_stmt 1 view .LVU2406 7744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7244 .loc 1 7744 14 is_stmt 0 view .LVU2407 7245 005e 0162 str r1, [r0, #32] 7745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7246 .loc 1 7745 1 view .LVU2408 7247 0060 70BC pop {r4, r5, r6} 7248 .LCFI66: 7249 .cfi_restore 6 7250 .cfi_restore 5 7251 .cfi_restore 4 ARM GAS /tmp/cc0wMqvE.s page 300 7252 .cfi_def_cfa_offset 0 7253 0062 7047 bx lr 7254 .L446: 7255 .align 2 7256 .L445: 7257 0064 002C0140 .word 1073818624 7258 0068 00040040 .word 1073742848 7259 .cfi_endproc 7260 .LFE441: 7262 .section .text.HAL_TIM_IC_ConfigChannel,"ax",%progbits 7263 .align 1 7264 .global HAL_TIM_IC_ConfigChannel 7265 .syntax unified 7266 .thumb 7267 .thumb_func 7269 HAL_TIM_IC_ConfigChannel: 7270 .LVL586: 7271 .LFB389: 4220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 7272 .loc 1 4220 1 is_stmt 1 view -0 7273 .cfi_startproc 7274 @ args = 0, pretend = 0, frame = 0 7275 @ frame_needed = 0, uses_anonymous_args = 0 4220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 7276 .loc 1 4220 1 is_stmt 0 view .LVU2410 7277 0000 38B5 push {r3, r4, r5, lr} 7278 .LCFI67: 7279 .cfi_def_cfa_offset 16 7280 .cfi_offset 3, -16 7281 .cfi_offset 4, -12 7282 .cfi_offset 5, -8 7283 .cfi_offset 14, -4 4221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7284 .loc 1 4221 3 is_stmt 1 view .LVU2411 7285 .LVL587: 4224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_POLARITY(sConfig->ICPolarity)); 7286 .loc 1 4224 3 view .LVU2412 4225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_SELECTION(sConfig->ICSelection)); 7287 .loc 1 4225 3 view .LVU2413 4226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->ICPrescaler)); 7288 .loc 1 4226 3 view .LVU2414 4227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_FILTER(sConfig->ICFilter)); 7289 .loc 1 4227 3 view .LVU2415 4228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7290 .loc 1 4228 3 view .LVU2416 4231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7291 .loc 1 4231 3 view .LVU2417 4231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7292 .loc 1 4231 3 view .LVU2418 7293 0002 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 7294 0006 012B cmp r3, #1 7295 0008 5AD0 beq .L453 7296 000a 0446 mov r4, r0 7297 000c 0D46 mov r5, r1 4231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7298 .loc 1 4231 3 discriminator 2 view .LVU2419 7299 000e 0123 movs r3, #1 ARM GAS /tmp/cc0wMqvE.s page 301 7300 0010 80F83C30 strb r3, [r0, #60] 4231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7301 .loc 1 4231 3 discriminator 2 view .LVU2420 4233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7302 .loc 1 4233 3 discriminator 2 view .LVU2421 4233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7303 .loc 1 4233 6 is_stmt 0 discriminator 2 view .LVU2422 7304 0014 52B1 cbz r2, .L456 4247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7305 .loc 1 4247 8 is_stmt 1 view .LVU2423 4247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7306 .loc 1 4247 11 is_stmt 0 view .LVU2424 7307 0016 042A cmp r2, #4 7308 0018 1AD0 beq .L457 4263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7309 .loc 1 4263 8 is_stmt 1 view .LVU2425 4263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7310 .loc 1 4263 11 is_stmt 0 view .LVU2426 7311 001a 082A cmp r2, #8 7312 001c 2BD0 beq .L458 4279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7313 .loc 1 4279 8 is_stmt 1 view .LVU2427 4279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7314 .loc 1 4279 11 is_stmt 0 view .LVU2428 7315 001e 0C2A cmp r2, #12 7316 0020 3BD0 beq .L459 4297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7317 .loc 1 4297 12 view .LVU2429 7318 0022 0120 movs r0, #1 7319 .LVL588: 7320 .L450: 4300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7321 .loc 1 4300 3 is_stmt 1 view .LVU2430 4300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7322 .loc 1 4300 3 view .LVU2431 7323 0024 0023 movs r3, #0 7324 0026 84F83C30 strb r3, [r4, #60] 4300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7325 .loc 1 4300 3 view .LVU2432 4302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7326 .loc 1 4302 3 view .LVU2433 7327 .LVL589: 7328 .L448: 4303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7329 .loc 1 4303 1 is_stmt 0 view .LVU2434 7330 002a 38BD pop {r3, r4, r5, pc} 7331 .LVL590: 7332 .L456: 4236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7333 .loc 1 4236 5 is_stmt 1 view .LVU2435 7334 002c CB68 ldr r3, [r1, #12] 7335 002e 4A68 ldr r2, [r1, #4] 7336 .LVL591: 4236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7337 .loc 1 4236 5 is_stmt 0 view .LVU2436 7338 0030 0968 ldr r1, [r1] 7339 .LVL592: ARM GAS /tmp/cc0wMqvE.s page 302 4236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7340 .loc 1 4236 5 view .LVU2437 7341 0032 0068 ldr r0, [r0] 7342 .LVL593: 4236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7343 .loc 1 4236 5 view .LVU2438 7344 0034 FFF7FEFF bl TIM_TI1_SetConfig 7345 .LVL594: 4242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7346 .loc 1 4242 5 is_stmt 1 view .LVU2439 4242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7347 .loc 1 4242 9 is_stmt 0 view .LVU2440 7348 0038 2268 ldr r2, [r4] 4242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7349 .loc 1 4242 19 view .LVU2441 7350 003a 9369 ldr r3, [r2, #24] 4242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7351 .loc 1 4242 27 view .LVU2442 7352 003c 23F00C03 bic r3, r3, #12 7353 0040 9361 str r3, [r2, #24] 4245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7354 .loc 1 4245 5 is_stmt 1 view .LVU2443 4245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7355 .loc 1 4245 9 is_stmt 0 view .LVU2444 7356 0042 2268 ldr r2, [r4] 4245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7357 .loc 1 4245 19 view .LVU2445 7358 0044 9369 ldr r3, [r2, #24] 4245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7359 .loc 1 4245 37 view .LVU2446 7360 0046 A968 ldr r1, [r5, #8] 4245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7361 .loc 1 4245 27 view .LVU2447 7362 0048 0B43 orrs r3, r3, r1 7363 004a 9361 str r3, [r2, #24] 4221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7364 .loc 1 4221 21 view .LVU2448 7365 004c 0020 movs r0, #0 7366 004e E9E7 b .L450 7367 .LVL595: 7368 .L457: 4250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7369 .loc 1 4250 5 is_stmt 1 view .LVU2449 4252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7370 .loc 1 4252 5 view .LVU2450 7371 0050 CB68 ldr r3, [r1, #12] 7372 0052 4A68 ldr r2, [r1, #4] 7373 .LVL596: 4252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7374 .loc 1 4252 5 is_stmt 0 view .LVU2451 7375 0054 0968 ldr r1, [r1] 7376 .LVL597: 4252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7377 .loc 1 4252 5 view .LVU2452 7378 0056 0068 ldr r0, [r0] 7379 .LVL598: 4252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, ARM GAS /tmp/cc0wMqvE.s page 303 7380 .loc 1 4252 5 view .LVU2453 7381 0058 FFF7FEFF bl TIM_TI2_SetConfig 7382 .LVL599: 4258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7383 .loc 1 4258 5 is_stmt 1 view .LVU2454 4258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7384 .loc 1 4258 9 is_stmt 0 view .LVU2455 7385 005c 2268 ldr r2, [r4] 4258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7386 .loc 1 4258 19 view .LVU2456 7387 005e 9369 ldr r3, [r2, #24] 4258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7388 .loc 1 4258 27 view .LVU2457 7389 0060 23F44063 bic r3, r3, #3072 7390 0064 9361 str r3, [r2, #24] 4261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7391 .loc 1 4261 5 is_stmt 1 view .LVU2458 4261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7392 .loc 1 4261 9 is_stmt 0 view .LVU2459 7393 0066 2268 ldr r2, [r4] 4261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7394 .loc 1 4261 19 view .LVU2460 7395 0068 9369 ldr r3, [r2, #24] 4261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7396 .loc 1 4261 38 view .LVU2461 7397 006a A968 ldr r1, [r5, #8] 4261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7398 .loc 1 4261 27 view .LVU2462 7399 006c 43EA0123 orr r3, r3, r1, lsl #8 7400 0070 9361 str r3, [r2, #24] 4221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7401 .loc 1 4221 21 view .LVU2463 7402 0072 0020 movs r0, #0 7403 0074 D6E7 b .L450 7404 .LVL600: 7405 .L458: 4266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7406 .loc 1 4266 5 is_stmt 1 view .LVU2464 4268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7407 .loc 1 4268 5 view .LVU2465 7408 0076 CB68 ldr r3, [r1, #12] 7409 0078 4A68 ldr r2, [r1, #4] 7410 .LVL601: 4268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7411 .loc 1 4268 5 is_stmt 0 view .LVU2466 7412 007a 0968 ldr r1, [r1] 7413 .LVL602: 4268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7414 .loc 1 4268 5 view .LVU2467 7415 007c 0068 ldr r0, [r0] 7416 .LVL603: 4268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7417 .loc 1 4268 5 view .LVU2468 7418 007e FFF7FEFF bl TIM_TI3_SetConfig 7419 .LVL604: 4274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7420 .loc 1 4274 5 is_stmt 1 view .LVU2469 ARM GAS /tmp/cc0wMqvE.s page 304 4274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7421 .loc 1 4274 9 is_stmt 0 view .LVU2470 7422 0082 2268 ldr r2, [r4] 4274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7423 .loc 1 4274 19 view .LVU2471 7424 0084 D369 ldr r3, [r2, #28] 4274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7425 .loc 1 4274 27 view .LVU2472 7426 0086 23F00C03 bic r3, r3, #12 7427 008a D361 str r3, [r2, #28] 4277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7428 .loc 1 4277 5 is_stmt 1 view .LVU2473 4277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7429 .loc 1 4277 9 is_stmt 0 view .LVU2474 7430 008c 2268 ldr r2, [r4] 4277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7431 .loc 1 4277 19 view .LVU2475 7432 008e D369 ldr r3, [r2, #28] 4277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7433 .loc 1 4277 37 view .LVU2476 7434 0090 A968 ldr r1, [r5, #8] 4277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7435 .loc 1 4277 27 view .LVU2477 7436 0092 0B43 orrs r3, r3, r1 7437 0094 D361 str r3, [r2, #28] 4221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7438 .loc 1 4221 21 view .LVU2478 7439 0096 0020 movs r0, #0 7440 0098 C4E7 b .L450 7441 .LVL605: 7442 .L459: 4282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7443 .loc 1 4282 5 is_stmt 1 view .LVU2479 4284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7444 .loc 1 4284 5 view .LVU2480 7445 009a CB68 ldr r3, [r1, #12] 7446 009c 4A68 ldr r2, [r1, #4] 7447 .LVL606: 4284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7448 .loc 1 4284 5 is_stmt 0 view .LVU2481 7449 009e 0968 ldr r1, [r1] 7450 .LVL607: 4284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7451 .loc 1 4284 5 view .LVU2482 7452 00a0 0068 ldr r0, [r0] 7453 .LVL608: 4284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7454 .loc 1 4284 5 view .LVU2483 7455 00a2 FFF7FEFF bl TIM_TI4_SetConfig 7456 .LVL609: 4290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7457 .loc 1 4290 5 is_stmt 1 view .LVU2484 4290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7458 .loc 1 4290 9 is_stmt 0 view .LVU2485 7459 00a6 2268 ldr r2, [r4] 4290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7460 .loc 1 4290 19 view .LVU2486 ARM GAS /tmp/cc0wMqvE.s page 305 7461 00a8 D369 ldr r3, [r2, #28] 4290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7462 .loc 1 4290 27 view .LVU2487 7463 00aa 23F44063 bic r3, r3, #3072 7464 00ae D361 str r3, [r2, #28] 4293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7465 .loc 1 4293 5 is_stmt 1 view .LVU2488 4293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7466 .loc 1 4293 9 is_stmt 0 view .LVU2489 7467 00b0 2268 ldr r2, [r4] 4293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7468 .loc 1 4293 19 view .LVU2490 7469 00b2 D369 ldr r3, [r2, #28] 4293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7470 .loc 1 4293 38 view .LVU2491 7471 00b4 A968 ldr r1, [r5, #8] 4293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7472 .loc 1 4293 27 view .LVU2492 7473 00b6 43EA0123 orr r3, r3, r1, lsl #8 7474 00ba D361 str r3, [r2, #28] 4221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7475 .loc 1 4221 21 view .LVU2493 7476 00bc 0020 movs r0, #0 7477 00be B1E7 b .L450 7478 .LVL610: 7479 .L453: 4231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7480 .loc 1 4231 3 view .LVU2494 7481 00c0 0220 movs r0, #2 7482 .LVL611: 4231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7483 .loc 1 4231 3 view .LVU2495 7484 00c2 B2E7 b .L448 7485 .cfi_endproc 7486 .LFE389: 7488 .section .text.HAL_TIM_OnePulse_ConfigChannel,"ax",%progbits 7489 .align 1 7490 .global HAL_TIM_OnePulse_ConfigChannel 7491 .syntax unified 7492 .thumb 7493 .thumb_func 7495 HAL_TIM_OnePulse_ConfigChannel: 7496 .LVL612: 7497 .LFB391: 4470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 7498 .loc 1 4470 1 is_stmt 1 view -0 7499 .cfi_startproc 7500 @ args = 0, pretend = 0, frame = 32 7501 @ frame_needed = 0, uses_anonymous_args = 0 4471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC_InitTypeDef temp1; 7502 .loc 1 4471 3 view .LVU2497 4472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7503 .loc 1 4472 3 view .LVU2498 4475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OPM_CHANNELS(InputChannel)); 7504 .loc 1 4475 3 view .LVU2499 4476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7505 .loc 1 4476 3 view .LVU2500 ARM GAS /tmp/cc0wMqvE.s page 306 4478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7506 .loc 1 4478 3 view .LVU2501 4478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7507 .loc 1 4478 6 is_stmt 0 view .LVU2502 7508 0000 9A42 cmp r2, r3 7509 0002 7ED0 beq .L468 4470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 7510 .loc 1 4470 1 view .LVU2503 7511 0004 70B5 push {r4, r5, r6, lr} 7512 .LCFI68: 7513 .cfi_def_cfa_offset 16 7514 .cfi_offset 4, -16 7515 .cfi_offset 5, -12 7516 .cfi_offset 6, -8 7517 .cfi_offset 14, -4 7518 0006 88B0 sub sp, sp, #32 7519 .LCFI69: 7520 .cfi_def_cfa_offset 48 7521 0008 0446 mov r4, r0 7522 000a 0D46 mov r5, r1 7523 000c 1E46 mov r6, r3 4481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7524 .loc 1 4481 5 is_stmt 1 view .LVU2504 4481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7525 .loc 1 4481 5 view .LVU2505 7526 000e 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 7527 .LVL613: 4481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7528 .loc 1 4481 5 is_stmt 0 view .LVU2506 7529 0012 012B cmp r3, #1 7530 0014 77D0 beq .L469 4481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7531 .loc 1 4481 5 is_stmt 1 discriminator 2 view .LVU2507 7532 0016 0123 movs r3, #1 7533 0018 80F83C30 strb r3, [r0, #60] 4481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7534 .loc 1 4481 5 discriminator 2 view .LVU2508 4483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7535 .loc 1 4483 5 discriminator 2 view .LVU2509 4483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7536 .loc 1 4483 17 is_stmt 0 discriminator 2 view .LVU2510 7537 001c 0223 movs r3, #2 7538 001e 80F83D30 strb r3, [r0, #61] 4486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.Pulse = sConfig->Pulse; 7539 .loc 1 4486 5 is_stmt 1 discriminator 2 view .LVU2511 4486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.Pulse = sConfig->Pulse; 7540 .loc 1 4486 27 is_stmt 0 discriminator 2 view .LVU2512 7541 0022 0B68 ldr r3, [r1] 4486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.Pulse = sConfig->Pulse; 7542 .loc 1 4486 18 discriminator 2 view .LVU2513 7543 0024 0193 str r3, [sp, #4] 4487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCPolarity = sConfig->OCPolarity; 7544 .loc 1 4487 5 is_stmt 1 discriminator 2 view .LVU2514 4487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCPolarity = sConfig->OCPolarity; 7545 .loc 1 4487 26 is_stmt 0 discriminator 2 view .LVU2515 7546 0026 4B68 ldr r3, [r1, #4] 4487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCPolarity = sConfig->OCPolarity; ARM GAS /tmp/cc0wMqvE.s page 307 7547 .loc 1 4487 17 discriminator 2 view .LVU2516 7548 0028 0293 str r3, [sp, #8] 4488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCNPolarity = sConfig->OCNPolarity; 7549 .loc 1 4488 5 is_stmt 1 discriminator 2 view .LVU2517 4488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCNPolarity = sConfig->OCNPolarity; 7550 .loc 1 4488 31 is_stmt 0 discriminator 2 view .LVU2518 7551 002a 8B68 ldr r3, [r1, #8] 4488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCNPolarity = sConfig->OCNPolarity; 7552 .loc 1 4488 22 discriminator 2 view .LVU2519 7553 002c 0393 str r3, [sp, #12] 4489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCIdleState = sConfig->OCIdleState; 7554 .loc 1 4489 5 is_stmt 1 discriminator 2 view .LVU2520 4489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCIdleState = sConfig->OCIdleState; 7555 .loc 1 4489 32 is_stmt 0 discriminator 2 view .LVU2521 7556 002e CB68 ldr r3, [r1, #12] 4489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCIdleState = sConfig->OCIdleState; 7557 .loc 1 4489 23 discriminator 2 view .LVU2522 7558 0030 0493 str r3, [sp, #16] 4490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCNIdleState = sConfig->OCNIdleState; 7559 .loc 1 4490 5 is_stmt 1 discriminator 2 view .LVU2523 4490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCNIdleState = sConfig->OCNIdleState; 7560 .loc 1 4490 32 is_stmt 0 discriminator 2 view .LVU2524 7561 0032 0B69 ldr r3, [r1, #16] 4490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCNIdleState = sConfig->OCNIdleState; 7562 .loc 1 4490 23 discriminator 2 view .LVU2525 7563 0034 0693 str r3, [sp, #24] 4491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7564 .loc 1 4491 5 is_stmt 1 discriminator 2 view .LVU2526 4491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7565 .loc 1 4491 33 is_stmt 0 discriminator 2 view .LVU2527 7566 0036 4B69 ldr r3, [r1, #20] 4491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7567 .loc 1 4491 24 discriminator 2 view .LVU2528 7568 0038 0793 str r3, [sp, #28] 4493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7569 .loc 1 4493 5 is_stmt 1 discriminator 2 view .LVU2529 7570 003a 52B1 cbz r2, .L462 4493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7571 .loc 1 4493 5 is_stmt 0 view .LVU2530 7572 003c 042A cmp r2, #4 7573 003e 11D0 beq .L463 7574 0040 0120 movs r0, #1 7575 .LVL614: 7576 .L464: 4566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7577 .loc 1 4566 5 is_stmt 1 view .LVU2531 4566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7578 .loc 1 4566 17 is_stmt 0 view .LVU2532 7579 0042 0123 movs r3, #1 7580 0044 84F83D30 strb r3, [r4, #61] 4568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7581 .loc 1 4568 5 is_stmt 1 view .LVU2533 4568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7582 .loc 1 4568 5 view .LVU2534 7583 0048 0023 movs r3, #0 7584 004a 84F83C30 strb r3, [r4, #60] 4568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 308 7585 .loc 1 4568 5 view .LVU2535 4570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7586 .loc 1 4570 5 view .LVU2536 7587 .LVL615: 7588 .L461: 4576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7589 .loc 1 4576 1 is_stmt 0 view .LVU2537 7590 004e 08B0 add sp, sp, #32 7591 .LCFI70: 7592 .cfi_remember_state 7593 .cfi_def_cfa_offset 16 7594 @ sp needed 7595 0050 70BD pop {r4, r5, r6, pc} 7596 .LVL616: 7597 .L462: 7598 .LCFI71: 7599 .cfi_restore_state 4497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7600 .loc 1 4497 9 is_stmt 1 view .LVU2538 4499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7601 .loc 1 4499 9 view .LVU2539 7602 0052 01A9 add r1, sp, #4 7603 .LVL617: 4499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7604 .loc 1 4499 9 is_stmt 0 view .LVU2540 7605 0054 0068 ldr r0, [r0] 7606 .LVL618: 4499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7607 .loc 1 4499 9 view .LVU2541 7608 0056 FFF7FEFF bl TIM_OC1_SetConfig 7609 .LVL619: 4500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7610 .loc 1 4500 9 is_stmt 1 view .LVU2542 4516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7611 .loc 1 4516 5 view .LVU2543 7612 .L465: 4518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7613 .loc 1 4518 7 view .LVU2544 7614 005a 46B1 cbz r6, .L466 7615 005c 042E cmp r6, #4 7616 005e 2BD0 beq .L467 7617 0060 0120 movs r0, #1 7618 0062 EEE7 b .L464 7619 .LVL620: 7620 .L463: 4505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7621 .loc 1 4505 9 view .LVU2545 4507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7622 .loc 1 4507 9 view .LVU2546 7623 0064 01A9 add r1, sp, #4 7624 .LVL621: 4507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7625 .loc 1 4507 9 is_stmt 0 view .LVU2547 7626 0066 0068 ldr r0, [r0] 7627 .LVL622: 4507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7628 .loc 1 4507 9 view .LVU2548 ARM GAS /tmp/cc0wMqvE.s page 309 7629 0068 FFF7FEFF bl TIM_OC2_SetConfig 7630 .LVL623: 4508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7631 .loc 1 4508 9 is_stmt 1 view .LVU2549 4516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7632 .loc 1 4516 5 view .LVU2550 7633 006c F5E7 b .L465 7634 .L466: 4522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7635 .loc 1 4522 11 view .LVU2551 4524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICSelection, sConfig->ICFilter); 7636 .loc 1 4524 11 view .LVU2552 7637 006e 2B6A ldr r3, [r5, #32] 7638 0070 EA69 ldr r2, [r5, #28] 7639 0072 A969 ldr r1, [r5, #24] 7640 0074 2068 ldr r0, [r4] 7641 0076 FFF7FEFF bl TIM_TI1_SetConfig 7642 .LVL624: 4528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7643 .loc 1 4528 11 view .LVU2553 4528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7644 .loc 1 4528 15 is_stmt 0 view .LVU2554 7645 007a 2268 ldr r2, [r4] 4528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7646 .loc 1 4528 25 view .LVU2555 7647 007c 9369 ldr r3, [r2, #24] 4528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7648 .loc 1 4528 33 view .LVU2556 7649 007e 23F00C03 bic r3, r3, #12 7650 0082 9361 str r3, [r2, #24] 4531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI1FP1; 7651 .loc 1 4531 11 is_stmt 1 view .LVU2557 4531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI1FP1; 7652 .loc 1 4531 15 is_stmt 0 view .LVU2558 7653 0084 2268 ldr r2, [r4] 4531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI1FP1; 7654 .loc 1 4531 25 view .LVU2559 7655 0086 9368 ldr r3, [r2, #8] 4531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI1FP1; 7656 .loc 1 4531 32 view .LVU2560 7657 0088 23F44013 bic r3, r3, #3145728 7658 008c 23F07003 bic r3, r3, #112 7659 0090 9360 str r3, [r2, #8] 4532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7660 .loc 1 4532 11 is_stmt 1 view .LVU2561 4532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7661 .loc 1 4532 15 is_stmt 0 view .LVU2562 7662 0092 2268 ldr r2, [r4] 4532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7663 .loc 1 4532 25 view .LVU2563 7664 0094 9368 ldr r3, [r2, #8] 4532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7665 .loc 1 4532 32 view .LVU2564 7666 0096 43F05003 orr r3, r3, #80 7667 009a 9360 str r3, [r2, #8] 4535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 7668 .loc 1 4535 11 is_stmt 1 view .LVU2565 ARM GAS /tmp/cc0wMqvE.s page 310 4535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 7669 .loc 1 4535 15 is_stmt 0 view .LVU2566 7670 009c 2268 ldr r2, [r4] 4535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 7671 .loc 1 4535 25 view .LVU2567 7672 009e 9368 ldr r3, [r2, #8] 4535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 7673 .loc 1 4535 32 view .LVU2568 7674 00a0 23F48033 bic r3, r3, #65536 7675 00a4 23F00703 bic r3, r3, #7 7676 00a8 9360 str r3, [r2, #8] 4536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7677 .loc 1 4536 11 is_stmt 1 view .LVU2569 4536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7678 .loc 1 4536 15 is_stmt 0 view .LVU2570 7679 00aa 2268 ldr r2, [r4] 4536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7680 .loc 1 4536 25 view .LVU2571 7681 00ac 9368 ldr r3, [r2, #8] 4536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7682 .loc 1 4536 32 view .LVU2572 7683 00ae 43F00603 orr r3, r3, #6 7684 00b2 9360 str r3, [r2, #8] 4537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7685 .loc 1 4537 11 is_stmt 1 view .LVU2573 7686 00b4 0020 movs r0, #0 7687 00b6 C4E7 b .L464 7688 .L467: 4542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7689 .loc 1 4542 11 view .LVU2574 4544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICSelection, sConfig->ICFilter); 7690 .loc 1 4544 11 view .LVU2575 7691 00b8 2B6A ldr r3, [r5, #32] 7692 00ba EA69 ldr r2, [r5, #28] 7693 00bc A969 ldr r1, [r5, #24] 7694 00be 2068 ldr r0, [r4] 7695 00c0 FFF7FEFF bl TIM_TI2_SetConfig 7696 .LVL625: 4548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7697 .loc 1 4548 11 view .LVU2576 4548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7698 .loc 1 4548 15 is_stmt 0 view .LVU2577 7699 00c4 2268 ldr r2, [r4] 4548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7700 .loc 1 4548 25 view .LVU2578 7701 00c6 9369 ldr r3, [r2, #24] 4548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7702 .loc 1 4548 33 view .LVU2579 7703 00c8 23F44063 bic r3, r3, #3072 7704 00cc 9361 str r3, [r2, #24] 4551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI2FP2; 7705 .loc 1 4551 11 is_stmt 1 view .LVU2580 4551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI2FP2; 7706 .loc 1 4551 15 is_stmt 0 view .LVU2581 7707 00ce 2268 ldr r2, [r4] 4551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI2FP2; 7708 .loc 1 4551 25 view .LVU2582 ARM GAS /tmp/cc0wMqvE.s page 311 7709 00d0 9368 ldr r3, [r2, #8] 4551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI2FP2; 7710 .loc 1 4551 32 view .LVU2583 7711 00d2 23F44013 bic r3, r3, #3145728 7712 00d6 23F07003 bic r3, r3, #112 7713 00da 9360 str r3, [r2, #8] 4552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7714 .loc 1 4552 11 is_stmt 1 view .LVU2584 4552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7715 .loc 1 4552 15 is_stmt 0 view .LVU2585 7716 00dc 2268 ldr r2, [r4] 4552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7717 .loc 1 4552 25 view .LVU2586 7718 00de 9368 ldr r3, [r2, #8] 4552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7719 .loc 1 4552 32 view .LVU2587 7720 00e0 43F06003 orr r3, r3, #96 7721 00e4 9360 str r3, [r2, #8] 4555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 7722 .loc 1 4555 11 is_stmt 1 view .LVU2588 4555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 7723 .loc 1 4555 15 is_stmt 0 view .LVU2589 7724 00e6 2268 ldr r2, [r4] 4555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 7725 .loc 1 4555 25 view .LVU2590 7726 00e8 9368 ldr r3, [r2, #8] 4555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 7727 .loc 1 4555 32 view .LVU2591 7728 00ea 23F48033 bic r3, r3, #65536 7729 00ee 23F00703 bic r3, r3, #7 7730 00f2 9360 str r3, [r2, #8] 4556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7731 .loc 1 4556 11 is_stmt 1 view .LVU2592 4556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7732 .loc 1 4556 15 is_stmt 0 view .LVU2593 7733 00f4 2268 ldr r2, [r4] 4556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7734 .loc 1 4556 25 view .LVU2594 7735 00f6 9368 ldr r3, [r2, #8] 4556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7736 .loc 1 4556 32 view .LVU2595 7737 00f8 43F00603 orr r3, r3, #6 7738 00fc 9360 str r3, [r2, #8] 4557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7739 .loc 1 4557 11 is_stmt 1 view .LVU2596 7740 00fe 0020 movs r0, #0 7741 0100 9FE7 b .L464 7742 .LVL626: 7743 .L468: 7744 .LCFI72: 7745 .cfi_def_cfa_offset 0 7746 .cfi_restore 4 7747 .cfi_restore 5 7748 .cfi_restore 6 7749 .cfi_restore 14 4574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7750 .loc 1 4574 12 is_stmt 0 view .LVU2597 ARM GAS /tmp/cc0wMqvE.s page 312 7751 0102 0120 movs r0, #1 7752 .LVL627: 4576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7753 .loc 1 4576 1 view .LVU2598 7754 0104 7047 bx lr 7755 .LVL628: 7756 .L469: 7757 .LCFI73: 7758 .cfi_def_cfa_offset 48 7759 .cfi_offset 4, -16 7760 .cfi_offset 5, -12 7761 .cfi_offset 6, -8 7762 .cfi_offset 14, -4 4481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7763 .loc 1 4481 5 view .LVU2599 7764 0106 0220 movs r0, #2 7765 .LVL629: 4481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7766 .loc 1 4481 5 view .LVU2600 7767 0108 A1E7 b .L461 7768 .cfi_endproc 7769 .LFE391: 7771 .section .text.TIM_ETR_SetConfig,"ax",%progbits 7772 .align 1 7773 .global TIM_ETR_SetConfig 7774 .syntax unified 7775 .thumb 7776 .thumb_func 7778 TIM_ETR_SetConfig: 7779 .LVL630: 7780 .LFB448: 8000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 8001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configures the TIMx External Trigger (ETR). 8002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral 8003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ExtTRGPrescaler The external Trigger Prescaler. 8004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 8005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ETRPRESCALER_DIV1: ETRP Prescaler OFF. 8006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ETRPRESCALER_DIV2: ETRP frequency divided by 2. 8007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ETRPRESCALER_DIV4: ETRP frequency divided by 4. 8008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ETRPRESCALER_DIV8: ETRP frequency divided by 8. 8009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ExtTRGPolarity The external Trigger Polarity. 8010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 8011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ETRPOLARITY_INVERTED: active low or falling edge active. 8012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ETRPOLARITY_NONINVERTED: active high or rising edge active. 8013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param ExtTRGFilter External Trigger Filter. 8014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter must be a value between 0x00 and 0x0F 8015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 8016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 8017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** void TIM_ETR_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ExtTRGPrescaler, 8018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t TIM_ExtTRGPolarity, uint32_t ExtTRGFilter) 8019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7781 .loc 1 8019 1 is_stmt 1 view -0 7782 .cfi_startproc 7783 @ args = 0, pretend = 0, frame = 0 7784 @ frame_needed = 0, uses_anonymous_args = 0 7785 @ link register save eliminated. 7786 .loc 1 8019 1 is_stmt 0 view .LVU2602 ARM GAS /tmp/cc0wMqvE.s page 313 7787 0000 10B4 push {r4} 7788 .LCFI74: 7789 .cfi_def_cfa_offset 4 7790 .cfi_offset 4, -4 8020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 7791 .loc 1 8020 3 is_stmt 1 view .LVU2603 8021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = TIMx->SMCR; 7792 .loc 1 8022 3 view .LVU2604 7793 .loc 1 8022 11 is_stmt 0 view .LVU2605 7794 0002 8468 ldr r4, [r0, #8] 7795 .LVL631: 8023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the ETR Bits */ 8025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr &= ~(TIM_SMCR_ETF | TIM_SMCR_ETPS | TIM_SMCR_ECE | TIM_SMCR_ETP); 7796 .loc 1 8025 3 is_stmt 1 view .LVU2606 7797 .loc 1 8025 11 is_stmt 0 view .LVU2607 7798 0004 24F47F4C bic ip, r4, #65280 7799 .LVL632: 8026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Prescaler, the Filter value and the Polarity */ 8028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr |= (uint32_t)(TIM_ExtTRGPrescaler | (TIM_ExtTRGPolarity | (ExtTRGFilter << 8U))); 7800 .loc 1 8028 3 is_stmt 1 view .LVU2608 7801 .loc 1 8028 67 is_stmt 0 view .LVU2609 7802 0008 42EA0322 orr r2, r2, r3, lsl #8 7803 .LVL633: 7804 .loc 1 8028 45 view .LVU2610 7805 000c 0A43 orrs r2, r2, r1 7806 .loc 1 8028 11 view .LVU2611 7807 000e 42EA0C02 orr r2, r2, ip 7808 .LVL634: 8029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx SMCR */ 8031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->SMCR = tmpsmcr; 7809 .loc 1 8031 3 is_stmt 1 view .LVU2612 7810 .loc 1 8031 14 is_stmt 0 view .LVU2613 7811 0012 8260 str r2, [r0, #8] 8032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7812 .loc 1 8032 1 view .LVU2614 7813 0014 5DF8044B ldr r4, [sp], #4 7814 .LCFI75: 7815 .cfi_restore 4 7816 .cfi_def_cfa_offset 0 7817 0018 7047 bx lr 7818 .cfi_endproc 7819 .LFE448: 7821 .section .text.HAL_TIM_ConfigOCrefClear,"ax",%progbits 7822 .align 1 7823 .global HAL_TIM_ConfigOCrefClear 7824 .syntax unified 7825 .thumb 7826 .thumb_func 7828 HAL_TIM_ConfigOCrefClear: 7829 .LVL635: 7830 .LFB399: 5350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 7831 .loc 1 5350 1 is_stmt 1 view -0 ARM GAS /tmp/cc0wMqvE.s page 314 7832 .cfi_startproc 7833 @ args = 0, pretend = 0, frame = 0 7834 @ frame_needed = 0, uses_anonymous_args = 0 5351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7835 .loc 1 5351 3 view .LVU2616 5354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLEARINPUT_SOURCE(sClearInputConfig->ClearInputSource)); 7836 .loc 1 5354 3 view .LVU2617 5355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7837 .loc 1 5355 3 view .LVU2618 5358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7838 .loc 1 5358 3 view .LVU2619 5358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7839 .loc 1 5358 3 view .LVU2620 7840 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 7841 0004 012B cmp r3, #1 7842 0006 00F02881 beq .L501 5350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 7843 .loc 1 5350 1 is_stmt 0 discriminator 2 view .LVU2621 7844 000a 70B5 push {r4, r5, r6, lr} 7845 .LCFI76: 7846 .cfi_def_cfa_offset 16 7847 .cfi_offset 4, -16 7848 .cfi_offset 5, -12 7849 .cfi_offset 6, -8 7850 .cfi_offset 14, -4 7851 000c 0446 mov r4, r0 7852 000e 0D46 mov r5, r1 7853 0010 1646 mov r6, r2 5358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7854 .loc 1 5358 3 is_stmt 1 discriminator 2 view .LVU2622 7855 0012 0123 movs r3, #1 7856 0014 80F83C30 strb r3, [r0, #60] 5358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7857 .loc 1 5358 3 discriminator 2 view .LVU2623 5360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7858 .loc 1 5360 3 discriminator 2 view .LVU2624 5360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7859 .loc 1 5360 15 is_stmt 0 discriminator 2 view .LVU2625 7860 0018 0223 movs r3, #2 7861 001a 80F83D30 strb r3, [r0, #61] 5362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7862 .loc 1 5362 3 is_stmt 1 discriminator 2 view .LVU2626 5362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7863 .loc 1 5362 28 is_stmt 0 discriminator 2 view .LVU2627 7864 001e 4B68 ldr r3, [r1, #4] 5362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7865 .loc 1 5362 3 discriminator 2 view .LVU2628 7866 0020 B3F5003F cmp r3, #131072 7867 0024 5BD0 beq .L478 5362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7868 .loc 1 5362 3 view .LVU2629 7869 0026 0ED8 bhi .L479 7870 0028 012B cmp r3, #1 7871 002a 7FD0 beq .L480 7872 002c B3F5803F cmp r3, #65536 7873 0030 55D0 beq .L478 7874 0032 002B cmp r3, #0 ARM GAS /tmp/cc0wMqvE.s page 315 7875 0034 53D0 beq .L478 7876 0036 0120 movs r0, #1 7877 .LVL636: 7878 .L481: 5535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7879 .loc 1 5535 3 is_stmt 1 view .LVU2630 5535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7880 .loc 1 5535 15 is_stmt 0 view .LVU2631 7881 0038 0123 movs r3, #1 7882 003a 84F83D30 strb r3, [r4, #61] 5537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7883 .loc 1 5537 3 is_stmt 1 view .LVU2632 5537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7884 .loc 1 5537 3 view .LVU2633 7885 003e 0023 movs r3, #0 7886 0040 84F83C30 strb r3, [r4, #60] 5537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7887 .loc 1 5537 3 view .LVU2634 5539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7888 .loc 1 5539 3 view .LVU2635 7889 .L477: 5540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7890 .loc 1 5540 1 is_stmt 0 view .LVU2636 7891 0044 70BD pop {r4, r5, r6, pc} 7892 .LVL637: 7893 .L479: 5362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7894 .loc 1 5362 3 view .LVU2637 7895 0046 B3F5403F cmp r3, #196608 7896 004a 48D0 beq .L478 7897 004c B3F1FF3F cmp r3, #-1 7898 0050 40F0FF80 bne .L502 5367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7899 .loc 1 5367 7 is_stmt 1 view .LVU2638 5367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7900 .loc 1 5367 11 is_stmt 0 view .LVU2639 7901 0054 0368 ldr r3, [r0] 5367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7902 .loc 1 5367 10 view .LVU2640 7903 0056 824A ldr r2, .L508 7904 .LVL638: 5367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7905 .loc 1 5367 10 view .LVU2641 7906 0058 9342 cmp r3, r2 7907 005a 1BD0 beq .L482 5367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7908 .loc 1 5367 11 discriminator 1 view .LVU2642 7909 005c B3F1804F cmp r3, #1073741824 7910 0060 18D0 beq .L482 5367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7911 .loc 1 5367 11 discriminator 2 view .LVU2643 7912 0062 A2F59432 sub r2, r2, #75776 7913 0066 9342 cmp r3, r2 7914 0068 14D0 beq .L482 5367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7915 .loc 1 5367 11 discriminator 3 view .LVU2644 7916 006a 02F59832 add r2, r2, #77824 ARM GAS /tmp/cc0wMqvE.s page 316 7917 006e 9342 cmp r3, r2 7918 0070 10D0 beq .L482 5367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7919 .loc 1 5367 11 discriminator 4 view .LVU2645 7920 0072 02F54062 add r2, r2, #3072 7921 0076 9342 cmp r3, r2 7922 0078 0CD0 beq .L482 5367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7923 .loc 1 5367 11 discriminator 5 view .LVU2646 7924 007a 02F58062 add r2, r2, #1024 7925 007e 9342 cmp r3, r2 7926 0080 08D0 beq .L482 5367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7927 .loc 1 5367 11 discriminator 6 view .LVU2647 7928 0082 02F58062 add r2, r2, #1024 7929 0086 9342 cmp r3, r2 7930 0088 04D0 beq .L482 5376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7931 .loc 1 5376 9 is_stmt 1 view .LVU2648 7932 008a 9A68 ldr r2, [r3, #8] 7933 008c 22F47F42 bic r2, r2, #65280 7934 0090 9A60 str r2, [r3, #8] 5442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7935 .loc 1 5442 3 view .LVU2649 7936 0092 0AE0 b .L484 7937 .L482: 5369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7938 .loc 1 5369 9 view .LVU2650 7939 0094 9A68 ldr r2, [r3, #8] 7940 0096 22F47F42 bic r2, r2, #65280 7941 009a 22F00802 bic r2, r2, #8 7942 009e 9A60 str r2, [r3, #8] 5372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7943 .loc 1 5372 9 view .LVU2651 7944 00a0 2268 ldr r2, [r4] 7945 00a2 536E ldr r3, [r2, #100] 7946 00a4 23F4E023 bic r3, r3, #458752 7947 00a8 5366 str r3, [r2, #100] 5442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7948 .loc 1 5442 3 view .LVU2652 7949 .LVL639: 7950 .L484: 5444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7951 .loc 1 5444 5 view .LVU2653 7952 00aa 142E cmp r6, #20 7953 00ac 00F2D380 bhi .L503 7954 00b0 DFE816F0 tbh [pc, r6, lsl #1] 7955 .L489: 7956 00b4 6F00 .2byte (.L494-.L489)/2 7957 00b6 D100 .2byte (.L503-.L489)/2 7958 00b8 D100 .2byte (.L503-.L489)/2 7959 00ba D100 .2byte (.L503-.L489)/2 7960 00bc 7F00 .2byte (.L493-.L489)/2 7961 00be D100 .2byte (.L503-.L489)/2 7962 00c0 D100 .2byte (.L503-.L489)/2 7963 00c2 D100 .2byte (.L503-.L489)/2 7964 00c4 8F00 .2byte (.L492-.L489)/2 ARM GAS /tmp/cc0wMqvE.s page 317 7965 00c6 D100 .2byte (.L503-.L489)/2 7966 00c8 D100 .2byte (.L503-.L489)/2 7967 00ca D100 .2byte (.L503-.L489)/2 7968 00cc 9F00 .2byte (.L491-.L489)/2 7969 00ce D100 .2byte (.L503-.L489)/2 7970 00d0 D100 .2byte (.L503-.L489)/2 7971 00d2 D100 .2byte (.L503-.L489)/2 7972 00d4 AF00 .2byte (.L490-.L489)/2 7973 00d6 D100 .2byte (.L503-.L489)/2 7974 00d8 D100 .2byte (.L503-.L489)/2 7975 00da D100 .2byte (.L503-.L489)/2 7976 00dc BF00 .2byte (.L488-.L489)/2 7977 .LVL640: 7978 .p2align 1 7979 .L478: 5395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7980 .loc 1 5395 7 view .LVU2654 5395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7981 .loc 1 5395 11 is_stmt 0 view .LVU2655 7982 00de 2368 ldr r3, [r4] 5395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7983 .loc 1 5395 10 view .LVU2656 7984 00e0 5F4A ldr r2, .L508 7985 .LVL641: 5395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7986 .loc 1 5395 10 view .LVU2657 7987 00e2 9342 cmp r3, r2 7988 00e4 16D0 beq .L485 5395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7989 .loc 1 5395 11 discriminator 1 view .LVU2658 7990 00e6 B3F1804F cmp r3, #1073741824 7991 00ea 13D0 beq .L485 5395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7992 .loc 1 5395 11 discriminator 2 view .LVU2659 7993 00ec A2F59432 sub r2, r2, #75776 7994 00f0 9342 cmp r3, r2 7995 00f2 0FD0 beq .L485 5395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7996 .loc 1 5395 11 discriminator 3 view .LVU2660 7997 00f4 02F59832 add r2, r2, #77824 7998 00f8 9342 cmp r3, r2 7999 00fa 0BD0 beq .L485 5395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8000 .loc 1 5395 11 discriminator 4 view .LVU2661 8001 00fc 02F54062 add r2, r2, #3072 8002 0100 9342 cmp r3, r2 8003 0102 07D0 beq .L485 5395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8004 .loc 1 5395 11 discriminator 5 view .LVU2662 8005 0104 02F58062 add r2, r2, #1024 8006 0108 9342 cmp r3, r2 8007 010a 03D0 beq .L485 5395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8008 .loc 1 5395 11 discriminator 6 view .LVU2663 8009 010c 02F58062 add r2, r2, #1024 8010 0110 9342 cmp r3, r2 8011 0112 CAD1 bne .L484 ARM GAS /tmp/cc0wMqvE.s page 318 8012 .L485: 5398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8013 .loc 1 5398 9 is_stmt 1 view .LVU2664 8014 0114 9A68 ldr r2, [r3, #8] 8015 0116 22F00802 bic r2, r2, #8 8016 011a 9A60 str r2, [r3, #8] 5401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8017 .loc 1 5401 9 view .LVU2665 8018 011c 2268 ldr r2, [r4] 8019 011e 536E ldr r3, [r2, #100] 8020 0120 23F4E023 bic r3, r3, #458752 8021 0124 6968 ldr r1, [r5, #4] 8022 .LVL642: 5401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8023 .loc 1 5401 9 is_stmt 0 view .LVU2666 8024 0126 0B43 orrs r3, r3, r1 8025 0128 5366 str r3, [r2, #100] 5442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8026 .loc 1 5442 3 is_stmt 1 view .LVU2667 8027 012a BEE7 b .L484 8028 .LVL643: 8029 .L480: 5409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLEARINPUT_PRESCALER(sClearInputConfig->ClearInputPrescaler)); 8030 .loc 1 5409 7 view .LVU2668 5410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLEARINPUT_FILTER(sClearInputConfig->ClearInputFilter)); 8031 .loc 1 5410 7 view .LVU2669 5411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8032 .loc 1 5411 7 view .LVU2670 5414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8033 .loc 1 5414 7 view .LVU2671 5414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8034 .loc 1 5414 28 is_stmt 0 view .LVU2672 8035 012c C968 ldr r1, [r1, #12] 8036 .LVL644: 5414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8037 .loc 1 5414 10 view .LVU2673 8038 012e 31B1 cbz r1, .L486 5416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 8039 .loc 1 5416 9 is_stmt 1 view .LVU2674 5416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 8040 .loc 1 5416 21 is_stmt 0 view .LVU2675 8041 0130 0120 movs r0, #1 8042 .LVL645: 5416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 8043 .loc 1 5416 21 view .LVU2676 8044 0132 84F83D00 strb r0, [r4, #61] 5417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 8045 .loc 1 5417 9 is_stmt 1 view .LVU2677 5417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 8046 .loc 1 5417 9 view .LVU2678 8047 0136 0023 movs r3, #0 8048 0138 84F83C30 strb r3, [r4, #60] 5417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 8049 .loc 1 5417 9 view .LVU2679 5418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8050 .loc 1 5418 9 view .LVU2680 5418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 319 8051 .loc 1 5418 16 is_stmt 0 view .LVU2681 8052 013c 82E7 b .L477 8053 .LVL646: 8054 .L486: 5421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClearInputConfig->ClearInputPrescaler, 8055 .loc 1 5421 7 is_stmt 1 view .LVU2682 8056 013e 2B69 ldr r3, [r5, #16] 8057 0140 AA68 ldr r2, [r5, #8] 8058 .LVL647: 5421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClearInputConfig->ClearInputPrescaler, 8059 .loc 1 5421 7 is_stmt 0 view .LVU2683 8060 0142 0068 ldr r0, [r0] 8061 .LVL648: 5421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClearInputConfig->ClearInputPrescaler, 8062 .loc 1 5421 7 view .LVU2684 8063 0144 FFF7FEFF bl TIM_ETR_SetConfig 8064 .LVL649: 5426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8065 .loc 1 5426 7 is_stmt 1 view .LVU2685 5426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8066 .loc 1 5426 11 is_stmt 0 view .LVU2686 8067 0148 2368 ldr r3, [r4] 5426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8068 .loc 1 5426 10 view .LVU2687 8069 014a 454A ldr r2, .L508 8070 014c 9342 cmp r3, r2 8071 014e 16D0 beq .L487 5426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8072 .loc 1 5426 11 discriminator 1 view .LVU2688 8073 0150 B3F1804F cmp r3, #1073741824 8074 0154 13D0 beq .L487 5426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8075 .loc 1 5426 11 discriminator 2 view .LVU2689 8076 0156 A2F59432 sub r2, r2, #75776 8077 015a 9342 cmp r3, r2 8078 015c 0FD0 beq .L487 5426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8079 .loc 1 5426 11 discriminator 3 view .LVU2690 8080 015e 02F59832 add r2, r2, #77824 8081 0162 9342 cmp r3, r2 8082 0164 0BD0 beq .L487 5426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8083 .loc 1 5426 11 discriminator 4 view .LVU2691 8084 0166 02F54062 add r2, r2, #3072 8085 016a 9342 cmp r3, r2 8086 016c 07D0 beq .L487 5426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8087 .loc 1 5426 11 discriminator 5 view .LVU2692 8088 016e 02F58062 add r2, r2, #1024 8089 0172 9342 cmp r3, r2 8090 0174 03D0 beq .L487 5426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8091 .loc 1 5426 11 discriminator 6 view .LVU2693 8092 0176 02F58062 add r2, r2, #1024 8093 017a 9342 cmp r3, r2 8094 017c 95D1 bne .L484 8095 .L487: ARM GAS /tmp/cc0wMqvE.s page 320 5429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8096 .loc 1 5429 9 is_stmt 1 view .LVU2694 8097 017e 9A68 ldr r2, [r3, #8] 8098 0180 42F00802 orr r2, r2, #8 8099 0184 9A60 str r2, [r3, #8] 5432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8100 .loc 1 5432 9 view .LVU2695 8101 0186 2268 ldr r2, [r4] 8102 0188 536E ldr r3, [r2, #100] 8103 018a 23F4E023 bic r3, r3, #458752 8104 018e 5366 str r3, [r2, #100] 5442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8105 .loc 1 5442 3 view .LVU2696 8106 0190 8BE7 b .L484 8107 .LVL650: 8108 .L494: 5448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8109 .loc 1 5448 9 view .LVU2697 5448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8110 .loc 1 5448 30 is_stmt 0 view .LVU2698 8111 0192 2B68 ldr r3, [r5] 5448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8112 .loc 1 5448 12 view .LVU2699 8113 0194 33B1 cbz r3, .L495 5451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8114 .loc 1 5451 11 is_stmt 1 view .LVU2700 8115 0196 2268 ldr r2, [r4] 8116 0198 9369 ldr r3, [r2, #24] 8117 019a 43F08003 orr r3, r3, #128 8118 019e 9361 str r3, [r2, #24] 8119 01a0 0020 movs r0, #0 8120 01a2 49E7 b .L481 8121 .L495: 5456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8122 .loc 1 5456 11 view .LVU2701 8123 01a4 2268 ldr r2, [r4] 8124 01a6 9369 ldr r3, [r2, #24] 8125 01a8 23F08003 bic r3, r3, #128 8126 01ac 9361 str r3, [r2, #24] 8127 01ae 0020 movs r0, #0 8128 01b0 42E7 b .L481 8129 .L493: 5462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8130 .loc 1 5462 9 view .LVU2702 5462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8131 .loc 1 5462 30 is_stmt 0 view .LVU2703 8132 01b2 2B68 ldr r3, [r5] 5462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8133 .loc 1 5462 12 view .LVU2704 8134 01b4 33B1 cbz r3, .L496 5465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8135 .loc 1 5465 11 is_stmt 1 view .LVU2705 8136 01b6 2268 ldr r2, [r4] 8137 01b8 9369 ldr r3, [r2, #24] 8138 01ba 43F40043 orr r3, r3, #32768 8139 01be 9361 str r3, [r2, #24] 8140 01c0 0020 movs r0, #0 ARM GAS /tmp/cc0wMqvE.s page 321 8141 01c2 39E7 b .L481 8142 .L496: 5470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8143 .loc 1 5470 11 view .LVU2706 8144 01c4 2268 ldr r2, [r4] 8145 01c6 9369 ldr r3, [r2, #24] 8146 01c8 23F40043 bic r3, r3, #32768 8147 01cc 9361 str r3, [r2, #24] 8148 01ce 0020 movs r0, #0 8149 01d0 32E7 b .L481 8150 .L492: 5476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8151 .loc 1 5476 9 view .LVU2707 5476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8152 .loc 1 5476 30 is_stmt 0 view .LVU2708 8153 01d2 2B68 ldr r3, [r5] 5476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8154 .loc 1 5476 12 view .LVU2709 8155 01d4 33B1 cbz r3, .L497 5479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8156 .loc 1 5479 11 is_stmt 1 view .LVU2710 8157 01d6 2268 ldr r2, [r4] 8158 01d8 D369 ldr r3, [r2, #28] 8159 01da 43F08003 orr r3, r3, #128 8160 01de D361 str r3, [r2, #28] 8161 01e0 0020 movs r0, #0 8162 01e2 29E7 b .L481 8163 .L497: 5484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8164 .loc 1 5484 11 view .LVU2711 8165 01e4 2268 ldr r2, [r4] 8166 01e6 D369 ldr r3, [r2, #28] 8167 01e8 23F08003 bic r3, r3, #128 8168 01ec D361 str r3, [r2, #28] 8169 01ee 0020 movs r0, #0 8170 01f0 22E7 b .L481 8171 .L491: 5490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8172 .loc 1 5490 9 view .LVU2712 5490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8173 .loc 1 5490 30 is_stmt 0 view .LVU2713 8174 01f2 2B68 ldr r3, [r5] 5490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8175 .loc 1 5490 12 view .LVU2714 8176 01f4 33B1 cbz r3, .L498 5493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8177 .loc 1 5493 11 is_stmt 1 view .LVU2715 8178 01f6 2268 ldr r2, [r4] 8179 01f8 D369 ldr r3, [r2, #28] 8180 01fa 43F40043 orr r3, r3, #32768 8181 01fe D361 str r3, [r2, #28] 8182 0200 0020 movs r0, #0 8183 0202 19E7 b .L481 8184 .L498: 5498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8185 .loc 1 5498 11 view .LVU2716 8186 0204 2268 ldr r2, [r4] ARM GAS /tmp/cc0wMqvE.s page 322 8187 0206 D369 ldr r3, [r2, #28] 8188 0208 23F40043 bic r3, r3, #32768 8189 020c D361 str r3, [r2, #28] 8190 020e 0020 movs r0, #0 8191 0210 12E7 b .L481 8192 .L490: 5504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8193 .loc 1 5504 9 view .LVU2717 5504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8194 .loc 1 5504 30 is_stmt 0 view .LVU2718 8195 0212 2B68 ldr r3, [r5] 5504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8196 .loc 1 5504 12 view .LVU2719 8197 0214 33B1 cbz r3, .L499 5507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8198 .loc 1 5507 11 is_stmt 1 view .LVU2720 8199 0216 2268 ldr r2, [r4] 8200 0218 136D ldr r3, [r2, #80] 8201 021a 43F08003 orr r3, r3, #128 8202 021e 1365 str r3, [r2, #80] 8203 0220 0020 movs r0, #0 8204 0222 09E7 b .L481 8205 .L499: 5512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8206 .loc 1 5512 11 view .LVU2721 8207 0224 2268 ldr r2, [r4] 8208 0226 136D ldr r3, [r2, #80] 8209 0228 23F08003 bic r3, r3, #128 8210 022c 1365 str r3, [r2, #80] 8211 022e 0020 movs r0, #0 8212 0230 02E7 b .L481 8213 .L488: 5518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8214 .loc 1 5518 9 view .LVU2722 5518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8215 .loc 1 5518 30 is_stmt 0 view .LVU2723 8216 0232 2B68 ldr r3, [r5] 5518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8217 .loc 1 5518 12 view .LVU2724 8218 0234 33B1 cbz r3, .L500 5521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8219 .loc 1 5521 11 is_stmt 1 view .LVU2725 8220 0236 2268 ldr r2, [r4] 8221 0238 136D ldr r3, [r2, #80] 8222 023a 43F40043 orr r3, r3, #32768 8223 023e 1365 str r3, [r2, #80] 8224 0240 0020 movs r0, #0 8225 0242 F9E6 b .L481 8226 .L500: 5526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8227 .loc 1 5526 11 view .LVU2726 8228 0244 2268 ldr r2, [r4] 8229 0246 136D ldr r3, [r2, #80] 8230 0248 23F40043 bic r3, r3, #32768 8231 024c 1365 str r3, [r2, #80] 8232 024e 0020 movs r0, #0 8233 0250 F2E6 b .L481 ARM GAS /tmp/cc0wMqvE.s page 323 8234 .LVL651: 8235 .L502: 5362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8236 .loc 1 5362 3 is_stmt 0 view .LVU2727 8237 0252 0120 movs r0, #1 8238 .LVL652: 5362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8239 .loc 1 5362 3 view .LVU2728 8240 0254 F0E6 b .L481 8241 .LVL653: 8242 .L503: 5444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8243 .loc 1 5444 5 view .LVU2729 8244 0256 0020 movs r0, #0 8245 0258 EEE6 b .L481 8246 .LVL654: 8247 .L501: 8248 .LCFI77: 8249 .cfi_def_cfa_offset 0 8250 .cfi_restore 4 8251 .cfi_restore 5 8252 .cfi_restore 6 8253 .cfi_restore 14 5358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8254 .loc 1 5358 3 view .LVU2730 8255 025a 0220 movs r0, #2 8256 .LVL655: 5540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8257 .loc 1 5540 1 view .LVU2731 8258 025c 7047 bx lr 8259 .L509: 8260 025e 00BF .align 2 8261 .L508: 8262 0260 002C0140 .word 1073818624 8263 .cfi_endproc 8264 .LFE399: 8266 .section .text.HAL_TIM_ConfigClockSource,"ax",%progbits 8267 .align 1 8268 .global HAL_TIM_ConfigClockSource 8269 .syntax unified 8270 .thumb 8271 .thumb_func 8273 HAL_TIM_ConfigClockSource: 8274 .LVL656: 8275 .LFB400: 5550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 8276 .loc 1 5550 1 is_stmt 1 view -0 8277 .cfi_startproc 8278 @ args = 0, pretend = 0, frame = 0 8279 @ frame_needed = 0, uses_anonymous_args = 0 5551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8280 .loc 1 5551 3 view .LVU2733 5552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8281 .loc 1 5552 3 view .LVU2734 5555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8282 .loc 1 5555 3 view .LVU2735 5555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 324 8283 .loc 1 5555 3 view .LVU2736 8284 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 8285 0004 012B cmp r3, #1 8286 0006 00F08F80 beq .L524 5550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 8287 .loc 1 5550 1 is_stmt 0 discriminator 2 view .LVU2737 8288 000a 10B5 push {r4, lr} 8289 .LCFI78: 8290 .cfi_def_cfa_offset 8 8291 .cfi_offset 4, -8 8292 .cfi_offset 14, -4 8293 000c 0446 mov r4, r0 5555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8294 .loc 1 5555 3 is_stmt 1 discriminator 2 view .LVU2738 8295 000e 0123 movs r3, #1 8296 0010 80F83C30 strb r3, [r0, #60] 5555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8297 .loc 1 5555 3 discriminator 2 view .LVU2739 5557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8298 .loc 1 5557 3 discriminator 2 view .LVU2740 5557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8299 .loc 1 5557 15 is_stmt 0 discriminator 2 view .LVU2741 8300 0014 0223 movs r3, #2 8301 0016 80F83D30 strb r3, [r0, #61] 5560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8302 .loc 1 5560 3 is_stmt 1 discriminator 2 view .LVU2742 5563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr &= ~(TIM_SMCR_SMS | TIM_SMCR_TS); 8303 .loc 1 5563 3 discriminator 2 view .LVU2743 5563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr &= ~(TIM_SMCR_SMS | TIM_SMCR_TS); 8304 .loc 1 5563 17 is_stmt 0 discriminator 2 view .LVU2744 8305 001a 0268 ldr r2, [r0] 5563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr &= ~(TIM_SMCR_SMS | TIM_SMCR_TS); 8306 .loc 1 5563 11 discriminator 2 view .LVU2745 8307 001c 9068 ldr r0, [r2, #8] 8308 .LVL657: 5564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr &= ~(TIM_SMCR_ETF | TIM_SMCR_ETPS | TIM_SMCR_ECE | TIM_SMCR_ETP); 8309 .loc 1 5564 3 is_stmt 1 discriminator 2 view .LVU2746 5565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR = tmpsmcr; 8310 .loc 1 5565 3 discriminator 2 view .LVU2747 5565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR = tmpsmcr; 8311 .loc 1 5565 11 is_stmt 0 discriminator 2 view .LVU2748 8312 001e 434B ldr r3, .L538 8313 0020 0340 ands r3, r3, r0 8314 .LVL658: 5566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8315 .loc 1 5566 3 is_stmt 1 discriminator 2 view .LVU2749 5566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8316 .loc 1 5566 24 is_stmt 0 discriminator 2 view .LVU2750 8317 0022 9360 str r3, [r2, #8] 5568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8318 .loc 1 5568 3 is_stmt 1 discriminator 2 view .LVU2751 5568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8319 .loc 1 5568 29 is_stmt 0 discriminator 2 view .LVU2752 8320 0024 0B68 ldr r3, [r1] 8321 .LVL659: 5568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8322 .loc 1 5568 3 discriminator 2 view .LVU2753 ARM GAS /tmp/cc0wMqvE.s page 325 8323 0026 702B cmp r3, #112 8324 0028 55D0 beq .L512 5568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8325 .loc 1 5568 3 view .LVU2754 8326 002a 31D8 bhi .L513 8327 002c 502B cmp r3, #80 8328 002e 6CD0 beq .L514 8329 0030 0CD9 bls .L531 8330 0032 602B cmp r3, #96 8331 0034 2AD1 bne .L532 5639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8332 .loc 1 5639 7 is_stmt 1 view .LVU2755 5642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); 8333 .loc 1 5642 7 view .LVU2756 5643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8334 .loc 1 5643 7 view .LVU2757 5645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8335 .loc 1 5645 7 view .LVU2758 8336 0036 CA68 ldr r2, [r1, #12] 8337 .LVL660: 5645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8338 .loc 1 5645 7 is_stmt 0 view .LVU2759 8339 0038 4968 ldr r1, [r1, #4] 8340 .LVL661: 5645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8341 .loc 1 5645 7 view .LVU2760 8342 003a 2068 ldr r0, [r4] 8343 .LVL662: 5645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8344 .loc 1 5645 7 view .LVU2761 8345 003c FFF7FEFF bl TIM_TI2_ConfigInputStage 8346 .LVL663: 5648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8347 .loc 1 5648 7 is_stmt 1 view .LVU2762 8348 0040 6021 movs r1, #96 8349 0042 2068 ldr r0, [r4] 8350 0044 FFF7FEFF bl TIM_ITRx_SetConfig 8351 .LVL664: 5649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8352 .loc 1 5649 7 view .LVU2763 5551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8353 .loc 1 5551 21 is_stmt 0 view .LVU2764 8354 0048 0020 movs r0, #0 5649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8355 .loc 1 5649 7 view .LVU2765 8356 004a 35E0 b .L517 8357 .LVL665: 8358 .L531: 5568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8359 .loc 1 5568 3 view .LVU2766 8360 004c 402B cmp r3, #64 8361 004e 0AD1 bne .L533 5655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8362 .loc 1 5655 7 is_stmt 1 view .LVU2767 5658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); 8363 .loc 1 5658 7 view .LVU2768 5659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 326 8364 .loc 1 5659 7 view .LVU2769 5661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8365 .loc 1 5661 7 view .LVU2770 8366 0050 CA68 ldr r2, [r1, #12] 8367 .LVL666: 5661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8368 .loc 1 5661 7 is_stmt 0 view .LVU2771 8369 0052 4968 ldr r1, [r1, #4] 8370 .LVL667: 5661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8371 .loc 1 5661 7 view .LVU2772 8372 0054 2068 ldr r0, [r4] 8373 .LVL668: 5661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8374 .loc 1 5661 7 view .LVU2773 8375 0056 FFF7FEFF bl TIM_TI1_ConfigInputStage 8376 .LVL669: 5664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8377 .loc 1 5664 7 is_stmt 1 view .LVU2774 8378 005a 4021 movs r1, #64 8379 005c 2068 ldr r0, [r4] 8380 005e FFF7FEFF bl TIM_ITRx_SetConfig 8381 .LVL670: 5665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8382 .loc 1 5665 7 view .LVU2775 5551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8383 .loc 1 5551 21 is_stmt 0 view .LVU2776 8384 0062 0020 movs r0, #0 5665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8385 .loc 1 5665 7 view .LVU2777 8386 0064 28E0 b .L517 8387 .LVL671: 8388 .L533: 5568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8389 .loc 1 5568 3 view .LVU2778 8390 0066 5BD8 bhi .L525 8391 0068 202B cmp r3, #32 8392 006a 07D0 beq .L518 8393 006c 03D9 bls .L534 8394 006e 302B cmp r3, #48 8395 0070 04D0 beq .L518 5695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8396 .loc 1 5695 14 view .LVU2779 8397 0072 0120 movs r0, #1 8398 0074 20E0 b .L517 8399 .L534: 5568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8400 .loc 1 5568 3 view .LVU2780 8401 0076 0BB1 cbz r3, .L518 8402 0078 102B cmp r3, #16 8403 007a 05D1 bne .L535 8404 .LVL672: 8405 .L518: 5688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8406 .loc 1 5688 7 is_stmt 1 view .LVU2781 5690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8407 .loc 1 5690 7 view .LVU2782 ARM GAS /tmp/cc0wMqvE.s page 327 8408 007c 1946 mov r1, r3 8409 .LVL673: 5690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8410 .loc 1 5690 7 is_stmt 0 view .LVU2783 8411 007e 2068 ldr r0, [r4] 8412 .LVL674: 5690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8413 .loc 1 5690 7 view .LVU2784 8414 0080 FFF7FEFF bl TIM_ITRx_SetConfig 8415 .LVL675: 5691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8416 .loc 1 5691 7 is_stmt 1 view .LVU2785 5551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8417 .loc 1 5551 21 is_stmt 0 view .LVU2786 8418 0084 0020 movs r0, #0 5691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8419 .loc 1 5691 7 view .LVU2787 8420 0086 17E0 b .L517 8421 .LVL676: 8422 .L535: 5695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8423 .loc 1 5695 14 view .LVU2788 8424 0088 0120 movs r0, #1 8425 008a 15E0 b .L517 8426 .L532: 8427 008c 0120 movs r0, #1 8428 008e 13E0 b .L517 8429 .L513: 5568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8430 .loc 1 5568 3 view .LVU2789 8431 0090 B3F5005F cmp r3, #8192 8432 0094 2CD0 beq .L521 8433 0096 0BD9 bls .L536 8434 0098 254A ldr r2, .L538+4 8435 .LVL677: 5568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8436 .loc 1 5568 3 view .LVU2790 8437 009a 9342 cmp r3, r2 8438 009c EED0 beq .L518 8439 009e 12D9 bls .L537 8440 00a0 244A ldr r2, .L538+8 8441 00a2 9342 cmp r3, r2 8442 00a4 EAD0 beq .L518 8443 00a6 3032 adds r2, r2, #48 8444 00a8 9342 cmp r3, r2 8445 00aa E7D0 beq .L518 5695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8446 .loc 1 5695 14 view .LVU2791 8447 00ac 0120 movs r0, #1 8448 .LVL678: 5695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8449 .loc 1 5695 14 view .LVU2792 8450 00ae 03E0 b .L517 8451 .LVL679: 8452 .L536: 5568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8453 .loc 1 5568 3 view .LVU2793 ARM GAS /tmp/cc0wMqvE.s page 328 8454 00b0 B3F5805F cmp r3, #4096 8455 00b4 36D1 bne .L526 8456 00b6 0020 movs r0, #0 8457 .LVL680: 8458 .L517: 5698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8459 .loc 1 5698 3 is_stmt 1 view .LVU2794 5698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8460 .loc 1 5698 15 is_stmt 0 view .LVU2795 8461 00b8 0123 movs r3, #1 8462 00ba 84F83D30 strb r3, [r4, #61] 5700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8463 .loc 1 5700 3 is_stmt 1 view .LVU2796 5700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8464 .loc 1 5700 3 view .LVU2797 8465 00be 0023 movs r3, #0 8466 00c0 84F83C30 strb r3, [r4, #60] 5700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8467 .loc 1 5700 3 view .LVU2798 5702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8468 .loc 1 5702 3 view .LVU2799 5703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8469 .loc 1 5703 1 is_stmt 0 view .LVU2800 8470 00c4 10BD pop {r4, pc} 8471 .LVL681: 8472 .L537: 5568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8473 .loc 1 5568 3 view .LVU2801 8474 00c6 B3F1101F cmp r3, #1048592 8475 00ca D7D0 beq .L518 8476 00cc 103A subs r2, r2, #16 8477 00ce 9342 cmp r3, r2 8478 00d0 D4D0 beq .L518 5695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8479 .loc 1 5695 14 view .LVU2802 8480 00d2 0120 movs r0, #1 8481 .LVL682: 5695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8482 .loc 1 5695 14 view .LVU2803 8483 00d4 F0E7 b .L517 8484 .LVL683: 8485 .L512: 5579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8486 .loc 1 5579 7 is_stmt 1 view .LVU2804 5582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKPOLARITY(sClockSourceConfig->ClockPolarity)); 8487 .loc 1 5582 7 view .LVU2805 5583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); 8488 .loc 1 5583 7 view .LVU2806 5584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8489 .loc 1 5584 7 view .LVU2807 5587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 8490 .loc 1 5587 7 view .LVU2808 8491 00d6 CB68 ldr r3, [r1, #12] 8492 00d8 4A68 ldr r2, [r1, #4] 8493 .LVL684: 5587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 8494 .loc 1 5587 7 is_stmt 0 view .LVU2809 ARM GAS /tmp/cc0wMqvE.s page 329 8495 00da 8968 ldr r1, [r1, #8] 8496 .LVL685: 5587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 8497 .loc 1 5587 7 view .LVU2810 8498 00dc 2068 ldr r0, [r4] 8499 .LVL686: 5587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 8500 .loc 1 5587 7 view .LVU2811 8501 00de FFF7FEFF bl TIM_ETR_SetConfig 8502 .LVL687: 5593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr |= (TIM_SLAVEMODE_EXTERNAL1 | TIM_CLOCKSOURCE_ETRMODE1); 8503 .loc 1 5593 7 is_stmt 1 view .LVU2812 5593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr |= (TIM_SLAVEMODE_EXTERNAL1 | TIM_CLOCKSOURCE_ETRMODE1); 8504 .loc 1 5593 21 is_stmt 0 view .LVU2813 8505 00e2 2268 ldr r2, [r4] 5593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr |= (TIM_SLAVEMODE_EXTERNAL1 | TIM_CLOCKSOURCE_ETRMODE1); 8506 .loc 1 5593 15 view .LVU2814 8507 00e4 9368 ldr r3, [r2, #8] 8508 .LVL688: 5594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx SMCR */ 8509 .loc 1 5594 7 is_stmt 1 view .LVU2815 5594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx SMCR */ 8510 .loc 1 5594 15 is_stmt 0 view .LVU2816 8511 00e6 43F07703 orr r3, r3, #119 8512 .LVL689: 5596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8513 .loc 1 5596 7 is_stmt 1 view .LVU2817 5596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8514 .loc 1 5596 28 is_stmt 0 view .LVU2818 8515 00ea 9360 str r3, [r2, #8] 5597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8516 .loc 1 5597 7 is_stmt 1 view .LVU2819 5551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8517 .loc 1 5551 21 is_stmt 0 view .LVU2820 8518 00ec 0020 movs r0, #0 5597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8519 .loc 1 5597 7 view .LVU2821 8520 00ee E3E7 b .L517 8521 .LVL690: 8522 .L521: 5603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8523 .loc 1 5603 7 is_stmt 1 view .LVU2822 5606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKPOLARITY(sClockSourceConfig->ClockPolarity)); 8524 .loc 1 5606 7 view .LVU2823 5607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); 8525 .loc 1 5607 7 view .LVU2824 5608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8526 .loc 1 5608 7 view .LVU2825 5611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 8527 .loc 1 5611 7 view .LVU2826 8528 00f0 CB68 ldr r3, [r1, #12] 8529 00f2 4A68 ldr r2, [r1, #4] 8530 .LVL691: 5611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 8531 .loc 1 5611 7 is_stmt 0 view .LVU2827 8532 00f4 8968 ldr r1, [r1, #8] 8533 .LVL692: ARM GAS /tmp/cc0wMqvE.s page 330 5611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 8534 .loc 1 5611 7 view .LVU2828 8535 00f6 2068 ldr r0, [r4] 8536 .LVL693: 5611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 8537 .loc 1 5611 7 view .LVU2829 8538 00f8 FFF7FEFF bl TIM_ETR_SetConfig 8539 .LVL694: 5616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8540 .loc 1 5616 7 is_stmt 1 view .LVU2830 5616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8541 .loc 1 5616 11 is_stmt 0 view .LVU2831 8542 00fc 2268 ldr r2, [r4] 5616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8543 .loc 1 5616 21 view .LVU2832 8544 00fe 9368 ldr r3, [r2, #8] 5616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8545 .loc 1 5616 28 view .LVU2833 8546 0100 43F48043 orr r3, r3, #16384 8547 0104 9360 str r3, [r2, #8] 5617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8548 .loc 1 5617 7 is_stmt 1 view .LVU2834 5551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8549 .loc 1 5551 21 is_stmt 0 view .LVU2835 8550 0106 0020 movs r0, #0 5617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8551 .loc 1 5617 7 view .LVU2836 8552 0108 D6E7 b .L517 8553 .LVL695: 8554 .L514: 5623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8555 .loc 1 5623 7 is_stmt 1 view .LVU2837 5626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); 8556 .loc 1 5626 7 view .LVU2838 5627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8557 .loc 1 5627 7 view .LVU2839 5629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8558 .loc 1 5629 7 view .LVU2840 8559 010a CA68 ldr r2, [r1, #12] 8560 .LVL696: 5629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8561 .loc 1 5629 7 is_stmt 0 view .LVU2841 8562 010c 4968 ldr r1, [r1, #4] 8563 .LVL697: 5629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8564 .loc 1 5629 7 view .LVU2842 8565 010e 2068 ldr r0, [r4] 8566 .LVL698: 5629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8567 .loc 1 5629 7 view .LVU2843 8568 0110 FFF7FEFF bl TIM_TI1_ConfigInputStage 8569 .LVL699: 5632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8570 .loc 1 5632 7 is_stmt 1 view .LVU2844 8571 0114 5021 movs r1, #80 8572 0116 2068 ldr r0, [r4] 8573 0118 FFF7FEFF bl TIM_ITRx_SetConfig ARM GAS /tmp/cc0wMqvE.s page 331 8574 .LVL700: 5633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8575 .loc 1 5633 7 view .LVU2845 5551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8576 .loc 1 5551 21 is_stmt 0 view .LVU2846 8577 011c 0020 movs r0, #0 5633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8578 .loc 1 5633 7 view .LVU2847 8579 011e CBE7 b .L517 8580 .LVL701: 8581 .L525: 5695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8582 .loc 1 5695 14 view .LVU2848 8583 0120 0120 movs r0, #1 8584 0122 C9E7 b .L517 8585 .L526: 8586 0124 0120 movs r0, #1 8587 0126 C7E7 b .L517 8588 .LVL702: 8589 .L524: 8590 .LCFI79: 8591 .cfi_def_cfa_offset 0 8592 .cfi_restore 4 8593 .cfi_restore 14 5555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8594 .loc 1 5555 3 view .LVU2849 8595 0128 0220 movs r0, #2 8596 .LVL703: 5703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8597 .loc 1 5703 1 view .LVU2850 8598 012a 7047 bx lr 8599 .L539: 8600 .align 2 8601 .L538: 8602 012c 8800CEFF .word -3276664 8603 0130 30001000 .word 1048624 8604 0134 40001000 .word 1048640 8605 .cfi_endproc 8606 .LFE400: 8608 .section .text.TIM_SlaveTimer_SetConfig,"ax",%progbits 8609 .align 1 8610 .syntax unified 8611 .thumb 8612 .thumb_func 8614 TIM_SlaveTimer_SetConfig: 8615 .LVL704: 8616 .LFB440: 7565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 8617 .loc 1 7565 1 is_stmt 1 view -0 8618 .cfi_startproc 8619 @ args = 0, pretend = 0, frame = 0 8620 @ frame_needed = 0, uses_anonymous_args = 0 7565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 8621 .loc 1 7565 1 is_stmt 0 view .LVU2852 8622 0000 10B5 push {r4, lr} 8623 .LCFI80: 8624 .cfi_def_cfa_offset 8 ARM GAS /tmp/cc0wMqvE.s page 332 8625 .cfi_offset 4, -8 8626 .cfi_offset 14, -4 7566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8627 .loc 1 7566 3 is_stmt 1 view .LVU2853 8628 .LVL705: 7567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr1; 8629 .loc 1 7567 3 view .LVU2854 7568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 8630 .loc 1 7568 3 view .LVU2855 7569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8631 .loc 1 7569 3 view .LVU2856 7572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8632 .loc 1 7572 3 view .LVU2857 7572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8633 .loc 1 7572 17 is_stmt 0 view .LVU2858 8634 0002 0468 ldr r4, [r0] 7572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8635 .loc 1 7572 11 view .LVU2859 8636 0004 A268 ldr r2, [r4, #8] 8637 .LVL706: 7575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Input Trigger source */ 8638 .loc 1 7575 3 is_stmt 1 view .LVU2860 7575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Input Trigger source */ 8639 .loc 1 7575 11 is_stmt 0 view .LVU2861 8640 0006 22F44012 bic r2, r2, #3145728 8641 .LVL707: 7575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Input Trigger source */ 8642 .loc 1 7575 11 view .LVU2862 8643 000a 22F07002 bic r2, r2, #112 8644 .LVL708: 7577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8645 .loc 1 7577 3 is_stmt 1 view .LVU2863 7577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8646 .loc 1 7577 26 is_stmt 0 view .LVU2864 8647 000e 4B68 ldr r3, [r1, #4] 7577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8648 .loc 1 7577 11 view .LVU2865 8649 0010 1343 orrs r3, r3, r2 8650 .LVL709: 7580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the slave mode */ 8651 .loc 1 7580 3 is_stmt 1 view .LVU2866 7580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the slave mode */ 8652 .loc 1 7580 11 is_stmt 0 view .LVU2867 8653 0012 23F48033 bic r3, r3, #65536 8654 .LVL710: 7580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the slave mode */ 8655 .loc 1 7580 11 view .LVU2868 8656 0016 23F00703 bic r3, r3, #7 8657 .LVL711: 7582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8658 .loc 1 7582 3 is_stmt 1 view .LVU2869 7582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8659 .loc 1 7582 26 is_stmt 0 view .LVU2870 8660 001a 0A68 ldr r2, [r1] 7582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8661 .loc 1 7582 11 view .LVU2871 8662 001c 1A43 orrs r2, r2, r3 ARM GAS /tmp/cc0wMqvE.s page 333 8663 .LVL712: 7585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8664 .loc 1 7585 3 is_stmt 1 view .LVU2872 7585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8665 .loc 1 7585 24 is_stmt 0 view .LVU2873 8666 001e A260 str r2, [r4, #8] 7588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8667 .loc 1 7588 3 is_stmt 1 view .LVU2874 7588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8668 .loc 1 7588 23 is_stmt 0 view .LVU2875 8669 0020 4B68 ldr r3, [r1, #4] 7588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8670 .loc 1 7588 3 view .LVU2876 8671 0022 602B cmp r3, #96 8672 0024 56D0 beq .L541 8673 0026 1CD8 bhi .L542 8674 0028 402B cmp r3, #64 8675 002a 3BD0 beq .L543 8676 002c 08D9 bls .L563 8677 002e 502B cmp r3, #80 8678 0030 15D1 bne .L564 7635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERPOLARITY(sSlaveConfig->TriggerPolarity)); 8679 .loc 1 7635 7 is_stmt 1 view .LVU2877 7636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERFILTER(sSlaveConfig->TriggerFilter)); 8680 .loc 1 7636 7 view .LVU2878 7637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8681 .loc 1 7637 7 view .LVU2879 7640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 8682 .loc 1 7640 7 view .LVU2880 8683 0032 0A69 ldr r2, [r1, #16] 8684 .LVL713: 7640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 8685 .loc 1 7640 7 is_stmt 0 view .LVU2881 8686 0034 8968 ldr r1, [r1, #8] 8687 .LVL714: 7640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 8688 .loc 1 7640 7 view .LVU2882 8689 0036 0068 ldr r0, [r0] 8690 .LVL715: 7640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 8691 .loc 1 7640 7 view .LVU2883 8692 0038 FFF7FEFF bl TIM_TI1_ConfigInputStage 8693 .LVL716: 7643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8694 .loc 1 7643 7 is_stmt 1 view .LVU2884 7566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8695 .loc 1 7566 21 is_stmt 0 view .LVU2885 8696 003c 0020 movs r0, #0 7643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8697 .loc 1 7643 7 view .LVU2886 8698 003e 0BE0 b .L545 8699 .LVL717: 8700 .L563: 7588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8701 .loc 1 7588 3 view .LVU2887 8702 0040 202B cmp r3, #32 8703 0042 4ED0 beq .L550 ARM GAS /tmp/cc0wMqvE.s page 334 8704 0044 03D9 bls .L565 8705 0046 302B cmp r3, #48 8706 0048 07D0 beq .L566 7685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8707 .loc 1 7685 14 view .LVU2888 8708 004a 0120 movs r0, #1 8709 .LVL718: 7685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8710 .loc 1 7685 14 view .LVU2889 8711 004c 04E0 b .L545 8712 .LVL719: 8713 .L565: 7588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8714 .loc 1 7588 3 view .LVU2890 8715 004e 002B cmp r3, #0 8716 0050 49D0 beq .L551 8717 0052 102B cmp r3, #16 8718 0054 49D1 bne .L552 8719 0056 0020 movs r0, #0 8720 .LVL720: 8721 .L545: 7690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8722 .loc 1 7690 1 view .LVU2891 8723 0058 10BD pop {r4, pc} 8724 .LVL721: 8725 .L566: 7588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8726 .loc 1 7588 3 view .LVU2892 8727 005a 0020 movs r0, #0 8728 .LVL722: 7588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8729 .loc 1 7588 3 view .LVU2893 8730 005c FCE7 b .L545 8731 .LVL723: 8732 .L564: 7685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8733 .loc 1 7685 14 view .LVU2894 8734 005e 0120 movs r0, #1 8735 .LVL724: 7685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8736 .loc 1 7685 14 view .LVU2895 8737 0060 FAE7 b .L545 8738 .LVL725: 8739 .L542: 7588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8740 .loc 1 7588 3 view .LVU2896 8741 0062 702B cmp r3, #112 8742 0064 16D0 beq .L548 8743 0066 01D2 bcs .L567 7685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8744 .loc 1 7685 14 view .LVU2897 8745 0068 0120 movs r0, #1 8746 .LVL726: 7685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8747 .loc 1 7685 14 view .LVU2898 8748 006a F5E7 b .L545 8749 .LVL727: ARM GAS /tmp/cc0wMqvE.s page 335 8750 .L567: 7588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8751 .loc 1 7588 3 view .LVU2899 8752 006c 274A ldr r2, .L569 8753 .LVL728: 7588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8754 .loc 1 7588 3 view .LVU2900 8755 006e 9342 cmp r3, r2 8756 0070 3DD0 beq .L555 8757 0072 07D9 bls .L568 8758 0074 264A ldr r2, .L569+4 8759 0076 9342 cmp r3, r2 8760 0078 3FD0 beq .L558 8761 007a 3032 adds r2, r2, #48 8762 007c 9342 cmp r3, r2 8763 007e 3ED1 bne .L559 8764 0080 0020 movs r0, #0 8765 .LVL729: 7588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8766 .loc 1 7588 3 view .LVU2901 8767 0082 E9E7 b .L545 8768 .LVL730: 8769 .L568: 7588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8770 .loc 1 7588 3 view .LVU2902 8771 0084 B3F1101F cmp r3, #1048592 8772 0088 33D0 beq .L556 8773 008a 103A subs r2, r2, #16 8774 008c 9342 cmp r3, r2 8775 008e 32D1 bne .L557 8776 0090 0020 movs r0, #0 8777 .LVL731: 7588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8778 .loc 1 7588 3 view .LVU2903 8779 0092 E1E7 b .L545 8780 .LVL732: 8781 .L548: 7593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERPRESCALER(sSlaveConfig->TriggerPrescaler)); 8782 .loc 1 7593 7 is_stmt 1 view .LVU2904 7594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERPOLARITY(sSlaveConfig->TriggerPolarity)); 8783 .loc 1 7594 7 view .LVU2905 7595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERFILTER(sSlaveConfig->TriggerFilter)); 8784 .loc 1 7595 7 view .LVU2906 7596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the ETR Trigger source */ 8785 .loc 1 7596 7 view .LVU2907 7598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPrescaler, 8786 .loc 1 7598 7 view .LVU2908 8787 0094 0B69 ldr r3, [r1, #16] 8788 0096 8A68 ldr r2, [r1, #8] 8789 .LVL733: 7598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPrescaler, 8790 .loc 1 7598 7 is_stmt 0 view .LVU2909 8791 0098 C968 ldr r1, [r1, #12] 8792 .LVL734: 7598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPrescaler, 8793 .loc 1 7598 7 view .LVU2910 8794 009a 0068 ldr r0, [r0] ARM GAS /tmp/cc0wMqvE.s page 336 8795 .LVL735: 7598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPrescaler, 8796 .loc 1 7598 7 view .LVU2911 8797 009c FFF7FEFF bl TIM_ETR_SetConfig 8798 .LVL736: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8799 .loc 1 7602 7 is_stmt 1 view .LVU2912 7566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8800 .loc 1 7566 21 is_stmt 0 view .LVU2913 8801 00a0 0020 movs r0, #0 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8802 .loc 1 7602 7 view .LVU2914 8803 00a2 D9E7 b .L545 8804 .LVL737: 8805 .L543: 7608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERFILTER(sSlaveConfig->TriggerFilter)); 8806 .loc 1 7608 7 is_stmt 1 view .LVU2915 7609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8807 .loc 1 7609 7 view .LVU2916 7611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (sSlaveConfig->SlaveMode == TIM_SLAVEMODE_COMBINED_GATEDRESET)) 8808 .loc 1 7611 7 view .LVU2917 7611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (sSlaveConfig->SlaveMode == TIM_SLAVEMODE_COMBINED_GATEDRESET)) 8809 .loc 1 7611 24 is_stmt 0 view .LVU2918 8810 00a4 0B68 ldr r3, [r1] 7611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (sSlaveConfig->SlaveMode == TIM_SLAVEMODE_COMBINED_GATEDRESET)) 8811 .loc 1 7611 10 view .LVU2919 8812 00a6 052B cmp r3, #5 8813 00a8 2BD0 beq .L560 7611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (sSlaveConfig->SlaveMode == TIM_SLAVEMODE_COMBINED_GATEDRESET)) 8814 .loc 1 7611 60 discriminator 1 view .LVU2920 8815 00aa B3F1011F cmp r3, #65537 8816 00ae 2AD0 beq .L561 7618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCER &= ~TIM_CCER_CC1E; 8817 .loc 1 7618 7 is_stmt 1 view .LVU2921 7618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCER &= ~TIM_CCER_CC1E; 8818 .loc 1 7618 21 is_stmt 0 view .LVU2922 8819 00b0 0368 ldr r3, [r0] 7618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCER &= ~TIM_CCER_CC1E; 8820 .loc 1 7618 15 view .LVU2923 8821 00b2 1C6A ldr r4, [r3, #32] 8822 .LVL738: 7619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = htim->Instance->CCMR1; 8823 .loc 1 7619 7 is_stmt 1 view .LVU2924 7619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = htim->Instance->CCMR1; 8824 .loc 1 7619 21 is_stmt 0 view .LVU2925 8825 00b4 1A6A ldr r2, [r3, #32] 8826 .LVL739: 7619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = htim->Instance->CCMR1; 8827 .loc 1 7619 28 view .LVU2926 8828 00b6 22F00102 bic r2, r2, #1 8829 00ba 1A62 str r2, [r3, #32] 7620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8830 .loc 1 7620 7 is_stmt 1 view .LVU2927 7620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8831 .loc 1 7620 22 is_stmt 0 view .LVU2928 8832 00bc 0268 ldr r2, [r0] 7620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 337 8833 .loc 1 7620 16 view .LVU2929 8834 00be 9369 ldr r3, [r2, #24] 8835 .LVL740: 7623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= ((sSlaveConfig->TriggerFilter) << 4U); 8836 .loc 1 7623 7 is_stmt 1 view .LVU2930 7623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= ((sSlaveConfig->TriggerFilter) << 4U); 8837 .loc 1 7623 16 is_stmt 0 view .LVU2931 8838 00c0 23F0F003 bic r3, r3, #240 8839 .LVL741: 7624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8840 .loc 1 7624 7 is_stmt 1 view .LVU2932 7624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8841 .loc 1 7624 33 is_stmt 0 view .LVU2933 8842 00c4 0969 ldr r1, [r1, #16] 8843 .LVL742: 7624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8844 .loc 1 7624 16 view .LVU2934 8845 00c6 43EA0113 orr r3, r3, r1, lsl #4 8846 .LVL743: 7627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCER = tmpccer; 8847 .loc 1 7627 7 is_stmt 1 view .LVU2935 7627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCER = tmpccer; 8848 .loc 1 7627 29 is_stmt 0 view .LVU2936 8849 00ca 9361 str r3, [r2, #24] 7628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8850 .loc 1 7628 7 is_stmt 1 view .LVU2937 7628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8851 .loc 1 7628 11 is_stmt 0 view .LVU2938 8852 00cc 0368 ldr r3, [r0] 8853 .LVL744: 7628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8854 .loc 1 7628 28 view .LVU2939 8855 00ce 1C62 str r4, [r3, #32] 8856 .LVL745: 7629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8857 .loc 1 7629 7 is_stmt 1 view .LVU2940 7566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8858 .loc 1 7566 21 is_stmt 0 view .LVU2941 8859 00d0 0020 movs r0, #0 8860 .LVL746: 7629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8861 .loc 1 7629 7 view .LVU2942 8862 00d2 C1E7 b .L545 8863 .LVL747: 8864 .L541: 7649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERPOLARITY(sSlaveConfig->TriggerPolarity)); 8865 .loc 1 7649 7 is_stmt 1 view .LVU2943 7650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERFILTER(sSlaveConfig->TriggerFilter)); 8866 .loc 1 7650 7 view .LVU2944 7651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8867 .loc 1 7651 7 view .LVU2945 7654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 8868 .loc 1 7654 7 view .LVU2946 8869 00d4 0A69 ldr r2, [r1, #16] 8870 .LVL748: 7654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 8871 .loc 1 7654 7 is_stmt 0 view .LVU2947 ARM GAS /tmp/cc0wMqvE.s page 338 8872 00d6 8968 ldr r1, [r1, #8] 8873 .LVL749: 7654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 8874 .loc 1 7654 7 view .LVU2948 8875 00d8 0068 ldr r0, [r0] 8876 .LVL750: 7654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 8877 .loc 1 7654 7 view .LVU2949 8878 00da FFF7FEFF bl TIM_TI2_ConfigInputStage 8879 .LVL751: 7657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8880 .loc 1 7657 7 is_stmt 1 view .LVU2950 7566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8881 .loc 1 7566 21 is_stmt 0 view .LVU2951 8882 00de 0020 movs r0, #0 7657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8883 .loc 1 7657 7 view .LVU2952 8884 00e0 BAE7 b .L545 8885 .LVL752: 8886 .L550: 7588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8887 .loc 1 7588 3 view .LVU2953 8888 00e2 0020 movs r0, #0 8889 .LVL753: 7588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8890 .loc 1 7588 3 view .LVU2954 8891 00e4 B8E7 b .L545 8892 .LVL754: 8893 .L551: 7588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8894 .loc 1 7588 3 view .LVU2955 8895 00e6 0020 movs r0, #0 8896 .LVL755: 7588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8897 .loc 1 7588 3 view .LVU2956 8898 00e8 B6E7 b .L545 8899 .LVL756: 8900 .L552: 7685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8901 .loc 1 7685 14 view .LVU2957 8902 00ea 0120 movs r0, #1 8903 .LVL757: 7685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8904 .loc 1 7685 14 view .LVU2958 8905 00ec B4E7 b .L545 8906 .LVL758: 8907 .L555: 7588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8908 .loc 1 7588 3 view .LVU2959 8909 00ee 0020 movs r0, #0 8910 .LVL759: 7588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8911 .loc 1 7588 3 view .LVU2960 8912 00f0 B2E7 b .L545 8913 .LVL760: 8914 .L556: 7588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 339 8915 .loc 1 7588 3 view .LVU2961 8916 00f2 0020 movs r0, #0 8917 .LVL761: 7588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8918 .loc 1 7588 3 view .LVU2962 8919 00f4 B0E7 b .L545 8920 .LVL762: 8921 .L557: 7685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8922 .loc 1 7685 14 view .LVU2963 8923 00f6 0120 movs r0, #1 8924 .LVL763: 7685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8925 .loc 1 7685 14 view .LVU2964 8926 00f8 AEE7 b .L545 8927 .LVL764: 8928 .L558: 7588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8929 .loc 1 7588 3 view .LVU2965 8930 00fa 0020 movs r0, #0 8931 .LVL765: 7588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8932 .loc 1 7588 3 view .LVU2966 8933 00fc ACE7 b .L545 8934 .LVL766: 8935 .L559: 7685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8936 .loc 1 7685 14 view .LVU2967 8937 00fe 0120 movs r0, #1 8938 .LVL767: 7685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8939 .loc 1 7685 14 view .LVU2968 8940 0100 AAE7 b .L545 8941 .LVL768: 8942 .L560: 7614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8943 .loc 1 7614 16 view .LVU2969 8944 0102 0120 movs r0, #1 8945 .LVL769: 7614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8946 .loc 1 7614 16 view .LVU2970 8947 0104 A8E7 b .L545 8948 .LVL770: 8949 .L561: 7614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8950 .loc 1 7614 16 view .LVU2971 8951 0106 0120 movs r0, #1 8952 .LVL771: 7614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8953 .loc 1 7614 16 view .LVU2972 8954 0108 A6E7 b .L545 8955 .L570: 8956 010a 00BF .align 2 8957 .L569: 8958 010c 30001000 .word 1048624 8959 0110 40001000 .word 1048640 8960 .cfi_endproc ARM GAS /tmp/cc0wMqvE.s page 340 8961 .LFE440: 8963 .section .text.HAL_TIM_SlaveConfigSynchro,"ax",%progbits 8964 .align 1 8965 .global HAL_TIM_SlaveConfigSynchro 8966 .syntax unified 8967 .thumb 8968 .thumb_func 8970 HAL_TIM_SlaveConfigSynchro: 8971 .LVL772: 8972 .LFB402: 5750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 8973 .loc 1 5750 1 is_stmt 1 view -0 8974 .cfi_startproc 8975 @ args = 0, pretend = 0, frame = 0 8976 @ frame_needed = 0, uses_anonymous_args = 0 5752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_SLAVE_MODE(sSlaveConfig->SlaveMode)); 8977 .loc 1 5752 3 view .LVU2974 5753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGER_INSTANCE(htim->Instance, sSlaveConfig->InputTrigger)); 8978 .loc 1 5753 3 view .LVU2975 5754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8979 .loc 1 5754 3 view .LVU2976 5756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8980 .loc 1 5756 3 view .LVU2977 5756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8981 .loc 1 5756 3 view .LVU2978 8982 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 8983 0004 012B cmp r3, #1 8984 0006 22D0 beq .L574 5750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 8985 .loc 1 5750 1 is_stmt 0 discriminator 2 view .LVU2979 8986 0008 10B5 push {r4, lr} 8987 .LCFI81: 8988 .cfi_def_cfa_offset 8 8989 .cfi_offset 4, -8 8990 .cfi_offset 14, -4 8991 000a 0446 mov r4, r0 5756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8992 .loc 1 5756 3 is_stmt 1 discriminator 2 view .LVU2980 8993 000c 0123 movs r3, #1 8994 000e 80F83C30 strb r3, [r0, #60] 5756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8995 .loc 1 5756 3 discriminator 2 view .LVU2981 5758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8996 .loc 1 5758 3 discriminator 2 view .LVU2982 5758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8997 .loc 1 5758 15 is_stmt 0 discriminator 2 view .LVU2983 8998 0012 0223 movs r3, #2 8999 0014 80F83D30 strb r3, [r0, #61] 5760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9000 .loc 1 5760 3 is_stmt 1 discriminator 2 view .LVU2984 5760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9001 .loc 1 5760 7 is_stmt 0 discriminator 2 view .LVU2985 9002 0018 FFF7FEFF bl TIM_SlaveTimer_SetConfig 9003 .LVL773: 5760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9004 .loc 1 5760 6 discriminator 2 view .LVU2986 9005 001c 80B9 cbnz r0, .L579 ARM GAS /tmp/cc0wMqvE.s page 341 5768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9006 .loc 1 5768 3 is_stmt 1 view .LVU2987 9007 001e 2268 ldr r2, [r4] 9008 0020 D368 ldr r3, [r2, #12] 9009 0022 23F04003 bic r3, r3, #64 9010 0026 D360 str r3, [r2, #12] 5771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9011 .loc 1 5771 3 view .LVU2988 9012 0028 2268 ldr r2, [r4] 9013 002a D368 ldr r3, [r2, #12] 9014 002c 23F48043 bic r3, r3, #16384 9015 0030 D360 str r3, [r2, #12] 5773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9016 .loc 1 5773 3 view .LVU2989 5773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9017 .loc 1 5773 15 is_stmt 0 view .LVU2990 9018 0032 0123 movs r3, #1 9019 0034 84F83D30 strb r3, [r4, #61] 5775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9020 .loc 1 5775 3 is_stmt 1 view .LVU2991 5775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9021 .loc 1 5775 3 view .LVU2992 9022 0038 0023 movs r3, #0 9023 003a 84F83C30 strb r3, [r4, #60] 5775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9024 .loc 1 5775 3 view .LVU2993 5777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9025 .loc 1 5777 3 view .LVU2994 9026 .L572: 5778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9027 .loc 1 5778 1 is_stmt 0 view .LVU2995 9028 003e 10BD pop {r4, pc} 9029 .LVL774: 9030 .L579: 5762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 9031 .loc 1 5762 5 is_stmt 1 view .LVU2996 5762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 9032 .loc 1 5762 17 is_stmt 0 view .LVU2997 9033 0040 0120 movs r0, #1 9034 0042 84F83D00 strb r0, [r4, #61] 5763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 9035 .loc 1 5763 5 is_stmt 1 view .LVU2998 5763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 9036 .loc 1 5763 5 view .LVU2999 9037 0046 0023 movs r3, #0 9038 0048 84F83C30 strb r3, [r4, #60] 5763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 9039 .loc 1 5763 5 view .LVU3000 5764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9040 .loc 1 5764 5 view .LVU3001 5764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9041 .loc 1 5764 12 is_stmt 0 view .LVU3002 9042 004c F7E7 b .L572 9043 .LVL775: 9044 .L574: 9045 .LCFI82: 9046 .cfi_def_cfa_offset 0 ARM GAS /tmp/cc0wMqvE.s page 342 9047 .cfi_restore 4 9048 .cfi_restore 14 5756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9049 .loc 1 5756 3 view .LVU3003 9050 004e 0220 movs r0, #2 9051 .LVL776: 5778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9052 .loc 1 5778 1 view .LVU3004 9053 0050 7047 bx lr 9054 .cfi_endproc 9055 .LFE402: 9057 .section .text.HAL_TIM_SlaveConfigSynchro_IT,"ax",%progbits 9058 .align 1 9059 .global HAL_TIM_SlaveConfigSynchro_IT 9060 .syntax unified 9061 .thumb 9062 .thumb_func 9064 HAL_TIM_SlaveConfigSynchro_IT: 9065 .LVL777: 9066 .LFB403: 5791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 9067 .loc 1 5791 1 is_stmt 1 view -0 9068 .cfi_startproc 9069 @ args = 0, pretend = 0, frame = 0 9070 @ frame_needed = 0, uses_anonymous_args = 0 5793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_SLAVE_MODE(sSlaveConfig->SlaveMode)); 9071 .loc 1 5793 3 view .LVU3006 5794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGER_INSTANCE(htim->Instance, sSlaveConfig->InputTrigger)); 9072 .loc 1 5794 3 view .LVU3007 5795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9073 .loc 1 5795 3 view .LVU3008 5797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9074 .loc 1 5797 3 view .LVU3009 5797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9075 .loc 1 5797 3 view .LVU3010 9076 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 9077 0004 012B cmp r3, #1 9078 0006 22D0 beq .L583 5791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 9079 .loc 1 5791 1 is_stmt 0 discriminator 2 view .LVU3011 9080 0008 10B5 push {r4, lr} 9081 .LCFI83: 9082 .cfi_def_cfa_offset 8 9083 .cfi_offset 4, -8 9084 .cfi_offset 14, -4 9085 000a 0446 mov r4, r0 5797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9086 .loc 1 5797 3 is_stmt 1 discriminator 2 view .LVU3012 9087 000c 0123 movs r3, #1 9088 000e 80F83C30 strb r3, [r0, #60] 5797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9089 .loc 1 5797 3 discriminator 2 view .LVU3013 5799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9090 .loc 1 5799 3 discriminator 2 view .LVU3014 5799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9091 .loc 1 5799 15 is_stmt 0 discriminator 2 view .LVU3015 9092 0012 0223 movs r3, #2 ARM GAS /tmp/cc0wMqvE.s page 343 9093 0014 80F83D30 strb r3, [r0, #61] 5801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9094 .loc 1 5801 3 is_stmt 1 discriminator 2 view .LVU3016 5801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9095 .loc 1 5801 7 is_stmt 0 discriminator 2 view .LVU3017 9096 0018 FFF7FEFF bl TIM_SlaveTimer_SetConfig 9097 .LVL778: 5801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9098 .loc 1 5801 6 discriminator 2 view .LVU3018 9099 001c 80B9 cbnz r0, .L588 5809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9100 .loc 1 5809 3 is_stmt 1 view .LVU3019 9101 001e 2268 ldr r2, [r4] 9102 0020 D368 ldr r3, [r2, #12] 9103 0022 43F04003 orr r3, r3, #64 9104 0026 D360 str r3, [r2, #12] 5812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9105 .loc 1 5812 3 view .LVU3020 9106 0028 2268 ldr r2, [r4] 9107 002a D368 ldr r3, [r2, #12] 9108 002c 23F48043 bic r3, r3, #16384 9109 0030 D360 str r3, [r2, #12] 5814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9110 .loc 1 5814 3 view .LVU3021 5814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9111 .loc 1 5814 15 is_stmt 0 view .LVU3022 9112 0032 0123 movs r3, #1 9113 0034 84F83D30 strb r3, [r4, #61] 5816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9114 .loc 1 5816 3 is_stmt 1 view .LVU3023 5816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9115 .loc 1 5816 3 view .LVU3024 9116 0038 0023 movs r3, #0 9117 003a 84F83C30 strb r3, [r4, #60] 5816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9118 .loc 1 5816 3 view .LVU3025 5818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9119 .loc 1 5818 3 view .LVU3026 9120 .L581: 5819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9121 .loc 1 5819 1 is_stmt 0 view .LVU3027 9122 003e 10BD pop {r4, pc} 9123 .LVL779: 9124 .L588: 5803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 9125 .loc 1 5803 5 is_stmt 1 view .LVU3028 5803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 9126 .loc 1 5803 17 is_stmt 0 view .LVU3029 9127 0040 0120 movs r0, #1 9128 0042 84F83D00 strb r0, [r4, #61] 5804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 9129 .loc 1 5804 5 is_stmt 1 view .LVU3030 5804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 9130 .loc 1 5804 5 view .LVU3031 9131 0046 0023 movs r3, #0 9132 0048 84F83C30 strb r3, [r4, #60] 5804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; ARM GAS /tmp/cc0wMqvE.s page 344 9133 .loc 1 5804 5 view .LVU3032 5805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9134 .loc 1 5805 5 view .LVU3033 5805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9135 .loc 1 5805 12 is_stmt 0 view .LVU3034 9136 004c F7E7 b .L581 9137 .LVL780: 9138 .L583: 9139 .LCFI84: 9140 .cfi_def_cfa_offset 0 9141 .cfi_restore 4 9142 .cfi_restore 14 5797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9143 .loc 1 5797 3 view .LVU3035 9144 004e 0220 movs r0, #2 9145 .LVL781: 5819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9146 .loc 1 5819 1 view .LVU3036 9147 0050 7047 bx lr 9148 .cfi_endproc 9149 .LFE403: 9151 .section .text.TIM_CCxChannelCmd,"ax",%progbits 9152 .align 1 9153 .global TIM_CCxChannelCmd 9154 .syntax unified 9155 .thumb 9156 .thumb_func 9158 TIM_CCxChannelCmd: 9159 .LVL782: 9160 .LFB449: 8033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 8035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Enables or disables the TIM Capture Compare Channel x. 8036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral 8037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel specifies the TIM Channel 8038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 8039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 8040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 8041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 8042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 8043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_5: TIM Channel 5 selected 8044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_6: TIM Channel 6 selected 8045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param ChannelState specifies the TIM Channel CCxE bit new state. 8046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be: TIM_CCx_ENABLE or TIM_CCx_DISABLE. 8047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 8048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 8049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** void TIM_CCxChannelCmd(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ChannelState) 8050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9161 .loc 1 8050 1 is_stmt 1 view -0 9162 .cfi_startproc 9163 @ args = 0, pretend = 0, frame = 0 9164 @ frame_needed = 0, uses_anonymous_args = 0 9165 @ link register save eliminated. 8051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmp; 9166 .loc 1 8051 3 view .LVU3038 8052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ ARM GAS /tmp/cc0wMqvE.s page 345 8054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(TIMx)); 9167 .loc 1 8054 3 view .LVU3039 8055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CHANNELS(Channel)); 9168 .loc 1 8055 3 view .LVU3040 8056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmp = TIM_CCER_CC1E << (Channel & 0x1FU); /* 0x1FU = 31 bits max shift */ 9169 .loc 1 8057 3 view .LVU3041 9170 .loc 1 8057 35 is_stmt 0 view .LVU3042 9171 0000 01F01F01 and r1, r1, #31 9172 .LVL783: 9173 .loc 1 8057 7 view .LVU3043 9174 0004 4FF0010C mov ip, #1 9175 0008 0CFA01FC lsl ip, ip, r1 9176 .LVL784: 8058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the CCxE Bit */ 8060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~tmp; 9177 .loc 1 8060 3 is_stmt 1 view .LVU3044 9178 .loc 1 8060 7 is_stmt 0 view .LVU3045 9179 000c 036A ldr r3, [r0, #32] 9180 .loc 1 8060 14 view .LVU3046 9181 000e 23EA0C03 bic r3, r3, ip 9182 0012 0362 str r3, [r0, #32] 8061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set or reset the CCxE Bit */ 8063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER |= (uint32_t)(ChannelState << (Channel & 0x1FU)); /* 0x1FU = 31 bits max shift */ 9183 .loc 1 8063 3 is_stmt 1 view .LVU3047 9184 .loc 1 8063 7 is_stmt 0 view .LVU3048 9185 0014 036A ldr r3, [r0, #32] 9186 .loc 1 8063 41 view .LVU3049 9187 0016 8A40 lsls r2, r2, r1 9188 .LVL785: 9189 .loc 1 8063 14 view .LVU3050 9190 0018 1343 orrs r3, r3, r2 9191 001a 0362 str r3, [r0, #32] 8064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9192 .loc 1 8064 1 view .LVU3051 9193 001c 7047 bx lr 9194 .cfi_endproc 9195 .LFE449: 9197 .section .text.HAL_TIM_OC_Start,"ax",%progbits 9198 .align 1 9199 .global HAL_TIM_OC_Start 9200 .syntax unified 9201 .thumb 9202 .thumb_func 9204 HAL_TIM_OC_Start: 9205 .LVL786: 9206 .LFB343: 805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 9207 .loc 1 805 1 is_stmt 1 view -0 9208 .cfi_startproc 9209 @ args = 0, pretend = 0, frame = 0 9210 @ frame_needed = 0, uses_anonymous_args = 0 805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 9211 .loc 1 805 1 is_stmt 0 view .LVU3053 9212 0000 10B5 push {r4, lr} ARM GAS /tmp/cc0wMqvE.s page 346 9213 .LCFI85: 9214 .cfi_def_cfa_offset 8 9215 .cfi_offset 4, -8 9216 .cfi_offset 14, -4 9217 0002 0446 mov r4, r0 806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9218 .loc 1 806 3 is_stmt 1 view .LVU3054 809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9219 .loc 1 809 3 view .LVU3055 812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9220 .loc 1 812 3 view .LVU3056 9221 0004 1029 cmp r1, #16 9222 0006 3CD8 bhi .L591 9223 0008 DFE801F0 tbb [pc, r1] 9224 .L593: 9225 000c 09 .byte (.L597-.L593)/2 9226 000d 3B .byte (.L591-.L593)/2 9227 000e 3B .byte (.L591-.L593)/2 9228 000f 3B .byte (.L591-.L593)/2 9229 0010 1F .byte (.L596-.L593)/2 9230 0011 3B .byte (.L591-.L593)/2 9231 0012 3B .byte (.L591-.L593)/2 9232 0013 3B .byte (.L591-.L593)/2 9233 0014 26 .byte (.L595-.L593)/2 9234 0015 3B .byte (.L591-.L593)/2 9235 0016 3B .byte (.L591-.L593)/2 9236 0017 3B .byte (.L591-.L593)/2 9237 0018 2D .byte (.L594-.L593)/2 9238 0019 3B .byte (.L591-.L593)/2 9239 001a 3B .byte (.L591-.L593)/2 9240 001b 3B .byte (.L591-.L593)/2 9241 001c 34 .byte (.L592-.L593)/2 9242 001d 00 .p2align 1 9243 .L597: 812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9244 .loc 1 812 7 is_stmt 0 discriminator 1 view .LVU3057 9245 001e 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2 9246 0022 DBB2 uxtb r3, r3 812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9247 .loc 1 812 44 discriminator 1 view .LVU3058 9248 0024 013B subs r3, r3, #1 9249 0026 18BF it ne 9250 0028 0123 movne r3, #1 9251 .L598: 812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9252 .loc 1 812 6 discriminator 20 view .LVU3059 9253 002a 002B cmp r3, #0 9254 002c 40F08E80 bne .L612 818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9255 .loc 1 818 3 is_stmt 1 view .LVU3060 9256 0030 1029 cmp r1, #16 9257 0032 79D8 bhi .L600 9258 0034 DFE801F0 tbb [pc, r1] 9259 .L602: 9260 0038 2C .byte (.L606-.L602)/2 9261 0039 78 .byte (.L600-.L602)/2 9262 003a 78 .byte (.L600-.L602)/2 ARM GAS /tmp/cc0wMqvE.s page 347 9263 003b 78 .byte (.L600-.L602)/2 9264 003c 68 .byte (.L605-.L602)/2 9265 003d 78 .byte (.L600-.L602)/2 9266 003e 78 .byte (.L600-.L602)/2 9267 003f 78 .byte (.L600-.L602)/2 9268 0040 6C .byte (.L604-.L602)/2 9269 0041 78 .byte (.L600-.L602)/2 9270 0042 78 .byte (.L600-.L602)/2 9271 0043 78 .byte (.L600-.L602)/2 9272 0044 70 .byte (.L603-.L602)/2 9273 0045 78 .byte (.L600-.L602)/2 9274 0046 78 .byte (.L600-.L602)/2 9275 0047 78 .byte (.L600-.L602)/2 9276 0048 74 .byte (.L601-.L602)/2 9277 0049 00 .p2align 1 9278 .L596: 812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9279 .loc 1 812 7 is_stmt 0 discriminator 4 view .LVU3061 9280 004a 90F83F30 ldrb r3, [r0, #63] @ zero_extendqisi2 9281 004e DBB2 uxtb r3, r3 812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9282 .loc 1 812 44 discriminator 4 view .LVU3062 9283 0050 013B subs r3, r3, #1 9284 0052 18BF it ne 9285 0054 0123 movne r3, #1 9286 0056 E8E7 b .L598 9287 .L595: 812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9288 .loc 1 812 7 discriminator 7 view .LVU3063 9289 0058 90F84030 ldrb r3, [r0, #64] @ zero_extendqisi2 9290 005c DBB2 uxtb r3, r3 812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9291 .loc 1 812 44 discriminator 7 view .LVU3064 9292 005e 013B subs r3, r3, #1 9293 0060 18BF it ne 9294 0062 0123 movne r3, #1 9295 0064 E1E7 b .L598 9296 .L594: 812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9297 .loc 1 812 7 discriminator 10 view .LVU3065 9298 0066 90F84130 ldrb r3, [r0, #65] @ zero_extendqisi2 9299 006a DBB2 uxtb r3, r3 812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9300 .loc 1 812 44 discriminator 10 view .LVU3066 9301 006c 013B subs r3, r3, #1 9302 006e 18BF it ne 9303 0070 0123 movne r3, #1 9304 0072 DAE7 b .L598 9305 .L592: 812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9306 .loc 1 812 7 discriminator 13 view .LVU3067 9307 0074 90F84230 ldrb r3, [r0, #66] @ zero_extendqisi2 9308 0078 DBB2 uxtb r3, r3 812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9309 .loc 1 812 44 discriminator 13 view .LVU3068 9310 007a 013B subs r3, r3, #1 9311 007c 18BF it ne ARM GAS /tmp/cc0wMqvE.s page 348 9312 007e 0123 movne r3, #1 9313 0080 D3E7 b .L598 9314 .L591: 812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9315 .loc 1 812 7 discriminator 14 view .LVU3069 9316 0082 90F84330 ldrb r3, [r0, #67] @ zero_extendqisi2 9317 0086 DBB2 uxtb r3, r3 812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9318 .loc 1 812 44 discriminator 14 view .LVU3070 9319 0088 013B subs r3, r3, #1 9320 008a 18BF it ne 9321 008c 0123 movne r3, #1 9322 008e CCE7 b .L598 9323 .L606: 818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9324 .loc 1 818 3 discriminator 1 view .LVU3071 9325 0090 0223 movs r3, #2 9326 0092 84F83E30 strb r3, [r4, #62] 9327 .L607: 821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9328 .loc 1 821 3 is_stmt 1 view .LVU3072 9329 0096 0122 movs r2, #1 9330 0098 2068 ldr r0, [r4] 9331 .LVL787: 821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9332 .loc 1 821 3 is_stmt 0 view .LVU3073 9333 009a FFF7FEFF bl TIM_CCxChannelCmd 9334 .LVL788: 823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9335 .loc 1 823 3 is_stmt 1 view .LVU3074 823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9336 .loc 1 823 7 is_stmt 0 view .LVU3075 9337 009e 2368 ldr r3, [r4] 9338 00a0 2D4A ldr r2, .L616 9339 00a2 9342 cmp r3, r2 9340 00a4 0FD0 beq .L608 823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9341 .loc 1 823 7 discriminator 2 view .LVU3076 9342 00a6 02F50062 add r2, r2, #2048 9343 00aa 9342 cmp r3, r2 9344 00ac 0BD0 beq .L608 823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9345 .loc 1 823 7 discriminator 4 view .LVU3077 9346 00ae 02F54062 add r2, r2, #3072 9347 00b2 9342 cmp r3, r2 9348 00b4 07D0 beq .L608 823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9349 .loc 1 823 7 discriminator 6 view .LVU3078 9350 00b6 02F58062 add r2, r2, #1024 9351 00ba 9342 cmp r3, r2 9352 00bc 03D0 beq .L608 823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9353 .loc 1 823 7 discriminator 8 view .LVU3079 9354 00be 02F58062 add r2, r2, #1024 9355 00c2 9342 cmp r3, r2 9356 00c4 03D1 bne .L609 9357 .L608: ARM GAS /tmp/cc0wMqvE.s page 349 826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9358 .loc 1 826 5 is_stmt 1 view .LVU3080 9359 00c6 5A6C ldr r2, [r3, #68] 9360 00c8 42F40042 orr r2, r2, #32768 9361 00cc 5A64 str r2, [r3, #68] 9362 .L609: 830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9363 .loc 1 830 3 view .LVU3081 830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9364 .loc 1 830 7 is_stmt 0 view .LVU3082 9365 00ce 2368 ldr r3, [r4] 830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9366 .loc 1 830 6 view .LVU3083 9367 00d0 214A ldr r2, .L616 9368 00d2 9342 cmp r3, r2 9369 00d4 2CD0 beq .L610 830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9370 .loc 1 830 7 discriminator 1 view .LVU3084 9371 00d6 B3F1804F cmp r3, #1073741824 9372 00da 29D0 beq .L610 830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9373 .loc 1 830 7 discriminator 2 view .LVU3085 9374 00dc A2F59432 sub r2, r2, #75776 9375 00e0 9342 cmp r3, r2 9376 00e2 25D0 beq .L610 830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9377 .loc 1 830 7 discriminator 3 view .LVU3086 9378 00e4 02F58062 add r2, r2, #1024 9379 00e8 9342 cmp r3, r2 9380 00ea 21D0 beq .L610 830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9381 .loc 1 830 7 discriminator 4 view .LVU3087 9382 00ec 02F59632 add r2, r2, #76800 9383 00f0 9342 cmp r3, r2 9384 00f2 1DD0 beq .L610 830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9385 .loc 1 830 7 discriminator 5 view .LVU3088 9386 00f4 02F54062 add r2, r2, #3072 9387 00f8 9342 cmp r3, r2 9388 00fa 19D0 beq .L610 840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9389 .loc 1 840 5 is_stmt 1 view .LVU3089 9390 00fc 1A68 ldr r2, [r3] 9391 00fe 42F00102 orr r2, r2, #1 9392 0102 1A60 str r2, [r3] 844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9393 .loc 1 844 10 is_stmt 0 view .LVU3090 9394 0104 0020 movs r0, #0 9395 0106 22E0 b .L599 9396 .LVL789: 9397 .L605: 818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9398 .loc 1 818 3 discriminator 3 view .LVU3091 9399 0108 0223 movs r3, #2 9400 010a 84F83F30 strb r3, [r4, #63] 9401 010e C2E7 b .L607 9402 .L604: ARM GAS /tmp/cc0wMqvE.s page 350 818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9403 .loc 1 818 3 discriminator 6 view .LVU3092 9404 0110 0223 movs r3, #2 9405 0112 84F84030 strb r3, [r4, #64] 9406 0116 BEE7 b .L607 9407 .L603: 818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9408 .loc 1 818 3 discriminator 9 view .LVU3093 9409 0118 0223 movs r3, #2 9410 011a 84F84130 strb r3, [r4, #65] 9411 011e BAE7 b .L607 9412 .L601: 818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9413 .loc 1 818 3 discriminator 12 view .LVU3094 9414 0120 0223 movs r3, #2 9415 0122 84F84230 strb r3, [r4, #66] 9416 0126 B6E7 b .L607 9417 .L600: 818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9418 .loc 1 818 3 discriminator 13 view .LVU3095 9419 0128 0223 movs r3, #2 9420 012a 84F84330 strb r3, [r4, #67] 9421 012e B2E7 b .L607 9422 .LVL790: 9423 .L610: 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 9424 .loc 1 832 5 is_stmt 1 view .LVU3096 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 9425 .loc 1 832 29 is_stmt 0 view .LVU3097 9426 0130 9968 ldr r1, [r3, #8] 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 9427 .loc 1 832 13 view .LVU3098 9428 0132 0A4A ldr r2, .L616+4 9429 0134 0A40 ands r2, r2, r1 9430 .LVL791: 833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9431 .loc 1 833 5 is_stmt 1 view .LVU3099 833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9432 .loc 1 833 8 is_stmt 0 view .LVU3100 9433 0136 062A cmp r2, #6 9434 0138 0AD0 beq .L613 833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9435 .loc 1 833 9 discriminator 1 view .LVU3101 9436 013a B2F5803F cmp r2, #65536 9437 013e 09D0 beq .L614 835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9438 .loc 1 835 7 is_stmt 1 view .LVU3102 9439 0140 1A68 ldr r2, [r3] 9440 .LVL792: 835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9441 .loc 1 835 7 is_stmt 0 view .LVU3103 9442 0142 42F00102 orr r2, r2, #1 9443 0146 1A60 str r2, [r3] 844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9444 .loc 1 844 10 view .LVU3104 9445 0148 0020 movs r0, #0 9446 014a 00E0 b .L599 ARM GAS /tmp/cc0wMqvE.s page 351 9447 .LVL793: 9448 .L612: 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9449 .loc 1 814 12 view .LVU3105 9450 014c 0120 movs r0, #1 9451 .LVL794: 9452 .L599: 845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9453 .loc 1 845 1 view .LVU3106 9454 014e 10BD pop {r4, pc} 9455 .LVL795: 9456 .L613: 844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9457 .loc 1 844 10 view .LVU3107 9458 0150 0020 movs r0, #0 9459 0152 FCE7 b .L599 9460 .L614: 9461 0154 0020 movs r0, #0 9462 0156 FAE7 b .L599 9463 .L617: 9464 .align 2 9465 .L616: 9466 0158 002C0140 .word 1073818624 9467 015c 07000100 .word 65543 9468 .cfi_endproc 9469 .LFE343: 9471 .section .text.HAL_TIM_OC_Stop,"ax",%progbits 9472 .align 1 9473 .global HAL_TIM_OC_Stop 9474 .syntax unified 9475 .thumb 9476 .thumb_func 9478 HAL_TIM_OC_Stop: 9479 .LVL796: 9480 .LFB344: 861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 9481 .loc 1 861 1 is_stmt 1 view -0 9482 .cfi_startproc 9483 @ args = 0, pretend = 0, frame = 0 9484 @ frame_needed = 0, uses_anonymous_args = 0 861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 9485 .loc 1 861 1 is_stmt 0 view .LVU3109 9486 0000 38B5 push {r3, r4, r5, lr} 9487 .LCFI86: 9488 .cfi_def_cfa_offset 16 9489 .cfi_offset 3, -16 9490 .cfi_offset 4, -12 9491 .cfi_offset 5, -8 9492 .cfi_offset 14, -4 9493 0002 0446 mov r4, r0 9494 0004 0D46 mov r5, r1 863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9495 .loc 1 863 3 is_stmt 1 view .LVU3110 866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9496 .loc 1 866 3 view .LVU3111 9497 0006 0022 movs r2, #0 9498 0008 0068 ldr r0, [r0] ARM GAS /tmp/cc0wMqvE.s page 352 9499 .LVL797: 866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9500 .loc 1 866 3 is_stmt 0 view .LVU3112 9501 000a FFF7FEFF bl TIM_CCxChannelCmd 9502 .LVL798: 868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9503 .loc 1 868 3 is_stmt 1 view .LVU3113 868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9504 .loc 1 868 7 is_stmt 0 view .LVU3114 9505 000e 2368 ldr r3, [r4] 9506 0010 2A4A ldr r2, .L631 9507 0012 9342 cmp r3, r2 9508 0014 0FD0 beq .L619 868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9509 .loc 1 868 7 discriminator 2 view .LVU3115 9510 0016 02F50062 add r2, r2, #2048 9511 001a 9342 cmp r3, r2 9512 001c 0BD0 beq .L619 868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9513 .loc 1 868 7 discriminator 4 view .LVU3116 9514 001e 02F54062 add r2, r2, #3072 9515 0022 9342 cmp r3, r2 9516 0024 07D0 beq .L619 868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9517 .loc 1 868 7 discriminator 6 view .LVU3117 9518 0026 02F58062 add r2, r2, #1024 9519 002a 9342 cmp r3, r2 9520 002c 03D0 beq .L619 868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9521 .loc 1 868 7 discriminator 8 view .LVU3118 9522 002e 02F58062 add r2, r2, #1024 9523 0032 9342 cmp r3, r2 9524 0034 0DD1 bne .L620 9525 .L619: 871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9526 .loc 1 871 5 is_stmt 1 view .LVU3119 871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9527 .loc 1 871 5 view .LVU3120 9528 0036 196A ldr r1, [r3, #32] 9529 0038 41F21112 movw r2, #4369 9530 003c 1142 tst r1, r2 9531 003e 08D1 bne .L620 871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9532 .loc 1 871 5 discriminator 1 view .LVU3121 9533 0040 196A ldr r1, [r3, #32] 9534 0042 44F24442 movw r2, #17476 9535 0046 1142 tst r1, r2 9536 0048 03D1 bne .L620 871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9537 .loc 1 871 5 discriminator 3 view .LVU3122 9538 004a 5A6C ldr r2, [r3, #68] 9539 004c 22F40042 bic r2, r2, #32768 9540 0050 5A64 str r2, [r3, #68] 9541 .L620: 871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9542 .loc 1 871 5 discriminator 5 view .LVU3123 875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 353 9543 .loc 1 875 3 discriminator 5 view .LVU3124 875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9544 .loc 1 875 3 discriminator 5 view .LVU3125 9545 0052 2368 ldr r3, [r4] 9546 0054 196A ldr r1, [r3, #32] 9547 0056 41F21112 movw r2, #4369 9548 005a 1142 tst r1, r2 9549 005c 08D1 bne .L621 875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9550 .loc 1 875 3 discriminator 1 view .LVU3126 9551 005e 196A ldr r1, [r3, #32] 9552 0060 44F24442 movw r2, #17476 9553 0064 1142 tst r1, r2 9554 0066 03D1 bne .L621 875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9555 .loc 1 875 3 discriminator 3 view .LVU3127 9556 0068 1A68 ldr r2, [r3] 9557 006a 22F00102 bic r2, r2, #1 9558 006e 1A60 str r2, [r3] 9559 .L621: 875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9560 .loc 1 875 3 discriminator 5 view .LVU3128 878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9561 .loc 1 878 3 discriminator 5 view .LVU3129 9562 0070 25B9 cbnz r5, .L622 878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9563 .loc 1 878 3 is_stmt 0 discriminator 1 view .LVU3130 9564 0072 0123 movs r3, #1 9565 0074 84F83E30 strb r3, [r4, #62] 9566 .LVL799: 9567 .L623: 881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9568 .loc 1 881 3 is_stmt 1 view .LVU3131 882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9569 .loc 1 882 1 is_stmt 0 view .LVU3132 9570 0078 0020 movs r0, #0 9571 007a 38BD pop {r3, r4, r5, pc} 9572 .LVL800: 9573 .L622: 882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9574 .loc 1 882 1 view .LVU3133 9575 007c 043D subs r5, r5, #4 9576 .LVL801: 882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9577 .loc 1 882 1 view .LVU3134 9578 007e 0C2D cmp r5, #12 9579 0080 18D8 bhi .L624 9580 0082 DFE805F0 tbb [pc, r5] 9581 .L626: 9582 0086 07 .byte (.L629-.L626)/2 9583 0087 17 .byte (.L624-.L626)/2 9584 0088 17 .byte (.L624-.L626)/2 9585 0089 17 .byte (.L624-.L626)/2 9586 008a 0B .byte (.L628-.L626)/2 9587 008b 17 .byte (.L624-.L626)/2 9588 008c 17 .byte (.L624-.L626)/2 9589 008d 17 .byte (.L624-.L626)/2 ARM GAS /tmp/cc0wMqvE.s page 354 9590 008e 0F .byte (.L627-.L626)/2 9591 008f 17 .byte (.L624-.L626)/2 9592 0090 17 .byte (.L624-.L626)/2 9593 0091 17 .byte (.L624-.L626)/2 9594 0092 13 .byte (.L625-.L626)/2 9595 0093 00 .p2align 1 9596 .L629: 878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9597 .loc 1 878 3 discriminator 3 view .LVU3135 9598 0094 0123 movs r3, #1 9599 0096 84F83F30 strb r3, [r4, #63] 9600 009a EDE7 b .L623 9601 .L628: 878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9602 .loc 1 878 3 discriminator 6 view .LVU3136 9603 009c 0123 movs r3, #1 9604 009e 84F84030 strb r3, [r4, #64] 9605 00a2 E9E7 b .L623 9606 .L627: 878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9607 .loc 1 878 3 discriminator 9 view .LVU3137 9608 00a4 0123 movs r3, #1 9609 00a6 84F84130 strb r3, [r4, #65] 9610 00aa E5E7 b .L623 9611 .L625: 878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9612 .loc 1 878 3 discriminator 12 view .LVU3138 9613 00ac 0123 movs r3, #1 9614 00ae 84F84230 strb r3, [r4, #66] 9615 00b2 E1E7 b .L623 9616 .L624: 878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9617 .loc 1 878 3 discriminator 13 view .LVU3139 9618 00b4 0123 movs r3, #1 9619 00b6 84F84330 strb r3, [r4, #67] 9620 00ba DDE7 b .L623 9621 .L632: 9622 .align 2 9623 .L631: 9624 00bc 002C0140 .word 1073818624 9625 .cfi_endproc 9626 .LFE344: 9628 .section .text.HAL_TIM_OC_Start_IT,"ax",%progbits 9629 .align 1 9630 .global HAL_TIM_OC_Start_IT 9631 .syntax unified 9632 .thumb 9633 .thumb_func 9635 HAL_TIM_OC_Start_IT: 9636 .LVL802: 9637 .LFB345: 896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 9638 .loc 1 896 1 is_stmt 1 view -0 9639 .cfi_startproc 9640 @ args = 0, pretend = 0, frame = 0 9641 @ frame_needed = 0, uses_anonymous_args = 0 896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; ARM GAS /tmp/cc0wMqvE.s page 355 9642 .loc 1 896 1 is_stmt 0 view .LVU3141 9643 0000 10B5 push {r4, lr} 9644 .LCFI87: 9645 .cfi_def_cfa_offset 8 9646 .cfi_offset 4, -8 9647 .cfi_offset 14, -4 9648 0002 0446 mov r4, r0 897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 9649 .loc 1 897 3 is_stmt 1 view .LVU3142 9650 .LVL803: 898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9651 .loc 1 898 3 view .LVU3143 901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9652 .loc 1 901 3 view .LVU3144 904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9653 .loc 1 904 3 view .LVU3145 9654 0004 1029 cmp r1, #16 9655 0006 3DD8 bhi .L634 9656 0008 DFE801F0 tbb [pc, r1] 9657 .L636: 9658 000c 09 .byte (.L640-.L636)/2 9659 000d 3C .byte (.L634-.L636)/2 9660 000e 3C .byte (.L634-.L636)/2 9661 000f 3C .byte (.L634-.L636)/2 9662 0010 20 .byte (.L639-.L636)/2 9663 0011 3C .byte (.L634-.L636)/2 9664 0012 3C .byte (.L634-.L636)/2 9665 0013 3C .byte (.L634-.L636)/2 9666 0014 27 .byte (.L638-.L636)/2 9667 0015 3C .byte (.L634-.L636)/2 9668 0016 3C .byte (.L634-.L636)/2 9669 0017 3C .byte (.L634-.L636)/2 9670 0018 2E .byte (.L637-.L636)/2 9671 0019 3C .byte (.L634-.L636)/2 9672 001a 3C .byte (.L634-.L636)/2 9673 001b 3C .byte (.L634-.L636)/2 9674 001c 35 .byte (.L635-.L636)/2 9675 001d 00 .p2align 1 9676 .L640: 904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9677 .loc 1 904 7 is_stmt 0 discriminator 1 view .LVU3146 9678 001e 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2 9679 0022 DBB2 uxtb r3, r3 904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9680 .loc 1 904 44 discriminator 1 view .LVU3147 9681 0024 013B subs r3, r3, #1 9682 0026 18BF it ne 9683 0028 0123 movne r3, #1 9684 .L641: 904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9685 .loc 1 904 6 discriminator 20 view .LVU3148 9686 002a 002B cmp r3, #0 9687 002c 40F0C280 bne .L660 910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9688 .loc 1 910 3 is_stmt 1 view .LVU3149 9689 0030 1029 cmp r1, #16 9690 0032 00F28F80 bhi .L643 ARM GAS /tmp/cc0wMqvE.s page 356 9691 0036 DFE801F0 tbb [pc, r1] 9692 .L645: 9693 003a 2C .byte (.L649-.L645)/2 9694 003b 8D .byte (.L643-.L645)/2 9695 003c 8D .byte (.L643-.L645)/2 9696 003d 8D .byte (.L643-.L645)/2 9697 003e 6D .byte (.L648-.L645)/2 9698 003f 8D .byte (.L643-.L645)/2 9699 0040 8D .byte (.L643-.L645)/2 9700 0041 8D .byte (.L643-.L645)/2 9701 0042 76 .byte (.L647-.L645)/2 9702 0043 8D .byte (.L643-.L645)/2 9703 0044 8D .byte (.L643-.L645)/2 9704 0045 8D .byte (.L643-.L645)/2 9705 0046 7F .byte (.L646-.L645)/2 9706 0047 8D .byte (.L643-.L645)/2 9707 0048 8D .byte (.L643-.L645)/2 9708 0049 8D .byte (.L643-.L645)/2 9709 004a 88 .byte (.L644-.L645)/2 9710 004b 00 .p2align 1 9711 .L639: 904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9712 .loc 1 904 7 is_stmt 0 discriminator 4 view .LVU3150 9713 004c 90F83F30 ldrb r3, [r0, #63] @ zero_extendqisi2 9714 0050 DBB2 uxtb r3, r3 904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9715 .loc 1 904 44 discriminator 4 view .LVU3151 9716 0052 013B subs r3, r3, #1 9717 0054 18BF it ne 9718 0056 0123 movne r3, #1 9719 0058 E7E7 b .L641 9720 .L638: 904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9721 .loc 1 904 7 discriminator 7 view .LVU3152 9722 005a 90F84030 ldrb r3, [r0, #64] @ zero_extendqisi2 9723 005e DBB2 uxtb r3, r3 904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9724 .loc 1 904 44 discriminator 7 view .LVU3153 9725 0060 013B subs r3, r3, #1 9726 0062 18BF it ne 9727 0064 0123 movne r3, #1 9728 0066 E0E7 b .L641 9729 .L637: 904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9730 .loc 1 904 7 discriminator 10 view .LVU3154 9731 0068 90F84130 ldrb r3, [r0, #65] @ zero_extendqisi2 9732 006c DBB2 uxtb r3, r3 904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9733 .loc 1 904 44 discriminator 10 view .LVU3155 9734 006e 013B subs r3, r3, #1 9735 0070 18BF it ne 9736 0072 0123 movne r3, #1 9737 0074 D9E7 b .L641 9738 .L635: 904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9739 .loc 1 904 7 discriminator 13 view .LVU3156 9740 0076 90F84230 ldrb r3, [r0, #66] @ zero_extendqisi2 ARM GAS /tmp/cc0wMqvE.s page 357 9741 007a DBB2 uxtb r3, r3 904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9742 .loc 1 904 44 discriminator 13 view .LVU3157 9743 007c 013B subs r3, r3, #1 9744 007e 18BF it ne 9745 0080 0123 movne r3, #1 9746 0082 D2E7 b .L641 9747 .L634: 904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9748 .loc 1 904 7 discriminator 14 view .LVU3158 9749 0084 90F84330 ldrb r3, [r0, #67] @ zero_extendqisi2 9750 0088 DBB2 uxtb r3, r3 904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9751 .loc 1 904 44 discriminator 14 view .LVU3159 9752 008a 013B subs r3, r3, #1 9753 008c 18BF it ne 9754 008e 0123 movne r3, #1 9755 0090 CBE7 b .L641 9756 .L649: 910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9757 .loc 1 910 3 view .LVU3160 9758 0092 0223 movs r3, #2 9759 0094 84F83E30 strb r3, [r4, #62] 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9760 .loc 1 912 3 is_stmt 1 view .LVU3161 9761 .L650: 917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 9762 .loc 1 917 7 view .LVU3162 9763 0098 2268 ldr r2, [r4] 9764 009a D368 ldr r3, [r2, #12] 9765 009c 43F00203 orr r3, r3, #2 9766 00a0 D360 str r3, [r2, #12] 918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9767 .loc 1 918 7 view .LVU3163 947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9768 .loc 1 947 3 view .LVU3164 9769 .L655: 950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9770 .loc 1 950 5 view .LVU3165 9771 00a2 0122 movs r2, #1 9772 00a4 2068 ldr r0, [r4] 9773 .LVL804: 950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9774 .loc 1 950 5 is_stmt 0 view .LVU3166 9775 00a6 FFF7FEFF bl TIM_CCxChannelCmd 9776 .LVL805: 952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9777 .loc 1 952 5 is_stmt 1 view .LVU3167 952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9778 .loc 1 952 9 is_stmt 0 view .LVU3168 9779 00aa 2368 ldr r3, [r4] 9780 00ac 454A ldr r2, .L669 9781 00ae 9342 cmp r3, r2 9782 00b0 0FD0 beq .L656 952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9783 .loc 1 952 9 discriminator 2 view .LVU3169 9784 00b2 02F50062 add r2, r2, #2048 ARM GAS /tmp/cc0wMqvE.s page 358 9785 00b6 9342 cmp r3, r2 9786 00b8 0BD0 beq .L656 952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9787 .loc 1 952 9 discriminator 4 view .LVU3170 9788 00ba 02F54062 add r2, r2, #3072 9789 00be 9342 cmp r3, r2 9790 00c0 07D0 beq .L656 952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9791 .loc 1 952 9 discriminator 6 view .LVU3171 9792 00c2 02F58062 add r2, r2, #1024 9793 00c6 9342 cmp r3, r2 9794 00c8 03D0 beq .L656 952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9795 .loc 1 952 9 discriminator 8 view .LVU3172 9796 00ca 02F58062 add r2, r2, #1024 9797 00ce 9342 cmp r3, r2 9798 00d0 03D1 bne .L657 9799 .L656: 955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9800 .loc 1 955 7 is_stmt 1 view .LVU3173 9801 00d2 5A6C ldr r2, [r3, #68] 9802 00d4 42F40042 orr r2, r2, #32768 9803 00d8 5A64 str r2, [r3, #68] 9804 .L657: 959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9805 .loc 1 959 5 view .LVU3174 959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9806 .loc 1 959 9 is_stmt 0 view .LVU3175 9807 00da 2368 ldr r3, [r4] 959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9808 .loc 1 959 8 view .LVU3176 9809 00dc 394A ldr r2, .L669 9810 00de 9342 cmp r3, r2 9811 00e0 5AD0 beq .L658 959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9812 .loc 1 959 9 discriminator 1 view .LVU3177 9813 00e2 B3F1804F cmp r3, #1073741824 9814 00e6 57D0 beq .L658 959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9815 .loc 1 959 9 discriminator 2 view .LVU3178 9816 00e8 A2F59432 sub r2, r2, #75776 9817 00ec 9342 cmp r3, r2 9818 00ee 53D0 beq .L658 959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9819 .loc 1 959 9 discriminator 3 view .LVU3179 9820 00f0 02F58062 add r2, r2, #1024 9821 00f4 9342 cmp r3, r2 9822 00f6 4FD0 beq .L658 959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9823 .loc 1 959 9 discriminator 4 view .LVU3180 9824 00f8 02F59632 add r2, r2, #76800 9825 00fc 9342 cmp r3, r2 9826 00fe 4BD0 beq .L658 959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9827 .loc 1 959 9 discriminator 5 view .LVU3181 9828 0100 02F54062 add r2, r2, #3072 9829 0104 9342 cmp r3, r2 ARM GAS /tmp/cc0wMqvE.s page 359 9830 0106 47D0 beq .L658 969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9831 .loc 1 969 7 is_stmt 1 view .LVU3182 9832 0108 1A68 ldr r2, [r3] 9833 010a 42F00102 orr r2, r2, #1 9834 010e 1A60 str r2, [r3] 9835 0110 0020 movs r0, #0 9836 0112 50E0 b .L642 9837 .LVL806: 9838 .L648: 910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9839 .loc 1 910 3 is_stmt 0 view .LVU3183 9840 0114 0223 movs r3, #2 9841 0116 84F83F30 strb r3, [r4, #63] 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9842 .loc 1 912 3 is_stmt 1 view .LVU3184 9843 .L651: 924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 9844 .loc 1 924 7 view .LVU3185 9845 011a 2268 ldr r2, [r4] 9846 011c D368 ldr r3, [r2, #12] 9847 011e 43F00403 orr r3, r3, #4 9848 0122 D360 str r3, [r2, #12] 925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9849 .loc 1 925 7 view .LVU3186 947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9850 .loc 1 947 3 view .LVU3187 9851 0124 BDE7 b .L655 9852 .L647: 910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9853 .loc 1 910 3 is_stmt 0 view .LVU3188 9854 0126 0223 movs r3, #2 9855 0128 84F84030 strb r3, [r4, #64] 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9856 .loc 1 912 3 is_stmt 1 view .LVU3189 9857 .L652: 931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 9858 .loc 1 931 7 view .LVU3190 9859 012c 2268 ldr r2, [r4] 9860 012e D368 ldr r3, [r2, #12] 9861 0130 43F00803 orr r3, r3, #8 9862 0134 D360 str r3, [r2, #12] 932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9863 .loc 1 932 7 view .LVU3191 947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9864 .loc 1 947 3 view .LVU3192 9865 0136 B4E7 b .L655 9866 .L646: 910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9867 .loc 1 910 3 is_stmt 0 view .LVU3193 9868 0138 0223 movs r3, #2 9869 013a 84F84130 strb r3, [r4, #65] 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9870 .loc 1 912 3 is_stmt 1 view .LVU3194 9871 .L653: 938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 9872 .loc 1 938 7 view .LVU3195 ARM GAS /tmp/cc0wMqvE.s page 360 9873 013e 2268 ldr r2, [r4] 9874 0140 D368 ldr r3, [r2, #12] 9875 0142 43F01003 orr r3, r3, #16 9876 0146 D360 str r3, [r2, #12] 939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9877 .loc 1 939 7 view .LVU3196 947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9878 .loc 1 947 3 view .LVU3197 9879 0148 ABE7 b .L655 9880 .L644: 910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9881 .loc 1 910 3 is_stmt 0 view .LVU3198 9882 014a 0223 movs r3, #2 9883 014c 84F84230 strb r3, [r4, #66] 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9884 .loc 1 912 3 is_stmt 1 view .LVU3199 910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9885 .loc 1 910 3 is_stmt 0 view .LVU3200 9886 0150 0120 movs r0, #1 9887 .LVL807: 910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9888 .loc 1 910 3 view .LVU3201 9889 0152 30E0 b .L642 9890 .LVL808: 9891 .L643: 910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9892 .loc 1 910 3 discriminator 13 view .LVU3202 9893 0154 0223 movs r3, #2 9894 0156 84F84330 strb r3, [r4, #67] 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9895 .loc 1 912 3 is_stmt 1 discriminator 13 view .LVU3203 9896 015a 0C29 cmp r1, #12 9897 015c 2CD8 bhi .L661 9898 015e 01A3 adr r3, .L654 9899 0160 53F821F0 ldr pc, [r3, r1, lsl #2] 9900 .p2align 2 9901 .L654: 9902 0164 99000000 .word .L650+1 9903 0168 B9010000 .word .L661+1 9904 016c B9010000 .word .L661+1 9905 0170 B9010000 .word .L661+1 9906 0174 1B010000 .word .L651+1 9907 0178 B9010000 .word .L661+1 9908 017c B9010000 .word .L661+1 9909 0180 B9010000 .word .L661+1 9910 0184 2D010000 .word .L652+1 9911 0188 B9010000 .word .L661+1 9912 018c B9010000 .word .L661+1 9913 0190 B9010000 .word .L661+1 9914 0194 3F010000 .word .L653+1 9915 .LVL809: 9916 .p2align 1 9917 .L658: 961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 9918 .loc 1 961 7 view .LVU3204 961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 9919 .loc 1 961 31 is_stmt 0 view .LVU3205 ARM GAS /tmp/cc0wMqvE.s page 361 9920 0198 9968 ldr r1, [r3, #8] 961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 9921 .loc 1 961 15 view .LVU3206 9922 019a 0B4A ldr r2, .L669+4 9923 019c 0A40 ands r2, r2, r1 9924 .LVL810: 962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9925 .loc 1 962 7 is_stmt 1 view .LVU3207 962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9926 .loc 1 962 10 is_stmt 0 view .LVU3208 9927 019e 062A cmp r2, #6 9928 01a0 0CD0 beq .L662 962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9929 .loc 1 962 11 discriminator 1 view .LVU3209 9930 01a2 B2F5803F cmp r2, #65536 9931 01a6 0BD0 beq .L663 964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9932 .loc 1 964 9 is_stmt 1 view .LVU3210 9933 01a8 1A68 ldr r2, [r3] 9934 .LVL811: 964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9935 .loc 1 964 9 is_stmt 0 view .LVU3211 9936 01aa 42F00102 orr r2, r2, #1 9937 01ae 1A60 str r2, [r3] 9938 01b0 0020 movs r0, #0 9939 01b2 00E0 b .L642 9940 .LVL812: 9941 .L660: 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9942 .loc 1 906 12 view .LVU3212 9943 01b4 0120 movs r0, #1 9944 .LVL813: 9945 .L642: 975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9946 .loc 1 975 1 view .LVU3213 9947 01b6 10BD pop {r4, pc} 9948 .LVL814: 9949 .L661: 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9950 .loc 1 912 3 view .LVU3214 9951 01b8 0120 movs r0, #1 9952 .LVL815: 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9953 .loc 1 912 3 view .LVU3215 9954 01ba FCE7 b .L642 9955 .LVL816: 9956 .L662: 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9957 .loc 1 912 3 view .LVU3216 9958 01bc 0020 movs r0, #0 9959 01be FAE7 b .L642 9960 .L663: 9961 01c0 0020 movs r0, #0 9962 01c2 F8E7 b .L642 9963 .L670: 9964 .align 2 9965 .L669: ARM GAS /tmp/cc0wMqvE.s page 362 9966 01c4 002C0140 .word 1073818624 9967 01c8 07000100 .word 65543 9968 .cfi_endproc 9969 .LFE345: 9971 .section .text.HAL_TIM_OC_Stop_IT,"ax",%progbits 9972 .align 1 9973 .global HAL_TIM_OC_Stop_IT 9974 .syntax unified 9975 .thumb 9976 .thumb_func 9978 HAL_TIM_OC_Stop_IT: 9979 .LVL817: 9980 .LFB346: 989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 9981 .loc 1 989 1 is_stmt 1 view -0 9982 .cfi_startproc 9983 @ args = 0, pretend = 0, frame = 0 9984 @ frame_needed = 0, uses_anonymous_args = 0 989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 9985 .loc 1 989 1 is_stmt 0 view .LVU3218 9986 0000 38B5 push {r3, r4, r5, lr} 9987 .LCFI88: 9988 .cfi_def_cfa_offset 16 9989 .cfi_offset 3, -16 9990 .cfi_offset 4, -12 9991 .cfi_offset 5, -8 9992 .cfi_offset 14, -4 9993 0002 0546 mov r5, r0 9994 0004 0C46 mov r4, r1 990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9995 .loc 1 990 3 is_stmt 1 view .LVU3219 9996 .LVL818: 993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9997 .loc 1 993 3 view .LVU3220 995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9998 .loc 1 995 3 view .LVU3221 9999 0006 0C29 cmp r1, #12 10000 0008 00F28180 bhi .L689 10001 000c DFE801F0 tbb [pc, r1] 10002 .L674: 10003 0010 07 .byte (.L677-.L674)/2 10004 0011 7F .byte (.L689-.L674)/2 10005 0012 7F .byte (.L689-.L674)/2 10006 0013 7F .byte (.L689-.L674)/2 10007 0014 48 .byte (.L676-.L674)/2 10008 0015 7F .byte (.L689-.L674)/2 10009 0016 7F .byte (.L689-.L674)/2 10010 0017 7F .byte (.L689-.L674)/2 10011 0018 4E .byte (.L675-.L674)/2 10012 0019 7F .byte (.L689-.L674)/2 10013 001a 7F .byte (.L689-.L674)/2 10014 001b 7F .byte (.L689-.L674)/2 10015 001c 54 .byte (.L673-.L674)/2 10016 001d 00 .p2align 1 10017 .L677: 1000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10018 .loc 1 1000 7 view .LVU3222 ARM GAS /tmp/cc0wMqvE.s page 363 10019 001e 0268 ldr r2, [r0] 10020 0020 D368 ldr r3, [r2, #12] 10021 0022 23F00203 bic r3, r3, #2 10022 0026 D360 str r3, [r2, #12] 1001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10023 .loc 1 1001 7 view .LVU3223 1030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10024 .loc 1 1030 3 view .LVU3224 10025 .L678: 1033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10026 .loc 1 1033 5 view .LVU3225 10027 0028 0022 movs r2, #0 10028 002a 2146 mov r1, r4 10029 .LVL819: 1033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10030 .loc 1 1033 5 is_stmt 0 view .LVU3226 10031 002c 2868 ldr r0, [r5] 10032 .LVL820: 1033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10033 .loc 1 1033 5 view .LVU3227 10034 002e FFF7FEFF bl TIM_CCxChannelCmd 10035 .LVL821: 1035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10036 .loc 1 1035 5 is_stmt 1 view .LVU3228 1035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10037 .loc 1 1035 9 is_stmt 0 view .LVU3229 10038 0032 2B68 ldr r3, [r5] 10039 0034 374A ldr r2, .L691 10040 0036 9342 cmp r3, r2 10041 0038 0FD0 beq .L679 1035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10042 .loc 1 1035 9 discriminator 2 view .LVU3230 10043 003a 02F50062 add r2, r2, #2048 10044 003e 9342 cmp r3, r2 10045 0040 0BD0 beq .L679 1035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10046 .loc 1 1035 9 discriminator 4 view .LVU3231 10047 0042 02F54062 add r2, r2, #3072 10048 0046 9342 cmp r3, r2 10049 0048 07D0 beq .L679 1035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10050 .loc 1 1035 9 discriminator 6 view .LVU3232 10051 004a 02F58062 add r2, r2, #1024 10052 004e 9342 cmp r3, r2 10053 0050 03D0 beq .L679 1035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10054 .loc 1 1035 9 discriminator 8 view .LVU3233 10055 0052 02F58062 add r2, r2, #1024 10056 0056 9342 cmp r3, r2 10057 0058 0DD1 bne .L680 10058 .L679: 1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10059 .loc 1 1038 7 is_stmt 1 view .LVU3234 1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10060 .loc 1 1038 7 view .LVU3235 10061 005a 196A ldr r1, [r3, #32] 10062 005c 41F21112 movw r2, #4369 ARM GAS /tmp/cc0wMqvE.s page 364 10063 0060 1142 tst r1, r2 10064 0062 08D1 bne .L680 1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10065 .loc 1 1038 7 discriminator 1 view .LVU3236 10066 0064 196A ldr r1, [r3, #32] 10067 0066 44F24442 movw r2, #17476 10068 006a 1142 tst r1, r2 10069 006c 03D1 bne .L680 1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10070 .loc 1 1038 7 discriminator 3 view .LVU3237 10071 006e 5A6C ldr r2, [r3, #68] 10072 0070 22F40042 bic r2, r2, #32768 10073 0074 5A64 str r2, [r3, #68] 10074 .L680: 1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10075 .loc 1 1038 7 discriminator 5 view .LVU3238 1042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10076 .loc 1 1042 5 discriminator 5 view .LVU3239 1042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10077 .loc 1 1042 5 discriminator 5 view .LVU3240 10078 0076 2B68 ldr r3, [r5] 10079 0078 196A ldr r1, [r3, #32] 10080 007a 41F21112 movw r2, #4369 10081 007e 1142 tst r1, r2 10082 0080 08D1 bne .L681 1042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10083 .loc 1 1042 5 discriminator 1 view .LVU3241 10084 0082 196A ldr r1, [r3, #32] 10085 0084 44F24442 movw r2, #17476 10086 0088 1142 tst r1, r2 10087 008a 03D1 bne .L681 1042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10088 .loc 1 1042 5 discriminator 3 view .LVU3242 10089 008c 1A68 ldr r2, [r3] 10090 008e 22F00102 bic r2, r2, #1 10091 0092 1A60 str r2, [r3] 10092 .L681: 1042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10093 .loc 1 1042 5 discriminator 5 view .LVU3243 1045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10094 .loc 1 1045 5 discriminator 5 view .LVU3244 10095 0094 B4B9 cbnz r4, .L682 1045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10096 .loc 1 1045 5 is_stmt 0 discriminator 1 view .LVU3245 10097 0096 0123 movs r3, #1 10098 0098 85F83E30 strb r3, [r5, #62] 10099 009c 0020 movs r0, #0 10100 009e 37E0 b .L672 10101 .LVL822: 10102 .L676: 1007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10103 .loc 1 1007 7 is_stmt 1 view .LVU3246 10104 00a0 0268 ldr r2, [r0] 10105 00a2 D368 ldr r3, [r2, #12] 10106 00a4 23F00403 bic r3, r3, #4 10107 00a8 D360 str r3, [r2, #12] 1008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 365 10108 .loc 1 1008 7 view .LVU3247 1030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10109 .loc 1 1030 3 view .LVU3248 10110 00aa BDE7 b .L678 10111 .L675: 1014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10112 .loc 1 1014 7 view .LVU3249 10113 00ac 0268 ldr r2, [r0] 10114 00ae D368 ldr r3, [r2, #12] 10115 00b0 23F00803 bic r3, r3, #8 10116 00b4 D360 str r3, [r2, #12] 1015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10117 .loc 1 1015 7 view .LVU3250 1030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10118 .loc 1 1030 3 view .LVU3251 10119 00b6 B7E7 b .L678 10120 .L673: 1021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10121 .loc 1 1021 7 view .LVU3252 10122 00b8 0268 ldr r2, [r0] 10123 00ba D368 ldr r3, [r2, #12] 10124 00bc 23F01003 bic r3, r3, #16 10125 00c0 D360 str r3, [r2, #12] 1022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10126 .loc 1 1022 7 view .LVU3253 1030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10127 .loc 1 1030 3 view .LVU3254 10128 00c2 B1E7 b .L678 10129 .LVL823: 10130 .L682: 1030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10131 .loc 1 1030 3 is_stmt 0 view .LVU3255 10132 00c4 043C subs r4, r4, #4 10133 .LVL824: 1030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10134 .loc 1 1030 3 view .LVU3256 10135 00c6 0C2C cmp r4, #12 10136 00c8 1CD8 bhi .L683 10137 00ca DFE804F0 tbb [pc, r4] 10138 .L685: 10139 00ce 07 .byte (.L688-.L685)/2 10140 00cf 1B .byte (.L683-.L685)/2 10141 00d0 1B .byte (.L683-.L685)/2 10142 00d1 1B .byte (.L683-.L685)/2 10143 00d2 0C .byte (.L687-.L685)/2 10144 00d3 1B .byte (.L683-.L685)/2 10145 00d4 1B .byte (.L683-.L685)/2 10146 00d5 1B .byte (.L683-.L685)/2 10147 00d6 11 .byte (.L686-.L685)/2 10148 00d7 1B .byte (.L683-.L685)/2 10149 00d8 1B .byte (.L683-.L685)/2 10150 00d9 1B .byte (.L683-.L685)/2 10151 00da 16 .byte (.L684-.L685)/2 10152 00db 00 .p2align 1 10153 .L688: 1045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10154 .loc 1 1045 5 discriminator 3 view .LVU3257 ARM GAS /tmp/cc0wMqvE.s page 366 10155 00dc 0123 movs r3, #1 10156 00de 85F83F30 strb r3, [r5, #63] 10157 00e2 0020 movs r0, #0 10158 00e4 14E0 b .L672 10159 .L687: 1045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10160 .loc 1 1045 5 discriminator 6 view .LVU3258 10161 00e6 0123 movs r3, #1 10162 00e8 85F84030 strb r3, [r5, #64] 10163 00ec 0020 movs r0, #0 10164 00ee 0FE0 b .L672 10165 .L686: 1045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10166 .loc 1 1045 5 discriminator 9 view .LVU3259 10167 00f0 0123 movs r3, #1 10168 00f2 85F84130 strb r3, [r5, #65] 10169 00f6 0020 movs r0, #0 10170 00f8 0AE0 b .L672 10171 .L684: 1045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10172 .loc 1 1045 5 discriminator 12 view .LVU3260 10173 00fa 0123 movs r3, #1 10174 00fc 85F84230 strb r3, [r5, #66] 10175 0100 0020 movs r0, #0 10176 0102 05E0 b .L672 10177 .L683: 1045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10178 .loc 1 1045 5 discriminator 13 view .LVU3261 10179 0104 0123 movs r3, #1 10180 0106 85F84330 strb r3, [r5, #67] 10181 010a 0020 movs r0, #0 10182 010c 00E0 b .L672 10183 .LVL825: 10184 .L689: 995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10185 .loc 1 995 3 view .LVU3262 10186 010e 0120 movs r0, #1 10187 .LVL826: 10188 .L672: 1049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10189 .loc 1 1049 3 is_stmt 1 view .LVU3263 1050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10190 .loc 1 1050 1 is_stmt 0 view .LVU3264 10191 0110 38BD pop {r3, r4, r5, pc} 10192 .LVL827: 10193 .L692: 1050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10194 .loc 1 1050 1 view .LVU3265 10195 0112 00BF .align 2 10196 .L691: 10197 0114 002C0140 .word 1073818624 10198 .cfi_endproc 10199 .LFE346: 10201 .section .text.HAL_TIM_OC_Start_DMA,"ax",%progbits 10202 .align 1 10203 .global HAL_TIM_OC_Start_DMA 10204 .syntax unified ARM GAS /tmp/cc0wMqvE.s page 367 10205 .thumb 10206 .thumb_func 10208 HAL_TIM_OC_Start_DMA: 10209 .LVL828: 10210 .LFB347: 1066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 10211 .loc 1 1066 1 is_stmt 1 view -0 10212 .cfi_startproc 10213 @ args = 0, pretend = 0, frame = 0 10214 @ frame_needed = 0, uses_anonymous_args = 0 1066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 10215 .loc 1 1066 1 is_stmt 0 view .LVU3267 10216 0000 38B5 push {r3, r4, r5, lr} 10217 .LCFI89: 10218 .cfi_def_cfa_offset 16 10219 .cfi_offset 3, -16 10220 .cfi_offset 4, -12 10221 .cfi_offset 5, -8 10222 .cfi_offset 14, -4 10223 0002 0446 mov r4, r0 10224 0004 0D46 mov r5, r1 10225 0006 1146 mov r1, r2 10226 .LVL829: 1067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 10227 .loc 1 1067 3 is_stmt 1 view .LVU3268 1068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10228 .loc 1 1068 3 view .LVU3269 1071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10229 .loc 1 1071 3 view .LVU3270 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10230 .loc 1 1074 3 view .LVU3271 10231 0008 102D cmp r5, #16 10232 000a 41D8 bhi .L694 10233 000c DFE805F0 tbb [pc, r5] 10234 .LVL830: 10235 .L696: 10236 0010 09 .byte (.L700-.L696)/2 10237 0011 40 .byte (.L694-.L696)/2 10238 0012 40 .byte (.L694-.L696)/2 10239 0013 40 .byte (.L694-.L696)/2 10240 0014 20 .byte (.L699-.L696)/2 10241 0015 40 .byte (.L694-.L696)/2 10242 0016 40 .byte (.L694-.L696)/2 10243 0017 40 .byte (.L694-.L696)/2 10244 0018 28 .byte (.L698-.L696)/2 10245 0019 40 .byte (.L694-.L696)/2 10246 001a 40 .byte (.L694-.L696)/2 10247 001b 40 .byte (.L694-.L696)/2 10248 001c 30 .byte (.L697-.L696)/2 10249 001d 40 .byte (.L694-.L696)/2 10250 001e 40 .byte (.L694-.L696)/2 10251 001f 40 .byte (.L694-.L696)/2 10252 0020 38 .byte (.L695-.L696)/2 10253 0021 00 .p2align 1 10254 .L700: 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10255 .loc 1 1074 7 is_stmt 0 discriminator 1 view .LVU3272 ARM GAS /tmp/cc0wMqvE.s page 368 10256 0022 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 10257 .LVL831: 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10258 .loc 1 1074 7 discriminator 1 view .LVU3273 10259 0026 C0B2 uxtb r0, r0 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10260 .loc 1 1074 44 discriminator 1 view .LVU3274 10261 0028 0228 cmp r0, #2 10262 002a 14BF ite ne 10263 002c 0020 movne r0, #0 10264 002e 0120 moveq r0, #1 10265 .L701: 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10266 .loc 1 1074 6 discriminator 20 view .LVU3275 10267 0030 0028 cmp r0, #0 10268 0032 40F05981 bne .L729 1078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10269 .loc 1 1078 8 is_stmt 1 view .LVU3276 10270 0036 102D cmp r5, #16 10271 0038 74D8 bhi .L703 10272 003a DFE805F0 tbb [pc, r5] 10273 .L705: 10274 003e 31 .byte (.L709-.L705)/2 10275 003f 73 .byte (.L703-.L705)/2 10276 0040 73 .byte (.L703-.L705)/2 10277 0041 73 .byte (.L703-.L705)/2 10278 0042 53 .byte (.L708-.L705)/2 10279 0043 73 .byte (.L703-.L705)/2 10280 0044 73 .byte (.L703-.L705)/2 10281 0045 73 .byte (.L703-.L705)/2 10282 0046 5B .byte (.L707-.L705)/2 10283 0047 73 .byte (.L703-.L705)/2 10284 0048 73 .byte (.L703-.L705)/2 10285 0049 73 .byte (.L703-.L705)/2 10286 004a 63 .byte (.L706-.L705)/2 10287 004b 73 .byte (.L703-.L705)/2 10288 004c 73 .byte (.L703-.L705)/2 10289 004d 73 .byte (.L703-.L705)/2 10290 004e 6B .byte (.L704-.L705)/2 10291 .LVL832: 10292 004f 00 .p2align 1 10293 .L699: 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10294 .loc 1 1074 7 is_stmt 0 discriminator 4 view .LVU3277 10295 0050 90F83F00 ldrb r0, [r0, #63] @ zero_extendqisi2 10296 .LVL833: 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10297 .loc 1 1074 7 discriminator 4 view .LVU3278 10298 0054 C0B2 uxtb r0, r0 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10299 .loc 1 1074 44 discriminator 4 view .LVU3279 10300 0056 0228 cmp r0, #2 10301 0058 14BF ite ne 10302 005a 0020 movne r0, #0 10303 005c 0120 moveq r0, #1 10304 005e E7E7 b .L701 10305 .LVL834: ARM GAS /tmp/cc0wMqvE.s page 369 10306 .L698: 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10307 .loc 1 1074 7 discriminator 7 view .LVU3280 10308 0060 90F84000 ldrb r0, [r0, #64] @ zero_extendqisi2 10309 .LVL835: 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10310 .loc 1 1074 7 discriminator 7 view .LVU3281 10311 0064 C0B2 uxtb r0, r0 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10312 .loc 1 1074 44 discriminator 7 view .LVU3282 10313 0066 0228 cmp r0, #2 10314 0068 14BF ite ne 10315 006a 0020 movne r0, #0 10316 006c 0120 moveq r0, #1 10317 006e DFE7 b .L701 10318 .LVL836: 10319 .L697: 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10320 .loc 1 1074 7 discriminator 10 view .LVU3283 10321 0070 90F84100 ldrb r0, [r0, #65] @ zero_extendqisi2 10322 .LVL837: 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10323 .loc 1 1074 7 discriminator 10 view .LVU3284 10324 0074 C0B2 uxtb r0, r0 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10325 .loc 1 1074 44 discriminator 10 view .LVU3285 10326 0076 0228 cmp r0, #2 10327 0078 14BF ite ne 10328 007a 0020 movne r0, #0 10329 007c 0120 moveq r0, #1 10330 007e D7E7 b .L701 10331 .LVL838: 10332 .L695: 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10333 .loc 1 1074 7 discriminator 13 view .LVU3286 10334 0080 90F84200 ldrb r0, [r0, #66] @ zero_extendqisi2 10335 .LVL839: 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10336 .loc 1 1074 7 discriminator 13 view .LVU3287 10337 0084 C0B2 uxtb r0, r0 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10338 .loc 1 1074 44 discriminator 13 view .LVU3288 10339 0086 0228 cmp r0, #2 10340 0088 14BF ite ne 10341 008a 0020 movne r0, #0 10342 008c 0120 moveq r0, #1 10343 008e CFE7 b .L701 10344 .LVL840: 10345 .L694: 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10346 .loc 1 1074 7 discriminator 14 view .LVU3289 10347 0090 90F84300 ldrb r0, [r0, #67] @ zero_extendqisi2 10348 .LVL841: 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10349 .loc 1 1074 7 discriminator 14 view .LVU3290 10350 0094 C0B2 uxtb r0, r0 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 370 10351 .loc 1 1074 44 discriminator 14 view .LVU3291 10352 0096 0228 cmp r0, #2 10353 0098 14BF ite ne 10354 009a 0020 movne r0, #0 10355 009c 0120 moveq r0, #1 10356 009e C7E7 b .L701 10357 .L709: 1078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10358 .loc 1 1078 12 discriminator 1 view .LVU3292 10359 00a0 94F83E20 ldrb r2, [r4, #62] @ zero_extendqisi2 10360 00a4 D2B2 uxtb r2, r2 1078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10361 .loc 1 1078 49 discriminator 1 view .LVU3293 10362 00a6 012A cmp r2, #1 10363 00a8 14BF ite ne 10364 00aa 0022 movne r2, #0 10365 00ac 0122 moveq r2, #1 10366 .L710: 1078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10367 .loc 1 1078 11 discriminator 20 view .LVU3294 10368 00ae 002A cmp r2, #0 10369 00b0 00F01C81 beq .L730 1080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10370 .loc 1 1080 5 is_stmt 1 view .LVU3295 1080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10371 .loc 1 1080 8 is_stmt 0 view .LVU3296 10372 00b4 0029 cmp r1, #0 10373 00b6 3DD0 beq .L744 10374 .L711: 1086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10375 .loc 1 1086 7 is_stmt 1 view .LVU3297 10376 00b8 102D cmp r5, #16 10377 00ba 00F2E580 bhi .L712 10378 00be DFE815F0 tbh [pc, r5, lsl #1] 10379 .L714: 10380 00c2 3D00 .2byte (.L718-.L714)/2 10381 00c4 E300 .2byte (.L712-.L714)/2 10382 00c6 E300 .2byte (.L712-.L714)/2 10383 00c8 E300 .2byte (.L712-.L714)/2 10384 00ca 9300 .2byte (.L717-.L714)/2 10385 00cc E300 .2byte (.L712-.L714)/2 10386 00ce E300 .2byte (.L712-.L714)/2 10387 00d0 E300 .2byte (.L712-.L714)/2 10388 00d2 AC00 .2byte (.L716-.L714)/2 10389 00d4 E300 .2byte (.L712-.L714)/2 10390 00d6 E300 .2byte (.L712-.L714)/2 10391 00d8 E300 .2byte (.L712-.L714)/2 10392 00da C500 .2byte (.L715-.L714)/2 10393 00dc E300 .2byte (.L712-.L714)/2 10394 00de E300 .2byte (.L712-.L714)/2 10395 00e0 E300 .2byte (.L712-.L714)/2 10396 00e2 DE00 .2byte (.L713-.L714)/2 10397 .p2align 1 10398 .L708: 1078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10399 .loc 1 1078 12 is_stmt 0 discriminator 4 view .LVU3298 10400 00e4 94F83F20 ldrb r2, [r4, #63] @ zero_extendqisi2 ARM GAS /tmp/cc0wMqvE.s page 371 10401 00e8 D2B2 uxtb r2, r2 1078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10402 .loc 1 1078 49 discriminator 4 view .LVU3299 10403 00ea 012A cmp r2, #1 10404 00ec 14BF ite ne 10405 00ee 0022 movne r2, #0 10406 00f0 0122 moveq r2, #1 10407 00f2 DCE7 b .L710 10408 .L707: 1078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10409 .loc 1 1078 12 discriminator 7 view .LVU3300 10410 00f4 94F84020 ldrb r2, [r4, #64] @ zero_extendqisi2 10411 00f8 D2B2 uxtb r2, r2 1078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10412 .loc 1 1078 49 discriminator 7 view .LVU3301 10413 00fa 012A cmp r2, #1 10414 00fc 14BF ite ne 10415 00fe 0022 movne r2, #0 10416 0100 0122 moveq r2, #1 10417 0102 D4E7 b .L710 10418 .L706: 1078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10419 .loc 1 1078 12 discriminator 10 view .LVU3302 10420 0104 94F84120 ldrb r2, [r4, #65] @ zero_extendqisi2 10421 0108 D2B2 uxtb r2, r2 1078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10422 .loc 1 1078 49 discriminator 10 view .LVU3303 10423 010a 012A cmp r2, #1 10424 010c 14BF ite ne 10425 010e 0022 movne r2, #0 10426 0110 0122 moveq r2, #1 10427 0112 CCE7 b .L710 10428 .L704: 1078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10429 .loc 1 1078 12 discriminator 13 view .LVU3304 10430 0114 94F84220 ldrb r2, [r4, #66] @ zero_extendqisi2 10431 0118 D2B2 uxtb r2, r2 1078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10432 .loc 1 1078 49 discriminator 13 view .LVU3305 10433 011a 012A cmp r2, #1 10434 011c 14BF ite ne 10435 011e 0022 movne r2, #0 10436 0120 0122 moveq r2, #1 10437 0122 C4E7 b .L710 10438 .L703: 1078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10439 .loc 1 1078 12 discriminator 14 view .LVU3306 10440 0124 94F84320 ldrb r2, [r4, #67] @ zero_extendqisi2 10441 0128 D2B2 uxtb r2, r2 1078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10442 .loc 1 1078 49 discriminator 14 view .LVU3307 10443 012a 012A cmp r2, #1 10444 012c 14BF ite ne 10445 012e 0022 movne r2, #0 10446 0130 0122 moveq r2, #1 10447 0132 BCE7 b .L710 10448 .L744: ARM GAS /tmp/cc0wMqvE.s page 372 1080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10449 .loc 1 1080 25 discriminator 1 view .LVU3308 10450 0134 002B cmp r3, #0 10451 0136 BFD0 beq .L711 1082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10452 .loc 1 1082 14 view .LVU3309 10453 0138 0120 movs r0, #1 10454 013a D8E0 b .L702 10455 .L718: 1086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10456 .loc 1 1086 7 view .LVU3310 10457 013c 0222 movs r2, #2 10458 013e 84F83E20 strb r2, [r4, #62] 1094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10459 .loc 1 1094 3 is_stmt 1 view .LVU3311 10460 .L719: 1099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10461 .loc 1 1099 7 view .LVU3312 1099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10462 .loc 1 1099 17 is_stmt 0 view .LVU3313 10463 0142 626A ldr r2, [r4, #36] 1099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10464 .loc 1 1099 52 view .LVU3314 10465 0144 7148 ldr r0, .L745 10466 0146 D062 str r0, [r2, #44] 1100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10467 .loc 1 1100 7 is_stmt 1 view .LVU3315 1100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10468 .loc 1 1100 17 is_stmt 0 view .LVU3316 10469 0148 626A ldr r2, [r4, #36] 1100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10470 .loc 1 1100 56 view .LVU3317 10471 014a 7148 ldr r0, .L745+4 10472 014c 1063 str r0, [r2, #48] 1103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10473 .loc 1 1103 7 is_stmt 1 view .LVU3318 1103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10474 .loc 1 1103 17 is_stmt 0 view .LVU3319 10475 014e 626A ldr r2, [r4, #36] 1103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10476 .loc 1 1103 53 view .LVU3320 10477 0150 7048 ldr r0, .L745+8 10478 0152 5063 str r0, [r2, #52] 1106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10479 .loc 1 1106 7 is_stmt 1 view .LVU3321 1106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10480 .loc 1 1106 88 is_stmt 0 view .LVU3322 10481 0154 2268 ldr r2, [r4] 1106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10482 .loc 1 1106 11 view .LVU3323 10483 0156 3432 adds r2, r2, #52 10484 0158 606A ldr r0, [r4, #36] 10485 015a FFF7FEFF bl HAL_DMA_Start_IT 10486 .LVL842: 1106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10487 .loc 1 1106 10 view .LVU3324 10488 015e 0028 cmp r0, #0 ARM GAS /tmp/cc0wMqvE.s page 373 10489 0160 40F0C880 bne .L733 1114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10490 .loc 1 1114 7 is_stmt 1 view .LVU3325 10491 0164 2268 ldr r2, [r4] 10492 0166 D368 ldr r3, [r2, #12] 10493 0168 43F40073 orr r3, r3, #512 10494 016c D360 str r3, [r2, #12] 1115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10495 .loc 1 1115 7 view .LVU3326 1187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10496 .loc 1 1187 3 view .LVU3327 10497 .L724: 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10498 .loc 1 1190 5 view .LVU3328 10499 016e 0122 movs r2, #1 10500 0170 2946 mov r1, r5 10501 0172 2068 ldr r0, [r4] 10502 0174 FFF7FEFF bl TIM_CCxChannelCmd 10503 .LVL843: 1192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10504 .loc 1 1192 5 view .LVU3329 1192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10505 .loc 1 1192 9 is_stmt 0 view .LVU3330 10506 0178 2368 ldr r3, [r4] 10507 017a 674A ldr r2, .L745+12 10508 017c 9342 cmp r3, r2 10509 017e 0FD0 beq .L725 1192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10510 .loc 1 1192 9 discriminator 2 view .LVU3331 10511 0180 02F50062 add r2, r2, #2048 10512 0184 9342 cmp r3, r2 10513 0186 0BD0 beq .L725 1192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10514 .loc 1 1192 9 discriminator 4 view .LVU3332 10515 0188 02F54062 add r2, r2, #3072 10516 018c 9342 cmp r3, r2 10517 018e 07D0 beq .L725 1192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10518 .loc 1 1192 9 discriminator 6 view .LVU3333 10519 0190 02F58062 add r2, r2, #1024 10520 0194 9342 cmp r3, r2 10521 0196 03D0 beq .L725 1192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10522 .loc 1 1192 9 discriminator 8 view .LVU3334 10523 0198 02F58062 add r2, r2, #1024 10524 019c 9342 cmp r3, r2 10525 019e 03D1 bne .L726 10526 .L725: 1195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10527 .loc 1 1195 7 is_stmt 1 view .LVU3335 10528 01a0 5A6C ldr r2, [r3, #68] 10529 01a2 42F40042 orr r2, r2, #32768 10530 01a6 5A64 str r2, [r3, #68] 10531 .L726: 1199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10532 .loc 1 1199 5 view .LVU3336 1199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 374 10533 .loc 1 1199 9 is_stmt 0 view .LVU3337 10534 01a8 2368 ldr r3, [r4] 1199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10535 .loc 1 1199 8 view .LVU3338 10536 01aa 5B4A ldr r2, .L745+12 10537 01ac 9342 cmp r3, r2 10538 01ae 00F08D80 beq .L727 1199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10539 .loc 1 1199 9 discriminator 1 view .LVU3339 10540 01b2 B3F1804F cmp r3, #1073741824 10541 01b6 00F08980 beq .L727 1199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10542 .loc 1 1199 9 discriminator 2 view .LVU3340 10543 01ba A2F59432 sub r2, r2, #75776 10544 01be 9342 cmp r3, r2 10545 01c0 00F08480 beq .L727 1199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10546 .loc 1 1199 9 discriminator 3 view .LVU3341 10547 01c4 02F58062 add r2, r2, #1024 10548 01c8 9342 cmp r3, r2 10549 01ca 7FD0 beq .L727 1199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10550 .loc 1 1199 9 discriminator 4 view .LVU3342 10551 01cc 02F59632 add r2, r2, #76800 10552 01d0 9342 cmp r3, r2 10553 01d2 7BD0 beq .L727 1199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10554 .loc 1 1199 9 discriminator 5 view .LVU3343 10555 01d4 02F54062 add r2, r2, #3072 10556 01d8 9342 cmp r3, r2 10557 01da 77D0 beq .L727 1209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10558 .loc 1 1209 7 is_stmt 1 view .LVU3344 10559 01dc 1A68 ldr r2, [r3] 10560 01de 42F00102 orr r2, r2, #1 10561 01e2 1A60 str r2, [r3] 10562 01e4 0020 movs r0, #0 10563 01e6 82E0 b .L702 10564 .LVL844: 10565 .L717: 1086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10566 .loc 1 1086 7 is_stmt 0 view .LVU3345 10567 01e8 0222 movs r2, #2 10568 01ea 84F83F20 strb r2, [r4, #63] 1094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10569 .loc 1 1094 3 is_stmt 1 view .LVU3346 10570 .L720: 1121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10571 .loc 1 1121 7 view .LVU3347 1121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10572 .loc 1 1121 17 is_stmt 0 view .LVU3348 10573 01ee A26A ldr r2, [r4, #40] 1121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10574 .loc 1 1121 52 view .LVU3349 10575 01f0 4648 ldr r0, .L745 10576 01f2 D062 str r0, [r2, #44] 1122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 375 10577 .loc 1 1122 7 is_stmt 1 view .LVU3350 1122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10578 .loc 1 1122 17 is_stmt 0 view .LVU3351 10579 01f4 A26A ldr r2, [r4, #40] 1122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10580 .loc 1 1122 56 view .LVU3352 10581 01f6 4648 ldr r0, .L745+4 10582 01f8 1063 str r0, [r2, #48] 1125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10583 .loc 1 1125 7 is_stmt 1 view .LVU3353 1125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10584 .loc 1 1125 17 is_stmt 0 view .LVU3354 10585 01fa A26A ldr r2, [r4, #40] 1125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10586 .loc 1 1125 53 view .LVU3355 10587 01fc 4548 ldr r0, .L745+8 10588 01fe 5063 str r0, [r2, #52] 1128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10589 .loc 1 1128 7 is_stmt 1 view .LVU3356 1128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10590 .loc 1 1128 88 is_stmt 0 view .LVU3357 10591 0200 2268 ldr r2, [r4] 1128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10592 .loc 1 1128 11 view .LVU3358 10593 0202 3832 adds r2, r2, #56 10594 0204 A06A ldr r0, [r4, #40] 10595 0206 FFF7FEFF bl HAL_DMA_Start_IT 10596 .LVL845: 1128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10597 .loc 1 1128 10 view .LVU3359 10598 020a 0028 cmp r0, #0 10599 020c 74D1 bne .L734 1136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10600 .loc 1 1136 7 is_stmt 1 view .LVU3360 10601 020e 2268 ldr r2, [r4] 10602 0210 D368 ldr r3, [r2, #12] 10603 0212 43F48063 orr r3, r3, #1024 10604 0216 D360 str r3, [r2, #12] 1137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10605 .loc 1 1137 7 view .LVU3361 1187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10606 .loc 1 1187 3 view .LVU3362 10607 0218 A9E7 b .L724 10608 .LVL846: 10609 .L716: 1086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10610 .loc 1 1086 7 is_stmt 0 view .LVU3363 10611 021a 0222 movs r2, #2 10612 021c 84F84020 strb r2, [r4, #64] 1094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10613 .loc 1 1094 3 is_stmt 1 view .LVU3364 10614 .L721: 1143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10615 .loc 1 1143 7 view .LVU3365 1143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10616 .loc 1 1143 17 is_stmt 0 view .LVU3366 10617 0220 E26A ldr r2, [r4, #44] ARM GAS /tmp/cc0wMqvE.s page 376 1143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10618 .loc 1 1143 52 view .LVU3367 10619 0222 3A48 ldr r0, .L745 10620 0224 D062 str r0, [r2, #44] 1144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10621 .loc 1 1144 7 is_stmt 1 view .LVU3368 1144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10622 .loc 1 1144 17 is_stmt 0 view .LVU3369 10623 0226 E26A ldr r2, [r4, #44] 1144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10624 .loc 1 1144 56 view .LVU3370 10625 0228 3948 ldr r0, .L745+4 10626 022a 1063 str r0, [r2, #48] 1147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10627 .loc 1 1147 7 is_stmt 1 view .LVU3371 1147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10628 .loc 1 1147 17 is_stmt 0 view .LVU3372 10629 022c E26A ldr r2, [r4, #44] 1147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10630 .loc 1 1147 53 view .LVU3373 10631 022e 3948 ldr r0, .L745+8 10632 0230 5063 str r0, [r2, #52] 1150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10633 .loc 1 1150 7 is_stmt 1 view .LVU3374 1150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10634 .loc 1 1150 88 is_stmt 0 view .LVU3375 10635 0232 2268 ldr r2, [r4] 1150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10636 .loc 1 1150 11 view .LVU3376 10637 0234 3C32 adds r2, r2, #60 10638 0236 E06A ldr r0, [r4, #44] 10639 0238 FFF7FEFF bl HAL_DMA_Start_IT 10640 .LVL847: 1150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10641 .loc 1 1150 10 view .LVU3377 10642 023c 0028 cmp r0, #0 10643 023e 5DD1 bne .L735 1157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10644 .loc 1 1157 7 is_stmt 1 view .LVU3378 10645 0240 2268 ldr r2, [r4] 10646 0242 D368 ldr r3, [r2, #12] 10647 0244 43F40063 orr r3, r3, #2048 10648 0248 D360 str r3, [r2, #12] 1158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10649 .loc 1 1158 7 view .LVU3379 1187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10650 .loc 1 1187 3 view .LVU3380 10651 024a 90E7 b .L724 10652 .LVL848: 10653 .L715: 1086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10654 .loc 1 1086 7 is_stmt 0 view .LVU3381 10655 024c 0222 movs r2, #2 10656 024e 84F84120 strb r2, [r4, #65] 1094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10657 .loc 1 1094 3 is_stmt 1 view .LVU3382 10658 .L722: ARM GAS /tmp/cc0wMqvE.s page 377 1164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10659 .loc 1 1164 7 view .LVU3383 1164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10660 .loc 1 1164 17 is_stmt 0 view .LVU3384 10661 0252 226B ldr r2, [r4, #48] 1164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10662 .loc 1 1164 52 view .LVU3385 10663 0254 2D48 ldr r0, .L745 10664 0256 D062 str r0, [r2, #44] 1165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10665 .loc 1 1165 7 is_stmt 1 view .LVU3386 1165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10666 .loc 1 1165 17 is_stmt 0 view .LVU3387 10667 0258 226B ldr r2, [r4, #48] 1165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10668 .loc 1 1165 56 view .LVU3388 10669 025a 2D48 ldr r0, .L745+4 10670 025c 1063 str r0, [r2, #48] 1168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10671 .loc 1 1168 7 is_stmt 1 view .LVU3389 1168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10672 .loc 1 1168 17 is_stmt 0 view .LVU3390 10673 025e 226B ldr r2, [r4, #48] 1168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10674 .loc 1 1168 53 view .LVU3391 10675 0260 2C48 ldr r0, .L745+8 10676 0262 5063 str r0, [r2, #52] 1171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10677 .loc 1 1171 7 is_stmt 1 view .LVU3392 1171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10678 .loc 1 1171 88 is_stmt 0 view .LVU3393 10679 0264 2268 ldr r2, [r4] 1171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10680 .loc 1 1171 11 view .LVU3394 10681 0266 4032 adds r2, r2, #64 10682 0268 206B ldr r0, [r4, #48] 10683 026a FFF7FEFF bl HAL_DMA_Start_IT 10684 .LVL849: 1171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10685 .loc 1 1171 10 view .LVU3395 10686 026e 0028 cmp r0, #0 10687 0270 46D1 bne .L736 1178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10688 .loc 1 1178 7 is_stmt 1 view .LVU3396 10689 0272 2268 ldr r2, [r4] 10690 0274 D368 ldr r3, [r2, #12] 10691 0276 43F48053 orr r3, r3, #4096 10692 027a D360 str r3, [r2, #12] 1179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10693 .loc 1 1179 7 view .LVU3397 1187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10694 .loc 1 1187 3 view .LVU3398 10695 027c 77E7 b .L724 10696 .LVL850: 10697 .L713: 1086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10698 .loc 1 1086 7 is_stmt 0 view .LVU3399 ARM GAS /tmp/cc0wMqvE.s page 378 10699 027e 0223 movs r3, #2 10700 .LVL851: 1086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10701 .loc 1 1086 7 view .LVU3400 10702 0280 84F84230 strb r3, [r4, #66] 1094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10703 .loc 1 1094 3 is_stmt 1 view .LVU3401 1086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10704 .loc 1 1086 7 is_stmt 0 view .LVU3402 10705 0284 0120 movs r0, #1 10706 0286 32E0 b .L702 10707 .LVL852: 10708 .L712: 1086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10709 .loc 1 1086 7 discriminator 13 view .LVU3403 10710 0288 0222 movs r2, #2 10711 028a 84F84320 strb r2, [r4, #67] 1094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10712 .loc 1 1094 3 is_stmt 1 discriminator 13 view .LVU3404 10713 028e 0C2D cmp r5, #12 10714 0290 2ED8 bhi .L732 10715 0292 01A2 adr r2, .L723 10716 0294 52F825F0 ldr pc, [r2, r5, lsl #2] 10717 .p2align 2 10718 .L723: 10719 0298 43010000 .word .L719+1 10720 029c F1020000 .word .L732+1 10721 02a0 F1020000 .word .L732+1 10722 02a4 F1020000 .word .L732+1 10723 02a8 EF010000 .word .L720+1 10724 02ac F1020000 .word .L732+1 10725 02b0 F1020000 .word .L732+1 10726 02b4 F1020000 .word .L732+1 10727 02b8 21020000 .word .L721+1 10728 02bc F1020000 .word .L732+1 10729 02c0 F1020000 .word .L732+1 10730 02c4 F1020000 .word .L732+1 10731 02c8 53020000 .word .L722+1 10732 .LVL853: 10733 .p2align 1 10734 .L727: 1201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 10735 .loc 1 1201 7 view .LVU3405 1201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 10736 .loc 1 1201 31 is_stmt 0 view .LVU3406 10737 02cc 9968 ldr r1, [r3, #8] 1201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 10738 .loc 1 1201 15 view .LVU3407 10739 02ce 134A ldr r2, .L745+16 10740 02d0 0A40 ands r2, r2, r1 10741 .LVL854: 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10742 .loc 1 1202 7 is_stmt 1 view .LVU3408 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10743 .loc 1 1202 10 is_stmt 0 view .LVU3409 10744 02d2 062A cmp r2, #6 10745 02d4 16D0 beq .L737 ARM GAS /tmp/cc0wMqvE.s page 379 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10746 .loc 1 1202 11 discriminator 1 view .LVU3410 10747 02d6 B2F5803F cmp r2, #65536 10748 02da 15D0 beq .L738 1204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10749 .loc 1 1204 9 is_stmt 1 view .LVU3411 10750 02dc 1A68 ldr r2, [r3] 10751 .LVL855: 1204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10752 .loc 1 1204 9 is_stmt 0 view .LVU3412 10753 02de 42F00102 orr r2, r2, #1 10754 02e2 1A60 str r2, [r3] 10755 02e4 0020 movs r0, #0 10756 02e6 02E0 b .L702 10757 .LVL856: 10758 .L729: 1076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10759 .loc 1 1076 12 view .LVU3413 10760 02e8 0220 movs r0, #2 10761 02ea 00E0 b .L702 10762 .L730: 1091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10763 .loc 1 1091 12 view .LVU3414 10764 02ec 0120 movs r0, #1 10765 .LVL857: 10766 .L702: 1215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10767 .loc 1 1215 1 view .LVU3415 10768 02ee 38BD pop {r3, r4, r5, pc} 10769 .LVL858: 10770 .L732: 1094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10771 .loc 1 1094 3 view .LVU3416 10772 02f0 0120 movs r0, #1 10773 02f2 FCE7 b .L702 10774 .LVL859: 10775 .L733: 1110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10776 .loc 1 1110 16 view .LVU3417 10777 02f4 0120 movs r0, #1 10778 02f6 FAE7 b .L702 10779 .L734: 1132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10780 .loc 1 1132 16 view .LVU3418 10781 02f8 0120 movs r0, #1 10782 02fa F8E7 b .L702 10783 .L735: 1154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10784 .loc 1 1154 16 view .LVU3419 10785 02fc 0120 movs r0, #1 10786 02fe F6E7 b .L702 10787 .L736: 1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10788 .loc 1 1175 16 view .LVU3420 10789 0300 0120 movs r0, #1 10790 0302 F4E7 b .L702 10791 .LVL860: ARM GAS /tmp/cc0wMqvE.s page 380 10792 .L737: 1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10793 .loc 1 1175 16 view .LVU3421 10794 0304 0020 movs r0, #0 10795 0306 F2E7 b .L702 10796 .L738: 10797 0308 0020 movs r0, #0 10798 030a F0E7 b .L702 10799 .L746: 10800 .align 2 10801 .L745: 10802 030c 00000000 .word TIM_DMADelayPulseCplt 10803 0310 00000000 .word TIM_DMADelayPulseHalfCplt 10804 0314 00000000 .word TIM_DMAError 10805 0318 002C0140 .word 1073818624 10806 031c 07000100 .word 65543 10807 .cfi_endproc 10808 .LFE347: 10810 .section .text.HAL_TIM_OC_Stop_DMA,"ax",%progbits 10811 .align 1 10812 .global HAL_TIM_OC_Stop_DMA 10813 .syntax unified 10814 .thumb 10815 .thumb_func 10817 HAL_TIM_OC_Stop_DMA: 10818 .LVL861: 10819 .LFB348: 1229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 10820 .loc 1 1229 1 is_stmt 1 view -0 10821 .cfi_startproc 10822 @ args = 0, pretend = 0, frame = 0 10823 @ frame_needed = 0, uses_anonymous_args = 0 1229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 10824 .loc 1 1229 1 is_stmt 0 view .LVU3423 10825 0000 38B5 push {r3, r4, r5, lr} 10826 .LCFI90: 10827 .cfi_def_cfa_offset 16 10828 .cfi_offset 3, -16 10829 .cfi_offset 4, -12 10830 .cfi_offset 5, -8 10831 .cfi_offset 14, -4 10832 0002 0546 mov r5, r0 10833 0004 0C46 mov r4, r1 1230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10834 .loc 1 1230 3 is_stmt 1 view .LVU3424 10835 .LVL862: 1233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10836 .loc 1 1233 3 view .LVU3425 1235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10837 .loc 1 1235 3 view .LVU3426 10838 0006 0C29 cmp r1, #12 10839 0008 00F28D80 bhi .L765 10840 000c DFE801F0 tbb [pc, r1] 10841 .L750: 10842 0010 07 .byte (.L753-.L750)/2 10843 0011 8B .byte (.L765-.L750)/2 10844 0012 8B .byte (.L765-.L750)/2 ARM GAS /tmp/cc0wMqvE.s page 381 10845 0013 8B .byte (.L765-.L750)/2 10846 0014 4B .byte (.L752-.L750)/2 10847 0015 8B .byte (.L765-.L750)/2 10848 0016 8B .byte (.L765-.L750)/2 10849 0017 8B .byte (.L765-.L750)/2 10850 0018 54 .byte (.L751-.L750)/2 10851 0019 8B .byte (.L765-.L750)/2 10852 001a 8B .byte (.L765-.L750)/2 10853 001b 8B .byte (.L765-.L750)/2 10854 001c 5D .byte (.L749-.L750)/2 10855 001d 00 .p2align 1 10856 .L753: 1240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 10857 .loc 1 1240 7 view .LVU3427 10858 001e 0268 ldr r2, [r0] 10859 0020 D368 ldr r3, [r2, #12] 10860 0022 23F40073 bic r3, r3, #512 10861 0026 D360 str r3, [r2, #12] 1241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10862 .loc 1 1241 7 view .LVU3428 1241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10863 .loc 1 1241 13 is_stmt 0 view .LVU3429 10864 0028 406A ldr r0, [r0, #36] 10865 .LVL863: 1241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10866 .loc 1 1241 13 view .LVU3430 10867 002a FFF7FEFF bl HAL_DMA_Abort_IT 10868 .LVL864: 1242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10869 .loc 1 1242 7 is_stmt 1 view .LVU3431 1274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10870 .loc 1 1274 3 view .LVU3432 10871 .L754: 1277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10872 .loc 1 1277 5 view .LVU3433 10873 002e 0022 movs r2, #0 10874 0030 2146 mov r1, r4 10875 0032 2868 ldr r0, [r5] 10876 0034 FFF7FEFF bl TIM_CCxChannelCmd 10877 .LVL865: 1279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10878 .loc 1 1279 5 view .LVU3434 1279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10879 .loc 1 1279 9 is_stmt 0 view .LVU3435 10880 0038 2B68 ldr r3, [r5] 10881 003a 3C4A ldr r2, .L767 10882 003c 9342 cmp r3, r2 10883 003e 0FD0 beq .L755 1279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10884 .loc 1 1279 9 discriminator 2 view .LVU3436 10885 0040 02F50062 add r2, r2, #2048 10886 0044 9342 cmp r3, r2 10887 0046 0BD0 beq .L755 1279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10888 .loc 1 1279 9 discriminator 4 view .LVU3437 10889 0048 02F54062 add r2, r2, #3072 10890 004c 9342 cmp r3, r2 ARM GAS /tmp/cc0wMqvE.s page 382 10891 004e 07D0 beq .L755 1279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10892 .loc 1 1279 9 discriminator 6 view .LVU3438 10893 0050 02F58062 add r2, r2, #1024 10894 0054 9342 cmp r3, r2 10895 0056 03D0 beq .L755 1279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10896 .loc 1 1279 9 discriminator 8 view .LVU3439 10897 0058 02F58062 add r2, r2, #1024 10898 005c 9342 cmp r3, r2 10899 005e 0DD1 bne .L756 10900 .L755: 1282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10901 .loc 1 1282 7 is_stmt 1 view .LVU3440 1282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10902 .loc 1 1282 7 view .LVU3441 10903 0060 196A ldr r1, [r3, #32] 10904 0062 41F21112 movw r2, #4369 10905 0066 1142 tst r1, r2 10906 0068 08D1 bne .L756 1282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10907 .loc 1 1282 7 discriminator 1 view .LVU3442 10908 006a 196A ldr r1, [r3, #32] 10909 006c 44F24442 movw r2, #17476 10910 0070 1142 tst r1, r2 10911 0072 03D1 bne .L756 1282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10912 .loc 1 1282 7 discriminator 3 view .LVU3443 10913 0074 5A6C ldr r2, [r3, #68] 10914 0076 22F40042 bic r2, r2, #32768 10915 007a 5A64 str r2, [r3, #68] 10916 .L756: 1282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10917 .loc 1 1282 7 discriminator 5 view .LVU3444 1286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10918 .loc 1 1286 5 discriminator 5 view .LVU3445 1286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10919 .loc 1 1286 5 discriminator 5 view .LVU3446 10920 007c 2B68 ldr r3, [r5] 10921 007e 196A ldr r1, [r3, #32] 10922 0080 41F21112 movw r2, #4369 10923 0084 1142 tst r1, r2 10924 0086 08D1 bne .L757 1286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10925 .loc 1 1286 5 discriminator 1 view .LVU3447 10926 0088 196A ldr r1, [r3, #32] 10927 008a 44F24442 movw r2, #17476 10928 008e 1142 tst r1, r2 10929 0090 03D1 bne .L757 1286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10930 .loc 1 1286 5 discriminator 3 view .LVU3448 10931 0092 1A68 ldr r2, [r3] 10932 0094 22F00102 bic r2, r2, #1 10933 0098 1A60 str r2, [r3] 10934 .L757: 1286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10935 .loc 1 1286 5 discriminator 5 view .LVU3449 ARM GAS /tmp/cc0wMqvE.s page 383 1289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10936 .loc 1 1289 5 discriminator 5 view .LVU3450 10937 009a FCB9 cbnz r4, .L758 1289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10938 .loc 1 1289 5 is_stmt 0 discriminator 1 view .LVU3451 10939 009c 0123 movs r3, #1 10940 009e 85F83E30 strb r3, [r5, #62] 10941 00a2 0020 movs r0, #0 10942 00a4 40E0 b .L748 10943 .LVL866: 10944 .L752: 1248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 10945 .loc 1 1248 7 is_stmt 1 view .LVU3452 10946 00a6 0268 ldr r2, [r0] 10947 00a8 D368 ldr r3, [r2, #12] 10948 00aa 23F48063 bic r3, r3, #1024 10949 00ae D360 str r3, [r2, #12] 1249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10950 .loc 1 1249 7 view .LVU3453 1249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10951 .loc 1 1249 13 is_stmt 0 view .LVU3454 10952 00b0 806A ldr r0, [r0, #40] 10953 .LVL867: 1249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10954 .loc 1 1249 13 view .LVU3455 10955 00b2 FFF7FEFF bl HAL_DMA_Abort_IT 10956 .LVL868: 1250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10957 .loc 1 1250 7 is_stmt 1 view .LVU3456 1274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10958 .loc 1 1274 3 view .LVU3457 10959 00b6 BAE7 b .L754 10960 .LVL869: 10961 .L751: 1256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 10962 .loc 1 1256 7 view .LVU3458 10963 00b8 0268 ldr r2, [r0] 10964 00ba D368 ldr r3, [r2, #12] 10965 00bc 23F40063 bic r3, r3, #2048 10966 00c0 D360 str r3, [r2, #12] 1257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10967 .loc 1 1257 7 view .LVU3459 1257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10968 .loc 1 1257 13 is_stmt 0 view .LVU3460 10969 00c2 C06A ldr r0, [r0, #44] 10970 .LVL870: 1257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10971 .loc 1 1257 13 view .LVU3461 10972 00c4 FFF7FEFF bl HAL_DMA_Abort_IT 10973 .LVL871: 1258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10974 .loc 1 1258 7 is_stmt 1 view .LVU3462 1274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10975 .loc 1 1274 3 view .LVU3463 10976 00c8 B1E7 b .L754 10977 .LVL872: 10978 .L749: ARM GAS /tmp/cc0wMqvE.s page 384 1264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 10979 .loc 1 1264 7 view .LVU3464 10980 00ca 0268 ldr r2, [r0] 10981 00cc D368 ldr r3, [r2, #12] 10982 00ce 23F48053 bic r3, r3, #4096 10983 00d2 D360 str r3, [r2, #12] 1265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10984 .loc 1 1265 7 view .LVU3465 1265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10985 .loc 1 1265 13 is_stmt 0 view .LVU3466 10986 00d4 006B ldr r0, [r0, #48] 10987 .LVL873: 1265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10988 .loc 1 1265 13 view .LVU3467 10989 00d6 FFF7FEFF bl HAL_DMA_Abort_IT 10990 .LVL874: 1266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10991 .loc 1 1266 7 is_stmt 1 view .LVU3468 1274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10992 .loc 1 1274 3 view .LVU3469 10993 00da A8E7 b .L754 10994 .L758: 1274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10995 .loc 1 1274 3 is_stmt 0 view .LVU3470 10996 00dc 043C subs r4, r4, #4 10997 .LVL875: 1274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10998 .loc 1 1274 3 view .LVU3471 10999 00de 0C2C cmp r4, #12 11000 00e0 1CD8 bhi .L759 11001 00e2 DFE804F0 tbb [pc, r4] 11002 .L761: 11003 00e6 07 .byte (.L764-.L761)/2 11004 00e7 1B .byte (.L759-.L761)/2 11005 00e8 1B .byte (.L759-.L761)/2 11006 00e9 1B .byte (.L759-.L761)/2 11007 00ea 0C .byte (.L763-.L761)/2 11008 00eb 1B .byte (.L759-.L761)/2 11009 00ec 1B .byte (.L759-.L761)/2 11010 00ed 1B .byte (.L759-.L761)/2 11011 00ee 11 .byte (.L762-.L761)/2 11012 00ef 1B .byte (.L759-.L761)/2 11013 00f0 1B .byte (.L759-.L761)/2 11014 00f1 1B .byte (.L759-.L761)/2 11015 00f2 16 .byte (.L760-.L761)/2 11016 00f3 00 .p2align 1 11017 .L764: 1289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11018 .loc 1 1289 5 discriminator 3 view .LVU3472 11019 00f4 0123 movs r3, #1 11020 00f6 85F83F30 strb r3, [r5, #63] 11021 00fa 0020 movs r0, #0 11022 00fc 14E0 b .L748 11023 .L763: 1289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11024 .loc 1 1289 5 discriminator 6 view .LVU3473 11025 00fe 0123 movs r3, #1 ARM GAS /tmp/cc0wMqvE.s page 385 11026 0100 85F84030 strb r3, [r5, #64] 11027 0104 0020 movs r0, #0 11028 0106 0FE0 b .L748 11029 .L762: 1289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11030 .loc 1 1289 5 discriminator 9 view .LVU3474 11031 0108 0123 movs r3, #1 11032 010a 85F84130 strb r3, [r5, #65] 11033 010e 0020 movs r0, #0 11034 0110 0AE0 b .L748 11035 .L760: 1289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11036 .loc 1 1289 5 discriminator 12 view .LVU3475 11037 0112 0123 movs r3, #1 11038 0114 85F84230 strb r3, [r5, #66] 11039 0118 0020 movs r0, #0 11040 011a 05E0 b .L748 11041 .L759: 1289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11042 .loc 1 1289 5 discriminator 13 view .LVU3476 11043 011c 0123 movs r3, #1 11044 011e 85F84330 strb r3, [r5, #67] 11045 0122 0020 movs r0, #0 11046 0124 00E0 b .L748 11047 .LVL876: 11048 .L765: 1235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11049 .loc 1 1235 3 view .LVU3477 11050 0126 0120 movs r0, #1 11051 .LVL877: 11052 .L748: 1293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11053 .loc 1 1293 3 is_stmt 1 view .LVU3478 1294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11054 .loc 1 1294 1 is_stmt 0 view .LVU3479 11055 0128 38BD pop {r3, r4, r5, pc} 11056 .LVL878: 11057 .L768: 1294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11058 .loc 1 1294 1 view .LVU3480 11059 012a 00BF .align 2 11060 .L767: 11061 012c 002C0140 .word 1073818624 11062 .cfi_endproc 11063 .LFE348: 11065 .section .text.HAL_TIM_PWM_Start,"ax",%progbits 11066 .align 1 11067 .global HAL_TIM_PWM_Start 11068 .syntax unified 11069 .thumb 11070 .thumb_func 11072 HAL_TIM_PWM_Start: 11073 .LVL879: 11074 .LFB353: 1472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 11075 .loc 1 1472 1 is_stmt 1 view -0 11076 .cfi_startproc ARM GAS /tmp/cc0wMqvE.s page 386 11077 @ args = 0, pretend = 0, frame = 0 11078 @ frame_needed = 0, uses_anonymous_args = 0 1472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 11079 .loc 1 1472 1 is_stmt 0 view .LVU3482 11080 0000 10B5 push {r4, lr} 11081 .LCFI91: 11082 .cfi_def_cfa_offset 8 11083 .cfi_offset 4, -8 11084 .cfi_offset 14, -4 11085 0002 0446 mov r4, r0 1473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11086 .loc 1 1473 3 is_stmt 1 view .LVU3483 1476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11087 .loc 1 1476 3 view .LVU3484 1479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11088 .loc 1 1479 3 view .LVU3485 11089 0004 1029 cmp r1, #16 11090 0006 3CD8 bhi .L770 11091 0008 DFE801F0 tbb [pc, r1] 11092 .L772: 11093 000c 09 .byte (.L776-.L772)/2 11094 000d 3B .byte (.L770-.L772)/2 11095 000e 3B .byte (.L770-.L772)/2 11096 000f 3B .byte (.L770-.L772)/2 11097 0010 1F .byte (.L775-.L772)/2 11098 0011 3B .byte (.L770-.L772)/2 11099 0012 3B .byte (.L770-.L772)/2 11100 0013 3B .byte (.L770-.L772)/2 11101 0014 26 .byte (.L774-.L772)/2 11102 0015 3B .byte (.L770-.L772)/2 11103 0016 3B .byte (.L770-.L772)/2 11104 0017 3B .byte (.L770-.L772)/2 11105 0018 2D .byte (.L773-.L772)/2 11106 0019 3B .byte (.L770-.L772)/2 11107 001a 3B .byte (.L770-.L772)/2 11108 001b 3B .byte (.L770-.L772)/2 11109 001c 34 .byte (.L771-.L772)/2 11110 001d 00 .p2align 1 11111 .L776: 1479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11112 .loc 1 1479 7 is_stmt 0 discriminator 1 view .LVU3486 11113 001e 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2 11114 0022 DBB2 uxtb r3, r3 1479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11115 .loc 1 1479 44 discriminator 1 view .LVU3487 11116 0024 013B subs r3, r3, #1 11117 0026 18BF it ne 11118 0028 0123 movne r3, #1 11119 .L777: 1479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11120 .loc 1 1479 6 discriminator 20 view .LVU3488 11121 002a 002B cmp r3, #0 11122 002c 40F08E80 bne .L791 1485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11123 .loc 1 1485 3 is_stmt 1 view .LVU3489 11124 0030 1029 cmp r1, #16 11125 0032 79D8 bhi .L779 ARM GAS /tmp/cc0wMqvE.s page 387 11126 0034 DFE801F0 tbb [pc, r1] 11127 .L781: 11128 0038 2C .byte (.L785-.L781)/2 11129 0039 78 .byte (.L779-.L781)/2 11130 003a 78 .byte (.L779-.L781)/2 11131 003b 78 .byte (.L779-.L781)/2 11132 003c 68 .byte (.L784-.L781)/2 11133 003d 78 .byte (.L779-.L781)/2 11134 003e 78 .byte (.L779-.L781)/2 11135 003f 78 .byte (.L779-.L781)/2 11136 0040 6C .byte (.L783-.L781)/2 11137 0041 78 .byte (.L779-.L781)/2 11138 0042 78 .byte (.L779-.L781)/2 11139 0043 78 .byte (.L779-.L781)/2 11140 0044 70 .byte (.L782-.L781)/2 11141 0045 78 .byte (.L779-.L781)/2 11142 0046 78 .byte (.L779-.L781)/2 11143 0047 78 .byte (.L779-.L781)/2 11144 0048 74 .byte (.L780-.L781)/2 11145 0049 00 .p2align 1 11146 .L775: 1479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11147 .loc 1 1479 7 is_stmt 0 discriminator 4 view .LVU3490 11148 004a 90F83F30 ldrb r3, [r0, #63] @ zero_extendqisi2 11149 004e DBB2 uxtb r3, r3 1479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11150 .loc 1 1479 44 discriminator 4 view .LVU3491 11151 0050 013B subs r3, r3, #1 11152 0052 18BF it ne 11153 0054 0123 movne r3, #1 11154 0056 E8E7 b .L777 11155 .L774: 1479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11156 .loc 1 1479 7 discriminator 7 view .LVU3492 11157 0058 90F84030 ldrb r3, [r0, #64] @ zero_extendqisi2 11158 005c DBB2 uxtb r3, r3 1479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11159 .loc 1 1479 44 discriminator 7 view .LVU3493 11160 005e 013B subs r3, r3, #1 11161 0060 18BF it ne 11162 0062 0123 movne r3, #1 11163 0064 E1E7 b .L777 11164 .L773: 1479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11165 .loc 1 1479 7 discriminator 10 view .LVU3494 11166 0066 90F84130 ldrb r3, [r0, #65] @ zero_extendqisi2 11167 006a DBB2 uxtb r3, r3 1479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11168 .loc 1 1479 44 discriminator 10 view .LVU3495 11169 006c 013B subs r3, r3, #1 11170 006e 18BF it ne 11171 0070 0123 movne r3, #1 11172 0072 DAE7 b .L777 11173 .L771: 1479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11174 .loc 1 1479 7 discriminator 13 view .LVU3496 11175 0074 90F84230 ldrb r3, [r0, #66] @ zero_extendqisi2 ARM GAS /tmp/cc0wMqvE.s page 388 11176 0078 DBB2 uxtb r3, r3 1479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11177 .loc 1 1479 44 discriminator 13 view .LVU3497 11178 007a 013B subs r3, r3, #1 11179 007c 18BF it ne 11180 007e 0123 movne r3, #1 11181 0080 D3E7 b .L777 11182 .L770: 1479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11183 .loc 1 1479 7 discriminator 14 view .LVU3498 11184 0082 90F84330 ldrb r3, [r0, #67] @ zero_extendqisi2 11185 0086 DBB2 uxtb r3, r3 1479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11186 .loc 1 1479 44 discriminator 14 view .LVU3499 11187 0088 013B subs r3, r3, #1 11188 008a 18BF it ne 11189 008c 0123 movne r3, #1 11190 008e CCE7 b .L777 11191 .L785: 1485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11192 .loc 1 1485 3 discriminator 1 view .LVU3500 11193 0090 0223 movs r3, #2 11194 0092 84F83E30 strb r3, [r4, #62] 11195 .L786: 1488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11196 .loc 1 1488 3 is_stmt 1 view .LVU3501 11197 0096 0122 movs r2, #1 11198 0098 2068 ldr r0, [r4] 11199 .LVL880: 1488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11200 .loc 1 1488 3 is_stmt 0 view .LVU3502 11201 009a FFF7FEFF bl TIM_CCxChannelCmd 11202 .LVL881: 1490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11203 .loc 1 1490 3 is_stmt 1 view .LVU3503 1490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11204 .loc 1 1490 7 is_stmt 0 view .LVU3504 11205 009e 2368 ldr r3, [r4] 11206 00a0 2D4A ldr r2, .L795 11207 00a2 9342 cmp r3, r2 11208 00a4 0FD0 beq .L787 1490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11209 .loc 1 1490 7 discriminator 2 view .LVU3505 11210 00a6 02F50062 add r2, r2, #2048 11211 00aa 9342 cmp r3, r2 11212 00ac 0BD0 beq .L787 1490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11213 .loc 1 1490 7 discriminator 4 view .LVU3506 11214 00ae 02F54062 add r2, r2, #3072 11215 00b2 9342 cmp r3, r2 11216 00b4 07D0 beq .L787 1490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11217 .loc 1 1490 7 discriminator 6 view .LVU3507 11218 00b6 02F58062 add r2, r2, #1024 11219 00ba 9342 cmp r3, r2 11220 00bc 03D0 beq .L787 1490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 389 11221 .loc 1 1490 7 discriminator 8 view .LVU3508 11222 00be 02F58062 add r2, r2, #1024 11223 00c2 9342 cmp r3, r2 11224 00c4 03D1 bne .L788 11225 .L787: 1493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11226 .loc 1 1493 5 is_stmt 1 view .LVU3509 11227 00c6 5A6C ldr r2, [r3, #68] 11228 00c8 42F40042 orr r2, r2, #32768 11229 00cc 5A64 str r2, [r3, #68] 11230 .L788: 1497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11231 .loc 1 1497 3 view .LVU3510 1497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11232 .loc 1 1497 7 is_stmt 0 view .LVU3511 11233 00ce 2368 ldr r3, [r4] 1497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11234 .loc 1 1497 6 view .LVU3512 11235 00d0 214A ldr r2, .L795 11236 00d2 9342 cmp r3, r2 11237 00d4 2CD0 beq .L789 1497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11238 .loc 1 1497 7 discriminator 1 view .LVU3513 11239 00d6 B3F1804F cmp r3, #1073741824 11240 00da 29D0 beq .L789 1497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11241 .loc 1 1497 7 discriminator 2 view .LVU3514 11242 00dc A2F59432 sub r2, r2, #75776 11243 00e0 9342 cmp r3, r2 11244 00e2 25D0 beq .L789 1497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11245 .loc 1 1497 7 discriminator 3 view .LVU3515 11246 00e4 02F58062 add r2, r2, #1024 11247 00e8 9342 cmp r3, r2 11248 00ea 21D0 beq .L789 1497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11249 .loc 1 1497 7 discriminator 4 view .LVU3516 11250 00ec 02F59632 add r2, r2, #76800 11251 00f0 9342 cmp r3, r2 11252 00f2 1DD0 beq .L789 1497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11253 .loc 1 1497 7 discriminator 5 view .LVU3517 11254 00f4 02F54062 add r2, r2, #3072 11255 00f8 9342 cmp r3, r2 11256 00fa 19D0 beq .L789 1507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11257 .loc 1 1507 5 is_stmt 1 view .LVU3518 11258 00fc 1A68 ldr r2, [r3] 11259 00fe 42F00102 orr r2, r2, #1 11260 0102 1A60 str r2, [r3] 1511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11261 .loc 1 1511 10 is_stmt 0 view .LVU3519 11262 0104 0020 movs r0, #0 11263 0106 22E0 b .L778 11264 .LVL882: 11265 .L784: 1485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 390 11266 .loc 1 1485 3 discriminator 3 view .LVU3520 11267 0108 0223 movs r3, #2 11268 010a 84F83F30 strb r3, [r4, #63] 11269 010e C2E7 b .L786 11270 .L783: 1485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11271 .loc 1 1485 3 discriminator 6 view .LVU3521 11272 0110 0223 movs r3, #2 11273 0112 84F84030 strb r3, [r4, #64] 11274 0116 BEE7 b .L786 11275 .L782: 1485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11276 .loc 1 1485 3 discriminator 9 view .LVU3522 11277 0118 0223 movs r3, #2 11278 011a 84F84130 strb r3, [r4, #65] 11279 011e BAE7 b .L786 11280 .L780: 1485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11281 .loc 1 1485 3 discriminator 12 view .LVU3523 11282 0120 0223 movs r3, #2 11283 0122 84F84230 strb r3, [r4, #66] 11284 0126 B6E7 b .L786 11285 .L779: 1485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11286 .loc 1 1485 3 discriminator 13 view .LVU3524 11287 0128 0223 movs r3, #2 11288 012a 84F84330 strb r3, [r4, #67] 11289 012e B2E7 b .L786 11290 .LVL883: 11291 .L789: 1499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 11292 .loc 1 1499 5 is_stmt 1 view .LVU3525 1499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 11293 .loc 1 1499 29 is_stmt 0 view .LVU3526 11294 0130 9968 ldr r1, [r3, #8] 1499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 11295 .loc 1 1499 13 view .LVU3527 11296 0132 0A4A ldr r2, .L795+4 11297 0134 0A40 ands r2, r2, r1 11298 .LVL884: 1500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11299 .loc 1 1500 5 is_stmt 1 view .LVU3528 1500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11300 .loc 1 1500 8 is_stmt 0 view .LVU3529 11301 0136 062A cmp r2, #6 11302 0138 0AD0 beq .L792 1500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11303 .loc 1 1500 9 discriminator 1 view .LVU3530 11304 013a B2F5803F cmp r2, #65536 11305 013e 09D0 beq .L793 1502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11306 .loc 1 1502 7 is_stmt 1 view .LVU3531 11307 0140 1A68 ldr r2, [r3] 11308 .LVL885: 1502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11309 .loc 1 1502 7 is_stmt 0 view .LVU3532 11310 0142 42F00102 orr r2, r2, #1 ARM GAS /tmp/cc0wMqvE.s page 391 11311 0146 1A60 str r2, [r3] 1511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11312 .loc 1 1511 10 view .LVU3533 11313 0148 0020 movs r0, #0 11314 014a 00E0 b .L778 11315 .LVL886: 11316 .L791: 1481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11317 .loc 1 1481 12 view .LVU3534 11318 014c 0120 movs r0, #1 11319 .LVL887: 11320 .L778: 1512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11321 .loc 1 1512 1 view .LVU3535 11322 014e 10BD pop {r4, pc} 11323 .LVL888: 11324 .L792: 1511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11325 .loc 1 1511 10 view .LVU3536 11326 0150 0020 movs r0, #0 11327 0152 FCE7 b .L778 11328 .L793: 11329 0154 0020 movs r0, #0 11330 0156 FAE7 b .L778 11331 .L796: 11332 .align 2 11333 .L795: 11334 0158 002C0140 .word 1073818624 11335 015c 07000100 .word 65543 11336 .cfi_endproc 11337 .LFE353: 11339 .section .text.HAL_TIM_PWM_Stop,"ax",%progbits 11340 .align 1 11341 .global HAL_TIM_PWM_Stop 11342 .syntax unified 11343 .thumb 11344 .thumb_func 11346 HAL_TIM_PWM_Stop: 11347 .LVL889: 11348 .LFB354: 1528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 11349 .loc 1 1528 1 is_stmt 1 view -0 11350 .cfi_startproc 11351 @ args = 0, pretend = 0, frame = 0 11352 @ frame_needed = 0, uses_anonymous_args = 0 1528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 11353 .loc 1 1528 1 is_stmt 0 view .LVU3538 11354 0000 38B5 push {r3, r4, r5, lr} 11355 .LCFI92: 11356 .cfi_def_cfa_offset 16 11357 .cfi_offset 3, -16 11358 .cfi_offset 4, -12 11359 .cfi_offset 5, -8 11360 .cfi_offset 14, -4 11361 0002 0446 mov r4, r0 11362 0004 0D46 mov r5, r1 1530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 392 11363 .loc 1 1530 3 is_stmt 1 view .LVU3539 1533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11364 .loc 1 1533 3 view .LVU3540 11365 0006 0022 movs r2, #0 11366 0008 0068 ldr r0, [r0] 11367 .LVL890: 1533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11368 .loc 1 1533 3 is_stmt 0 view .LVU3541 11369 000a FFF7FEFF bl TIM_CCxChannelCmd 11370 .LVL891: 1535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11371 .loc 1 1535 3 is_stmt 1 view .LVU3542 1535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11372 .loc 1 1535 7 is_stmt 0 view .LVU3543 11373 000e 2368 ldr r3, [r4] 11374 0010 2A4A ldr r2, .L810 11375 0012 9342 cmp r3, r2 11376 0014 0FD0 beq .L798 1535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11377 .loc 1 1535 7 discriminator 2 view .LVU3544 11378 0016 02F50062 add r2, r2, #2048 11379 001a 9342 cmp r3, r2 11380 001c 0BD0 beq .L798 1535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11381 .loc 1 1535 7 discriminator 4 view .LVU3545 11382 001e 02F54062 add r2, r2, #3072 11383 0022 9342 cmp r3, r2 11384 0024 07D0 beq .L798 1535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11385 .loc 1 1535 7 discriminator 6 view .LVU3546 11386 0026 02F58062 add r2, r2, #1024 11387 002a 9342 cmp r3, r2 11388 002c 03D0 beq .L798 1535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11389 .loc 1 1535 7 discriminator 8 view .LVU3547 11390 002e 02F58062 add r2, r2, #1024 11391 0032 9342 cmp r3, r2 11392 0034 0DD1 bne .L799 11393 .L798: 1538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11394 .loc 1 1538 5 is_stmt 1 view .LVU3548 1538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11395 .loc 1 1538 5 view .LVU3549 11396 0036 196A ldr r1, [r3, #32] 11397 0038 41F21112 movw r2, #4369 11398 003c 1142 tst r1, r2 11399 003e 08D1 bne .L799 1538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11400 .loc 1 1538 5 discriminator 1 view .LVU3550 11401 0040 196A ldr r1, [r3, #32] 11402 0042 44F24442 movw r2, #17476 11403 0046 1142 tst r1, r2 11404 0048 03D1 bne .L799 1538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11405 .loc 1 1538 5 discriminator 3 view .LVU3551 11406 004a 5A6C ldr r2, [r3, #68] 11407 004c 22F40042 bic r2, r2, #32768 ARM GAS /tmp/cc0wMqvE.s page 393 11408 0050 5A64 str r2, [r3, #68] 11409 .L799: 1538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11410 .loc 1 1538 5 discriminator 5 view .LVU3552 1542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11411 .loc 1 1542 3 discriminator 5 view .LVU3553 1542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11412 .loc 1 1542 3 discriminator 5 view .LVU3554 11413 0052 2368 ldr r3, [r4] 11414 0054 196A ldr r1, [r3, #32] 11415 0056 41F21112 movw r2, #4369 11416 005a 1142 tst r1, r2 11417 005c 08D1 bne .L800 1542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11418 .loc 1 1542 3 discriminator 1 view .LVU3555 11419 005e 196A ldr r1, [r3, #32] 11420 0060 44F24442 movw r2, #17476 11421 0064 1142 tst r1, r2 11422 0066 03D1 bne .L800 1542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11423 .loc 1 1542 3 discriminator 3 view .LVU3556 11424 0068 1A68 ldr r2, [r3] 11425 006a 22F00102 bic r2, r2, #1 11426 006e 1A60 str r2, [r3] 11427 .L800: 1542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11428 .loc 1 1542 3 discriminator 5 view .LVU3557 1545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11429 .loc 1 1545 3 discriminator 5 view .LVU3558 11430 0070 25B9 cbnz r5, .L801 1545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11431 .loc 1 1545 3 is_stmt 0 discriminator 1 view .LVU3559 11432 0072 0123 movs r3, #1 11433 0074 84F83E30 strb r3, [r4, #62] 11434 .LVL892: 11435 .L802: 1548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11436 .loc 1 1548 3 is_stmt 1 view .LVU3560 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11437 .loc 1 1549 1 is_stmt 0 view .LVU3561 11438 0078 0020 movs r0, #0 11439 007a 38BD pop {r3, r4, r5, pc} 11440 .LVL893: 11441 .L801: 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11442 .loc 1 1549 1 view .LVU3562 11443 007c 043D subs r5, r5, #4 11444 .LVL894: 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11445 .loc 1 1549 1 view .LVU3563 11446 007e 0C2D cmp r5, #12 11447 0080 18D8 bhi .L803 11448 0082 DFE805F0 tbb [pc, r5] 11449 .L805: 11450 0086 07 .byte (.L808-.L805)/2 11451 0087 17 .byte (.L803-.L805)/2 11452 0088 17 .byte (.L803-.L805)/2 ARM GAS /tmp/cc0wMqvE.s page 394 11453 0089 17 .byte (.L803-.L805)/2 11454 008a 0B .byte (.L807-.L805)/2 11455 008b 17 .byte (.L803-.L805)/2 11456 008c 17 .byte (.L803-.L805)/2 11457 008d 17 .byte (.L803-.L805)/2 11458 008e 0F .byte (.L806-.L805)/2 11459 008f 17 .byte (.L803-.L805)/2 11460 0090 17 .byte (.L803-.L805)/2 11461 0091 17 .byte (.L803-.L805)/2 11462 0092 13 .byte (.L804-.L805)/2 11463 0093 00 .p2align 1 11464 .L808: 1545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11465 .loc 1 1545 3 discriminator 3 view .LVU3564 11466 0094 0123 movs r3, #1 11467 0096 84F83F30 strb r3, [r4, #63] 11468 009a EDE7 b .L802 11469 .L807: 1545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11470 .loc 1 1545 3 discriminator 6 view .LVU3565 11471 009c 0123 movs r3, #1 11472 009e 84F84030 strb r3, [r4, #64] 11473 00a2 E9E7 b .L802 11474 .L806: 1545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11475 .loc 1 1545 3 discriminator 9 view .LVU3566 11476 00a4 0123 movs r3, #1 11477 00a6 84F84130 strb r3, [r4, #65] 11478 00aa E5E7 b .L802 11479 .L804: 1545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11480 .loc 1 1545 3 discriminator 12 view .LVU3567 11481 00ac 0123 movs r3, #1 11482 00ae 84F84230 strb r3, [r4, #66] 11483 00b2 E1E7 b .L802 11484 .L803: 1545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11485 .loc 1 1545 3 discriminator 13 view .LVU3568 11486 00b4 0123 movs r3, #1 11487 00b6 84F84330 strb r3, [r4, #67] 11488 00ba DDE7 b .L802 11489 .L811: 11490 .align 2 11491 .L810: 11492 00bc 002C0140 .word 1073818624 11493 .cfi_endproc 11494 .LFE354: 11496 .section .text.HAL_TIM_PWM_Start_IT,"ax",%progbits 11497 .align 1 11498 .global HAL_TIM_PWM_Start_IT 11499 .syntax unified 11500 .thumb 11501 .thumb_func 11503 HAL_TIM_PWM_Start_IT: 11504 .LVL895: 11505 .LFB355: 1563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; ARM GAS /tmp/cc0wMqvE.s page 395 11506 .loc 1 1563 1 is_stmt 1 view -0 11507 .cfi_startproc 11508 @ args = 0, pretend = 0, frame = 0 11509 @ frame_needed = 0, uses_anonymous_args = 0 1563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 11510 .loc 1 1563 1 is_stmt 0 view .LVU3570 11511 0000 10B5 push {r4, lr} 11512 .LCFI93: 11513 .cfi_def_cfa_offset 8 11514 .cfi_offset 4, -8 11515 .cfi_offset 14, -4 11516 0002 0446 mov r4, r0 1564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 11517 .loc 1 1564 3 is_stmt 1 view .LVU3571 11518 .LVL896: 1565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11519 .loc 1 1565 3 view .LVU3572 1568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11520 .loc 1 1568 3 view .LVU3573 1571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11521 .loc 1 1571 3 view .LVU3574 11522 0004 1029 cmp r1, #16 11523 0006 3DD8 bhi .L813 11524 0008 DFE801F0 tbb [pc, r1] 11525 .L815: 11526 000c 09 .byte (.L819-.L815)/2 11527 000d 3C .byte (.L813-.L815)/2 11528 000e 3C .byte (.L813-.L815)/2 11529 000f 3C .byte (.L813-.L815)/2 11530 0010 20 .byte (.L818-.L815)/2 11531 0011 3C .byte (.L813-.L815)/2 11532 0012 3C .byte (.L813-.L815)/2 11533 0013 3C .byte (.L813-.L815)/2 11534 0014 27 .byte (.L817-.L815)/2 11535 0015 3C .byte (.L813-.L815)/2 11536 0016 3C .byte (.L813-.L815)/2 11537 0017 3C .byte (.L813-.L815)/2 11538 0018 2E .byte (.L816-.L815)/2 11539 0019 3C .byte (.L813-.L815)/2 11540 001a 3C .byte (.L813-.L815)/2 11541 001b 3C .byte (.L813-.L815)/2 11542 001c 35 .byte (.L814-.L815)/2 11543 001d 00 .p2align 1 11544 .L819: 1571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11545 .loc 1 1571 7 is_stmt 0 discriminator 1 view .LVU3575 11546 001e 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2 11547 0022 DBB2 uxtb r3, r3 1571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11548 .loc 1 1571 44 discriminator 1 view .LVU3576 11549 0024 013B subs r3, r3, #1 11550 0026 18BF it ne 11551 0028 0123 movne r3, #1 11552 .L820: 1571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11553 .loc 1 1571 6 discriminator 20 view .LVU3577 11554 002a 002B cmp r3, #0 ARM GAS /tmp/cc0wMqvE.s page 396 11555 002c 40F0C280 bne .L839 1577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11556 .loc 1 1577 3 is_stmt 1 view .LVU3578 11557 0030 1029 cmp r1, #16 11558 0032 00F28F80 bhi .L822 11559 0036 DFE801F0 tbb [pc, r1] 11560 .L824: 11561 003a 2C .byte (.L828-.L824)/2 11562 003b 8D .byte (.L822-.L824)/2 11563 003c 8D .byte (.L822-.L824)/2 11564 003d 8D .byte (.L822-.L824)/2 11565 003e 6D .byte (.L827-.L824)/2 11566 003f 8D .byte (.L822-.L824)/2 11567 0040 8D .byte (.L822-.L824)/2 11568 0041 8D .byte (.L822-.L824)/2 11569 0042 76 .byte (.L826-.L824)/2 11570 0043 8D .byte (.L822-.L824)/2 11571 0044 8D .byte (.L822-.L824)/2 11572 0045 8D .byte (.L822-.L824)/2 11573 0046 7F .byte (.L825-.L824)/2 11574 0047 8D .byte (.L822-.L824)/2 11575 0048 8D .byte (.L822-.L824)/2 11576 0049 8D .byte (.L822-.L824)/2 11577 004a 88 .byte (.L823-.L824)/2 11578 004b 00 .p2align 1 11579 .L818: 1571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11580 .loc 1 1571 7 is_stmt 0 discriminator 4 view .LVU3579 11581 004c 90F83F30 ldrb r3, [r0, #63] @ zero_extendqisi2 11582 0050 DBB2 uxtb r3, r3 1571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11583 .loc 1 1571 44 discriminator 4 view .LVU3580 11584 0052 013B subs r3, r3, #1 11585 0054 18BF it ne 11586 0056 0123 movne r3, #1 11587 0058 E7E7 b .L820 11588 .L817: 1571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11589 .loc 1 1571 7 discriminator 7 view .LVU3581 11590 005a 90F84030 ldrb r3, [r0, #64] @ zero_extendqisi2 11591 005e DBB2 uxtb r3, r3 1571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11592 .loc 1 1571 44 discriminator 7 view .LVU3582 11593 0060 013B subs r3, r3, #1 11594 0062 18BF it ne 11595 0064 0123 movne r3, #1 11596 0066 E0E7 b .L820 11597 .L816: 1571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11598 .loc 1 1571 7 discriminator 10 view .LVU3583 11599 0068 90F84130 ldrb r3, [r0, #65] @ zero_extendqisi2 11600 006c DBB2 uxtb r3, r3 1571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11601 .loc 1 1571 44 discriminator 10 view .LVU3584 11602 006e 013B subs r3, r3, #1 11603 0070 18BF it ne 11604 0072 0123 movne r3, #1 ARM GAS /tmp/cc0wMqvE.s page 397 11605 0074 D9E7 b .L820 11606 .L814: 1571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11607 .loc 1 1571 7 discriminator 13 view .LVU3585 11608 0076 90F84230 ldrb r3, [r0, #66] @ zero_extendqisi2 11609 007a DBB2 uxtb r3, r3 1571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11610 .loc 1 1571 44 discriminator 13 view .LVU3586 11611 007c 013B subs r3, r3, #1 11612 007e 18BF it ne 11613 0080 0123 movne r3, #1 11614 0082 D2E7 b .L820 11615 .L813: 1571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11616 .loc 1 1571 7 discriminator 14 view .LVU3587 11617 0084 90F84330 ldrb r3, [r0, #67] @ zero_extendqisi2 11618 0088 DBB2 uxtb r3, r3 1571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11619 .loc 1 1571 44 discriminator 14 view .LVU3588 11620 008a 013B subs r3, r3, #1 11621 008c 18BF it ne 11622 008e 0123 movne r3, #1 11623 0090 CBE7 b .L820 11624 .L828: 1577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11625 .loc 1 1577 3 view .LVU3589 11626 0092 0223 movs r3, #2 11627 0094 84F83E30 strb r3, [r4, #62] 1579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11628 .loc 1 1579 3 is_stmt 1 view .LVU3590 11629 .L829: 1584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 11630 .loc 1 1584 7 view .LVU3591 11631 0098 2268 ldr r2, [r4] 11632 009a D368 ldr r3, [r2, #12] 11633 009c 43F00203 orr r3, r3, #2 11634 00a0 D360 str r3, [r2, #12] 1585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11635 .loc 1 1585 7 view .LVU3592 1614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11636 .loc 1 1614 3 view .LVU3593 11637 .L834: 1617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11638 .loc 1 1617 5 view .LVU3594 11639 00a2 0122 movs r2, #1 11640 00a4 2068 ldr r0, [r4] 11641 .LVL897: 1617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11642 .loc 1 1617 5 is_stmt 0 view .LVU3595 11643 00a6 FFF7FEFF bl TIM_CCxChannelCmd 11644 .LVL898: 1619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11645 .loc 1 1619 5 is_stmt 1 view .LVU3596 1619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11646 .loc 1 1619 9 is_stmt 0 view .LVU3597 11647 00aa 2368 ldr r3, [r4] 11648 00ac 454A ldr r2, .L848 ARM GAS /tmp/cc0wMqvE.s page 398 11649 00ae 9342 cmp r3, r2 11650 00b0 0FD0 beq .L835 1619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11651 .loc 1 1619 9 discriminator 2 view .LVU3598 11652 00b2 02F50062 add r2, r2, #2048 11653 00b6 9342 cmp r3, r2 11654 00b8 0BD0 beq .L835 1619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11655 .loc 1 1619 9 discriminator 4 view .LVU3599 11656 00ba 02F54062 add r2, r2, #3072 11657 00be 9342 cmp r3, r2 11658 00c0 07D0 beq .L835 1619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11659 .loc 1 1619 9 discriminator 6 view .LVU3600 11660 00c2 02F58062 add r2, r2, #1024 11661 00c6 9342 cmp r3, r2 11662 00c8 03D0 beq .L835 1619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11663 .loc 1 1619 9 discriminator 8 view .LVU3601 11664 00ca 02F58062 add r2, r2, #1024 11665 00ce 9342 cmp r3, r2 11666 00d0 03D1 bne .L836 11667 .L835: 1622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11668 .loc 1 1622 7 is_stmt 1 view .LVU3602 11669 00d2 5A6C ldr r2, [r3, #68] 11670 00d4 42F40042 orr r2, r2, #32768 11671 00d8 5A64 str r2, [r3, #68] 11672 .L836: 1626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11673 .loc 1 1626 5 view .LVU3603 1626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11674 .loc 1 1626 9 is_stmt 0 view .LVU3604 11675 00da 2368 ldr r3, [r4] 1626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11676 .loc 1 1626 8 view .LVU3605 11677 00dc 394A ldr r2, .L848 11678 00de 9342 cmp r3, r2 11679 00e0 5AD0 beq .L837 1626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11680 .loc 1 1626 9 discriminator 1 view .LVU3606 11681 00e2 B3F1804F cmp r3, #1073741824 11682 00e6 57D0 beq .L837 1626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11683 .loc 1 1626 9 discriminator 2 view .LVU3607 11684 00e8 A2F59432 sub r2, r2, #75776 11685 00ec 9342 cmp r3, r2 11686 00ee 53D0 beq .L837 1626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11687 .loc 1 1626 9 discriminator 3 view .LVU3608 11688 00f0 02F58062 add r2, r2, #1024 11689 00f4 9342 cmp r3, r2 11690 00f6 4FD0 beq .L837 1626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11691 .loc 1 1626 9 discriminator 4 view .LVU3609 11692 00f8 02F59632 add r2, r2, #76800 11693 00fc 9342 cmp r3, r2 ARM GAS /tmp/cc0wMqvE.s page 399 11694 00fe 4BD0 beq .L837 1626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11695 .loc 1 1626 9 discriminator 5 view .LVU3610 11696 0100 02F54062 add r2, r2, #3072 11697 0104 9342 cmp r3, r2 11698 0106 47D0 beq .L837 1636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11699 .loc 1 1636 7 is_stmt 1 view .LVU3611 11700 0108 1A68 ldr r2, [r3] 11701 010a 42F00102 orr r2, r2, #1 11702 010e 1A60 str r2, [r3] 11703 0110 0020 movs r0, #0 11704 0112 50E0 b .L821 11705 .LVL899: 11706 .L827: 1577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11707 .loc 1 1577 3 is_stmt 0 view .LVU3612 11708 0114 0223 movs r3, #2 11709 0116 84F83F30 strb r3, [r4, #63] 1579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11710 .loc 1 1579 3 is_stmt 1 view .LVU3613 11711 .L830: 1591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 11712 .loc 1 1591 7 view .LVU3614 11713 011a 2268 ldr r2, [r4] 11714 011c D368 ldr r3, [r2, #12] 11715 011e 43F00403 orr r3, r3, #4 11716 0122 D360 str r3, [r2, #12] 1592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11717 .loc 1 1592 7 view .LVU3615 1614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11718 .loc 1 1614 3 view .LVU3616 11719 0124 BDE7 b .L834 11720 .L826: 1577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11721 .loc 1 1577 3 is_stmt 0 view .LVU3617 11722 0126 0223 movs r3, #2 11723 0128 84F84030 strb r3, [r4, #64] 1579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11724 .loc 1 1579 3 is_stmt 1 view .LVU3618 11725 .L831: 1598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 11726 .loc 1 1598 7 view .LVU3619 11727 012c 2268 ldr r2, [r4] 11728 012e D368 ldr r3, [r2, #12] 11729 0130 43F00803 orr r3, r3, #8 11730 0134 D360 str r3, [r2, #12] 1599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11731 .loc 1 1599 7 view .LVU3620 1614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11732 .loc 1 1614 3 view .LVU3621 11733 0136 B4E7 b .L834 11734 .L825: 1577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11735 .loc 1 1577 3 is_stmt 0 view .LVU3622 11736 0138 0223 movs r3, #2 11737 013a 84F84130 strb r3, [r4, #65] ARM GAS /tmp/cc0wMqvE.s page 400 1579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11738 .loc 1 1579 3 is_stmt 1 view .LVU3623 11739 .L832: 1605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 11740 .loc 1 1605 7 view .LVU3624 11741 013e 2268 ldr r2, [r4] 11742 0140 D368 ldr r3, [r2, #12] 11743 0142 43F01003 orr r3, r3, #16 11744 0146 D360 str r3, [r2, #12] 1606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11745 .loc 1 1606 7 view .LVU3625 1614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11746 .loc 1 1614 3 view .LVU3626 11747 0148 ABE7 b .L834 11748 .L823: 1577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11749 .loc 1 1577 3 is_stmt 0 view .LVU3627 11750 014a 0223 movs r3, #2 11751 014c 84F84230 strb r3, [r4, #66] 1579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11752 .loc 1 1579 3 is_stmt 1 view .LVU3628 1577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11753 .loc 1 1577 3 is_stmt 0 view .LVU3629 11754 0150 0120 movs r0, #1 11755 .LVL900: 1577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11756 .loc 1 1577 3 view .LVU3630 11757 0152 30E0 b .L821 11758 .LVL901: 11759 .L822: 1577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11760 .loc 1 1577 3 discriminator 13 view .LVU3631 11761 0154 0223 movs r3, #2 11762 0156 84F84330 strb r3, [r4, #67] 1579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11763 .loc 1 1579 3 is_stmt 1 discriminator 13 view .LVU3632 11764 015a 0C29 cmp r1, #12 11765 015c 2CD8 bhi .L840 11766 015e 01A3 adr r3, .L833 11767 0160 53F821F0 ldr pc, [r3, r1, lsl #2] 11768 .p2align 2 11769 .L833: 11770 0164 99000000 .word .L829+1 11771 0168 B9010000 .word .L840+1 11772 016c B9010000 .word .L840+1 11773 0170 B9010000 .word .L840+1 11774 0174 1B010000 .word .L830+1 11775 0178 B9010000 .word .L840+1 11776 017c B9010000 .word .L840+1 11777 0180 B9010000 .word .L840+1 11778 0184 2D010000 .word .L831+1 11779 0188 B9010000 .word .L840+1 11780 018c B9010000 .word .L840+1 11781 0190 B9010000 .word .L840+1 11782 0194 3F010000 .word .L832+1 11783 .LVL902: 11784 .p2align 1 ARM GAS /tmp/cc0wMqvE.s page 401 11785 .L837: 1628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 11786 .loc 1 1628 7 view .LVU3633 1628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 11787 .loc 1 1628 31 is_stmt 0 view .LVU3634 11788 0198 9968 ldr r1, [r3, #8] 1628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 11789 .loc 1 1628 15 view .LVU3635 11790 019a 0B4A ldr r2, .L848+4 11791 019c 0A40 ands r2, r2, r1 11792 .LVL903: 1629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11793 .loc 1 1629 7 is_stmt 1 view .LVU3636 1629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11794 .loc 1 1629 10 is_stmt 0 view .LVU3637 11795 019e 062A cmp r2, #6 11796 01a0 0CD0 beq .L841 1629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11797 .loc 1 1629 11 discriminator 1 view .LVU3638 11798 01a2 B2F5803F cmp r2, #65536 11799 01a6 0BD0 beq .L842 1631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11800 .loc 1 1631 9 is_stmt 1 view .LVU3639 11801 01a8 1A68 ldr r2, [r3] 11802 .LVL904: 1631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11803 .loc 1 1631 9 is_stmt 0 view .LVU3640 11804 01aa 42F00102 orr r2, r2, #1 11805 01ae 1A60 str r2, [r3] 11806 01b0 0020 movs r0, #0 11807 01b2 00E0 b .L821 11808 .LVL905: 11809 .L839: 1573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11810 .loc 1 1573 12 view .LVU3641 11811 01b4 0120 movs r0, #1 11812 .LVL906: 11813 .L821: 1642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11814 .loc 1 1642 1 view .LVU3642 11815 01b6 10BD pop {r4, pc} 11816 .LVL907: 11817 .L840: 1579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11818 .loc 1 1579 3 view .LVU3643 11819 01b8 0120 movs r0, #1 11820 .LVL908: 1579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11821 .loc 1 1579 3 view .LVU3644 11822 01ba FCE7 b .L821 11823 .LVL909: 11824 .L841: 1579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11825 .loc 1 1579 3 view .LVU3645 11826 01bc 0020 movs r0, #0 11827 01be FAE7 b .L821 11828 .L842: ARM GAS /tmp/cc0wMqvE.s page 402 11829 01c0 0020 movs r0, #0 11830 01c2 F8E7 b .L821 11831 .L849: 11832 .align 2 11833 .L848: 11834 01c4 002C0140 .word 1073818624 11835 01c8 07000100 .word 65543 11836 .cfi_endproc 11837 .LFE355: 11839 .section .text.HAL_TIM_PWM_Stop_IT,"ax",%progbits 11840 .align 1 11841 .global HAL_TIM_PWM_Stop_IT 11842 .syntax unified 11843 .thumb 11844 .thumb_func 11846 HAL_TIM_PWM_Stop_IT: 11847 .LVL910: 11848 .LFB356: 1656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 11849 .loc 1 1656 1 is_stmt 1 view -0 11850 .cfi_startproc 11851 @ args = 0, pretend = 0, frame = 0 11852 @ frame_needed = 0, uses_anonymous_args = 0 1656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 11853 .loc 1 1656 1 is_stmt 0 view .LVU3647 11854 0000 38B5 push {r3, r4, r5, lr} 11855 .LCFI94: 11856 .cfi_def_cfa_offset 16 11857 .cfi_offset 3, -16 11858 .cfi_offset 4, -12 11859 .cfi_offset 5, -8 11860 .cfi_offset 14, -4 11861 0002 0546 mov r5, r0 11862 0004 0C46 mov r4, r1 1657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11863 .loc 1 1657 3 is_stmt 1 view .LVU3648 11864 .LVL911: 1660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11865 .loc 1 1660 3 view .LVU3649 1662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11866 .loc 1 1662 3 view .LVU3650 11867 0006 0C29 cmp r1, #12 11868 0008 00F28180 bhi .L868 11869 000c DFE801F0 tbb [pc, r1] 11870 .L853: 11871 0010 07 .byte (.L856-.L853)/2 11872 0011 7F .byte (.L868-.L853)/2 11873 0012 7F .byte (.L868-.L853)/2 11874 0013 7F .byte (.L868-.L853)/2 11875 0014 48 .byte (.L855-.L853)/2 11876 0015 7F .byte (.L868-.L853)/2 11877 0016 7F .byte (.L868-.L853)/2 11878 0017 7F .byte (.L868-.L853)/2 11879 0018 4E .byte (.L854-.L853)/2 11880 0019 7F .byte (.L868-.L853)/2 11881 001a 7F .byte (.L868-.L853)/2 11882 001b 7F .byte (.L868-.L853)/2 ARM GAS /tmp/cc0wMqvE.s page 403 11883 001c 54 .byte (.L852-.L853)/2 11884 001d 00 .p2align 1 11885 .L856: 1667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 11886 .loc 1 1667 7 view .LVU3651 11887 001e 0268 ldr r2, [r0] 11888 0020 D368 ldr r3, [r2, #12] 11889 0022 23F00203 bic r3, r3, #2 11890 0026 D360 str r3, [r2, #12] 1668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11891 .loc 1 1668 7 view .LVU3652 1697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11892 .loc 1 1697 3 view .LVU3653 11893 .L857: 1700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11894 .loc 1 1700 5 view .LVU3654 11895 0028 0022 movs r2, #0 11896 002a 2146 mov r1, r4 11897 .LVL912: 1700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11898 .loc 1 1700 5 is_stmt 0 view .LVU3655 11899 002c 2868 ldr r0, [r5] 11900 .LVL913: 1700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11901 .loc 1 1700 5 view .LVU3656 11902 002e FFF7FEFF bl TIM_CCxChannelCmd 11903 .LVL914: 1702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11904 .loc 1 1702 5 is_stmt 1 view .LVU3657 1702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11905 .loc 1 1702 9 is_stmt 0 view .LVU3658 11906 0032 2B68 ldr r3, [r5] 11907 0034 374A ldr r2, .L870 11908 0036 9342 cmp r3, r2 11909 0038 0FD0 beq .L858 1702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11910 .loc 1 1702 9 discriminator 2 view .LVU3659 11911 003a 02F50062 add r2, r2, #2048 11912 003e 9342 cmp r3, r2 11913 0040 0BD0 beq .L858 1702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11914 .loc 1 1702 9 discriminator 4 view .LVU3660 11915 0042 02F54062 add r2, r2, #3072 11916 0046 9342 cmp r3, r2 11917 0048 07D0 beq .L858 1702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11918 .loc 1 1702 9 discriminator 6 view .LVU3661 11919 004a 02F58062 add r2, r2, #1024 11920 004e 9342 cmp r3, r2 11921 0050 03D0 beq .L858 1702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11922 .loc 1 1702 9 discriminator 8 view .LVU3662 11923 0052 02F58062 add r2, r2, #1024 11924 0056 9342 cmp r3, r2 11925 0058 0DD1 bne .L859 11926 .L858: 1705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 404 11927 .loc 1 1705 7 is_stmt 1 view .LVU3663 1705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11928 .loc 1 1705 7 view .LVU3664 11929 005a 196A ldr r1, [r3, #32] 11930 005c 41F21112 movw r2, #4369 11931 0060 1142 tst r1, r2 11932 0062 08D1 bne .L859 1705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11933 .loc 1 1705 7 discriminator 1 view .LVU3665 11934 0064 196A ldr r1, [r3, #32] 11935 0066 44F24442 movw r2, #17476 11936 006a 1142 tst r1, r2 11937 006c 03D1 bne .L859 1705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11938 .loc 1 1705 7 discriminator 3 view .LVU3666 11939 006e 5A6C ldr r2, [r3, #68] 11940 0070 22F40042 bic r2, r2, #32768 11941 0074 5A64 str r2, [r3, #68] 11942 .L859: 1705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11943 .loc 1 1705 7 discriminator 5 view .LVU3667 1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11944 .loc 1 1709 5 discriminator 5 view .LVU3668 1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11945 .loc 1 1709 5 discriminator 5 view .LVU3669 11946 0076 2B68 ldr r3, [r5] 11947 0078 196A ldr r1, [r3, #32] 11948 007a 41F21112 movw r2, #4369 11949 007e 1142 tst r1, r2 11950 0080 08D1 bne .L860 1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11951 .loc 1 1709 5 discriminator 1 view .LVU3670 11952 0082 196A ldr r1, [r3, #32] 11953 0084 44F24442 movw r2, #17476 11954 0088 1142 tst r1, r2 11955 008a 03D1 bne .L860 1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11956 .loc 1 1709 5 discriminator 3 view .LVU3671 11957 008c 1A68 ldr r2, [r3] 11958 008e 22F00102 bic r2, r2, #1 11959 0092 1A60 str r2, [r3] 11960 .L860: 1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11961 .loc 1 1709 5 discriminator 5 view .LVU3672 1712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11962 .loc 1 1712 5 discriminator 5 view .LVU3673 11963 0094 B4B9 cbnz r4, .L861 1712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11964 .loc 1 1712 5 is_stmt 0 discriminator 1 view .LVU3674 11965 0096 0123 movs r3, #1 11966 0098 85F83E30 strb r3, [r5, #62] 11967 009c 0020 movs r0, #0 11968 009e 37E0 b .L851 11969 .LVL915: 11970 .L855: 1674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 11971 .loc 1 1674 7 is_stmt 1 view .LVU3675 ARM GAS /tmp/cc0wMqvE.s page 405 11972 00a0 0268 ldr r2, [r0] 11973 00a2 D368 ldr r3, [r2, #12] 11974 00a4 23F00403 bic r3, r3, #4 11975 00a8 D360 str r3, [r2, #12] 1675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11976 .loc 1 1675 7 view .LVU3676 1697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11977 .loc 1 1697 3 view .LVU3677 11978 00aa BDE7 b .L857 11979 .L854: 1681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 11980 .loc 1 1681 7 view .LVU3678 11981 00ac 0268 ldr r2, [r0] 11982 00ae D368 ldr r3, [r2, #12] 11983 00b0 23F00803 bic r3, r3, #8 11984 00b4 D360 str r3, [r2, #12] 1682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11985 .loc 1 1682 7 view .LVU3679 1697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11986 .loc 1 1697 3 view .LVU3680 11987 00b6 B7E7 b .L857 11988 .L852: 1688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 11989 .loc 1 1688 7 view .LVU3681 11990 00b8 0268 ldr r2, [r0] 11991 00ba D368 ldr r3, [r2, #12] 11992 00bc 23F01003 bic r3, r3, #16 11993 00c0 D360 str r3, [r2, #12] 1689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11994 .loc 1 1689 7 view .LVU3682 1697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11995 .loc 1 1697 3 view .LVU3683 11996 00c2 B1E7 b .L857 11997 .LVL916: 11998 .L861: 1697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11999 .loc 1 1697 3 is_stmt 0 view .LVU3684 12000 00c4 043C subs r4, r4, #4 12001 .LVL917: 1697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12002 .loc 1 1697 3 view .LVU3685 12003 00c6 0C2C cmp r4, #12 12004 00c8 1CD8 bhi .L862 12005 00ca DFE804F0 tbb [pc, r4] 12006 .L864: 12007 00ce 07 .byte (.L867-.L864)/2 12008 00cf 1B .byte (.L862-.L864)/2 12009 00d0 1B .byte (.L862-.L864)/2 12010 00d1 1B .byte (.L862-.L864)/2 12011 00d2 0C .byte (.L866-.L864)/2 12012 00d3 1B .byte (.L862-.L864)/2 12013 00d4 1B .byte (.L862-.L864)/2 12014 00d5 1B .byte (.L862-.L864)/2 12015 00d6 11 .byte (.L865-.L864)/2 12016 00d7 1B .byte (.L862-.L864)/2 12017 00d8 1B .byte (.L862-.L864)/2 12018 00d9 1B .byte (.L862-.L864)/2 ARM GAS /tmp/cc0wMqvE.s page 406 12019 00da 16 .byte (.L863-.L864)/2 12020 00db 00 .p2align 1 12021 .L867: 1712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12022 .loc 1 1712 5 discriminator 3 view .LVU3686 12023 00dc 0123 movs r3, #1 12024 00de 85F83F30 strb r3, [r5, #63] 12025 00e2 0020 movs r0, #0 12026 00e4 14E0 b .L851 12027 .L866: 1712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12028 .loc 1 1712 5 discriminator 6 view .LVU3687 12029 00e6 0123 movs r3, #1 12030 00e8 85F84030 strb r3, [r5, #64] 12031 00ec 0020 movs r0, #0 12032 00ee 0FE0 b .L851 12033 .L865: 1712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12034 .loc 1 1712 5 discriminator 9 view .LVU3688 12035 00f0 0123 movs r3, #1 12036 00f2 85F84130 strb r3, [r5, #65] 12037 00f6 0020 movs r0, #0 12038 00f8 0AE0 b .L851 12039 .L863: 1712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12040 .loc 1 1712 5 discriminator 12 view .LVU3689 12041 00fa 0123 movs r3, #1 12042 00fc 85F84230 strb r3, [r5, #66] 12043 0100 0020 movs r0, #0 12044 0102 05E0 b .L851 12045 .L862: 1712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12046 .loc 1 1712 5 discriminator 13 view .LVU3690 12047 0104 0123 movs r3, #1 12048 0106 85F84330 strb r3, [r5, #67] 12049 010a 0020 movs r0, #0 12050 010c 00E0 b .L851 12051 .LVL918: 12052 .L868: 1662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12053 .loc 1 1662 3 view .LVU3691 12054 010e 0120 movs r0, #1 12055 .LVL919: 12056 .L851: 1716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12057 .loc 1 1716 3 is_stmt 1 view .LVU3692 1717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12058 .loc 1 1717 1 is_stmt 0 view .LVU3693 12059 0110 38BD pop {r3, r4, r5, pc} 12060 .LVL920: 12061 .L871: 1717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12062 .loc 1 1717 1 view .LVU3694 12063 0112 00BF .align 2 12064 .L870: 12065 0114 002C0140 .word 1073818624 12066 .cfi_endproc ARM GAS /tmp/cc0wMqvE.s page 407 12067 .LFE356: 12069 .section .text.HAL_TIM_PWM_Start_DMA,"ax",%progbits 12070 .align 1 12071 .global HAL_TIM_PWM_Start_DMA 12072 .syntax unified 12073 .thumb 12074 .thumb_func 12076 HAL_TIM_PWM_Start_DMA: 12077 .LVL921: 12078 .LFB357: 1733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 12079 .loc 1 1733 1 is_stmt 1 view -0 12080 .cfi_startproc 12081 @ args = 0, pretend = 0, frame = 0 12082 @ frame_needed = 0, uses_anonymous_args = 0 1733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 12083 .loc 1 1733 1 is_stmt 0 view .LVU3696 12084 0000 38B5 push {r3, r4, r5, lr} 12085 .LCFI95: 12086 .cfi_def_cfa_offset 16 12087 .cfi_offset 3, -16 12088 .cfi_offset 4, -12 12089 .cfi_offset 5, -8 12090 .cfi_offset 14, -4 12091 0002 0446 mov r4, r0 12092 0004 0D46 mov r5, r1 12093 0006 1146 mov r1, r2 12094 .LVL922: 1734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 12095 .loc 1 1734 3 is_stmt 1 view .LVU3697 1735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12096 .loc 1 1735 3 view .LVU3698 1738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12097 .loc 1 1738 3 view .LVU3699 1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12098 .loc 1 1741 3 view .LVU3700 12099 0008 102D cmp r5, #16 12100 000a 41D8 bhi .L873 12101 000c DFE805F0 tbb [pc, r5] 12102 .LVL923: 12103 .L875: 12104 0010 09 .byte (.L879-.L875)/2 12105 0011 40 .byte (.L873-.L875)/2 12106 0012 40 .byte (.L873-.L875)/2 12107 0013 40 .byte (.L873-.L875)/2 12108 0014 20 .byte (.L878-.L875)/2 12109 0015 40 .byte (.L873-.L875)/2 12110 0016 40 .byte (.L873-.L875)/2 12111 0017 40 .byte (.L873-.L875)/2 12112 0018 28 .byte (.L877-.L875)/2 12113 0019 40 .byte (.L873-.L875)/2 12114 001a 40 .byte (.L873-.L875)/2 12115 001b 40 .byte (.L873-.L875)/2 12116 001c 30 .byte (.L876-.L875)/2 12117 001d 40 .byte (.L873-.L875)/2 12118 001e 40 .byte (.L873-.L875)/2 12119 001f 40 .byte (.L873-.L875)/2 ARM GAS /tmp/cc0wMqvE.s page 408 12120 0020 38 .byte (.L874-.L875)/2 12121 0021 00 .p2align 1 12122 .L879: 1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12123 .loc 1 1741 7 is_stmt 0 discriminator 1 view .LVU3701 12124 0022 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 12125 .LVL924: 1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12126 .loc 1 1741 7 discriminator 1 view .LVU3702 12127 0026 C0B2 uxtb r0, r0 1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12128 .loc 1 1741 44 discriminator 1 view .LVU3703 12129 0028 0228 cmp r0, #2 12130 002a 14BF ite ne 12131 002c 0020 movne r0, #0 12132 002e 0120 moveq r0, #1 12133 .L880: 1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12134 .loc 1 1741 6 discriminator 20 view .LVU3704 12135 0030 0028 cmp r0, #0 12136 0032 40F05981 bne .L908 1745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12137 .loc 1 1745 8 is_stmt 1 view .LVU3705 12138 0036 102D cmp r5, #16 12139 0038 74D8 bhi .L882 12140 003a DFE805F0 tbb [pc, r5] 12141 .L884: 12142 003e 31 .byte (.L888-.L884)/2 12143 003f 73 .byte (.L882-.L884)/2 12144 0040 73 .byte (.L882-.L884)/2 12145 0041 73 .byte (.L882-.L884)/2 12146 0042 53 .byte (.L887-.L884)/2 12147 0043 73 .byte (.L882-.L884)/2 12148 0044 73 .byte (.L882-.L884)/2 12149 0045 73 .byte (.L882-.L884)/2 12150 0046 5B .byte (.L886-.L884)/2 12151 0047 73 .byte (.L882-.L884)/2 12152 0048 73 .byte (.L882-.L884)/2 12153 0049 73 .byte (.L882-.L884)/2 12154 004a 63 .byte (.L885-.L884)/2 12155 004b 73 .byte (.L882-.L884)/2 12156 004c 73 .byte (.L882-.L884)/2 12157 004d 73 .byte (.L882-.L884)/2 12158 004e 6B .byte (.L883-.L884)/2 12159 .LVL925: 12160 004f 00 .p2align 1 12161 .L878: 1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12162 .loc 1 1741 7 is_stmt 0 discriminator 4 view .LVU3706 12163 0050 90F83F00 ldrb r0, [r0, #63] @ zero_extendqisi2 12164 .LVL926: 1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12165 .loc 1 1741 7 discriminator 4 view .LVU3707 12166 0054 C0B2 uxtb r0, r0 1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12167 .loc 1 1741 44 discriminator 4 view .LVU3708 12168 0056 0228 cmp r0, #2 ARM GAS /tmp/cc0wMqvE.s page 409 12169 0058 14BF ite ne 12170 005a 0020 movne r0, #0 12171 005c 0120 moveq r0, #1 12172 005e E7E7 b .L880 12173 .LVL927: 12174 .L877: 1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12175 .loc 1 1741 7 discriminator 7 view .LVU3709 12176 0060 90F84000 ldrb r0, [r0, #64] @ zero_extendqisi2 12177 .LVL928: 1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12178 .loc 1 1741 7 discriminator 7 view .LVU3710 12179 0064 C0B2 uxtb r0, r0 1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12180 .loc 1 1741 44 discriminator 7 view .LVU3711 12181 0066 0228 cmp r0, #2 12182 0068 14BF ite ne 12183 006a 0020 movne r0, #0 12184 006c 0120 moveq r0, #1 12185 006e DFE7 b .L880 12186 .LVL929: 12187 .L876: 1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12188 .loc 1 1741 7 discriminator 10 view .LVU3712 12189 0070 90F84100 ldrb r0, [r0, #65] @ zero_extendqisi2 12190 .LVL930: 1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12191 .loc 1 1741 7 discriminator 10 view .LVU3713 12192 0074 C0B2 uxtb r0, r0 1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12193 .loc 1 1741 44 discriminator 10 view .LVU3714 12194 0076 0228 cmp r0, #2 12195 0078 14BF ite ne 12196 007a 0020 movne r0, #0 12197 007c 0120 moveq r0, #1 12198 007e D7E7 b .L880 12199 .LVL931: 12200 .L874: 1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12201 .loc 1 1741 7 discriminator 13 view .LVU3715 12202 0080 90F84200 ldrb r0, [r0, #66] @ zero_extendqisi2 12203 .LVL932: 1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12204 .loc 1 1741 7 discriminator 13 view .LVU3716 12205 0084 C0B2 uxtb r0, r0 1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12206 .loc 1 1741 44 discriminator 13 view .LVU3717 12207 0086 0228 cmp r0, #2 12208 0088 14BF ite ne 12209 008a 0020 movne r0, #0 12210 008c 0120 moveq r0, #1 12211 008e CFE7 b .L880 12212 .LVL933: 12213 .L873: 1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12214 .loc 1 1741 7 discriminator 14 view .LVU3718 12215 0090 90F84300 ldrb r0, [r0, #67] @ zero_extendqisi2 ARM GAS /tmp/cc0wMqvE.s page 410 12216 .LVL934: 1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12217 .loc 1 1741 7 discriminator 14 view .LVU3719 12218 0094 C0B2 uxtb r0, r0 1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12219 .loc 1 1741 44 discriminator 14 view .LVU3720 12220 0096 0228 cmp r0, #2 12221 0098 14BF ite ne 12222 009a 0020 movne r0, #0 12223 009c 0120 moveq r0, #1 12224 009e C7E7 b .L880 12225 .L888: 1745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12226 .loc 1 1745 12 discriminator 1 view .LVU3721 12227 00a0 94F83E20 ldrb r2, [r4, #62] @ zero_extendqisi2 12228 00a4 D2B2 uxtb r2, r2 1745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12229 .loc 1 1745 49 discriminator 1 view .LVU3722 12230 00a6 012A cmp r2, #1 12231 00a8 14BF ite ne 12232 00aa 0022 movne r2, #0 12233 00ac 0122 moveq r2, #1 12234 .L889: 1745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12235 .loc 1 1745 11 discriminator 20 view .LVU3723 12236 00ae 002A cmp r2, #0 12237 00b0 00F01C81 beq .L909 1747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12238 .loc 1 1747 5 is_stmt 1 view .LVU3724 1747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12239 .loc 1 1747 8 is_stmt 0 view .LVU3725 12240 00b4 0029 cmp r1, #0 12241 00b6 3DD0 beq .L923 12242 .L890: 1753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12243 .loc 1 1753 7 is_stmt 1 view .LVU3726 12244 00b8 102D cmp r5, #16 12245 00ba 00F2E580 bhi .L891 12246 00be DFE815F0 tbh [pc, r5, lsl #1] 12247 .L893: 12248 00c2 3D00 .2byte (.L897-.L893)/2 12249 00c4 E300 .2byte (.L891-.L893)/2 12250 00c6 E300 .2byte (.L891-.L893)/2 12251 00c8 E300 .2byte (.L891-.L893)/2 12252 00ca 9300 .2byte (.L896-.L893)/2 12253 00cc E300 .2byte (.L891-.L893)/2 12254 00ce E300 .2byte (.L891-.L893)/2 12255 00d0 E300 .2byte (.L891-.L893)/2 12256 00d2 AC00 .2byte (.L895-.L893)/2 12257 00d4 E300 .2byte (.L891-.L893)/2 12258 00d6 E300 .2byte (.L891-.L893)/2 12259 00d8 E300 .2byte (.L891-.L893)/2 12260 00da C500 .2byte (.L894-.L893)/2 12261 00dc E300 .2byte (.L891-.L893)/2 12262 00de E300 .2byte (.L891-.L893)/2 12263 00e0 E300 .2byte (.L891-.L893)/2 12264 00e2 DE00 .2byte (.L892-.L893)/2 ARM GAS /tmp/cc0wMqvE.s page 411 12265 .p2align 1 12266 .L887: 1745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12267 .loc 1 1745 12 is_stmt 0 discriminator 4 view .LVU3727 12268 00e4 94F83F20 ldrb r2, [r4, #63] @ zero_extendqisi2 12269 00e8 D2B2 uxtb r2, r2 1745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12270 .loc 1 1745 49 discriminator 4 view .LVU3728 12271 00ea 012A cmp r2, #1 12272 00ec 14BF ite ne 12273 00ee 0022 movne r2, #0 12274 00f0 0122 moveq r2, #1 12275 00f2 DCE7 b .L889 12276 .L886: 1745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12277 .loc 1 1745 12 discriminator 7 view .LVU3729 12278 00f4 94F84020 ldrb r2, [r4, #64] @ zero_extendqisi2 12279 00f8 D2B2 uxtb r2, r2 1745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12280 .loc 1 1745 49 discriminator 7 view .LVU3730 12281 00fa 012A cmp r2, #1 12282 00fc 14BF ite ne 12283 00fe 0022 movne r2, #0 12284 0100 0122 moveq r2, #1 12285 0102 D4E7 b .L889 12286 .L885: 1745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12287 .loc 1 1745 12 discriminator 10 view .LVU3731 12288 0104 94F84120 ldrb r2, [r4, #65] @ zero_extendqisi2 12289 0108 D2B2 uxtb r2, r2 1745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12290 .loc 1 1745 49 discriminator 10 view .LVU3732 12291 010a 012A cmp r2, #1 12292 010c 14BF ite ne 12293 010e 0022 movne r2, #0 12294 0110 0122 moveq r2, #1 12295 0112 CCE7 b .L889 12296 .L883: 1745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12297 .loc 1 1745 12 discriminator 13 view .LVU3733 12298 0114 94F84220 ldrb r2, [r4, #66] @ zero_extendqisi2 12299 0118 D2B2 uxtb r2, r2 1745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12300 .loc 1 1745 49 discriminator 13 view .LVU3734 12301 011a 012A cmp r2, #1 12302 011c 14BF ite ne 12303 011e 0022 movne r2, #0 12304 0120 0122 moveq r2, #1 12305 0122 C4E7 b .L889 12306 .L882: 1745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12307 .loc 1 1745 12 discriminator 14 view .LVU3735 12308 0124 94F84320 ldrb r2, [r4, #67] @ zero_extendqisi2 12309 0128 D2B2 uxtb r2, r2 1745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12310 .loc 1 1745 49 discriminator 14 view .LVU3736 12311 012a 012A cmp r2, #1 ARM GAS /tmp/cc0wMqvE.s page 412 12312 012c 14BF ite ne 12313 012e 0022 movne r2, #0 12314 0130 0122 moveq r2, #1 12315 0132 BCE7 b .L889 12316 .L923: 1747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12317 .loc 1 1747 25 discriminator 1 view .LVU3737 12318 0134 002B cmp r3, #0 12319 0136 BFD0 beq .L890 1749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12320 .loc 1 1749 14 view .LVU3738 12321 0138 0120 movs r0, #1 12322 013a D8E0 b .L881 12323 .L897: 1753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12324 .loc 1 1753 7 view .LVU3739 12325 013c 0222 movs r2, #2 12326 013e 84F83E20 strb r2, [r4, #62] 1761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12327 .loc 1 1761 3 is_stmt 1 view .LVU3740 12328 .L898: 1766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12329 .loc 1 1766 7 view .LVU3741 1766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12330 .loc 1 1766 17 is_stmt 0 view .LVU3742 12331 0142 626A ldr r2, [r4, #36] 1766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12332 .loc 1 1766 52 view .LVU3743 12333 0144 7148 ldr r0, .L924 12334 0146 D062 str r0, [r2, #44] 1767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12335 .loc 1 1767 7 is_stmt 1 view .LVU3744 1767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12336 .loc 1 1767 17 is_stmt 0 view .LVU3745 12337 0148 626A ldr r2, [r4, #36] 1767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12338 .loc 1 1767 56 view .LVU3746 12339 014a 7148 ldr r0, .L924+4 12340 014c 1063 str r0, [r2, #48] 1770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12341 .loc 1 1770 7 is_stmt 1 view .LVU3747 1770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12342 .loc 1 1770 17 is_stmt 0 view .LVU3748 12343 014e 626A ldr r2, [r4, #36] 1770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12344 .loc 1 1770 53 view .LVU3749 12345 0150 7048 ldr r0, .L924+8 12346 0152 5063 str r0, [r2, #52] 1773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12347 .loc 1 1773 7 is_stmt 1 view .LVU3750 1773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12348 .loc 1 1773 88 is_stmt 0 view .LVU3751 12349 0154 2268 ldr r2, [r4] 1773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12350 .loc 1 1773 11 view .LVU3752 12351 0156 3432 adds r2, r2, #52 12352 0158 606A ldr r0, [r4, #36] ARM GAS /tmp/cc0wMqvE.s page 413 12353 015a FFF7FEFF bl HAL_DMA_Start_IT 12354 .LVL935: 1773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12355 .loc 1 1773 10 view .LVU3753 12356 015e 0028 cmp r0, #0 12357 0160 40F0C880 bne .L912 1781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12358 .loc 1 1781 7 is_stmt 1 view .LVU3754 12359 0164 2268 ldr r2, [r4] 12360 0166 D368 ldr r3, [r2, #12] 12361 0168 43F40073 orr r3, r3, #512 12362 016c D360 str r3, [r2, #12] 1782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12363 .loc 1 1782 7 view .LVU3755 1853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12364 .loc 1 1853 3 view .LVU3756 12365 .L903: 1856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12366 .loc 1 1856 5 view .LVU3757 12367 016e 0122 movs r2, #1 12368 0170 2946 mov r1, r5 12369 0172 2068 ldr r0, [r4] 12370 0174 FFF7FEFF bl TIM_CCxChannelCmd 12371 .LVL936: 1858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12372 .loc 1 1858 5 view .LVU3758 1858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12373 .loc 1 1858 9 is_stmt 0 view .LVU3759 12374 0178 2368 ldr r3, [r4] 12375 017a 674A ldr r2, .L924+12 12376 017c 9342 cmp r3, r2 12377 017e 0FD0 beq .L904 1858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12378 .loc 1 1858 9 discriminator 2 view .LVU3760 12379 0180 02F50062 add r2, r2, #2048 12380 0184 9342 cmp r3, r2 12381 0186 0BD0 beq .L904 1858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12382 .loc 1 1858 9 discriminator 4 view .LVU3761 12383 0188 02F54062 add r2, r2, #3072 12384 018c 9342 cmp r3, r2 12385 018e 07D0 beq .L904 1858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12386 .loc 1 1858 9 discriminator 6 view .LVU3762 12387 0190 02F58062 add r2, r2, #1024 12388 0194 9342 cmp r3, r2 12389 0196 03D0 beq .L904 1858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12390 .loc 1 1858 9 discriminator 8 view .LVU3763 12391 0198 02F58062 add r2, r2, #1024 12392 019c 9342 cmp r3, r2 12393 019e 03D1 bne .L905 12394 .L904: 1861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12395 .loc 1 1861 7 is_stmt 1 view .LVU3764 12396 01a0 5A6C ldr r2, [r3, #68] 12397 01a2 42F40042 orr r2, r2, #32768 ARM GAS /tmp/cc0wMqvE.s page 414 12398 01a6 5A64 str r2, [r3, #68] 12399 .L905: 1865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12400 .loc 1 1865 5 view .LVU3765 1865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12401 .loc 1 1865 9 is_stmt 0 view .LVU3766 12402 01a8 2368 ldr r3, [r4] 1865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12403 .loc 1 1865 8 view .LVU3767 12404 01aa 5B4A ldr r2, .L924+12 12405 01ac 9342 cmp r3, r2 12406 01ae 00F08D80 beq .L906 1865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12407 .loc 1 1865 9 discriminator 1 view .LVU3768 12408 01b2 B3F1804F cmp r3, #1073741824 12409 01b6 00F08980 beq .L906 1865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12410 .loc 1 1865 9 discriminator 2 view .LVU3769 12411 01ba A2F59432 sub r2, r2, #75776 12412 01be 9342 cmp r3, r2 12413 01c0 00F08480 beq .L906 1865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12414 .loc 1 1865 9 discriminator 3 view .LVU3770 12415 01c4 02F58062 add r2, r2, #1024 12416 01c8 9342 cmp r3, r2 12417 01ca 7FD0 beq .L906 1865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12418 .loc 1 1865 9 discriminator 4 view .LVU3771 12419 01cc 02F59632 add r2, r2, #76800 12420 01d0 9342 cmp r3, r2 12421 01d2 7BD0 beq .L906 1865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12422 .loc 1 1865 9 discriminator 5 view .LVU3772 12423 01d4 02F54062 add r2, r2, #3072 12424 01d8 9342 cmp r3, r2 12425 01da 77D0 beq .L906 1875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12426 .loc 1 1875 7 is_stmt 1 view .LVU3773 12427 01dc 1A68 ldr r2, [r3] 12428 01de 42F00102 orr r2, r2, #1 12429 01e2 1A60 str r2, [r3] 12430 01e4 0020 movs r0, #0 12431 01e6 82E0 b .L881 12432 .LVL937: 12433 .L896: 1753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12434 .loc 1 1753 7 is_stmt 0 view .LVU3774 12435 01e8 0222 movs r2, #2 12436 01ea 84F83F20 strb r2, [r4, #63] 1761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12437 .loc 1 1761 3 is_stmt 1 view .LVU3775 12438 .L899: 1788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12439 .loc 1 1788 7 view .LVU3776 1788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12440 .loc 1 1788 17 is_stmt 0 view .LVU3777 12441 01ee A26A ldr r2, [r4, #40] ARM GAS /tmp/cc0wMqvE.s page 415 1788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12442 .loc 1 1788 52 view .LVU3778 12443 01f0 4648 ldr r0, .L924 12444 01f2 D062 str r0, [r2, #44] 1789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12445 .loc 1 1789 7 is_stmt 1 view .LVU3779 1789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12446 .loc 1 1789 17 is_stmt 0 view .LVU3780 12447 01f4 A26A ldr r2, [r4, #40] 1789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12448 .loc 1 1789 56 view .LVU3781 12449 01f6 4648 ldr r0, .L924+4 12450 01f8 1063 str r0, [r2, #48] 1792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12451 .loc 1 1792 7 is_stmt 1 view .LVU3782 1792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12452 .loc 1 1792 17 is_stmt 0 view .LVU3783 12453 01fa A26A ldr r2, [r4, #40] 1792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12454 .loc 1 1792 53 view .LVU3784 12455 01fc 4548 ldr r0, .L924+8 12456 01fe 5063 str r0, [r2, #52] 1795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12457 .loc 1 1795 7 is_stmt 1 view .LVU3785 1795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12458 .loc 1 1795 88 is_stmt 0 view .LVU3786 12459 0200 2268 ldr r2, [r4] 1795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12460 .loc 1 1795 11 view .LVU3787 12461 0202 3832 adds r2, r2, #56 12462 0204 A06A ldr r0, [r4, #40] 12463 0206 FFF7FEFF bl HAL_DMA_Start_IT 12464 .LVL938: 1795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12465 .loc 1 1795 10 view .LVU3788 12466 020a 0028 cmp r0, #0 12467 020c 74D1 bne .L913 1802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12468 .loc 1 1802 7 is_stmt 1 view .LVU3789 12469 020e 2268 ldr r2, [r4] 12470 0210 D368 ldr r3, [r2, #12] 12471 0212 43F48063 orr r3, r3, #1024 12472 0216 D360 str r3, [r2, #12] 1803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12473 .loc 1 1803 7 view .LVU3790 1853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12474 .loc 1 1853 3 view .LVU3791 12475 0218 A9E7 b .L903 12476 .LVL939: 12477 .L895: 1753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12478 .loc 1 1753 7 is_stmt 0 view .LVU3792 12479 021a 0222 movs r2, #2 12480 021c 84F84020 strb r2, [r4, #64] 1761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12481 .loc 1 1761 3 is_stmt 1 view .LVU3793 12482 .L900: ARM GAS /tmp/cc0wMqvE.s page 416 1809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12483 .loc 1 1809 7 view .LVU3794 1809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12484 .loc 1 1809 17 is_stmt 0 view .LVU3795 12485 0220 E26A ldr r2, [r4, #44] 1809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12486 .loc 1 1809 52 view .LVU3796 12487 0222 3A48 ldr r0, .L924 12488 0224 D062 str r0, [r2, #44] 1810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12489 .loc 1 1810 7 is_stmt 1 view .LVU3797 1810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12490 .loc 1 1810 17 is_stmt 0 view .LVU3798 12491 0226 E26A ldr r2, [r4, #44] 1810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12492 .loc 1 1810 56 view .LVU3799 12493 0228 3948 ldr r0, .L924+4 12494 022a 1063 str r0, [r2, #48] 1813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12495 .loc 1 1813 7 is_stmt 1 view .LVU3800 1813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12496 .loc 1 1813 17 is_stmt 0 view .LVU3801 12497 022c E26A ldr r2, [r4, #44] 1813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12498 .loc 1 1813 53 view .LVU3802 12499 022e 3948 ldr r0, .L924+8 12500 0230 5063 str r0, [r2, #52] 1816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12501 .loc 1 1816 7 is_stmt 1 view .LVU3803 1816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12502 .loc 1 1816 88 is_stmt 0 view .LVU3804 12503 0232 2268 ldr r2, [r4] 1816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12504 .loc 1 1816 11 view .LVU3805 12505 0234 3C32 adds r2, r2, #60 12506 0236 E06A ldr r0, [r4, #44] 12507 0238 FFF7FEFF bl HAL_DMA_Start_IT 12508 .LVL940: 1816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12509 .loc 1 1816 10 view .LVU3806 12510 023c 0028 cmp r0, #0 12511 023e 5DD1 bne .L914 1823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12512 .loc 1 1823 7 is_stmt 1 view .LVU3807 12513 0240 2268 ldr r2, [r4] 12514 0242 D368 ldr r3, [r2, #12] 12515 0244 43F40063 orr r3, r3, #2048 12516 0248 D360 str r3, [r2, #12] 1824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12517 .loc 1 1824 7 view .LVU3808 1853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12518 .loc 1 1853 3 view .LVU3809 12519 024a 90E7 b .L903 12520 .LVL941: 12521 .L894: 1753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12522 .loc 1 1753 7 is_stmt 0 view .LVU3810 ARM GAS /tmp/cc0wMqvE.s page 417 12523 024c 0222 movs r2, #2 12524 024e 84F84120 strb r2, [r4, #65] 1761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12525 .loc 1 1761 3 is_stmt 1 view .LVU3811 12526 .L901: 1830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12527 .loc 1 1830 7 view .LVU3812 1830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12528 .loc 1 1830 17 is_stmt 0 view .LVU3813 12529 0252 226B ldr r2, [r4, #48] 1830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12530 .loc 1 1830 52 view .LVU3814 12531 0254 2D48 ldr r0, .L924 12532 0256 D062 str r0, [r2, #44] 1831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12533 .loc 1 1831 7 is_stmt 1 view .LVU3815 1831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12534 .loc 1 1831 17 is_stmt 0 view .LVU3816 12535 0258 226B ldr r2, [r4, #48] 1831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12536 .loc 1 1831 56 view .LVU3817 12537 025a 2D48 ldr r0, .L924+4 12538 025c 1063 str r0, [r2, #48] 1834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12539 .loc 1 1834 7 is_stmt 1 view .LVU3818 1834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12540 .loc 1 1834 17 is_stmt 0 view .LVU3819 12541 025e 226B ldr r2, [r4, #48] 1834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12542 .loc 1 1834 53 view .LVU3820 12543 0260 2C48 ldr r0, .L924+8 12544 0262 5063 str r0, [r2, #52] 1837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12545 .loc 1 1837 7 is_stmt 1 view .LVU3821 1837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12546 .loc 1 1837 88 is_stmt 0 view .LVU3822 12547 0264 2268 ldr r2, [r4] 1837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12548 .loc 1 1837 11 view .LVU3823 12549 0266 4032 adds r2, r2, #64 12550 0268 206B ldr r0, [r4, #48] 12551 026a FFF7FEFF bl HAL_DMA_Start_IT 12552 .LVL942: 1837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12553 .loc 1 1837 10 view .LVU3824 12554 026e 0028 cmp r0, #0 12555 0270 46D1 bne .L915 1844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12556 .loc 1 1844 7 is_stmt 1 view .LVU3825 12557 0272 2268 ldr r2, [r4] 12558 0274 D368 ldr r3, [r2, #12] 12559 0276 43F48053 orr r3, r3, #4096 12560 027a D360 str r3, [r2, #12] 1845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12561 .loc 1 1845 7 view .LVU3826 1853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12562 .loc 1 1853 3 view .LVU3827 ARM GAS /tmp/cc0wMqvE.s page 418 12563 027c 77E7 b .L903 12564 .LVL943: 12565 .L892: 1753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12566 .loc 1 1753 7 is_stmt 0 view .LVU3828 12567 027e 0223 movs r3, #2 12568 .LVL944: 1753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12569 .loc 1 1753 7 view .LVU3829 12570 0280 84F84230 strb r3, [r4, #66] 1761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12571 .loc 1 1761 3 is_stmt 1 view .LVU3830 1753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12572 .loc 1 1753 7 is_stmt 0 view .LVU3831 12573 0284 0120 movs r0, #1 12574 0286 32E0 b .L881 12575 .LVL945: 12576 .L891: 1753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12577 .loc 1 1753 7 discriminator 13 view .LVU3832 12578 0288 0222 movs r2, #2 12579 028a 84F84320 strb r2, [r4, #67] 1761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12580 .loc 1 1761 3 is_stmt 1 discriminator 13 view .LVU3833 12581 028e 0C2D cmp r5, #12 12582 0290 2ED8 bhi .L911 12583 0292 01A2 adr r2, .L902 12584 0294 52F825F0 ldr pc, [r2, r5, lsl #2] 12585 .p2align 2 12586 .L902: 12587 0298 43010000 .word .L898+1 12588 029c F1020000 .word .L911+1 12589 02a0 F1020000 .word .L911+1 12590 02a4 F1020000 .word .L911+1 12591 02a8 EF010000 .word .L899+1 12592 02ac F1020000 .word .L911+1 12593 02b0 F1020000 .word .L911+1 12594 02b4 F1020000 .word .L911+1 12595 02b8 21020000 .word .L900+1 12596 02bc F1020000 .word .L911+1 12597 02c0 F1020000 .word .L911+1 12598 02c4 F1020000 .word .L911+1 12599 02c8 53020000 .word .L901+1 12600 .LVL946: 12601 .p2align 1 12602 .L906: 1867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 12603 .loc 1 1867 7 view .LVU3834 1867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 12604 .loc 1 1867 31 is_stmt 0 view .LVU3835 12605 02cc 9968 ldr r1, [r3, #8] 1867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 12606 .loc 1 1867 15 view .LVU3836 12607 02ce 134A ldr r2, .L924+16 12608 02d0 0A40 ands r2, r2, r1 12609 .LVL947: 1868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 419 12610 .loc 1 1868 7 is_stmt 1 view .LVU3837 1868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12611 .loc 1 1868 10 is_stmt 0 view .LVU3838 12612 02d2 062A cmp r2, #6 12613 02d4 16D0 beq .L916 1868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12614 .loc 1 1868 11 discriminator 1 view .LVU3839 12615 02d6 B2F5803F cmp r2, #65536 12616 02da 15D0 beq .L917 1870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12617 .loc 1 1870 9 is_stmt 1 view .LVU3840 12618 02dc 1A68 ldr r2, [r3] 12619 .LVL948: 1870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12620 .loc 1 1870 9 is_stmt 0 view .LVU3841 12621 02de 42F00102 orr r2, r2, #1 12622 02e2 1A60 str r2, [r3] 12623 02e4 0020 movs r0, #0 12624 02e6 02E0 b .L881 12625 .LVL949: 12626 .L908: 1743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12627 .loc 1 1743 12 view .LVU3842 12628 02e8 0220 movs r0, #2 12629 02ea 00E0 b .L881 12630 .L909: 1758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12631 .loc 1 1758 12 view .LVU3843 12632 02ec 0120 movs r0, #1 12633 .LVL950: 12634 .L881: 1881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12635 .loc 1 1881 1 view .LVU3844 12636 02ee 38BD pop {r3, r4, r5, pc} 12637 .LVL951: 12638 .L911: 1761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12639 .loc 1 1761 3 view .LVU3845 12640 02f0 0120 movs r0, #1 12641 02f2 FCE7 b .L881 12642 .LVL952: 12643 .L912: 1777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12644 .loc 1 1777 16 view .LVU3846 12645 02f4 0120 movs r0, #1 12646 02f6 FAE7 b .L881 12647 .L913: 1799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12648 .loc 1 1799 16 view .LVU3847 12649 02f8 0120 movs r0, #1 12650 02fa F8E7 b .L881 12651 .L914: 1820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12652 .loc 1 1820 16 view .LVU3848 12653 02fc 0120 movs r0, #1 12654 02fe F6E7 b .L881 12655 .L915: ARM GAS /tmp/cc0wMqvE.s page 420 1841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12656 .loc 1 1841 16 view .LVU3849 12657 0300 0120 movs r0, #1 12658 0302 F4E7 b .L881 12659 .LVL953: 12660 .L916: 1841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12661 .loc 1 1841 16 view .LVU3850 12662 0304 0020 movs r0, #0 12663 0306 F2E7 b .L881 12664 .L917: 12665 0308 0020 movs r0, #0 12666 030a F0E7 b .L881 12667 .L925: 12668 .align 2 12669 .L924: 12670 030c 00000000 .word TIM_DMADelayPulseCplt 12671 0310 00000000 .word TIM_DMADelayPulseHalfCplt 12672 0314 00000000 .word TIM_DMAError 12673 0318 002C0140 .word 1073818624 12674 031c 07000100 .word 65543 12675 .cfi_endproc 12676 .LFE357: 12678 .section .text.HAL_TIM_PWM_Stop_DMA,"ax",%progbits 12679 .align 1 12680 .global HAL_TIM_PWM_Stop_DMA 12681 .syntax unified 12682 .thumb 12683 .thumb_func 12685 HAL_TIM_PWM_Stop_DMA: 12686 .LVL954: 12687 .LFB358: 1895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 12688 .loc 1 1895 1 is_stmt 1 view -0 12689 .cfi_startproc 12690 @ args = 0, pretend = 0, frame = 0 12691 @ frame_needed = 0, uses_anonymous_args = 0 1895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 12692 .loc 1 1895 1 is_stmt 0 view .LVU3852 12693 0000 38B5 push {r3, r4, r5, lr} 12694 .LCFI96: 12695 .cfi_def_cfa_offset 16 12696 .cfi_offset 3, -16 12697 .cfi_offset 4, -12 12698 .cfi_offset 5, -8 12699 .cfi_offset 14, -4 12700 0002 0546 mov r5, r0 12701 0004 0C46 mov r4, r1 1896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12702 .loc 1 1896 3 is_stmt 1 view .LVU3853 12703 .LVL955: 1899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12704 .loc 1 1899 3 view .LVU3854 1901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12705 .loc 1 1901 3 view .LVU3855 12706 0006 0C29 cmp r1, #12 12707 0008 00F28D80 bhi .L944 ARM GAS /tmp/cc0wMqvE.s page 421 12708 000c DFE801F0 tbb [pc, r1] 12709 .L929: 12710 0010 07 .byte (.L932-.L929)/2 12711 0011 8B .byte (.L944-.L929)/2 12712 0012 8B .byte (.L944-.L929)/2 12713 0013 8B .byte (.L944-.L929)/2 12714 0014 4B .byte (.L931-.L929)/2 12715 0015 8B .byte (.L944-.L929)/2 12716 0016 8B .byte (.L944-.L929)/2 12717 0017 8B .byte (.L944-.L929)/2 12718 0018 54 .byte (.L930-.L929)/2 12719 0019 8B .byte (.L944-.L929)/2 12720 001a 8B .byte (.L944-.L929)/2 12721 001b 8B .byte (.L944-.L929)/2 12722 001c 5D .byte (.L928-.L929)/2 12723 001d 00 .p2align 1 12724 .L932: 1906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 12725 .loc 1 1906 7 view .LVU3856 12726 001e 0268 ldr r2, [r0] 12727 0020 D368 ldr r3, [r2, #12] 12728 0022 23F40073 bic r3, r3, #512 12729 0026 D360 str r3, [r2, #12] 1907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12730 .loc 1 1907 7 view .LVU3857 1907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12731 .loc 1 1907 13 is_stmt 0 view .LVU3858 12732 0028 406A ldr r0, [r0, #36] 12733 .LVL956: 1907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12734 .loc 1 1907 13 view .LVU3859 12735 002a FFF7FEFF bl HAL_DMA_Abort_IT 12736 .LVL957: 1908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12737 .loc 1 1908 7 is_stmt 1 view .LVU3860 1940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12738 .loc 1 1940 3 view .LVU3861 12739 .L933: 1943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12740 .loc 1 1943 5 view .LVU3862 12741 002e 0022 movs r2, #0 12742 0030 2146 mov r1, r4 12743 0032 2868 ldr r0, [r5] 12744 0034 FFF7FEFF bl TIM_CCxChannelCmd 12745 .LVL958: 1945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12746 .loc 1 1945 5 view .LVU3863 1945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12747 .loc 1 1945 9 is_stmt 0 view .LVU3864 12748 0038 2B68 ldr r3, [r5] 12749 003a 3C4A ldr r2, .L946 12750 003c 9342 cmp r3, r2 12751 003e 0FD0 beq .L934 1945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12752 .loc 1 1945 9 discriminator 2 view .LVU3865 12753 0040 02F50062 add r2, r2, #2048 12754 0044 9342 cmp r3, r2 ARM GAS /tmp/cc0wMqvE.s page 422 12755 0046 0BD0 beq .L934 1945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12756 .loc 1 1945 9 discriminator 4 view .LVU3866 12757 0048 02F54062 add r2, r2, #3072 12758 004c 9342 cmp r3, r2 12759 004e 07D0 beq .L934 1945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12760 .loc 1 1945 9 discriminator 6 view .LVU3867 12761 0050 02F58062 add r2, r2, #1024 12762 0054 9342 cmp r3, r2 12763 0056 03D0 beq .L934 1945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12764 .loc 1 1945 9 discriminator 8 view .LVU3868 12765 0058 02F58062 add r2, r2, #1024 12766 005c 9342 cmp r3, r2 12767 005e 0DD1 bne .L935 12768 .L934: 1948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12769 .loc 1 1948 7 is_stmt 1 view .LVU3869 1948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12770 .loc 1 1948 7 view .LVU3870 12771 0060 196A ldr r1, [r3, #32] 12772 0062 41F21112 movw r2, #4369 12773 0066 1142 tst r1, r2 12774 0068 08D1 bne .L935 1948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12775 .loc 1 1948 7 discriminator 1 view .LVU3871 12776 006a 196A ldr r1, [r3, #32] 12777 006c 44F24442 movw r2, #17476 12778 0070 1142 tst r1, r2 12779 0072 03D1 bne .L935 1948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12780 .loc 1 1948 7 discriminator 3 view .LVU3872 12781 0074 5A6C ldr r2, [r3, #68] 12782 0076 22F40042 bic r2, r2, #32768 12783 007a 5A64 str r2, [r3, #68] 12784 .L935: 1948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12785 .loc 1 1948 7 discriminator 5 view .LVU3873 1952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12786 .loc 1 1952 5 discriminator 5 view .LVU3874 1952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12787 .loc 1 1952 5 discriminator 5 view .LVU3875 12788 007c 2B68 ldr r3, [r5] 12789 007e 196A ldr r1, [r3, #32] 12790 0080 41F21112 movw r2, #4369 12791 0084 1142 tst r1, r2 12792 0086 08D1 bne .L936 1952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12793 .loc 1 1952 5 discriminator 1 view .LVU3876 12794 0088 196A ldr r1, [r3, #32] 12795 008a 44F24442 movw r2, #17476 12796 008e 1142 tst r1, r2 12797 0090 03D1 bne .L936 1952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12798 .loc 1 1952 5 discriminator 3 view .LVU3877 12799 0092 1A68 ldr r2, [r3] ARM GAS /tmp/cc0wMqvE.s page 423 12800 0094 22F00102 bic r2, r2, #1 12801 0098 1A60 str r2, [r3] 12802 .L936: 1952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12803 .loc 1 1952 5 discriminator 5 view .LVU3878 1955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12804 .loc 1 1955 5 discriminator 5 view .LVU3879 12805 009a FCB9 cbnz r4, .L937 1955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12806 .loc 1 1955 5 is_stmt 0 discriminator 1 view .LVU3880 12807 009c 0123 movs r3, #1 12808 009e 85F83E30 strb r3, [r5, #62] 12809 00a2 0020 movs r0, #0 12810 00a4 40E0 b .L927 12811 .LVL959: 12812 .L931: 1914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 12813 .loc 1 1914 7 is_stmt 1 view .LVU3881 12814 00a6 0268 ldr r2, [r0] 12815 00a8 D368 ldr r3, [r2, #12] 12816 00aa 23F48063 bic r3, r3, #1024 12817 00ae D360 str r3, [r2, #12] 1915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12818 .loc 1 1915 7 view .LVU3882 1915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12819 .loc 1 1915 13 is_stmt 0 view .LVU3883 12820 00b0 806A ldr r0, [r0, #40] 12821 .LVL960: 1915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12822 .loc 1 1915 13 view .LVU3884 12823 00b2 FFF7FEFF bl HAL_DMA_Abort_IT 12824 .LVL961: 1916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12825 .loc 1 1916 7 is_stmt 1 view .LVU3885 1940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12826 .loc 1 1940 3 view .LVU3886 12827 00b6 BAE7 b .L933 12828 .LVL962: 12829 .L930: 1922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 12830 .loc 1 1922 7 view .LVU3887 12831 00b8 0268 ldr r2, [r0] 12832 00ba D368 ldr r3, [r2, #12] 12833 00bc 23F40063 bic r3, r3, #2048 12834 00c0 D360 str r3, [r2, #12] 1923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12835 .loc 1 1923 7 view .LVU3888 1923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12836 .loc 1 1923 13 is_stmt 0 view .LVU3889 12837 00c2 C06A ldr r0, [r0, #44] 12838 .LVL963: 1923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12839 .loc 1 1923 13 view .LVU3890 12840 00c4 FFF7FEFF bl HAL_DMA_Abort_IT 12841 .LVL964: 1924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12842 .loc 1 1924 7 is_stmt 1 view .LVU3891 ARM GAS /tmp/cc0wMqvE.s page 424 1940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12843 .loc 1 1940 3 view .LVU3892 12844 00c8 B1E7 b .L933 12845 .LVL965: 12846 .L928: 1930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 12847 .loc 1 1930 7 view .LVU3893 12848 00ca 0268 ldr r2, [r0] 12849 00cc D368 ldr r3, [r2, #12] 12850 00ce 23F48053 bic r3, r3, #4096 12851 00d2 D360 str r3, [r2, #12] 1931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12852 .loc 1 1931 7 view .LVU3894 1931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12853 .loc 1 1931 13 is_stmt 0 view .LVU3895 12854 00d4 006B ldr r0, [r0, #48] 12855 .LVL966: 1931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12856 .loc 1 1931 13 view .LVU3896 12857 00d6 FFF7FEFF bl HAL_DMA_Abort_IT 12858 .LVL967: 1932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12859 .loc 1 1932 7 is_stmt 1 view .LVU3897 1940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12860 .loc 1 1940 3 view .LVU3898 12861 00da A8E7 b .L933 12862 .L937: 1940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12863 .loc 1 1940 3 is_stmt 0 view .LVU3899 12864 00dc 043C subs r4, r4, #4 12865 .LVL968: 1940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12866 .loc 1 1940 3 view .LVU3900 12867 00de 0C2C cmp r4, #12 12868 00e0 1CD8 bhi .L938 12869 00e2 DFE804F0 tbb [pc, r4] 12870 .L940: 12871 00e6 07 .byte (.L943-.L940)/2 12872 00e7 1B .byte (.L938-.L940)/2 12873 00e8 1B .byte (.L938-.L940)/2 12874 00e9 1B .byte (.L938-.L940)/2 12875 00ea 0C .byte (.L942-.L940)/2 12876 00eb 1B .byte (.L938-.L940)/2 12877 00ec 1B .byte (.L938-.L940)/2 12878 00ed 1B .byte (.L938-.L940)/2 12879 00ee 11 .byte (.L941-.L940)/2 12880 00ef 1B .byte (.L938-.L940)/2 12881 00f0 1B .byte (.L938-.L940)/2 12882 00f1 1B .byte (.L938-.L940)/2 12883 00f2 16 .byte (.L939-.L940)/2 12884 00f3 00 .p2align 1 12885 .L943: 1955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12886 .loc 1 1955 5 discriminator 3 view .LVU3901 12887 00f4 0123 movs r3, #1 12888 00f6 85F83F30 strb r3, [r5, #63] 12889 00fa 0020 movs r0, #0 ARM GAS /tmp/cc0wMqvE.s page 425 12890 00fc 14E0 b .L927 12891 .L942: 1955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12892 .loc 1 1955 5 discriminator 6 view .LVU3902 12893 00fe 0123 movs r3, #1 12894 0100 85F84030 strb r3, [r5, #64] 12895 0104 0020 movs r0, #0 12896 0106 0FE0 b .L927 12897 .L941: 1955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12898 .loc 1 1955 5 discriminator 9 view .LVU3903 12899 0108 0123 movs r3, #1 12900 010a 85F84130 strb r3, [r5, #65] 12901 010e 0020 movs r0, #0 12902 0110 0AE0 b .L927 12903 .L939: 1955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12904 .loc 1 1955 5 discriminator 12 view .LVU3904 12905 0112 0123 movs r3, #1 12906 0114 85F84230 strb r3, [r5, #66] 12907 0118 0020 movs r0, #0 12908 011a 05E0 b .L927 12909 .L938: 1955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12910 .loc 1 1955 5 discriminator 13 view .LVU3905 12911 011c 0123 movs r3, #1 12912 011e 85F84330 strb r3, [r5, #67] 12913 0122 0020 movs r0, #0 12914 0124 00E0 b .L927 12915 .LVL969: 12916 .L944: 1901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12917 .loc 1 1901 3 view .LVU3906 12918 0126 0120 movs r0, #1 12919 .LVL970: 12920 .L927: 1959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12921 .loc 1 1959 3 is_stmt 1 view .LVU3907 1960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12922 .loc 1 1960 1 is_stmt 0 view .LVU3908 12923 0128 38BD pop {r3, r4, r5, pc} 12924 .LVL971: 12925 .L947: 1960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12926 .loc 1 1960 1 view .LVU3909 12927 012a 00BF .align 2 12928 .L946: 12929 012c 002C0140 .word 1073818624 12930 .cfi_endproc 12931 .LFE358: 12933 .section .text.HAL_TIM_IC_Start,"ax",%progbits 12934 .align 1 12935 .global HAL_TIM_IC_Start 12936 .syntax unified 12937 .thumb 12938 .thumb_func 12940 HAL_TIM_IC_Start: ARM GAS /tmp/cc0wMqvE.s page 426 12941 .LVL972: 12942 .LFB363: 2136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 12943 .loc 1 2136 1 is_stmt 1 view -0 12944 .cfi_startproc 12945 @ args = 0, pretend = 0, frame = 0 12946 @ frame_needed = 0, uses_anonymous_args = 0 2136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 12947 .loc 1 2136 1 is_stmt 0 view .LVU3911 12948 0000 10B5 push {r4, lr} 12949 .LCFI97: 12950 .cfi_def_cfa_offset 8 12951 .cfi_offset 4, -8 12952 .cfi_offset 14, -4 12953 0002 0446 mov r4, r0 2137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_state = TIM_CHANNEL_STATE_GET(htim, Channel); 12954 .loc 1 2137 3 is_stmt 1 view .LVU3912 2138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 12955 .loc 1 2138 3 view .LVU3913 12956 0004 1029 cmp r1, #16 12957 0006 34D8 bhi .L949 12958 0008 DFE801F0 tbb [pc, r1] 12959 .L951: 12960 000c 09 .byte (.L955-.L951)/2 12961 000d 33 .byte (.L949-.L951)/2 12962 000e 33 .byte (.L949-.L951)/2 12963 000f 33 .byte (.L949-.L951)/2 12964 0010 23 .byte (.L954-.L951)/2 12965 0011 33 .byte (.L949-.L951)/2 12966 0012 33 .byte (.L949-.L951)/2 12967 0013 33 .byte (.L949-.L951)/2 12968 0014 27 .byte (.L953-.L951)/2 12969 0015 33 .byte (.L949-.L951)/2 12970 0016 33 .byte (.L949-.L951)/2 12971 0017 33 .byte (.L949-.L951)/2 12972 0018 2B .byte (.L952-.L951)/2 12973 0019 33 .byte (.L949-.L951)/2 12974 001a 33 .byte (.L949-.L951)/2 12975 001b 33 .byte (.L949-.L951)/2 12976 001c 2F .byte (.L950-.L951)/2 12977 001d 00 .p2align 1 12978 .L955: 2138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 12979 .loc 1 2138 47 is_stmt 0 discriminator 1 view .LVU3914 12980 001e 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 12981 .LVL973: 2138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 12982 .loc 1 2138 47 discriminator 1 view .LVU3915 12983 0022 C0B2 uxtb r0, r0 12984 .L956: 12985 .LVL974: 2139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12986 .loc 1 2139 3 is_stmt 1 discriminator 20 view .LVU3916 2139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12987 .loc 1 2139 61 is_stmt 0 discriminator 20 view .LVU3917 12988 0024 49BB cbnz r1, .L957 2139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 427 12989 .loc 1 2139 61 discriminator 1 view .LVU3918 12990 0026 94F84430 ldrb r3, [r4, #68] @ zero_extendqisi2 12991 002a DBB2 uxtb r3, r3 12992 .L958: 12993 .LVL975: 2142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12994 .loc 1 2142 3 is_stmt 1 discriminator 12 view .LVU3919 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_state != HAL_TIM_CHANNEL_STATE_READY)) 12995 .loc 1 2145 3 discriminator 12 view .LVU3920 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_state != HAL_TIM_CHANNEL_STATE_READY)) 12996 .loc 1 2145 6 is_stmt 0 discriminator 12 view .LVU3921 12997 002c 0128 cmp r0, #1 12998 002e 40F08B80 bne .L975 2146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12999 .loc 1 2146 7 view .LVU3922 13000 0032 012B cmp r3, #1 13001 0034 40F08980 bne .L961 2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13002 .loc 1 2152 3 is_stmt 1 view .LVU3923 13003 0038 1029 cmp r1, #16 13004 003a 6BD8 bhi .L962 13005 003c DFE801F0 tbb [pc, r1] 13006 .LVL976: 13007 .L964: 13008 0040 2D .byte (.L968-.L964)/2 13009 0041 6A .byte (.L962-.L964)/2 13010 0042 6A .byte (.L962-.L964)/2 13011 0043 6A .byte (.L962-.L964)/2 13012 0044 33 .byte (.L967-.L964)/2 13013 0045 6A .byte (.L962-.L964)/2 13014 0046 6A .byte (.L962-.L964)/2 13015 0047 6A .byte (.L962-.L964)/2 13016 0048 5E .byte (.L966-.L964)/2 13017 0049 6A .byte (.L962-.L964)/2 13018 004a 6A .byte (.L962-.L964)/2 13019 004b 6A .byte (.L962-.L964)/2 13020 004c 62 .byte (.L965-.L964)/2 13021 004d 6A .byte (.L962-.L964)/2 13022 004e 6A .byte (.L962-.L964)/2 13023 004f 6A .byte (.L962-.L964)/2 13024 0050 66 .byte (.L963-.L964)/2 13025 0051 00 .p2align 1 13026 .L954: 2138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13027 .loc 1 2138 47 is_stmt 0 discriminator 4 view .LVU3924 13028 0052 90F83F00 ldrb r0, [r0, #63] @ zero_extendqisi2 13029 .LVL977: 2138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13030 .loc 1 2138 47 discriminator 4 view .LVU3925 13031 0056 C0B2 uxtb r0, r0 13032 0058 E4E7 b .L956 13033 .LVL978: 13034 .L953: 2138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13035 .loc 1 2138 47 discriminator 7 view .LVU3926 13036 005a 90F84000 ldrb r0, [r0, #64] @ zero_extendqisi2 13037 .LVL979: ARM GAS /tmp/cc0wMqvE.s page 428 2138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13038 .loc 1 2138 47 discriminator 7 view .LVU3927 13039 005e C0B2 uxtb r0, r0 13040 0060 E0E7 b .L956 13041 .LVL980: 13042 .L952: 2138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13043 .loc 1 2138 47 discriminator 10 view .LVU3928 13044 0062 90F84100 ldrb r0, [r0, #65] @ zero_extendqisi2 13045 .LVL981: 2138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13046 .loc 1 2138 47 discriminator 10 view .LVU3929 13047 0066 C0B2 uxtb r0, r0 13048 0068 DCE7 b .L956 13049 .LVL982: 13050 .L950: 2138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13051 .loc 1 2138 47 discriminator 13 view .LVU3930 13052 006a 90F84200 ldrb r0, [r0, #66] @ zero_extendqisi2 13053 .LVL983: 2138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13054 .loc 1 2138 47 discriminator 13 view .LVU3931 13055 006e C0B2 uxtb r0, r0 13056 0070 D8E7 b .L956 13057 .LVL984: 13058 .L949: 2138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13059 .loc 1 2138 47 discriminator 14 view .LVU3932 13060 0072 90F84300 ldrb r0, [r0, #67] @ zero_extendqisi2 13061 .LVL985: 2138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13062 .loc 1 2138 47 discriminator 14 view .LVU3933 13063 0076 C0B2 uxtb r0, r0 13064 0078 D4E7 b .L956 13065 .LVL986: 13066 .L957: 2139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13067 .loc 1 2139 61 discriminator 2 view .LVU3934 13068 007a 0429 cmp r1, #4 13069 007c 05D0 beq .L979 2139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13070 .loc 1 2139 61 discriminator 5 view .LVU3935 13071 007e 0829 cmp r1, #8 13072 0080 07D0 beq .L980 2139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13073 .loc 1 2139 61 discriminator 8 view .LVU3936 13074 0082 94F84730 ldrb r3, [r4, #71] @ zero_extendqisi2 13075 0086 DBB2 uxtb r3, r3 13076 0088 D0E7 b .L958 13077 .L979: 2139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13078 .loc 1 2139 61 discriminator 4 view .LVU3937 13079 008a 94F84530 ldrb r3, [r4, #69] @ zero_extendqisi2 13080 008e DBB2 uxtb r3, r3 13081 0090 CCE7 b .L958 13082 .L980: 2139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 429 13083 .loc 1 2139 61 discriminator 7 view .LVU3938 13084 0092 94F84630 ldrb r3, [r4, #70] @ zero_extendqisi2 13085 0096 DBB2 uxtb r3, r3 13086 0098 C8E7 b .L958 13087 .LVL987: 13088 .L968: 2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13089 .loc 1 2152 3 view .LVU3939 13090 009a 0223 movs r3, #2 13091 009c 84F83E30 strb r3, [r4, #62] 2153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13092 .loc 1 2153 3 is_stmt 1 view .LVU3940 13093 00a0 84F84430 strb r3, [r4, #68] 13094 00a4 09E0 b .L969 13095 .L967: 2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13096 .loc 1 2152 3 is_stmt 0 view .LVU3941 13097 00a6 0223 movs r3, #2 13098 00a8 84F83F30 strb r3, [r4, #63] 2153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13099 .loc 1 2153 3 is_stmt 1 view .LVU3942 13100 .L970: 2153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13101 .loc 1 2153 3 is_stmt 0 discriminator 2 view .LVU3943 13102 00ac 0429 cmp r1, #4 13103 00ae 35D0 beq .L981 2153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13104 .loc 1 2153 3 discriminator 4 view .LVU3944 13105 00b0 0829 cmp r1, #8 13106 00b2 37D0 beq .L982 2153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13107 .loc 1 2153 3 discriminator 7 view .LVU3945 13108 00b4 0223 movs r3, #2 13109 00b6 84F84730 strb r3, [r4, #71] 13110 .L969: 2156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13111 .loc 1 2156 3 is_stmt 1 view .LVU3946 13112 00ba 0122 movs r2, #1 13113 00bc 2068 ldr r0, [r4] 13114 .LVL988: 2156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13115 .loc 1 2156 3 is_stmt 0 view .LVU3947 13116 00be FFF7FEFF bl TIM_CCxChannelCmd 13117 .LVL989: 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13118 .loc 1 2159 3 is_stmt 1 view .LVU3948 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13119 .loc 1 2159 7 is_stmt 0 view .LVU3949 13120 00c2 2368 ldr r3, [r4] 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13121 .loc 1 2159 6 view .LVU3950 13122 00c4 234A ldr r2, .L983 13123 00c6 9342 cmp r3, r2 13124 00c8 30D0 beq .L973 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13125 .loc 1 2159 7 discriminator 1 view .LVU3951 13126 00ca B3F1804F cmp r3, #1073741824 ARM GAS /tmp/cc0wMqvE.s page 430 13127 00ce 2DD0 beq .L973 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13128 .loc 1 2159 7 discriminator 2 view .LVU3952 13129 00d0 A2F59432 sub r2, r2, #75776 13130 00d4 9342 cmp r3, r2 13131 00d6 29D0 beq .L973 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13132 .loc 1 2159 7 discriminator 3 view .LVU3953 13133 00d8 02F58062 add r2, r2, #1024 13134 00dc 9342 cmp r3, r2 13135 00de 25D0 beq .L973 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13136 .loc 1 2159 7 discriminator 4 view .LVU3954 13137 00e0 02F59632 add r2, r2, #76800 13138 00e4 9342 cmp r3, r2 13139 00e6 21D0 beq .L973 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13140 .loc 1 2159 7 discriminator 5 view .LVU3955 13141 00e8 02F54062 add r2, r2, #3072 13142 00ec 9342 cmp r3, r2 13143 00ee 1DD0 beq .L973 2169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13144 .loc 1 2169 5 is_stmt 1 view .LVU3956 13145 00f0 1A68 ldr r2, [r3] 13146 00f2 42F00102 orr r2, r2, #1 13147 00f6 1A60 str r2, [r3] 2173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13148 .loc 1 2173 10 is_stmt 0 view .LVU3957 13149 00f8 0020 movs r0, #0 13150 00fa 26E0 b .L961 13151 .LVL990: 13152 .L966: 2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13153 .loc 1 2152 3 view .LVU3958 13154 00fc 0223 movs r3, #2 13155 00fe 84F84030 strb r3, [r4, #64] 2153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13156 .loc 1 2153 3 is_stmt 1 view .LVU3959 13157 0102 D3E7 b .L970 13158 .L965: 2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13159 .loc 1 2152 3 is_stmt 0 view .LVU3960 13160 0104 0223 movs r3, #2 13161 0106 84F84130 strb r3, [r4, #65] 2153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13162 .loc 1 2153 3 is_stmt 1 view .LVU3961 13163 010a CFE7 b .L970 13164 .L963: 2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13165 .loc 1 2152 3 is_stmt 0 view .LVU3962 13166 010c 0223 movs r3, #2 13167 010e 84F84230 strb r3, [r4, #66] 2153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13168 .loc 1 2153 3 is_stmt 1 view .LVU3963 13169 0112 CBE7 b .L970 13170 .L962: 2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); ARM GAS /tmp/cc0wMqvE.s page 431 13171 .loc 1 2152 3 is_stmt 0 discriminator 13 view .LVU3964 13172 0114 0223 movs r3, #2 13173 0116 84F84330 strb r3, [r4, #67] 2153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13174 .loc 1 2153 3 is_stmt 1 discriminator 13 view .LVU3965 13175 011a C7E7 b .L970 13176 .L981: 2153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13177 .loc 1 2153 3 is_stmt 0 discriminator 3 view .LVU3966 13178 011c 0223 movs r3, #2 13179 011e 84F84530 strb r3, [r4, #69] 13180 0122 CAE7 b .L969 13181 .L982: 2153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13182 .loc 1 2153 3 discriminator 6 view .LVU3967 13183 0124 0223 movs r3, #2 13184 0126 84F84630 strb r3, [r4, #70] 13185 012a C6E7 b .L969 13186 .LVL991: 13187 .L973: 2161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 13188 .loc 1 2161 5 is_stmt 1 view .LVU3968 2161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 13189 .loc 1 2161 29 is_stmt 0 view .LVU3969 13190 012c 9968 ldr r1, [r3, #8] 2161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 13191 .loc 1 2161 13 view .LVU3970 13192 012e 0A4A ldr r2, .L983+4 13193 0130 0A40 ands r2, r2, r1 13194 .LVL992: 2162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13195 .loc 1 2162 5 is_stmt 1 view .LVU3971 2162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13196 .loc 1 2162 8 is_stmt 0 view .LVU3972 13197 0132 062A cmp r2, #6 13198 0134 0AD0 beq .L976 2162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13199 .loc 1 2162 9 discriminator 1 view .LVU3973 13200 0136 B2F5803F cmp r2, #65536 13201 013a 09D0 beq .L977 2164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13202 .loc 1 2164 7 is_stmt 1 view .LVU3974 13203 013c 1A68 ldr r2, [r3] 13204 .LVL993: 2164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13205 .loc 1 2164 7 is_stmt 0 view .LVU3975 13206 013e 42F00102 orr r2, r2, #1 13207 0142 1A60 str r2, [r3] 2173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13208 .loc 1 2173 10 view .LVU3976 13209 0144 0020 movs r0, #0 13210 0146 00E0 b .L961 13211 .LVL994: 13212 .L975: 2148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13213 .loc 1 2148 12 view .LVU3977 13214 0148 0120 movs r0, #1 ARM GAS /tmp/cc0wMqvE.s page 432 13215 .LVL995: 13216 .L961: 2174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13217 .loc 1 2174 1 view .LVU3978 13218 014a 10BD pop {r4, pc} 13219 .LVL996: 13220 .L976: 2173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13221 .loc 1 2173 10 view .LVU3979 13222 014c 0020 movs r0, #0 13223 014e FCE7 b .L961 13224 .L977: 13225 0150 0020 movs r0, #0 13226 0152 FAE7 b .L961 13227 .L984: 13228 .align 2 13229 .L983: 13230 0154 002C0140 .word 1073818624 13231 0158 07000100 .word 65543 13232 .cfi_endproc 13233 .LFE363: 13235 .section .text.HAL_TIM_IC_Stop,"ax",%progbits 13236 .align 1 13237 .global HAL_TIM_IC_Stop 13238 .syntax unified 13239 .thumb 13240 .thumb_func 13242 HAL_TIM_IC_Stop: 13243 .LVL997: 13244 .LFB364: 2188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 13245 .loc 1 2188 1 is_stmt 1 view -0 13246 .cfi_startproc 13247 @ args = 0, pretend = 0, frame = 0 13248 @ frame_needed = 0, uses_anonymous_args = 0 2188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 13249 .loc 1 2188 1 is_stmt 0 view .LVU3981 13250 0000 38B5 push {r3, r4, r5, lr} 13251 .LCFI98: 13252 .cfi_def_cfa_offset 16 13253 .cfi_offset 3, -16 13254 .cfi_offset 4, -12 13255 .cfi_offset 5, -8 13256 .cfi_offset 14, -4 13257 0002 0446 mov r4, r0 13258 0004 0D46 mov r5, r1 2190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13259 .loc 1 2190 3 is_stmt 1 view .LVU3982 2193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13260 .loc 1 2193 3 view .LVU3983 13261 0006 0022 movs r2, #0 13262 0008 0068 ldr r0, [r0] 13263 .LVL998: 2193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13264 .loc 1 2193 3 is_stmt 0 view .LVU3984 13265 000a FFF7FEFF bl TIM_CCxChannelCmd 13266 .LVL999: ARM GAS /tmp/cc0wMqvE.s page 433 2196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13267 .loc 1 2196 3 is_stmt 1 view .LVU3985 2196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13268 .loc 1 2196 3 view .LVU3986 13269 000e 2368 ldr r3, [r4] 13270 0010 196A ldr r1, [r3, #32] 13271 0012 41F21112 movw r2, #4369 13272 0016 1142 tst r1, r2 13273 0018 08D1 bne .L986 2196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13274 .loc 1 2196 3 discriminator 1 view .LVU3987 13275 001a 196A ldr r1, [r3, #32] 13276 001c 44F24442 movw r2, #17476 13277 0020 1142 tst r1, r2 13278 0022 03D1 bne .L986 2196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13279 .loc 1 2196 3 discriminator 3 view .LVU3988 13280 0024 1A68 ldr r2, [r3] 13281 0026 22F00102 bic r2, r2, #1 13282 002a 1A60 str r2, [r3] 13283 .L986: 2196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13284 .loc 1 2196 3 discriminator 5 view .LVU3989 2199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13285 .loc 1 2199 3 discriminator 5 view .LVU3990 13286 002c 35B9 cbnz r5, .L987 2199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13287 .loc 1 2199 3 is_stmt 0 view .LVU3991 13288 002e 0123 movs r3, #1 13289 0030 84F83E30 strb r3, [r4, #62] 2200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13290 .loc 1 2200 3 is_stmt 1 view .LVU3992 13291 0034 84F84430 strb r3, [r4, #68] 13292 .L988: 2203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13293 .loc 1 2203 3 view .LVU3993 2204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13294 .loc 1 2204 1 is_stmt 0 view .LVU3994 13295 0038 0020 movs r0, #0 13296 003a 38BD pop {r3, r4, r5, pc} 13297 .LVL1000: 13298 .L987: 2204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13299 .loc 1 2204 1 view .LVU3995 13300 003c 2B1F subs r3, r5, #4 13301 003e 0C2B cmp r3, #12 13302 0040 1FD8 bhi .L989 13303 0042 DFE803F0 tbb [pc, r3] 13304 .L991: 13305 0046 07 .byte (.L994-.L991)/2 13306 0047 1E .byte (.L989-.L991)/2 13307 0048 1E .byte (.L989-.L991)/2 13308 0049 1E .byte (.L989-.L991)/2 13309 004a 12 .byte (.L993-.L991)/2 13310 004b 1E .byte (.L989-.L991)/2 13311 004c 1E .byte (.L989-.L991)/2 13312 004d 1E .byte (.L989-.L991)/2 ARM GAS /tmp/cc0wMqvE.s page 434 13313 004e 16 .byte (.L992-.L991)/2 13314 004f 1E .byte (.L989-.L991)/2 13315 0050 1E .byte (.L989-.L991)/2 13316 0051 1E .byte (.L989-.L991)/2 13317 0052 1A .byte (.L990-.L991)/2 13318 0053 00 .p2align 1 13319 .L994: 2199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13320 .loc 1 2199 3 view .LVU3996 13321 0054 0123 movs r3, #1 13322 0056 84F83F30 strb r3, [r4, #63] 2200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13323 .loc 1 2200 3 is_stmt 1 view .LVU3997 13324 .L995: 2200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13325 .loc 1 2200 3 is_stmt 0 discriminator 2 view .LVU3998 13326 005a 042D cmp r5, #4 13327 005c 15D0 beq .L999 2200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13328 .loc 1 2200 3 discriminator 4 view .LVU3999 13329 005e 082D cmp r5, #8 13330 0060 17D0 beq .L1000 2200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13331 .loc 1 2200 3 discriminator 7 view .LVU4000 13332 0062 0123 movs r3, #1 13333 0064 84F84730 strb r3, [r4, #71] 13334 0068 E6E7 b .L988 13335 .L993: 2199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13336 .loc 1 2199 3 view .LVU4001 13337 006a 0123 movs r3, #1 13338 006c 84F84030 strb r3, [r4, #64] 2200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13339 .loc 1 2200 3 is_stmt 1 view .LVU4002 13340 0070 F3E7 b .L995 13341 .L992: 2199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13342 .loc 1 2199 3 is_stmt 0 view .LVU4003 13343 0072 0123 movs r3, #1 13344 0074 84F84130 strb r3, [r4, #65] 2200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13345 .loc 1 2200 3 is_stmt 1 view .LVU4004 13346 0078 EFE7 b .L995 13347 .L990: 2199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13348 .loc 1 2199 3 is_stmt 0 view .LVU4005 13349 007a 0123 movs r3, #1 13350 007c 84F84230 strb r3, [r4, #66] 2200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13351 .loc 1 2200 3 is_stmt 1 view .LVU4006 13352 0080 EBE7 b .L995 13353 .L989: 2199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13354 .loc 1 2199 3 is_stmt 0 discriminator 13 view .LVU4007 13355 0082 0123 movs r3, #1 13356 0084 84F84330 strb r3, [r4, #67] 2200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 435 13357 .loc 1 2200 3 is_stmt 1 discriminator 13 view .LVU4008 13358 0088 E7E7 b .L995 13359 .L999: 2200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13360 .loc 1 2200 3 is_stmt 0 discriminator 3 view .LVU4009 13361 008a 0123 movs r3, #1 13362 008c 84F84530 strb r3, [r4, #69] 13363 0090 D2E7 b .L988 13364 .L1000: 2200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13365 .loc 1 2200 3 discriminator 6 view .LVU4010 13366 0092 0123 movs r3, #1 13367 0094 84F84630 strb r3, [r4, #70] 13368 0098 CEE7 b .L988 13369 .cfi_endproc 13370 .LFE364: 13372 .section .text.HAL_TIM_IC_Start_IT,"ax",%progbits 13373 .align 1 13374 .global HAL_TIM_IC_Start_IT 13375 .syntax unified 13376 .thumb 13377 .thumb_func 13379 HAL_TIM_IC_Start_IT: 13380 .LVL1001: 13381 .LFB365: 2218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 13382 .loc 1 2218 1 is_stmt 1 view -0 13383 .cfi_startproc 13384 @ args = 0, pretend = 0, frame = 0 13385 @ frame_needed = 0, uses_anonymous_args = 0 2218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 13386 .loc 1 2218 1 is_stmt 0 view .LVU4012 13387 0000 10B5 push {r4, lr} 13388 .LCFI99: 13389 .cfi_def_cfa_offset 8 13390 .cfi_offset 4, -8 13391 .cfi_offset 14, -4 13392 0002 0446 mov r4, r0 2219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 13393 .loc 1 2219 3 is_stmt 1 view .LVU4013 13394 .LVL1002: 2220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13395 .loc 1 2220 3 view .LVU4014 2222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13396 .loc 1 2222 3 view .LVU4015 13397 0004 1029 cmp r1, #16 13398 0006 34D8 bhi .L1002 13399 0008 DFE801F0 tbb [pc, r1] 13400 .L1004: 13401 000c 09 .byte (.L1008-.L1004)/2 13402 000d 33 .byte (.L1002-.L1004)/2 13403 000e 33 .byte (.L1002-.L1004)/2 13404 000f 33 .byte (.L1002-.L1004)/2 13405 0010 23 .byte (.L1007-.L1004)/2 13406 0011 33 .byte (.L1002-.L1004)/2 13407 0012 33 .byte (.L1002-.L1004)/2 13408 0013 33 .byte (.L1002-.L1004)/2 ARM GAS /tmp/cc0wMqvE.s page 436 13409 0014 27 .byte (.L1006-.L1004)/2 13410 0015 33 .byte (.L1002-.L1004)/2 13411 0016 33 .byte (.L1002-.L1004)/2 13412 0017 33 .byte (.L1002-.L1004)/2 13413 0018 2B .byte (.L1005-.L1004)/2 13414 0019 33 .byte (.L1002-.L1004)/2 13415 001a 33 .byte (.L1002-.L1004)/2 13416 001b 33 .byte (.L1002-.L1004)/2 13417 001c 2F .byte (.L1003-.L1004)/2 13418 001d 00 .p2align 1 13419 .L1008: 2222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13420 .loc 1 2222 47 is_stmt 0 discriminator 1 view .LVU4016 13421 001e 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 13422 .LVL1003: 2222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13423 .loc 1 2222 47 discriminator 1 view .LVU4017 13424 0022 C0B2 uxtb r0, r0 13425 .L1009: 13426 .LVL1004: 2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13427 .loc 1 2223 3 is_stmt 1 discriminator 20 view .LVU4018 2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13428 .loc 1 2223 61 is_stmt 0 discriminator 20 view .LVU4019 13429 0024 49BB cbnz r1, .L1010 2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13430 .loc 1 2223 61 discriminator 1 view .LVU4020 13431 0026 94F84430 ldrb r3, [r4, #68] @ zero_extendqisi2 13432 002a DBB2 uxtb r3, r3 13433 .L1011: 13434 .LVL1005: 2226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13435 .loc 1 2226 3 is_stmt 1 discriminator 12 view .LVU4021 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_state != HAL_TIM_CHANNEL_STATE_READY)) 13436 .loc 1 2229 3 discriminator 12 view .LVU4022 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_state != HAL_TIM_CHANNEL_STATE_READY)) 13437 .loc 1 2229 6 is_stmt 0 discriminator 12 view .LVU4023 13438 002c 0128 cmp r0, #1 13439 002e 40F0AB80 bne .L1034 2230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13440 .loc 1 2230 7 view .LVU4024 13441 0032 012B cmp r3, #1 13442 0034 40F0A980 bne .L1014 2236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13443 .loc 1 2236 3 is_stmt 1 view .LVU4025 13444 0038 1029 cmp r1, #16 13445 003a 55D8 bhi .L1015 13446 003c DFE801F0 tbb [pc, r1] 13447 .L1017: 13448 0040 2D .byte (.L1021-.L1017)/2 13449 0041 54 .byte (.L1015-.L1017)/2 13450 0042 54 .byte (.L1015-.L1017)/2 13451 0043 54 .byte (.L1015-.L1017)/2 13452 0044 33 .byte (.L1020-.L1017)/2 13453 0045 54 .byte (.L1015-.L1017)/2 13454 0046 54 .byte (.L1015-.L1017)/2 13455 0047 54 .byte (.L1015-.L1017)/2 ARM GAS /tmp/cc0wMqvE.s page 437 13456 0048 48 .byte (.L1019-.L1017)/2 13457 0049 54 .byte (.L1015-.L1017)/2 13458 004a 54 .byte (.L1015-.L1017)/2 13459 004b 54 .byte (.L1015-.L1017)/2 13460 004c 4C .byte (.L1018-.L1017)/2 13461 004d 54 .byte (.L1015-.L1017)/2 13462 004e 54 .byte (.L1015-.L1017)/2 13463 004f 54 .byte (.L1015-.L1017)/2 13464 0050 50 .byte (.L1016-.L1017)/2 13465 .LVL1006: 13466 0051 00 .p2align 1 13467 .L1007: 2222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13468 .loc 1 2222 47 is_stmt 0 discriminator 4 view .LVU4026 13469 0052 90F83F00 ldrb r0, [r0, #63] @ zero_extendqisi2 13470 .LVL1007: 2222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13471 .loc 1 2222 47 discriminator 4 view .LVU4027 13472 0056 C0B2 uxtb r0, r0 13473 0058 E4E7 b .L1009 13474 .LVL1008: 13475 .L1006: 2222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13476 .loc 1 2222 47 discriminator 7 view .LVU4028 13477 005a 90F84000 ldrb r0, [r0, #64] @ zero_extendqisi2 13478 .LVL1009: 2222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13479 .loc 1 2222 47 discriminator 7 view .LVU4029 13480 005e C0B2 uxtb r0, r0 13481 0060 E0E7 b .L1009 13482 .LVL1010: 13483 .L1005: 2222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13484 .loc 1 2222 47 discriminator 10 view .LVU4030 13485 0062 90F84100 ldrb r0, [r0, #65] @ zero_extendqisi2 13486 .LVL1011: 2222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13487 .loc 1 2222 47 discriminator 10 view .LVU4031 13488 0066 C0B2 uxtb r0, r0 13489 0068 DCE7 b .L1009 13490 .LVL1012: 13491 .L1003: 2222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13492 .loc 1 2222 47 discriminator 13 view .LVU4032 13493 006a 90F84200 ldrb r0, [r0, #66] @ zero_extendqisi2 13494 .LVL1013: 2222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13495 .loc 1 2222 47 discriminator 13 view .LVU4033 13496 006e C0B2 uxtb r0, r0 13497 0070 D8E7 b .L1009 13498 .LVL1014: 13499 .L1002: 2222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13500 .loc 1 2222 47 discriminator 14 view .LVU4034 13501 0072 90F84300 ldrb r0, [r0, #67] @ zero_extendqisi2 13502 .LVL1015: 2222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); ARM GAS /tmp/cc0wMqvE.s page 438 13503 .loc 1 2222 47 discriminator 14 view .LVU4035 13504 0076 C0B2 uxtb r0, r0 13505 0078 D4E7 b .L1009 13506 .LVL1016: 13507 .L1010: 2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13508 .loc 1 2223 61 discriminator 2 view .LVU4036 13509 007a 0429 cmp r1, #4 13510 007c 05D0 beq .L1041 2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13511 .loc 1 2223 61 discriminator 5 view .LVU4037 13512 007e 0829 cmp r1, #8 13513 0080 07D0 beq .L1042 2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13514 .loc 1 2223 61 discriminator 8 view .LVU4038 13515 0082 94F84730 ldrb r3, [r4, #71] @ zero_extendqisi2 13516 0086 DBB2 uxtb r3, r3 13517 0088 D0E7 b .L1011 13518 .L1041: 2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13519 .loc 1 2223 61 discriminator 4 view .LVU4039 13520 008a 94F84530 ldrb r3, [r4, #69] @ zero_extendqisi2 13521 008e DBB2 uxtb r3, r3 13522 0090 CCE7 b .L1011 13523 .L1042: 2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13524 .loc 1 2223 61 discriminator 7 view .LVU4040 13525 0092 94F84630 ldrb r3, [r4, #70] @ zero_extendqisi2 13526 0096 DBB2 uxtb r3, r3 13527 0098 C8E7 b .L1011 13528 .LVL1017: 13529 .L1021: 2236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13530 .loc 1 2236 3 view .LVU4041 13531 009a 0222 movs r2, #2 13532 009c 84F83E20 strb r2, [r4, #62] 2237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13533 .loc 1 2237 3 is_stmt 1 view .LVU4042 13534 00a0 84F84420 strb r2, [r4, #68] 13535 00a4 09E0 b .L1022 13536 .L1020: 2236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13537 .loc 1 2236 3 is_stmt 0 view .LVU4043 13538 00a6 0222 movs r2, #2 13539 00a8 84F83F20 strb r2, [r4, #63] 2237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13540 .loc 1 2237 3 is_stmt 1 view .LVU4044 13541 .L1023: 2237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13542 .loc 1 2237 3 is_stmt 0 discriminator 2 view .LVU4045 13543 00ac 0429 cmp r1, #4 13544 00ae 1FD0 beq .L1043 2237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13545 .loc 1 2237 3 discriminator 4 view .LVU4046 13546 00b0 0829 cmp r1, #8 13547 00b2 46D0 beq .L1044 2237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 439 13548 .loc 1 2237 3 discriminator 7 view .LVU4047 13549 00b4 0222 movs r2, #2 13550 00b6 84F84720 strb r2, [r4, #71] 13551 .L1022: 2239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13552 .loc 1 2239 3 is_stmt 1 view .LVU4048 13553 00ba 0C29 cmp r1, #12 13554 00bc 66D8 bhi .L1035 13555 00be DFE801F0 tbb [pc, r1] 13556 .L1029: 13557 00c2 49 .byte (.L1030-.L1029)/2 13558 00c3 65 .byte (.L1035-.L1029)/2 13559 00c4 65 .byte (.L1035-.L1029)/2 13560 00c5 65 .byte (.L1035-.L1029)/2 13561 00c6 1A .byte (.L1025-.L1029)/2 13562 00c7 65 .byte (.L1035-.L1029)/2 13563 00c8 65 .byte (.L1035-.L1029)/2 13564 00c9 65 .byte (.L1035-.L1029)/2 13565 00ca 43 .byte (.L1027-.L1029)/2 13566 00cb 65 .byte (.L1035-.L1029)/2 13567 00cc 65 .byte (.L1035-.L1029)/2 13568 00cd 65 .byte (.L1035-.L1029)/2 13569 00ce 4F .byte (.L1028-.L1029)/2 13570 00cf 00 .p2align 1 13571 .L1019: 2236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13572 .loc 1 2236 3 is_stmt 0 view .LVU4049 13573 00d0 0222 movs r2, #2 13574 00d2 84F84020 strb r2, [r4, #64] 2237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13575 .loc 1 2237 3 is_stmt 1 view .LVU4050 13576 00d6 E9E7 b .L1023 13577 .L1018: 2236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13578 .loc 1 2236 3 is_stmt 0 view .LVU4051 13579 00d8 0222 movs r2, #2 13580 00da 84F84120 strb r2, [r4, #65] 2237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13581 .loc 1 2237 3 is_stmt 1 view .LVU4052 13582 00de E5E7 b .L1023 13583 .L1016: 2236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13584 .loc 1 2236 3 is_stmt 0 view .LVU4053 13585 00e0 0222 movs r2, #2 13586 00e2 84F84220 strb r2, [r4, #66] 2237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13587 .loc 1 2237 3 is_stmt 1 view .LVU4054 13588 00e6 E1E7 b .L1023 13589 .L1015: 2236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13590 .loc 1 2236 3 is_stmt 0 discriminator 13 view .LVU4055 13591 00e8 0222 movs r2, #2 13592 00ea 84F84320 strb r2, [r4, #67] 2237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13593 .loc 1 2237 3 is_stmt 1 discriminator 13 view .LVU4056 13594 00ee DDE7 b .L1023 13595 .L1043: ARM GAS /tmp/cc0wMqvE.s page 440 2237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13596 .loc 1 2237 3 is_stmt 0 view .LVU4057 13597 00f0 0223 movs r3, #2 13598 .LVL1018: 2237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13599 .loc 1 2237 3 view .LVU4058 13600 00f2 84F84530 strb r3, [r4, #69] 2239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13601 .loc 1 2239 3 is_stmt 1 view .LVU4059 13602 .L1025: 2251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13603 .loc 1 2251 7 view .LVU4060 13604 00f6 2268 ldr r2, [r4] 13605 00f8 D368 ldr r3, [r2, #12] 13606 00fa 43F00403 orr r3, r3, #4 13607 00fe D360 str r3, [r2, #12] 2252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13608 .loc 1 2252 7 view .LVU4061 2274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13609 .loc 1 2274 3 view .LVU4062 13610 .L1031: 2277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13611 .loc 1 2277 5 view .LVU4063 13612 0100 0122 movs r2, #1 13613 0102 2068 ldr r0, [r4] 13614 .LVL1019: 2277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13615 .loc 1 2277 5 is_stmt 0 view .LVU4064 13616 0104 FFF7FEFF bl TIM_CCxChannelCmd 13617 .LVL1020: 2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13618 .loc 1 2280 5 is_stmt 1 view .LVU4065 2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13619 .loc 1 2280 9 is_stmt 0 view .LVU4066 13620 0108 2368 ldr r3, [r4] 2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13621 .loc 1 2280 8 view .LVU4067 13622 010a 234A ldr r2, .L1045 13623 010c 9342 cmp r3, r2 13624 010e 2DD0 beq .L1032 2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13625 .loc 1 2280 9 discriminator 1 view .LVU4068 13626 0110 B3F1804F cmp r3, #1073741824 13627 0114 2AD0 beq .L1032 2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13628 .loc 1 2280 9 discriminator 2 view .LVU4069 13629 0116 A2F59432 sub r2, r2, #75776 13630 011a 9342 cmp r3, r2 13631 011c 26D0 beq .L1032 2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13632 .loc 1 2280 9 discriminator 3 view .LVU4070 13633 011e 02F58062 add r2, r2, #1024 13634 0122 9342 cmp r3, r2 13635 0124 22D0 beq .L1032 2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13636 .loc 1 2280 9 discriminator 4 view .LVU4071 13637 0126 02F59632 add r2, r2, #76800 ARM GAS /tmp/cc0wMqvE.s page 441 13638 012a 9342 cmp r3, r2 13639 012c 1ED0 beq .L1032 2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13640 .loc 1 2280 9 discriminator 5 view .LVU4072 13641 012e 02F54062 add r2, r2, #3072 13642 0132 9342 cmp r3, r2 13643 0134 1AD0 beq .L1032 2290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13644 .loc 1 2290 7 is_stmt 1 view .LVU4073 13645 0136 1A68 ldr r2, [r3] 13646 0138 42F00102 orr r2, r2, #1 13647 013c 1A60 str r2, [r3] 13648 013e 0020 movs r0, #0 13649 0140 23E0 b .L1014 13650 .LVL1021: 13651 .L1044: 2237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13652 .loc 1 2237 3 is_stmt 0 view .LVU4074 13653 0142 0223 movs r3, #2 13654 .LVL1022: 2237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13655 .loc 1 2237 3 view .LVU4075 13656 0144 84F84630 strb r3, [r4, #70] 2239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13657 .loc 1 2239 3 is_stmt 1 view .LVU4076 13658 .L1027: 2258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13659 .loc 1 2258 7 view .LVU4077 13660 0148 2268 ldr r2, [r4] 13661 014a D368 ldr r3, [r2, #12] 13662 014c 43F00803 orr r3, r3, #8 13663 0150 D360 str r3, [r2, #12] 2259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13664 .loc 1 2259 7 view .LVU4078 2274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13665 .loc 1 2274 3 view .LVU4079 13666 0152 D5E7 b .L1031 13667 .LVL1023: 13668 .L1030: 2244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13669 .loc 1 2244 7 view .LVU4080 13670 0154 2268 ldr r2, [r4] 13671 0156 D368 ldr r3, [r2, #12] 13672 .LVL1024: 2244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13673 .loc 1 2244 7 is_stmt 0 view .LVU4081 13674 0158 43F00203 orr r3, r3, #2 13675 015c D360 str r3, [r2, #12] 2245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13676 .loc 1 2245 7 is_stmt 1 view .LVU4082 2274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13677 .loc 1 2274 3 view .LVU4083 13678 015e CFE7 b .L1031 13679 .LVL1025: 13680 .L1028: 2265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13681 .loc 1 2265 7 view .LVU4084 ARM GAS /tmp/cc0wMqvE.s page 442 13682 0160 2268 ldr r2, [r4] 13683 0162 D368 ldr r3, [r2, #12] 13684 .LVL1026: 2265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13685 .loc 1 2265 7 is_stmt 0 view .LVU4085 13686 0164 43F01003 orr r3, r3, #16 13687 0168 D360 str r3, [r2, #12] 2266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13688 .loc 1 2266 7 is_stmt 1 view .LVU4086 2274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13689 .loc 1 2274 3 view .LVU4087 13690 016a C9E7 b .L1031 13691 .LVL1027: 13692 .L1032: 2282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 13693 .loc 1 2282 7 view .LVU4088 2282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 13694 .loc 1 2282 31 is_stmt 0 view .LVU4089 13695 016c 9968 ldr r1, [r3, #8] 2282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 13696 .loc 1 2282 15 view .LVU4090 13697 016e 0B4A ldr r2, .L1045+4 13698 0170 0A40 ands r2, r2, r1 13699 .LVL1028: 2283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13700 .loc 1 2283 7 is_stmt 1 view .LVU4091 2283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13701 .loc 1 2283 10 is_stmt 0 view .LVU4092 13702 0172 062A cmp r2, #6 13703 0174 0CD0 beq .L1036 2283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13704 .loc 1 2283 11 discriminator 1 view .LVU4093 13705 0176 B2F5803F cmp r2, #65536 13706 017a 0BD0 beq .L1037 2285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13707 .loc 1 2285 9 is_stmt 1 view .LVU4094 13708 017c 1A68 ldr r2, [r3] 13709 .LVL1029: 2285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13710 .loc 1 2285 9 is_stmt 0 view .LVU4095 13711 017e 42F00102 orr r2, r2, #1 13712 0182 1A60 str r2, [r3] 13713 0184 0020 movs r0, #0 13714 0186 00E0 b .L1014 13715 .LVL1030: 13716 .L1034: 2232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13717 .loc 1 2232 12 view .LVU4096 13718 0188 0120 movs r0, #1 13719 .LVL1031: 13720 .L1014: 2296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13721 .loc 1 2296 1 view .LVU4097 13722 018a 10BD pop {r4, pc} 13723 .LVL1032: 13724 .L1035: 2239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 443 13725 .loc 1 2239 3 view .LVU4098 13726 018c 1846 mov r0, r3 13727 .LVL1033: 2239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13728 .loc 1 2239 3 view .LVU4099 13729 018e FCE7 b .L1014 13730 .LVL1034: 13731 .L1036: 2239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13732 .loc 1 2239 3 view .LVU4100 13733 0190 0020 movs r0, #0 13734 0192 FAE7 b .L1014 13735 .L1037: 13736 0194 0020 movs r0, #0 13737 0196 F8E7 b .L1014 13738 .L1046: 13739 .align 2 13740 .L1045: 13741 0198 002C0140 .word 1073818624 13742 019c 07000100 .word 65543 13743 .cfi_endproc 13744 .LFE365: 13746 .section .text.HAL_TIM_IC_Stop_IT,"ax",%progbits 13747 .align 1 13748 .global HAL_TIM_IC_Stop_IT 13749 .syntax unified 13750 .thumb 13751 .thumb_func 13753 HAL_TIM_IC_Stop_IT: 13754 .LVL1035: 13755 .LFB366: 2310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 13756 .loc 1 2310 1 is_stmt 1 view -0 13757 .cfi_startproc 13758 @ args = 0, pretend = 0, frame = 0 13759 @ frame_needed = 0, uses_anonymous_args = 0 2310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 13760 .loc 1 2310 1 is_stmt 0 view .LVU4102 13761 0000 38B5 push {r3, r4, r5, lr} 13762 .LCFI100: 13763 .cfi_def_cfa_offset 16 13764 .cfi_offset 3, -16 13765 .cfi_offset 4, -12 13766 .cfi_offset 5, -8 13767 .cfi_offset 14, -4 13768 0002 0546 mov r5, r0 13769 0004 0C46 mov r4, r1 2311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13770 .loc 1 2311 3 is_stmt 1 view .LVU4103 13771 .LVL1036: 2314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13772 .loc 1 2314 3 view .LVU4104 2316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13773 .loc 1 2316 3 view .LVU4105 13774 0006 0C29 cmp r1, #12 13775 0008 6DD8 bhi .L1066 13776 000a DFE801F0 tbb [pc, r1] ARM GAS /tmp/cc0wMqvE.s page 444 13777 .L1050: 13778 000e 07 .byte (.L1053-.L1050)/2 13779 000f 6C .byte (.L1066-.L1050)/2 13780 0010 6C .byte (.L1066-.L1050)/2 13781 0011 6C .byte (.L1066-.L1050)/2 13782 0012 28 .byte (.L1052-.L1050)/2 13783 0013 6C .byte (.L1066-.L1050)/2 13784 0014 6C .byte (.L1066-.L1050)/2 13785 0015 6C .byte (.L1066-.L1050)/2 13786 0016 2E .byte (.L1051-.L1050)/2 13787 0017 6C .byte (.L1066-.L1050)/2 13788 0018 6C .byte (.L1066-.L1050)/2 13789 0019 6C .byte (.L1066-.L1050)/2 13790 001a 34 .byte (.L1049-.L1050)/2 13791 001b 00 .p2align 1 13792 .L1053: 2321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13793 .loc 1 2321 7 view .LVU4106 13794 001c 0268 ldr r2, [r0] 13795 001e D368 ldr r3, [r2, #12] 13796 0020 23F00203 bic r3, r3, #2 13797 0024 D360 str r3, [r2, #12] 2322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13798 .loc 1 2322 7 view .LVU4107 2351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13799 .loc 1 2351 3 view .LVU4108 13800 .L1054: 2354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13801 .loc 1 2354 5 view .LVU4109 13802 0026 0022 movs r2, #0 13803 0028 2146 mov r1, r4 13804 .LVL1037: 2354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13805 .loc 1 2354 5 is_stmt 0 view .LVU4110 13806 002a 2868 ldr r0, [r5] 13807 .LVL1038: 2354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13808 .loc 1 2354 5 view .LVU4111 13809 002c FFF7FEFF bl TIM_CCxChannelCmd 13810 .LVL1039: 2357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13811 .loc 1 2357 5 is_stmt 1 view .LVU4112 2357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13812 .loc 1 2357 5 view .LVU4113 13813 0030 2B68 ldr r3, [r5] 13814 0032 196A ldr r1, [r3, #32] 13815 0034 41F21112 movw r2, #4369 13816 0038 1142 tst r1, r2 13817 003a 08D1 bne .L1055 2357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13818 .loc 1 2357 5 discriminator 1 view .LVU4114 13819 003c 196A ldr r1, [r3, #32] 13820 003e 44F24442 movw r2, #17476 13821 0042 1142 tst r1, r2 13822 0044 03D1 bne .L1055 2357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13823 .loc 1 2357 5 discriminator 3 view .LVU4115 ARM GAS /tmp/cc0wMqvE.s page 445 13824 0046 1A68 ldr r2, [r3] 13825 0048 22F00102 bic r2, r2, #1 13826 004c 1A60 str r2, [r3] 13827 .L1055: 2357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13828 .loc 1 2357 5 discriminator 5 view .LVU4116 2360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13829 .loc 1 2360 5 discriminator 5 view .LVU4117 13830 004e C4B9 cbnz r4, .L1056 2360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13831 .loc 1 2360 5 is_stmt 0 view .LVU4118 13832 0050 0123 movs r3, #1 13833 0052 85F83E30 strb r3, [r5, #62] 2361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13834 .loc 1 2361 5 is_stmt 1 view .LVU4119 13835 0056 85F84430 strb r3, [r5, #68] 13836 005a 0020 movs r0, #0 13837 005c 44E0 b .L1048 13838 .LVL1040: 13839 .L1052: 2328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13840 .loc 1 2328 7 view .LVU4120 13841 005e 0268 ldr r2, [r0] 13842 0060 D368 ldr r3, [r2, #12] 13843 0062 23F00403 bic r3, r3, #4 13844 0066 D360 str r3, [r2, #12] 2329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13845 .loc 1 2329 7 view .LVU4121 2351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13846 .loc 1 2351 3 view .LVU4122 13847 0068 DDE7 b .L1054 13848 .L1051: 2335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13849 .loc 1 2335 7 view .LVU4123 13850 006a 0268 ldr r2, [r0] 13851 006c D368 ldr r3, [r2, #12] 13852 006e 23F00803 bic r3, r3, #8 13853 0072 D360 str r3, [r2, #12] 2336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13854 .loc 1 2336 7 view .LVU4124 2351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13855 .loc 1 2351 3 view .LVU4125 13856 0074 D7E7 b .L1054 13857 .L1049: 2342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13858 .loc 1 2342 7 view .LVU4126 13859 0076 0268 ldr r2, [r0] 13860 0078 D368 ldr r3, [r2, #12] 13861 007a 23F01003 bic r3, r3, #16 13862 007e D360 str r3, [r2, #12] 2343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13863 .loc 1 2343 7 view .LVU4127 2351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13864 .loc 1 2351 3 view .LVU4128 13865 0080 D1E7 b .L1054 13866 .LVL1041: 13867 .L1056: ARM GAS /tmp/cc0wMqvE.s page 446 2351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13868 .loc 1 2351 3 is_stmt 0 view .LVU4129 13869 0082 231F subs r3, r4, #4 13870 0084 0C2B cmp r3, #12 13871 0086 20D8 bhi .L1057 13872 0088 DFE803F0 tbb [pc, r3] 13873 .L1059: 13874 008c 07 .byte (.L1062-.L1059)/2 13875 008d 1F .byte (.L1057-.L1059)/2 13876 008e 1F .byte (.L1057-.L1059)/2 13877 008f 1F .byte (.L1057-.L1059)/2 13878 0090 13 .byte (.L1061-.L1059)/2 13879 0091 1F .byte (.L1057-.L1059)/2 13880 0092 1F .byte (.L1057-.L1059)/2 13881 0093 1F .byte (.L1057-.L1059)/2 13882 0094 17 .byte (.L1060-.L1059)/2 13883 0095 1F .byte (.L1057-.L1059)/2 13884 0096 1F .byte (.L1057-.L1059)/2 13885 0097 1F .byte (.L1057-.L1059)/2 13886 0098 1B .byte (.L1058-.L1059)/2 13887 0099 00 .p2align 1 13888 .L1062: 2360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13889 .loc 1 2360 5 view .LVU4130 13890 009a 0123 movs r3, #1 13891 009c 85F83F30 strb r3, [r5, #63] 2361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13892 .loc 1 2361 5 is_stmt 1 view .LVU4131 13893 .L1063: 2361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13894 .loc 1 2361 5 is_stmt 0 discriminator 2 view .LVU4132 13895 00a0 042C cmp r4, #4 13896 00a2 16D0 beq .L1068 2361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13897 .loc 1 2361 5 discriminator 4 view .LVU4133 13898 00a4 082C cmp r4, #8 13899 00a6 19D0 beq .L1069 2361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13900 .loc 1 2361 5 discriminator 7 view .LVU4134 13901 00a8 0123 movs r3, #1 13902 00aa 85F84730 strb r3, [r5, #71] 13903 00ae 0020 movs r0, #0 13904 00b0 1AE0 b .L1048 13905 .L1061: 2360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13906 .loc 1 2360 5 view .LVU4135 13907 00b2 0123 movs r3, #1 13908 00b4 85F84030 strb r3, [r5, #64] 2361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13909 .loc 1 2361 5 is_stmt 1 view .LVU4136 13910 00b8 F2E7 b .L1063 13911 .L1060: 2360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13912 .loc 1 2360 5 is_stmt 0 view .LVU4137 13913 00ba 0123 movs r3, #1 13914 00bc 85F84130 strb r3, [r5, #65] 2361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 447 13915 .loc 1 2361 5 is_stmt 1 view .LVU4138 13916 00c0 EEE7 b .L1063 13917 .L1058: 2360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13918 .loc 1 2360 5 is_stmt 0 view .LVU4139 13919 00c2 0123 movs r3, #1 13920 00c4 85F84230 strb r3, [r5, #66] 2361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13921 .loc 1 2361 5 is_stmt 1 view .LVU4140 13922 00c8 EAE7 b .L1063 13923 .L1057: 2360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13924 .loc 1 2360 5 is_stmt 0 discriminator 13 view .LVU4141 13925 00ca 0123 movs r3, #1 13926 00cc 85F84330 strb r3, [r5, #67] 2361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13927 .loc 1 2361 5 is_stmt 1 discriminator 13 view .LVU4142 13928 00d0 E6E7 b .L1063 13929 .L1068: 2361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13930 .loc 1 2361 5 is_stmt 0 discriminator 3 view .LVU4143 13931 00d2 0123 movs r3, #1 13932 00d4 85F84530 strb r3, [r5, #69] 13933 00d8 0020 movs r0, #0 13934 00da 05E0 b .L1048 13935 .L1069: 2361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13936 .loc 1 2361 5 discriminator 6 view .LVU4144 13937 00dc 0123 movs r3, #1 13938 00de 85F84630 strb r3, [r5, #70] 13939 00e2 0020 movs r0, #0 13940 00e4 00E0 b .L1048 13941 .LVL1042: 13942 .L1066: 2316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13943 .loc 1 2316 3 view .LVU4145 13944 00e6 0120 movs r0, #1 13945 .LVL1043: 13946 .L1048: 2365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13947 .loc 1 2365 3 is_stmt 1 view .LVU4146 2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13948 .loc 1 2366 1 is_stmt 0 view .LVU4147 13949 00e8 38BD pop {r3, r4, r5, pc} 2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13950 .loc 1 2366 1 view .LVU4148 13951 .cfi_endproc 13952 .LFE366: 13954 .section .text.HAL_TIM_IC_Start_DMA,"ax",%progbits 13955 .align 1 13956 .global HAL_TIM_IC_Start_DMA 13957 .syntax unified 13958 .thumb 13959 .thumb_func 13961 HAL_TIM_IC_Start_DMA: 13962 .LVL1044: 13963 .LFB367: ARM GAS /tmp/cc0wMqvE.s page 448 2382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 13964 .loc 1 2382 1 is_stmt 1 view -0 13965 .cfi_startproc 13966 @ args = 0, pretend = 0, frame = 0 13967 @ frame_needed = 0, uses_anonymous_args = 0 2382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 13968 .loc 1 2382 1 is_stmt 0 view .LVU4150 13969 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr} 13970 .LCFI101: 13971 .cfi_def_cfa_offset 24 13972 .cfi_offset 4, -24 13973 .cfi_offset 5, -20 13974 .cfi_offset 6, -16 13975 .cfi_offset 7, -12 13976 .cfi_offset 8, -8 13977 .cfi_offset 14, -4 13978 0004 0546 mov r5, r0 13979 0006 0C46 mov r4, r1 13980 0008 1646 mov r6, r2 13981 000a 1F46 mov r7, r3 2383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 13982 .loc 1 2383 3 is_stmt 1 view .LVU4151 13983 .LVL1045: 2384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13984 .loc 1 2384 3 view .LVU4152 2386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13985 .loc 1 2386 3 view .LVU4153 13986 000c 1029 cmp r1, #16 13987 000e 3ED8 bhi .L1071 13988 0010 DFE801F0 tbb [pc, r1] 13989 .LVL1046: 13990 .L1073: 13991 0014 09 .byte (.L1077-.L1073)/2 13992 0015 3D .byte (.L1071-.L1073)/2 13993 0016 3D .byte (.L1071-.L1073)/2 13994 0017 3D .byte (.L1071-.L1073)/2 13995 0018 2D .byte (.L1076-.L1073)/2 13996 0019 3D .byte (.L1071-.L1073)/2 13997 001a 3D .byte (.L1071-.L1073)/2 13998 001b 3D .byte (.L1071-.L1073)/2 13999 001c 31 .byte (.L1075-.L1073)/2 14000 001d 3D .byte (.L1071-.L1073)/2 14001 001e 3D .byte (.L1071-.L1073)/2 14002 001f 3D .byte (.L1071-.L1073)/2 14003 0020 35 .byte (.L1074-.L1073)/2 14004 0021 3D .byte (.L1071-.L1073)/2 14005 0022 3D .byte (.L1071-.L1073)/2 14006 0023 3D .byte (.L1071-.L1073)/2 14007 0024 39 .byte (.L1072-.L1073)/2 14008 0025 00 .p2align 1 14009 .L1077: 2386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14010 .loc 1 2386 47 is_stmt 0 discriminator 1 view .LVU4154 14011 0026 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 14012 .LVL1047: 2386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14013 .loc 1 2386 47 discriminator 1 view .LVU4155 ARM GAS /tmp/cc0wMqvE.s page 449 14014 002a C0B2 uxtb r0, r0 14015 .LVL1048: 14016 .L1078: 2387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14017 .loc 1 2387 3 is_stmt 1 discriminator 20 view .LVU4156 2387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14018 .loc 1 2387 61 is_stmt 0 discriminator 20 view .LVU4157 14019 002c 9CBB cbnz r4, .L1079 2387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14020 .loc 1 2387 61 discriminator 1 view .LVU4158 14021 002e 95F84480 ldrb r8, [r5, #68] @ zero_extendqisi2 14022 0032 5FFA88F8 uxtb r8, r8 14023 .L1080: 14024 .LVL1049: 2390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_CC_INSTANCE(htim->Instance)); 14025 .loc 1 2390 3 is_stmt 1 discriminator 12 view .LVU4159 2391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14026 .loc 1 2391 3 discriminator 12 view .LVU4160 2394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_state == HAL_TIM_CHANNEL_STATE_BUSY)) 14027 .loc 1 2394 3 discriminator 12 view .LVU4161 2394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_state == HAL_TIM_CHANNEL_STATE_BUSY)) 14028 .loc 1 2394 6 is_stmt 0 discriminator 12 view .LVU4162 14029 0036 0228 cmp r0, #2 14030 0038 00F00C81 beq .L1083 2395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14031 .loc 1 2395 7 view .LVU4163 14032 003c B8F1020F cmp r8, #2 14033 0040 00F00581 beq .L1104 2399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_state == HAL_TIM_CHANNEL_STATE_READY)) 14034 .loc 1 2399 8 is_stmt 1 view .LVU4164 2399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_state == HAL_TIM_CHANNEL_STATE_READY)) 14035 .loc 1 2399 11 is_stmt 0 view .LVU4165 14036 0044 0128 cmp r0, #1 14037 0046 40F00481 bne .L1105 2400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14038 .loc 1 2400 12 view .LVU4166 14039 004a B8F1010F cmp r8, #1 14040 004e 40F00181 bne .L1083 2402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14041 .loc 1 2402 5 is_stmt 1 view .LVU4167 2402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14042 .loc 1 2402 8 is_stmt 0 view .LVU4168 14043 0052 9EB3 cbz r6, .L1115 14044 .L1084: 2408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 14045 .loc 1 2408 7 is_stmt 1 view .LVU4169 14046 0054 102C cmp r4, #16 14047 0056 61D8 bhi .L1085 14048 0058 DFE804F0 tbb [pc, r4] 14049 .L1087: 14050 005c 34 .byte (.L1091-.L1087)/2 14051 005d 60 .byte (.L1085-.L1087)/2 14052 005e 60 .byte (.L1085-.L1087)/2 14053 005f 60 .byte (.L1085-.L1087)/2 14054 0060 3A .byte (.L1090-.L1087)/2 14055 0061 60 .byte (.L1085-.L1087)/2 14056 0062 60 .byte (.L1085-.L1087)/2 ARM GAS /tmp/cc0wMqvE.s page 450 14057 0063 60 .byte (.L1085-.L1087)/2 14058 0064 54 .byte (.L1089-.L1087)/2 14059 0065 60 .byte (.L1085-.L1087)/2 14060 0066 60 .byte (.L1085-.L1087)/2 14061 0067 60 .byte (.L1085-.L1087)/2 14062 0068 58 .byte (.L1088-.L1087)/2 14063 0069 60 .byte (.L1085-.L1087)/2 14064 006a 60 .byte (.L1085-.L1087)/2 14065 006b 60 .byte (.L1085-.L1087)/2 14066 006c 5C .byte (.L1086-.L1087)/2 14067 .LVL1050: 14068 006d 00 .p2align 1 14069 .L1076: 2386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14070 .loc 1 2386 47 is_stmt 0 discriminator 4 view .LVU4170 14071 006e 90F83F00 ldrb r0, [r0, #63] @ zero_extendqisi2 14072 .LVL1051: 2386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14073 .loc 1 2386 47 discriminator 4 view .LVU4171 14074 0072 C0B2 uxtb r0, r0 14075 0074 DAE7 b .L1078 14076 .LVL1052: 14077 .L1075: 2386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14078 .loc 1 2386 47 discriminator 7 view .LVU4172 14079 0076 90F84000 ldrb r0, [r0, #64] @ zero_extendqisi2 14080 .LVL1053: 2386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14081 .loc 1 2386 47 discriminator 7 view .LVU4173 14082 007a C0B2 uxtb r0, r0 14083 007c D6E7 b .L1078 14084 .LVL1054: 14085 .L1074: 2386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14086 .loc 1 2386 47 discriminator 10 view .LVU4174 14087 007e 90F84110 ldrb r1, [r0, #65] @ zero_extendqisi2 14088 .LVL1055: 2386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14089 .loc 1 2386 47 discriminator 10 view .LVU4175 14090 0082 C8B2 uxtb r0, r1 14091 .LVL1056: 2386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14092 .loc 1 2386 47 discriminator 10 view .LVU4176 14093 0084 D2E7 b .L1078 14094 .LVL1057: 14095 .L1072: 2386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14096 .loc 1 2386 47 discriminator 13 view .LVU4177 14097 0086 90F84210 ldrb r1, [r0, #66] @ zero_extendqisi2 14098 .LVL1058: 2386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14099 .loc 1 2386 47 discriminator 13 view .LVU4178 14100 008a C8B2 uxtb r0, r1 14101 .LVL1059: 2386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14102 .loc 1 2386 47 discriminator 13 view .LVU4179 14103 008c CEE7 b .L1078 ARM GAS /tmp/cc0wMqvE.s page 451 14104 .LVL1060: 14105 .L1071: 2386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14106 .loc 1 2386 47 discriminator 14 view .LVU4180 14107 008e 90F84310 ldrb r1, [r0, #67] @ zero_extendqisi2 14108 .LVL1061: 2386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14109 .loc 1 2386 47 discriminator 14 view .LVU4181 14110 0092 C8B2 uxtb r0, r1 14111 .LVL1062: 2386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14112 .loc 1 2386 47 discriminator 14 view .LVU4182 14113 0094 CAE7 b .L1078 14114 .LVL1063: 14115 .L1079: 2387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14116 .loc 1 2387 61 discriminator 2 view .LVU4183 14117 0096 042C cmp r4, #4 14118 0098 06D0 beq .L1116 2387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14119 .loc 1 2387 61 discriminator 5 view .LVU4184 14120 009a 082C cmp r4, #8 14121 009c 09D0 beq .L1117 2387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14122 .loc 1 2387 61 discriminator 8 view .LVU4185 14123 009e 95F84780 ldrb r8, [r5, #71] @ zero_extendqisi2 14124 00a2 5FFA88F8 uxtb r8, r8 14125 00a6 C6E7 b .L1080 14126 .L1116: 2387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14127 .loc 1 2387 61 discriminator 4 view .LVU4186 14128 00a8 95F84580 ldrb r8, [r5, #69] @ zero_extendqisi2 14129 00ac 5FFA88F8 uxtb r8, r8 14130 00b0 C1E7 b .L1080 14131 .L1117: 2387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14132 .loc 1 2387 61 discriminator 7 view .LVU4187 14133 00b2 95F84680 ldrb r8, [r5, #70] @ zero_extendqisi2 14134 00b6 5FFA88F8 uxtb r8, r8 14135 00ba BCE7 b .L1080 14136 .LVL1064: 14137 .L1115: 2402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14138 .loc 1 2402 25 discriminator 1 view .LVU4188 14139 00bc 002F cmp r7, #0 14140 00be C9D0 beq .L1084 2404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14141 .loc 1 2404 14 view .LVU4189 14142 00c0 4046 mov r0, r8 14143 .LVL1065: 2404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14144 .loc 1 2404 14 view .LVU4190 14145 00c2 C7E0 b .L1083 14146 .LVL1066: 14147 .L1091: 2408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 14148 .loc 1 2408 7 view .LVU4191 ARM GAS /tmp/cc0wMqvE.s page 452 14149 00c4 0223 movs r3, #2 14150 00c6 85F83E30 strb r3, [r5, #62] 2409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14151 .loc 1 2409 7 is_stmt 1 view .LVU4192 14152 00ca 85F84430 strb r3, [r5, #68] 14153 00ce 09E0 b .L1092 14154 .L1090: 2408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 14155 .loc 1 2408 7 is_stmt 0 view .LVU4193 14156 00d0 0223 movs r3, #2 14157 00d2 85F83F30 strb r3, [r5, #63] 2409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14158 .loc 1 2409 7 is_stmt 1 view .LVU4194 14159 .L1093: 2409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14160 .loc 1 2409 7 is_stmt 0 discriminator 2 view .LVU4195 14161 00d6 042C cmp r4, #4 14162 00d8 24D0 beq .L1118 2409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14163 .loc 1 2409 7 discriminator 4 view .LVU4196 14164 00da 082C cmp r4, #8 14165 00dc 26D0 beq .L1119 2409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14166 .loc 1 2409 7 discriminator 7 view .LVU4197 14167 00de 0223 movs r3, #2 14168 00e0 85F84730 strb r3, [r5, #71] 14169 .L1092: 2418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14170 .loc 1 2418 3 is_stmt 1 view .LVU4198 14171 00e4 0122 movs r2, #1 14172 .LVL1067: 2418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14173 .loc 1 2418 3 is_stmt 0 view .LVU4199 14174 00e6 2146 mov r1, r4 14175 00e8 2868 ldr r0, [r5] 14176 .LVL1068: 2418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14177 .loc 1 2418 3 view .LVU4200 14178 00ea FFF7FEFF bl TIM_CCxChannelCmd 14179 .LVL1069: 2420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14180 .loc 1 2420 3 is_stmt 1 view .LVU4201 14181 00ee 0C2C cmp r4, #12 14182 00f0 38D8 bhi .L1096 14183 00f2 DFE804F0 tbb [pc, r4] 14184 .L1098: 14185 00f6 1F .byte (.L1101-.L1098)/2 14186 00f7 37 .byte (.L1096-.L1098)/2 14187 00f8 37 .byte (.L1096-.L1098)/2 14188 00f9 37 .byte (.L1096-.L1098)/2 14189 00fa 54 .byte (.L1100-.L1098)/2 14190 00fb 37 .byte (.L1096-.L1098)/2 14191 00fc 37 .byte (.L1096-.L1098)/2 14192 00fd 37 .byte (.L1096-.L1098)/2 14193 00fe 6D .byte (.L1099-.L1098)/2 14194 00ff 37 .byte (.L1096-.L1098)/2 14195 0100 37 .byte (.L1096-.L1098)/2 ARM GAS /tmp/cc0wMqvE.s page 453 14196 0101 37 .byte (.L1096-.L1098)/2 14197 0102 86 .byte (.L1097-.L1098)/2 14198 .LVL1070: 14199 0103 00 .p2align 1 14200 .L1089: 2408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 14201 .loc 1 2408 7 is_stmt 0 view .LVU4202 14202 0104 0223 movs r3, #2 14203 0106 85F84030 strb r3, [r5, #64] 2409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14204 .loc 1 2409 7 is_stmt 1 view .LVU4203 14205 010a E4E7 b .L1093 14206 .L1088: 2408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 14207 .loc 1 2408 7 is_stmt 0 view .LVU4204 14208 010c 0223 movs r3, #2 14209 010e 85F84130 strb r3, [r5, #65] 2409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14210 .loc 1 2409 7 is_stmt 1 view .LVU4205 14211 0112 E0E7 b .L1093 14212 .L1086: 2408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 14213 .loc 1 2408 7 is_stmt 0 view .LVU4206 14214 0114 0223 movs r3, #2 14215 0116 85F84230 strb r3, [r5, #66] 2409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14216 .loc 1 2409 7 is_stmt 1 view .LVU4207 14217 011a DCE7 b .L1093 14218 .L1085: 2408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 14219 .loc 1 2408 7 is_stmt 0 discriminator 13 view .LVU4208 14220 011c 0223 movs r3, #2 14221 011e 85F84330 strb r3, [r5, #67] 2409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14222 .loc 1 2409 7 is_stmt 1 discriminator 13 view .LVU4209 14223 0122 D8E7 b .L1093 14224 .L1118: 2409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14225 .loc 1 2409 7 is_stmt 0 discriminator 3 view .LVU4210 14226 0124 0223 movs r3, #2 14227 0126 85F84530 strb r3, [r5, #69] 14228 012a DBE7 b .L1092 14229 .L1119: 2409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14230 .loc 1 2409 7 discriminator 6 view .LVU4211 14231 012c 0223 movs r3, #2 14232 012e 85F84630 strb r3, [r5, #70] 14233 0132 D7E7 b .L1092 14234 .LVL1071: 14235 .L1101: 2425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14236 .loc 1 2425 7 is_stmt 1 view .LVU4212 2425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14237 .loc 1 2425 17 is_stmt 0 view .LVU4213 14238 0134 6B6A ldr r3, [r5, #36] 2425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14239 .loc 1 2425 52 view .LVU4214 ARM GAS /tmp/cc0wMqvE.s page 454 14240 0136 4E4A ldr r2, .L1120 14241 0138 DA62 str r2, [r3, #44] 2426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14242 .loc 1 2426 7 is_stmt 1 view .LVU4215 2426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14243 .loc 1 2426 17 is_stmt 0 view .LVU4216 14244 013a 6B6A ldr r3, [r5, #36] 2426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14245 .loc 1 2426 56 view .LVU4217 14246 013c 4D4A ldr r2, .L1120+4 14247 013e 1A63 str r2, [r3, #48] 2429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14248 .loc 1 2429 7 is_stmt 1 view .LVU4218 2429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14249 .loc 1 2429 17 is_stmt 0 view .LVU4219 14250 0140 6B6A ldr r3, [r5, #36] 2429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14251 .loc 1 2429 53 view .LVU4220 14252 0142 4D4A ldr r2, .L1120+8 14253 0144 5A63 str r2, [r3, #52] 2432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14254 .loc 1 2432 7 is_stmt 1 view .LVU4221 2432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14255 .loc 1 2432 71 is_stmt 0 view .LVU4222 14256 0146 2968 ldr r1, [r5] 2432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14257 .loc 1 2432 11 view .LVU4223 14258 0148 3B46 mov r3, r7 14259 014a 3246 mov r2, r6 14260 014c 3431 adds r1, r1, #52 14261 014e 686A ldr r0, [r5, #36] 14262 0150 FFF7FEFF bl HAL_DMA_Start_IT 14263 .LVL1072: 2432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14264 .loc 1 2432 10 view .LVU4224 14265 0154 0028 cmp r0, #0 14266 0156 7FD1 bne .L1107 2439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14267 .loc 1 2439 7 is_stmt 1 view .LVU4225 14268 0158 2A68 ldr r2, [r5] 14269 015a D368 ldr r3, [r2, #12] 14270 015c 43F40073 orr r3, r3, #512 14271 0160 D360 str r3, [r2, #12] 2440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14272 .loc 1 2440 7 view .LVU4226 2383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 14273 .loc 1 2383 21 is_stmt 0 view .LVU4227 14274 0162 8046 mov r8, r0 14275 .LVL1073: 14276 .L1096: 2512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14277 .loc 1 2512 3 is_stmt 1 view .LVU4228 2512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14278 .loc 1 2512 7 is_stmt 0 view .LVU4229 14279 0164 2B68 ldr r3, [r5] 2512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14280 .loc 1 2512 6 view .LVU4230 ARM GAS /tmp/cc0wMqvE.s page 455 14281 0166 454A ldr r2, .L1120+12 14282 0168 9342 cmp r3, r2 14283 016a 62D0 beq .L1102 2512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14284 .loc 1 2512 7 discriminator 1 view .LVU4231 14285 016c B3F1804F cmp r3, #1073741824 14286 0170 5FD0 beq .L1102 2512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14287 .loc 1 2512 7 discriminator 2 view .LVU4232 14288 0172 A2F59432 sub r2, r2, #75776 14289 0176 9342 cmp r3, r2 14290 0178 5BD0 beq .L1102 2512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14291 .loc 1 2512 7 discriminator 3 view .LVU4233 14292 017a 02F58062 add r2, r2, #1024 14293 017e 9342 cmp r3, r2 14294 0180 57D0 beq .L1102 2512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14295 .loc 1 2512 7 discriminator 4 view .LVU4234 14296 0182 02F59632 add r2, r2, #76800 14297 0186 9342 cmp r3, r2 14298 0188 53D0 beq .L1102 2512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14299 .loc 1 2512 7 discriminator 5 view .LVU4235 14300 018a 02F54062 add r2, r2, #3072 14301 018e 9342 cmp r3, r2 14302 0190 4FD0 beq .L1102 2522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14303 .loc 1 2522 5 is_stmt 1 view .LVU4236 14304 0192 1A68 ldr r2, [r3] 14305 0194 42F00102 orr r2, r2, #1 14306 0198 1A60 str r2, [r3] 2526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14307 .loc 1 2526 10 is_stmt 0 view .LVU4237 14308 019a 4046 mov r0, r8 14309 019c 5AE0 b .L1083 14310 .LVL1074: 14311 .L1100: 2446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14312 .loc 1 2446 7 is_stmt 1 view .LVU4238 2446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14313 .loc 1 2446 17 is_stmt 0 view .LVU4239 14314 019e AB6A ldr r3, [r5, #40] 2446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14315 .loc 1 2446 52 view .LVU4240 14316 01a0 334A ldr r2, .L1120 14317 01a2 DA62 str r2, [r3, #44] 2447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14318 .loc 1 2447 7 is_stmt 1 view .LVU4241 2447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14319 .loc 1 2447 17 is_stmt 0 view .LVU4242 14320 01a4 AB6A ldr r3, [r5, #40] 2447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14321 .loc 1 2447 56 view .LVU4243 14322 01a6 334A ldr r2, .L1120+4 14323 01a8 1A63 str r2, [r3, #48] 2450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 456 14324 .loc 1 2450 7 is_stmt 1 view .LVU4244 2450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14325 .loc 1 2450 17 is_stmt 0 view .LVU4245 14326 01aa AB6A ldr r3, [r5, #40] 2450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14327 .loc 1 2450 53 view .LVU4246 14328 01ac 324A ldr r2, .L1120+8 14329 01ae 5A63 str r2, [r3, #52] 2453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14330 .loc 1 2453 7 is_stmt 1 view .LVU4247 2453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14331 .loc 1 2453 71 is_stmt 0 view .LVU4248 14332 01b0 2968 ldr r1, [r5] 2453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14333 .loc 1 2453 11 view .LVU4249 14334 01b2 3B46 mov r3, r7 14335 01b4 3246 mov r2, r6 14336 01b6 3831 adds r1, r1, #56 14337 01b8 A86A ldr r0, [r5, #40] 14338 01ba FFF7FEFF bl HAL_DMA_Start_IT 14339 .LVL1075: 2453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14340 .loc 1 2453 10 view .LVU4250 14341 01be 0028 cmp r0, #0 14342 01c0 4CD1 bne .L1108 2460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14343 .loc 1 2460 7 is_stmt 1 view .LVU4251 14344 01c2 2A68 ldr r2, [r5] 14345 01c4 D368 ldr r3, [r2, #12] 14346 01c6 43F48063 orr r3, r3, #1024 14347 01ca D360 str r3, [r2, #12] 2461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14348 .loc 1 2461 7 view .LVU4252 2383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 14349 .loc 1 2383 21 is_stmt 0 view .LVU4253 14350 01cc 8046 mov r8, r0 14351 .LVL1076: 2461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14352 .loc 1 2461 7 view .LVU4254 14353 01ce C9E7 b .L1096 14354 .LVL1077: 14355 .L1099: 2467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14356 .loc 1 2467 7 is_stmt 1 view .LVU4255 2467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14357 .loc 1 2467 17 is_stmt 0 view .LVU4256 14358 01d0 EB6A ldr r3, [r5, #44] 2467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14359 .loc 1 2467 52 view .LVU4257 14360 01d2 274A ldr r2, .L1120 14361 01d4 DA62 str r2, [r3, #44] 2468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14362 .loc 1 2468 7 is_stmt 1 view .LVU4258 2468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14363 .loc 1 2468 17 is_stmt 0 view .LVU4259 14364 01d6 EB6A ldr r3, [r5, #44] 2468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 457 14365 .loc 1 2468 56 view .LVU4260 14366 01d8 264A ldr r2, .L1120+4 14367 01da 1A63 str r2, [r3, #48] 2471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14368 .loc 1 2471 7 is_stmt 1 view .LVU4261 2471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14369 .loc 1 2471 17 is_stmt 0 view .LVU4262 14370 01dc EB6A ldr r3, [r5, #44] 2471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14371 .loc 1 2471 53 view .LVU4263 14372 01de 264A ldr r2, .L1120+8 14373 01e0 5A63 str r2, [r3, #52] 2474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14374 .loc 1 2474 7 is_stmt 1 view .LVU4264 2474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14375 .loc 1 2474 71 is_stmt 0 view .LVU4265 14376 01e2 2968 ldr r1, [r5] 2474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14377 .loc 1 2474 11 view .LVU4266 14378 01e4 3B46 mov r3, r7 14379 01e6 3246 mov r2, r6 14380 01e8 3C31 adds r1, r1, #60 14381 01ea E86A ldr r0, [r5, #44] 14382 01ec FFF7FEFF bl HAL_DMA_Start_IT 14383 .LVL1078: 2474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14384 .loc 1 2474 10 view .LVU4267 14385 01f0 0028 cmp r0, #0 14386 01f2 35D1 bne .L1109 2481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14387 .loc 1 2481 7 is_stmt 1 view .LVU4268 14388 01f4 2A68 ldr r2, [r5] 14389 01f6 D368 ldr r3, [r2, #12] 14390 01f8 43F40063 orr r3, r3, #2048 14391 01fc D360 str r3, [r2, #12] 2482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14392 .loc 1 2482 7 view .LVU4269 2383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 14393 .loc 1 2383 21 is_stmt 0 view .LVU4270 14394 01fe 8046 mov r8, r0 14395 .LVL1079: 2482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14396 .loc 1 2482 7 view .LVU4271 14397 0200 B0E7 b .L1096 14398 .LVL1080: 14399 .L1097: 2488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14400 .loc 1 2488 7 is_stmt 1 view .LVU4272 2488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14401 .loc 1 2488 17 is_stmt 0 view .LVU4273 14402 0202 2B6B ldr r3, [r5, #48] 2488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14403 .loc 1 2488 52 view .LVU4274 14404 0204 1A4A ldr r2, .L1120 14405 0206 DA62 str r2, [r3, #44] 2489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14406 .loc 1 2489 7 is_stmt 1 view .LVU4275 ARM GAS /tmp/cc0wMqvE.s page 458 2489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14407 .loc 1 2489 17 is_stmt 0 view .LVU4276 14408 0208 2B6B ldr r3, [r5, #48] 2489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14409 .loc 1 2489 56 view .LVU4277 14410 020a 1A4A ldr r2, .L1120+4 14411 020c 1A63 str r2, [r3, #48] 2492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14412 .loc 1 2492 7 is_stmt 1 view .LVU4278 2492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14413 .loc 1 2492 17 is_stmt 0 view .LVU4279 14414 020e 2B6B ldr r3, [r5, #48] 2492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14415 .loc 1 2492 53 view .LVU4280 14416 0210 194A ldr r2, .L1120+8 14417 0212 5A63 str r2, [r3, #52] 2495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14418 .loc 1 2495 7 is_stmt 1 view .LVU4281 2495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14419 .loc 1 2495 71 is_stmt 0 view .LVU4282 14420 0214 2968 ldr r1, [r5] 2495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14421 .loc 1 2495 11 view .LVU4283 14422 0216 3B46 mov r3, r7 14423 0218 3246 mov r2, r6 14424 021a 4031 adds r1, r1, #64 14425 021c 286B ldr r0, [r5, #48] 14426 021e FFF7FEFF bl HAL_DMA_Start_IT 14427 .LVL1081: 2495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14428 .loc 1 2495 10 view .LVU4284 14429 0222 F8B9 cbnz r0, .L1110 2502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14430 .loc 1 2502 7 is_stmt 1 view .LVU4285 14431 0224 2A68 ldr r2, [r5] 14432 0226 D368 ldr r3, [r2, #12] 14433 0228 43F48053 orr r3, r3, #4096 14434 022c D360 str r3, [r2, #12] 2503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14435 .loc 1 2503 7 view .LVU4286 2383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 14436 .loc 1 2383 21 is_stmt 0 view .LVU4287 14437 022e 8046 mov r8, r0 14438 .LVL1082: 2503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14439 .loc 1 2503 7 view .LVU4288 14440 0230 98E7 b .L1096 14441 .LVL1083: 14442 .L1102: 2514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 14443 .loc 1 2514 5 is_stmt 1 view .LVU4289 2514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 14444 .loc 1 2514 29 is_stmt 0 view .LVU4290 14445 0232 9968 ldr r1, [r3, #8] 2514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 14446 .loc 1 2514 13 view .LVU4291 14447 0234 124A ldr r2, .L1120+16 ARM GAS /tmp/cc0wMqvE.s page 459 14448 0236 0A40 ands r2, r2, r1 14449 .LVL1084: 2515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14450 .loc 1 2515 5 is_stmt 1 view .LVU4292 2515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14451 .loc 1 2515 8 is_stmt 0 view .LVU4293 14452 0238 062A cmp r2, #6 14453 023a 15D0 beq .L1111 2515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14454 .loc 1 2515 9 discriminator 1 view .LVU4294 14455 023c B2F5803F cmp r2, #65536 14456 0240 14D0 beq .L1112 2517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14457 .loc 1 2517 7 is_stmt 1 view .LVU4295 14458 0242 1A68 ldr r2, [r3] 14459 .LVL1085: 2517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14460 .loc 1 2517 7 is_stmt 0 view .LVU4296 14461 0244 42F00102 orr r2, r2, #1 14462 0248 1A60 str r2, [r3] 2526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14463 .loc 1 2526 10 view .LVU4297 14464 024a 4046 mov r0, r8 14465 024c 02E0 b .L1083 14466 .LVL1086: 14467 .L1104: 2397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14468 .loc 1 2397 12 view .LVU4298 14469 024e 4046 mov r0, r8 14470 .LVL1087: 2397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14471 .loc 1 2397 12 view .LVU4299 14472 0250 00E0 b .L1083 14473 .LVL1088: 14474 .L1105: 2414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14475 .loc 1 2414 12 view .LVU4300 14476 0252 0120 movs r0, #1 14477 .LVL1089: 14478 .L1083: 2527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14479 .loc 1 2527 1 view .LVU4301 14480 0254 BDE8F081 pop {r4, r5, r6, r7, r8, pc} 14481 .LVL1090: 14482 .L1107: 2436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14483 .loc 1 2436 16 view .LVU4302 14484 0258 4046 mov r0, r8 14485 025a FBE7 b .L1083 14486 .L1108: 2457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14487 .loc 1 2457 16 view .LVU4303 14488 025c 4046 mov r0, r8 14489 025e F9E7 b .L1083 14490 .L1109: 2478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14491 .loc 1 2478 16 view .LVU4304 ARM GAS /tmp/cc0wMqvE.s page 460 14492 0260 4046 mov r0, r8 14493 0262 F7E7 b .L1083 14494 .L1110: 2499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14495 .loc 1 2499 16 view .LVU4305 14496 0264 4046 mov r0, r8 14497 0266 F5E7 b .L1083 14498 .LVL1091: 14499 .L1111: 2526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14500 .loc 1 2526 10 view .LVU4306 14501 0268 4046 mov r0, r8 14502 026a F3E7 b .L1083 14503 .L1112: 14504 026c 4046 mov r0, r8 14505 026e F1E7 b .L1083 14506 .L1121: 14507 .align 2 14508 .L1120: 14509 0270 00000000 .word TIM_DMACaptureCplt 14510 0274 00000000 .word TIM_DMACaptureHalfCplt 14511 0278 00000000 .word TIM_DMAError 14512 027c 002C0140 .word 1073818624 14513 0280 07000100 .word 65543 14514 .cfi_endproc 14515 .LFE367: 14517 .section .text.HAL_TIM_IC_Stop_DMA,"ax",%progbits 14518 .align 1 14519 .global HAL_TIM_IC_Stop_DMA 14520 .syntax unified 14521 .thumb 14522 .thumb_func 14524 HAL_TIM_IC_Stop_DMA: 14525 .LVL1092: 14526 .LFB368: 2541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 14527 .loc 1 2541 1 is_stmt 1 view -0 14528 .cfi_startproc 14529 @ args = 0, pretend = 0, frame = 0 14530 @ frame_needed = 0, uses_anonymous_args = 0 2541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 14531 .loc 1 2541 1 is_stmt 0 view .LVU4308 14532 0000 38B5 push {r3, r4, r5, lr} 14533 .LCFI102: 14534 .cfi_def_cfa_offset 16 14535 .cfi_offset 3, -16 14536 .cfi_offset 4, -12 14537 .cfi_offset 5, -8 14538 .cfi_offset 14, -4 14539 0002 0446 mov r4, r0 14540 0004 0D46 mov r5, r1 2542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14541 .loc 1 2542 3 is_stmt 1 view .LVU4309 14542 .LVL1093: 2545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_CC_INSTANCE(htim->Instance)); 14543 .loc 1 2545 3 view .LVU4310 2546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 461 14544 .loc 1 2546 3 view .LVU4311 2549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14545 .loc 1 2549 3 view .LVU4312 14546 0006 0022 movs r2, #0 14547 0008 0068 ldr r0, [r0] 14548 .LVL1094: 2549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14549 .loc 1 2549 3 is_stmt 0 view .LVU4313 14550 000a FFF7FEFF bl TIM_CCxChannelCmd 14551 .LVL1095: 2551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14552 .loc 1 2551 3 is_stmt 1 view .LVU4314 14553 000e 0C2D cmp r5, #12 14554 0010 74D8 bhi .L1141 14555 0012 DFE805F0 tbb [pc, r5] 14556 .L1125: 14557 0016 07 .byte (.L1128-.L1125)/2 14558 0017 73 .byte (.L1141-.L1125)/2 14559 0018 73 .byte (.L1141-.L1125)/2 14560 0019 73 .byte (.L1141-.L1125)/2 14561 001a 26 .byte (.L1127-.L1125)/2 14562 001b 73 .byte (.L1141-.L1125)/2 14563 001c 73 .byte (.L1141-.L1125)/2 14564 001d 73 .byte (.L1141-.L1125)/2 14565 001e 2F .byte (.L1126-.L1125)/2 14566 001f 73 .byte (.L1141-.L1125)/2 14567 0020 73 .byte (.L1141-.L1125)/2 14568 0021 73 .byte (.L1141-.L1125)/2 14569 0022 38 .byte (.L1124-.L1125)/2 14570 0023 00 .p2align 1 14571 .L1128: 2556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 14572 .loc 1 2556 7 view .LVU4315 14573 0024 2268 ldr r2, [r4] 14574 0026 D368 ldr r3, [r2, #12] 14575 0028 23F40073 bic r3, r3, #512 14576 002c D360 str r3, [r2, #12] 2557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14577 .loc 1 2557 7 view .LVU4316 2557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14578 .loc 1 2557 13 is_stmt 0 view .LVU4317 14579 002e 606A ldr r0, [r4, #36] 14580 0030 FFF7FEFF bl HAL_DMA_Abort_IT 14581 .LVL1096: 2558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14582 .loc 1 2558 7 is_stmt 1 view .LVU4318 2590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14583 .loc 1 2590 3 view .LVU4319 14584 .L1129: 2593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14585 .loc 1 2593 5 view .LVU4320 2593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14586 .loc 1 2593 5 view .LVU4321 14587 0034 2368 ldr r3, [r4] 14588 0036 196A ldr r1, [r3, #32] 14589 0038 41F21112 movw r2, #4369 14590 003c 1142 tst r1, r2 ARM GAS /tmp/cc0wMqvE.s page 462 14591 003e 08D1 bne .L1130 2593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14592 .loc 1 2593 5 discriminator 1 view .LVU4322 14593 0040 196A ldr r1, [r3, #32] 14594 0042 44F24442 movw r2, #17476 14595 0046 1142 tst r1, r2 14596 0048 03D1 bne .L1130 2593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14597 .loc 1 2593 5 discriminator 3 view .LVU4323 14598 004a 1A68 ldr r2, [r3] 14599 004c 22F00102 bic r2, r2, #1 14600 0050 1A60 str r2, [r3] 14601 .L1130: 2593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14602 .loc 1 2593 5 discriminator 5 view .LVU4324 2596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 14603 .loc 1 2596 5 discriminator 5 view .LVU4325 14604 0052 0DBB cbnz r5, .L1131 2596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 14605 .loc 1 2596 5 is_stmt 0 view .LVU4326 14606 0054 0123 movs r3, #1 14607 0056 84F83E30 strb r3, [r4, #62] 2597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14608 .loc 1 2597 5 is_stmt 1 view .LVU4327 14609 005a 84F84430 strb r3, [r4, #68] 14610 005e 0020 movs r0, #0 14611 0060 4DE0 b .L1123 14612 .L1127: 2564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 14613 .loc 1 2564 7 view .LVU4328 14614 0062 2268 ldr r2, [r4] 14615 0064 D368 ldr r3, [r2, #12] 14616 0066 23F48063 bic r3, r3, #1024 14617 006a D360 str r3, [r2, #12] 2565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14618 .loc 1 2565 7 view .LVU4329 2565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14619 .loc 1 2565 13 is_stmt 0 view .LVU4330 14620 006c A06A ldr r0, [r4, #40] 14621 006e FFF7FEFF bl HAL_DMA_Abort_IT 14622 .LVL1097: 2566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14623 .loc 1 2566 7 is_stmt 1 view .LVU4331 2590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14624 .loc 1 2590 3 view .LVU4332 14625 0072 DFE7 b .L1129 14626 .L1126: 2572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 14627 .loc 1 2572 7 view .LVU4333 14628 0074 2268 ldr r2, [r4] 14629 0076 D368 ldr r3, [r2, #12] 14630 0078 23F40063 bic r3, r3, #2048 14631 007c D360 str r3, [r2, #12] 2573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14632 .loc 1 2573 7 view .LVU4334 2573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14633 .loc 1 2573 13 is_stmt 0 view .LVU4335 ARM GAS /tmp/cc0wMqvE.s page 463 14634 007e E06A ldr r0, [r4, #44] 14635 0080 FFF7FEFF bl HAL_DMA_Abort_IT 14636 .LVL1098: 2574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14637 .loc 1 2574 7 is_stmt 1 view .LVU4336 2590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14638 .loc 1 2590 3 view .LVU4337 14639 0084 D6E7 b .L1129 14640 .L1124: 2580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 14641 .loc 1 2580 7 view .LVU4338 14642 0086 2268 ldr r2, [r4] 14643 0088 D368 ldr r3, [r2, #12] 14644 008a 23F48053 bic r3, r3, #4096 14645 008e D360 str r3, [r2, #12] 2581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14646 .loc 1 2581 7 view .LVU4339 2581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14647 .loc 1 2581 13 is_stmt 0 view .LVU4340 14648 0090 206B ldr r0, [r4, #48] 14649 0092 FFF7FEFF bl HAL_DMA_Abort_IT 14650 .LVL1099: 2582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14651 .loc 1 2582 7 is_stmt 1 view .LVU4341 2590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14652 .loc 1 2590 3 view .LVU4342 14653 0096 CDE7 b .L1129 14654 .L1131: 2590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14655 .loc 1 2590 3 is_stmt 0 view .LVU4343 14656 0098 2B1F subs r3, r5, #4 14657 009a 0C2B cmp r3, #12 14658 009c 20D8 bhi .L1132 14659 009e DFE803F0 tbb [pc, r3] 14660 .L1134: 14661 00a2 07 .byte (.L1137-.L1134)/2 14662 00a3 1F .byte (.L1132-.L1134)/2 14663 00a4 1F .byte (.L1132-.L1134)/2 14664 00a5 1F .byte (.L1132-.L1134)/2 14665 00a6 13 .byte (.L1136-.L1134)/2 14666 00a7 1F .byte (.L1132-.L1134)/2 14667 00a8 1F .byte (.L1132-.L1134)/2 14668 00a9 1F .byte (.L1132-.L1134)/2 14669 00aa 17 .byte (.L1135-.L1134)/2 14670 00ab 1F .byte (.L1132-.L1134)/2 14671 00ac 1F .byte (.L1132-.L1134)/2 14672 00ad 1F .byte (.L1132-.L1134)/2 14673 00ae 1B .byte (.L1133-.L1134)/2 14674 00af 00 .p2align 1 14675 .L1137: 2596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 14676 .loc 1 2596 5 view .LVU4344 14677 00b0 0123 movs r3, #1 14678 00b2 84F83F30 strb r3, [r4, #63] 2597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14679 .loc 1 2597 5 is_stmt 1 view .LVU4345 14680 .L1138: ARM GAS /tmp/cc0wMqvE.s page 464 2597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14681 .loc 1 2597 5 is_stmt 0 discriminator 2 view .LVU4346 14682 00b6 042D cmp r5, #4 14683 00b8 16D0 beq .L1143 2597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14684 .loc 1 2597 5 discriminator 4 view .LVU4347 14685 00ba 082D cmp r5, #8 14686 00bc 19D0 beq .L1144 2597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14687 .loc 1 2597 5 discriminator 7 view .LVU4348 14688 00be 0123 movs r3, #1 14689 00c0 84F84730 strb r3, [r4, #71] 14690 00c4 0020 movs r0, #0 14691 00c6 1AE0 b .L1123 14692 .L1136: 2596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 14693 .loc 1 2596 5 view .LVU4349 14694 00c8 0123 movs r3, #1 14695 00ca 84F84030 strb r3, [r4, #64] 2597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14696 .loc 1 2597 5 is_stmt 1 view .LVU4350 14697 00ce F2E7 b .L1138 14698 .L1135: 2596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 14699 .loc 1 2596 5 is_stmt 0 view .LVU4351 14700 00d0 0123 movs r3, #1 14701 00d2 84F84130 strb r3, [r4, #65] 2597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14702 .loc 1 2597 5 is_stmt 1 view .LVU4352 14703 00d6 EEE7 b .L1138 14704 .L1133: 2596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 14705 .loc 1 2596 5 is_stmt 0 view .LVU4353 14706 00d8 0123 movs r3, #1 14707 00da 84F84230 strb r3, [r4, #66] 2597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14708 .loc 1 2597 5 is_stmt 1 view .LVU4354 14709 00de EAE7 b .L1138 14710 .L1132: 2596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 14711 .loc 1 2596 5 is_stmt 0 discriminator 13 view .LVU4355 14712 00e0 0123 movs r3, #1 14713 00e2 84F84330 strb r3, [r4, #67] 2597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14714 .loc 1 2597 5 is_stmt 1 discriminator 13 view .LVU4356 14715 00e6 E6E7 b .L1138 14716 .L1143: 2597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14717 .loc 1 2597 5 is_stmt 0 discriminator 3 view .LVU4357 14718 00e8 0123 movs r3, #1 14719 00ea 84F84530 strb r3, [r4, #69] 14720 00ee 0020 movs r0, #0 14721 00f0 05E0 b .L1123 14722 .L1144: 2597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14723 .loc 1 2597 5 discriminator 6 view .LVU4358 14724 00f2 0123 movs r3, #1 ARM GAS /tmp/cc0wMqvE.s page 465 14725 00f4 84F84630 strb r3, [r4, #70] 14726 00f8 0020 movs r0, #0 14727 00fa 00E0 b .L1123 14728 .L1141: 2551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14729 .loc 1 2551 3 view .LVU4359 14730 00fc 0120 movs r0, #1 14731 .L1123: 14732 .LVL1100: 2601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14733 .loc 1 2601 3 is_stmt 1 view .LVU4360 2602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 14734 .loc 1 2602 1 is_stmt 0 view .LVU4361 14735 00fe 38BD pop {r3, r4, r5, pc} 2602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 14736 .loc 1 2602 1 view .LVU4362 14737 .cfi_endproc 14738 .LFE368: 14740 .section .text.HAL_TIM_OnePulse_Start,"ax",%progbits 14741 .align 1 14742 .global HAL_TIM_OnePulse_Start 14743 .syntax unified 14744 .thumb 14745 .thumb_func 14747 HAL_TIM_OnePulse_Start: 14748 .LVL1101: 14749 .LFB373: 2794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 14750 .loc 1 2794 1 is_stmt 1 view -0 14751 .cfi_startproc 14752 @ args = 0, pretend = 0, frame = 0 14753 @ frame_needed = 0, uses_anonymous_args = 0 2794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 14754 .loc 1 2794 1 is_stmt 0 view .LVU4364 14755 0000 10B5 push {r4, lr} 14756 .LCFI103: 14757 .cfi_def_cfa_offset 8 14758 .cfi_offset 4, -8 14759 .cfi_offset 14, -4 14760 0002 0446 mov r4, r0 2795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 14761 .loc 1 2795 3 is_stmt 1 view .LVU4365 2795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 14762 .loc 1 2795 31 is_stmt 0 view .LVU4366 14763 0004 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 14764 .LVL1102: 2795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 14765 .loc 1 2795 31 view .LVU4367 14766 0008 C0B2 uxtb r0, r0 14767 .LVL1103: 2796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 14768 .loc 1 2796 3 is_stmt 1 view .LVU4368 2796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 14769 .loc 1 2796 31 is_stmt 0 view .LVU4369 14770 000a 94F83F30 ldrb r3, [r4, #63] @ zero_extendqisi2 14771 .LVL1104: 2797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA ARM GAS /tmp/cc0wMqvE.s page 466 14772 .loc 1 2797 3 is_stmt 1 view .LVU4370 2797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 14773 .loc 1 2797 31 is_stmt 0 view .LVU4371 14774 000e 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2 14775 .LVL1105: 2798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14776 .loc 1 2798 3 is_stmt 1 view .LVU4372 2798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14777 .loc 1 2798 31 is_stmt 0 view .LVU4373 14778 0012 94F84510 ldrb r1, [r4, #69] @ zero_extendqisi2 14779 .LVL1106: 2801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14780 .loc 1 2801 3 is_stmt 1 view .LVU4374 2804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 14781 .loc 1 2804 3 view .LVU4375 2804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 14782 .loc 1 2804 6 is_stmt 0 view .LVU4376 14783 0016 0128 cmp r0, #1 14784 0018 38D1 bne .L1148 14785 001a DBB2 uxtb r3, r3 2804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 14786 .loc 1 2804 6 view .LVU4377 14787 001c D2B2 uxtb r2, r2 2804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 14788 .loc 1 2804 6 view .LVU4378 14789 001e C9B2 uxtb r1, r1 2805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 14790 .loc 1 2805 7 view .LVU4379 14791 0020 012B cmp r3, #1 14792 0022 34D1 bne .L1146 2806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 14793 .loc 1 2806 7 view .LVU4380 14794 0024 012A cmp r2, #1 14795 0026 33D1 bne .L1149 2807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14796 .loc 1 2807 7 view .LVU4381 14797 0028 0129 cmp r1, #1 14798 002a 01D0 beq .L1153 2809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14799 .loc 1 2809 12 view .LVU4382 14800 002c 1046 mov r0, r2 14801 .LVL1107: 2809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14802 .loc 1 2809 12 view .LVU4383 14803 002e 2EE0 b .L1146 14804 .LVL1108: 14805 .L1153: 2813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 14806 .loc 1 2813 3 is_stmt 1 view .LVU4384 14807 0030 0223 movs r3, #2 14808 .LVL1109: 2813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 14809 .loc 1 2813 3 is_stmt 0 view .LVU4385 14810 0032 84F83E30 strb r3, [r4, #62] 2814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 14811 .loc 1 2814 3 is_stmt 1 view .LVU4386 14812 0036 84F83F30 strb r3, [r4, #63] ARM GAS /tmp/cc0wMqvE.s page 467 2815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 14813 .loc 1 2815 3 view .LVU4387 14814 003a 84F84430 strb r3, [r4, #68] 2816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14815 .loc 1 2816 3 view .LVU4388 14816 003e 84F84530 strb r3, [r4, #69] 2827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 14817 .loc 1 2827 3 view .LVU4389 14818 0042 0021 movs r1, #0 14819 .LVL1110: 2827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 14820 .loc 1 2827 3 is_stmt 0 view .LVU4390 14821 0044 2068 ldr r0, [r4] 14822 .LVL1111: 2827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 14823 .loc 1 2827 3 view .LVU4391 14824 0046 FFF7FEFF bl TIM_CCxChannelCmd 14825 .LVL1112: 2828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14826 .loc 1 2828 3 is_stmt 1 view .LVU4392 14827 004a 0122 movs r2, #1 14828 004c 0421 movs r1, #4 14829 004e 2068 ldr r0, [r4] 14830 0050 FFF7FEFF bl TIM_CCxChannelCmd 14831 .LVL1113: 2830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14832 .loc 1 2830 3 view .LVU4393 2830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14833 .loc 1 2830 7 is_stmt 0 view .LVU4394 14834 0054 2368 ldr r3, [r4] 14835 0056 0F4A ldr r2, .L1154 14836 0058 9342 cmp r3, r2 14837 005a 11D0 beq .L1147 2830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14838 .loc 1 2830 7 discriminator 2 view .LVU4395 14839 005c 02F50062 add r2, r2, #2048 14840 0060 9342 cmp r3, r2 14841 0062 0DD0 beq .L1147 2830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14842 .loc 1 2830 7 discriminator 4 view .LVU4396 14843 0064 02F54062 add r2, r2, #3072 14844 0068 9342 cmp r3, r2 14845 006a 09D0 beq .L1147 2830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14846 .loc 1 2830 7 discriminator 6 view .LVU4397 14847 006c 02F58062 add r2, r2, #1024 14848 0070 9342 cmp r3, r2 14849 0072 05D0 beq .L1147 2830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14850 .loc 1 2830 7 discriminator 8 view .LVU4398 14851 0074 02F58062 add r2, r2, #1024 14852 0078 9342 cmp r3, r2 14853 007a 01D0 beq .L1147 2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14854 .loc 1 2837 10 view .LVU4399 14855 007c 0020 movs r0, #0 14856 007e 06E0 b .L1146 ARM GAS /tmp/cc0wMqvE.s page 468 14857 .L1147: 2833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14858 .loc 1 2833 5 is_stmt 1 view .LVU4400 14859 0080 5A6C ldr r2, [r3, #68] 14860 0082 42F40042 orr r2, r2, #32768 14861 0086 5A64 str r2, [r3, #68] 2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14862 .loc 1 2837 10 is_stmt 0 view .LVU4401 14863 0088 0020 movs r0, #0 14864 008a 00E0 b .L1146 14865 .LVL1114: 14866 .L1148: 2809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14867 .loc 1 2809 12 view .LVU4402 14868 008c 0120 movs r0, #1 14869 .LVL1115: 14870 .L1146: 2838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14871 .loc 1 2838 1 view .LVU4403 14872 008e 10BD pop {r4, pc} 14873 .LVL1116: 14874 .L1149: 2809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14875 .loc 1 2809 12 view .LVU4404 14876 0090 1846 mov r0, r3 14877 .LVL1117: 2809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14878 .loc 1 2809 12 view .LVU4405 14879 0092 FCE7 b .L1146 14880 .L1155: 14881 .align 2 14882 .L1154: 14883 0094 002C0140 .word 1073818624 14884 .cfi_endproc 14885 .LFE373: 14887 .section .text.HAL_TIM_OnePulse_Stop,"ax",%progbits 14888 .align 1 14889 .global HAL_TIM_OnePulse_Stop 14890 .syntax unified 14891 .thumb 14892 .thumb_func 14894 HAL_TIM_OnePulse_Stop: 14895 .LVL1118: 14896 .LFB374: 2851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 14897 .loc 1 2851 1 is_stmt 1 view -0 14898 .cfi_startproc 14899 @ args = 0, pretend = 0, frame = 0 14900 @ frame_needed = 0, uses_anonymous_args = 0 2851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 14901 .loc 1 2851 1 is_stmt 0 view .LVU4407 14902 0000 10B5 push {r4, lr} 14903 .LCFI104: 14904 .cfi_def_cfa_offset 8 14905 .cfi_offset 4, -8 14906 .cfi_offset 14, -4 14907 0002 0446 mov r4, r0 ARM GAS /tmp/cc0wMqvE.s page 469 2853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14908 .loc 1 2853 3 is_stmt 1 view .LVU4408 2861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 14909 .loc 1 2861 3 view .LVU4409 14910 0004 0022 movs r2, #0 14911 0006 1146 mov r1, r2 14912 .LVL1119: 2861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 14913 .loc 1 2861 3 is_stmt 0 view .LVU4410 14914 0008 0068 ldr r0, [r0] 14915 .LVL1120: 2861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 14916 .loc 1 2861 3 view .LVU4411 14917 000a FFF7FEFF bl TIM_CCxChannelCmd 14918 .LVL1121: 2862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14919 .loc 1 2862 3 is_stmt 1 view .LVU4412 14920 000e 0022 movs r2, #0 14921 0010 0421 movs r1, #4 14922 0012 2068 ldr r0, [r4] 14923 0014 FFF7FEFF bl TIM_CCxChannelCmd 14924 .LVL1122: 2864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14925 .loc 1 2864 3 view .LVU4413 2864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14926 .loc 1 2864 7 is_stmt 0 view .LVU4414 14927 0018 2368 ldr r3, [r4] 14928 001a 1D4A ldr r2, .L1161 14929 001c 9342 cmp r3, r2 14930 001e 0FD0 beq .L1157 2864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14931 .loc 1 2864 7 discriminator 2 view .LVU4415 14932 0020 02F50062 add r2, r2, #2048 14933 0024 9342 cmp r3, r2 14934 0026 0BD0 beq .L1157 2864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14935 .loc 1 2864 7 discriminator 4 view .LVU4416 14936 0028 02F54062 add r2, r2, #3072 14937 002c 9342 cmp r3, r2 14938 002e 07D0 beq .L1157 2864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14939 .loc 1 2864 7 discriminator 6 view .LVU4417 14940 0030 02F58062 add r2, r2, #1024 14941 0034 9342 cmp r3, r2 14942 0036 03D0 beq .L1157 2864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14943 .loc 1 2864 7 discriminator 8 view .LVU4418 14944 0038 02F58062 add r2, r2, #1024 14945 003c 9342 cmp r3, r2 14946 003e 0DD1 bne .L1158 14947 .L1157: 2867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14948 .loc 1 2867 5 is_stmt 1 view .LVU4419 2867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14949 .loc 1 2867 5 view .LVU4420 14950 0040 196A ldr r1, [r3, #32] 14951 0042 41F21112 movw r2, #4369 ARM GAS /tmp/cc0wMqvE.s page 470 14952 0046 1142 tst r1, r2 14953 0048 08D1 bne .L1158 2867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14954 .loc 1 2867 5 discriminator 1 view .LVU4421 14955 004a 196A ldr r1, [r3, #32] 14956 004c 44F24442 movw r2, #17476 14957 0050 1142 tst r1, r2 14958 0052 03D1 bne .L1158 2867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14959 .loc 1 2867 5 discriminator 3 view .LVU4422 14960 0054 5A6C ldr r2, [r3, #68] 14961 0056 22F40042 bic r2, r2, #32768 14962 005a 5A64 str r2, [r3, #68] 14963 .L1158: 2867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14964 .loc 1 2867 5 discriminator 5 view .LVU4423 2871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14965 .loc 1 2871 3 discriminator 5 view .LVU4424 2871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14966 .loc 1 2871 3 discriminator 5 view .LVU4425 14967 005c 2368 ldr r3, [r4] 14968 005e 196A ldr r1, [r3, #32] 14969 0060 41F21112 movw r2, #4369 14970 0064 1142 tst r1, r2 14971 0066 08D1 bne .L1159 2871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14972 .loc 1 2871 3 discriminator 1 view .LVU4426 14973 0068 196A ldr r1, [r3, #32] 14974 006a 44F24442 movw r2, #17476 14975 006e 1142 tst r1, r2 14976 0070 03D1 bne .L1159 2871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14977 .loc 1 2871 3 discriminator 3 view .LVU4427 14978 0072 1A68 ldr r2, [r3] 14979 0074 22F00102 bic r2, r2, #1 14980 0078 1A60 str r2, [r3] 14981 .L1159: 2871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14982 .loc 1 2871 3 discriminator 5 view .LVU4428 2874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 14983 .loc 1 2874 3 discriminator 5 view .LVU4429 14984 007a 0123 movs r3, #1 14985 007c 84F83E30 strb r3, [r4, #62] 2875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 14986 .loc 1 2875 3 discriminator 5 view .LVU4430 14987 0080 84F83F30 strb r3, [r4, #63] 2876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 14988 .loc 1 2876 3 discriminator 5 view .LVU4431 14989 0084 84F84430 strb r3, [r4, #68] 2877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14990 .loc 1 2877 3 discriminator 5 view .LVU4432 14991 0088 84F84530 strb r3, [r4, #69] 2880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14992 .loc 1 2880 3 discriminator 5 view .LVU4433 2881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14993 .loc 1 2881 1 is_stmt 0 discriminator 5 view .LVU4434 14994 008c 0020 movs r0, #0 ARM GAS /tmp/cc0wMqvE.s page 471 14995 008e 10BD pop {r4, pc} 14996 .LVL1123: 14997 .L1162: 2881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14998 .loc 1 2881 1 discriminator 5 view .LVU4435 14999 .align 2 15000 .L1161: 15001 0090 002C0140 .word 1073818624 15002 .cfi_endproc 15003 .LFE374: 15005 .section .text.HAL_TIM_OnePulse_Start_IT,"ax",%progbits 15006 .align 1 15007 .global HAL_TIM_OnePulse_Start_IT 15008 .syntax unified 15009 .thumb 15010 .thumb_func 15012 HAL_TIM_OnePulse_Start_IT: 15013 .LVL1124: 15014 .LFB375: 2894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 15015 .loc 1 2894 1 is_stmt 1 view -0 15016 .cfi_startproc 15017 @ args = 0, pretend = 0, frame = 0 15018 @ frame_needed = 0, uses_anonymous_args = 0 2894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 15019 .loc 1 2894 1 is_stmt 0 view .LVU4437 15020 0000 10B5 push {r4, lr} 15021 .LCFI105: 15022 .cfi_def_cfa_offset 8 15023 .cfi_offset 4, -8 15024 .cfi_offset 14, -4 15025 0002 0446 mov r4, r0 2895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 15026 .loc 1 2895 3 is_stmt 1 view .LVU4438 2895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 15027 .loc 1 2895 31 is_stmt 0 view .LVU4439 15028 0004 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 15029 .LVL1125: 2895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 15030 .loc 1 2895 31 view .LVU4440 15031 0008 C0B2 uxtb r0, r0 15032 .LVL1126: 2896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 15033 .loc 1 2896 3 is_stmt 1 view .LVU4441 2896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 15034 .loc 1 2896 31 is_stmt 0 view .LVU4442 15035 000a 94F83F30 ldrb r3, [r4, #63] @ zero_extendqisi2 15036 .LVL1127: 2897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 15037 .loc 1 2897 3 is_stmt 1 view .LVU4443 2897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 15038 .loc 1 2897 31 is_stmt 0 view .LVU4444 15039 000e 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2 15040 .LVL1128: 2898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15041 .loc 1 2898 3 is_stmt 1 view .LVU4445 2898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/cc0wMqvE.s page 472 15042 .loc 1 2898 31 is_stmt 0 view .LVU4446 15043 0012 94F84510 ldrb r1, [r4, #69] @ zero_extendqisi2 15044 .LVL1129: 2901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15045 .loc 1 2901 3 is_stmt 1 view .LVU4447 2904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 15046 .loc 1 2904 3 view .LVU4448 2904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 15047 .loc 1 2904 6 is_stmt 0 view .LVU4449 15048 0016 0128 cmp r0, #1 15049 0018 43D1 bne .L1166 15050 001a DBB2 uxtb r3, r3 2904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 15051 .loc 1 2904 6 view .LVU4450 15052 001c D2B2 uxtb r2, r2 2904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 15053 .loc 1 2904 6 view .LVU4451 15054 001e C9B2 uxtb r1, r1 2905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 15055 .loc 1 2905 7 view .LVU4452 15056 0020 012B cmp r3, #1 15057 0022 3FD1 bne .L1164 2906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 15058 .loc 1 2906 7 view .LVU4453 15059 0024 012A cmp r2, #1 15060 0026 3ED1 bne .L1167 2907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15061 .loc 1 2907 7 view .LVU4454 15062 0028 0129 cmp r1, #1 15063 002a 01D0 beq .L1171 2909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15064 .loc 1 2909 12 view .LVU4455 15065 002c 1046 mov r0, r2 15066 .LVL1130: 2909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15067 .loc 1 2909 12 view .LVU4456 15068 002e 39E0 b .L1164 15069 .LVL1131: 15070 .L1171: 2913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15071 .loc 1 2913 3 is_stmt 1 view .LVU4457 15072 0030 0223 movs r3, #2 15073 .LVL1132: 2913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15074 .loc 1 2913 3 is_stmt 0 view .LVU4458 15075 0032 84F83E30 strb r3, [r4, #62] 2914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 15076 .loc 1 2914 3 is_stmt 1 view .LVU4459 15077 0036 84F83F30 strb r3, [r4, #63] 2915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15078 .loc 1 2915 3 view .LVU4460 15079 003a 84F84430 strb r3, [r4, #68] 2916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15080 .loc 1 2916 3 view .LVU4461 15081 003e 84F84530 strb r3, [r4, #69] 2928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15082 .loc 1 2928 3 view .LVU4462 ARM GAS /tmp/cc0wMqvE.s page 473 15083 0042 2268 ldr r2, [r4] 15084 .LVL1133: 2928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15085 .loc 1 2928 3 is_stmt 0 view .LVU4463 15086 0044 D368 ldr r3, [r2, #12] 15087 0046 43F00203 orr r3, r3, #2 15088 004a D360 str r3, [r2, #12] 2931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15089 .loc 1 2931 3 is_stmt 1 view .LVU4464 15090 004c 2268 ldr r2, [r4] 15091 004e D368 ldr r3, [r2, #12] 15092 0050 43F00403 orr r3, r3, #4 15093 0054 D360 str r3, [r2, #12] 2933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15094 .loc 1 2933 3 view .LVU4465 15095 0056 0122 movs r2, #1 15096 0058 0021 movs r1, #0 15097 .LVL1134: 2933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15098 .loc 1 2933 3 is_stmt 0 view .LVU4466 15099 005a 2068 ldr r0, [r4] 15100 .LVL1135: 2933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15101 .loc 1 2933 3 view .LVU4467 15102 005c FFF7FEFF bl TIM_CCxChannelCmd 15103 .LVL1136: 2934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15104 .loc 1 2934 3 is_stmt 1 view .LVU4468 15105 0060 0122 movs r2, #1 15106 0062 0421 movs r1, #4 15107 0064 2068 ldr r0, [r4] 15108 0066 FFF7FEFF bl TIM_CCxChannelCmd 15109 .LVL1137: 2936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15110 .loc 1 2936 3 view .LVU4469 2936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15111 .loc 1 2936 7 is_stmt 0 view .LVU4470 15112 006a 2368 ldr r3, [r4] 15113 006c 0F4A ldr r2, .L1172 15114 006e 9342 cmp r3, r2 15115 0070 11D0 beq .L1165 2936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15116 .loc 1 2936 7 discriminator 2 view .LVU4471 15117 0072 02F50062 add r2, r2, #2048 15118 0076 9342 cmp r3, r2 15119 0078 0DD0 beq .L1165 2936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15120 .loc 1 2936 7 discriminator 4 view .LVU4472 15121 007a 02F54062 add r2, r2, #3072 15122 007e 9342 cmp r3, r2 15123 0080 09D0 beq .L1165 2936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15124 .loc 1 2936 7 discriminator 6 view .LVU4473 15125 0082 02F58062 add r2, r2, #1024 15126 0086 9342 cmp r3, r2 15127 0088 05D0 beq .L1165 2936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 474 15128 .loc 1 2936 7 discriminator 8 view .LVU4474 15129 008a 02F58062 add r2, r2, #1024 15130 008e 9342 cmp r3, r2 15131 0090 01D0 beq .L1165 2943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15132 .loc 1 2943 10 view .LVU4475 15133 0092 0020 movs r0, #0 15134 0094 06E0 b .L1164 15135 .L1165: 2939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15136 .loc 1 2939 5 is_stmt 1 view .LVU4476 15137 0096 5A6C ldr r2, [r3, #68] 15138 0098 42F40042 orr r2, r2, #32768 15139 009c 5A64 str r2, [r3, #68] 2943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15140 .loc 1 2943 10 is_stmt 0 view .LVU4477 15141 009e 0020 movs r0, #0 15142 00a0 00E0 b .L1164 15143 .LVL1138: 15144 .L1166: 2909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15145 .loc 1 2909 12 view .LVU4478 15146 00a2 0120 movs r0, #1 15147 .LVL1139: 15148 .L1164: 2944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15149 .loc 1 2944 1 view .LVU4479 15150 00a4 10BD pop {r4, pc} 15151 .LVL1140: 15152 .L1167: 2909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15153 .loc 1 2909 12 view .LVU4480 15154 00a6 1846 mov r0, r3 15155 .LVL1141: 2909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15156 .loc 1 2909 12 view .LVU4481 15157 00a8 FCE7 b .L1164 15158 .L1173: 15159 00aa 00BF .align 2 15160 .L1172: 15161 00ac 002C0140 .word 1073818624 15162 .cfi_endproc 15163 .LFE375: 15165 .section .text.HAL_TIM_OnePulse_Stop_IT,"ax",%progbits 15166 .align 1 15167 .global HAL_TIM_OnePulse_Stop_IT 15168 .syntax unified 15169 .thumb 15170 .thumb_func 15172 HAL_TIM_OnePulse_Stop_IT: 15173 .LVL1142: 15174 .LFB376: 2957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 15175 .loc 1 2957 1 is_stmt 1 view -0 15176 .cfi_startproc 15177 @ args = 0, pretend = 0, frame = 0 15178 @ frame_needed = 0, uses_anonymous_args = 0 ARM GAS /tmp/cc0wMqvE.s page 475 2957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 15179 .loc 1 2957 1 is_stmt 0 view .LVU4483 15180 0000 10B5 push {r4, lr} 15181 .LCFI106: 15182 .cfi_def_cfa_offset 8 15183 .cfi_offset 4, -8 15184 .cfi_offset 14, -4 15185 0002 0446 mov r4, r0 2959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15186 .loc 1 2959 3 is_stmt 1 view .LVU4484 2962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15187 .loc 1 2962 3 view .LVU4485 15188 0004 0268 ldr r2, [r0] 15189 0006 D368 ldr r3, [r2, #12] 15190 0008 23F00203 bic r3, r3, #2 15191 000c D360 str r3, [r2, #12] 2965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15192 .loc 1 2965 3 view .LVU4486 15193 000e 0268 ldr r2, [r0] 15194 0010 D368 ldr r3, [r2, #12] 15195 0012 23F00403 bic r3, r3, #4 15196 0016 D360 str r3, [r2, #12] 2972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15197 .loc 1 2972 3 view .LVU4487 15198 0018 0022 movs r2, #0 15199 001a 1146 mov r1, r2 15200 .LVL1143: 2972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15201 .loc 1 2972 3 is_stmt 0 view .LVU4488 15202 001c 0068 ldr r0, [r0] 15203 .LVL1144: 2972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15204 .loc 1 2972 3 view .LVU4489 15205 001e FFF7FEFF bl TIM_CCxChannelCmd 15206 .LVL1145: 2973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15207 .loc 1 2973 3 is_stmt 1 view .LVU4490 15208 0022 0022 movs r2, #0 15209 0024 0421 movs r1, #4 15210 0026 2068 ldr r0, [r4] 15211 0028 FFF7FEFF bl TIM_CCxChannelCmd 15212 .LVL1146: 2975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15213 .loc 1 2975 3 view .LVU4491 2975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15214 .loc 1 2975 7 is_stmt 0 view .LVU4492 15215 002c 2368 ldr r3, [r4] 15216 002e 1D4A ldr r2, .L1179 15217 0030 9342 cmp r3, r2 15218 0032 0FD0 beq .L1175 2975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15219 .loc 1 2975 7 discriminator 2 view .LVU4493 15220 0034 02F50062 add r2, r2, #2048 15221 0038 9342 cmp r3, r2 15222 003a 0BD0 beq .L1175 2975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15223 .loc 1 2975 7 discriminator 4 view .LVU4494 ARM GAS /tmp/cc0wMqvE.s page 476 15224 003c 02F54062 add r2, r2, #3072 15225 0040 9342 cmp r3, r2 15226 0042 07D0 beq .L1175 2975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15227 .loc 1 2975 7 discriminator 6 view .LVU4495 15228 0044 02F58062 add r2, r2, #1024 15229 0048 9342 cmp r3, r2 15230 004a 03D0 beq .L1175 2975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15231 .loc 1 2975 7 discriminator 8 view .LVU4496 15232 004c 02F58062 add r2, r2, #1024 15233 0050 9342 cmp r3, r2 15234 0052 0DD1 bne .L1176 15235 .L1175: 2978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15236 .loc 1 2978 5 is_stmt 1 view .LVU4497 2978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15237 .loc 1 2978 5 view .LVU4498 15238 0054 196A ldr r1, [r3, #32] 15239 0056 41F21112 movw r2, #4369 15240 005a 1142 tst r1, r2 15241 005c 08D1 bne .L1176 2978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15242 .loc 1 2978 5 discriminator 1 view .LVU4499 15243 005e 196A ldr r1, [r3, #32] 15244 0060 44F24442 movw r2, #17476 15245 0064 1142 tst r1, r2 15246 0066 03D1 bne .L1176 2978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15247 .loc 1 2978 5 discriminator 3 view .LVU4500 15248 0068 5A6C ldr r2, [r3, #68] 15249 006a 22F40042 bic r2, r2, #32768 15250 006e 5A64 str r2, [r3, #68] 15251 .L1176: 2978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15252 .loc 1 2978 5 discriminator 5 view .LVU4501 2982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15253 .loc 1 2982 3 discriminator 5 view .LVU4502 2982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15254 .loc 1 2982 3 discriminator 5 view .LVU4503 15255 0070 2368 ldr r3, [r4] 15256 0072 196A ldr r1, [r3, #32] 15257 0074 41F21112 movw r2, #4369 15258 0078 1142 tst r1, r2 15259 007a 08D1 bne .L1177 2982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15260 .loc 1 2982 3 discriminator 1 view .LVU4504 15261 007c 196A ldr r1, [r3, #32] 15262 007e 44F24442 movw r2, #17476 15263 0082 1142 tst r1, r2 15264 0084 03D1 bne .L1177 2982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15265 .loc 1 2982 3 discriminator 3 view .LVU4505 15266 0086 1A68 ldr r2, [r3] 15267 0088 22F00102 bic r2, r2, #1 15268 008c 1A60 str r2, [r3] 15269 .L1177: ARM GAS /tmp/cc0wMqvE.s page 477 2982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15270 .loc 1 2982 3 discriminator 5 view .LVU4506 2985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 15271 .loc 1 2985 3 discriminator 5 view .LVU4507 15272 008e 0123 movs r3, #1 15273 0090 84F83E30 strb r3, [r4, #62] 2986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 15274 .loc 1 2986 3 discriminator 5 view .LVU4508 15275 0094 84F83F30 strb r3, [r4, #63] 2987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 15276 .loc 1 2987 3 discriminator 5 view .LVU4509 15277 0098 84F84430 strb r3, [r4, #68] 2988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15278 .loc 1 2988 3 discriminator 5 view .LVU4510 15279 009c 84F84530 strb r3, [r4, #69] 2991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15280 .loc 1 2991 3 discriminator 5 view .LVU4511 2992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15281 .loc 1 2992 1 is_stmt 0 discriminator 5 view .LVU4512 15282 00a0 0020 movs r0, #0 15283 00a2 10BD pop {r4, pc} 15284 .LVL1147: 15285 .L1180: 2992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15286 .loc 1 2992 1 discriminator 5 view .LVU4513 15287 .align 2 15288 .L1179: 15289 00a4 002C0140 .word 1073818624 15290 .cfi_endproc 15291 .LFE376: 15293 .section .text.HAL_TIM_Encoder_Start,"ax",%progbits 15294 .align 1 15295 .global HAL_TIM_Encoder_Start 15296 .syntax unified 15297 .thumb 15298 .thumb_func 15300 HAL_TIM_Encoder_Start: 15301 .LVL1148: 15302 .LFB381: 3230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 15303 .loc 1 3230 1 is_stmt 1 view -0 15304 .cfi_startproc 15305 @ args = 0, pretend = 0, frame = 0 15306 @ frame_needed = 0, uses_anonymous_args = 0 3230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 15307 .loc 1 3230 1 is_stmt 0 view .LVU4515 15308 0000 38B5 push {r3, r4, r5, lr} 15309 .LCFI107: 15310 .cfi_def_cfa_offset 16 15311 .cfi_offset 3, -16 15312 .cfi_offset 4, -12 15313 .cfi_offset 5, -8 15314 .cfi_offset 14, -4 15315 0002 0446 mov r4, r0 3231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 15316 .loc 1 3231 3 is_stmt 1 view .LVU4516 3231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); ARM GAS /tmp/cc0wMqvE.s page 478 15317 .loc 1 3231 31 is_stmt 0 view .LVU4517 15318 0004 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 15319 .LVL1149: 3231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 15320 .loc 1 3231 31 view .LVU4518 15321 0008 C0B2 uxtb r0, r0 15322 .LVL1150: 3232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 15323 .loc 1 3232 3 is_stmt 1 view .LVU4519 3232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 15324 .loc 1 3232 31 is_stmt 0 view .LVU4520 15325 000a 94F83F30 ldrb r3, [r4, #63] @ zero_extendqisi2 15326 .LVL1151: 3233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 15327 .loc 1 3233 3 is_stmt 1 view .LVU4521 3233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 15328 .loc 1 3233 31 is_stmt 0 view .LVU4522 15329 000e 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2 15330 0012 D2B2 uxtb r2, r2 15331 .LVL1152: 3234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15332 .loc 1 3234 3 is_stmt 1 view .LVU4523 3234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15333 .loc 1 3234 31 is_stmt 0 view .LVU4524 15334 0014 94F845C0 ldrb ip, [r4, #69] @ zero_extendqisi2 15335 .LVL1153: 3237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15336 .loc 1 3237 3 is_stmt 1 view .LVU4525 3240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15337 .loc 1 3240 3 view .LVU4526 3240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15338 .loc 1 3240 6 is_stmt 0 view .LVU4527 15339 0018 0D46 mov r5, r1 15340 001a B1B9 cbnz r1, .L1182 3242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)) 15341 .loc 1 3242 5 is_stmt 1 view .LVU4528 3242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)) 15342 .loc 1 3242 8 is_stmt 0 view .LVU4529 15343 001c 0128 cmp r0, #1 15344 001e 49D1 bne .L1190 3243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15345 .loc 1 3243 9 view .LVU4530 15346 0020 012A cmp r2, #1 15347 0022 48D1 bne .L1183 3249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 15348 .loc 1 3249 7 is_stmt 1 view .LVU4531 15349 0024 0223 movs r3, #2 15350 .LVL1154: 3249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 15351 .loc 1 3249 7 is_stmt 0 view .LVU4532 15352 0026 84F83E30 strb r3, [r4, #62] 3250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15353 .loc 1 3250 7 is_stmt 1 view .LVU4533 15354 002a 84F84430 strb r3, [r4, #68] 15355 .LVL1155: 15356 .L1184: 3285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 479 15357 .loc 1 3285 3 view .LVU4534 15358 002e 7DB3 cbz r5, .L1186 15359 0030 042D cmp r5, #4 15360 0032 39D0 beq .L1187 3301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15361 .loc 1 3301 7 view .LVU4535 15362 0034 0122 movs r2, #1 15363 .LVL1156: 3301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15364 .loc 1 3301 7 is_stmt 0 view .LVU4536 15365 0036 0021 movs r1, #0 15366 .LVL1157: 3301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15367 .loc 1 3301 7 view .LVU4537 15368 0038 2068 ldr r0, [r4] 15369 .LVL1158: 3301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15370 .loc 1 3301 7 view .LVU4538 15371 003a FFF7FEFF bl TIM_CCxChannelCmd 15372 .LVL1159: 3302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15373 .loc 1 3302 7 is_stmt 1 view .LVU4539 15374 003e 0122 movs r2, #1 15375 0040 0421 movs r1, #4 15376 0042 2068 ldr r0, [r4] 15377 0044 FFF7FEFF bl TIM_CCxChannelCmd 15378 .LVL1160: 3303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15379 .loc 1 3303 7 view .LVU4540 15380 0048 27E0 b .L1189 15381 .LVL1161: 15382 .L1182: 3303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15383 .loc 1 3303 7 is_stmt 0 view .LVU4541 15384 004a DBB2 uxtb r3, r3 3303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15385 .loc 1 3303 7 view .LVU4542 15386 004c 5FFA8CFC uxtb ip, ip 3253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15387 .loc 1 3253 8 is_stmt 1 view .LVU4543 3253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15388 .loc 1 3253 11 is_stmt 0 view .LVU4544 15389 0050 0429 cmp r1, #4 15390 0052 12D0 beq .L1198 3268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 15391 .loc 1 3268 5 is_stmt 1 view .LVU4545 3268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 15392 .loc 1 3268 8 is_stmt 0 view .LVU4546 15393 0054 0128 cmp r0, #1 15394 0056 33D1 bne .L1193 3269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 15395 .loc 1 3269 9 view .LVU4547 15396 0058 012B cmp r3, #1 15397 005a 2CD1 bne .L1183 3270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 15398 .loc 1 3270 9 view .LVU4548 15399 005c 012A cmp r2, #1 ARM GAS /tmp/cc0wMqvE.s page 480 15400 005e 31D1 bne .L1194 3271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15401 .loc 1 3271 9 view .LVU4549 15402 0060 BCF1010F cmp ip, #1 15403 0064 30D1 bne .L1195 3277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15404 .loc 1 3277 7 is_stmt 1 view .LVU4550 15405 0066 0223 movs r3, #2 15406 .LVL1162: 3277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15407 .loc 1 3277 7 is_stmt 0 view .LVU4551 15408 0068 84F83E30 strb r3, [r4, #62] 3278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 15409 .loc 1 3278 7 is_stmt 1 view .LVU4552 15410 006c 84F83F30 strb r3, [r4, #63] 3279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15411 .loc 1 3279 7 view .LVU4553 15412 0070 84F84430 strb r3, [r4, #68] 3280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15413 .loc 1 3280 7 view .LVU4554 15414 0074 84F84530 strb r3, [r4, #69] 15415 0078 D9E7 b .L1184 15416 .LVL1163: 15417 .L1198: 3255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 15418 .loc 1 3255 5 view .LVU4555 3255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 15419 .loc 1 3255 8 is_stmt 0 view .LVU4556 15420 007a 012B cmp r3, #1 15421 007c 1CD1 bne .L1191 3256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15422 .loc 1 3256 9 view .LVU4557 15423 007e BCF1010F cmp ip, #1 15424 0082 1BD1 bne .L1192 3262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15425 .loc 1 3262 7 is_stmt 1 view .LVU4558 15426 0084 0223 movs r3, #2 15427 .LVL1164: 3262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15428 .loc 1 3262 7 is_stmt 0 view .LVU4559 15429 0086 84F83F30 strb r3, [r4, #63] 3263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15430 .loc 1 3263 7 is_stmt 1 view .LVU4560 15431 008a 84F84530 strb r3, [r4, #69] 15432 008e CEE7 b .L1184 15433 .LVL1165: 15434 .L1186: 3289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15435 .loc 1 3289 7 view .LVU4561 15436 0090 0122 movs r2, #1 15437 .LVL1166: 3289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15438 .loc 1 3289 7 is_stmt 0 view .LVU4562 15439 0092 0021 movs r1, #0 15440 .LVL1167: 3289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15441 .loc 1 3289 7 view .LVU4563 ARM GAS /tmp/cc0wMqvE.s page 481 15442 0094 2068 ldr r0, [r4] 15443 .LVL1168: 3289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15444 .loc 1 3289 7 view .LVU4564 15445 0096 FFF7FEFF bl TIM_CCxChannelCmd 15446 .LVL1169: 3290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15447 .loc 1 3290 7 is_stmt 1 view .LVU4565 15448 .L1189: 3307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15449 .loc 1 3307 3 view .LVU4566 15450 009a 2268 ldr r2, [r4] 15451 009c 1368 ldr r3, [r2] 15452 009e 43F00103 orr r3, r3, #1 15453 00a2 1360 str r3, [r2] 3310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15454 .loc 1 3310 3 view .LVU4567 3310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15455 .loc 1 3310 10 is_stmt 0 view .LVU4568 15456 00a4 0020 movs r0, #0 15457 00a6 06E0 b .L1183 15458 .LVL1170: 15459 .L1187: 3295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15460 .loc 1 3295 7 is_stmt 1 view .LVU4569 15461 00a8 0122 movs r2, #1 15462 .LVL1171: 3295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15463 .loc 1 3295 7 is_stmt 0 view .LVU4570 15464 00aa 0421 movs r1, #4 15465 .LVL1172: 3295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15466 .loc 1 3295 7 view .LVU4571 15467 00ac 2068 ldr r0, [r4] 15468 .LVL1173: 3295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15469 .loc 1 3295 7 view .LVU4572 15470 00ae FFF7FEFF bl TIM_CCxChannelCmd 15471 .LVL1174: 3296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15472 .loc 1 3296 7 is_stmt 1 view .LVU4573 15473 00b2 F2E7 b .L1189 15474 .LVL1175: 15475 .L1190: 3245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15476 .loc 1 3245 14 is_stmt 0 view .LVU4574 15477 00b4 0120 movs r0, #1 15478 .LVL1176: 15479 .L1183: 3311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15480 .loc 1 3311 1 view .LVU4575 15481 00b6 38BD pop {r3, r4, r5, pc} 15482 .LVL1177: 15483 .L1191: 3258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15484 .loc 1 3258 14 view .LVU4576 15485 00b8 0120 movs r0, #1 ARM GAS /tmp/cc0wMqvE.s page 482 15486 .LVL1178: 3258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15487 .loc 1 3258 14 view .LVU4577 15488 00ba FCE7 b .L1183 15489 .LVL1179: 15490 .L1192: 3258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15491 .loc 1 3258 14 view .LVU4578 15492 00bc 1846 mov r0, r3 15493 .LVL1180: 3258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15494 .loc 1 3258 14 view .LVU4579 15495 00be FAE7 b .L1183 15496 .LVL1181: 15497 .L1193: 3273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15498 .loc 1 3273 14 view .LVU4580 15499 00c0 0120 movs r0, #1 15500 .LVL1182: 3273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15501 .loc 1 3273 14 view .LVU4581 15502 00c2 F8E7 b .L1183 15503 .LVL1183: 15504 .L1194: 3273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15505 .loc 1 3273 14 view .LVU4582 15506 00c4 1846 mov r0, r3 15507 .LVL1184: 3273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15508 .loc 1 3273 14 view .LVU4583 15509 00c6 F6E7 b .L1183 15510 .LVL1185: 15511 .L1195: 3273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15512 .loc 1 3273 14 view .LVU4584 15513 00c8 1046 mov r0, r2 15514 .LVL1186: 3273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15515 .loc 1 3273 14 view .LVU4585 15516 00ca F4E7 b .L1183 15517 .cfi_endproc 15518 .LFE381: 15520 .section .text.HAL_TIM_Encoder_Stop,"ax",%progbits 15521 .align 1 15522 .global HAL_TIM_Encoder_Stop 15523 .syntax unified 15524 .thumb 15525 .thumb_func 15527 HAL_TIM_Encoder_Stop: 15528 .LVL1187: 15529 .LFB382: 3324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 15530 .loc 1 3324 1 is_stmt 1 view -0 15531 .cfi_startproc 15532 @ args = 0, pretend = 0, frame = 0 15533 @ frame_needed = 0, uses_anonymous_args = 0 3324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ ARM GAS /tmp/cc0wMqvE.s page 483 15534 .loc 1 3324 1 is_stmt 0 view .LVU4587 15535 0000 38B5 push {r3, r4, r5, lr} 15536 .LCFI108: 15537 .cfi_def_cfa_offset 16 15538 .cfi_offset 3, -16 15539 .cfi_offset 4, -12 15540 .cfi_offset 5, -8 15541 .cfi_offset 14, -4 15542 0002 0446 mov r4, r0 3326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15543 .loc 1 3326 3 is_stmt 1 view .LVU4588 3330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15544 .loc 1 3330 3 view .LVU4589 15545 0004 0D46 mov r5, r1 15546 0006 61B1 cbz r1, .L1200 15547 0008 0429 cmp r1, #4 15548 000a 2BD0 beq .L1201 3346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15549 .loc 1 3346 7 view .LVU4590 15550 000c 0022 movs r2, #0 15551 000e 1146 mov r1, r2 15552 .LVL1188: 3346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15553 .loc 1 3346 7 is_stmt 0 view .LVU4591 15554 0010 0068 ldr r0, [r0] 15555 .LVL1189: 3346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15556 .loc 1 3346 7 view .LVU4592 15557 0012 FFF7FEFF bl TIM_CCxChannelCmd 15558 .LVL1190: 3347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15559 .loc 1 3347 7 is_stmt 1 view .LVU4593 15560 0016 0022 movs r2, #0 15561 0018 0421 movs r1, #4 15562 001a 2068 ldr r0, [r4] 15563 001c FFF7FEFF bl TIM_CCxChannelCmd 15564 .LVL1191: 3348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15565 .loc 1 3348 7 view .LVU4594 15566 0020 04E0 b .L1203 15567 .LVL1192: 15568 .L1200: 3334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15569 .loc 1 3334 7 view .LVU4595 15570 0022 0022 movs r2, #0 15571 0024 1146 mov r1, r2 15572 .LVL1193: 3334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15573 .loc 1 3334 7 is_stmt 0 view .LVU4596 15574 0026 0068 ldr r0, [r0] 15575 .LVL1194: 3334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15576 .loc 1 3334 7 view .LVU4597 15577 0028 FFF7FEFF bl TIM_CCxChannelCmd 15578 .LVL1195: 3335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15579 .loc 1 3335 7 is_stmt 1 view .LVU4598 ARM GAS /tmp/cc0wMqvE.s page 484 15580 .L1203: 3353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15581 .loc 1 3353 3 view .LVU4599 3353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15582 .loc 1 3353 3 view .LVU4600 15583 002c 2368 ldr r3, [r4] 15584 002e 196A ldr r1, [r3, #32] 15585 0030 41F21112 movw r2, #4369 15586 0034 1142 tst r1, r2 15587 0036 08D1 bne .L1204 3353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15588 .loc 1 3353 3 discriminator 1 view .LVU4601 15589 0038 196A ldr r1, [r3, #32] 15590 003a 44F24442 movw r2, #17476 15591 003e 1142 tst r1, r2 15592 0040 03D1 bne .L1204 3353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15593 .loc 1 3353 3 discriminator 3 view .LVU4602 15594 0042 1A68 ldr r2, [r3] 15595 0044 22F00102 bic r2, r2, #1 15596 0048 1A60 str r2, [r3] 15597 .L1204: 3353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15598 .loc 1 3353 3 discriminator 5 view .LVU4603 3356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15599 .loc 1 3356 3 discriminator 5 view .LVU4604 3356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15600 .loc 1 3356 6 is_stmt 0 discriminator 5 view .LVU4605 15601 004a 8DB1 cbz r5, .L1205 3356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15602 .loc 1 3356 34 discriminator 1 view .LVU4606 15603 004c 042D cmp r5, #4 15604 004e 16D0 beq .L1212 3363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 15605 .loc 1 3363 5 is_stmt 1 view .LVU4607 15606 0050 0123 movs r3, #1 15607 0052 84F83E30 strb r3, [r4, #62] 3364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 15608 .loc 1 3364 5 view .LVU4608 15609 0056 84F83F30 strb r3, [r4, #63] 3365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 15610 .loc 1 3365 5 view .LVU4609 15611 005a 84F84430 strb r3, [r4, #68] 3366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15612 .loc 1 3366 5 view .LVU4610 15613 005e 84F84530 strb r3, [r4, #69] 15614 0062 0AE0 b .L1208 15615 .LVL1196: 15616 .L1201: 3340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15617 .loc 1 3340 7 view .LVU4611 15618 0064 0022 movs r2, #0 15619 0066 0421 movs r1, #4 15620 .LVL1197: 3340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15621 .loc 1 3340 7 is_stmt 0 view .LVU4612 15622 0068 0068 ldr r0, [r0] ARM GAS /tmp/cc0wMqvE.s page 485 15623 .LVL1198: 3340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15624 .loc 1 3340 7 view .LVU4613 15625 006a FFF7FEFF bl TIM_CCxChannelCmd 15626 .LVL1199: 3341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15627 .loc 1 3341 7 is_stmt 1 view .LVU4614 15628 006e DDE7 b .L1203 15629 .L1205: 3358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 15630 .loc 1 3358 5 discriminator 1 view .LVU4615 15631 0070 0123 movs r3, #1 15632 0072 84F83E30 strb r3, [r4, #62] 3359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15633 .loc 1 3359 5 discriminator 1 view .LVU4616 15634 0076 84F84430 strb r3, [r4, #68] 15635 .L1208: 3370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15636 .loc 1 3370 3 view .LVU4617 3371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15637 .loc 1 3371 1 is_stmt 0 view .LVU4618 15638 007a 0020 movs r0, #0 15639 007c 38BD pop {r3, r4, r5, pc} 15640 .LVL1200: 15641 .L1212: 3358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 15642 .loc 1 3358 5 is_stmt 1 view .LVU4619 15643 007e 0123 movs r3, #1 15644 0080 84F83F30 strb r3, [r4, #63] 3359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15645 .loc 1 3359 5 view .LVU4620 15646 0084 84F84530 strb r3, [r4, #69] 15647 0088 F7E7 b .L1208 15648 .cfi_endproc 15649 .LFE382: 15651 .section .text.HAL_TIM_Encoder_Start_IT,"ax",%progbits 15652 .align 1 15653 .global HAL_TIM_Encoder_Start_IT 15654 .syntax unified 15655 .thumb 15656 .thumb_func 15658 HAL_TIM_Encoder_Start_IT: 15659 .LVL1201: 15660 .LFB383: 3384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 15661 .loc 1 3384 1 view -0 15662 .cfi_startproc 15663 @ args = 0, pretend = 0, frame = 0 15664 @ frame_needed = 0, uses_anonymous_args = 0 3384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 15665 .loc 1 3384 1 is_stmt 0 view .LVU4622 15666 0000 38B5 push {r3, r4, r5, lr} 15667 .LCFI109: 15668 .cfi_def_cfa_offset 16 15669 .cfi_offset 3, -16 15670 .cfi_offset 4, -12 15671 .cfi_offset 5, -8 ARM GAS /tmp/cc0wMqvE.s page 486 15672 .cfi_offset 14, -4 15673 0002 0446 mov r4, r0 3385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 15674 .loc 1 3385 3 is_stmt 1 view .LVU4623 3385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 15675 .loc 1 3385 31 is_stmt 0 view .LVU4624 15676 0004 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 15677 .LVL1202: 3385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 15678 .loc 1 3385 31 view .LVU4625 15679 0008 C0B2 uxtb r0, r0 15680 .LVL1203: 3386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 15681 .loc 1 3386 3 is_stmt 1 view .LVU4626 3386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 15682 .loc 1 3386 31 is_stmt 0 view .LVU4627 15683 000a 94F83F30 ldrb r3, [r4, #63] @ zero_extendqisi2 15684 .LVL1204: 3387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 15685 .loc 1 3387 3 is_stmt 1 view .LVU4628 3387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 15686 .loc 1 3387 31 is_stmt 0 view .LVU4629 15687 000e 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2 15688 0012 D2B2 uxtb r2, r2 15689 .LVL1205: 3388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15690 .loc 1 3388 3 is_stmt 1 view .LVU4630 3388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15691 .loc 1 3388 31 is_stmt 0 view .LVU4631 15692 0014 94F845C0 ldrb ip, [r4, #69] @ zero_extendqisi2 15693 .LVL1206: 3391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15694 .loc 1 3391 3 is_stmt 1 view .LVU4632 3394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15695 .loc 1 3394 3 view .LVU4633 3394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15696 .loc 1 3394 6 is_stmt 0 view .LVU4634 15697 0018 0D46 mov r5, r1 15698 001a 09BB cbnz r1, .L1214 3396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)) 15699 .loc 1 3396 5 is_stmt 1 view .LVU4635 3396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)) 15700 .loc 1 3396 8 is_stmt 0 view .LVU4636 15701 001c 0128 cmp r0, #1 15702 001e 5ED1 bne .L1222 3397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15703 .loc 1 3397 9 view .LVU4637 15704 0020 012A cmp r2, #1 15705 0022 5DD1 bne .L1215 3403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 15706 .loc 1 3403 7 is_stmt 1 view .LVU4638 15707 0024 0223 movs r3, #2 15708 .LVL1207: 3403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 15709 .loc 1 3403 7 is_stmt 0 view .LVU4639 15710 0026 84F83E30 strb r3, [r4, #62] 3404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 487 15711 .loc 1 3404 7 is_stmt 1 view .LVU4640 15712 002a 84F84430 strb r3, [r4, #68] 15713 .LVL1208: 15714 .L1216: 3440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15715 .loc 1 3440 3 view .LVU4641 15716 002e 002D cmp r5, #0 15717 0030 39D0 beq .L1218 15718 0032 042D cmp r5, #4 15719 0034 48D0 beq .L1219 3458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15720 .loc 1 3458 7 view .LVU4642 15721 0036 0122 movs r2, #1 15722 .LVL1209: 3458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15723 .loc 1 3458 7 is_stmt 0 view .LVU4643 15724 0038 0021 movs r1, #0 15725 .LVL1210: 3458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15726 .loc 1 3458 7 view .LVU4644 15727 003a 2068 ldr r0, [r4] 15728 .LVL1211: 3458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15729 .loc 1 3458 7 view .LVU4645 15730 003c FFF7FEFF bl TIM_CCxChannelCmd 15731 .LVL1212: 3459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 15732 .loc 1 3459 7 is_stmt 1 view .LVU4646 15733 0040 0122 movs r2, #1 15734 0042 0421 movs r1, #4 15735 0044 2068 ldr r0, [r4] 15736 0046 FFF7FEFF bl TIM_CCxChannelCmd 15737 .LVL1213: 3460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 15738 .loc 1 3460 7 view .LVU4647 15739 004a 2268 ldr r2, [r4] 15740 004c D368 ldr r3, [r2, #12] 15741 004e 43F00203 orr r3, r3, #2 15742 0052 D360 str r3, [r2, #12] 3461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15743 .loc 1 3461 7 view .LVU4648 15744 0054 2268 ldr r2, [r4] 15745 0056 D368 ldr r3, [r2, #12] 15746 0058 43F00403 orr r3, r3, #4 15747 005c D360 str r3, [r2, #12] 3462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15748 .loc 1 3462 7 view .LVU4649 15749 005e 2CE0 b .L1221 15750 .LVL1214: 15751 .L1214: 3462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15752 .loc 1 3462 7 is_stmt 0 view .LVU4650 15753 0060 DBB2 uxtb r3, r3 3462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15754 .loc 1 3462 7 view .LVU4651 15755 0062 5FFA8CFC uxtb ip, ip 3407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/cc0wMqvE.s page 488 15756 .loc 1 3407 8 is_stmt 1 view .LVU4652 3407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15757 .loc 1 3407 11 is_stmt 0 view .LVU4653 15758 0066 0429 cmp r1, #4 15759 0068 12D0 beq .L1230 3422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 15760 .loc 1 3422 5 is_stmt 1 view .LVU4654 3422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 15761 .loc 1 3422 8 is_stmt 0 view .LVU4655 15762 006a 0128 cmp r0, #1 15763 006c 3DD1 bne .L1225 3423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 15764 .loc 1 3423 9 view .LVU4656 15765 006e 012B cmp r3, #1 15766 0070 36D1 bne .L1215 3424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 15767 .loc 1 3424 9 view .LVU4657 15768 0072 012A cmp r2, #1 15769 0074 3BD1 bne .L1226 3425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15770 .loc 1 3425 9 view .LVU4658 15771 0076 BCF1010F cmp ip, #1 15772 007a 3AD1 bne .L1227 3431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15773 .loc 1 3431 7 is_stmt 1 view .LVU4659 15774 007c 0223 movs r3, #2 15775 .LVL1215: 3431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15776 .loc 1 3431 7 is_stmt 0 view .LVU4660 15777 007e 84F83E30 strb r3, [r4, #62] 3432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 15778 .loc 1 3432 7 is_stmt 1 view .LVU4661 15779 0082 84F83F30 strb r3, [r4, #63] 3433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15780 .loc 1 3433 7 view .LVU4662 15781 0086 84F84430 strb r3, [r4, #68] 3434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15782 .loc 1 3434 7 view .LVU4663 15783 008a 84F84530 strb r3, [r4, #69] 15784 008e CEE7 b .L1216 15785 .LVL1216: 15786 .L1230: 3409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 15787 .loc 1 3409 5 view .LVU4664 3409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 15788 .loc 1 3409 8 is_stmt 0 view .LVU4665 15789 0090 012B cmp r3, #1 15790 0092 26D1 bne .L1223 3410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15791 .loc 1 3410 9 view .LVU4666 15792 0094 BCF1010F cmp ip, #1 15793 0098 25D1 bne .L1224 3416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15794 .loc 1 3416 7 is_stmt 1 view .LVU4667 15795 009a 0223 movs r3, #2 15796 .LVL1217: 3416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); ARM GAS /tmp/cc0wMqvE.s page 489 15797 .loc 1 3416 7 is_stmt 0 view .LVU4668 15798 009c 84F83F30 strb r3, [r4, #63] 3417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15799 .loc 1 3417 7 is_stmt 1 view .LVU4669 15800 00a0 84F84530 strb r3, [r4, #69] 15801 00a4 C3E7 b .L1216 15802 .LVL1218: 15803 .L1218: 3444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 15804 .loc 1 3444 7 view .LVU4670 15805 00a6 0122 movs r2, #1 15806 .LVL1219: 3444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 15807 .loc 1 3444 7 is_stmt 0 view .LVU4671 15808 00a8 0021 movs r1, #0 15809 .LVL1220: 3444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 15810 .loc 1 3444 7 view .LVU4672 15811 00aa 2068 ldr r0, [r4] 15812 .LVL1221: 3444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 15813 .loc 1 3444 7 view .LVU4673 15814 00ac FFF7FEFF bl TIM_CCxChannelCmd 15815 .LVL1222: 3445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15816 .loc 1 3445 7 is_stmt 1 view .LVU4674 15817 00b0 2268 ldr r2, [r4] 15818 00b2 D368 ldr r3, [r2, #12] 15819 00b4 43F00203 orr r3, r3, #2 15820 00b8 D360 str r3, [r2, #12] 3446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15821 .loc 1 3446 7 view .LVU4675 15822 .L1221: 3467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15823 .loc 1 3467 3 view .LVU4676 15824 00ba 2268 ldr r2, [r4] 15825 00bc 1368 ldr r3, [r2] 15826 00be 43F00103 orr r3, r3, #1 15827 00c2 1360 str r3, [r2] 3470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15828 .loc 1 3470 3 view .LVU4677 3470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15829 .loc 1 3470 10 is_stmt 0 view .LVU4678 15830 00c4 0020 movs r0, #0 15831 00c6 0BE0 b .L1215 15832 .LVL1223: 15833 .L1219: 3451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 15834 .loc 1 3451 7 is_stmt 1 view .LVU4679 15835 00c8 0122 movs r2, #1 15836 .LVL1224: 3451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 15837 .loc 1 3451 7 is_stmt 0 view .LVU4680 15838 00ca 0421 movs r1, #4 15839 .LVL1225: 3451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 15840 .loc 1 3451 7 view .LVU4681 ARM GAS /tmp/cc0wMqvE.s page 490 15841 00cc 2068 ldr r0, [r4] 15842 .LVL1226: 3451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 15843 .loc 1 3451 7 view .LVU4682 15844 00ce FFF7FEFF bl TIM_CCxChannelCmd 15845 .LVL1227: 3452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15846 .loc 1 3452 7 is_stmt 1 view .LVU4683 15847 00d2 2268 ldr r2, [r4] 15848 00d4 D368 ldr r3, [r2, #12] 15849 00d6 43F00403 orr r3, r3, #4 15850 00da D360 str r3, [r2, #12] 3453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15851 .loc 1 3453 7 view .LVU4684 15852 00dc EDE7 b .L1221 15853 .LVL1228: 15854 .L1222: 3399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15855 .loc 1 3399 14 is_stmt 0 view .LVU4685 15856 00de 0120 movs r0, #1 15857 .LVL1229: 15858 .L1215: 3471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15859 .loc 1 3471 1 view .LVU4686 15860 00e0 38BD pop {r3, r4, r5, pc} 15861 .LVL1230: 15862 .L1223: 3412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15863 .loc 1 3412 14 view .LVU4687 15864 00e2 0120 movs r0, #1 15865 .LVL1231: 3412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15866 .loc 1 3412 14 view .LVU4688 15867 00e4 FCE7 b .L1215 15868 .LVL1232: 15869 .L1224: 3412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15870 .loc 1 3412 14 view .LVU4689 15871 00e6 1846 mov r0, r3 15872 .LVL1233: 3412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15873 .loc 1 3412 14 view .LVU4690 15874 00e8 FAE7 b .L1215 15875 .LVL1234: 15876 .L1225: 3427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15877 .loc 1 3427 14 view .LVU4691 15878 00ea 0120 movs r0, #1 15879 .LVL1235: 3427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15880 .loc 1 3427 14 view .LVU4692 15881 00ec F8E7 b .L1215 15882 .LVL1236: 15883 .L1226: 3427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15884 .loc 1 3427 14 view .LVU4693 15885 00ee 1846 mov r0, r3 ARM GAS /tmp/cc0wMqvE.s page 491 15886 .LVL1237: 3427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15887 .loc 1 3427 14 view .LVU4694 15888 00f0 F6E7 b .L1215 15889 .LVL1238: 15890 .L1227: 3427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15891 .loc 1 3427 14 view .LVU4695 15892 00f2 1046 mov r0, r2 15893 .LVL1239: 3427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15894 .loc 1 3427 14 view .LVU4696 15895 00f4 F4E7 b .L1215 15896 .cfi_endproc 15897 .LFE383: 15899 .section .text.HAL_TIM_Encoder_Stop_IT,"ax",%progbits 15900 .align 1 15901 .global HAL_TIM_Encoder_Stop_IT 15902 .syntax unified 15903 .thumb 15904 .thumb_func 15906 HAL_TIM_Encoder_Stop_IT: 15907 .LVL1240: 15908 .LFB384: 3484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 15909 .loc 1 3484 1 is_stmt 1 view -0 15910 .cfi_startproc 15911 @ args = 0, pretend = 0, frame = 0 15912 @ frame_needed = 0, uses_anonymous_args = 0 3484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 15913 .loc 1 3484 1 is_stmt 0 view .LVU4698 15914 0000 38B5 push {r3, r4, r5, lr} 15915 .LCFI110: 15916 .cfi_def_cfa_offset 16 15917 .cfi_offset 3, -16 15918 .cfi_offset 4, -12 15919 .cfi_offset 5, -8 15920 .cfi_offset 14, -4 15921 0002 0446 mov r4, r0 3486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15922 .loc 1 3486 3 is_stmt 1 view .LVU4699 3490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15923 .loc 1 3490 3 view .LVU4700 3490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15924 .loc 1 3490 6 is_stmt 0 view .LVU4701 15925 0004 0D46 mov r5, r1 15926 0006 0029 cmp r1, #0 15927 0008 31D0 beq .L1242 3497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15928 .loc 1 3497 8 is_stmt 1 view .LVU4702 3497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15929 .loc 1 3497 11 is_stmt 0 view .LVU4703 15930 000a 0429 cmp r1, #4 15931 000c 3AD0 beq .L1243 3506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15932 .loc 1 3506 5 is_stmt 1 view .LVU4704 15933 000e 0022 movs r2, #0 ARM GAS /tmp/cc0wMqvE.s page 492 15934 0010 1146 mov r1, r2 15935 .LVL1241: 3506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15936 .loc 1 3506 5 is_stmt 0 view .LVU4705 15937 0012 0068 ldr r0, [r0] 15938 .LVL1242: 3506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15939 .loc 1 3506 5 view .LVU4706 15940 0014 FFF7FEFF bl TIM_CCxChannelCmd 15941 .LVL1243: 3507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15942 .loc 1 3507 5 is_stmt 1 view .LVU4707 15943 0018 0022 movs r2, #0 15944 001a 0421 movs r1, #4 15945 001c 2068 ldr r0, [r4] 15946 001e FFF7FEFF bl TIM_CCxChannelCmd 15947 .LVL1244: 3510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2); 15948 .loc 1 3510 5 view .LVU4708 15949 0022 2268 ldr r2, [r4] 15950 0024 D368 ldr r3, [r2, #12] 15951 0026 23F00203 bic r3, r3, #2 15952 002a D360 str r3, [r2, #12] 3511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15953 .loc 1 3511 5 view .LVU4709 15954 002c 2268 ldr r2, [r4] 15955 002e D368 ldr r3, [r2, #12] 15956 0030 23F00403 bic r3, r3, #4 15957 0034 D360 str r3, [r2, #12] 15958 .L1233: 3515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15959 .loc 1 3515 3 view .LVU4710 3515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15960 .loc 1 3515 3 view .LVU4711 15961 0036 2368 ldr r3, [r4] 15962 0038 196A ldr r1, [r3, #32] 15963 003a 41F21112 movw r2, #4369 15964 003e 1142 tst r1, r2 15965 0040 08D1 bne .L1235 3515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15966 .loc 1 3515 3 discriminator 1 view .LVU4712 15967 0042 196A ldr r1, [r3, #32] 15968 0044 44F24442 movw r2, #17476 15969 0048 1142 tst r1, r2 15970 004a 03D1 bne .L1235 3515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15971 .loc 1 3515 3 discriminator 3 view .LVU4713 15972 004c 1A68 ldr r2, [r3] 15973 004e 22F00102 bic r2, r2, #1 15974 0052 1A60 str r2, [r3] 15975 .L1235: 3515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15976 .loc 1 3515 3 discriminator 5 view .LVU4714 3518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15977 .loc 1 3518 3 discriminator 5 view .LVU4715 3518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15978 .loc 1 3518 6 is_stmt 0 discriminator 5 view .LVU4716 ARM GAS /tmp/cc0wMqvE.s page 493 15979 0054 0DB3 cbz r5, .L1236 3518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15980 .loc 1 3518 34 discriminator 1 view .LVU4717 15981 0056 042D cmp r5, #4 15982 0058 26D0 beq .L1244 3525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 15983 .loc 1 3525 5 is_stmt 1 view .LVU4718 15984 005a 0123 movs r3, #1 15985 005c 84F83E30 strb r3, [r4, #62] 3526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 15986 .loc 1 3526 5 view .LVU4719 15987 0060 84F83F30 strb r3, [r4, #63] 3527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 15988 .loc 1 3527 5 view .LVU4720 15989 0064 84F84430 strb r3, [r4, #68] 3528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15990 .loc 1 3528 5 view .LVU4721 15991 0068 84F84530 strb r3, [r4, #69] 15992 006c 1AE0 b .L1239 15993 .LVL1245: 15994 .L1242: 3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15995 .loc 1 3492 5 view .LVU4722 15996 006e 0022 movs r2, #0 15997 0070 1146 mov r1, r2 15998 .LVL1246: 3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15999 .loc 1 3492 5 is_stmt 0 view .LVU4723 16000 0072 0068 ldr r0, [r0] 16001 .LVL1247: 3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16002 .loc 1 3492 5 view .LVU4724 16003 0074 FFF7FEFF bl TIM_CCxChannelCmd 16004 .LVL1248: 3495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16005 .loc 1 3495 5 is_stmt 1 view .LVU4725 16006 0078 2268 ldr r2, [r4] 16007 007a D368 ldr r3, [r2, #12] 16008 007c 23F00203 bic r3, r3, #2 16009 0080 D360 str r3, [r2, #12] 16010 0082 D8E7 b .L1233 16011 .LVL1249: 16012 .L1243: 3499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16013 .loc 1 3499 5 view .LVU4726 16014 0084 0022 movs r2, #0 16015 0086 0421 movs r1, #4 16016 .LVL1250: 3499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16017 .loc 1 3499 5 is_stmt 0 view .LVU4727 16018 0088 0068 ldr r0, [r0] 16019 .LVL1251: 3499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16020 .loc 1 3499 5 view .LVU4728 16021 008a FFF7FEFF bl TIM_CCxChannelCmd 16022 .LVL1252: 3502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 494 16023 .loc 1 3502 5 is_stmt 1 view .LVU4729 16024 008e 2268 ldr r2, [r4] 16025 0090 D368 ldr r3, [r2, #12] 16026 0092 23F00403 bic r3, r3, #4 16027 0096 D360 str r3, [r2, #12] 16028 0098 CDE7 b .L1233 16029 .L1236: 3520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 16030 .loc 1 3520 5 discriminator 1 view .LVU4730 16031 009a 0123 movs r3, #1 16032 009c 84F83E30 strb r3, [r4, #62] 3521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16033 .loc 1 3521 5 discriminator 1 view .LVU4731 16034 00a0 84F84430 strb r3, [r4, #68] 16035 .L1239: 3532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16036 .loc 1 3532 3 view .LVU4732 3533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16037 .loc 1 3533 1 is_stmt 0 view .LVU4733 16038 00a4 0020 movs r0, #0 16039 00a6 38BD pop {r3, r4, r5, pc} 16040 .LVL1253: 16041 .L1244: 3520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 16042 .loc 1 3520 5 is_stmt 1 view .LVU4734 16043 00a8 0123 movs r3, #1 16044 00aa 84F83F30 strb r3, [r4, #63] 3521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16045 .loc 1 3521 5 view .LVU4735 16046 00ae 84F84530 strb r3, [r4, #69] 16047 00b2 F7E7 b .L1239 16048 .cfi_endproc 16049 .LFE384: 16051 .section .text.HAL_TIM_Encoder_Start_DMA,"ax",%progbits 16052 .align 1 16053 .global HAL_TIM_Encoder_Start_DMA 16054 .syntax unified 16055 .thumb 16056 .thumb_func 16058 HAL_TIM_Encoder_Start_DMA: 16059 .LVL1254: 16060 .LFB385: 3550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 16061 .loc 1 3550 1 view -0 16062 .cfi_startproc 16063 @ args = 4, pretend = 0, frame = 0 16064 @ frame_needed = 0, uses_anonymous_args = 0 3550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 16065 .loc 1 3550 1 is_stmt 0 view .LVU4737 16066 0000 F8B5 push {r3, r4, r5, r6, r7, lr} 16067 .LCFI111: 16068 .cfi_def_cfa_offset 24 16069 .cfi_offset 3, -24 16070 .cfi_offset 4, -20 16071 .cfi_offset 5, -16 16072 .cfi_offset 6, -12 16073 .cfi_offset 7, -8 ARM GAS /tmp/cc0wMqvE.s page 495 16074 .cfi_offset 14, -4 16075 0002 0446 mov r4, r0 16076 0004 1E46 mov r6, r3 16077 0006 BDF81870 ldrh r7, [sp, #24] 3551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 16078 .loc 1 3551 3 is_stmt 1 view .LVU4738 3551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 16079 .loc 1 3551 31 is_stmt 0 view .LVU4739 16080 000a 90F83E50 ldrb r5, [r0, #62] @ zero_extendqisi2 16081 000e EDB2 uxtb r5, r5 16082 .LVL1255: 3552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 16083 .loc 1 3552 3 is_stmt 1 view .LVU4740 3552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 16084 .loc 1 3552 31 is_stmt 0 view .LVU4741 16085 0010 90F83F00 ldrb r0, [r0, #63] @ zero_extendqisi2 16086 .LVL1256: 3552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 16087 .loc 1 3552 31 view .LVU4742 16088 0014 5FFA80FC uxtb ip, r0 16089 .LVL1257: 3553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 16090 .loc 1 3553 3 is_stmt 1 view .LVU4743 3553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 16091 .loc 1 3553 31 is_stmt 0 view .LVU4744 16092 0018 94F84400 ldrb r0, [r4, #68] @ zero_extendqisi2 16093 001c C0B2 uxtb r0, r0 16094 .LVL1258: 3554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16095 .loc 1 3554 3 is_stmt 1 view .LVU4745 3554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16096 .loc 1 3554 31 is_stmt 0 view .LVU4746 16097 001e 94F84530 ldrb r3, [r4, #69] @ zero_extendqisi2 16098 .LVL1259: 3557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16099 .loc 1 3557 3 is_stmt 1 view .LVU4747 3560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16100 .loc 1 3560 3 view .LVU4748 3560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16101 .loc 1 3560 6 is_stmt 0 view .LVU4749 16102 0022 8E46 mov lr, r1 16103 0024 81BB cbnz r1, .L1246 3562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY)) 16104 .loc 1 3562 5 is_stmt 1 view .LVU4750 3562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY)) 16105 .loc 1 3562 8 is_stmt 0 view .LVU4751 16106 0026 022D cmp r5, #2 16107 0028 00F0EC80 beq .L1247 3563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16108 .loc 1 3563 9 view .LVU4752 16109 002c 0228 cmp r0, #2 16110 002e 00F0E680 beq .L1257 3567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY)) 16111 .loc 1 3567 10 is_stmt 1 view .LVU4753 3567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY)) 16112 .loc 1 3567 13 is_stmt 0 view .LVU4754 16113 0032 012D cmp r5, #1 ARM GAS /tmp/cc0wMqvE.s page 496 16114 0034 40F0E580 bne .L1258 3568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16115 .loc 1 3568 14 view .LVU4755 16116 0038 0128 cmp r0, #1 16117 003a 40F0E380 bne .L1247 3570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16118 .loc 1 3570 7 is_stmt 1 view .LVU4756 3570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16119 .loc 1 3570 10 is_stmt 0 view .LVU4757 16120 003e FAB1 cbz r2, .L1278 16121 .L1248: 3576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 16122 .loc 1 3576 9 is_stmt 1 view .LVU4758 16123 0040 0223 movs r3, #2 16124 .LVL1260: 3576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 16125 .loc 1 3576 9 is_stmt 0 view .LVU4759 16126 0042 84F83E30 strb r3, [r4, #62] 3577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16127 .loc 1 3577 9 is_stmt 1 view .LVU4760 16128 0046 84F84430 strb r3, [r4, #68] 16129 .L1249: 3642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16130 .loc 1 3642 3 view .LVU4761 16131 004a BEF1000F cmp lr, #0 16132 004e 61D0 beq .L1254 16133 0050 BEF1040F cmp lr, #4 16134 0054 00F08180 beq .L1255 3702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16135 .loc 1 3702 7 view .LVU4762 3702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16136 .loc 1 3702 17 is_stmt 0 view .LVU4763 16137 0058 636A ldr r3, [r4, #36] 3702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16138 .loc 1 3702 52 view .LVU4764 16139 005a 7549 ldr r1, .L1285 16140 .LVL1261: 3702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16141 .loc 1 3702 52 view .LVU4765 16142 005c D962 str r1, [r3, #44] 3703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16143 .loc 1 3703 7 is_stmt 1 view .LVU4766 3703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16144 .loc 1 3703 17 is_stmt 0 view .LVU4767 16145 005e 636A ldr r3, [r4, #36] 3703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16146 .loc 1 3703 56 view .LVU4768 16147 0060 7449 ldr r1, .L1285+4 16148 0062 1963 str r1, [r3, #48] 3706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16149 .loc 1 3706 7 is_stmt 1 view .LVU4769 3706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16150 .loc 1 3706 17 is_stmt 0 view .LVU4770 16151 0064 636A ldr r3, [r4, #36] 3706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16152 .loc 1 3706 53 view .LVU4771 16153 0066 7449 ldr r1, .L1285+8 ARM GAS /tmp/cc0wMqvE.s page 497 16154 0068 5963 str r1, [r3, #52] 3709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16155 .loc 1 3709 7 is_stmt 1 view .LVU4772 3709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16156 .loc 1 3709 71 is_stmt 0 view .LVU4773 16157 006a 2168 ldr r1, [r4] 3709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16158 .loc 1 3709 11 view .LVU4774 16159 006c 3B46 mov r3, r7 16160 006e 3431 adds r1, r1, #52 16161 0070 606A ldr r0, [r4, #36] 16162 .LVL1262: 3709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16163 .loc 1 3709 11 view .LVU4775 16164 0072 FFF7FEFF bl HAL_DMA_Start_IT 16165 .LVL1263: 3709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16166 .loc 1 3709 10 view .LVU4776 16167 0076 0028 cmp r0, #0 16168 0078 00F09380 beq .L1279 3713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16169 .loc 1 3713 16 view .LVU4777 16170 007c 0125 movs r5, #1 16171 .LVL1264: 3713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16172 .loc 1 3713 16 view .LVU4778 16173 007e C1E0 b .L1247 16174 .LVL1265: 16175 .L1278: 3570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16176 .loc 1 3570 28 discriminator 1 view .LVU4779 16177 0080 002F cmp r7, #0 16178 0082 DDD0 beq .L1248 3572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16179 .loc 1 3572 16 view .LVU4780 16180 0084 0546 mov r5, r0 16181 .LVL1266: 3572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16182 .loc 1 3572 16 view .LVU4781 16183 0086 BDE0 b .L1247 16184 .LVL1267: 16185 .L1246: 3572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16186 .loc 1 3572 16 view .LVU4782 16187 0088 DBB2 uxtb r3, r3 3585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16188 .loc 1 3585 8 is_stmt 1 view .LVU4783 3585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16189 .loc 1 3585 11 is_stmt 0 view .LVU4784 16190 008a 0429 cmp r1, #4 16191 008c 25D0 beq .L1280 3612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY) 16192 .loc 1 3612 5 is_stmt 1 view .LVU4785 3612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY) 16193 .loc 1 3612 8 is_stmt 0 view .LVU4786 16194 008e 022D cmp r5, #2 16195 0090 00F0B880 beq .L1247 ARM GAS /tmp/cc0wMqvE.s page 498 3613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY) 16196 .loc 1 3613 9 view .LVU4787 16197 0094 BCF1020F cmp ip, #2 16198 0098 00F0BE80 beq .L1265 3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY)) 16199 .loc 1 3614 9 view .LVU4788 16200 009c 0228 cmp r0, #2 16201 009e 00F0BD80 beq .L1266 3615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16202 .loc 1 3615 9 view .LVU4789 16203 00a2 022B cmp r3, #2 16204 00a4 00F0BC80 beq .L1267 3619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (channel_2_state == HAL_TIM_CHANNEL_STATE_READY) 16205 .loc 1 3619 10 is_stmt 1 view .LVU4790 3619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (channel_2_state == HAL_TIM_CHANNEL_STATE_READY) 16206 .loc 1 3619 13 is_stmt 0 view .LVU4791 16207 00a8 012D cmp r5, #1 16208 00aa 40F0BB80 bne .L1268 3620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY) 16209 .loc 1 3620 14 view .LVU4792 16210 00ae BCF1010F cmp ip, #1 16211 00b2 40F0A780 bne .L1247 3621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_READY)) 16212 .loc 1 3621 14 view .LVU4793 16213 00b6 0128 cmp r0, #1 16214 00b8 40F0B680 bne .L1269 3622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16215 .loc 1 3622 14 view .LVU4794 16216 00bc 012B cmp r3, #1 16217 00be 40F0B580 bne .L1270 3624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16218 .loc 1 3624 7 is_stmt 1 view .LVU4795 3624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16219 .loc 1 3624 10 is_stmt 0 view .LVU4796 16220 00c2 1AB3 cbz r2, .L1252 3624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16221 .loc 1 3624 30 discriminator 2 view .LVU4797 16222 00c4 16B3 cbz r6, .L1252 16223 .L1253: 3630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 16224 .loc 1 3630 9 is_stmt 1 view .LVU4798 16225 00c6 0223 movs r3, #2 16226 .LVL1268: 3630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 16227 .loc 1 3630 9 is_stmt 0 view .LVU4799 16228 00c8 84F83E30 strb r3, [r4, #62] 3631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 16229 .loc 1 3631 9 is_stmt 1 view .LVU4800 16230 00cc 84F83F30 strb r3, [r4, #63] 3632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 16231 .loc 1 3632 9 view .LVU4801 16232 00d0 84F84430 strb r3, [r4, #68] 3633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16233 .loc 1 3633 9 view .LVU4802 16234 00d4 84F84530 strb r3, [r4, #69] 3624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16235 .loc 1 3624 10 is_stmt 0 view .LVU4803 ARM GAS /tmp/cc0wMqvE.s page 499 16236 00d8 B7E7 b .L1249 16237 .LVL1269: 16238 .L1280: 3587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY)) 16239 .loc 1 3587 5 is_stmt 1 view .LVU4804 3587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY)) 16240 .loc 1 3587 8 is_stmt 0 view .LVU4805 16241 00da BCF1020F cmp ip, #2 16242 00de 00F09380 beq .L1260 3588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16243 .loc 1 3588 9 view .LVU4806 16244 00e2 022B cmp r3, #2 16245 00e4 00F09280 beq .L1261 3592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_READY)) 16246 .loc 1 3592 10 is_stmt 1 view .LVU4807 3592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_READY)) 16247 .loc 1 3592 13 is_stmt 0 view .LVU4808 16248 00e8 BCF1010F cmp ip, #1 16249 00ec 40F09080 bne .L1262 3593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16250 .loc 1 3593 14 view .LVU4809 16251 00f0 012B cmp r3, #1 16252 00f2 40F08F80 bne .L1263 3595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16253 .loc 1 3595 7 is_stmt 1 view .LVU4810 3595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16254 .loc 1 3595 10 is_stmt 0 view .LVU4811 16255 00f6 2EB1 cbz r6, .L1281 16256 .L1251: 3601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 16257 .loc 1 3601 9 is_stmt 1 view .LVU4812 16258 00f8 0223 movs r3, #2 16259 .LVL1270: 3601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 16260 .loc 1 3601 9 is_stmt 0 view .LVU4813 16261 00fa 84F83F30 strb r3, [r4, #63] 3602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16262 .loc 1 3602 9 is_stmt 1 view .LVU4814 16263 00fe 84F84530 strb r3, [r4, #69] 16264 0102 A2E7 b .L1249 16265 .LVL1271: 16266 .L1281: 3595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16267 .loc 1 3595 28 is_stmt 0 discriminator 1 view .LVU4815 16268 0104 002F cmp r7, #0 16269 0106 F7D0 beq .L1251 3597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16270 .loc 1 3597 16 view .LVU4816 16271 0108 1D46 mov r5, r3 16272 .LVL1272: 3597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16273 .loc 1 3597 16 view .LVU4817 16274 010a 7BE0 b .L1247 16275 .LVL1273: 16276 .L1252: 3624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16277 .loc 1 3624 52 discriminator 3 view .LVU4818 ARM GAS /tmp/cc0wMqvE.s page 500 16278 010c 002F cmp r7, #0 16279 010e DAD0 beq .L1253 3626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16280 .loc 1 3626 16 view .LVU4819 16281 0110 1D46 mov r5, r3 16282 .LVL1274: 3626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16283 .loc 1 3626 16 view .LVU4820 16284 0112 77E0 b .L1247 16285 .LVL1275: 16286 .L1254: 3647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16287 .loc 1 3647 7 is_stmt 1 view .LVU4821 3647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16288 .loc 1 3647 17 is_stmt 0 view .LVU4822 16289 0114 636A ldr r3, [r4, #36] 3647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16290 .loc 1 3647 52 view .LVU4823 16291 0116 4649 ldr r1, .L1285 16292 .LVL1276: 3647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16293 .loc 1 3647 52 view .LVU4824 16294 0118 D962 str r1, [r3, #44] 3648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16295 .loc 1 3648 7 is_stmt 1 view .LVU4825 3648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16296 .loc 1 3648 17 is_stmt 0 view .LVU4826 16297 011a 636A ldr r3, [r4, #36] 3648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16298 .loc 1 3648 56 view .LVU4827 16299 011c 4549 ldr r1, .L1285+4 16300 011e 1963 str r1, [r3, #48] 3651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16301 .loc 1 3651 7 is_stmt 1 view .LVU4828 3651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16302 .loc 1 3651 17 is_stmt 0 view .LVU4829 16303 0120 636A ldr r3, [r4, #36] 3651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16304 .loc 1 3651 53 view .LVU4830 16305 0122 4549 ldr r1, .L1285+8 16306 0124 5963 str r1, [r3, #52] 3654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16307 .loc 1 3654 7 is_stmt 1 view .LVU4831 3654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16308 .loc 1 3654 71 is_stmt 0 view .LVU4832 16309 0126 2168 ldr r1, [r4] 3654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16310 .loc 1 3654 11 view .LVU4833 16311 0128 3B46 mov r3, r7 16312 012a 3431 adds r1, r1, #52 16313 012c 606A ldr r0, [r4, #36] 16314 .LVL1277: 3654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16315 .loc 1 3654 11 view .LVU4834 16316 012e FFF7FEFF bl HAL_DMA_Start_IT 16317 .LVL1278: 3654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) ARM GAS /tmp/cc0wMqvE.s page 501 16318 .loc 1 3654 10 view .LVU4835 16319 0132 0546 mov r5, r0 16320 .LVL1279: 3654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16321 .loc 1 3654 10 view .LVU4836 16322 0134 08B1 cbz r0, .L1282 3658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16323 .loc 1 3658 16 view .LVU4837 16324 0136 0125 movs r5, #1 16325 0138 64E0 b .L1247 16326 .L1282: 3661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16327 .loc 1 3661 7 is_stmt 1 view .LVU4838 16328 013a 2268 ldr r2, [r4] 16329 013c D368 ldr r3, [r2, #12] 16330 013e 43F40073 orr r3, r3, #512 16331 0142 D360 str r3, [r2, #12] 3664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16332 .loc 1 3664 7 view .LVU4839 16333 0144 0122 movs r2, #1 16334 0146 0021 movs r1, #0 16335 0148 2068 ldr r0, [r4] 16336 014a FFF7FEFF bl TIM_CCxChannelCmd 16337 .LVL1280: 3667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16338 .loc 1 3667 7 view .LVU4840 16339 014e 2268 ldr r2, [r4] 16340 0150 1368 ldr r3, [r2] 16341 0152 43F00103 orr r3, r3, #1 16342 0156 1360 str r3, [r2] 3669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16343 .loc 1 3669 7 view .LVU4841 16344 0158 54E0 b .L1247 16345 .LVL1281: 16346 .L1255: 3675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16347 .loc 1 3675 7 view .LVU4842 3675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16348 .loc 1 3675 17 is_stmt 0 view .LVU4843 16349 015a A36A ldr r3, [r4, #40] 3675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16350 .loc 1 3675 52 view .LVU4844 16351 015c 344A ldr r2, .L1285 16352 .LVL1282: 3675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16353 .loc 1 3675 52 view .LVU4845 16354 015e DA62 str r2, [r3, #44] 3676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16355 .loc 1 3676 7 is_stmt 1 view .LVU4846 3676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16356 .loc 1 3676 17 is_stmt 0 view .LVU4847 16357 0160 A36A ldr r3, [r4, #40] 3676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16358 .loc 1 3676 56 view .LVU4848 16359 0162 344A ldr r2, .L1285+4 16360 0164 1A63 str r2, [r3, #48] 3679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ ARM GAS /tmp/cc0wMqvE.s page 502 16361 .loc 1 3679 7 is_stmt 1 view .LVU4849 3679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 16362 .loc 1 3679 17 is_stmt 0 view .LVU4850 16363 0166 A36A ldr r3, [r4, #40] 3679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 16364 .loc 1 3679 53 view .LVU4851 16365 0168 334A ldr r2, .L1285+8 16366 016a 5A63 str r2, [r3, #52] 3681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16367 .loc 1 3681 7 is_stmt 1 view .LVU4852 3681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16368 .loc 1 3681 71 is_stmt 0 view .LVU4853 16369 016c 2168 ldr r1, [r4] 16370 .LVL1283: 3681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16371 .loc 1 3681 11 view .LVU4854 16372 016e 3B46 mov r3, r7 16373 0170 3246 mov r2, r6 16374 0172 3831 adds r1, r1, #56 16375 0174 A06A ldr r0, [r4, #40] 16376 .LVL1284: 3681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16377 .loc 1 3681 11 view .LVU4855 16378 0176 FFF7FEFF bl HAL_DMA_Start_IT 16379 .LVL1285: 3681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16380 .loc 1 3681 10 view .LVU4856 16381 017a 0546 mov r5, r0 16382 .LVL1286: 3681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16383 .loc 1 3681 10 view .LVU4857 16384 017c 08B1 cbz r0, .L1283 3685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16385 .loc 1 3685 16 view .LVU4858 16386 017e 0125 movs r5, #1 16387 0180 40E0 b .L1247 16388 .L1283: 3688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16389 .loc 1 3688 7 is_stmt 1 view .LVU4859 16390 0182 2268 ldr r2, [r4] 16391 0184 D368 ldr r3, [r2, #12] 16392 0186 43F48063 orr r3, r3, #1024 16393 018a D360 str r3, [r2, #12] 3691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16394 .loc 1 3691 7 view .LVU4860 16395 018c 0122 movs r2, #1 16396 018e 0421 movs r1, #4 16397 0190 2068 ldr r0, [r4] 16398 0192 FFF7FEFF bl TIM_CCxChannelCmd 16399 .LVL1287: 3694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16400 .loc 1 3694 7 view .LVU4861 16401 0196 2268 ldr r2, [r4] 16402 0198 1368 ldr r3, [r2] 16403 019a 43F00103 orr r3, r3, #1 16404 019e 1360 str r3, [r2] 3696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 503 16405 .loc 1 3696 7 view .LVU4862 16406 01a0 30E0 b .L1247 16407 .LVL1288: 16408 .L1279: 3717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16409 .loc 1 3717 7 view .LVU4863 3717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16410 .loc 1 3717 17 is_stmt 0 view .LVU4864 16411 01a2 A36A ldr r3, [r4, #40] 3717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16412 .loc 1 3717 52 view .LVU4865 16413 01a4 224A ldr r2, .L1285 16414 01a6 DA62 str r2, [r3, #44] 3718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16415 .loc 1 3718 7 is_stmt 1 view .LVU4866 3718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16416 .loc 1 3718 17 is_stmt 0 view .LVU4867 16417 01a8 A36A ldr r3, [r4, #40] 3718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16418 .loc 1 3718 56 view .LVU4868 16419 01aa 224A ldr r2, .L1285+4 16420 01ac 1A63 str r2, [r3, #48] 3721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16421 .loc 1 3721 7 is_stmt 1 view .LVU4869 3721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16422 .loc 1 3721 17 is_stmt 0 view .LVU4870 16423 01ae A36A ldr r3, [r4, #40] 3721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16424 .loc 1 3721 53 view .LVU4871 16425 01b0 214A ldr r2, .L1285+8 16426 01b2 5A63 str r2, [r3, #52] 3724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16427 .loc 1 3724 7 is_stmt 1 view .LVU4872 3724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16428 .loc 1 3724 71 is_stmt 0 view .LVU4873 16429 01b4 2168 ldr r1, [r4] 3724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16430 .loc 1 3724 11 view .LVU4874 16431 01b6 3B46 mov r3, r7 16432 01b8 3246 mov r2, r6 16433 01ba 3831 adds r1, r1, #56 16434 01bc A06A ldr r0, [r4, #40] 16435 01be FFF7FEFF bl HAL_DMA_Start_IT 16436 .LVL1289: 3724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16437 .loc 1 3724 10 view .LVU4875 16438 01c2 0546 mov r5, r0 16439 .LVL1290: 3724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16440 .loc 1 3724 10 view .LVU4876 16441 01c4 08B1 cbz r0, .L1284 3728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16442 .loc 1 3728 16 view .LVU4877 16443 01c6 0125 movs r5, #1 16444 01c8 1CE0 b .L1247 16445 .L1284: 3732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Input Capture DMA request */ ARM GAS /tmp/cc0wMqvE.s page 504 16446 .loc 1 3732 7 is_stmt 1 view .LVU4878 16447 01ca 2268 ldr r2, [r4] 16448 01cc D368 ldr r3, [r2, #12] 16449 01ce 43F40073 orr r3, r3, #512 16450 01d2 D360 str r3, [r2, #12] 3734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16451 .loc 1 3734 7 view .LVU4879 16452 01d4 2268 ldr r2, [r4] 16453 01d6 D368 ldr r3, [r2, #12] 16454 01d8 43F48063 orr r3, r3, #1024 16455 01dc D360 str r3, [r2, #12] 3737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 16456 .loc 1 3737 7 view .LVU4880 16457 01de 0122 movs r2, #1 16458 01e0 0021 movs r1, #0 16459 01e2 2068 ldr r0, [r4] 16460 01e4 FFF7FEFF bl TIM_CCxChannelCmd 16461 .LVL1291: 3738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16462 .loc 1 3738 7 view .LVU4881 16463 01e8 0122 movs r2, #1 16464 01ea 0421 movs r1, #4 16465 01ec 2068 ldr r0, [r4] 16466 01ee FFF7FEFF bl TIM_CCxChannelCmd 16467 .LVL1292: 3741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16468 .loc 1 3741 7 view .LVU4882 16469 01f2 2268 ldr r2, [r4] 16470 01f4 1368 ldr r3, [r2] 16471 01f6 43F00103 orr r3, r3, #1 16472 01fa 1360 str r3, [r2] 3743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16473 .loc 1 3743 7 view .LVU4883 16474 01fc 02E0 b .L1247 16475 .LVL1293: 16476 .L1257: 3565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16477 .loc 1 3565 14 is_stmt 0 view .LVU4884 16478 01fe 0546 mov r5, r0 16479 .LVL1294: 3565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16480 .loc 1 3565 14 view .LVU4885 16481 0200 00E0 b .L1247 16482 .LVL1295: 16483 .L1258: 3582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16484 .loc 1 3582 14 view .LVU4886 16485 0202 0125 movs r5, #1 16486 .LVL1296: 16487 .L1247: 3749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16488 .loc 1 3749 1 view .LVU4887 16489 0204 2846 mov r0, r5 16490 0206 F8BD pop {r3, r4, r5, r6, r7, pc} 16491 .LVL1297: 16492 .L1260: 3590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/cc0wMqvE.s page 505 16493 .loc 1 3590 14 view .LVU4888 16494 0208 6546 mov r5, ip 16495 .LVL1298: 3590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16496 .loc 1 3590 14 view .LVU4889 16497 020a FBE7 b .L1247 16498 .LVL1299: 16499 .L1261: 3590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16500 .loc 1 3590 14 view .LVU4890 16501 020c 1D46 mov r5, r3 16502 .LVL1300: 3590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16503 .loc 1 3590 14 view .LVU4891 16504 020e F9E7 b .L1247 16505 .LVL1301: 16506 .L1262: 3607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16507 .loc 1 3607 14 view .LVU4892 16508 0210 0125 movs r5, #1 16509 .LVL1302: 3607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16510 .loc 1 3607 14 view .LVU4893 16511 0212 F7E7 b .L1247 16512 .LVL1303: 16513 .L1263: 3607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16514 .loc 1 3607 14 view .LVU4894 16515 0214 6546 mov r5, ip 16516 .LVL1304: 3607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16517 .loc 1 3607 14 view .LVU4895 16518 0216 F5E7 b .L1247 16519 .LVL1305: 16520 .L1265: 3617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16521 .loc 1 3617 14 view .LVU4896 16522 0218 6546 mov r5, ip 16523 .LVL1306: 3617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16524 .loc 1 3617 14 view .LVU4897 16525 021a F3E7 b .L1247 16526 .LVL1307: 16527 .L1266: 3617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16528 .loc 1 3617 14 view .LVU4898 16529 021c 0546 mov r5, r0 16530 .LVL1308: 3617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16531 .loc 1 3617 14 view .LVU4899 16532 021e F1E7 b .L1247 16533 .LVL1309: 16534 .L1267: 3617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16535 .loc 1 3617 14 view .LVU4900 16536 0220 1D46 mov r5, r3 16537 .LVL1310: ARM GAS /tmp/cc0wMqvE.s page 506 3617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16538 .loc 1 3617 14 view .LVU4901 16539 0222 EFE7 b .L1247 16540 .LVL1311: 16541 .L1268: 3638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16542 .loc 1 3638 14 view .LVU4902 16543 0224 0125 movs r5, #1 16544 .LVL1312: 3638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16545 .loc 1 3638 14 view .LVU4903 16546 0226 EDE7 b .L1247 16547 .LVL1313: 16548 .L1269: 3638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16549 .loc 1 3638 14 view .LVU4904 16550 0228 6546 mov r5, ip 16551 .LVL1314: 3638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16552 .loc 1 3638 14 view .LVU4905 16553 022a EBE7 b .L1247 16554 .LVL1315: 16555 .L1270: 3638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16556 .loc 1 3638 14 view .LVU4906 16557 022c 0546 mov r5, r0 16558 .LVL1316: 3638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16559 .loc 1 3638 14 view .LVU4907 16560 022e E9E7 b .L1247 16561 .L1286: 16562 .align 2 16563 .L1285: 16564 0230 00000000 .word TIM_DMACaptureCplt 16565 0234 00000000 .word TIM_DMACaptureHalfCplt 16566 0238 00000000 .word TIM_DMAError 16567 .cfi_endproc 16568 .LFE385: 16570 .section .text.HAL_TIM_Encoder_Stop_DMA,"ax",%progbits 16571 .align 1 16572 .global HAL_TIM_Encoder_Stop_DMA 16573 .syntax unified 16574 .thumb 16575 .thumb_func 16577 HAL_TIM_Encoder_Stop_DMA: 16578 .LVL1317: 16579 .LFB386: 3762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 16580 .loc 1 3762 1 is_stmt 1 view -0 16581 .cfi_startproc 16582 @ args = 0, pretend = 0, frame = 0 16583 @ frame_needed = 0, uses_anonymous_args = 0 3762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 16584 .loc 1 3762 1 is_stmt 0 view .LVU4909 16585 0000 38B5 push {r3, r4, r5, lr} 16586 .LCFI112: 16587 .cfi_def_cfa_offset 16 ARM GAS /tmp/cc0wMqvE.s page 507 16588 .cfi_offset 3, -16 16589 .cfi_offset 4, -12 16590 .cfi_offset 5, -8 16591 .cfi_offset 14, -4 16592 0002 0446 mov r4, r0 3764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16593 .loc 1 3764 3 is_stmt 1 view .LVU4910 3768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16594 .loc 1 3768 3 view .LVU4911 3768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16595 .loc 1 3768 6 is_stmt 0 view .LVU4912 16596 0004 0D46 mov r5, r1 16597 0006 0029 cmp r1, #0 16598 0008 37D0 beq .L1298 3776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16599 .loc 1 3776 8 is_stmt 1 view .LVU4913 3776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16600 .loc 1 3776 11 is_stmt 0 view .LVU4914 16601 000a 0429 cmp r1, #4 16602 000c 43D0 beq .L1299 3786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 16603 .loc 1 3786 5 is_stmt 1 view .LVU4915 16604 000e 0022 movs r2, #0 16605 0010 1146 mov r1, r2 16606 .LVL1318: 3786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 16607 .loc 1 3786 5 is_stmt 0 view .LVU4916 16608 0012 0068 ldr r0, [r0] 16609 .LVL1319: 3786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 16610 .loc 1 3786 5 view .LVU4917 16611 0014 FFF7FEFF bl TIM_CCxChannelCmd 16612 .LVL1320: 3787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16613 .loc 1 3787 5 is_stmt 1 view .LVU4918 16614 0018 0022 movs r2, #0 16615 001a 0421 movs r1, #4 16616 001c 2068 ldr r0, [r4] 16617 001e FFF7FEFF bl TIM_CCxChannelCmd 16618 .LVL1321: 3790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2); 16619 .loc 1 3790 5 view .LVU4919 16620 0022 2268 ldr r2, [r4] 16621 0024 D368 ldr r3, [r2, #12] 16622 0026 23F40073 bic r3, r3, #512 16623 002a D360 str r3, [r2, #12] 3791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 16624 .loc 1 3791 5 view .LVU4920 16625 002c 2268 ldr r2, [r4] 16626 002e D368 ldr r3, [r2, #12] 16627 0030 23F48063 bic r3, r3, #1024 16628 0034 D360 str r3, [r2, #12] 3792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 16629 .loc 1 3792 5 view .LVU4921 3792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 16630 .loc 1 3792 11 is_stmt 0 view .LVU4922 16631 0036 606A ldr r0, [r4, #36] ARM GAS /tmp/cc0wMqvE.s page 508 16632 0038 FFF7FEFF bl HAL_DMA_Abort_IT 16633 .LVL1322: 3793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16634 .loc 1 3793 5 is_stmt 1 view .LVU4923 3793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16635 .loc 1 3793 11 is_stmt 0 view .LVU4924 16636 003c A06A ldr r0, [r4, #40] 16637 003e FFF7FEFF bl HAL_DMA_Abort_IT 16638 .LVL1323: 16639 .L1289: 3797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16640 .loc 1 3797 3 is_stmt 1 view .LVU4925 3797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16641 .loc 1 3797 3 view .LVU4926 16642 0042 2368 ldr r3, [r4] 16643 0044 196A ldr r1, [r3, #32] 16644 0046 41F21112 movw r2, #4369 16645 004a 1142 tst r1, r2 16646 004c 08D1 bne .L1291 3797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16647 .loc 1 3797 3 discriminator 1 view .LVU4927 16648 004e 196A ldr r1, [r3, #32] 16649 0050 44F24442 movw r2, #17476 16650 0054 1142 tst r1, r2 16651 0056 03D1 bne .L1291 3797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16652 .loc 1 3797 3 discriminator 3 view .LVU4928 16653 0058 1A68 ldr r2, [r3] 16654 005a 22F00102 bic r2, r2, #1 16655 005e 1A60 str r2, [r3] 16656 .L1291: 3797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16657 .loc 1 3797 3 discriminator 5 view .LVU4929 3800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16658 .loc 1 3800 3 discriminator 5 view .LVU4930 3800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16659 .loc 1 3800 6 is_stmt 0 discriminator 5 view .LVU4931 16660 0060 3DB3 cbz r5, .L1292 3800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16661 .loc 1 3800 34 discriminator 1 view .LVU4932 16662 0062 042D cmp r5, #4 16663 0064 2CD0 beq .L1300 3807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 16664 .loc 1 3807 5 is_stmt 1 view .LVU4933 16665 0066 0123 movs r3, #1 16666 0068 84F83E30 strb r3, [r4, #62] 3808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 16667 .loc 1 3808 5 view .LVU4934 16668 006c 84F83F30 strb r3, [r4, #63] 3809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 16669 .loc 1 3809 5 view .LVU4935 16670 0070 84F84430 strb r3, [r4, #68] 3810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16671 .loc 1 3810 5 view .LVU4936 16672 0074 84F84530 strb r3, [r4, #69] 16673 0078 20E0 b .L1295 16674 .LVL1324: ARM GAS /tmp/cc0wMqvE.s page 509 16675 .L1298: 3770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16676 .loc 1 3770 5 view .LVU4937 16677 007a 0022 movs r2, #0 16678 007c 1146 mov r1, r2 16679 .LVL1325: 3770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16680 .loc 1 3770 5 is_stmt 0 view .LVU4938 16681 007e 0068 ldr r0, [r0] 16682 .LVL1326: 3770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16683 .loc 1 3770 5 view .LVU4939 16684 0080 FFF7FEFF bl TIM_CCxChannelCmd 16685 .LVL1327: 3773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 16686 .loc 1 3773 5 is_stmt 1 view .LVU4940 16687 0084 2268 ldr r2, [r4] 16688 0086 D368 ldr r3, [r2, #12] 16689 0088 23F40073 bic r3, r3, #512 16690 008c D360 str r3, [r2, #12] 3774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16691 .loc 1 3774 5 view .LVU4941 3774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16692 .loc 1 3774 11 is_stmt 0 view .LVU4942 16693 008e 606A ldr r0, [r4, #36] 16694 0090 FFF7FEFF bl HAL_DMA_Abort_IT 16695 .LVL1328: 16696 0094 D5E7 b .L1289 16697 .LVL1329: 16698 .L1299: 3778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16699 .loc 1 3778 5 is_stmt 1 view .LVU4943 16700 0096 0022 movs r2, #0 16701 0098 0421 movs r1, #4 16702 .LVL1330: 3778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16703 .loc 1 3778 5 is_stmt 0 view .LVU4944 16704 009a 0068 ldr r0, [r0] 16705 .LVL1331: 3778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16706 .loc 1 3778 5 view .LVU4945 16707 009c FFF7FEFF bl TIM_CCxChannelCmd 16708 .LVL1332: 3781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 16709 .loc 1 3781 5 is_stmt 1 view .LVU4946 16710 00a0 2268 ldr r2, [r4] 16711 00a2 D368 ldr r3, [r2, #12] 16712 00a4 23F48063 bic r3, r3, #1024 16713 00a8 D360 str r3, [r2, #12] 3782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16714 .loc 1 3782 5 view .LVU4947 3782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16715 .loc 1 3782 11 is_stmt 0 view .LVU4948 16716 00aa A06A ldr r0, [r4, #40] 16717 00ac FFF7FEFF bl HAL_DMA_Abort_IT 16718 .LVL1333: 16719 00b0 C7E7 b .L1289 ARM GAS /tmp/cc0wMqvE.s page 510 16720 .L1292: 3802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 16721 .loc 1 3802 5 is_stmt 1 discriminator 1 view .LVU4949 16722 00b2 0123 movs r3, #1 16723 00b4 84F83E30 strb r3, [r4, #62] 3803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16724 .loc 1 3803 5 discriminator 1 view .LVU4950 16725 00b8 84F84430 strb r3, [r4, #68] 16726 .L1295: 3814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16727 .loc 1 3814 3 view .LVU4951 3815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16728 .loc 1 3815 1 is_stmt 0 view .LVU4952 16729 00bc 0020 movs r0, #0 16730 00be 38BD pop {r3, r4, r5, pc} 16731 .LVL1334: 16732 .L1300: 3802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 16733 .loc 1 3802 5 is_stmt 1 view .LVU4953 16734 00c0 0123 movs r3, #1 16735 00c2 84F83F30 strb r3, [r4, #63] 3803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16736 .loc 1 3803 5 view .LVU4954 16737 00c6 84F84530 strb r3, [r4, #69] 16738 00ca F7E7 b .L1295 16739 .cfi_endproc 16740 .LFE386: 16742 .text 16743 .Letext0: 16744 .file 2 "/usr/lib/gcc/arm-none-eabi/12.2.1/include/stdint.h" 16745 .file 3 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g431xx.h" 16746 .file 4 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g4xx.h" 16747 .file 5 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_def.h" 16748 .file 6 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_dma.h" 16749 .file 7 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_tim.h" 16750 .file 8 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_tim_ex.h" ARM GAS /tmp/cc0wMqvE.s page 511 DEFINED SYMBOLS *ABS*:00000000 stm32g4xx_hal_tim.c /tmp/cc0wMqvE.s:21 .text.TIM_OC1_SetConfig:00000000 $t /tmp/cc0wMqvE.s:26 .text.TIM_OC1_SetConfig:00000000 TIM_OC1_SetConfig /tmp/cc0wMqvE.s:192 .text.TIM_OC1_SetConfig:00000098 $d /tmp/cc0wMqvE.s:197 .text.TIM_OC3_SetConfig:00000000 $t /tmp/cc0wMqvE.s:202 .text.TIM_OC3_SetConfig:00000000 TIM_OC3_SetConfig /tmp/cc0wMqvE.s:356 .text.TIM_OC3_SetConfig:00000088 $d /tmp/cc0wMqvE.s:361 .text.TIM_OC4_SetConfig:00000000 $t /tmp/cc0wMqvE.s:366 .text.TIM_OC4_SetConfig:00000000 TIM_OC4_SetConfig /tmp/cc0wMqvE.s:522 .text.TIM_OC4_SetConfig:00000088 $d /tmp/cc0wMqvE.s:527 .text.TIM_OC5_SetConfig:00000000 $t /tmp/cc0wMqvE.s:532 .text.TIM_OC5_SetConfig:00000000 TIM_OC5_SetConfig /tmp/cc0wMqvE.s:649 .text.TIM_OC5_SetConfig:00000064 $d /tmp/cc0wMqvE.s:654 .text.TIM_OC6_SetConfig:00000000 $t /tmp/cc0wMqvE.s:659 .text.TIM_OC6_SetConfig:00000000 TIM_OC6_SetConfig /tmp/cc0wMqvE.s:778 .text.TIM_OC6_SetConfig:00000068 $d /tmp/cc0wMqvE.s:783 .text.TIM_TI1_ConfigInputStage:00000000 $t /tmp/cc0wMqvE.s:788 .text.TIM_TI1_ConfigInputStage:00000000 TIM_TI1_ConfigInputStage /tmp/cc0wMqvE.s:849 .text.TIM_TI2_SetConfig:00000000 $t /tmp/cc0wMqvE.s:854 .text.TIM_TI2_SetConfig:00000000 TIM_TI2_SetConfig /tmp/cc0wMqvE.s:935 .text.TIM_TI2_ConfigInputStage:00000000 $t /tmp/cc0wMqvE.s:940 .text.TIM_TI2_ConfigInputStage:00000000 TIM_TI2_ConfigInputStage /tmp/cc0wMqvE.s:1001 .text.TIM_TI3_SetConfig:00000000 $t /tmp/cc0wMqvE.s:1006 .text.TIM_TI3_SetConfig:00000000 TIM_TI3_SetConfig /tmp/cc0wMqvE.s:1087 .text.TIM_TI4_SetConfig:00000000 $t /tmp/cc0wMqvE.s:1092 .text.TIM_TI4_SetConfig:00000000 TIM_TI4_SetConfig /tmp/cc0wMqvE.s:1173 .text.TIM_ITRx_SetConfig:00000000 $t /tmp/cc0wMqvE.s:1178 .text.TIM_ITRx_SetConfig:00000000 TIM_ITRx_SetConfig /tmp/cc0wMqvE.s:1214 .text.HAL_TIM_Base_MspInit:00000000 $t /tmp/cc0wMqvE.s:1220 .text.HAL_TIM_Base_MspInit:00000000 HAL_TIM_Base_MspInit /tmp/cc0wMqvE.s:1235 .text.HAL_TIM_Base_MspDeInit:00000000 $t /tmp/cc0wMqvE.s:1241 .text.HAL_TIM_Base_MspDeInit:00000000 HAL_TIM_Base_MspDeInit /tmp/cc0wMqvE.s:1256 .text.HAL_TIM_Base_DeInit:00000000 $t /tmp/cc0wMqvE.s:1262 .text.HAL_TIM_Base_DeInit:00000000 HAL_TIM_Base_DeInit /tmp/cc0wMqvE.s:1348 .text.HAL_TIM_Base_Start:00000000 $t /tmp/cc0wMqvE.s:1354 .text.HAL_TIM_Base_Start:00000000 HAL_TIM_Base_Start /tmp/cc0wMqvE.s:1461 .text.HAL_TIM_Base_Start:00000074 $d /tmp/cc0wMqvE.s:1467 .text.HAL_TIM_Base_Stop:00000000 $t /tmp/cc0wMqvE.s:1473 .text.HAL_TIM_Base_Stop:00000000 HAL_TIM_Base_Stop /tmp/cc0wMqvE.s:1514 .text.HAL_TIM_Base_Start_IT:00000000 $t /tmp/cc0wMqvE.s:1520 .text.HAL_TIM_Base_Start_IT:00000000 HAL_TIM_Base_Start_IT /tmp/cc0wMqvE.s:1632 .text.HAL_TIM_Base_Start_IT:0000007c $d /tmp/cc0wMqvE.s:1638 .text.HAL_TIM_Base_Stop_IT:00000000 $t /tmp/cc0wMqvE.s:1644 .text.HAL_TIM_Base_Stop_IT:00000000 HAL_TIM_Base_Stop_IT /tmp/cc0wMqvE.s:1690 .text.HAL_TIM_Base_Start_DMA:00000000 $t /tmp/cc0wMqvE.s:1696 .text.HAL_TIM_Base_Start_DMA:00000000 HAL_TIM_Base_Start_DMA /tmp/cc0wMqvE.s:1861 .text.HAL_TIM_Base_Start_DMA:000000bc $d /tmp/cc0wMqvE.s:3980 .text.TIM_DMAPeriodElapsedCplt:00000000 TIM_DMAPeriodElapsedCplt /tmp/cc0wMqvE.s:4044 .text.TIM_DMAPeriodElapsedHalfCplt:00000000 TIM_DMAPeriodElapsedHalfCplt /tmp/cc0wMqvE.s:5180 .text.TIM_DMAError:00000000 TIM_DMAError /tmp/cc0wMqvE.s:1870 .text.HAL_TIM_Base_Stop_DMA:00000000 $t /tmp/cc0wMqvE.s:1876 .text.HAL_TIM_Base_Stop_DMA:00000000 HAL_TIM_Base_Stop_DMA /tmp/cc0wMqvE.s:1934 .text.HAL_TIM_OC_MspInit:00000000 $t /tmp/cc0wMqvE.s:1940 .text.HAL_TIM_OC_MspInit:00000000 HAL_TIM_OC_MspInit /tmp/cc0wMqvE.s:1955 .text.HAL_TIM_OC_MspDeInit:00000000 $t /tmp/cc0wMqvE.s:1961 .text.HAL_TIM_OC_MspDeInit:00000000 HAL_TIM_OC_MspDeInit ARM GAS /tmp/cc0wMqvE.s page 512 /tmp/cc0wMqvE.s:1976 .text.HAL_TIM_OC_DeInit:00000000 $t /tmp/cc0wMqvE.s:1982 .text.HAL_TIM_OC_DeInit:00000000 HAL_TIM_OC_DeInit /tmp/cc0wMqvE.s:2068 .text.HAL_TIM_PWM_MspInit:00000000 $t /tmp/cc0wMqvE.s:2074 .text.HAL_TIM_PWM_MspInit:00000000 HAL_TIM_PWM_MspInit /tmp/cc0wMqvE.s:2089 .text.HAL_TIM_PWM_MspDeInit:00000000 $t /tmp/cc0wMqvE.s:2095 .text.HAL_TIM_PWM_MspDeInit:00000000 HAL_TIM_PWM_MspDeInit /tmp/cc0wMqvE.s:2110 .text.HAL_TIM_PWM_DeInit:00000000 $t /tmp/cc0wMqvE.s:2116 .text.HAL_TIM_PWM_DeInit:00000000 HAL_TIM_PWM_DeInit /tmp/cc0wMqvE.s:2202 .text.HAL_TIM_IC_MspInit:00000000 $t /tmp/cc0wMqvE.s:2208 .text.HAL_TIM_IC_MspInit:00000000 HAL_TIM_IC_MspInit /tmp/cc0wMqvE.s:2223 .text.HAL_TIM_IC_MspDeInit:00000000 $t /tmp/cc0wMqvE.s:2229 .text.HAL_TIM_IC_MspDeInit:00000000 HAL_TIM_IC_MspDeInit /tmp/cc0wMqvE.s:2244 .text.HAL_TIM_IC_DeInit:00000000 $t /tmp/cc0wMqvE.s:2250 .text.HAL_TIM_IC_DeInit:00000000 HAL_TIM_IC_DeInit /tmp/cc0wMqvE.s:2336 .text.HAL_TIM_OnePulse_MspInit:00000000 $t /tmp/cc0wMqvE.s:2342 .text.HAL_TIM_OnePulse_MspInit:00000000 HAL_TIM_OnePulse_MspInit /tmp/cc0wMqvE.s:2357 .text.HAL_TIM_OnePulse_MspDeInit:00000000 $t /tmp/cc0wMqvE.s:2363 .text.HAL_TIM_OnePulse_MspDeInit:00000000 HAL_TIM_OnePulse_MspDeInit /tmp/cc0wMqvE.s:2378 .text.HAL_TIM_OnePulse_DeInit:00000000 $t /tmp/cc0wMqvE.s:2384 .text.HAL_TIM_OnePulse_DeInit:00000000 HAL_TIM_OnePulse_DeInit /tmp/cc0wMqvE.s:2454 .text.HAL_TIM_Encoder_MspInit:00000000 $t /tmp/cc0wMqvE.s:2460 .text.HAL_TIM_Encoder_MspInit:00000000 HAL_TIM_Encoder_MspInit /tmp/cc0wMqvE.s:2475 .text.HAL_TIM_Encoder_MspDeInit:00000000 $t /tmp/cc0wMqvE.s:2481 .text.HAL_TIM_Encoder_MspDeInit:00000000 HAL_TIM_Encoder_MspDeInit /tmp/cc0wMqvE.s:2496 .text.HAL_TIM_Encoder_DeInit:00000000 $t /tmp/cc0wMqvE.s:2502 .text.HAL_TIM_Encoder_DeInit:00000000 HAL_TIM_Encoder_DeInit /tmp/cc0wMqvE.s:2572 .text.HAL_TIM_DMABurst_MultiWriteStart:00000000 $t /tmp/cc0wMqvE.s:2578 .text.HAL_TIM_DMABurst_MultiWriteStart:00000000 HAL_TIM_DMABurst_MultiWriteStart /tmp/cc0wMqvE.s:2948 .text.HAL_TIM_DMABurst_MultiWriteStart:00000194 $d /tmp/cc0wMqvE.s:4382 .text.TIM_DMADelayPulseCplt:00000000 TIM_DMADelayPulseCplt /tmp/cc0wMqvE.s:4529 .text.TIM_DMADelayPulseHalfCplt:00000000 TIM_DMADelayPulseHalfCplt /tmp/cc0wMqvE.s:5062 .text.TIM_DMATriggerCplt:00000000 TIM_DMATriggerCplt /tmp/cc0wMqvE.s:5126 .text.TIM_DMATriggerHalfCplt:00000000 TIM_DMATriggerHalfCplt /tmp/cc0wMqvE.s:2961 .text.HAL_TIM_DMABurst_WriteStart:00000000 $t /tmp/cc0wMqvE.s:2967 .text.HAL_TIM_DMABurst_WriteStart:00000000 HAL_TIM_DMABurst_WriteStart /tmp/cc0wMqvE.s:3007 .text.HAL_TIM_DMABurst_WriteStop:00000000 $t /tmp/cc0wMqvE.s:3013 .text.HAL_TIM_DMABurst_WriteStop:00000000 HAL_TIM_DMABurst_WriteStop /tmp/cc0wMqvE.s:3167 .text.HAL_TIM_DMABurst_MultiReadStart:00000000 $t /tmp/cc0wMqvE.s:3173 .text.HAL_TIM_DMABurst_MultiReadStart:00000000 HAL_TIM_DMABurst_MultiReadStart /tmp/cc0wMqvE.s:3543 .text.HAL_TIM_DMABurst_MultiReadStart:00000194 $d /tmp/cc0wMqvE.s:4119 .text.TIM_DMACaptureCplt:00000000 TIM_DMACaptureCplt /tmp/cc0wMqvE.s:4274 .text.TIM_DMACaptureHalfCplt:00000000 TIM_DMACaptureHalfCplt /tmp/cc0wMqvE.s:3556 .text.HAL_TIM_DMABurst_ReadStart:00000000 $t /tmp/cc0wMqvE.s:3562 .text.HAL_TIM_DMABurst_ReadStart:00000000 HAL_TIM_DMABurst_ReadStart /tmp/cc0wMqvE.s:3602 .text.HAL_TIM_DMABurst_ReadStop:00000000 $t /tmp/cc0wMqvE.s:3608 .text.HAL_TIM_DMABurst_ReadStop:00000000 HAL_TIM_DMABurst_ReadStop /tmp/cc0wMqvE.s:3762 .text.HAL_TIM_GenerateEvent:00000000 $t /tmp/cc0wMqvE.s:3768 .text.HAL_TIM_GenerateEvent:00000000 HAL_TIM_GenerateEvent /tmp/cc0wMqvE.s:3821 .text.HAL_TIM_ConfigTI1Input:00000000 $t /tmp/cc0wMqvE.s:3827 .text.HAL_TIM_ConfigTI1Input:00000000 HAL_TIM_ConfigTI1Input /tmp/cc0wMqvE.s:3865 .text.HAL_TIM_ReadCapturedValue:00000000 $t /tmp/cc0wMqvE.s:3871 .text.HAL_TIM_ReadCapturedValue:00000000 HAL_TIM_ReadCapturedValue /tmp/cc0wMqvE.s:3885 .text.HAL_TIM_ReadCapturedValue:00000008 $d /tmp/cc0wMqvE.s:3954 .text.HAL_TIM_PeriodElapsedCallback:00000000 $t /tmp/cc0wMqvE.s:3960 .text.HAL_TIM_PeriodElapsedCallback:00000000 HAL_TIM_PeriodElapsedCallback /tmp/cc0wMqvE.s:3975 .text.TIM_DMAPeriodElapsedCplt:00000000 $t /tmp/cc0wMqvE.s:4018 .text.HAL_TIM_PeriodElapsedHalfCpltCallback:00000000 $t ARM GAS /tmp/cc0wMqvE.s page 513 /tmp/cc0wMqvE.s:4024 .text.HAL_TIM_PeriodElapsedHalfCpltCallback:00000000 HAL_TIM_PeriodElapsedHalfCpltCallback /tmp/cc0wMqvE.s:4039 .text.TIM_DMAPeriodElapsedHalfCplt:00000000 $t /tmp/cc0wMqvE.s:4071 .text.HAL_TIM_OC_DelayElapsedCallback:00000000 $t /tmp/cc0wMqvE.s:4077 .text.HAL_TIM_OC_DelayElapsedCallback:00000000 HAL_TIM_OC_DelayElapsedCallback /tmp/cc0wMqvE.s:4092 .text.HAL_TIM_IC_CaptureCallback:00000000 $t /tmp/cc0wMqvE.s:4098 .text.HAL_TIM_IC_CaptureCallback:00000000 HAL_TIM_IC_CaptureCallback /tmp/cc0wMqvE.s:4113 .text.TIM_DMACaptureCplt:00000000 $t /tmp/cc0wMqvE.s:4247 .text.HAL_TIM_IC_CaptureHalfCpltCallback:00000000 $t /tmp/cc0wMqvE.s:4253 .text.HAL_TIM_IC_CaptureHalfCpltCallback:00000000 HAL_TIM_IC_CaptureHalfCpltCallback /tmp/cc0wMqvE.s:4268 .text.TIM_DMACaptureHalfCplt:00000000 $t /tmp/cc0wMqvE.s:4356 .text.HAL_TIM_PWM_PulseFinishedCallback:00000000 $t /tmp/cc0wMqvE.s:4362 .text.HAL_TIM_PWM_PulseFinishedCallback:00000000 HAL_TIM_PWM_PulseFinishedCallback /tmp/cc0wMqvE.s:4377 .text.TIM_DMADelayPulseCplt:00000000 $t /tmp/cc0wMqvE.s:4502 .text.HAL_TIM_PWM_PulseFinishedHalfCpltCallback:00000000 $t /tmp/cc0wMqvE.s:4508 .text.HAL_TIM_PWM_PulseFinishedHalfCpltCallback:00000000 HAL_TIM_PWM_PulseFinishedHalfCpltCallback /tmp/cc0wMqvE.s:4523 .text.TIM_DMADelayPulseHalfCplt:00000000 $t /tmp/cc0wMqvE.s:4611 .text.HAL_TIM_TriggerCallback:00000000 $t /tmp/cc0wMqvE.s:4617 .text.HAL_TIM_TriggerCallback:00000000 HAL_TIM_TriggerCallback /tmp/cc0wMqvE.s:4632 .text.HAL_TIM_IRQHandler:00000000 $t /tmp/cc0wMqvE.s:4638 .text.HAL_TIM_IRQHandler:00000000 HAL_TIM_IRQHandler /tmp/cc0wMqvE.s:5057 .text.TIM_DMATriggerCplt:00000000 $t /tmp/cc0wMqvE.s:5100 .text.HAL_TIM_TriggerHalfCpltCallback:00000000 $t /tmp/cc0wMqvE.s:5106 .text.HAL_TIM_TriggerHalfCpltCallback:00000000 HAL_TIM_TriggerHalfCpltCallback /tmp/cc0wMqvE.s:5121 .text.TIM_DMATriggerHalfCplt:00000000 $t /tmp/cc0wMqvE.s:5153 .text.HAL_TIM_ErrorCallback:00000000 $t /tmp/cc0wMqvE.s:5159 .text.HAL_TIM_ErrorCallback:00000000 HAL_TIM_ErrorCallback /tmp/cc0wMqvE.s:5174 .text.TIM_DMAError:00000000 $t /tmp/cc0wMqvE.s:5278 .text.HAL_TIM_Base_GetState:00000000 $t /tmp/cc0wMqvE.s:5284 .text.HAL_TIM_Base_GetState:00000000 HAL_TIM_Base_GetState /tmp/cc0wMqvE.s:5302 .text.HAL_TIM_OC_GetState:00000000 $t /tmp/cc0wMqvE.s:5308 .text.HAL_TIM_OC_GetState:00000000 HAL_TIM_OC_GetState /tmp/cc0wMqvE.s:5326 .text.HAL_TIM_PWM_GetState:00000000 $t /tmp/cc0wMqvE.s:5332 .text.HAL_TIM_PWM_GetState:00000000 HAL_TIM_PWM_GetState /tmp/cc0wMqvE.s:5350 .text.HAL_TIM_IC_GetState:00000000 $t /tmp/cc0wMqvE.s:5356 .text.HAL_TIM_IC_GetState:00000000 HAL_TIM_IC_GetState /tmp/cc0wMqvE.s:5374 .text.HAL_TIM_OnePulse_GetState:00000000 $t /tmp/cc0wMqvE.s:5380 .text.HAL_TIM_OnePulse_GetState:00000000 HAL_TIM_OnePulse_GetState /tmp/cc0wMqvE.s:5398 .text.HAL_TIM_Encoder_GetState:00000000 $t /tmp/cc0wMqvE.s:5404 .text.HAL_TIM_Encoder_GetState:00000000 HAL_TIM_Encoder_GetState /tmp/cc0wMqvE.s:5422 .text.HAL_TIM_GetActiveChannel:00000000 $t /tmp/cc0wMqvE.s:5428 .text.HAL_TIM_GetActiveChannel:00000000 HAL_TIM_GetActiveChannel /tmp/cc0wMqvE.s:5446 .text.HAL_TIM_GetChannelState:00000000 $t /tmp/cc0wMqvE.s:5452 .text.HAL_TIM_GetChannelState:00000000 HAL_TIM_GetChannelState /tmp/cc0wMqvE.s:5467 .text.HAL_TIM_GetChannelState:00000008 $d /tmp/cc0wMqvE.s:5539 .text.HAL_TIM_DMABurstState:00000000 $t /tmp/cc0wMqvE.s:5545 .text.HAL_TIM_DMABurstState:00000000 HAL_TIM_DMABurstState /tmp/cc0wMqvE.s:5564 .text.TIM_Base_SetConfig:00000000 $t /tmp/cc0wMqvE.s:5570 .text.TIM_Base_SetConfig:00000000 TIM_Base_SetConfig /tmp/cc0wMqvE.s:5718 .text.TIM_Base_SetConfig:000000b4 $d /tmp/cc0wMqvE.s:5723 .text.HAL_TIM_Base_Init:00000000 $t /tmp/cc0wMqvE.s:5729 .text.HAL_TIM_Base_Init:00000000 HAL_TIM_Base_Init /tmp/cc0wMqvE.s:5827 .text.HAL_TIM_OC_Init:00000000 $t /tmp/cc0wMqvE.s:5833 .text.HAL_TIM_OC_Init:00000000 HAL_TIM_OC_Init /tmp/cc0wMqvE.s:5931 .text.HAL_TIM_PWM_Init:00000000 $t /tmp/cc0wMqvE.s:5937 .text.HAL_TIM_PWM_Init:00000000 HAL_TIM_PWM_Init /tmp/cc0wMqvE.s:6035 .text.HAL_TIM_IC_Init:00000000 $t /tmp/cc0wMqvE.s:6041 .text.HAL_TIM_IC_Init:00000000 HAL_TIM_IC_Init ARM GAS /tmp/cc0wMqvE.s page 514 /tmp/cc0wMqvE.s:6139 .text.HAL_TIM_OnePulse_Init:00000000 $t /tmp/cc0wMqvE.s:6145 .text.HAL_TIM_OnePulse_Init:00000000 HAL_TIM_OnePulse_Init /tmp/cc0wMqvE.s:6249 .text.HAL_TIM_Encoder_Init:00000000 $t /tmp/cc0wMqvE.s:6255 .text.HAL_TIM_Encoder_Init:00000000 HAL_TIM_Encoder_Init /tmp/cc0wMqvE.s:6465 .text.TIM_OC2_SetConfig:00000000 $t /tmp/cc0wMqvE.s:6471 .text.TIM_OC2_SetConfig:00000000 TIM_OC2_SetConfig /tmp/cc0wMqvE.s:6627 .text.TIM_OC2_SetConfig:00000088 $d /tmp/cc0wMqvE.s:6632 .text.HAL_TIM_OC_ConfigChannel:00000000 $t /tmp/cc0wMqvE.s:6638 .text.HAL_TIM_OC_ConfigChannel:00000000 HAL_TIM_OC_ConfigChannel /tmp/cc0wMqvE.s:6670 .text.HAL_TIM_OC_ConfigChannel:0000001a $d /tmp/cc0wMqvE.s:6804 .text.HAL_TIM_PWM_ConfigChannel:00000000 $t /tmp/cc0wMqvE.s:6810 .text.HAL_TIM_PWM_ConfigChannel:00000000 HAL_TIM_PWM_ConfigChannel /tmp/cc0wMqvE.s:6847 .text.HAL_TIM_PWM_ConfigChannel:00000020 $d /tmp/cc0wMqvE.s:7135 .text.TIM_TI1_SetConfig:00000000 $t /tmp/cc0wMqvE.s:7141 .text.TIM_TI1_SetConfig:00000000 TIM_TI1_SetConfig /tmp/cc0wMqvE.s:7257 .text.TIM_TI1_SetConfig:00000064 $d /tmp/cc0wMqvE.s:7263 .text.HAL_TIM_IC_ConfigChannel:00000000 $t /tmp/cc0wMqvE.s:7269 .text.HAL_TIM_IC_ConfigChannel:00000000 HAL_TIM_IC_ConfigChannel /tmp/cc0wMqvE.s:7489 .text.HAL_TIM_OnePulse_ConfigChannel:00000000 $t /tmp/cc0wMqvE.s:7495 .text.HAL_TIM_OnePulse_ConfigChannel:00000000 HAL_TIM_OnePulse_ConfigChannel /tmp/cc0wMqvE.s:7772 .text.TIM_ETR_SetConfig:00000000 $t /tmp/cc0wMqvE.s:7778 .text.TIM_ETR_SetConfig:00000000 TIM_ETR_SetConfig /tmp/cc0wMqvE.s:7822 .text.HAL_TIM_ConfigOCrefClear:00000000 $t /tmp/cc0wMqvE.s:7828 .text.HAL_TIM_ConfigOCrefClear:00000000 HAL_TIM_ConfigOCrefClear /tmp/cc0wMqvE.s:7956 .text.HAL_TIM_ConfigOCrefClear:000000b4 $d /tmp/cc0wMqvE.s:7978 .text.HAL_TIM_ConfigOCrefClear:000000de $t /tmp/cc0wMqvE.s:8262 .text.HAL_TIM_ConfigOCrefClear:00000260 $d /tmp/cc0wMqvE.s:8267 .text.HAL_TIM_ConfigClockSource:00000000 $t /tmp/cc0wMqvE.s:8273 .text.HAL_TIM_ConfigClockSource:00000000 HAL_TIM_ConfigClockSource /tmp/cc0wMqvE.s:8602 .text.HAL_TIM_ConfigClockSource:0000012c $d /tmp/cc0wMqvE.s:8609 .text.TIM_SlaveTimer_SetConfig:00000000 $t /tmp/cc0wMqvE.s:8614 .text.TIM_SlaveTimer_SetConfig:00000000 TIM_SlaveTimer_SetConfig /tmp/cc0wMqvE.s:8958 .text.TIM_SlaveTimer_SetConfig:0000010c $d /tmp/cc0wMqvE.s:8964 .text.HAL_TIM_SlaveConfigSynchro:00000000 $t /tmp/cc0wMqvE.s:8970 .text.HAL_TIM_SlaveConfigSynchro:00000000 HAL_TIM_SlaveConfigSynchro /tmp/cc0wMqvE.s:9058 .text.HAL_TIM_SlaveConfigSynchro_IT:00000000 $t /tmp/cc0wMqvE.s:9064 .text.HAL_TIM_SlaveConfigSynchro_IT:00000000 HAL_TIM_SlaveConfigSynchro_IT /tmp/cc0wMqvE.s:9152 .text.TIM_CCxChannelCmd:00000000 $t /tmp/cc0wMqvE.s:9158 .text.TIM_CCxChannelCmd:00000000 TIM_CCxChannelCmd /tmp/cc0wMqvE.s:9198 .text.HAL_TIM_OC_Start:00000000 $t /tmp/cc0wMqvE.s:9204 .text.HAL_TIM_OC_Start:00000000 HAL_TIM_OC_Start /tmp/cc0wMqvE.s:9225 .text.HAL_TIM_OC_Start:0000000c $d /tmp/cc0wMqvE.s:9260 .text.HAL_TIM_OC_Start:00000038 $d /tmp/cc0wMqvE.s:9466 .text.HAL_TIM_OC_Start:00000158 $d /tmp/cc0wMqvE.s:9472 .text.HAL_TIM_OC_Stop:00000000 $t /tmp/cc0wMqvE.s:9478 .text.HAL_TIM_OC_Stop:00000000 HAL_TIM_OC_Stop /tmp/cc0wMqvE.s:9582 .text.HAL_TIM_OC_Stop:00000086 $d /tmp/cc0wMqvE.s:9624 .text.HAL_TIM_OC_Stop:000000bc $d /tmp/cc0wMqvE.s:9629 .text.HAL_TIM_OC_Start_IT:00000000 $t /tmp/cc0wMqvE.s:9635 .text.HAL_TIM_OC_Start_IT:00000000 HAL_TIM_OC_Start_IT /tmp/cc0wMqvE.s:9658 .text.HAL_TIM_OC_Start_IT:0000000c $d /tmp/cc0wMqvE.s:9693 .text.HAL_TIM_OC_Start_IT:0000003a $d /tmp/cc0wMqvE.s:9902 .text.HAL_TIM_OC_Start_IT:00000164 $d /tmp/cc0wMqvE.s:9916 .text.HAL_TIM_OC_Start_IT:00000198 $t /tmp/cc0wMqvE.s:9966 .text.HAL_TIM_OC_Start_IT:000001c4 $d /tmp/cc0wMqvE.s:9972 .text.HAL_TIM_OC_Stop_IT:00000000 $t /tmp/cc0wMqvE.s:9978 .text.HAL_TIM_OC_Stop_IT:00000000 HAL_TIM_OC_Stop_IT ARM GAS /tmp/cc0wMqvE.s page 515 /tmp/cc0wMqvE.s:10003 .text.HAL_TIM_OC_Stop_IT:00000010 $d /tmp/cc0wMqvE.s:10139 .text.HAL_TIM_OC_Stop_IT:000000ce $d /tmp/cc0wMqvE.s:10197 .text.HAL_TIM_OC_Stop_IT:00000114 $d /tmp/cc0wMqvE.s:10202 .text.HAL_TIM_OC_Start_DMA:00000000 $t /tmp/cc0wMqvE.s:10208 .text.HAL_TIM_OC_Start_DMA:00000000 HAL_TIM_OC_Start_DMA /tmp/cc0wMqvE.s:10236 .text.HAL_TIM_OC_Start_DMA:00000010 $d /tmp/cc0wMqvE.s:10274 .text.HAL_TIM_OC_Start_DMA:0000003e $d /tmp/cc0wMqvE.s:10380 .text.HAL_TIM_OC_Start_DMA:000000c2 $d /tmp/cc0wMqvE.s:10397 .text.HAL_TIM_OC_Start_DMA:000000e4 $t /tmp/cc0wMqvE.s:10719 .text.HAL_TIM_OC_Start_DMA:00000298 $d /tmp/cc0wMqvE.s:10733 .text.HAL_TIM_OC_Start_DMA:000002cc $t /tmp/cc0wMqvE.s:10802 .text.HAL_TIM_OC_Start_DMA:0000030c $d /tmp/cc0wMqvE.s:10811 .text.HAL_TIM_OC_Stop_DMA:00000000 $t /tmp/cc0wMqvE.s:10817 .text.HAL_TIM_OC_Stop_DMA:00000000 HAL_TIM_OC_Stop_DMA /tmp/cc0wMqvE.s:10842 .text.HAL_TIM_OC_Stop_DMA:00000010 $d /tmp/cc0wMqvE.s:11003 .text.HAL_TIM_OC_Stop_DMA:000000e6 $d /tmp/cc0wMqvE.s:11061 .text.HAL_TIM_OC_Stop_DMA:0000012c $d /tmp/cc0wMqvE.s:11066 .text.HAL_TIM_PWM_Start:00000000 $t /tmp/cc0wMqvE.s:11072 .text.HAL_TIM_PWM_Start:00000000 HAL_TIM_PWM_Start /tmp/cc0wMqvE.s:11093 .text.HAL_TIM_PWM_Start:0000000c $d /tmp/cc0wMqvE.s:11128 .text.HAL_TIM_PWM_Start:00000038 $d /tmp/cc0wMqvE.s:11334 .text.HAL_TIM_PWM_Start:00000158 $d /tmp/cc0wMqvE.s:11340 .text.HAL_TIM_PWM_Stop:00000000 $t /tmp/cc0wMqvE.s:11346 .text.HAL_TIM_PWM_Stop:00000000 HAL_TIM_PWM_Stop /tmp/cc0wMqvE.s:11450 .text.HAL_TIM_PWM_Stop:00000086 $d /tmp/cc0wMqvE.s:11492 .text.HAL_TIM_PWM_Stop:000000bc $d /tmp/cc0wMqvE.s:11497 .text.HAL_TIM_PWM_Start_IT:00000000 $t /tmp/cc0wMqvE.s:11503 .text.HAL_TIM_PWM_Start_IT:00000000 HAL_TIM_PWM_Start_IT /tmp/cc0wMqvE.s:11526 .text.HAL_TIM_PWM_Start_IT:0000000c $d /tmp/cc0wMqvE.s:11561 .text.HAL_TIM_PWM_Start_IT:0000003a $d /tmp/cc0wMqvE.s:11770 .text.HAL_TIM_PWM_Start_IT:00000164 $d /tmp/cc0wMqvE.s:11784 .text.HAL_TIM_PWM_Start_IT:00000198 $t /tmp/cc0wMqvE.s:11834 .text.HAL_TIM_PWM_Start_IT:000001c4 $d /tmp/cc0wMqvE.s:11840 .text.HAL_TIM_PWM_Stop_IT:00000000 $t /tmp/cc0wMqvE.s:11846 .text.HAL_TIM_PWM_Stop_IT:00000000 HAL_TIM_PWM_Stop_IT /tmp/cc0wMqvE.s:11871 .text.HAL_TIM_PWM_Stop_IT:00000010 $d /tmp/cc0wMqvE.s:12007 .text.HAL_TIM_PWM_Stop_IT:000000ce $d /tmp/cc0wMqvE.s:12065 .text.HAL_TIM_PWM_Stop_IT:00000114 $d /tmp/cc0wMqvE.s:12070 .text.HAL_TIM_PWM_Start_DMA:00000000 $t /tmp/cc0wMqvE.s:12076 .text.HAL_TIM_PWM_Start_DMA:00000000 HAL_TIM_PWM_Start_DMA /tmp/cc0wMqvE.s:12104 .text.HAL_TIM_PWM_Start_DMA:00000010 $d /tmp/cc0wMqvE.s:12142 .text.HAL_TIM_PWM_Start_DMA:0000003e $d /tmp/cc0wMqvE.s:12248 .text.HAL_TIM_PWM_Start_DMA:000000c2 $d /tmp/cc0wMqvE.s:12265 .text.HAL_TIM_PWM_Start_DMA:000000e4 $t /tmp/cc0wMqvE.s:12587 .text.HAL_TIM_PWM_Start_DMA:00000298 $d /tmp/cc0wMqvE.s:12601 .text.HAL_TIM_PWM_Start_DMA:000002cc $t /tmp/cc0wMqvE.s:12670 .text.HAL_TIM_PWM_Start_DMA:0000030c $d /tmp/cc0wMqvE.s:12679 .text.HAL_TIM_PWM_Stop_DMA:00000000 $t /tmp/cc0wMqvE.s:12685 .text.HAL_TIM_PWM_Stop_DMA:00000000 HAL_TIM_PWM_Stop_DMA /tmp/cc0wMqvE.s:12710 .text.HAL_TIM_PWM_Stop_DMA:00000010 $d /tmp/cc0wMqvE.s:12871 .text.HAL_TIM_PWM_Stop_DMA:000000e6 $d /tmp/cc0wMqvE.s:12929 .text.HAL_TIM_PWM_Stop_DMA:0000012c $d /tmp/cc0wMqvE.s:12934 .text.HAL_TIM_IC_Start:00000000 $t /tmp/cc0wMqvE.s:12940 .text.HAL_TIM_IC_Start:00000000 HAL_TIM_IC_Start /tmp/cc0wMqvE.s:12960 .text.HAL_TIM_IC_Start:0000000c $d /tmp/cc0wMqvE.s:13008 .text.HAL_TIM_IC_Start:00000040 $d /tmp/cc0wMqvE.s:13230 .text.HAL_TIM_IC_Start:00000154 $d ARM GAS /tmp/cc0wMqvE.s page 516 /tmp/cc0wMqvE.s:13236 .text.HAL_TIM_IC_Stop:00000000 $t /tmp/cc0wMqvE.s:13242 .text.HAL_TIM_IC_Stop:00000000 HAL_TIM_IC_Stop /tmp/cc0wMqvE.s:13305 .text.HAL_TIM_IC_Stop:00000046 $d /tmp/cc0wMqvE.s:13373 .text.HAL_TIM_IC_Start_IT:00000000 $t /tmp/cc0wMqvE.s:13379 .text.HAL_TIM_IC_Start_IT:00000000 HAL_TIM_IC_Start_IT /tmp/cc0wMqvE.s:13401 .text.HAL_TIM_IC_Start_IT:0000000c $d /tmp/cc0wMqvE.s:13448 .text.HAL_TIM_IC_Start_IT:00000040 $d /tmp/cc0wMqvE.s:13557 .text.HAL_TIM_IC_Start_IT:000000c2 $d /tmp/cc0wMqvE.s:13741 .text.HAL_TIM_IC_Start_IT:00000198 $d /tmp/cc0wMqvE.s:13747 .text.HAL_TIM_IC_Stop_IT:00000000 $t /tmp/cc0wMqvE.s:13753 .text.HAL_TIM_IC_Stop_IT:00000000 HAL_TIM_IC_Stop_IT /tmp/cc0wMqvE.s:13778 .text.HAL_TIM_IC_Stop_IT:0000000e $d /tmp/cc0wMqvE.s:13874 .text.HAL_TIM_IC_Stop_IT:0000008c $d /tmp/cc0wMqvE.s:13955 .text.HAL_TIM_IC_Start_DMA:00000000 $t /tmp/cc0wMqvE.s:13961 .text.HAL_TIM_IC_Start_DMA:00000000 HAL_TIM_IC_Start_DMA /tmp/cc0wMqvE.s:13991 .text.HAL_TIM_IC_Start_DMA:00000014 $d /tmp/cc0wMqvE.s:14050 .text.HAL_TIM_IC_Start_DMA:0000005c $d /tmp/cc0wMqvE.s:14185 .text.HAL_TIM_IC_Start_DMA:000000f6 $d /tmp/cc0wMqvE.s:14509 .text.HAL_TIM_IC_Start_DMA:00000270 $d /tmp/cc0wMqvE.s:14518 .text.HAL_TIM_IC_Stop_DMA:00000000 $t /tmp/cc0wMqvE.s:14524 .text.HAL_TIM_IC_Stop_DMA:00000000 HAL_TIM_IC_Stop_DMA /tmp/cc0wMqvE.s:14557 .text.HAL_TIM_IC_Stop_DMA:00000016 $d /tmp/cc0wMqvE.s:14661 .text.HAL_TIM_IC_Stop_DMA:000000a2 $d /tmp/cc0wMqvE.s:14741 .text.HAL_TIM_OnePulse_Start:00000000 $t /tmp/cc0wMqvE.s:14747 .text.HAL_TIM_OnePulse_Start:00000000 HAL_TIM_OnePulse_Start /tmp/cc0wMqvE.s:14883 .text.HAL_TIM_OnePulse_Start:00000094 $d /tmp/cc0wMqvE.s:14888 .text.HAL_TIM_OnePulse_Stop:00000000 $t /tmp/cc0wMqvE.s:14894 .text.HAL_TIM_OnePulse_Stop:00000000 HAL_TIM_OnePulse_Stop /tmp/cc0wMqvE.s:15001 .text.HAL_TIM_OnePulse_Stop:00000090 $d /tmp/cc0wMqvE.s:15006 .text.HAL_TIM_OnePulse_Start_IT:00000000 $t /tmp/cc0wMqvE.s:15012 .text.HAL_TIM_OnePulse_Start_IT:00000000 HAL_TIM_OnePulse_Start_IT /tmp/cc0wMqvE.s:15161 .text.HAL_TIM_OnePulse_Start_IT:000000ac $d /tmp/cc0wMqvE.s:15166 .text.HAL_TIM_OnePulse_Stop_IT:00000000 $t /tmp/cc0wMqvE.s:15172 .text.HAL_TIM_OnePulse_Stop_IT:00000000 HAL_TIM_OnePulse_Stop_IT /tmp/cc0wMqvE.s:15289 .text.HAL_TIM_OnePulse_Stop_IT:000000a4 $d /tmp/cc0wMqvE.s:15294 .text.HAL_TIM_Encoder_Start:00000000 $t /tmp/cc0wMqvE.s:15300 .text.HAL_TIM_Encoder_Start:00000000 HAL_TIM_Encoder_Start /tmp/cc0wMqvE.s:15521 .text.HAL_TIM_Encoder_Stop:00000000 $t /tmp/cc0wMqvE.s:15527 .text.HAL_TIM_Encoder_Stop:00000000 HAL_TIM_Encoder_Stop /tmp/cc0wMqvE.s:15652 .text.HAL_TIM_Encoder_Start_IT:00000000 $t /tmp/cc0wMqvE.s:15658 .text.HAL_TIM_Encoder_Start_IT:00000000 HAL_TIM_Encoder_Start_IT /tmp/cc0wMqvE.s:15900 .text.HAL_TIM_Encoder_Stop_IT:00000000 $t /tmp/cc0wMqvE.s:15906 .text.HAL_TIM_Encoder_Stop_IT:00000000 HAL_TIM_Encoder_Stop_IT /tmp/cc0wMqvE.s:16052 .text.HAL_TIM_Encoder_Start_DMA:00000000 $t /tmp/cc0wMqvE.s:16058 .text.HAL_TIM_Encoder_Start_DMA:00000000 HAL_TIM_Encoder_Start_DMA /tmp/cc0wMqvE.s:16564 .text.HAL_TIM_Encoder_Start_DMA:00000230 $d /tmp/cc0wMqvE.s:16571 .text.HAL_TIM_Encoder_Stop_DMA:00000000 $t /tmp/cc0wMqvE.s:16577 .text.HAL_TIM_Encoder_Stop_DMA:00000000 HAL_TIM_Encoder_Stop_DMA /tmp/cc0wMqvE.s:3898 .text.HAL_TIM_ReadCapturedValue:00000015 $d /tmp/cc0wMqvE.s:3898 .text.HAL_TIM_ReadCapturedValue:00000016 $t /tmp/cc0wMqvE.s:5484 .text.HAL_TIM_GetChannelState:00000019 $d /tmp/cc0wMqvE.s:5484 .text.HAL_TIM_GetChannelState:0000001a $t /tmp/cc0wMqvE.s:6691 .text.HAL_TIM_OC_ConfigChannel:0000002f $d /tmp/cc0wMqvE.s:6691 .text.HAL_TIM_OC_ConfigChannel:00000030 $t /tmp/cc0wMqvE.s:6868 .text.HAL_TIM_PWM_ConfigChannel:00000035 $d /tmp/cc0wMqvE.s:6868 .text.HAL_TIM_PWM_ConfigChannel:00000036 $t /tmp/cc0wMqvE.s:9242 .text.HAL_TIM_OC_Start:0000001d $d ARM GAS /tmp/cc0wMqvE.s page 517 /tmp/cc0wMqvE.s:9242 .text.HAL_TIM_OC_Start:0000001e $t /tmp/cc0wMqvE.s:9277 .text.HAL_TIM_OC_Start:00000049 $d /tmp/cc0wMqvE.s:9277 .text.HAL_TIM_OC_Start:0000004a $t /tmp/cc0wMqvE.s:9595 .text.HAL_TIM_OC_Stop:00000093 $d /tmp/cc0wMqvE.s:9595 .text.HAL_TIM_OC_Stop:00000094 $t /tmp/cc0wMqvE.s:9675 .text.HAL_TIM_OC_Start_IT:0000001d $d /tmp/cc0wMqvE.s:9675 .text.HAL_TIM_OC_Start_IT:0000001e $t /tmp/cc0wMqvE.s:9710 .text.HAL_TIM_OC_Start_IT:0000004b $d /tmp/cc0wMqvE.s:9710 .text.HAL_TIM_OC_Start_IT:0000004c $t /tmp/cc0wMqvE.s:10016 .text.HAL_TIM_OC_Stop_IT:0000001d $d /tmp/cc0wMqvE.s:10016 .text.HAL_TIM_OC_Stop_IT:0000001e $t /tmp/cc0wMqvE.s:10152 .text.HAL_TIM_OC_Stop_IT:000000db $d /tmp/cc0wMqvE.s:10152 .text.HAL_TIM_OC_Stop_IT:000000dc $t /tmp/cc0wMqvE.s:10253 .text.HAL_TIM_OC_Start_DMA:00000021 $d /tmp/cc0wMqvE.s:10253 .text.HAL_TIM_OC_Start_DMA:00000022 $t /tmp/cc0wMqvE.s:10292 .text.HAL_TIM_OC_Start_DMA:0000004f $d /tmp/cc0wMqvE.s:10292 .text.HAL_TIM_OC_Start_DMA:00000050 $t /tmp/cc0wMqvE.s:10855 .text.HAL_TIM_OC_Stop_DMA:0000001d $d /tmp/cc0wMqvE.s:10855 .text.HAL_TIM_OC_Stop_DMA:0000001e $t /tmp/cc0wMqvE.s:11016 .text.HAL_TIM_OC_Stop_DMA:000000f3 $d /tmp/cc0wMqvE.s:11016 .text.HAL_TIM_OC_Stop_DMA:000000f4 $t /tmp/cc0wMqvE.s:11110 .text.HAL_TIM_PWM_Start:0000001d $d /tmp/cc0wMqvE.s:11110 .text.HAL_TIM_PWM_Start:0000001e $t /tmp/cc0wMqvE.s:11145 .text.HAL_TIM_PWM_Start:00000049 $d /tmp/cc0wMqvE.s:11145 .text.HAL_TIM_PWM_Start:0000004a $t /tmp/cc0wMqvE.s:11463 .text.HAL_TIM_PWM_Stop:00000093 $d /tmp/cc0wMqvE.s:11463 .text.HAL_TIM_PWM_Stop:00000094 $t /tmp/cc0wMqvE.s:11543 .text.HAL_TIM_PWM_Start_IT:0000001d $d /tmp/cc0wMqvE.s:11543 .text.HAL_TIM_PWM_Start_IT:0000001e $t /tmp/cc0wMqvE.s:11578 .text.HAL_TIM_PWM_Start_IT:0000004b $d /tmp/cc0wMqvE.s:11578 .text.HAL_TIM_PWM_Start_IT:0000004c $t /tmp/cc0wMqvE.s:11884 .text.HAL_TIM_PWM_Stop_IT:0000001d $d /tmp/cc0wMqvE.s:11884 .text.HAL_TIM_PWM_Stop_IT:0000001e $t /tmp/cc0wMqvE.s:12020 .text.HAL_TIM_PWM_Stop_IT:000000db $d /tmp/cc0wMqvE.s:12020 .text.HAL_TIM_PWM_Stop_IT:000000dc $t /tmp/cc0wMqvE.s:12121 .text.HAL_TIM_PWM_Start_DMA:00000021 $d /tmp/cc0wMqvE.s:12121 .text.HAL_TIM_PWM_Start_DMA:00000022 $t /tmp/cc0wMqvE.s:12160 .text.HAL_TIM_PWM_Start_DMA:0000004f $d /tmp/cc0wMqvE.s:12160 .text.HAL_TIM_PWM_Start_DMA:00000050 $t /tmp/cc0wMqvE.s:12723 .text.HAL_TIM_PWM_Stop_DMA:0000001d $d /tmp/cc0wMqvE.s:12723 .text.HAL_TIM_PWM_Stop_DMA:0000001e $t /tmp/cc0wMqvE.s:12884 .text.HAL_TIM_PWM_Stop_DMA:000000f3 $d /tmp/cc0wMqvE.s:12884 .text.HAL_TIM_PWM_Stop_DMA:000000f4 $t /tmp/cc0wMqvE.s:12977 .text.HAL_TIM_IC_Start:0000001d $d /tmp/cc0wMqvE.s:12977 .text.HAL_TIM_IC_Start:0000001e $t /tmp/cc0wMqvE.s:13025 .text.HAL_TIM_IC_Start:00000051 $d /tmp/cc0wMqvE.s:13025 .text.HAL_TIM_IC_Start:00000052 $t /tmp/cc0wMqvE.s:13318 .text.HAL_TIM_IC_Stop:00000053 $d /tmp/cc0wMqvE.s:13318 .text.HAL_TIM_IC_Stop:00000054 $t /tmp/cc0wMqvE.s:13418 .text.HAL_TIM_IC_Start_IT:0000001d $d /tmp/cc0wMqvE.s:13418 .text.HAL_TIM_IC_Start_IT:0000001e $t /tmp/cc0wMqvE.s:13466 .text.HAL_TIM_IC_Start_IT:00000051 $d /tmp/cc0wMqvE.s:13466 .text.HAL_TIM_IC_Start_IT:00000052 $t /tmp/cc0wMqvE.s:13570 .text.HAL_TIM_IC_Start_IT:000000cf $d /tmp/cc0wMqvE.s:13570 .text.HAL_TIM_IC_Start_IT:000000d0 $t /tmp/cc0wMqvE.s:13791 .text.HAL_TIM_IC_Stop_IT:0000001b $d /tmp/cc0wMqvE.s:13791 .text.HAL_TIM_IC_Stop_IT:0000001c $t ARM GAS /tmp/cc0wMqvE.s page 518 /tmp/cc0wMqvE.s:13887 .text.HAL_TIM_IC_Stop_IT:00000099 $d /tmp/cc0wMqvE.s:13887 .text.HAL_TIM_IC_Stop_IT:0000009a $t /tmp/cc0wMqvE.s:14008 .text.HAL_TIM_IC_Start_DMA:00000025 $d /tmp/cc0wMqvE.s:14008 .text.HAL_TIM_IC_Start_DMA:00000026 $t /tmp/cc0wMqvE.s:14068 .text.HAL_TIM_IC_Start_DMA:0000006d $d /tmp/cc0wMqvE.s:14068 .text.HAL_TIM_IC_Start_DMA:0000006e $t /tmp/cc0wMqvE.s:14199 .text.HAL_TIM_IC_Start_DMA:00000103 $d /tmp/cc0wMqvE.s:14199 .text.HAL_TIM_IC_Start_DMA:00000104 $t /tmp/cc0wMqvE.s:14570 .text.HAL_TIM_IC_Stop_DMA:00000023 $d /tmp/cc0wMqvE.s:14570 .text.HAL_TIM_IC_Stop_DMA:00000024 $t /tmp/cc0wMqvE.s:14674 .text.HAL_TIM_IC_Stop_DMA:000000af $d /tmp/cc0wMqvE.s:14674 .text.HAL_TIM_IC_Stop_DMA:000000b0 $t UNDEFINED SYMBOLS HAL_DMA_Start_IT HAL_DMA_Abort_IT TIMEx_DMACommutationCplt TIMEx_DMACommutationHalfCplt HAL_TIMEx_BreakCallback HAL_TIMEx_Break2Callback HAL_TIMEx_CommutCallback HAL_TIMEx_EncoderIndexCallback HAL_TIMEx_DirectionChangeCallback HAL_TIMEx_IndexErrorCallback HAL_TIMEx_TransitionErrorCallback