ARM GAS /tmp/ccGjXOU1.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/ccGjXOU1.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/ccGjXOU1.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/ccGjXOU1.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/ccGjXOU1.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, const TIM_OC_InitTypeDef *OC_Config); 221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_OC5_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); 224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_OC6_SetConfig(TIM_TypeDef *TIMx, const 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 **** const 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/ccGjXOU1.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_PERIOD(htim, htim->Init.Period)); 294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_RESET) 297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Allocate lock resource and initialize it */ 299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Lock = HAL_UNLOCKED; 300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset interrupt callbacks to legacy weak callbacks */ 303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ResetCallback(htim); 304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->Base_MspInitCallback == NULL) 306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Base_MspInitCallback = HAL_TIM_Base_MspInit; 308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */ 310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Base_MspInitCallback(htim); 311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */ 313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_Base_MspInit(htim); 314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/ccGjXOU1.s page 7 316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM state */ 318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Time Base configuration */ 321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_Base_SetConfig(htim->Instance, &htim->Init); 322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the DMA burst operation state */ 324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY; 325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the TIM channels state */ 327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the TIM state*/ 331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 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 **** /** 337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief DeInitializes the TIM Base peripheral 338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Base handle 339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Base_DeInit(TIM_HandleTypeDef *htim) 342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Peripheral Clock */ 349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->Base_MspDeInitCallback == NULL) 353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Base_MspDeInitCallback = HAL_TIM_Base_MspDeInit; 355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* DeInit the low level hardware */ 357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Base_MspDeInitCallback(htim); 358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC */ 360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_Base_MspDeInit(htim); 361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the DMA burst operation state */ 364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_RESET; 365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the TIM channels state */ 367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change TIM state */ 371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_RESET; 372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 8 373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Release Lock */ 374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 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 **** /** 380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM Base MSP. 381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Base handle 382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_Base_MspInit(TIM_HandleTypeDef *htim) 385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_Base_MspInit could be implemented in the user file 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 **** /** 395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief DeInitializes TIM Base MSP. 396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Base handle 397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef *htim) 400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_Base_MspDeInit could be implemented in the user file 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 **** /** 411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM Base generation. 412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Base handle 413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Base_Start(TIM_HandleTypeDef *htim) 416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM state */ 423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->State != HAL_TIM_STATE_READY) 424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM state */ 429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; ARM GAS /tmp/ccGjXOU1.s page 9 430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 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 **** /** 450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM Base generation. 451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Base handle 452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Base_Stop(TIM_HandleTypeDef *htim) 455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM state */ 463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 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 **** /** 470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM Base generation in interrupt mode. 471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Base handle 472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Base_Start_IT(TIM_HandleTypeDef *htim) 475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM state */ 482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->State != HAL_TIM_STATE_READY) 483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 10 487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM state */ 488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Update interrupt */ 491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_UPDATE); 492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger 494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 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 **** /** 512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM Base generation in interrupt mode. 513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Base handle 514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Base_Stop_IT(TIM_HandleTypeDef *htim) 517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Update interrupt */ 522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_UPDATE); 523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM state */ 528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 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 **** /** 535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM Base generation in DMA mode. 536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Base handle 537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param pData The source Buffer address. 538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Length The length of data to be transferred from memory to peripheral. 539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Base_Start_DMA(TIM_HandleTypeDef *htim, const uint32_t *pData, uint16_t L 542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; ARM GAS /tmp/ccGjXOU1.s page 11 544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_INSTANCE(htim->Instance)); 547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM state */ 549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_BUSY) 550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_BUSY; 552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (htim->State == HAL_TIM_STATE_READY) 554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((pData == NULL) || (Length == 0U)) 556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA Period elapsed callbacks */ 570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferCpltCallback = TIM_DMAPeriodElapsedCplt; 571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferErrorCallback = TIM_DMAError ; 575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 577: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 578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Update DMA request */ 585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_UPDATE); 586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger 588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 12 601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 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 **** /** 606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM Base generation in DMA mode. 607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Base handle 608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Base_Stop_DMA(TIM_HandleTypeDef *htim) 611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_INSTANCE(htim->Instance)); 614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Update DMA request */ 616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_UPDATE); 617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_UPDATE]); 619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM state */ 624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 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 **** 634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group2 TIM Output Compare functions 635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM Output Compare functions 636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * 637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @verbatim 638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ##### TIM Output Compare functions ##### 640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** This section provides functions allowing to: 643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Initialize and configure the TIM Output Compare. 644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) De-initialize the TIM Output Compare. 645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM Output Compare. 646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM Output Compare. 647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM Output Compare and enable interrupt. 648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM Output Compare and disable interrupt. 649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM Output Compare and enable DMA transfer. 650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM Output Compare and disable DMA transfer. 651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @endverbatim 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 **** /** 656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM Output Compare according to the specified 657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * parameters in the TIM_HandleTypeDef and initializes the associated handle. ARM GAS /tmp/ccGjXOU1.s page 13 658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note Switching from Center Aligned counter mode to Edge counter mode (or reverse) 659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * requires a timer reset to avoid unexpected direction 660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * due to DIR bit readonly in center aligned mode. 661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * Ex: call @ref HAL_TIM_OC_DeInit() before HAL_TIM_OC_Init() 662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Output Compare handle 663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_Init(TIM_HandleTypeDef *htim) 666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim == NULL) 669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_PERIOD(htim, htim->Init.Period)); 678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_RESET) 681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Allocate lock resource and initialize it */ 683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Lock = HAL_UNLOCKED; 684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset interrupt callbacks to legacy weak callbacks */ 687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ResetCallback(htim); 688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->OC_MspInitCallback == NULL) 690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_MspInitCallback = HAL_TIM_OC_MspInit; 692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */ 694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_MspInitCallback(htim); 695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC and DMA */ 697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_OC_MspInit(htim); 698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM state */ 702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the base time for the Output Compare */ 705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_Base_SetConfig(htim->Instance, &htim->Init); 706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the DMA burst operation state */ 708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY; 709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the TIM channels state */ 711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the TIM state*/ ARM GAS /tmp/ccGjXOU1.s page 14 715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief DeInitializes the TIM peripheral 722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Output Compare handle 723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_DeInit(TIM_HandleTypeDef *htim) 726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Peripheral Clock */ 733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->OC_MspDeInitCallback == NULL) 737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_MspDeInitCallback = HAL_TIM_OC_MspDeInit; 739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* DeInit the low level hardware */ 741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_MspDeInitCallback(htim); 742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC and DMA */ 744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_OC_MspDeInit(htim); 745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the DMA burst operation state */ 748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_RESET; 749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the TIM channels state */ 751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change TIM state */ 755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_RESET; 756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Release Lock */ 758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM Output Compare MSP. 765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Output Compare handle 766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_OC_MspInit(TIM_HandleTypeDef *htim) 769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); ARM GAS /tmp/ccGjXOU1.s page 15 772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_OC_MspInit could be implemented in the user file 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 **** 778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief DeInitializes TIM Output Compare MSP. 780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Output Compare handle 781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_OC_MspDeInit(TIM_HandleTypeDef *htim) 784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_OC_MspDeInit could be implemented in the user file 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 **** 793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM Output Compare signal generation. 795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Output Compare handle 796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channel to be enabled 797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_5: TIM Channel 5 selected 803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_6: TIM Channel 6 selected 804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_Start(TIM_HandleTypeDef *htim, uint32_t Channel) 807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); 812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM channel state */ 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (TIM_CHANNEL_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY) 815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Output compare channel */ 823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); 824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the main output */ 828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_ENABLE(htim); ARM GAS /tmp/ccGjXOU1.s page 16 829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM Output Compare signal generation. 851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Output Compare handle 852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channel to be disabled 853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_5: TIM Channel 5 selected 859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_6: TIM Channel 6 selected 860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_Stop(TIM_HandleTypeDef *htim, uint32_t Channel) 863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); 866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Output compare channel */ 868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); 869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Main Output */ 873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_DISABLE(htim); 874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 17 886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM Output Compare signal generation in interrupt mode. 888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Output Compare handle 889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channel to be enabled 890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel) 898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_CHANNEL(htim->Instance, Channel)); 904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM channel state */ 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (TIM_CHANNEL_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY) 907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 1 interrupt */ 919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 2 interrupt */ 926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 3 interrupt */ 933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC3); 934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 4 interrupt */ 940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC4); 941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/ccGjXOU1.s page 18 943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Output compare channel */ 952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); 953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the main output */ 957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_ENABLE(htim); 958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigge 961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM Output Compare signal generation in interrupt mode. 981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Output Compare handle 982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channel to be disabled 983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel) 991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_CHANNEL(htim->Instance, Channel)); 996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: ARM GAS /tmp/ccGjXOU1.s page 19 1000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 1 interrupt */ 1002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1); 1003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 1007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 2 interrupt */ 1009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2); 1010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 1014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 3 interrupt */ 1016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC3); 1017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 1021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 4 interrupt */ 1023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC4); 1024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 1028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 1029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 1033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Output compare channel */ 1035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); 1036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Main Output */ 1040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_DISABLE(htim); 1041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 1044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 1045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 1047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 1048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 1051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 1052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM Output Compare signal generation in DMA mode. 1056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Output Compare handle ARM GAS /tmp/ccGjXOU1.s page 20 1057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channel to be enabled 1058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 1059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param pData The source Buffer address. 1064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Length The length of data to be transferred from memory to TIM peripheral 1065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 1066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *p 1068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint16_t Length) 1069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 1071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 1072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_CHANNEL(htim->Instance, Channel)); 1075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (TIM_CHANNEL_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_BUSY) 1078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_BUSY; 1080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (TIM_CHANNEL_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_READY) 1082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((pData == NULL) || (Length == 0U)) 1084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 1088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 1090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 1093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 1098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 1100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA compare callbacks */ 1102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMADelayPulseCplt; 1103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 1106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ; 1107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 1109: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-> 1110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 1113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; ARM GAS /tmp/ccGjXOU1.s page 21 1114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 1 DMA request */ 1117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1); 1118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 1122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA compare callbacks */ 1124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMADelayPulseCplt; 1125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 1128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAError ; 1129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 1131: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-> 1132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 1135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 2 DMA request */ 1139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2); 1140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 1144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA compare callbacks */ 1146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferCpltCallback = TIM_DMADelayPulseCplt; 1147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 1150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferErrorCallback = TIM_DMAError ; 1151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 1153: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-> 1154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 1157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 3 DMA request */ 1160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC3); 1161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 1165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA compare callbacks */ 1167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferCpltCallback = TIM_DMADelayPulseCplt; 1168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ ARM GAS /tmp/ccGjXOU1.s page 22 1171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferErrorCallback = TIM_DMAError ; 1172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 1174: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-> 1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 1178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 4 DMA request */ 1181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC4); 1182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 1186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 1187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 1191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Output compare channel */ 1193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); 1194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 1196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the main output */ 1198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_ENABLE(htim); 1199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigge 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 1203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 1205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 1208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 1211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 1213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 1217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 1218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM Output Compare signal generation in DMA mode. 1222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Output Compare handle 1223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channel to be disabled 1224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 1225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected ARM GAS /tmp/ccGjXOU1.s page 23 1228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 1230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel) 1232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 1234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_CHANNEL(htim->Instance, Channel)); 1237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 1239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 1241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 1 DMA request */ 1243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1); 1244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 1245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 1249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 2 DMA request */ 1251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2); 1252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 1253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 1257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 3 DMA request */ 1259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC3); 1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 1261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 1265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 4 interrupt */ 1267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC4); 1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 1269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 1273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 1274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 1278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Output compare channel */ 1280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); 1281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 1283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Main Output */ ARM GAS /tmp/ccGjXOU1.s page 24 1285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_DISABLE(htim); 1286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 1289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 1290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 1292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 1293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 1296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 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 **** * @} 1301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group3 TIM PWM functions 1304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM PWM functions 1305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * 1306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @verbatim 1307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 1308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ##### TIM PWM functions ##### 1309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 1310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 1311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** This section provides functions allowing to: 1312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Initialize and configure the TIM PWM. 1313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) De-initialize the TIM PWM. 1314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM PWM. 1315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM PWM. 1316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM PWM and enable interrupt. 1317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM PWM and disable interrupt. 1318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM PWM and enable DMA transfer. 1319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM PWM and disable DMA transfer. 1320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @endverbatim 1322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @{ 1323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM PWM Time Base according to the specified 1326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * parameters in the TIM_HandleTypeDef and initializes the associated handle. 1327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note Switching from Center Aligned counter mode to Edge counter mode (or reverse) 1328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * requires a timer reset to avoid unexpected direction 1329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * due to DIR bit readonly in center aligned mode. 1330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * Ex: call @ref HAL_TIM_PWM_DeInit() before HAL_TIM_PWM_Init() 1331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM PWM handle 1332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 1333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_Init(TIM_HandleTypeDef *htim) 1335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 1337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim == NULL) 1338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 25 1342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 1344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 1345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 1346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_PERIOD(htim, htim->Init.Period)); 1347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 1348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_RESET) 1350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Allocate lock resource and initialize it */ 1352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Lock = HAL_UNLOCKED; 1353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 1355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset interrupt callbacks to legacy weak callbacks */ 1356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ResetCallback(htim); 1357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->PWM_MspInitCallback == NULL) 1359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_MspInitCallback = HAL_TIM_PWM_MspInit; 1361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */ 1363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_MspInitCallback(htim); 1364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 1365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC and DMA */ 1366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_MspInit(htim); 1367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 1368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM state */ 1371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 1372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the base time for the PWM */ 1374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_Base_SetConfig(htim->Instance, &htim->Init); 1375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the DMA burst operation state */ 1377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_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 channels state */ 1380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 1381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 1382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the TIM state*/ 1384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 1385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 1387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief DeInitializes the TIM peripheral 1391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM PWM handle 1392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 1393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_DeInit(TIM_HandleTypeDef *htim) 1395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 1398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 26 1399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 1400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Peripheral Clock */ 1402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 1403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 1405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->PWM_MspDeInitCallback == NULL) 1406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_MspDeInitCallback = HAL_TIM_PWM_MspDeInit; 1408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* DeInit the low level hardware */ 1410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_MspDeInitCallback(htim); 1411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 1412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC and DMA */ 1413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_MspDeInit(htim); 1414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 1415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the DMA burst operation state */ 1417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_RESET; 1418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the TIM channels state */ 1420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 1421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 1422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change TIM state */ 1424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_RESET; 1425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Release Lock */ 1427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 1428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 1430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM PWM MSP. 1434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM PWM handle 1435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 1436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_PWM_MspInit(TIM_HandleTypeDef *htim) 1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 1440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 1441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 1443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_PWM_MspInit could be implemented in the user file 1444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief DeInitializes TIM PWM MSP. 1449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM PWM handle 1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 1451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_PWM_MspDeInit(TIM_HandleTypeDef *htim) 1453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 1455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); ARM GAS /tmp/ccGjXOU1.s page 27 1456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 1458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_PWM_MspDeInit could be implemented in the user file 1459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the PWM signal generation. 1464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 1465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be enabled 1466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 1467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_5: TIM Channel 5 selected 1472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_6: TIM Channel 6 selected 1473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 1474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_Start(TIM_HandleTypeDef *htim, uint32_t Channel) 1476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 1478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); 1481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM channel state */ 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (TIM_CHANNEL_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY) 1484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 1489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 1490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Capture compare channel */ 1492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); 1493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 1495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the main output */ 1497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_ENABLE(htim); 1498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger 1501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 1502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 1504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 1507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 1510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 1512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/ccGjXOU1.s page 28 1513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 1515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 1516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the PWM signal generation. 1520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM PWM handle 1521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be disabled 1522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 1523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_5: TIM Channel 5 selected 1528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_6: TIM Channel 6 selected 1529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 1530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_Stop(TIM_HandleTypeDef *htim, uint32_t Channel) 1532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); 1535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Capture compare channel */ 1537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); 1538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 1540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Main Output */ 1542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_DISABLE(htim); 1543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 1546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 1547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 1550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 1552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 1553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the PWM signal generation in interrupt mode. 1557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM PWM handle 1558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channel to be enabled 1559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 1560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 1565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel) 1567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 1569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; ARM GAS /tmp/ccGjXOU1.s page 29 1570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_CHANNEL(htim->Instance, Channel)); 1573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM channel state */ 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (TIM_CHANNEL_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY) 1576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 1581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 1582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 1584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 1586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 1 interrupt */ 1588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 1589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 1593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 2 interrupt */ 1595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 1596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 1600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 3 interrupt */ 1602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC3); 1603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 1607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 4 interrupt */ 1609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC4); 1610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 1614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 1615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 1619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Capture compare channel */ 1621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); 1622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 1624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the main output */ 1626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_ENABLE(htim); ARM GAS /tmp/ccGjXOU1.s page 30 1627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigge 1630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 1631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 1633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 1636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 1639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 1641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 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 **** /* Return function status */ 1645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 1646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the PWM signal generation in interrupt mode. 1650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM PWM handle 1651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be disabled 1652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 1653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 1658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel) 1660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 1662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_CHANNEL(htim->Instance, Channel)); 1665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 1667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 1669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 1 interrupt */ 1671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1); 1672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 1676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 2 interrupt */ 1678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2); 1679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 1683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 31 1684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 3 interrupt */ 1685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC3); 1686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 1690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 4 interrupt */ 1692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC4); 1693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 1697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 1698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 1702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Capture compare channel */ 1704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); 1705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 1707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Main Output */ 1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_DISABLE(htim); 1710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 1713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 1714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 1716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 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 **** /* Return function status */ 1720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 1721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM PWM signal generation in DMA mode. 1725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM PWM handle 1726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be enabled 1727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 1728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param pData The source Buffer address. 1733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Length The length of data to be transferred from memory to TIM peripheral 1734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 1735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t * 1737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint16_t Length) 1738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 1740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; ARM GAS /tmp/ccGjXOU1.s page 32 1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_CHANNEL(htim->Instance, Channel)); 1744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (TIM_CHANNEL_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_BUSY) 1747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_BUSY; 1749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (TIM_CHANNEL_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_READY) 1751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((pData == NULL) || (Length == 0U)) 1753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 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 **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 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 **** else 1762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 1767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 1769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA compare callbacks */ 1771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMADelayPulseCplt; 1772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 1775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ; 1776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 1778: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-> 1779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 1782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 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 **** /* Enable the TIM Capture/Compare 1 DMA request */ 1786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1); 1787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 1791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA compare callbacks */ 1793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMADelayPulseCplt; 1794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 1797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAError ; ARM GAS /tmp/ccGjXOU1.s page 33 1798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 1800: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-> 1801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 1804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 2 DMA request */ 1807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2); 1808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 1812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA compare callbacks */ 1814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferCpltCallback = TIM_DMADelayPulseCplt; 1815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 1818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferErrorCallback = TIM_DMAError ; 1819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 1821: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-> 1822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 1825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Output Capture/Compare 3 request */ 1828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC3); 1829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 1833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA compare callbacks */ 1835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferCpltCallback = TIM_DMADelayPulseCplt; 1836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 1837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 1839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferErrorCallback = TIM_DMAError ; 1840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 1842: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-> 1843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 1846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 1847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 4 DMA request */ 1849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC4); 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 **** default: 1854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; ARM GAS /tmp/ccGjXOU1.s page 34 1855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 1859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Capture compare channel */ 1861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); 1862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 1864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the main output */ 1866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_ENABLE(htim); 1867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigge 1870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 1871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 1873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 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 **** else 1879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 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 **** /* Return function status */ 1885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 1886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM PWM signal generation in DMA mode. 1890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM PWM handle 1891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be disabled 1892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 1893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 1894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 1895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 1896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 1897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 1898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel) 1900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 1902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_CHANNEL(htim->Instance, Channel)); 1905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 1907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 1909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 1 DMA request */ 1911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1); ARM GAS /tmp/ccGjXOU1.s page 35 1912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 1913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 1917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 2 DMA request */ 1919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2); 1920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 1921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 1925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 3 DMA request */ 1927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC3); 1928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 1929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 1933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 4 interrupt */ 1935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC4); 1936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 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 **** default: 1941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 1942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 1943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 1946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Capture compare channel */ 1948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); 1949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 1951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Main Output */ 1953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_DISABLE(htim); 1954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 1957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 1958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 1960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 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 **** /* Return function status */ 1964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 1965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @} ARM GAS /tmp/ccGjXOU1.s page 36 1969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group4 TIM Input Capture functions 1972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM Input Capture functions 1973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * 1974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @verbatim 1975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 1976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ##### TIM Input Capture functions ##### 1977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 1978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 1979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** This section provides functions allowing to: 1980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Initialize and configure the TIM Input Capture. 1981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) De-initialize the TIM Input Capture. 1982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM Input Capture. 1983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM Input Capture. 1984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM Input Capture and enable interrupt. 1985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM Input Capture and disable interrupt. 1986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM Input Capture and enable DMA transfer. 1987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM Input Capture and disable DMA transfer. 1988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @endverbatim 1990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @{ 1991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 1992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 1993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM Input Capture Time base according to the specified 1994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * parameters in the TIM_HandleTypeDef and initializes the associated handle. 1995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note Switching from Center Aligned counter mode to Edge counter mode (or reverse) 1996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * requires a timer reset to avoid unexpected direction 1997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * due to DIR bit readonly in center aligned mode. 1998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * Ex: call @ref HAL_TIM_IC_DeInit() before HAL_TIM_IC_Init() 1999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Input Capture handle 2000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 2001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_Init(TIM_HandleTypeDef *htim) 2003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 2005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim == NULL) 2006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 2008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 2012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 2013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 2014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_PERIOD(htim, htim->Init.Period)); 2015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 2016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_RESET) 2018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Allocate lock resource and initialize it */ 2020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Lock = HAL_UNLOCKED; 2021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 2023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset interrupt callbacks to legacy weak callbacks */ 2024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ResetCallback(htim); 2025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 37 2026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->IC_MspInitCallback == NULL) 2027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_MspInitCallback = HAL_TIM_IC_MspInit; 2029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */ 2031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_MspInitCallback(htim); 2032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 2033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC and DMA */ 2034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_IC_MspInit(htim); 2035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM state */ 2039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 2040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the base time for the input capture */ 2042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_Base_SetConfig(htim->Instance, &htim->Init); 2043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the DMA burst operation state */ 2045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY; 2046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the TIM channels state */ 2048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 2049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 2050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the TIM state*/ 2052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 2053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 2055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief DeInitializes the TIM peripheral 2059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Input Capture handle 2060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 2061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_DeInit(TIM_HandleTypeDef *htim) 2063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 2066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 2068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Peripheral Clock */ 2070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 2071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 2073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->IC_MspDeInitCallback == NULL) 2074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_MspDeInitCallback = HAL_TIM_IC_MspDeInit; 2076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* DeInit the low level hardware */ 2078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_MspDeInitCallback(htim); 2079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 2080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC and DMA */ 2081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_IC_MspDeInit(htim); 2082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ ARM GAS /tmp/ccGjXOU1.s page 38 2083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the DMA burst operation state */ 2085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_RESET; 2086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the TIM channels state */ 2088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change TIM state */ 2092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_RESET; 2093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Release Lock */ 2095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 2096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 2098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM Input Capture MSP. 2102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Input Capture handle 2103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 2104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_IC_MspInit(TIM_HandleTypeDef *htim) 2106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 2109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 2111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_IC_MspInit could be implemented in the user file 2112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief DeInitializes TIM Input Capture MSP. 2117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 2118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 2119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_IC_MspDeInit(TIM_HandleTypeDef *htim) 2121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 2124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 2126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_IC_MspDeInit could be implemented in the user file 2127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM Input Capture measurement. 2132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Input Capture handle 2133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be enabled 2134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 2135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 2136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 2137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 2138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 2139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status ARM GAS /tmp/ccGjXOU1.s page 39 2140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_Start(TIM_HandleTypeDef *htim, uint32_t Channel) 2142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_state = TIM_CHANNEL_STATE_GET(htim, Channel); 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 2146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_CHANNEL(htim->Instance, Channel)); 2149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM channel state */ 2151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_state != HAL_TIM_CHANNEL_STATE_READY) 2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_state != HAL_TIM_CHANNEL_STATE_READY)) 2153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 2155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 2158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 2160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Input Capture channel */ 2162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); 2163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger 2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 2166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 2168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 2169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 2171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 2174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 2176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 2179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 2180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM Input Capture measurement. 2184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Input Capture handle 2185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be disabled 2186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 2187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 2188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 2189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 2190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 2191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 2192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_Stop(TIM_HandleTypeDef *htim, uint32_t Channel) 2194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_CHANNEL(htim->Instance, Channel)); ARM GAS /tmp/ccGjXOU1.s page 40 2197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Input Capture channel */ 2199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); 2200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 2202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 2203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 2205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 2207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 2209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 2210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM Input Capture measurement in interrupt mode. 2214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Input Capture handle 2215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be enabled 2216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 2217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 2218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 2219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 2220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 2221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 2222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel) 2224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 2226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 2227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_state = TIM_CHANNEL_STATE_GET(htim, Channel); 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 2230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_CHANNEL(htim->Instance, Channel)); 2233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM channel state */ 2235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_state != HAL_TIM_CHANNEL_STATE_READY) 2236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_state != HAL_TIM_CHANNEL_STATE_READY)) 2237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 2239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 2242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 2244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 2246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 2248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 1 interrupt */ 2250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 2251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 41 2254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 2255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 2 interrupt */ 2257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 2258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 2262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 3 interrupt */ 2264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC3); 2265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 2269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 4 interrupt */ 2271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC4); 2272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 2276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 2277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 2281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Input Capture channel */ 2283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); 2284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigge 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 2287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 2289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 2290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 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 **** else 2295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 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 **** 2300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 2301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 2302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM Input Capture measurement in interrupt mode. 2306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Input Capture handle 2307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be disabled 2308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 2309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 2310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected ARM GAS /tmp/ccGjXOU1.s page 42 2311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 2312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 2313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 2314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel) 2316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 2318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_CHANNEL(htim->Instance, Channel)); 2321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 2323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 2325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 1 interrupt */ 2327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1); 2328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 2332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 2 interrupt */ 2334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2); 2335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 2339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 3 interrupt */ 2341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC3); 2342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 2346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 4 interrupt */ 2348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC4); 2349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 2353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 2354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 2358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Input Capture channel */ 2360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); 2361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 2363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 2364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); ARM GAS /tmp/ccGjXOU1.s page 43 2368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 2371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 2372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM Input Capture measurement in DMA mode. 2376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Input Capture handle 2377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be enabled 2378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 2379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 2380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 2381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 2382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 2383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param pData The destination Buffer address. 2384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Length The length of data to be transferred from TIM peripheral to memory. 2385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 2386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2387: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, 2388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 2390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 2391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_state = TIM_CHANNEL_STATE_GET(htim, Channel); 2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 2394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_CHANNEL(htim->Instance, Channel)); 2397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_CC_INSTANCE(htim->Instance)); 2398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 2400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_state == HAL_TIM_CHANNEL_STATE_BUSY) 2401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_state == HAL_TIM_CHANNEL_STATE_BUSY)) 2402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_BUSY; 2404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if ((channel_state == HAL_TIM_CHANNEL_STATE_READY) 2406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_state == HAL_TIM_CHANNEL_STATE_READY)) 2407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((pData == NULL) || (Length == 0U)) 2409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 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 **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 2416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 2419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 2421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Input Capture channel */ 2424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); ARM GAS /tmp/ccGjXOU1.s page 44 2425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 2427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 2429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA capture callbacks */ 2431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMACaptureCplt; 2432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 2433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 2435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ; 2436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 2438: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 2439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 2440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 2442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 2443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 1 DMA request */ 2445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1); 2446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 2450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA capture callbacks */ 2452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMACaptureCplt; 2453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 2454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 2456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAError ; 2457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 2459: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 2460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 2461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 2463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 2464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 2 DMA request */ 2466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2); 2467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 2471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA capture callbacks */ 2473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferCpltCallback = TIM_DMACaptureCplt; 2474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 2475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 2477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferErrorCallback = TIM_DMAError ; 2478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 2480: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 2481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) ARM GAS /tmp/ccGjXOU1.s page 45 2482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 2484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 2485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 3 DMA request */ 2487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC3); 2488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 2492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA capture callbacks */ 2494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferCpltCallback = TIM_DMACaptureCplt; 2495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 2496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 2498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferErrorCallback = TIM_DMAError ; 2499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 2501: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 2502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 2503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 2505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 2506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 4 DMA request */ 2508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC4); 2509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 2513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 2514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger 2518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) 2519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; 2521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 2522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 2524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 2527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 2529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 2532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 2533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM Input Capture measurement in DMA mode. 2537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Input Capture handle 2538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be disabled ARM GAS /tmp/ccGjXOU1.s page 46 2539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 2540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 2541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 2542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 2543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 2544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 2545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel) 2547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 2549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_CHANNEL(htim->Instance, Channel)); 2552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_CC_INSTANCE(htim->Instance)); 2553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Input Capture channel */ 2555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); 2556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 2558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 2560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 1 DMA request */ 2562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1); 2563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 2564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 2568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 2 DMA request */ 2570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2); 2571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 2572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 2576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 3 DMA request */ 2578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC3); 2579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 2580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 2584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 4 DMA request */ 2586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC4); 2587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 2588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 2592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 2593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 2594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 47 2596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 2597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 2599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 2600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 2602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 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 **** /* Return function status */ 2607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 2608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @} 2611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group5 TIM One Pulse functions 2614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM One Pulse functions 2615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * 2616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @verbatim 2617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 2618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ##### TIM One Pulse functions ##### 2619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 2620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 2621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** This section provides functions allowing to: 2622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Initialize and configure the TIM One Pulse. 2623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) De-initialize the TIM One Pulse. 2624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM One Pulse. 2625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM One Pulse. 2626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM One Pulse and enable interrupt. 2627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM One Pulse and disable interrupt. 2628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM One Pulse and enable DMA transfer. 2629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM One Pulse and disable DMA transfer. 2630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @endverbatim 2632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @{ 2633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM One Pulse Time Base according to the specified 2636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * parameters in the TIM_HandleTypeDef and initializes the associated handle. 2637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note Switching from Center Aligned counter mode to Edge counter mode (or reverse) 2638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * requires a timer reset to avoid unexpected direction 2639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * due to DIR bit readonly in center aligned mode. 2640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * Ex: call @ref HAL_TIM_OnePulse_DeInit() before HAL_TIM_OnePulse_Init() 2641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note When the timer instance is initialized in One Pulse mode, timer 2642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * channels 1 and channel 2 are reserved and cannot be used for other 2643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * purpose. 2644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM One Pulse handle 2645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param OnePulseMode Select the One pulse mode. 2646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 2647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_OPMODE_SINGLE: Only one pulse will be generated. 2648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_OPMODE_REPETITIVE: Repetitive pulses will be generated. 2649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 2650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OnePulse_Init(TIM_HandleTypeDef *htim, uint32_t OnePulseMode) 2652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 48 2653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 2654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim == NULL) 2655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 2657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 2661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 2662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 2663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OPM_MODE(OnePulseMode)); 2664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_PERIOD(htim, htim->Init.Period)); 2665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 2666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_RESET) 2668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Allocate lock resource and initialize it */ 2670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Lock = HAL_UNLOCKED; 2671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 2673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset interrupt callbacks to legacy weak callbacks */ 2674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ResetCallback(htim); 2675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->OnePulse_MspInitCallback == NULL) 2677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OnePulse_MspInitCallback = HAL_TIM_OnePulse_MspInit; 2679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */ 2681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OnePulse_MspInitCallback(htim); 2682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 2683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC and DMA */ 2684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_OnePulse_MspInit(htim); 2685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM state */ 2689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 2690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Time base in the One Pulse Mode */ 2692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_Base_SetConfig(htim->Instance, &htim->Init); 2693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the OPM Bit */ 2695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CR1 &= ~TIM_CR1_OPM; 2696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the OPM Mode */ 2698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CR1 |= OnePulseMode; 2699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the DMA burst operation state */ 2701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY; 2702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the TIM channels state */ 2704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 2705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 2706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 2707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 2708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the TIM state*/ ARM GAS /tmp/ccGjXOU1.s page 49 2710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 2711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 2713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief DeInitializes the TIM One Pulse 2717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM One Pulse handle 2718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 2719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OnePulse_DeInit(TIM_HandleTypeDef *htim) 2721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 2724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 2726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Peripheral Clock */ 2728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 2729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 2731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->OnePulse_MspDeInitCallback == NULL) 2732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OnePulse_MspDeInitCallback = HAL_TIM_OnePulse_MspDeInit; 2734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* DeInit the low level hardware */ 2736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OnePulse_MspDeInitCallback(htim); 2737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 2738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC */ 2739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_OnePulse_MspDeInit(htim); 2740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the DMA burst operation state */ 2743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_RESET; 2744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel state */ 2746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET); 2747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET); 2748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET); 2749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET); 2750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change TIM state */ 2752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_RESET; 2753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Release Lock */ 2755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 2756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 2758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM One Pulse MSP. 2762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM One Pulse handle 2763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 2764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_OnePulse_MspInit(TIM_HandleTypeDef *htim) 2766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 50 2767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 2769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 2771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_OnePulse_MspInit could be implemented in the user file 2772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief DeInitializes TIM One Pulse MSP. 2777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM One Pulse handle 2778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 2779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_OnePulse_MspDeInit(TIM_HandleTypeDef *htim) 2781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 2784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 2786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_OnePulse_MspDeInit could be implemented in the user file 2787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM One Pulse signal generation. 2792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note Though OutputChannel parameter is deprecated and ignored by the function 2793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * it has been kept to avoid HAL_TIM API compatibility break. 2794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note The pulse output channel is determined when calling 2795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @ref HAL_TIM_OnePulse_ConfigChannel(). 2796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM One Pulse handle 2797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param OutputChannel See note above 2798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 2799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OnePulse_Start(TIM_HandleTypeDef *htim, uint32_t OutputChannel) 2801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 2803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 2804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 2805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 2806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(OutputChannel); 2809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM channels state */ 2811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 2812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 2813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 2814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 2815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 2817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channels state */ 2820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 2821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 2822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 2823: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/ccGjXOU1.s page 51 2824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Capture compare and the Input Capture channels 2826: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 2827: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 2828: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 2829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** whatever the combination, the TIM_CHANNEL_1 and TIM_CHANNEL_2 should be enabled together 2830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** No need to enable the counter, it's enabled automatically by hardware 2832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (the counter starts in response to a stimulus and generate a pulse */ 2833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); 2835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 2836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 2838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the main output */ 2840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_ENABLE(htim); 2841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 2844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 2845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM One Pulse signal generation. 2849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note Though OutputChannel parameter is deprecated and ignored by the function 2850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * it has been kept to avoid HAL_TIM API compatibility break. 2851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note The pulse output channel is determined when calling 2852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @ref HAL_TIM_OnePulse_ConfigChannel(). 2853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM One Pulse handle 2854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param OutputChannel See note above 2855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 2856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OnePulse_Stop(TIM_HandleTypeDef *htim, uint32_t OutputChannel) 2858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(OutputChannel); 2861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Capture compare and the Input Capture channels 2863: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) 2864: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 2865: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 2866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** whatever the combination, the TIM_CHANNEL_1 and TIM_CHANNEL_2 should be disabled together */ 2867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE); 2869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 2870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 2872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Main Output */ 2874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_DISABLE(htim); 2875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 2878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 2879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channels state */ ARM GAS /tmp/ccGjXOU1.s page 52 2881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 2882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 2883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 2884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 2885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 2887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 2888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM One Pulse signal generation in interrupt mode. 2892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note Though OutputChannel parameter is deprecated and ignored by the function 2893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * it has been kept to avoid HAL_TIM API compatibility break. 2894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note The pulse output channel is determined when calling 2895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @ref HAL_TIM_OnePulse_ConfigChannel(). 2896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM One Pulse handle 2897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param OutputChannel See note above 2898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 2899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OnePulse_Start_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel) 2901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 2903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 2904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 2905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 2906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(OutputChannel); 2909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM channels state */ 2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 2912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 2913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 2914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 2915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 2917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channels state */ 2920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 2921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 2922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 2923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 2924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Capture compare and the Input Capture channels 2926: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 2927: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 2928: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 2929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** whatever the combination, the TIM_CHANNEL_1 and TIM_CHANNEL_2 should be enabled together 2930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** No need to enable the counter, it's enabled automatically by hardware 2932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (the counter starts in response to a stimulus and generate a pulse */ 2933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 1 interrupt */ 2935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 2936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Capture/Compare 2 interrupt */ ARM GAS /tmp/ccGjXOU1.s page 53 2938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 2939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); 2941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 2942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 2944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the main output */ 2946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_ENABLE(htim); 2947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 2950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 2951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 2954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM One Pulse signal generation in interrupt mode. 2955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note Though OutputChannel parameter is deprecated and ignored by the function 2956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * it has been kept to avoid HAL_TIM API compatibility break. 2957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note The pulse output channel is determined when calling 2958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @ref HAL_TIM_OnePulse_ConfigChannel(). 2959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM One Pulse handle 2960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param OutputChannel See note above 2961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 2962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 2963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OnePulse_Stop_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel) 2964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(OutputChannel); 2967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 1 interrupt */ 2969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1); 2970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Capture/Compare 2 interrupt */ 2972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2); 2973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Capture compare and the Input Capture channels 2975: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) 2976: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 2977: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 2978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** whatever the combination, the TIM_CHANNEL_1 and TIM_CHANNEL_2 should be disabled together */ 2979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE); 2980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 2981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) 2983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Main Output */ 2985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_MOE_DISABLE(htim); 2986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 2989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 2990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channels state */ 2992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 2993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 2994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); ARM GAS /tmp/ccGjXOU1.s page 54 2995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 2996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 2998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 2999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 3002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @} 3003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group6 TIM Encoder functions 3006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM Encoder functions 3007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * 3008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @verbatim 3009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 3010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ##### TIM Encoder functions ##### 3011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 3012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 3013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** This section provides functions allowing to: 3014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Initialize and configure the TIM Encoder. 3015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) De-initialize the TIM Encoder. 3016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM Encoder. 3017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM Encoder. 3018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM Encoder and enable interrupt. 3019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM Encoder and disable interrupt. 3020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Start the TIM Encoder and enable DMA transfer. 3021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Stop the TIM Encoder and disable DMA transfer. 3022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @endverbatim 3024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @{ 3025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 3027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM Encoder Interface and initialize the associated handle. 3028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note Switching from Center Aligned counter mode to Edge counter mode (or reverse) 3029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * requires a timer reset to avoid unexpected direction 3030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * due to DIR bit readonly in center aligned mode. 3031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * Ex: call @ref HAL_TIM_Encoder_DeInit() before HAL_TIM_Encoder_Init() 3032: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 3033: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 3034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * using TIM_CLOCKSOURCE_ETRMODE2 and vice versa 3035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note When the timer instance is initialized in Encoder mode, timer 3036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * channels 1 and channel 2 are reserved and cannot be used for other 3037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * purpose. 3038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Encoder Interface handle 3039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param sConfig TIM Encoder Interface configuration structure 3040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 3041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Encoder_Init(TIM_HandleTypeDef *htim, const TIM_Encoder_InitTypeDef *sCon 3043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 3045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr1; 3046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 3047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 3049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim == NULL) 3050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; ARM GAS /tmp/ccGjXOU1.s page 55 3052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 3055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance)); 3056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 3057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 3058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 3059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_MODE(sConfig->EncoderMode)); 3060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_SELECTION(sConfig->IC1Selection)); 3061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_SELECTION(sConfig->IC2Selection)); 3062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODERINPUT_POLARITY(sConfig->IC1Polarity)); 3063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODERINPUT_POLARITY(sConfig->IC2Polarity)); 3064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->IC1Prescaler)); 3065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->IC2Prescaler)); 3066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_FILTER(sConfig->IC1Filter)); 3067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_FILTER(sConfig->IC2Filter)); 3068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_PERIOD(htim, htim->Init.Period)); 3069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_RESET) 3071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Allocate lock resource and initialize it */ 3073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Lock = HAL_UNLOCKED; 3074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset interrupt callbacks to legacy weak callbacks */ 3077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ResetCallback(htim); 3078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->Encoder_MspInitCallback == NULL) 3080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Encoder_MspInitCallback = HAL_TIM_Encoder_MspInit; 3082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */ 3084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Encoder_MspInitCallback(htim); 3085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 3086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC and DMA */ 3087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_Encoder_MspInit(htim); 3088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM state */ 3092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 3093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the SMS and ECE bits */ 3095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR &= ~(TIM_SMCR_SMS | TIM_SMCR_ECE); 3096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Time base in the Encoder Mode */ 3098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_Base_SetConfig(htim->Instance, &htim->Init); 3099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx SMCR register value */ 3101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR; 3102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCMR1 register value */ 3104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = htim->Instance->CCMR1; 3105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCER register value */ 3107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = htim->Instance->CCER; 3108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 56 3109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the encoder Mode */ 3110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr |= sConfig->EncoderMode; 3111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Capture Compare 1 and the Capture Compare 2 as input */ 3113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 &= ~(TIM_CCMR1_CC1S | TIM_CCMR1_CC2S); 3114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Selection | (sConfig->IC2Selection << 8U)); 3115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Capture Compare 1 and the Capture Compare 2 prescalers and filters */ 3117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 &= ~(TIM_CCMR1_IC1PSC | TIM_CCMR1_IC2PSC); 3118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 &= ~(TIM_CCMR1_IC1F | TIM_CCMR1_IC2F); 3119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= sConfig->IC1Prescaler | (sConfig->IC2Prescaler << 8U); 3120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Filter << 4U) | (sConfig->IC2Filter << 12U); 3121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TI1 and the TI2 Polarities */ 3123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC1P | TIM_CCER_CC2P); 3124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC1NP | TIM_CCER_CC2NP); 3125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= sConfig->IC1Polarity | (sConfig->IC2Polarity << 4U); 3126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx SMCR */ 3128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR = tmpsmcr; 3129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR1 */ 3131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 = tmpccmr1; 3132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCER */ 3134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCER = tmpccer; 3135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the DMA burst operation state */ 3137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY; 3138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channels state */ 3140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 3141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 3142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 3143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 3144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Initialize the TIM state*/ 3146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 3147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 3149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 3153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief DeInitializes the TIM Encoder interface 3154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Encoder Interface handle 3155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 3156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Encoder_DeInit(TIM_HandleTypeDef *htim) 3158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 3160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 3161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 3163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Peripheral Clock */ 3165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); ARM GAS /tmp/ccGjXOU1.s page 57 3166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->Encoder_MspDeInitCallback == NULL) 3169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Encoder_MspDeInitCallback = HAL_TIM_Encoder_MspDeInit; 3171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* DeInit the low level hardware */ 3173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Encoder_MspDeInitCallback(htim); 3174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 3175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC */ 3176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_Encoder_MspDeInit(htim); 3177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the DMA burst operation state */ 3180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_RESET; 3181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channels state */ 3183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET); 3184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET); 3185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET); 3186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET); 3187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change TIM state */ 3189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_RESET; 3190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Release Lock */ 3192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 3193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 3195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 3198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM Encoder Interface MSP. 3199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Encoder Interface handle 3200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 3201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_Encoder_MspInit(TIM_HandleTypeDef *htim) 3203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 3205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 3206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 3208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_Encoder_MspInit could be implemented in the user file 3209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 3213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief DeInitializes TIM Encoder Interface MSP. 3214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Encoder Interface handle 3215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 3216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_Encoder_MspDeInit(TIM_HandleTypeDef *htim) 3218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 3220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 3221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, ARM GAS /tmp/ccGjXOU1.s page 58 3223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_Encoder_MspDeInit could be implemented in the user file 3224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 3228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM Encoder Interface. 3229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Encoder Interface handle 3230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be enabled 3231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 3232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 3233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 3234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_ALL: TIM Channel 1 and TIM Channel 2 are selected 3235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 3236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Encoder_Start(TIM_HandleTypeDef *htim, uint32_t Channel) 3238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 3240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 3241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 3242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 3243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 3245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance)); 3246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel(s) state */ 3248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (Channel == TIM_CHANNEL_1) 3249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 3251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)) 3252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 3258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 3259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (Channel == TIM_CHANNEL_2) 3262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 3264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 3265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 3271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 3272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 3277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 3278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 3279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) ARM GAS /tmp/ccGjXOU1.s page 59 3280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 3286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 3287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 3288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 3289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the encoder interface channels */ 3293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 3294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 3296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); 3298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 3302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 3304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default : 3308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); 3310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 3311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 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 **** /* Enable the Peripheral */ 3315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 3316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 3318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 3319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 3322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM Encoder Interface. 3323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Encoder Interface handle 3324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be disabled 3325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 3326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 3327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 3328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_ALL: TIM Channel 1 and TIM Channel 2 are selected 3329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 3330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Encoder_Stop(TIM_HandleTypeDef *htim, uint32_t Channel) 3332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 3334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance)); 3335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Input Capture channels 1 and 2 ARM GAS /tmp/ccGjXOU1.s page 60 3337: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 3338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 3339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 3341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE); 3343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 3347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 3349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 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 **** default : 3353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE); 3355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 3356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 3361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 3362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel(s) state */ 3364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((Channel == TIM_CHANNEL_1) || (Channel == TIM_CHANNEL_2)) 3365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 3367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 3368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 3372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 3373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 3374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 3375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 3378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 3379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 3382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM Encoder Interface in interrupt mode. 3383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Encoder Interface handle 3384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be enabled 3385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 3386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 3387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 3388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_ALL: TIM Channel 1 and TIM Channel 2 are selected 3389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 3390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Encoder_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel) 3392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); ARM GAS /tmp/ccGjXOU1.s page 61 3394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 3395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 3396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 3397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 3399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance)); 3400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel(s) state */ 3402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (Channel == TIM_CHANNEL_1) 3403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 3405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)) 3406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 3412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 3413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (Channel == TIM_CHANNEL_2) 3416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 3418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 3419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 3425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 3426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 3431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 3432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 3433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 3434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 3440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 3441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 3442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 3443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the encoder interface channels */ 3447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the capture compare Interrupts 1 and/or 2 */ 3448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 3449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: ARM GAS /tmp/ccGjXOU1.s page 62 3451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); 3453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 3454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 3458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 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_CC2); 3461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default : 3465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); 3467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 3468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 3469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 3470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 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 **** /* Enable the Peripheral */ 3475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 3476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 3478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 3479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 3482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM Encoder Interface in interrupt mode. 3483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Encoder Interface handle 3484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be disabled 3485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 3486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 3487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 3488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_ALL: TIM Channel 1 and TIM Channel 2 are selected 3489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 3490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Encoder_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel) 3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 3494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance)); 3495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Input Capture channels 1 and 2 3497: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 3498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (Channel == TIM_CHANNEL_1) 3499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE); 3501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the capture compare Interrupts 1 */ 3503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1); 3504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (Channel == TIM_CHANNEL_2) 3506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); ARM GAS /tmp/ccGjXOU1.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 2 */ 3510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2); 3511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE); 3515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 3516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the capture compare Interrupts 1 and 2 */ 3518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1); 3519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2); 3520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 3523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 3524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel(s) state */ 3526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((Channel == TIM_CHANNEL_1) || (Channel == TIM_CHANNEL_2)) 3527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 3529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 3530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 3534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 3535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 3536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 3537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 3540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 3541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 3544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Starts the TIM Encoder Interface in DMA mode. 3545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Encoder Interface handle 3546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be enabled 3547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 3548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 3549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 3550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_ALL: TIM Channel 1 and TIM Channel 2 are selected 3551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param pData1 The destination Buffer address for IC1. 3552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param pData2 The destination Buffer address for IC2. 3553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Length The length of data to be transferred from TIM peripheral to memory. 3554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 3555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3556: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 3557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t *pData2, uint16_t Length) 3558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 3560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 3561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 3562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 3563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ ARM GAS /tmp/ccGjXOU1.s page 64 3565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance)); 3566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel(s) state */ 3568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (Channel == TIM_CHANNEL_1) 3569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY) 3571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY)) 3572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_BUSY; 3574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if ((channel_1_state == HAL_TIM_CHANNEL_STATE_READY) 3576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY)) 3577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((pData1 == NULL) || (Length == 0U)) 3579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 3585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 3586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (Channel == TIM_CHANNEL_2) 3594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY) 3596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY)) 3597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_BUSY; 3599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if ((channel_2_state == HAL_TIM_CHANNEL_STATE_READY) 3601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_READY)) 3602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((pData2 == NULL) || (Length == 0U)) 3604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 3610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 3611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY) 3621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY) ARM GAS /tmp/ccGjXOU1.s page 65 3622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY) 3623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY)) 3624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_BUSY; 3626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if ((channel_1_state == HAL_TIM_CHANNEL_STATE_READY) 3628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (channel_2_state == HAL_TIM_CHANNEL_STATE_READY) 3629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY) 3630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_READY)) 3631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((((pData1 == NULL) || (pData2 == NULL))) || (Length == 0U)) 3633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 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 **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 3639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 3640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 3641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 3642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 3651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 3653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA capture callbacks */ 3655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMACaptureCplt; 3656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 3659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ; 3660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 3662: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 3663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 3664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 3666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Input Capture DMA request */ 3669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1); 3670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Capture compare channel */ 3672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); 3673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral */ 3675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 3676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/ccGjXOU1.s page 66 3679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 3681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA capture callbacks */ 3683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMACaptureCplt; 3684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 3687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAError; 3688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 3689: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 3690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 3691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 3693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Input Capture DMA request */ 3696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2); 3697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Capture compare channel */ 3699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 3700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral */ 3702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 3703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 3708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA capture callbacks */ 3710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMACaptureCplt; 3711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 3714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ; 3715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 3717: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 3718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 3719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 3721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA capture callbacks */ 3725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMACaptureCplt; 3726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 3729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAError ; 3730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 3732: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 3733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 3734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ ARM GAS /tmp/ccGjXOU1.s page 67 3736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 3737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Input Capture DMA request */ 3740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1); 3741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Input Capture DMA request */ 3742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2); 3743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Capture compare channel */ 3745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); 3746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 3747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the Peripheral */ 3749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE(htim); 3750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 3756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 3757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 3760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM Encoder Interface in DMA mode. 3761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Encoder Interface handle 3762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be enabled 3763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 3764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 3765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 3766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_ALL: TIM Channel 1 and TIM Channel 2 are selected 3767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 3768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Encoder_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel) 3770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 3772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance)); 3773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Input Capture channels 1 and 2 3775: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 3776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (Channel == TIM_CHANNEL_1) 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_1, 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 1 */ 3781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1); 3782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 3783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (Channel == TIM_CHANNEL_2) 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_2, TIM_CCx_DISABLE); 3787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the capture compare DMA Request 2 */ 3789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2); 3790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 3791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else ARM GAS /tmp/ccGjXOU1.s page 68 3793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE); 3795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 3796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the capture compare DMA Request 1 and 2 */ 3798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1); 3799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2); 3800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 3801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 3802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Peripheral */ 3805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE(htim); 3806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TIM channel(s) state */ 3808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((Channel == TIM_CHANNEL_1) || (Channel == TIM_CHANNEL_2)) 3809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 3811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 3812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 3816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 3817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 3818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 3819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 3822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 3823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 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 **** /** @defgroup TIM_Exported_Functions_Group7 TIM IRQ handler management 3829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM IRQ handler management 3830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * 3831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @verbatim 3832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 3833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ##### IRQ handler management ##### 3834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 3835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 3836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** This section provides Timer IRQ handler function. 3837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @endverbatim 3839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @{ 3840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 3842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief This function handles TIM interrupts requests. 3843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 3844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 3845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 3846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** void HAL_TIM_IRQHandler(TIM_HandleTypeDef *htim) 3847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t itsource = htim->Instance->DIER; 3849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t itflag = htim->Instance->SR; ARM GAS /tmp/ccGjXOU1.s page 69 3850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Capture compare 1 event */ 3852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((itflag & (TIM_FLAG_CC1)) == (TIM_FLAG_CC1)) 3853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((itsource & (TIM_IT_CC1)) == (TIM_IT_CC1)) 3855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_FLAG(htim, TIM_FLAG_CC1); 3858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1; 3859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ 3861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((htim->Instance->CCMR1 & TIM_CCMR1_CC1S) != 0x00U) 3862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_CaptureCallback(htim); 3865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 3866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_IC_CaptureCallback(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 **** /* Output compare event */ 3870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_DelayElapsedCallback(htim); 3874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_PulseFinishedCallback(htim); 3875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 3876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_OC_DelayElapsedCallback(htim); 3877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim); 3878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; 3881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Capture compare 2 event */ 3885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((itflag & (TIM_FLAG_CC2)) == (TIM_FLAG_CC2)) 3886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((itsource & (TIM_IT_CC2)) == (TIM_IT_CC2)) 3888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_FLAG(htim, TIM_FLAG_CC2); 3890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2; 3891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ 3892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((htim->Instance->CCMR1 & TIM_CCMR1_CC2S) != 0x00U) 3893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_CaptureCallback(htim); 3896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 3897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_IC_CaptureCallback(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 **** /* Output compare event */ 3901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_DelayElapsedCallback(htim); 3905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_PulseFinishedCallback(htim); 3906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else ARM GAS /tmp/ccGjXOU1.s page 70 3907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_OC_DelayElapsedCallback(htim); 3908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim); 3909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; 3912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Capture compare 3 event */ 3915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((itflag & (TIM_FLAG_CC3)) == (TIM_FLAG_CC3)) 3916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((itsource & (TIM_IT_CC3)) == (TIM_IT_CC3)) 3918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_FLAG(htim, TIM_FLAG_CC3); 3920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3; 3921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ 3922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((htim->Instance->CCMR2 & TIM_CCMR2_CC3S) != 0x00U) 3923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_CaptureCallback(htim); 3926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 3927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_IC_CaptureCallback(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 **** /* Output compare event */ 3931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_DelayElapsedCallback(htim); 3935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_PulseFinishedCallback(htim); 3936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 3937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_OC_DelayElapsedCallback(htim); 3938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim); 3939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; 3942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Capture compare 4 event */ 3945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((itflag & (TIM_FLAG_CC4)) == (TIM_FLAG_CC4)) 3946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((itsource & (TIM_IT_CC4)) == (TIM_IT_CC4)) 3948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_FLAG(htim, TIM_FLAG_CC4); 3950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4; 3951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ 3952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((htim->Instance->CCMR2 & TIM_CCMR2_CC4S) != 0x00U) 3953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_CaptureCallback(htim); 3956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 3957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_IC_CaptureCallback(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 **** /* Output compare event */ 3961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 3962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) ARM GAS /tmp/ccGjXOU1.s page 71 3964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_DelayElapsedCallback(htim); 3965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_PulseFinishedCallback(htim); 3966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 3967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_OC_DelayElapsedCallback(htim); 3968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim); 3969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; 3972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TIM Update event */ 3975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((itflag & (TIM_FLAG_UPDATE)) == (TIM_FLAG_UPDATE)) 3976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((itsource & (TIM_IT_UPDATE)) == (TIM_IT_UPDATE)) 3978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_FLAG(htim, TIM_FLAG_UPDATE); 3980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PeriodElapsedCallback(htim); 3982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 3983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PeriodElapsedCallback(htim); 3984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TIM Break input event */ 3988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (((itflag & (TIM_FLAG_BREAK)) == (TIM_FLAG_BREAK)) || \ 3989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ((itflag & (TIM_FLAG_SYSTEM_BREAK)) == (TIM_FLAG_SYSTEM_BREAK))) 3990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((itsource & (TIM_IT_BREAK)) == (TIM_IT_BREAK)) 3992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_FLAG(htim, TIM_FLAG_BREAK | TIM_FLAG_SYSTEM_BREAK); 3994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 3995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->BreakCallback(htim); 3996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 3997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIMEx_BreakCallback(htim); 3998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TIM Break2 input event */ 4002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((itflag & (TIM_FLAG_BREAK2)) == (TIM_FLAG_BREAK2)) 4003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((itsource & (TIM_IT_BREAK)) == (TIM_IT_BREAK)) 4005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_FLAG(htim, TIM_FLAG_BREAK2); 4007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Break2Callback(htim); 4009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 4010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIMEx_Break2Callback(htim); 4011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TIM Trigger detection event */ 4015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((itflag & (TIM_FLAG_TRIGGER)) == (TIM_FLAG_TRIGGER)) 4016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((itsource & (TIM_IT_TRIGGER)) == (TIM_IT_TRIGGER)) 4018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_FLAG(htim, TIM_FLAG_TRIGGER); 4020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) ARM GAS /tmp/ccGjXOU1.s page 72 4021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->TriggerCallback(htim); 4022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 4023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_TriggerCallback(htim); 4024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TIM commutation event */ 4028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((itflag & (TIM_FLAG_COM)) == (TIM_FLAG_COM)) 4029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((itsource & (TIM_IT_COM)) == (TIM_IT_COM)) 4031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_FLAG(htim, TIM_FLAG_COM); 4033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->CommutationCallback(htim); 4035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 4036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIMEx_CommutCallback(htim); 4037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TIM Encoder index event */ 4041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((itflag & (TIM_FLAG_IDX)) == (TIM_FLAG_IDX)) 4042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((itsource & (TIM_IT_IDX)) == (TIM_IT_IDX)) 4044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_FLAG(htim, TIM_FLAG_IDX); 4046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->EncoderIndexCallback(htim); 4048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 4049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIMEx_EncoderIndexCallback(htim); 4050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TIM Direction change event */ 4054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((itflag & (TIM_FLAG_DIR)) == (TIM_FLAG_DIR)) 4055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((itsource & (TIM_IT_DIR)) == (TIM_IT_DIR)) 4057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_FLAG(htim, TIM_FLAG_DIR); 4059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DirectionChangeCallback(htim); 4061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 4062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIMEx_DirectionChangeCallback(htim); 4063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TIM Index error event */ 4067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((itflag & (TIM_FLAG_IERR)) == (TIM_FLAG_IERR)) 4068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((itsource & (TIM_IT_IERR)) == (TIM_IT_IERR)) 4070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_FLAG(htim, TIM_FLAG_IERR); 4072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IndexErrorCallback(htim); 4074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 4075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIMEx_IndexErrorCallback(htim); 4076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/ccGjXOU1.s page 73 4078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TIM Transition error event */ 4080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((itflag & (TIM_FLAG_TERR)) == (TIM_FLAG_TERR)) 4081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((itsource & (TIM_IT_TERR)) == (TIM_IT_TERR)) 4083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_CLEAR_FLAG(htim, TIM_FLAG_TERR); 4085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->TransitionErrorCallback(htim); 4087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 4088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIMEx_TransitionErrorCallback(htim); 4089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 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 **** /** 4095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @} 4096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 4097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group8 TIM Peripheral Control functions 4099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM Peripheral Control functions 4100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * 4101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @verbatim 4102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 4103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ##### Peripheral Control functions ##### 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 **** This section provides functions allowing to: 4107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Configure The Input Output channels for OC, PWM, IC or One Pulse mode. 4108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Configure External Clock source. 4109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Configure Complementary channels, break features and dead time. 4110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Configure Master and the Slave synchronization. 4111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) Configure the DMA Burst Mode. 4112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @endverbatim 4114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @{ 4115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 4116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 4118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM Output Compare Channels according to the specified 4119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * parameters in the TIM_OC_InitTypeDef. 4120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Output Compare handle 4121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param sConfig TIM Output Compare configuration structure 4122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to configure 4123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 4124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 4125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 4126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 4127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 4128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_5: TIM Channel 5 selected 4129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_6: TIM Channel 6 selected 4130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 4131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 4132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_ConfigChannel(TIM_HandleTypeDef *htim, 4133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** const TIM_OC_InitTypeDef *sConfig, 4134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t Channel) ARM GAS /tmp/ccGjXOU1.s page 74 4135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 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_CHANNELS(Channel)); 4140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OC_CHANNEL_MODE(sConfig->OCMode, Channel)); 4141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OC_POLARITY(sConfig->OCPolarity)); 4142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Process Locked */ 4144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_LOCK(htim); 4145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 4147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 4149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(htim->Instance)); 4152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the TIM Channel 1 in Output Compare */ 4154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC1_SetConfig(htim->Instance, sConfig); 4155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 4159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC2_INSTANCE(htim->Instance)); 4162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the TIM Channel 2 in Output Compare */ 4164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC2_SetConfig(htim->Instance, sConfig); 4165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 4169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC3_INSTANCE(htim->Instance)); 4172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the TIM Channel 3 in Output Compare */ 4174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC3_SetConfig(htim->Instance, sConfig); 4175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 4179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC4_INSTANCE(htim->Instance)); 4182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the TIM Channel 4 in Output Compare */ 4184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC4_SetConfig(htim->Instance, sConfig); 4185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_5: 4189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC5_INSTANCE(htim->Instance)); ARM GAS /tmp/ccGjXOU1.s page 75 4192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the TIM Channel 5 in Output Compare */ 4194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC5_SetConfig(htim->Instance, sConfig); 4195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_6: 4199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC6_INSTANCE(htim->Instance)); 4202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the TIM Channel 6 in Output Compare */ 4204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC6_SetConfig(htim->Instance, sConfig); 4205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 4209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 4210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 4214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 4216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 4219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM Input Capture Channels according to the specified 4220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * parameters in the TIM_IC_InitTypeDef. 4221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM IC handle 4222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param sConfig TIM Input Capture configuration structure 4223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channel to configure 4224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 4225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 4226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 4227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 4228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 4229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 4230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 4231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_ConfigChannel(TIM_HandleTypeDef *htim, const TIM_IC_InitTypeDef *sConf 4232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 4234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(htim->Instance)); 4237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_POLARITY(sConfig->ICPolarity)); 4238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_SELECTION(sConfig->ICSelection)); 4239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->ICPrescaler)); 4240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_FILTER(sConfig->ICFilter)); 4241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Process Locked */ 4243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_LOCK(htim); 4244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (Channel == TIM_CHANNEL_1) 4246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TI1 Configuration */ 4248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_TI1_SetConfig(htim->Instance, ARM GAS /tmp/ccGjXOU1.s page 76 4249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 4250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICSelection, 4251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICFilter); 4252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the IC1PSC Bits */ 4254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 &= ~TIM_CCMR1_IC1PSC; 4255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the IC1PSC value */ 4257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->ICPrescaler; 4258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (Channel == TIM_CHANNEL_2) 4260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TI2 Configuration */ 4262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC2_INSTANCE(htim->Instance)); 4263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_TI2_SetConfig(htim->Instance, 4265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 4266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICSelection, 4267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICFilter); 4268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the IC2PSC Bits */ 4270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 &= ~TIM_CCMR1_IC2PSC; 4271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the IC2PSC value */ 4273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= (sConfig->ICPrescaler << 8U); 4274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (Channel == TIM_CHANNEL_3) 4276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TI3 Configuration */ 4278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC3_INSTANCE(htim->Instance)); 4279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_TI3_SetConfig(htim->Instance, 4281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 4282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICSelection, 4283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICFilter); 4284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the IC3PSC Bits */ 4286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 &= ~TIM_CCMR2_IC3PSC; 4287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the IC3PSC value */ 4289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->ICPrescaler; 4290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (Channel == TIM_CHANNEL_4) 4292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* TI4 Configuration */ 4294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC4_INSTANCE(htim->Instance)); 4295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_TI4_SetConfig(htim->Instance, 4297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 4298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICSelection, 4299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICFilter); 4300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the IC4PSC Bits */ 4302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 &= ~TIM_CCMR2_IC4PSC; 4303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the IC4PSC value */ 4305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= (sConfig->ICPrescaler << 8U); ARM GAS /tmp/ccGjXOU1.s page 77 4306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 4308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 4310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 4313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 4315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 4318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM PWM channels according to the specified 4319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * parameters in the TIM_OC_InitTypeDef. 4320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM PWM handle 4321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param sConfig TIM PWM configuration structure 4322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be configured 4323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 4324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 4325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 4326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 4327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 4328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_5: TIM Channel 5 selected 4329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_6: TIM Channel 6 selected 4330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 4331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 4332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_ConfigChannel(TIM_HandleTypeDef *htim, 4333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** const TIM_OC_InitTypeDef *sConfig, 4334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t Channel) 4335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 4337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CHANNELS(Channel)); 4340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_PWM_MODE(sConfig->OCMode)); 4341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OC_POLARITY(sConfig->OCPolarity)); 4342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_FAST_STATE(sConfig->OCFastMode)); 4343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Process Locked */ 4345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_LOCK(htim); 4346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 4348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 4350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(htim->Instance)); 4353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Channel 1 in PWM mode */ 4355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC1_SetConfig(htim->Instance, sConfig); 4356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Preload enable bit for channel1 */ 4358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= TIM_CCMR1_OC1PE; 4359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Output Fast mode */ 4361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 &= ~TIM_CCMR1_OC1FE; 4362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode; ARM GAS /tmp/ccGjXOU1.s page 78 4363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 4367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC2_INSTANCE(htim->Instance)); 4370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Channel 2 in PWM mode */ 4372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC2_SetConfig(htim->Instance, sConfig); 4373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Preload enable bit for channel2 */ 4375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= TIM_CCMR1_OC2PE; 4376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Output Fast mode */ 4378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 &= ~TIM_CCMR1_OC2FE; 4379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode << 8U; 4380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 4384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC3_INSTANCE(htim->Instance)); 4387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Channel 3 in PWM mode */ 4389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC3_SetConfig(htim->Instance, sConfig); 4390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Preload enable bit for channel3 */ 4392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= TIM_CCMR2_OC3PE; 4393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Output Fast mode */ 4395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 &= ~TIM_CCMR2_OC3FE; 4396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode; 4397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 4401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC4_INSTANCE(htim->Instance)); 4404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Channel 4 in PWM mode */ 4406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC4_SetConfig(htim->Instance, sConfig); 4407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Preload enable bit for channel4 */ 4409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= TIM_CCMR2_OC4PE; 4410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Output Fast mode */ 4412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 &= ~TIM_CCMR2_OC4FE; 4413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode << 8U; 4414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_5: 4418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ ARM GAS /tmp/ccGjXOU1.s page 79 4420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC5_INSTANCE(htim->Instance)); 4421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Channel 5 in PWM mode */ 4423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC5_SetConfig(htim->Instance, sConfig); 4424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Preload enable bit for channel5*/ 4426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= TIM_CCMR3_OC5PE; 4427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Output Fast mode */ 4429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 &= ~TIM_CCMR3_OC5FE; 4430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode; 4431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_6: 4435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC6_INSTANCE(htim->Instance)); 4438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Channel 6 in PWM mode */ 4440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC6_SetConfig(htim->Instance, sConfig); 4441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Preload enable bit for channel6 */ 4443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= TIM_CCMR3_OC6PE; 4444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the Output Fast mode */ 4446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 &= ~TIM_CCMR3_OC6FE; 4447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode << 8U; 4448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 4452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 4453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 4457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 4459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 4462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Initializes the TIM One Pulse Channels according to the specified 4463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * parameters in the TIM_OnePulse_InitTypeDef. 4464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM One Pulse handle 4465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param sConfig TIM One Pulse configuration structure 4466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param OutputChannel TIM output channel to configure 4467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 4468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 4469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 4470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param InputChannel TIM input Channel to configure 4471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 4472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 4473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 4474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note To output a waveform with a minimum delay user can enable the fast 4475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * mode by calling the @ref __HAL_TIM_ENABLE_OCxFAST macro. Then CCx 4476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * output is forced in response to the edge detection on TIx input, ARM GAS /tmp/ccGjXOU1.s page 80 4477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * without taking in account the comparison. 4478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 4479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 4480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OnePulse_ConfigChannel(TIM_HandleTypeDef *htim, TIM_OnePulse_InitTypeDef 4481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t OutputChannel, uint32_t InputChannel) 4482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 4484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC_InitTypeDef temp1; 4485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OPM_CHANNELS(OutputChannel)); 4488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OPM_CHANNELS(InputChannel)); 4489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (OutputChannel != InputChannel) 4491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Process Locked */ 4493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_LOCK(htim); 4494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 4496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Extract the Output compare configuration from sConfig structure */ 4498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCMode = sConfig->OCMode; 4499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.Pulse = sConfig->Pulse; 4500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCPolarity = sConfig->OCPolarity; 4501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCNPolarity = sConfig->OCNPolarity; 4502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCIdleState = sConfig->OCIdleState; 4503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCNIdleState = sConfig->OCNIdleState; 4504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (OutputChannel) 4506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 4508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(htim->Instance)); 4510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC1_SetConfig(htim->Instance, &temp1); 4512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 4516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC2_INSTANCE(htim->Instance)); 4518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC2_SetConfig(htim->Instance, &temp1); 4520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 4524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 4525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 4529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (InputChannel) 4531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 4533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 81 4534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(htim->Instance)); 4535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_TI1_SetConfig(htim->Instance, sConfig->ICPolarity, 4537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICSelection, sConfig->ICFilter); 4538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the IC1PSC Bits */ 4540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 &= ~TIM_CCMR1_IC1PSC; 4541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Trigger source */ 4543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS; 4544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI1FP1; 4545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Slave Mode */ 4547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR &= ~TIM_SMCR_SMS; 4548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 4549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 4553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC2_INSTANCE(htim->Instance)); 4555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_TI2_SetConfig(htim->Instance, sConfig->ICPolarity, 4557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICSelection, sConfig->ICFilter); 4558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the IC2PSC Bits */ 4560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 &= ~TIM_CCMR1_IC2PSC; 4561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Trigger source */ 4563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS; 4564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI2FP2; 4565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Slave Mode */ 4567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR &= ~TIM_SMCR_SMS; 4568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 4569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 4573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 4574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 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 **** htim->State = HAL_TIM_STATE_READY; 4579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 4581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 4583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 4585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 4587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** ARM GAS /tmp/ccGjXOU1.s page 82 4591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configure the DMA Burst to transfer Data from the memory to the TIM peripheral 4592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 4593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstBaseAddress TIM Base address from where the DMA will start the Data write 4594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 4595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CR1 4596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CR2 4597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_SMCR 4598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_DIER 4599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_SR 4600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_EGR 4601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR1 4602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR2 4603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCER 4604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CNT 4605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_PSC 4606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_ARR 4607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_RCR 4608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR1 4609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR2 4610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR3 4611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR4 4612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_BDTR 4613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR3 4614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR5 4615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR6 4616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_DTR2 4617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_ECR 4618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_TISEL 4619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_AF1 4620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_AF2 4621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_OR 4622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstRequestSrc TIM DMA Request sources 4623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 4624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_UPDATE: TIM update Interrupt source 4625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC1: TIM Capture Compare 1 DMA source 4626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC2: TIM Capture Compare 2 DMA source 4627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC3: TIM Capture Compare 3 DMA source 4628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC4: TIM Capture Compare 4 DMA source 4629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_COM: TIM Commutation DMA source 4630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_TRIGGER: TIM Trigger DMA source 4631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstBuffer The Buffer address. 4632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstLength DMA Burst length. This parameter can be one value 4633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * between: TIM_DMABURSTLENGTH_1TRANSFER and TIM_DMABURSTLENGTH_26TRANSFER. 4634: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 4635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 4636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 4637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_DMABurst_WriteStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, 4638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t BurstRequestSrc, const uint32_t *BurstBuffer 4639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t BurstLength) 4640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status; 4642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_TIM_DMABurst_MultiWriteStart(htim, BurstBaseAddress, BurstRequestSrc, BurstBuffer, B 4644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ((BurstLength) >> 8U) + 1U); 4645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 83 4648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 4649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 4652: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 4653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 4654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstBaseAddress TIM Base address from where the DMA will start the Data write 4655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 4656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CR1 4657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CR2 4658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_SMCR 4659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_DIER 4660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_SR 4661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_EGR 4662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR1 4663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR2 4664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCER 4665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CNT 4666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_PSC 4667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_ARR 4668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_RCR 4669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR1 4670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR2 4671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR3 4672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR4 4673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_BDTR 4674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR3 4675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR5 4676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR6 4677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_DTR2 4678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_ECR 4679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_TISEL 4680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_AF1 4681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_AF2 4682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_OR 4683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstRequestSrc TIM DMA Request sources 4684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 4685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_UPDATE: TIM update Interrupt source 4686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC1: TIM Capture Compare 1 DMA source 4687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC2: TIM Capture Compare 2 DMA source 4688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC3: TIM Capture Compare 3 DMA source 4689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC4: TIM Capture Compare 4 DMA source 4690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_COM: TIM Commutation DMA source 4691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_TRIGGER: TIM Trigger DMA source 4692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstBuffer The Buffer address. 4693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstLength DMA Burst length. This parameter can be one value 4694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * between: TIM_DMABURSTLENGTH_1TRANSFER and TIM_DMABURSTLENGTH_26TRANSFER. 4695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param DataLength Data length. This parameter can be one value 4696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * between 1 and 0xFFFF. 4697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 4698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 4699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_DMABurst_MultiWriteStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddre 4700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t BurstRequestSrc, const uint32_t *BurstB 4701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t BurstLength, uint32_t DataLength) 4702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 4704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 84 4705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMABURST_INSTANCE(htim->Instance)); 4707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_BASE(BurstBaseAddress)); 4708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_SOURCE(BurstRequestSrc)); 4709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_LENGTH(BurstLength)); 4710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_DATA_LENGTH(DataLength)); 4711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->DMABurstState == HAL_DMA_BURST_STATE_BUSY) 4713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_BUSY; 4715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (htim->DMABurstState == HAL_DMA_BURST_STATE_READY) 4717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((BurstBuffer == NULL) && (BurstLength > 0U)) 4719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 4721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 4723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_BUSY; 4725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 4728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* nothing to do */ 4730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (BurstRequestSrc) 4733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_UPDATE: 4735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA Period elapsed callbacks */ 4737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferCpltCallback = TIM_DMAPeriodElapsedCplt; 4738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 4739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 4741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferErrorCallback = TIM_DMAError ; 4742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 4744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_UPDATE], (uint32_t)BurstBuffer, 4745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 4746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 4748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 4749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC1: 4753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA compare callbacks */ 4755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMADelayPulseCplt; 4756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 4757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 4759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ; 4760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ ARM GAS /tmp/ccGjXOU1.s page 85 4762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)BurstBuffer, 4763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 4764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 4766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 4767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC2: 4771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA compare callbacks */ 4773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMADelayPulseCplt; 4774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 4775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 4777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAError ; 4778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 4780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)BurstBuffer, 4781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 4782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 4784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 4785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC3: 4789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA compare callbacks */ 4791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferCpltCallback = TIM_DMADelayPulseCplt; 4792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 4793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 4795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferErrorCallback = TIM_DMAError ; 4796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 4798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)BurstBuffer, 4799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 4800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 4802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 4803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC4: 4807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA compare callbacks */ 4809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferCpltCallback = TIM_DMADelayPulseCplt; 4810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 4811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 4813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferErrorCallback = TIM_DMAError ; 4814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 4816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC4], (uint32_t)BurstBuffer, 4817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 4818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 86 4819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 4820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 4821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_COM: 4825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA commutation callbacks */ 4827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferCpltCallback = TIMEx_DMACommutationCplt; 4828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 4829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 4831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferErrorCallback = TIM_DMAError ; 4832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 4834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_COMMUTATION], (uint32_t)BurstBuffer, 4835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 4836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 4838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 4839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_TRIGGER: 4843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA trigger callbacks */ 4845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferCpltCallback = TIM_DMATriggerCplt; 4846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt; 4847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 4849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferErrorCallback = TIM_DMAError ; 4850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 4852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_TRIGGER], (uint32_t)BurstBuffer, 4853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 4854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 4856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 4857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 4861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 4862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 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 **** if (status == HAL_OK) 4866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the DMA Burst Mode */ 4868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->DCR = (BurstBaseAddress | BurstLength); 4869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM DMA Request */ 4870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, BurstRequestSrc); 4871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 4874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 4875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/ccGjXOU1.s page 87 4876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 4878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stops the TIM DMA Burst mode 4879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 4880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstRequestSrc TIM DMA Request sources to disable 4881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 4882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 4883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_DMABurst_WriteStop(TIM_HandleTypeDef *htim, uint32_t BurstRequestSrc) 4884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 4886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 4888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_SOURCE(BurstRequestSrc)); 4889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Abort the DMA transfer (at least disable the DMA channel) */ 4891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (BurstRequestSrc) 4892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_UPDATE: 4894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_UPDATE]); 4896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC1: 4899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 4901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC2: 4904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 4906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC3: 4909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 4911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC4: 4914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 4916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_COM: 4919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_COMMUTATION]); 4921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_TRIGGER: 4924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_TRIGGER]); 4926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 4929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 4930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 4931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 88 4933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 4934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Update DMA request */ 4936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, BurstRequestSrc); 4937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the DMA burst operation state */ 4939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY; 4940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 4943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 4944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 4947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configure the DMA Burst to transfer Data from the TIM peripheral to the memory 4948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 4949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstBaseAddress TIM Base address from where the DMA will start the Data read 4950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 4951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CR1 4952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CR2 4953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_SMCR 4954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_DIER 4955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_SR 4956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_EGR 4957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR1 4958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR2 4959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCER 4960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CNT 4961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_PSC 4962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_ARR 4963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_RCR 4964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR1 4965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR2 4966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR3 4967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR4 4968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_BDTR 4969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR3 4970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR5 4971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR6 4972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_DTR2 4973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_ECR 4974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_TISEL 4975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_AF1 4976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_AF2 4977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_OR 4978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstRequestSrc TIM DMA Request sources 4979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 4980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_UPDATE: TIM update Interrupt source 4981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC1: TIM Capture Compare 1 DMA source 4982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC2: TIM Capture Compare 2 DMA source 4983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC3: TIM Capture Compare 3 DMA source 4984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC4: TIM Capture Compare 4 DMA source 4985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_COM: TIM Commutation DMA source 4986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_TRIGGER: TIM Trigger DMA source 4987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstBuffer The Buffer address. 4988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstLength DMA Burst length. This parameter can be one value 4989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * between: TIM_DMABURSTLENGTH_1TRANSFER and TIM_DMABURSTLENGTH_26TRANSFER. ARM GAS /tmp/ccGjXOU1.s page 89 4990: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 4991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 4992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 4993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_DMABurst_ReadStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, 4994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t BurstRequestSrc, uint32_t *BurstBuffer, uint 4995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status; 4997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_TIM_DMABurst_MultiReadStart(htim, BurstBaseAddress, BurstRequestSrc, BurstBuffer, Bu 4999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ((BurstLength) >> 8U) + 1U); 5000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 5003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 5006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configure the DMA Burst to transfer Data from the TIM peripheral to the memory 5007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 5008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstBaseAddress TIM Base address from where the DMA will start the Data read 5009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 5010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CR1 5011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CR2 5012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_SMCR 5013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_DIER 5014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_SR 5015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_EGR 5016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR1 5017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR2 5018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCER 5019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CNT 5020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_PSC 5021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_ARR 5022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_RCR 5023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR1 5024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR2 5025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR3 5026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR4 5027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_BDTR 5028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR3 5029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR5 5030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_CCR6 5031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_DTR2 5032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_ECR 5033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_TISEL 5034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_AF1 5035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_AF2 5036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMABASE_OR 5037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstRequestSrc TIM DMA Request sources 5038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 5039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_UPDATE: TIM update Interrupt source 5040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC1: TIM Capture Compare 1 DMA source 5041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC2: TIM Capture Compare 2 DMA source 5042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC3: TIM Capture Compare 3 DMA source 5043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_CC4: TIM Capture Compare 4 DMA source 5044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_COM: TIM Commutation DMA source 5045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_DMA_TRIGGER: TIM Trigger DMA source 5046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstBuffer The Buffer address. ARM GAS /tmp/ccGjXOU1.s page 90 5047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstLength DMA Burst length. This parameter can be one value 5048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * between: TIM_DMABURSTLENGTH_1TRANSFER and TIM_DMABURSTLENGTH_26TRANSFER. 5049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param DataLength Data length. This parameter can be one value 5050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * between 1 and 0xFFFF. 5051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 5052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_DMABurst_MultiReadStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddres 5054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t BurstRequestSrc, uint32_t *BurstBuffer, 5055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t BurstLength, uint32_t DataLength) 5056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 5058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMABURST_INSTANCE(htim->Instance)); 5061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_BASE(BurstBaseAddress)); 5062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_SOURCE(BurstRequestSrc)); 5063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_LENGTH(BurstLength)); 5064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_DATA_LENGTH(DataLength)); 5065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->DMABurstState == HAL_DMA_BURST_STATE_BUSY) 5067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_BUSY; 5069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (htim->DMABurstState == HAL_DMA_BURST_STATE_READY) 5071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((BurstBuffer == NULL) && (BurstLength > 0U)) 5073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 5075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 5077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_BUSY; 5079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 5082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* nothing to do */ 5084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (BurstRequestSrc) 5086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_UPDATE: 5088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA Period elapsed callbacks */ 5090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferCpltCallback = TIM_DMAPeriodElapsedCplt; 5091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 5092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 5094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferErrorCallback = TIM_DMAError ; 5095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 5097: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_ 5098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 5099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 5101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 5102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; ARM GAS /tmp/ccGjXOU1.s page 91 5104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC1: 5106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA capture callbacks */ 5108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMACaptureCplt; 5109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 5110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 5112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ; 5113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 5115: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 5116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 5117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 5119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 5120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC2: 5124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA capture callbacks */ 5126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMACaptureCplt; 5127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 5128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 5130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAError ; 5131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 5133: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 5134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 5135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 5137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 5138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC3: 5142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA capture callbacks */ 5144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferCpltCallback = TIM_DMACaptureCplt; 5145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 5146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 5148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferErrorCallback = TIM_DMAError ; 5149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 5151: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 5152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 5153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 5155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 5156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC4: 5160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 92 5161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA capture callbacks */ 5162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferCpltCallback = TIM_DMACaptureCplt; 5163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 5164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 5166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferErrorCallback = TIM_DMAError ; 5167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 5169: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 5170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 5171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 5173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 5174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_COM: 5178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA commutation callbacks */ 5180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferCpltCallback = TIMEx_DMACommutationCplt; 5181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 5182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 5184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferErrorCallback = TIM_DMAError ; 5185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 5187: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 5188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 5189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 5191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 5192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_TRIGGER: 5196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA trigger callbacks */ 5198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferCpltCallback = TIM_DMATriggerCplt; 5199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt; 5200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the DMA error callback */ 5202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferErrorCallback = TIM_DMAError ; 5203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 5205: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 5206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 5207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 5209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 5210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 5214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 5215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 93 5218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 5219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the DMA Burst Mode */ 5221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->DCR = (BurstBaseAddress | BurstLength); 5222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM DMA Request */ 5224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, BurstRequestSrc); 5225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 5228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 5229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 5232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Stop the DMA burst reading 5233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 5234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param BurstRequestSrc TIM DMA Request sources to disable. 5235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 5236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_DMABurst_ReadStop(TIM_HandleTypeDef *htim, uint32_t BurstRequestSrc) 5238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 5240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_SOURCE(BurstRequestSrc)); 5243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Abort the DMA transfer (at least disable the DMA channel) */ 5245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (BurstRequestSrc) 5246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_UPDATE: 5248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_UPDATE]); 5250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC1: 5253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 5255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC2: 5258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 5260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC3: 5263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 5265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_CC4: 5268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 5270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_COM: 5273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_COMMUTATION]); ARM GAS /tmp/ccGjXOU1.s page 94 5275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_DMA_TRIGGER: 5278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_TRIGGER]); 5280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 5283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 5284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 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 **** if (status == HAL_OK) 5288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the TIM Update DMA request */ 5290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, BurstRequestSrc); 5291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the DMA burst operation state */ 5293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY; 5294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 5297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 5298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 5301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Generate a software event 5302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 5303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param EventSource specifies the event source. 5304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 5305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_UPDATE: Timer update Event source 5306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_CC1: Timer Capture Compare 1 Event source 5307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_CC2: Timer Capture Compare 2 Event source 5308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_CC3: Timer Capture Compare 3 Event source 5309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_CC4: Timer Capture Compare 4 Event source 5310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_COM: Timer COM event source 5311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_TRIGGER: Timer Trigger Event source 5312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_BREAK: Timer Break event source 5313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_BREAK2: Timer Break2 event source 5314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note Basic timers can only generate an update event. 5315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note TIM_EVENTSOURCE_COM is relevant only with advanced timer instances. 5316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note TIM_EVENTSOURCE_BREAK and TIM_EVENTSOURCE_BREAK2 are relevant 5317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * only for timer instances supporting break input(s). 5318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 5319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_GenerateEvent(TIM_HandleTypeDef *htim, uint32_t EventSource) 5322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 5325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_EVENT_SOURCE(EventSource)); 5326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Process Locked */ 5328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_LOCK(htim); 5329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the TIM state */ 5331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; ARM GAS /tmp/ccGjXOU1.s page 95 5332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the event sources */ 5334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->EGR = EventSource; 5335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Change the TIM state */ 5337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 5338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 5340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return function status */ 5342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 5343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 5346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configures the OCRef clear feature 5347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 5348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param sClearInputConfig pointer to a TIM_ClearInputConfigTypeDef structure that 5349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * contains the OCREF clear feature and parameters for the TIM peripheral. 5350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel specifies the TIM Channel 5351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 5352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 5353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 5354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 5355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 5356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_5: TIM Channel 5 5357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_6: TIM Channel 6 5358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 5359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_ConfigOCrefClear(TIM_HandleTypeDef *htim, 5361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** const TIM_ClearInputConfigTypeDef *sClearInputConfig, 5362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t Channel) 5363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 5365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCXREF_CLEAR_INSTANCE(htim->Instance)); 5368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLEARINPUT_SOURCE(sClearInputConfig->ClearInputSource)); 5369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Process Locked */ 5371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_LOCK(htim); 5372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 5374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (sClearInputConfig->ClearInputSource) 5376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLEARINPUTSOURCE_NONE: 5378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Clear the OCREF clear selection bit and the the ETR Bits */ 5380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_OCCS_INSTANCE(htim->Instance)) 5381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5382: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 5383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Clear TIMx_AF2_OCRSEL (reset value) */ 5385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** CLEAR_BIT(htim->Instance->AF2, TIMx_AF2_OCRSEL); 5386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 5388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 96 5389: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 5390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLEARINPUTSOURCE_COMP1: 5395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLEARINPUTSOURCE_COMP2: 5396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLEARINPUTSOURCE_COMP3: 5397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLEARINPUTSOURCE_COMP4: 5398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if defined (COMP5) 5399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLEARINPUTSOURCE_COMP5: 5400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* COMP5 */ 5401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if defined (COMP6) 5402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLEARINPUTSOURCE_COMP6: 5403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* COMP6 */ 5404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if defined (COMP7) 5405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLEARINPUTSOURCE_COMP7: 5406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* COMP7 */ 5407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_OCCS_INSTANCE(htim->Instance)) 5409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Clear the OCREF clear selection bit */ 5411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** CLEAR_BIT(htim->Instance->SMCR, TIM_SMCR_OCCS); 5412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the clear input source */ 5415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** MODIFY_REG(htim->Instance->AF2, TIMx_AF2_OCRSEL, sClearInputConfig->ClearInputSource); 5416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLEARINPUTSOURCE_ETR: 5420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLEARINPUT_POLARITY(sClearInputConfig->ClearInputPolarity)); 5423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLEARINPUT_PRESCALER(sClearInputConfig->ClearInputPrescaler)); 5424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLEARINPUT_FILTER(sClearInputConfig->ClearInputFilter)); 5425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* When OCRef clear feature is used with ETR source, ETR prescaler must be off */ 5427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (sClearInputConfig->ClearInputPrescaler != TIM_CLEARINPUTPRESCALER_DIV1) 5428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 5430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 5431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 5432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ETR_SetConfig(htim->Instance, 5435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClearInputConfig->ClearInputPrescaler, 5436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClearInputConfig->ClearInputPolarity, 5437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClearInputConfig->ClearInputFilter); 5438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_OCCS_INSTANCE(htim->Instance)) 5440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the OCREF clear selection bit */ 5442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** SET_BIT(htim->Instance->SMCR, TIM_SMCR_OCCS); 5443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Clear TIMx_AF2_OCRSEL (reset value) */ 5445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** CLEAR_BIT(htim->Instance->AF2, TIMx_AF2_OCRSEL); ARM GAS /tmp/ccGjXOU1.s page 97 5446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 5451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 5452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (status == HAL_OK) 5456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 5458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 5460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (sClearInputConfig->ClearInputState != (uint32_t)DISABLE) 5462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the OCREF clear feature for Channel 1 */ 5464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** SET_BIT(htim->Instance->CCMR1, TIM_CCMR1_OC1CE); 5465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 5467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the OCREF clear feature for Channel 1 */ 5469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** CLEAR_BIT(htim->Instance->CCMR1, TIM_CCMR1_OC1CE); 5470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 5474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (sClearInputConfig->ClearInputState != (uint32_t)DISABLE) 5476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the OCREF clear feature for Channel 2 */ 5478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** SET_BIT(htim->Instance->CCMR1, TIM_CCMR1_OC2CE); 5479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 5481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the OCREF clear feature for Channel 2 */ 5483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** CLEAR_BIT(htim->Instance->CCMR1, TIM_CCMR1_OC2CE); 5484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 5488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (sClearInputConfig->ClearInputState != (uint32_t)DISABLE) 5490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the OCREF clear feature for Channel 3 */ 5492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** SET_BIT(htim->Instance->CCMR2, TIM_CCMR2_OC3CE); 5493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 5495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the OCREF clear feature for Channel 3 */ 5497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** CLEAR_BIT(htim->Instance->CCMR2, TIM_CCMR2_OC3CE); 5498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 5502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 98 5503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (sClearInputConfig->ClearInputState != (uint32_t)DISABLE) 5504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the OCREF clear feature for Channel 4 */ 5506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** SET_BIT(htim->Instance->CCMR2, TIM_CCMR2_OC4CE); 5507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 5509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the OCREF clear feature for Channel 4 */ 5511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** CLEAR_BIT(htim->Instance->CCMR2, TIM_CCMR2_OC4CE); 5512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_5: 5516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (sClearInputConfig->ClearInputState != (uint32_t)DISABLE) 5518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the OCREF clear feature for Channel 5 */ 5520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** SET_BIT(htim->Instance->CCMR3, TIM_CCMR3_OC5CE); 5521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 5523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the OCREF clear feature for Channel 5 */ 5525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** CLEAR_BIT(htim->Instance->CCMR3, TIM_CCMR3_OC5CE); 5526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_6: 5530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (sClearInputConfig->ClearInputState != (uint32_t)DISABLE) 5532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the OCREF clear feature for Channel 6 */ 5534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** SET_BIT(htim->Instance->CCMR3, TIM_CCMR3_OC6CE); 5535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 5537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the OCREF clear feature for Channel 6 */ 5539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** CLEAR_BIT(htim->Instance->CCMR3, TIM_CCMR3_OC6CE); 5540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 5544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 5549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 5551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 5553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 5556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configures the clock source to be used 5557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 5558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param sClockSourceConfig pointer to a TIM_ClockConfigTypeDef structure that 5559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * contains the clock source information for the TIM peripheral. ARM GAS /tmp/ccGjXOU1.s page 99 5560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 5561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_ConfigClockSource(TIM_HandleTypeDef *htim, const TIM_ClockConfigTypeDef * 5563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 5565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 5566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Process Locked */ 5568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_LOCK(htim); 5569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 5571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKSOURCE(sClockSourceConfig->ClockSource)); 5574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the SMS, TS, ECE, ETPS and ETRF bits */ 5576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR; 5577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr &= ~(TIM_SMCR_SMS | TIM_SMCR_TS); 5578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr &= ~(TIM_SMCR_ETF | TIM_SMCR_ETPS | TIM_SMCR_ECE | TIM_SMCR_ETP); 5579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR = tmpsmcr; 5580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (sClockSourceConfig->ClockSource) 5582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_INTERNAL: 5584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance)); 5586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ETRMODE1: 5590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check whether or not the timer instance supports external trigger input mode 1 (ETRF)*/ 5592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKSOURCE_ETRMODE1_INSTANCE(htim->Instance)); 5593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check ETR input conditioning related parameters */ 5595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKPRESCALER(sClockSourceConfig->ClockPrescaler)); 5596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKPOLARITY(sClockSourceConfig->ClockPolarity)); 5597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); 5598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the ETR Clock source */ 5600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ETR_SetConfig(htim->Instance, 5601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 5602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 5603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockFilter); 5604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the External clock mode1 and the ETRF trigger */ 5606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR; 5607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr |= (TIM_SLAVEMODE_EXTERNAL1 | TIM_CLOCKSOURCE_ETRMODE1); 5608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx SMCR */ 5609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR = tmpsmcr; 5610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ETRMODE2: 5614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check whether or not the timer instance supports external trigger input mode 2 (ETRF)*/ 5616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKSOURCE_ETRMODE2_INSTANCE(htim->Instance)); ARM GAS /tmp/ccGjXOU1.s page 100 5617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check ETR input conditioning related parameters */ 5619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKPRESCALER(sClockSourceConfig->ClockPrescaler)); 5620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKPOLARITY(sClockSourceConfig->ClockPolarity)); 5621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); 5622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the ETR Clock source */ 5624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ETR_SetConfig(htim->Instance, 5625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 5626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 5627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockFilter); 5628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the External clock mode2 */ 5629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SMCR_ECE; 5630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_TI1: 5634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check whether or not the timer instance supports external clock mode 1 */ 5636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKSOURCE_TIX_INSTANCE(htim->Instance)); 5637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check TI1 input conditioning related parameters */ 5639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKPOLARITY(sClockSourceConfig->ClockPolarity)); 5640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); 5641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_TI1_ConfigInputStage(htim->Instance, 5643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 5644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockFilter); 5645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ITRx_SetConfig(htim->Instance, TIM_CLOCKSOURCE_TI1); 5646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_TI2: 5650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check whether or not the timer instance supports external clock mode 1 (ETRF)*/ 5652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKSOURCE_TIX_INSTANCE(htim->Instance)); 5653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check TI2 input conditioning related parameters */ 5655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKPOLARITY(sClockSourceConfig->ClockPolarity)); 5656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); 5657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_TI2_ConfigInputStage(htim->Instance, 5659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 5660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockFilter); 5661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ITRx_SetConfig(htim->Instance, TIM_CLOCKSOURCE_TI2); 5662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_TI1ED: 5666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check whether or not the timer instance supports external clock mode 1 */ 5668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKSOURCE_TIX_INSTANCE(htim->Instance)); 5669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check TI1 input conditioning related parameters */ 5671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKPOLARITY(sClockSourceConfig->ClockPolarity)); 5672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); 5673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 101 5674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_TI1_ConfigInputStage(htim->Instance, 5675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 5676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockFilter); 5677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ITRx_SetConfig(htim->Instance, TIM_CLOCKSOURCE_TI1ED); 5678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR0: 5682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR1: 5683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR2: 5684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR3: 5685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if defined (TIM5) 5686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR4: 5687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* TIM5 */ 5688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR5: 5689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR6: 5690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR7: 5691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR8: 5692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if defined (TIM20) 5693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR9: 5694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* TIM20 */ 5695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if defined (HRTIM1) 5696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR10: 5697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* HRTIM1 */ 5698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR11: 5699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check whether or not the timer instance supports internal trigger input */ 5701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKSOURCE_INSTANCE((htim->Instance), sClockSourceConfig->ClockSource)); 5702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ITRx_SetConfig(htim->Instance, sClockSourceConfig->ClockSource); 5704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 5708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 5709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 5712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 5714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 5716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 5719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Selects the signal connected to the TI1 input: direct from CH1_input 5720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * or a XOR combination between CH1_input, CH2_input & CH3_input 5721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle. 5722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TI1_Selection Indicate whether or not channel 1 is connected to the 5723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * output of a XOR gate. 5724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 5725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TI1SELECTION_CH1: The TIMx_CH1 pin is connected to TI1 input 5726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TI1SELECTION_XORCOMBINATION: The TIMx_CH1, CH2 and CH3 5727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * pins are connected to the TI1 input (XOR combination) 5728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 5729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_ConfigTI1Input(TIM_HandleTypeDef *htim, uint32_t TI1_Selection) ARM GAS /tmp/ccGjXOU1.s page 102 5731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpcr2; 5733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_XOR_INSTANCE(htim->Instance)); 5736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TI1SELECTION(TI1_Selection)); 5737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CR2 register value */ 5739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 = htim->Instance->CR2; 5740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the TI1 selection */ 5742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_TI1S; 5743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the TI1 selection */ 5745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 |= TI1_Selection; 5746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMxCR2 */ 5748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CR2 = tmpcr2; 5749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 5751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 5754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configures the TIM in Slave mode 5755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle. 5756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param sSlaveConfig pointer to a TIM_SlaveConfigTypeDef structure that 5757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * contains the selected trigger (internal trigger input, filtered 5758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * timer input or external trigger input) and the Slave mode 5759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * (Disable, Reset, Gated, Trigger, External clock mode 1, Reset + Trigger, Gated + Reset) 5760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 5761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro(TIM_HandleTypeDef *htim, const TIM_SlaveConfigTypeDef 5763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_SLAVE_INSTANCE(htim->Instance)); 5766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_SLAVE_MODE(sSlaveConfig->SlaveMode)); 5767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGER_INSTANCE(htim->Instance, sSlaveConfig->InputTrigger)); 5768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_LOCK(htim); 5770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 5772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (TIM_SlaveTimer_SetConfig(htim, sSlaveConfig) != HAL_OK) 5774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 5776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 5777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 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 **** /* Disable Trigger Interrupt */ 5781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_TRIGGER); 5782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable Trigger DMA request */ 5784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_TRIGGER); 5785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 5787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 103 5788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 5789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 5791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 5794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configures the TIM in Slave mode in interrupt mode 5795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle. 5796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param sSlaveConfig pointer to a TIM_SlaveConfigTypeDef structure that 5797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * contains the selected trigger (internal trigger input, filtered 5798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * timer input or external trigger input) and the Slave mode 5799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * (Disable, Reset, Gated, Trigger, External clock mode 1, Reset + Trigger, Gated + Reset) 5800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL status 5801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro_IT(TIM_HandleTypeDef *htim, 5803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** const TIM_SlaveConfigTypeDef *sSlaveConfig) 5804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_SLAVE_INSTANCE(htim->Instance)); 5807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_SLAVE_MODE(sSlaveConfig->SlaveMode)); 5808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGER_INSTANCE(htim->Instance, sSlaveConfig->InputTrigger)); 5809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_LOCK(htim); 5811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY; 5813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (TIM_SlaveTimer_SetConfig(htim, sSlaveConfig) != HAL_OK) 5815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 5817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 5818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 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 **** /* Enable Trigger Interrupt */ 5822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_TRIGGER); 5823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable Trigger DMA request */ 5825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_TRIGGER); 5826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 5828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 5830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_OK; 5832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 5835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Read the captured value from Capture Compare unit 5836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle. 5837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channels to be enabled 5838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 5839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected 5840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected 5841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected 5842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected 5843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval Captured value 5844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ ARM GAS /tmp/ccGjXOU1.s page 104 5845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t HAL_TIM_ReadCapturedValue(const TIM_HandleTypeDef *htim, uint32_t Channel) 5846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpreg = 0U; 5848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (Channel) 5850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_1: 5852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(htim->Instance)); 5855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return the capture 1 value */ 5857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpreg = htim->Instance->CCR1; 5858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_2: 5862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC2_INSTANCE(htim->Instance)); 5865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return the capture 2 value */ 5867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpreg = htim->Instance->CCR2; 5868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_3: 5873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC3_INSTANCE(htim->Instance)); 5876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return the capture 3 value */ 5878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpreg = htim->Instance->CCR3; 5879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_CHANNEL_4: 5884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC4_INSTANCE(htim->Instance)); 5887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return the capture 4 value */ 5889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpreg = htim->Instance->CCR4; 5890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 5895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 5896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return tmpreg; 5899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** ARM GAS /tmp/ccGjXOU1.s page 105 5902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @} 5903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group9 TIM Callbacks functions 5906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM Callbacks functions 5907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * 5908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @verbatim 5909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 5910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ##### TIM Callbacks functions ##### 5911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 5912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 5913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** This section provides TIM callback functions: 5914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) TIM Period elapsed callback 5915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) TIM Output Compare callback 5916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) TIM Input capture callback 5917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) TIM Trigger callback 5918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) TIM Error callback 5919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) TIM Index callback 5920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) TIM Direction change callback 5921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) TIM Index error callback 5922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (+) TIM Transition error callback 5923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @endverbatim 5925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @{ 5926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 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 **** * @brief Period elapsed callback in non-blocking mode 5930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 5931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 5932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) 5934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 5936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 5937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 5939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_PeriodElapsedCallback could be implemented in the user file 5940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 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 **** * @brief Period elapsed half complete callback in non-blocking mode 5945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 5946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 5947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_PeriodElapsedHalfCpltCallback(TIM_HandleTypeDef *htim) 5949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 5951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 5952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 5954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_PeriodElapsedHalfCpltCallback could be implemented in the user file 5955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** ARM GAS /tmp/ccGjXOU1.s page 106 5959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Output Compare callback in non-blocking mode 5960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM OC handle 5961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 5962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_OC_DelayElapsedCallback(TIM_HandleTypeDef *htim) 5964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 5966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 5967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 5969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_OC_DelayElapsedCallback could be implemented in the user file 5970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 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 **** * @brief Input Capture callback in non-blocking mode 5975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM IC handle 5976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 5977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_IC_CaptureCallback(TIM_HandleTypeDef *htim) 5979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 5981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 5982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 5984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_IC_CaptureCallback could be implemented in the user file 5985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 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 **** * @brief Input Capture half complete callback in non-blocking mode 5990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM IC handle 5991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 5992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 5993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_IC_CaptureHalfCpltCallback(TIM_HandleTypeDef *htim) 5994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 5996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 5997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 5999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_IC_CaptureHalfCpltCallback could be implemented in the user file 6000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 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 **** * @brief PWM Pulse finished callback in non-blocking mode 6005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 6006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 6007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_PWM_PulseFinishedCallback(TIM_HandleTypeDef *htim) 6009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 6011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 6012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 6014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_PWM_PulseFinishedCallback could be implemented in the user file 6015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ ARM GAS /tmp/ccGjXOU1.s page 107 6016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 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 **** * @brief PWM Pulse finished half complete callback in non-blocking mode 6020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 6021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 6022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_PWM_PulseFinishedHalfCpltCallback(TIM_HandleTypeDef *htim) 6024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 6026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 6027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 6029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_PWM_PulseFinishedHalfCpltCallback could be implemented in the user file 6030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 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 **** * @brief Hall Trigger detection callback in non-blocking mode 6035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 6036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 6037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_TriggerCallback(TIM_HandleTypeDef *htim) 6039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 6041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 6042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 6044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_TriggerCallback could be implemented in the user file 6045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 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 **** * @brief Hall Trigger detection half complete callback in non-blocking mode 6050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 6051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 6052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_TriggerHalfCpltCallback(TIM_HandleTypeDef *htim) 6054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 6056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 6057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 6059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_TriggerHalfCpltCallback could be implemented in the user file 6060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 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 **** * @brief Timer error callback in non-blocking mode 6065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 6066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 6067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __weak void HAL_TIM_ErrorCallback(TIM_HandleTypeDef *htim) 6069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 6071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** UNUSED(htim); 6072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 108 6073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed, 6074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** the HAL_TIM_ErrorCallback could be implemented in the user file 6075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 6079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Register a User TIM callback to be used instead of the weak predefined callback 6081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim tim handle 6082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param CallbackID ID of the callback to be registered 6083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 6084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_BASE_MSPINIT_CB_ID Base MspInit Callback ID 6085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_BASE_MSPDEINIT_CB_ID Base MspDeInit Callback ID 6086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_IC_MSPINIT_CB_ID IC MspInit Callback ID 6087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_IC_MSPDEINIT_CB_ID IC MspDeInit Callback ID 6088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_OC_MSPINIT_CB_ID OC MspInit Callback ID 6089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_OC_MSPDEINIT_CB_ID OC MspDeInit Callback ID 6090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_PWM_MSPINIT_CB_ID PWM MspInit Callback ID 6091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_PWM_MSPDEINIT_CB_ID PWM MspDeInit Callback ID 6092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_ONE_PULSE_MSPINIT_CB_ID One Pulse MspInit Callback ID 6093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_ONE_PULSE_MSPDEINIT_CB_ID One Pulse MspDeInit Callback ID 6094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_ENCODER_MSPINIT_CB_ID Encoder MspInit Callback ID 6095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_ENCODER_MSPDEINIT_CB_ID Encoder MspDeInit Callback ID 6096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_HALL_SENSOR_MSPINIT_CB_ID Hall Sensor MspInit Callback ID 6097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_HALL_SENSOR_MSPDEINIT_CB_ID Hall Sensor MspDeInit Callback ID 6098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_PERIOD_ELAPSED_CB_ID Period Elapsed Callback ID 6099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_PERIOD_ELAPSED_HALF_CB_ID Period Elapsed half complete Callback ID 6100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_TRIGGER_CB_ID Trigger Callback ID 6101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_TRIGGER_HALF_CB_ID Trigger half complete Callback ID 6102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_IC_CAPTURE_CB_ID Input Capture Callback ID 6103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_IC_CAPTURE_HALF_CB_ID Input Capture half complete Callback ID 6104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_OC_DELAY_ELAPSED_CB_ID Output Compare Delay Elapsed Callback ID 6105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_PWM_PULSE_FINISHED_CB_ID PWM Pulse Finished Callback ID 6106: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 6107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_ERROR_CB_ID Error Callback ID 6108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_COMMUTATION_CB_ID Commutation Callback ID 6109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_COMMUTATION_HALF_CB_ID Commutation half complete Callback ID 6110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_BREAK_CB_ID Break Callback ID 6111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_BREAK2_CB_ID Break2 Callback ID 6112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_ENCODER_INDEX_CB_ID Encoder Index Callback ID 6113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_DIRECTION_CHANGE_CB_ID Direction Change Callback ID 6114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_INDEX_ERROR_CB_ID Index Error Callback ID 6115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_TRANSITION_ERROR_CB_ID Transition Error Callback ID 6116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param pCallback pointer to the callback function 6117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval status 6118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_RegisterCallback(TIM_HandleTypeDef *htim, HAL_TIM_CallbackIDTypeDef Callb 6120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** pTIM_CallbackTypeDef pCallback) 6121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 6123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (pCallback == NULL) 6125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 6127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_READY) ARM GAS /tmp/ccGjXOU1.s page 109 6130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (CallbackID) 6132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_BASE_MSPINIT_CB_ID : 6134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Base_MspInitCallback = pCallback; 6135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_BASE_MSPDEINIT_CB_ID : 6138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Base_MspDeInitCallback = pCallback; 6139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_IC_MSPINIT_CB_ID : 6142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_MspInitCallback = pCallback; 6143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_IC_MSPDEINIT_CB_ID : 6146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_MspDeInitCallback = pCallback; 6147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_OC_MSPINIT_CB_ID : 6150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_MspInitCallback = pCallback; 6151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_OC_MSPDEINIT_CB_ID : 6154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_MspDeInitCallback = pCallback; 6155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_PWM_MSPINIT_CB_ID : 6158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_MspInitCallback = pCallback; 6159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_PWM_MSPDEINIT_CB_ID : 6162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_MspDeInitCallback = pCallback; 6163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ONE_PULSE_MSPINIT_CB_ID : 6166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OnePulse_MspInitCallback = pCallback; 6167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ONE_PULSE_MSPDEINIT_CB_ID : 6170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OnePulse_MspDeInitCallback = pCallback; 6171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ENCODER_MSPINIT_CB_ID : 6174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Encoder_MspInitCallback = pCallback; 6175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ENCODER_MSPDEINIT_CB_ID : 6178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Encoder_MspDeInitCallback = pCallback; 6179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_HALL_SENSOR_MSPINIT_CB_ID : 6182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->HallSensor_MspInitCallback = pCallback; 6183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_HALL_SENSOR_MSPDEINIT_CB_ID : 6186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->HallSensor_MspDeInitCallback = pCallback; ARM GAS /tmp/ccGjXOU1.s page 110 6187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_PERIOD_ELAPSED_CB_ID : 6190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PeriodElapsedCallback = pCallback; 6191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_PERIOD_ELAPSED_HALF_CB_ID : 6194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PeriodElapsedHalfCpltCallback = pCallback; 6195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_TRIGGER_CB_ID : 6198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->TriggerCallback = pCallback; 6199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_TRIGGER_HALF_CB_ID : 6202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->TriggerHalfCpltCallback = pCallback; 6203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_IC_CAPTURE_CB_ID : 6206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_CaptureCallback = pCallback; 6207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_IC_CAPTURE_HALF_CB_ID : 6210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_CaptureHalfCpltCallback = pCallback; 6211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_OC_DELAY_ELAPSED_CB_ID : 6214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_DelayElapsedCallback = pCallback; 6215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_PWM_PULSE_FINISHED_CB_ID : 6218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_PulseFinishedCallback = pCallback; 6219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_PWM_PULSE_FINISHED_HALF_CB_ID : 6222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_PulseFinishedHalfCpltCallback = pCallback; 6223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ERROR_CB_ID : 6226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->ErrorCallback = pCallback; 6227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_COMMUTATION_CB_ID : 6230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->CommutationCallback = pCallback; 6231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_COMMUTATION_HALF_CB_ID : 6234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->CommutationHalfCpltCallback = pCallback; 6235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_BREAK_CB_ID : 6238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->BreakCallback = pCallback; 6239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_BREAK2_CB_ID : 6242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Break2Callback = pCallback; 6243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; ARM GAS /tmp/ccGjXOU1.s page 111 6244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ENCODER_INDEX_CB_ID : 6246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->EncoderIndexCallback = pCallback; 6247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_DIRECTION_CHANGE_CB_ID : 6250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DirectionChangeCallback = pCallback; 6251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_INDEX_ERROR_CB_ID : 6254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IndexErrorCallback = pCallback; 6255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_TRANSITION_ERROR_CB_ID : 6258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->TransitionErrorCallback = pCallback; 6259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default : 6262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 6263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 6264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (htim->State == HAL_TIM_STATE_RESET) 6268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (CallbackID) 6270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_BASE_MSPINIT_CB_ID : 6272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Base_MspInitCallback = pCallback; 6273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_BASE_MSPDEINIT_CB_ID : 6276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Base_MspDeInitCallback = pCallback; 6277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_IC_MSPINIT_CB_ID : 6280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_MspInitCallback = pCallback; 6281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_IC_MSPDEINIT_CB_ID : 6284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_MspDeInitCallback = pCallback; 6285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_OC_MSPINIT_CB_ID : 6288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_MspInitCallback = pCallback; 6289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_OC_MSPDEINIT_CB_ID : 6292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_MspDeInitCallback = pCallback; 6293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_PWM_MSPINIT_CB_ID : 6296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_MspInitCallback = pCallback; 6297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_PWM_MSPDEINIT_CB_ID : 6300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_MspDeInitCallback = pCallback; ARM GAS /tmp/ccGjXOU1.s page 112 6301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ONE_PULSE_MSPINIT_CB_ID : 6304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OnePulse_MspInitCallback = pCallback; 6305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ONE_PULSE_MSPDEINIT_CB_ID : 6308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OnePulse_MspDeInitCallback = pCallback; 6309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ENCODER_MSPINIT_CB_ID : 6312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Encoder_MspInitCallback = pCallback; 6313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_ENCODER_MSPDEINIT_CB_ID : 6316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Encoder_MspDeInitCallback = pCallback; 6317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_HALL_SENSOR_MSPINIT_CB_ID : 6320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->HallSensor_MspInitCallback = pCallback; 6321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_HALL_SENSOR_MSPDEINIT_CB_ID : 6324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->HallSensor_MspDeInitCallback = pCallback; 6325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default : 6328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 6329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 6330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 6334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 6336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 6337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 6340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Unregister a TIM callback 6344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * TIM callback is redirected to the weak predefined callback 6345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim tim handle 6346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param CallbackID ID of the callback to be unregistered 6347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 6348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_BASE_MSPINIT_CB_ID Base MspInit Callback ID 6349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_BASE_MSPDEINIT_CB_ID Base MspDeInit Callback ID 6350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_IC_MSPINIT_CB_ID IC MspInit Callback ID 6351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_IC_MSPDEINIT_CB_ID IC MspDeInit Callback ID 6352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_OC_MSPINIT_CB_ID OC MspInit Callback ID 6353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_OC_MSPDEINIT_CB_ID OC MspDeInit Callback ID 6354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_PWM_MSPINIT_CB_ID PWM MspInit Callback ID 6355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_PWM_MSPDEINIT_CB_ID PWM MspDeInit Callback ID 6356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_ONE_PULSE_MSPINIT_CB_ID One Pulse MspInit Callback ID 6357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_ONE_PULSE_MSPDEINIT_CB_ID One Pulse MspDeInit Callback ID ARM GAS /tmp/ccGjXOU1.s page 113 6358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_ENCODER_MSPINIT_CB_ID Encoder MspInit Callback ID 6359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_ENCODER_MSPDEINIT_CB_ID Encoder MspDeInit Callback ID 6360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_HALL_SENSOR_MSPINIT_CB_ID Hall Sensor MspInit Callback ID 6361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_HALL_SENSOR_MSPDEINIT_CB_ID Hall Sensor MspDeInit Callback ID 6362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_PERIOD_ELAPSED_CB_ID Period Elapsed Callback ID 6363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_PERIOD_ELAPSED_HALF_CB_ID Period Elapsed half complete Callback ID 6364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_TRIGGER_CB_ID Trigger Callback ID 6365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_TRIGGER_HALF_CB_ID Trigger half complete Callback ID 6366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_IC_CAPTURE_CB_ID Input Capture Callback ID 6367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_IC_CAPTURE_HALF_CB_ID Input Capture half complete Callback ID 6368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_OC_DELAY_ELAPSED_CB_ID Output Compare Delay Elapsed Callback ID 6369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_PWM_PULSE_FINISHED_CB_ID PWM Pulse Finished Callback ID 6370: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 6371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_ERROR_CB_ID Error Callback ID 6372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_COMMUTATION_CB_ID Commutation Callback ID 6373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_COMMUTATION_HALF_CB_ID Commutation half complete Callback ID 6374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_BREAK_CB_ID Break Callback ID 6375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_BREAK2_CB_ID Break2 Callback ID 6376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_ENCODER_INDEX_CB_ID Encoder Index Callback ID 6377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_DIRECTION_CHANGE_CB_ID Direction Change Callback ID 6378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_INDEX_ERROR_CB_ID Index Error Callback ID 6379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg @ref HAL_TIM_TRANSITION_ERROR_CB_ID Transition Error Callback ID 6380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval status 6381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_UnRegisterCallback(TIM_HandleTypeDef *htim, HAL_TIM_CallbackIDTypeDef Cal 6383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 6385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_READY) 6387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (CallbackID) 6389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_BASE_MSPINIT_CB_ID : 6391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Base MspInit Callback */ 6392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Base_MspInitCallback = HAL_TIM_Base_MspInit; 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_BASE_MSPDEINIT_CB_ID : 6396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Base Msp DeInit Callback */ 6397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Base_MspDeInitCallback = HAL_TIM_Base_MspDeInit; 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_MSPINIT_CB_ID : 6401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak IC Msp Init Callback */ 6402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_MspInitCallback = HAL_TIM_IC_MspInit; 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_IC_MSPDEINIT_CB_ID : 6406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak IC Msp DeInit Callback */ 6407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_MspDeInitCallback = HAL_TIM_IC_MspDeInit; 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_MSPINIT_CB_ID : 6411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak OC Msp Init Callback */ 6412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_MspInitCallback = HAL_TIM_OC_MspInit; 6413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 114 6415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_OC_MSPDEINIT_CB_ID : 6416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak OC Msp DeInit Callback */ 6417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_MspDeInitCallback = HAL_TIM_OC_MspDeInit; 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_MSPINIT_CB_ID : 6421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak PWM Msp Init Callback */ 6422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_MspInitCallback = HAL_TIM_PWM_MspInit; 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_PWM_MSPDEINIT_CB_ID : 6426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak PWM Msp DeInit Callback */ 6427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_MspDeInitCallback = HAL_TIM_PWM_MspDeInit; 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_MSPINIT_CB_ID : 6431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak One Pulse Msp Init Callback */ 6432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OnePulse_MspInitCallback = HAL_TIM_OnePulse_MspInit; 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_ONE_PULSE_MSPDEINIT_CB_ID : 6436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak One Pulse Msp DeInit Callback */ 6437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OnePulse_MspDeInitCallback = HAL_TIM_OnePulse_MspDeInit; 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_MSPINIT_CB_ID : 6441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Encoder Msp Init Callback */ 6442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Encoder_MspInitCallback = HAL_TIM_Encoder_MspInit; 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_ENCODER_MSPDEINIT_CB_ID : 6446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Encoder Msp DeInit Callback */ 6447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Encoder_MspDeInitCallback = HAL_TIM_Encoder_MspDeInit; 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_MSPINIT_CB_ID : 6451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Hall Sensor Msp Init Callback */ 6452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->HallSensor_MspInitCallback = HAL_TIMEx_HallSensor_MspInit; 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_HALL_SENSOR_MSPDEINIT_CB_ID : 6456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Hall Sensor Msp DeInit Callback */ 6457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->HallSensor_MspDeInitCallback = HAL_TIMEx_HallSensor_MspDeInit; 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_CB_ID : 6461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Period Elapsed Callback */ 6462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PeriodElapsedCallback = HAL_TIM_PeriodElapsedCallback; 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_PERIOD_ELAPSED_HALF_CB_ID : 6466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Period Elapsed half complete Callback */ 6467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PeriodElapsedHalfCpltCallback = HAL_TIM_PeriodElapsedHalfCpltCallback; 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_CB_ID : 6471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Trigger Callback */ ARM GAS /tmp/ccGjXOU1.s page 115 6472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->TriggerCallback = HAL_TIM_TriggerCallback; 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_TRIGGER_HALF_CB_ID : 6476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Trigger half complete Callback */ 6477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->TriggerHalfCpltCallback = HAL_TIM_TriggerHalfCpltCallback; 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_CB_ID : 6481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak IC Capture Callback */ 6482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_CaptureCallback = HAL_TIM_IC_CaptureCallback; 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_IC_CAPTURE_HALF_CB_ID : 6486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak IC Capture half complete Callback */ 6487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_CaptureHalfCpltCallback = HAL_TIM_IC_CaptureHalfCpltCallback; 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_OC_DELAY_ELAPSED_CB_ID : 6491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak OC Delay Elapsed Callback */ 6492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_DelayElapsedCallback = HAL_TIM_OC_DelayElapsedCallback; 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_CB_ID : 6496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak PWM Pulse Finished Callback */ 6497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_PulseFinishedCallback = HAL_TIM_PWM_PulseFinishedCallback; 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_PWM_PULSE_FINISHED_HALF_CB_ID : 6501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak PWM Pulse Finished half complete Callback */ 6502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_PulseFinishedHalfCpltCallback = HAL_TIM_PWM_PulseFinishedHalfCpltCallback; 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_ERROR_CB_ID : 6506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Error Callback */ 6507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->ErrorCallback = HAL_TIM_ErrorCallback; 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_CB_ID : 6511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Commutation Callback */ 6512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->CommutationCallback = HAL_TIMEx_CommutCallback; 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_COMMUTATION_HALF_CB_ID : 6516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Commutation half complete Callback */ 6517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->CommutationHalfCpltCallback = HAL_TIMEx_CommutHalfCpltCallback; 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_BREAK_CB_ID : 6521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Break Callback */ 6522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->BreakCallback = HAL_TIMEx_BreakCallback; 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_BREAK2_CB_ID : 6526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Break2 Callback */ 6527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Break2Callback = HAL_TIMEx_Break2Callback; 6528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; ARM GAS /tmp/ccGjXOU1.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_ENCODER_INDEX_CB_ID : 6531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Encoder Index Callback */ 6532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->EncoderIndexCallback = HAL_TIMEx_EncoderIndexCallback; 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_DIRECTION_CHANGE_CB_ID : 6536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Direction Change Callback */ 6537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->DirectionChangeCallback = HAL_TIMEx_DirectionChangeCallback; 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_INDEX_ERROR_CB_ID : 6541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Index Error Callback */ 6542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IndexErrorCallback = HAL_TIMEx_IndexErrorCallback; 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 **** case HAL_TIM_TRANSITION_ERROR_CB_ID : 6546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Transition Error Callback */ 6547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->TransitionErrorCallback = HAL_TIMEx_TransitionErrorCallback; 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 **** default : 6551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 6552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 6553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (htim->State == HAL_TIM_STATE_RESET) 6557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (CallbackID) 6559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case HAL_TIM_BASE_MSPINIT_CB_ID : 6561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Base MspInit Callback */ 6562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Base_MspInitCallback = HAL_TIM_Base_MspInit; 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_BASE_MSPDEINIT_CB_ID : 6566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Base Msp DeInit Callback */ 6567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Base_MspDeInitCallback = HAL_TIM_Base_MspDeInit; 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_MSPINIT_CB_ID : 6571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak IC Msp Init Callback */ 6572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_MspInitCallback = HAL_TIM_IC_MspInit; 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_IC_MSPDEINIT_CB_ID : 6576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak IC Msp DeInit Callback */ 6577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_MspDeInitCallback = HAL_TIM_IC_MspDeInit; 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_MSPINIT_CB_ID : 6581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak OC Msp Init Callback */ 6582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_MspInitCallback = HAL_TIM_OC_MspInit; 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_OC_MSPDEINIT_CB_ID : ARM GAS /tmp/ccGjXOU1.s page 117 6586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak OC Msp DeInit Callback */ 6587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OC_MspDeInitCallback = HAL_TIM_OC_MspDeInit; 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_MSPINIT_CB_ID : 6591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak PWM Msp Init Callback */ 6592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_MspInitCallback = HAL_TIM_PWM_MspInit; 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_PWM_MSPDEINIT_CB_ID : 6596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak PWM Msp DeInit Callback */ 6597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_MspDeInitCallback = HAL_TIM_PWM_MspDeInit; 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_MSPINIT_CB_ID : 6601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak One Pulse Msp Init Callback */ 6602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OnePulse_MspInitCallback = HAL_TIM_OnePulse_MspInit; 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_ONE_PULSE_MSPDEINIT_CB_ID : 6606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak One Pulse Msp DeInit Callback */ 6607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->OnePulse_MspDeInitCallback = HAL_TIM_OnePulse_MspDeInit; 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_MSPINIT_CB_ID : 6611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Encoder Msp Init Callback */ 6612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Encoder_MspInitCallback = HAL_TIM_Encoder_MspInit; 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_ENCODER_MSPDEINIT_CB_ID : 6616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Encoder Msp DeInit Callback */ 6617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Encoder_MspDeInitCallback = HAL_TIM_Encoder_MspDeInit; 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_MSPINIT_CB_ID : 6621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Hall Sensor Msp Init Callback */ 6622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->HallSensor_MspInitCallback = HAL_TIMEx_HallSensor_MspInit; 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 **** case HAL_TIM_HALL_SENSOR_MSPDEINIT_CB_ID : 6626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Legacy weak Hall Sensor Msp DeInit Callback */ 6627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->HallSensor_MspDeInitCallback = HAL_TIMEx_HallSensor_MspDeInit; 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 **** default : 6631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 6632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 6633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 6637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Return error status */ 6639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 6640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; ARM GAS /tmp/ccGjXOU1.s page 118 6643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 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 **** */ 6649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group10 TIM Peripheral State functions 6651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM Peripheral State functions 6652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * 6653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @verbatim 6654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 6655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ##### Peripheral State functions ##### 6656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ============================================================================== 6657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** [..] 6658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** This subsection permits to get in run-time the status of the peripheral 6659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** and the data flow. 6660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** @endverbatim 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 **** 6665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Return the TIM Base handle state. 6667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Base handle 6668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL state 6669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_StateTypeDef HAL_TIM_Base_GetState(const TIM_HandleTypeDef *htim) 6671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 6673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Return the TIM OC handle state. 6677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Output Compare handle 6678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL state 6679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_StateTypeDef HAL_TIM_OC_GetState(const TIM_HandleTypeDef *htim) 6681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 6683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Return the TIM PWM handle state. 6687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 6688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL state 6689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_StateTypeDef HAL_TIM_PWM_GetState(const TIM_HandleTypeDef *htim) 6691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 6693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Return the TIM Input Capture handle state. 6697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM IC handle 6698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL state 6699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ ARM GAS /tmp/ccGjXOU1.s page 119 6700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_StateTypeDef HAL_TIM_IC_GetState(const TIM_HandleTypeDef *htim) 6701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 6703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Return the TIM One Pulse Mode handle state. 6707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM OPM handle 6708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL state 6709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_StateTypeDef HAL_TIM_OnePulse_GetState(const TIM_HandleTypeDef *htim) 6711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 6713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Return the TIM Encoder Mode handle state. 6717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM Encoder Interface handle 6718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval HAL state 6719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_StateTypeDef HAL_TIM_Encoder_GetState(const TIM_HandleTypeDef *htim) 6721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 6723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Return the TIM Encoder Mode handle state. 6727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 6728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval Active channel 6729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ActiveChannel HAL_TIM_GetActiveChannel(const TIM_HandleTypeDef *htim) 6731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->Channel; 6733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Return actual state of the TIM channel. 6737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 6738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel TIM Channel 6739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 6740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 6741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 6742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 6743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 6744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_5: TIM Channel 5 6745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_6: TIM Channel 6 6746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval TIM Channel state 6747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef HAL_TIM_GetChannelState(const TIM_HandleTypeDef *htim, uint32_t Channe 6749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_state; 6751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 6753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); 6754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** channel_state = TIM_CHANNEL_STATE_GET(htim, Channel); 6756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 120 6757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return channel_state; 6758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Return actual state of a DMA burst operation. 6762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 6763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval DMA burst state 6764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_DMABurstStateTypeDef HAL_TIM_DMABurstState(const TIM_HandleTypeDef *htim) 6766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 6768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMABURST_INSTANCE(htim->Instance)); 6769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->DMABurstState; 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 **** */ 6780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** @defgroup TIM_Private_Functions TIM Private Functions 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 **** 6785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM DMA error callback 6787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param hdma pointer to DMA handle. 6788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 6789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** void TIM_DMAError(DMA_HandleTypeDef *hdma) 6791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 6793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma == htim->hdma[TIM_DMA_ID_CC1]) 6795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1; 6797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 6798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC2]) 6800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2; 6802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 6803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC3]) 6805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3; 6807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY); 6808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC4]) 6810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4; 6812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY); 6813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/ccGjXOU1.s page 121 6814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 6815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 6817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 6820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->ErrorCallback(htim); 6821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 6822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ErrorCallback(htim); 6823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; 6826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM DMA Delay Pulse complete callback. 6830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param hdma pointer to DMA handle. 6831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 6832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_DMADelayPulseCplt(DMA_HandleTypeDef *hdma) 6834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 6836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma == htim->hdma[TIM_DMA_ID_CC1]) 6838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1; 6840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma->Init.Mode == DMA_NORMAL) 6842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 6844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC2]) 6847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2; 6849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma->Init.Mode == DMA_NORMAL) 6851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 6853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC3]) 6856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3; 6858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma->Init.Mode == DMA_NORMAL) 6860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY); 6862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC4]) 6865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4; 6867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma->Init.Mode == DMA_NORMAL) 6869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY); ARM GAS /tmp/ccGjXOU1.s page 122 6871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 6874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* nothing to do */ 6876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 6879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_PulseFinishedCallback(htim); 6880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 6881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim); 6882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; 6885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM DMA Delay Pulse half complete callback. 6889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param hdma pointer to DMA handle. 6890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 6891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** void TIM_DMADelayPulseHalfCplt(DMA_HandleTypeDef *hdma) 6893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 6895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma == htim->hdma[TIM_DMA_ID_CC1]) 6897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1; 6899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC2]) 6901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2; 6903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC3]) 6905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3; 6907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC4]) 6909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4; 6911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 6913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* nothing to do */ 6915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 6918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PWM_PulseFinishedHalfCpltCallback(htim); 6919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 6920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedHalfCpltCallback(htim); 6921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; 6924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM DMA Capture complete callback. ARM GAS /tmp/ccGjXOU1.s page 123 6928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param hdma pointer to DMA handle. 6929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 6930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** void TIM_DMACaptureCplt(DMA_HandleTypeDef *hdma) 6932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 6934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma == htim->hdma[TIM_DMA_ID_CC1]) 6936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1; 6938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma->Init.Mode == DMA_NORMAL) 6940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 6942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 6943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC2]) 6946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2; 6948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma->Init.Mode == DMA_NORMAL) 6950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 6952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 6953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC3]) 6956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3; 6958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma->Init.Mode == DMA_NORMAL) 6960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY); 6962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY); 6963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC4]) 6966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4; 6968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma->Init.Mode == DMA_NORMAL) 6970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY); 6972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY); 6973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 6976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* nothing to do */ 6978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 6981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_CaptureCallback(htim); 6982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 6983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_IC_CaptureCallback(htim); 6984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ ARM GAS /tmp/ccGjXOU1.s page 124 6985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; 6987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 6990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM DMA Capture half complete callback. 6991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param hdma pointer to DMA handle. 6992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 6993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 6994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** void TIM_DMACaptureHalfCplt(DMA_HandleTypeDef *hdma) 6995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 6997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (hdma == htim->hdma[TIM_DMA_ID_CC1]) 6999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1; 7001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC2]) 7003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2; 7005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC3]) 7007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3; 7009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC4]) 7011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4; 7013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 7015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* nothing to do */ 7017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 7020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->IC_CaptureHalfCpltCallback(htim); 7021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 7022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_IC_CaptureHalfCpltCallback(htim); 7023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 7024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; 7026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM DMA Period Elapse complete callback. 7030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param hdma pointer to DMA handle. 7031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_DMAPeriodElapsedCplt(DMA_HandleTypeDef *hdma) 7034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 7036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->hdma[TIM_DMA_ID_UPDATE]->Init.Mode == DMA_NORMAL) 7038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 7040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 125 7042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 7043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PeriodElapsedCallback(htim); 7044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 7045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PeriodElapsedCallback(htim); 7046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 7047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM DMA Period Elapse half complete callback. 7051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param hdma pointer to DMA handle. 7052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_DMAPeriodElapsedHalfCplt(DMA_HandleTypeDef *hdma) 7055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 7057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 7059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->PeriodElapsedHalfCpltCallback(htim); 7060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 7061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PeriodElapsedHalfCpltCallback(htim); 7062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 7063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM DMA Trigger callback. 7067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param hdma pointer to DMA handle. 7068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_DMATriggerCplt(DMA_HandleTypeDef *hdma) 7071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 7073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (htim->hdma[TIM_DMA_ID_TRIGGER]->Init.Mode == DMA_NORMAL) 7075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY; 7077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 7080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->TriggerCallback(htim); 7081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 7082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_TriggerCallback(htim); 7083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 7084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief TIM DMA Trigger half complete callback. 7088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param hdma pointer to DMA handle. 7089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_DMATriggerHalfCplt(DMA_HandleTypeDef *hdma) 7092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 7094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 7096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->TriggerHalfCpltCallback(htim); 7097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #else 7098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_TriggerHalfCpltCallback(htim); ARM GAS /tmp/ccGjXOU1.s page 126 7099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 7100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Time Base configuration 7104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx TIM peripheral 7105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Structure TIM Base configuration structure 7106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** void TIM_Base_SetConfig(TIM_TypeDef *TIMx, const TIM_Base_InitTypeDef *Structure) 7109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpcr1; 7111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr1 = TIMx->CR1; 7112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set TIM Time Base Unit parameters ---------------------------------------*/ 7114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_COUNTER_MODE_SELECT_INSTANCE(TIMx)) 7115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Counter Mode */ 7117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr1 &= ~(TIM_CR1_DIR | TIM_CR1_CMS); 7118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr1 |= Structure->CounterMode; 7119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_CLOCK_DIVISION_INSTANCE(TIMx)) 7122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the clock division */ 7124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr1 &= ~TIM_CR1_CKD; 7125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr1 |= (uint32_t)Structure->ClockDivision; 7126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the auto-reload preload */ 7129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** MODIFY_REG(tmpcr1, TIM_CR1_ARPE, Structure->AutoReloadPreload); 7130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CR1 = tmpcr1; 7132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Autoreload value */ 7134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->ARR = (uint32_t)Structure->Period ; 7135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Prescaler value */ 7137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->PSC = Structure->Prescaler; 7138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_REPETITION_COUNTER_INSTANCE(TIMx)) 7140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Repetition Counter value */ 7142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->RCR = Structure->RepetitionCounter; 7143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Generate an update event to reload the Prescaler 7146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** and the repetition counter (only for advanced timer) value immediately */ 7147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->EGR = TIM_EGR_UG; 7148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check if the update flag is set after the Update Generation, if so clear the UIF flag */ 7150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (HAL_IS_BIT_SET(TIMx->SR, TIM_FLAG_UPDATE)) 7151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Clear the update flag */ 7153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** CLEAR_BIT(TIMx->SR, TIM_FLAG_UPDATE); 7154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/ccGjXOU1.s page 127 7156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Timer Output Compare 1 configuration 7159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral 7160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param OC_Config The output configuration structure 7161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) 7164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 29 .loc 1 7164 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 7164 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 7165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmrx; 40 .loc 1 7165 3 is_stmt 1 view .LVU2 7166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 41 .loc 1 7166 3 view .LVU3 7167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpcr2; 42 .loc 1 7167 3 view .LVU4 7168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCER register value */ 7170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 43 .loc 1 7170 3 view .LVU5 44 .loc 1 7170 11 is_stmt 0 view .LVU6 45 0002 026A ldr r2, [r0, #32] 46 .LVL1: 7171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Channel 1: Reset the CC1E Bit */ 7173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC1E; 47 .loc 1 7173 3 is_stmt 1 view .LVU7 48 .loc 1 7173 7 is_stmt 0 view .LVU8 49 0004 036A ldr r3, [r0, #32] 50 .loc 1 7173 14 view .LVU9 51 0006 23F00103 bic r3, r3, #1 52 000a 0362 str r3, [r0, #32] 7174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CR2 register value */ 7176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 = TIMx->CR2; 53 .loc 1 7176 3 is_stmt 1 view .LVU10 54 .loc 1 7176 10 is_stmt 0 view .LVU11 55 000c 4468 ldr r4, [r0, #4] 56 .LVL2: 7177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCMR1 register value */ 7179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx = TIMx->CCMR1; 57 .loc 1 7179 3 is_stmt 1 view .LVU12 58 .loc 1 7179 12 is_stmt 0 view .LVU13 59 000e 8369 ldr r3, [r0, #24] 60 .LVL3: 7180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 128 7181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare Mode Bits */ 7182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR1_OC1M; 61 .loc 1 7182 3 is_stmt 1 view .LVU14 7183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR1_CC1S; 62 .loc 1 7183 3 view .LVU15 63 .loc 1 7183 12 is_stmt 0 view .LVU16 64 0010 23F48033 bic r3, r3, #65536 65 .LVL4: 66 .loc 1 7183 12 view .LVU17 67 0014 23F07303 bic r3, r3, #115 68 .LVL5: 7184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Output Compare Mode */ 7185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx |= OC_Config->OCMode; 69 .loc 1 7185 3 is_stmt 1 view .LVU18 70 .loc 1 7185 24 is_stmt 0 view .LVU19 71 0018 0D68 ldr r5, [r1] 72 .loc 1 7185 12 view .LVU20 73 001a 1D43 orrs r5, r5, r3 74 .LVL6: 7186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Polarity level */ 7188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC1P; 75 .loc 1 7188 3 is_stmt 1 view .LVU21 76 .loc 1 7188 11 is_stmt 0 view .LVU22 77 001c 22F00202 bic r2, r2, #2 78 .LVL7: 7189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Compare Polarity */ 7190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= OC_Config->OCPolarity; 79 .loc 1 7190 3 is_stmt 1 view .LVU23 80 .loc 1 7190 23 is_stmt 0 view .LVU24 81 0020 8B68 ldr r3, [r1, #8] 82 .loc 1 7190 11 view .LVU25 83 0022 1343 orrs r3, r3, r2 84 .LVL8: 7191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_CCXN_INSTANCE(TIMx, TIM_CHANNEL_1)) 85 .loc 1 7192 3 is_stmt 1 view .LVU26 86 .loc 1 7192 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 7192 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 7192 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 7192 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 7192 7 discriminator 4 view .LVU31 103 0042 02F58062 add r2, r2, #1024 104 0046 9042 cmp r0, r2 105 0048 05D1 bne .L3 ARM GAS /tmp/ccGjXOU1.s page 129 106 .L2: 7193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check parameters */ 7195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); 107 .loc 1 7195 5 is_stmt 1 view .LVU32 7196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output N Polarity level */ 7198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC1NP; 108 .loc 1 7198 5 view .LVU33 109 .loc 1 7198 13 is_stmt 0 view .LVU34 110 004a 23F00803 bic r3, r3, #8 111 .LVL9: 7199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Polarity */ 7200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= OC_Config->OCNPolarity; 112 .loc 1 7200 5 is_stmt 1 view .LVU35 113 .loc 1 7200 25 is_stmt 0 view .LVU36 114 004e CA68 ldr r2, [r1, #12] 115 .loc 1 7200 13 view .LVU37 116 0050 1A43 orrs r2, r2, r3 117 .LVL10: 7201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output N State */ 7202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC1NE; 118 .loc 1 7202 5 is_stmt 1 view .LVU38 119 .loc 1 7202 13 is_stmt 0 view .LVU39 120 0052 22F00403 bic r3, r2, #4 121 .LVL11: 122 .L3: 7203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(TIMx)) 123 .loc 1 7205 3 is_stmt 1 view .LVU40 124 .loc 1 7205 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 7205 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 7205 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 7205 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 7205 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: 7206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check parameters */ 7208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCNIDLE_STATE(OC_Config->OCNIdleState)); 145 .loc 1 7208 5 is_stmt 1 view .LVU46 7209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState)); ARM GAS /tmp/ccGjXOU1.s page 130 146 .loc 1 7209 5 view .LVU47 7210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare and Output Compare N IDLE State */ 7212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS1; 147 .loc 1 7212 5 view .LVU48 148 .LVL12: 7213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS1N; 149 .loc 1 7213 5 view .LVU49 150 .loc 1 7213 12 is_stmt 0 view .LVU50 151 007c 24F44074 bic r4, r4, #768 152 .LVL13: 7214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Idle state */ 7215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 |= OC_Config->OCIdleState; 153 .loc 1 7215 5 is_stmt 1 view .LVU51 154 .loc 1 7215 24 is_stmt 0 view .LVU52 155 0080 4A69 ldr r2, [r1, #20] 156 .loc 1 7215 12 view .LVU53 157 0082 2243 orrs r2, r2, r4 158 .LVL14: 7216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Idle state */ 7217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 |= OC_Config->OCNIdleState; 159 .loc 1 7217 5 is_stmt 1 view .LVU54 160 .loc 1 7217 24 is_stmt 0 view .LVU55 161 0084 8C69 ldr r4, [r1, #24] 162 .loc 1 7217 12 view .LVU56 163 0086 1443 orrs r4, r4, r2 164 .LVL15: 165 .L5: 7218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CR2 */ 7221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CR2 = tmpcr2; 166 .loc 1 7221 3 is_stmt 1 view .LVU57 167 .loc 1 7221 13 is_stmt 0 view .LVU58 168 0088 4460 str r4, [r0, #4] 7222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR1 */ 7224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCMR1 = tmpccmrx; 169 .loc 1 7224 3 is_stmt 1 view .LVU59 170 .loc 1 7224 15 is_stmt 0 view .LVU60 171 008a 8561 str r5, [r0, #24] 7225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Capture Compare Register value */ 7227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCR1 = OC_Config->Pulse; 172 .loc 1 7227 3 is_stmt 1 view .LVU61 173 .loc 1 7227 25 is_stmt 0 view .LVU62 174 008c 4A68 ldr r2, [r1, #4] 175 .loc 1 7227 14 view .LVU63 176 008e 4263 str r2, [r0, #52] 7228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCER */ 7230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 177 .loc 1 7230 3 is_stmt 1 view .LVU64 178 .loc 1 7230 14 is_stmt 0 view .LVU65 179 0090 0362 str r3, [r0, #32] 7231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 180 .loc 1 7231 1 view .LVU66 ARM GAS /tmp/ccGjXOU1.s page 131 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 7231 1 view .LVU67 188 0094 7047 bx lr 189 .L8: 190 0096 00BF .align 2 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: 7232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Timer Output Compare 2 configuration 7235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral 7236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param OC_Config The output configuration structure 7237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** void TIM_OC2_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) 7240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmrx; 7242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 7243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpcr2; 7244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCER register value */ 7246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 7247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Channel 2: Reset the CC2E Bit */ 7249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC2E; 7250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CR2 register value */ 7252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 = TIMx->CR2; 7253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCMR1 register value */ 7255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx = TIMx->CCMR1; 7256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare mode and Capture/Compare selection Bits */ 7258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR1_OC2M; 7259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR1_CC2S; 7260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Output Compare Mode */ 7262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx |= (OC_Config->OCMode << 8U); 7263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Polarity level */ 7265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC2P; 7266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Compare Polarity */ ARM GAS /tmp/ccGjXOU1.s page 132 7267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (OC_Config->OCPolarity << 4U); 7268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_CCXN_INSTANCE(TIMx, TIM_CHANNEL_2)) 7270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); 7272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output N Polarity level */ 7274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC2NP; 7275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Polarity */ 7276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (OC_Config->OCNPolarity << 4U); 7277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output N State */ 7278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC2NE; 7279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(TIMx)) 7282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check parameters */ 7284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCNIDLE_STATE(OC_Config->OCNIdleState)); 7285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState)); 7286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare and Output Compare N IDLE State */ 7288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS2; 7289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS2N; 7290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Idle state */ 7291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 |= (OC_Config->OCIdleState << 2U); 7292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Idle state */ 7293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 |= (OC_Config->OCNIdleState << 2U); 7294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CR2 */ 7297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CR2 = tmpcr2; 7298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR1 */ 7300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCMR1 = tmpccmrx; 7301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Capture Compare Register value */ 7303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCR2 = OC_Config->Pulse; 7304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCER */ 7306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 7307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Timer Output Compare 3 configuration 7311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral 7312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param OC_Config The output configuration structure 7313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) 7316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 205 .loc 1 7316 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 7316 1 is_stmt 0 view .LVU69 211 0000 30B4 push {r4, r5} ARM GAS /tmp/ccGjXOU1.s page 133 212 .LCFI2: 213 .cfi_def_cfa_offset 8 214 .cfi_offset 4, -8 215 .cfi_offset 5, -4 7317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmrx; 216 .loc 1 7317 3 is_stmt 1 view .LVU70 7318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 217 .loc 1 7318 3 view .LVU71 7319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpcr2; 218 .loc 1 7319 3 view .LVU72 7320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCER register value */ 7322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 219 .loc 1 7322 3 view .LVU73 220 .loc 1 7322 11 is_stmt 0 view .LVU74 221 0002 036A ldr r3, [r0, #32] 222 .LVL18: 7323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Channel 3: Reset the CC2E Bit */ 7325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC3E; 223 .loc 1 7325 3 is_stmt 1 view .LVU75 224 .loc 1 7325 7 is_stmt 0 view .LVU76 225 0004 026A ldr r2, [r0, #32] 226 .loc 1 7325 14 view .LVU77 227 0006 22F48072 bic r2, r2, #256 228 000a 0262 str r2, [r0, #32] 7326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CR2 register value */ 7328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 = TIMx->CR2; 229 .loc 1 7328 3 is_stmt 1 view .LVU78 230 .loc 1 7328 10 is_stmt 0 view .LVU79 231 000c 4468 ldr r4, [r0, #4] 232 .LVL19: 7329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCMR2 register value */ 7331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx = TIMx->CCMR2; 233 .loc 1 7331 3 is_stmt 1 view .LVU80 234 .loc 1 7331 12 is_stmt 0 view .LVU81 235 000e C269 ldr r2, [r0, #28] 236 .LVL20: 7332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare mode and Capture/Compare selection Bits */ 7334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR2_OC3M; 237 .loc 1 7334 3 is_stmt 1 view .LVU82 7335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR2_CC3S; 238 .loc 1 7335 3 view .LVU83 239 .loc 1 7335 12 is_stmt 0 view .LVU84 240 0010 22F48032 bic r2, r2, #65536 241 .LVL21: 242 .loc 1 7335 12 view .LVU85 243 0014 22F07302 bic r2, r2, #115 244 .LVL22: 7336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Output Compare Mode */ 7337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx |= OC_Config->OCMode; 245 .loc 1 7337 3 is_stmt 1 view .LVU86 246 .loc 1 7337 24 is_stmt 0 view .LVU87 247 0018 0D68 ldr r5, [r1] ARM GAS /tmp/ccGjXOU1.s page 134 248 .loc 1 7337 12 view .LVU88 249 001a 1543 orrs r5, r5, r2 250 .LVL23: 7338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Polarity level */ 7340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC3P; 251 .loc 1 7340 3 is_stmt 1 view .LVU89 252 .loc 1 7340 11 is_stmt 0 view .LVU90 253 001c 23F40073 bic r3, r3, #512 254 .LVL24: 7341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Compare Polarity */ 7342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (OC_Config->OCPolarity << 8U); 255 .loc 1 7342 3 is_stmt 1 view .LVU91 256 .loc 1 7342 24 is_stmt 0 view .LVU92 257 0020 8A68 ldr r2, [r1, #8] 258 .loc 1 7342 11 view .LVU93 259 0022 43EA0223 orr r3, r3, r2, lsl #8 260 .LVL25: 7343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_CCXN_INSTANCE(TIMx, TIM_CHANNEL_3)) 261 .loc 1 7344 3 is_stmt 1 view .LVU94 262 .loc 1 7344 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 7344 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: 7345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); 271 .loc 1 7346 5 is_stmt 1 view .LVU97 7347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output N Polarity level */ 7349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC3NP; 272 .loc 1 7349 5 view .LVU98 273 .loc 1 7349 13 is_stmt 0 view .LVU99 274 0034 23F40063 bic r3, r3, #2048 275 .LVL26: 7350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Polarity */ 7351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (OC_Config->OCNPolarity << 8U); 276 .loc 1 7351 5 is_stmt 1 view .LVU100 277 .loc 1 7351 26 is_stmt 0 view .LVU101 278 0038 CA68 ldr r2, [r1, #12] 279 .loc 1 7351 13 view .LVU102 280 003a 43EA0223 orr r3, r3, r2, lsl #8 281 .LVL27: 7352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output N State */ 7353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC3NE; 282 .loc 1 7353 5 is_stmt 1 view .LVU103 283 .loc 1 7353 13 is_stmt 0 view .LVU104 284 003e 23F48063 bic r3, r3, #1024 285 .LVL28: 286 .L11: 7354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 135 7356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(TIMx)) 287 .loc 1 7356 3 is_stmt 1 view .LVU105 288 .loc 1 7356 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 7356 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 7356 7 discriminator 2 view .LVU108 297 0050 02F54062 add r2, r2, #3072 298 0054 9042 cmp r0, r2 299 0056 07D0 beq .L12 300 .loc 1 7356 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 7356 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: 7357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check parameters */ 7359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCNIDLE_STATE(OC_Config->OCNIdleState)); 309 .loc 1 7359 5 is_stmt 1 view .LVU111 7360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState)); 310 .loc 1 7360 5 view .LVU112 7361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare and Output Compare N IDLE State */ 7363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS3; 311 .loc 1 7363 5 view .LVU113 312 .LVL29: 7364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS3N; 313 .loc 1 7364 5 view .LVU114 314 .loc 1 7364 12 is_stmt 0 view .LVU115 315 0068 24F44052 bic r2, r4, #12288 316 .LVL30: 7365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Idle state */ 7366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 |= (OC_Config->OCIdleState << 4U); 317 .loc 1 7366 5 is_stmt 1 view .LVU116 318 .loc 1 7366 25 is_stmt 0 view .LVU117 319 006c 4C69 ldr r4, [r1, #20] 320 .loc 1 7366 12 view .LVU118 321 006e 42EA0412 orr r2, r2, r4, lsl #4 322 .LVL31: 7367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Idle state */ 7368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 |= (OC_Config->OCNIdleState << 4U); 323 .loc 1 7368 5 is_stmt 1 view .LVU119 324 .loc 1 7368 25 is_stmt 0 view .LVU120 325 0072 8C69 ldr r4, [r1, #24] 326 .loc 1 7368 12 view .LVU121 327 0074 42EA0414 orr r4, r2, r4, lsl #4 328 .LVL32: 329 .L13: 7369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/ccGjXOU1.s page 136 7370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CR2 */ 7372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CR2 = tmpcr2; 330 .loc 1 7372 3 is_stmt 1 view .LVU122 331 .loc 1 7372 13 is_stmt 0 view .LVU123 332 0078 4460 str r4, [r0, #4] 7373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR2 */ 7375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCMR2 = tmpccmrx; 333 .loc 1 7375 3 is_stmt 1 view .LVU124 334 .loc 1 7375 15 is_stmt 0 view .LVU125 335 007a C561 str r5, [r0, #28] 7376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Capture Compare Register value */ 7378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCR3 = OC_Config->Pulse; 336 .loc 1 7378 3 is_stmt 1 view .LVU126 337 .loc 1 7378 25 is_stmt 0 view .LVU127 338 007c 4A68 ldr r2, [r1, #4] 339 .loc 1 7378 14 view .LVU128 340 007e C263 str r2, [r0, #60] 7379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCER */ 7381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 341 .loc 1 7381 3 is_stmt 1 view .LVU129 342 .loc 1 7381 14 is_stmt 0 view .LVU130 343 0080 0362 str r3, [r0, #32] 7382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 344 .loc 1 7382 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 7382 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: 7383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Timer Output Compare 4 configuration 7386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral 7387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param OC_Config The output configuration structure 7388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ ARM GAS /tmp/ccGjXOU1.s page 137 7390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) 7391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 369 .loc 1 7391 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 7391 1 is_stmt 0 view .LVU134 375 0000 30B4 push {r4, r5} 376 .LCFI4: 377 .cfi_def_cfa_offset 8 378 .cfi_offset 4, -8 379 .cfi_offset 5, -4 7392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmrx; 380 .loc 1 7392 3 is_stmt 1 view .LVU135 7393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 381 .loc 1 7393 3 view .LVU136 7394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpcr2; 382 .loc 1 7394 3 view .LVU137 7395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCER register value */ 7397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 383 .loc 1 7397 3 view .LVU138 384 .loc 1 7397 11 is_stmt 0 view .LVU139 385 0002 036A ldr r3, [r0, #32] 386 .LVL35: 7398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Channel 4: Reset the CC4E Bit */ 7400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC4E; 387 .loc 1 7400 3 is_stmt 1 view .LVU140 388 .loc 1 7400 7 is_stmt 0 view .LVU141 389 0004 026A ldr r2, [r0, #32] 390 .loc 1 7400 14 view .LVU142 391 0006 22F48052 bic r2, r2, #4096 392 000a 0262 str r2, [r0, #32] 7401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CR2 register value */ 7403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 = TIMx->CR2; 393 .loc 1 7403 3 is_stmt 1 view .LVU143 394 .loc 1 7403 10 is_stmt 0 view .LVU144 395 000c 4468 ldr r4, [r0, #4] 396 .LVL36: 7404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCMR2 register value */ 7406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx = TIMx->CCMR2; 397 .loc 1 7406 3 is_stmt 1 view .LVU145 398 .loc 1 7406 12 is_stmt 0 view .LVU146 399 000e C269 ldr r2, [r0, #28] 400 .LVL37: 7407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare mode and Capture/Compare selection Bits */ 7409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR2_OC4M; 401 .loc 1 7409 3 is_stmt 1 view .LVU147 7410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR2_CC4S; 402 .loc 1 7410 3 view .LVU148 403 .loc 1 7410 12 is_stmt 0 view .LVU149 404 0010 22F08072 bic r2, r2, #16777216 ARM GAS /tmp/ccGjXOU1.s page 138 405 .LVL38: 406 .loc 1 7410 12 view .LVU150 407 0014 22F4E642 bic r2, r2, #29440 408 .LVL39: 7411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Output Compare Mode */ 7413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx |= (OC_Config->OCMode << 8U); 409 .loc 1 7413 3 is_stmt 1 view .LVU151 410 .loc 1 7413 25 is_stmt 0 view .LVU152 411 0018 0D68 ldr r5, [r1] 412 .loc 1 7413 12 view .LVU153 413 001a 42EA0522 orr r2, r2, r5, lsl #8 414 .LVL40: 7414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Polarity level */ 7416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC4P; 415 .loc 1 7416 3 is_stmt 1 view .LVU154 416 .loc 1 7416 11 is_stmt 0 view .LVU155 417 001e 23F40053 bic r3, r3, #8192 418 .LVL41: 7417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Compare Polarity */ 7418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (OC_Config->OCPolarity << 12U); 419 .loc 1 7418 3 is_stmt 1 view .LVU156 420 .loc 1 7418 24 is_stmt 0 view .LVU157 421 0022 8D68 ldr r5, [r1, #8] 422 .loc 1 7418 11 view .LVU158 423 0024 43EA0533 orr r3, r3, r5, lsl #12 424 .LVL42: 7419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_CCXN_INSTANCE(TIMx, TIM_CHANNEL_4)) 425 .loc 1 7420 3 is_stmt 1 view .LVU159 426 .loc 1 7420 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 7420 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: 7421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); 435 .loc 1 7422 5 is_stmt 1 view .LVU162 7423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output N Polarity level */ 7425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC4NP; 436 .loc 1 7425 5 view .LVU163 437 .loc 1 7425 13 is_stmt 0 view .LVU164 438 0036 23F40043 bic r3, r3, #32768 439 .LVL43: 7426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Polarity */ 7427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (OC_Config->OCNPolarity << 12U); 440 .loc 1 7427 5 is_stmt 1 view .LVU165 441 .loc 1 7427 26 is_stmt 0 view .LVU166 442 003a CD68 ldr r5, [r1, #12] 443 .loc 1 7427 13 view .LVU167 444 003c 43EA0533 orr r3, r3, r5, lsl #12 ARM GAS /tmp/ccGjXOU1.s page 139 445 .LVL44: 7428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output N State */ 7429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC4NE; 446 .loc 1 7429 5 is_stmt 1 view .LVU168 447 .loc 1 7429 13 is_stmt 0 view .LVU169 448 0040 23F48043 bic r3, r3, #16384 449 .LVL45: 450 .L19: 7430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(TIMx)) 451 .loc 1 7432 3 is_stmt 1 view .LVU170 452 .loc 1 7432 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 7432 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 7432 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 7432 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 7432 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: 7433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check parameters */ 7435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCNIDLE_STATE(OC_Config->OCNIdleState)); 473 .loc 1 7435 5 is_stmt 1 view .LVU176 7436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState)); 474 .loc 1 7436 5 view .LVU177 7437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare IDLE State */ 7439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS4; 475 .loc 1 7439 5 view .LVU178 476 .LVL46: 7440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare N IDLE State */ 7441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS4N; 477 .loc 1 7441 5 view .LVU179 478 .loc 1 7441 12 is_stmt 0 view .LVU180 479 006a 24F4404C bic ip, r4, #49152 480 .LVL47: 7442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Idle state */ 7444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 |= (OC_Config->OCIdleState << 6U); 481 .loc 1 7444 5 is_stmt 1 view .LVU181 482 .loc 1 7444 25 is_stmt 0 view .LVU182 483 006e 4C69 ldr r4, [r1, #20] 484 .loc 1 7444 12 view .LVU183 ARM GAS /tmp/ccGjXOU1.s page 140 485 0070 4CEA841C orr ip, ip, r4, lsl #6 486 .LVL48: 7445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Idle state */ 7446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 |= (OC_Config->OCNIdleState << 6U); 487 .loc 1 7446 5 is_stmt 1 view .LVU184 488 .loc 1 7446 25 is_stmt 0 view .LVU185 489 0074 8C69 ldr r4, [r1, #24] 490 .loc 1 7446 12 view .LVU186 491 0076 4CEA8414 orr r4, ip, r4, lsl #6 492 .LVL49: 493 .L21: 7447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CR2 */ 7450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CR2 = tmpcr2; 494 .loc 1 7450 3 is_stmt 1 view .LVU187 495 .loc 1 7450 13 is_stmt 0 view .LVU188 496 007a 4460 str r4, [r0, #4] 7451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR2 */ 7453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCMR2 = tmpccmrx; 497 .loc 1 7453 3 is_stmt 1 view .LVU189 498 .loc 1 7453 15 is_stmt 0 view .LVU190 499 007c C261 str r2, [r0, #28] 7454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Capture Compare Register value */ 7456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCR4 = OC_Config->Pulse; 500 .loc 1 7456 3 is_stmt 1 view .LVU191 501 .loc 1 7456 25 is_stmt 0 view .LVU192 502 007e 4A68 ldr r2, [r1, #4] 503 .LVL50: 504 .loc 1 7456 14 view .LVU193 505 0080 0264 str r2, [r0, #64] 506 .LVL51: 7457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCER */ 7459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 507 .loc 1 7459 3 is_stmt 1 view .LVU194 508 .loc 1 7459 14 is_stmt 0 view .LVU195 509 0082 0362 str r3, [r0, #32] 7460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 510 .loc 1 7460 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 7460 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 ARM GAS /tmp/ccGjXOU1.s page 141 527 .align 1 528 .syntax unified 529 .thumb 530 .thumb_func 532 TIM_OC5_SetConfig: 533 .LVL53: 534 .LFB438: 7461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Timer Output Compare 5 configuration 7464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral 7465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param OC_Config The output configuration structure 7466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_OC5_SetConfig(TIM_TypeDef *TIMx, 7469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** const TIM_OC_InitTypeDef *OC_Config) 7470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 535 .loc 1 7470 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 7470 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 7471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmrx; 546 .loc 1 7471 3 is_stmt 1 view .LVU200 7472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 547 .loc 1 7472 3 view .LVU201 7473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpcr2; 548 .loc 1 7473 3 view .LVU202 7474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCER register value */ 7476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 549 .loc 1 7476 3 view .LVU203 550 .loc 1 7476 11 is_stmt 0 view .LVU204 551 0002 036A ldr r3, [r0, #32] 552 .LVL54: 7477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the output: Reset the CCxE Bit */ 7479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC5E; 553 .loc 1 7479 3 is_stmt 1 view .LVU205 554 .loc 1 7479 7 is_stmt 0 view .LVU206 555 0004 026A ldr r2, [r0, #32] 556 .loc 1 7479 14 view .LVU207 557 0006 22F48032 bic r2, r2, #65536 558 000a 0262 str r2, [r0, #32] 7480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CR2 register value */ 7482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 = TIMx->CR2; 559 .loc 1 7482 3 is_stmt 1 view .LVU208 560 .loc 1 7482 10 is_stmt 0 view .LVU209 561 000c 4468 ldr r4, [r0, #4] 562 .LVL55: ARM GAS /tmp/ccGjXOU1.s page 142 7483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCMR1 register value */ 7484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx = TIMx->CCMR3; 563 .loc 1 7484 3 is_stmt 1 view .LVU210 564 .loc 1 7484 12 is_stmt 0 view .LVU211 565 000e 026D ldr r2, [r0, #80] 566 .LVL56: 7485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare Mode Bits */ 7487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx &= ~(TIM_CCMR3_OC5M); 567 .loc 1 7487 3 is_stmt 1 view .LVU212 568 .loc 1 7487 12 is_stmt 0 view .LVU213 569 0010 22F48032 bic r2, r2, #65536 570 .LVL57: 571 .loc 1 7487 12 view .LVU214 572 0014 22F07002 bic r2, r2, #112 573 .LVL58: 7488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Output Compare Mode */ 7489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx |= OC_Config->OCMode; 574 .loc 1 7489 3 is_stmt 1 view .LVU215 575 .loc 1 7489 24 is_stmt 0 view .LVU216 576 0018 0D68 ldr r5, [r1] 577 .loc 1 7489 12 view .LVU217 578 001a 1543 orrs r5, r5, r2 579 .LVL59: 7490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Polarity level */ 7492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC5P; 580 .loc 1 7492 3 is_stmt 1 view .LVU218 581 .loc 1 7492 11 is_stmt 0 view .LVU219 582 001c 23F40033 bic r3, r3, #131072 583 .LVL60: 7493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Compare Polarity */ 7494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (OC_Config->OCPolarity << 16U); 584 .loc 1 7494 3 is_stmt 1 view .LVU220 585 .loc 1 7494 24 is_stmt 0 view .LVU221 586 0020 8A68 ldr r2, [r1, #8] 587 .loc 1 7494 11 view .LVU222 588 0022 43EA0243 orr r3, r3, r2, lsl #16 589 .LVL61: 7495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(TIMx)) 590 .loc 1 7496 3 is_stmt 1 view .LVU223 591 .loc 1 7496 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 7496 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 7496 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 7496 7 discriminator 3 view .LVU227 604 003c 02F58062 add r2, r2, #1024 605 0040 9042 cmp r0, r2 ARM GAS /tmp/ccGjXOU1.s page 143 606 0042 03D0 beq .L26 607 .loc 1 7496 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: 7497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare IDLE State */ 7499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS5; 612 .loc 1 7499 5 is_stmt 1 view .LVU229 613 .loc 1 7499 12 is_stmt 0 view .LVU230 614 004c 24F48034 bic r4, r4, #65536 615 .LVL62: 7500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Idle state */ 7501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 |= (OC_Config->OCIdleState << 8U); 616 .loc 1 7501 5 is_stmt 1 view .LVU231 617 .loc 1 7501 25 is_stmt 0 view .LVU232 618 0050 4A69 ldr r2, [r1, #20] 619 .loc 1 7501 12 view .LVU233 620 0052 44EA0224 orr r4, r4, r2, lsl #8 621 .LVL63: 622 .L27: 7502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CR2 */ 7504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CR2 = tmpcr2; 623 .loc 1 7504 3 is_stmt 1 view .LVU234 624 .loc 1 7504 13 is_stmt 0 view .LVU235 625 0056 4460 str r4, [r0, #4] 7505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR3 */ 7507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCMR3 = tmpccmrx; 626 .loc 1 7507 3 is_stmt 1 view .LVU236 627 .loc 1 7507 15 is_stmt 0 view .LVU237 628 0058 0565 str r5, [r0, #80] 7508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Capture Compare Register value */ 7510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCR5 = OC_Config->Pulse; 629 .loc 1 7510 3 is_stmt 1 view .LVU238 630 .loc 1 7510 25 is_stmt 0 view .LVU239 631 005a 4A68 ldr r2, [r1, #4] 632 .loc 1 7510 14 view .LVU240 633 005c 8264 str r2, [r0, #72] 7511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCER */ 7513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 634 .loc 1 7513 3 is_stmt 1 view .LVU241 635 .loc 1 7513 14 is_stmt 0 view .LVU242 636 005e 0362 str r3, [r0, #32] 7514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 637 .loc 1 7514 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 7514 1 view .LVU244 ARM GAS /tmp/ccGjXOU1.s page 144 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: 660 .LVL65: 661 .LFB439: 7515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Timer Output Compare 6 configuration 7518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral 7519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param OC_Config The output configuration structure 7520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_OC6_SetConfig(TIM_TypeDef *TIMx, 7523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** const TIM_OC_InitTypeDef *OC_Config) 7524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 662 .loc 1 7524 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 7524 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 7525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmrx; 673 .loc 1 7525 3 is_stmt 1 view .LVU247 7526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 674 .loc 1 7526 3 view .LVU248 7527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpcr2; 675 .loc 1 7527 3 view .LVU249 7528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCER register value */ 7530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 676 .loc 1 7530 3 view .LVU250 677 .loc 1 7530 11 is_stmt 0 view .LVU251 678 0002 036A ldr r3, [r0, #32] 679 .LVL66: 7531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the output: Reset the CCxE Bit */ 7533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC6E; 680 .loc 1 7533 3 is_stmt 1 view .LVU252 681 .loc 1 7533 7 is_stmt 0 view .LVU253 682 0004 026A ldr r2, [r0, #32] 683 .loc 1 7533 14 view .LVU254 684 0006 22F48012 bic r2, r2, #1048576 ARM GAS /tmp/ccGjXOU1.s page 145 685 000a 0262 str r2, [r0, #32] 7534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CR2 register value */ 7536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 = TIMx->CR2; 686 .loc 1 7536 3 is_stmt 1 view .LVU255 687 .loc 1 7536 10 is_stmt 0 view .LVU256 688 000c 4468 ldr r4, [r0, #4] 689 .LVL67: 7537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx CCMR1 register value */ 7538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx = TIMx->CCMR3; 690 .loc 1 7538 3 is_stmt 1 view .LVU257 691 .loc 1 7538 12 is_stmt 0 view .LVU258 692 000e 026D ldr r2, [r0, #80] 693 .LVL68: 7539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare Mode Bits */ 7541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx &= ~(TIM_CCMR3_OC6M); 694 .loc 1 7541 3 is_stmt 1 view .LVU259 695 .loc 1 7541 12 is_stmt 0 view .LVU260 696 0010 22F08072 bic r2, r2, #16777216 697 .LVL69: 698 .loc 1 7541 12 view .LVU261 699 0014 22F4E042 bic r2, r2, #28672 700 .LVL70: 7542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Output Compare Mode */ 7543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx |= (OC_Config->OCMode << 8U); 701 .loc 1 7543 3 is_stmt 1 view .LVU262 702 .loc 1 7543 25 is_stmt 0 view .LVU263 703 0018 0D68 ldr r5, [r1] 704 .loc 1 7543 12 view .LVU264 705 001a 42EA0522 orr r2, r2, r5, lsl #8 706 .LVL71: 7544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Polarity level */ 7546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= (uint32_t)~TIM_CCER_CC6P; 707 .loc 1 7546 3 is_stmt 1 view .LVU265 708 .loc 1 7546 11 is_stmt 0 view .LVU266 709 001e 23F40013 bic r3, r3, #2097152 710 .LVL72: 7547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Compare Polarity */ 7548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (OC_Config->OCPolarity << 20U); 711 .loc 1 7548 3 is_stmt 1 view .LVU267 712 .loc 1 7548 24 is_stmt 0 view .LVU268 713 0022 8D68 ldr r5, [r1, #8] 714 .loc 1 7548 11 view .LVU269 715 0024 43EA0553 orr r3, r3, r5, lsl #20 716 .LVL73: 7549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(TIMx)) 717 .loc 1 7550 3 is_stmt 1 view .LVU270 718 .loc 1 7550 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 7550 7 discriminator 1 view .LVU272 723 002e 05F50065 add r5, r5, #2048 724 0032 A842 cmp r0, r5 ARM GAS /tmp/ccGjXOU1.s page 146 725 0034 0BD0 beq .L32 726 .loc 1 7550 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 7550 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 7550 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: 7551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output Compare IDLE State */ 7553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS6; 739 .loc 1 7553 5 is_stmt 1 view .LVU276 740 .loc 1 7553 12 is_stmt 0 view .LVU277 741 004e 24F48024 bic r4, r4, #262144 742 .LVL74: 7554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Idle state */ 7555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 |= (OC_Config->OCIdleState << 10U); 743 .loc 1 7555 5 is_stmt 1 view .LVU278 744 .loc 1 7555 25 is_stmt 0 view .LVU279 745 0052 4D69 ldr r5, [r1, #20] 746 .loc 1 7555 12 view .LVU280 747 0054 44EA8524 orr r4, r4, r5, lsl #10 748 .LVL75: 749 .L33: 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 **** /* Write to TIMx CR2 */ 7559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CR2 = tmpcr2; 750 .loc 1 7559 3 is_stmt 1 view .LVU281 751 .loc 1 7559 13 is_stmt 0 view .LVU282 752 0058 4460 str r4, [r0, #4] 7560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR3 */ 7562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCMR3 = tmpccmrx; 753 .loc 1 7562 3 is_stmt 1 view .LVU283 754 .loc 1 7562 15 is_stmt 0 view .LVU284 755 005a 0265 str r2, [r0, #80] 7563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Capture Compare Register value */ 7565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCR6 = OC_Config->Pulse; 756 .loc 1 7565 3 is_stmt 1 view .LVU285 757 .loc 1 7565 25 is_stmt 0 view .LVU286 758 005c 4A68 ldr r2, [r1, #4] 759 .LVL76: 760 .loc 1 7565 14 view .LVU287 761 005e C264 str r2, [r0, #76] 762 .LVL77: 7566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCER */ 7568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 763 .loc 1 7568 3 is_stmt 1 view .LVU288 ARM GAS /tmp/ccGjXOU1.s page 147 764 .loc 1 7568 14 is_stmt 0 view .LVU289 765 0060 0362 str r3, [r0, #32] 7569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 766 .loc 1 7569 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 7569 1 view .LVU291 774 0064 7047 bx lr 775 .L36: 776 0066 00BF .align 2 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: 7570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Slave Timer configuration function 7573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param htim TIM handle 7574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param sSlaveConfig Slave timer configuration 7575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static HAL_StatusTypeDef TIM_SlaveTimer_SetConfig(TIM_HandleTypeDef *htim, 7578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** const TIM_SlaveConfigTypeDef *sSlaveConfig) 7579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 7581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 7582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr1; 7583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 7584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx SMCR register value */ 7586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR; 7587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Trigger Selection Bits */ 7589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr &= ~TIM_SMCR_TS; 7590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Input Trigger source */ 7591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr |= sSlaveConfig->InputTrigger; 7592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the slave mode Bits */ 7594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr &= ~TIM_SMCR_SMS; 7595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the slave mode */ 7596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr |= sSlaveConfig->SlaveMode; 7597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx SMCR */ 7599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR = tmpsmcr; 7600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 148 7601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the trigger prescaler, filter, and polarity */ 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (sSlaveConfig->InputTrigger) 7603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ETRF: 7605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 7607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKSOURCE_ETRMODE1_INSTANCE(htim->Instance)); 7608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERPRESCALER(sSlaveConfig->TriggerPrescaler)); 7609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERPOLARITY(sSlaveConfig->TriggerPolarity)); 7610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERFILTER(sSlaveConfig->TriggerFilter)); 7611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the ETR Trigger source */ 7612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_ETR_SetConfig(htim->Instance, 7613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPrescaler, 7614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 7615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerFilter); 7616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_TI1F_ED: 7620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 7622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(htim->Instance)); 7623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERFILTER(sSlaveConfig->TriggerFilter)); 7624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if ((sSlaveConfig->SlaveMode == TIM_SLAVEMODE_GATED) || \ 7626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (sSlaveConfig->SlaveMode == TIM_SLAVEMODE_COMBINED_GATEDRESET)) 7627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 7629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Channel 1: Reset the CC1E Bit */ 7632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = htim->Instance->CCER; 7633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCER &= ~TIM_CCER_CC1E; 7634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = htim->Instance->CCMR1; 7635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the filter */ 7637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 &= ~TIM_CCMR1_IC1F; 7638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= ((sSlaveConfig->TriggerFilter) << 4U); 7639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR1 and CCER registers */ 7641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 = tmpccmr1; 7642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCER = tmpccer; 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_TI1FP1: 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_CC1_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 TI1 Filter and Polarity */ 7654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_TI1_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/ccGjXOU1.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_TI2FP2: 7661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 7663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC2_INSTANCE(htim->Instance)); 7664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERPOLARITY(sSlaveConfig->TriggerPolarity)); 7665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERFILTER(sSlaveConfig->TriggerFilter)); 7666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure TI2 Filter and Polarity */ 7668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_TI2_ConfigInputStage(htim->Instance, 7669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 7670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerFilter); 7671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ITR0: 7675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ITR1: 7676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ITR2: 7677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ITR3: 7678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if defined (TIM5) 7679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ITR4: 7680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* TIM5 */ 7681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ITR5: 7682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ITR6: 7683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ITR7: 7684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ITR8: 7685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if defined (TIM20) 7686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ITR9: 7687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* TIM20 */ 7688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if defined (HRTIM1) 7689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ITR10: 7690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* HRTIM1 */ 7691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** case TIM_TS_ITR11: 7692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameter */ 7694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_INSTANCE((htim->Instance), sSlaveConfig->InputTrigg 7695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** default: 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** status = HAL_ERROR; 7700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return status; 7704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configure the TI1 as Input. 7708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral. 7709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICPolarity The Input Polarity. 7710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 7711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_RISING 7712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_FALLING 7713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_BOTHEDGE 7714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICSelection specifies the input to be used. ARM GAS /tmp/ccGjXOU1.s page 150 7715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 7716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICSELECTION_DIRECTTI: TIM Input 1 is selected to be connected to IC1. 7717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICSELECTION_INDIRECTTI: TIM Input 1 is selected to be connected to IC2. 7718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICSELECTION_TRC: TIM Input 1 is selected to be connected to TRC. 7719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICFilter Specifies the Input Capture Filter. 7720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter must be a value between 0x00 and 0x0F. 7721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note TIM_ICFilter and TIM_ICPolarity are not used in INDIRECT mode as TI2FP1 7723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * (on channel2 path) is used as the input signal. Therefore CCMR1 must be 7724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * protected against un-initialized filter and polarity values. 7725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** void TIM_TI1_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection, 7727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t TIM_ICFilter) 7728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr1; 7730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 7731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Channel 1: Reset the CC1E Bit */ 7733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 7734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC1E; 7735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = TIMx->CCMR1; 7736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Input */ 7738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (IS_TIM_CC2_INSTANCE(TIMx) != RESET) 7739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 &= ~TIM_CCMR1_CC1S; 7741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= TIM_ICSelection; 7742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** else 7744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= TIM_CCMR1_CC1S_0; 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 **** /* Set the filter */ 7749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 &= ~TIM_CCMR1_IC1F; 7750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= ((TIM_ICFilter << 4U) & TIM_CCMR1_IC1F); 7751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Polarity and set the CC1E Bit */ 7753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC1P | TIM_CCER_CC1NP); 7754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (TIM_ICPolarity & (TIM_CCER_CC1P | TIM_CCER_CC1NP)); 7755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR1 and CCER registers */ 7757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCMR1 = tmpccmr1; 7758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 7759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configure the Polarity and Filter for TI1. 7763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral. 7764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICPolarity The Input Polarity. 7765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 7766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_RISING 7767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_FALLING 7768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_BOTHEDGE 7769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICFilter Specifies the Input Capture Filter. 7770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter must be a value between 0x00 and 0x0F. 7771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None ARM GAS /tmp/ccGjXOU1.s page 151 7772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7773: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 7774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 791 .loc 1 7774 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 7774 1 is_stmt 0 view .LVU293 797 0000 10B4 push {r4} 798 .LCFI10: 799 .cfi_def_cfa_offset 4 800 .cfi_offset 4, -4 7775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr1; 801 .loc 1 7775 3 is_stmt 1 view .LVU294 7776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 802 .loc 1 7776 3 view .LVU295 7777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Channel 1: Reset the CC1E Bit */ 7779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 803 .loc 1 7779 3 view .LVU296 804 .loc 1 7779 11 is_stmt 0 view .LVU297 805 0002 036A ldr r3, [r0, #32] 806 .LVL80: 7780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC1E; 807 .loc 1 7780 3 is_stmt 1 view .LVU298 808 .loc 1 7780 7 is_stmt 0 view .LVU299 809 0004 046A ldr r4, [r0, #32] 810 .loc 1 7780 14 view .LVU300 811 0006 24F00104 bic r4, r4, #1 812 000a 0462 str r4, [r0, #32] 7781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = TIMx->CCMR1; 813 .loc 1 7781 3 is_stmt 1 view .LVU301 814 .loc 1 7781 12 is_stmt 0 view .LVU302 815 000c 8469 ldr r4, [r0, #24] 816 .LVL81: 7782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the filter */ 7784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 &= ~TIM_CCMR1_IC1F; 817 .loc 1 7784 3 is_stmt 1 view .LVU303 818 .loc 1 7784 12 is_stmt 0 view .LVU304 819 000e 24F0F00C bic ip, r4, #240 820 .LVL82: 7785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (TIM_ICFilter << 4U); 821 .loc 1 7785 3 is_stmt 1 view .LVU305 822 .loc 1 7785 12 is_stmt 0 view .LVU306 823 0012 4CEA0212 orr r2, ip, r2, lsl #4 824 .LVL83: 7786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Polarity and set the CC1E Bit */ 7788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC1P | TIM_CCER_CC1NP); 825 .loc 1 7788 3 is_stmt 1 view .LVU307 826 .loc 1 7788 11 is_stmt 0 view .LVU308 827 0016 23F00A03 bic r3, r3, #10 828 .LVL84: 7789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= TIM_ICPolarity; 829 .loc 1 7789 3 is_stmt 1 view .LVU309 ARM GAS /tmp/ccGjXOU1.s page 152 830 .loc 1 7789 11 is_stmt 0 view .LVU310 831 001a 0B43 orrs r3, r3, r1 832 .LVL85: 7790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR1 and CCER registers */ 7792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCMR1 = tmpccmr1; 833 .loc 1 7792 3 is_stmt 1 view .LVU311 834 .loc 1 7792 15 is_stmt 0 view .LVU312 835 001c 8261 str r2, [r0, #24] 7793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 836 .loc 1 7793 3 is_stmt 1 view .LVU313 837 .loc 1 7793 14 is_stmt 0 view .LVU314 838 001e 0362 str r3, [r0, #32] 7794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 839 .loc 1 7794 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: 7795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configure the TI2 as Input. 7798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral 7799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICPolarity The Input Polarity. 7800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 7801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_RISING 7802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_FALLING 7803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_BOTHEDGE 7804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICSelection specifies the input to be used. 7805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 7806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICSELECTION_DIRECTTI: TIM Input 2 is selected to be connected to IC2. 7807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICSELECTION_INDIRECTTI: TIM Input 2 is selected to be connected to IC1. 7808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICSELECTION_TRC: TIM Input 2 is selected to be connected to TRC. 7809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICFilter Specifies the Input Capture Filter. 7810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter must be a value between 0x00 and 0x0F. 7811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note TIM_ICFilter and TIM_ICPolarity are not used in INDIRECT mode as TI1FP2 7813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * (on channel1 path) is used as the input signal. Therefore CCMR1 must be 7814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * protected against un-initialized filter and polarity values. 7815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7816: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, 7817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t TIM_ICFilter) 7818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 857 .loc 1 7818 1 is_stmt 1 view -0 858 .cfi_startproc 859 @ args = 0, pretend = 0, frame = 0 ARM GAS /tmp/ccGjXOU1.s page 153 860 @ frame_needed = 0, uses_anonymous_args = 0 861 @ link register save eliminated. 862 .loc 1 7818 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 7819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr1; 868 .loc 1 7819 3 is_stmt 1 view .LVU318 7820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 869 .loc 1 7820 3 view .LVU319 7821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Channel 2: Reset the CC2E Bit */ 7823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 870 .loc 1 7823 3 view .LVU320 871 .loc 1 7823 11 is_stmt 0 view .LVU321 872 0002 056A ldr r5, [r0, #32] 873 .LVL87: 7824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC2E; 874 .loc 1 7824 3 is_stmt 1 view .LVU322 875 .loc 1 7824 7 is_stmt 0 view .LVU323 876 0004 046A ldr r4, [r0, #32] 877 .loc 1 7824 14 view .LVU324 878 0006 24F01004 bic r4, r4, #16 879 000a 0462 str r4, [r0, #32] 7825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = TIMx->CCMR1; 880 .loc 1 7825 3 is_stmt 1 view .LVU325 881 .loc 1 7825 12 is_stmt 0 view .LVU326 882 000c 8469 ldr r4, [r0, #24] 883 .LVL88: 7826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Input */ 7828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 &= ~TIM_CCMR1_CC2S; 884 .loc 1 7828 3 is_stmt 1 view .LVU327 885 .loc 1 7828 12 is_stmt 0 view .LVU328 886 000e 24F4407C bic ip, r4, #768 887 .LVL89: 7829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (TIM_ICSelection << 8U); 888 .loc 1 7829 3 is_stmt 1 view .LVU329 889 .loc 1 7829 12 is_stmt 0 view .LVU330 890 0012 4CEA022C orr ip, ip, r2, lsl #8 891 .LVL90: 7830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the filter */ 7832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 &= ~TIM_CCMR1_IC2F; 892 .loc 1 7832 3 is_stmt 1 view .LVU331 893 .loc 1 7832 12 is_stmt 0 view .LVU332 894 0016 2CF4704C bic ip, ip, #61440 895 .LVL91: 7833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= ((TIM_ICFilter << 12U) & TIM_CCMR1_IC2F); 896 .loc 1 7833 3 is_stmt 1 view .LVU333 897 .loc 1 7833 30 is_stmt 0 view .LVU334 898 001a 1B03 lsls r3, r3, #12 899 .LVL92: 900 .loc 1 7833 38 view .LVU335 901 001c 9BB2 uxth r3, r3 ARM GAS /tmp/ccGjXOU1.s page 154 902 .loc 1 7833 12 view .LVU336 903 001e 43EA0C03 orr r3, r3, ip 904 .LVL93: 7834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Polarity and set the CC2E Bit */ 7836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC2P | TIM_CCER_CC2NP); 905 .loc 1 7836 3 is_stmt 1 view .LVU337 906 .loc 1 7836 11 is_stmt 0 view .LVU338 907 0022 25F0A005 bic r5, r5, #160 908 .LVL94: 7837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= ((TIM_ICPolarity << 4U) & (TIM_CCER_CC2P | TIM_CCER_CC2NP)); 909 .loc 1 7837 3 is_stmt 1 view .LVU339 910 .loc 1 7837 31 is_stmt 0 view .LVU340 911 0026 0901 lsls r1, r1, #4 912 .LVL95: 913 .loc 1 7837 38 view .LVU341 914 0028 01F0A001 and r1, r1, #160 915 .loc 1 7837 11 view .LVU342 916 002c 2943 orrs r1, r1, r5 917 .LVL96: 7838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR1 and CCER registers */ 7840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCMR1 = tmpccmr1 ; 918 .loc 1 7840 3 is_stmt 1 view .LVU343 919 .loc 1 7840 15 is_stmt 0 view .LVU344 920 002e 8361 str r3, [r0, #24] 7841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 921 .loc 1 7841 3 is_stmt 1 view .LVU345 922 .loc 1 7841 14 is_stmt 0 view .LVU346 923 0030 0162 str r1, [r0, #32] 7842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 924 .loc 1 7842 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: 7843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configure the Polarity and Filter for TI2. 7846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral. 7847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICPolarity The Input Polarity. 7848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 7849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_RISING 7850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_FALLING 7851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_BOTHEDGE ARM GAS /tmp/ccGjXOU1.s page 155 7852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICFilter Specifies the Input Capture Filter. 7853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter must be a value between 0x00 and 0x0F. 7854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7856: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 7857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 943 .loc 1 7857 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 7857 1 is_stmt 0 view .LVU349 949 0000 10B4 push {r4} 950 .LCFI14: 951 .cfi_def_cfa_offset 4 952 .cfi_offset 4, -4 7858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr1; 953 .loc 1 7858 3 is_stmt 1 view .LVU350 7859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 954 .loc 1 7859 3 view .LVU351 7860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Channel 2: Reset the CC2E Bit */ 7862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 955 .loc 1 7862 3 view .LVU352 956 .loc 1 7862 11 is_stmt 0 view .LVU353 957 0002 036A ldr r3, [r0, #32] 958 .LVL98: 7863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC2E; 959 .loc 1 7863 3 is_stmt 1 view .LVU354 960 .loc 1 7863 7 is_stmt 0 view .LVU355 961 0004 046A ldr r4, [r0, #32] 962 .loc 1 7863 14 view .LVU356 963 0006 24F01004 bic r4, r4, #16 964 000a 0462 str r4, [r0, #32] 7864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = TIMx->CCMR1; 965 .loc 1 7864 3 is_stmt 1 view .LVU357 966 .loc 1 7864 12 is_stmt 0 view .LVU358 967 000c 8469 ldr r4, [r0, #24] 968 .LVL99: 7865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the filter */ 7867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 &= ~TIM_CCMR1_IC2F; 969 .loc 1 7867 3 is_stmt 1 view .LVU359 970 .loc 1 7867 12 is_stmt 0 view .LVU360 971 000e 24F4704C bic ip, r4, #61440 972 .LVL100: 7868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (TIM_ICFilter << 12U); 973 .loc 1 7868 3 is_stmt 1 view .LVU361 974 .loc 1 7868 12 is_stmt 0 view .LVU362 975 0012 4CEA0232 orr r2, ip, r2, lsl #12 976 .LVL101: 7869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Polarity and set the CC2E Bit */ 7871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC2P | TIM_CCER_CC2NP); 977 .loc 1 7871 3 is_stmt 1 view .LVU363 978 .loc 1 7871 11 is_stmt 0 view .LVU364 979 0016 23F0A003 bic r3, r3, #160 ARM GAS /tmp/ccGjXOU1.s page 156 980 .LVL102: 7872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (TIM_ICPolarity << 4U); 981 .loc 1 7872 3 is_stmt 1 view .LVU365 982 .loc 1 7872 11 is_stmt 0 view .LVU366 983 001a 43EA0113 orr r3, r3, r1, lsl #4 984 .LVL103: 7873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR1 and CCER registers */ 7875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCMR1 = tmpccmr1 ; 985 .loc 1 7875 3 is_stmt 1 view .LVU367 986 .loc 1 7875 15 is_stmt 0 view .LVU368 987 001e 8261 str r2, [r0, #24] 7876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 988 .loc 1 7876 3 is_stmt 1 view .LVU369 989 .loc 1 7876 14 is_stmt 0 view .LVU370 990 0020 0362 str r3, [r0, #32] 7877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 991 .loc 1 7877 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: 7878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configure the TI3 as Input. 7881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral 7882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICPolarity The Input Polarity. 7883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 7884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_RISING 7885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_FALLING 7886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_BOTHEDGE 7887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICSelection specifies the input to be used. 7888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 7889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICSELECTION_DIRECTTI: TIM Input 3 is selected to be connected to IC3. 7890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICSELECTION_INDIRECTTI: TIM Input 3 is selected to be connected to IC4. 7891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICSELECTION_TRC: TIM Input 3 is selected to be connected to TRC. 7892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICFilter Specifies the Input Capture Filter. 7893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter must be a value between 0x00 and 0x0F. 7894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note TIM_ICFilter and TIM_ICPolarity are not used in INDIRECT mode as TI3FP4 7896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * (on channel1 path) is used as the input signal. Therefore CCMR2 must be 7897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * protected against un-initialized filter and polarity values. 7898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7899: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, 7900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t TIM_ICFilter) 7901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 157 1009 .loc 1 7901 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 7901 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 7902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr2; 1020 .loc 1 7902 3 is_stmt 1 view .LVU374 7903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 1021 .loc 1 7903 3 view .LVU375 7904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Channel 3: Reset the CC3E Bit */ 7906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 1022 .loc 1 7906 3 view .LVU376 1023 .loc 1 7906 11 is_stmt 0 view .LVU377 1024 0002 056A ldr r5, [r0, #32] 1025 .LVL105: 7907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC3E; 1026 .loc 1 7907 3 is_stmt 1 view .LVU378 1027 .loc 1 7907 7 is_stmt 0 view .LVU379 1028 0004 046A ldr r4, [r0, #32] 1029 .loc 1 7907 14 view .LVU380 1030 0006 24F48074 bic r4, r4, #256 1031 000a 0462 str r4, [r0, #32] 7908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr2 = TIMx->CCMR2; 1032 .loc 1 7908 3 is_stmt 1 view .LVU381 1033 .loc 1 7908 12 is_stmt 0 view .LVU382 1034 000c C469 ldr r4, [r0, #28] 1035 .LVL106: 7909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Input */ 7911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr2 &= ~TIM_CCMR2_CC3S; 1036 .loc 1 7911 3 is_stmt 1 view .LVU383 1037 .loc 1 7911 12 is_stmt 0 view .LVU384 1038 000e 24F0030C bic ip, r4, #3 1039 .LVL107: 7912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr2 |= TIM_ICSelection; 1040 .loc 1 7912 3 is_stmt 1 view .LVU385 1041 .loc 1 7912 12 is_stmt 0 view .LVU386 1042 0012 4CEA020C orr ip, ip, r2 1043 .LVL108: 7913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the filter */ 7915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr2 &= ~TIM_CCMR2_IC3F; 1044 .loc 1 7915 3 is_stmt 1 view .LVU387 1045 .loc 1 7915 12 is_stmt 0 view .LVU388 1046 0016 2CF0F00C bic ip, ip, #240 1047 .LVL109: 7916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr2 |= ((TIM_ICFilter << 4U) & TIM_CCMR2_IC3F); 1048 .loc 1 7916 3 is_stmt 1 view .LVU389 1049 .loc 1 7916 30 is_stmt 0 view .LVU390 1050 001a 1B01 lsls r3, r3, #4 ARM GAS /tmp/ccGjXOU1.s page 158 1051 .LVL110: 1052 .loc 1 7916 37 view .LVU391 1053 001c DBB2 uxtb r3, r3 1054 .loc 1 7916 12 view .LVU392 1055 001e 43EA0C03 orr r3, r3, ip 1056 .LVL111: 7917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Polarity and set the CC3E Bit */ 7919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC3P | TIM_CCER_CC3NP); 1057 .loc 1 7919 3 is_stmt 1 view .LVU393 1058 .loc 1 7919 11 is_stmt 0 view .LVU394 1059 0022 25F42065 bic r5, r5, #2560 1060 .LVL112: 7920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= ((TIM_ICPolarity << 8U) & (TIM_CCER_CC3P | TIM_CCER_CC3NP)); 1061 .loc 1 7920 3 is_stmt 1 view .LVU395 1062 .loc 1 7920 31 is_stmt 0 view .LVU396 1063 0026 0902 lsls r1, r1, #8 1064 .LVL113: 1065 .loc 1 7920 38 view .LVU397 1066 0028 01F42061 and r1, r1, #2560 1067 .loc 1 7920 11 view .LVU398 1068 002c 2943 orrs r1, r1, r5 1069 .LVL114: 7921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR2 and CCER registers */ 7923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCMR2 = tmpccmr2; 1070 .loc 1 7923 3 is_stmt 1 view .LVU399 1071 .loc 1 7923 15 is_stmt 0 view .LVU400 1072 002e C361 str r3, [r0, #28] 7924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 1073 .loc 1 7924 3 is_stmt 1 view .LVU401 1074 .loc 1 7924 14 is_stmt 0 view .LVU402 1075 0030 0162 str r1, [r0, #32] 7925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1076 .loc 1 7925 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: 7926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configure the TI4 as Input. 7929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral 7930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICPolarity The Input Polarity. 7931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: ARM GAS /tmp/ccGjXOU1.s page 159 7932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_RISING 7933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_FALLING 7934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICPOLARITY_BOTHEDGE 7935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICSelection specifies the input to be used. 7936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 7937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICSELECTION_DIRECTTI: TIM Input 4 is selected to be connected to IC4. 7938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICSELECTION_INDIRECTTI: TIM Input 4 is selected to be connected to IC3. 7939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ICSELECTION_TRC: TIM Input 4 is selected to be connected to TRC. 7940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ICFilter Specifies the Input Capture Filter. 7941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter must be a value between 0x00 and 0x0F. 7942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @note TIM_ICFilter and TIM_ICPolarity are not used in INDIRECT mode as TI4FP3 7943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * (on channel1 path) is used as the input signal. Therefore CCMR2 must be 7944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * protected against un-initialized filter and polarity values. 7945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 7946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 7947: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, 7948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t TIM_ICFilter) 7949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1095 .loc 1 7949 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 7949 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 7950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr2; 1106 .loc 1 7950 3 is_stmt 1 view .LVU406 7951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 1107 .loc 1 7951 3 view .LVU407 7952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Disable the Channel 4: Reset the CC4E Bit */ 7954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer = TIMx->CCER; 1108 .loc 1 7954 3 view .LVU408 1109 .loc 1 7954 11 is_stmt 0 view .LVU409 1110 0002 056A ldr r5, [r0, #32] 1111 .LVL116: 7955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC4E; 1112 .loc 1 7955 3 is_stmt 1 view .LVU410 1113 .loc 1 7955 7 is_stmt 0 view .LVU411 1114 0004 046A ldr r4, [r0, #32] 1115 .loc 1 7955 14 view .LVU412 1116 0006 24F48054 bic r4, r4, #4096 1117 000a 0462 str r4, [r0, #32] 7956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr2 = TIMx->CCMR2; 1118 .loc 1 7956 3 is_stmt 1 view .LVU413 1119 .loc 1 7956 12 is_stmt 0 view .LVU414 1120 000c C469 ldr r4, [r0, #28] 1121 .LVL117: 7957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Input */ 7959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr2 &= ~TIM_CCMR2_CC4S; 1122 .loc 1 7959 3 is_stmt 1 view .LVU415 1123 .loc 1 7959 12 is_stmt 0 view .LVU416 ARM GAS /tmp/ccGjXOU1.s page 160 1124 000e 24F4407C bic ip, r4, #768 1125 .LVL118: 7960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr2 |= (TIM_ICSelection << 8U); 1126 .loc 1 7960 3 is_stmt 1 view .LVU417 1127 .loc 1 7960 12 is_stmt 0 view .LVU418 1128 0012 4CEA022C orr ip, ip, r2, lsl #8 1129 .LVL119: 7961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the filter */ 7963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr2 &= ~TIM_CCMR2_IC4F; 1130 .loc 1 7963 3 is_stmt 1 view .LVU419 1131 .loc 1 7963 12 is_stmt 0 view .LVU420 1132 0016 2CF4704C bic ip, ip, #61440 1133 .LVL120: 7964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr2 |= ((TIM_ICFilter << 12U) & TIM_CCMR2_IC4F); 1134 .loc 1 7964 3 is_stmt 1 view .LVU421 1135 .loc 1 7964 30 is_stmt 0 view .LVU422 1136 001a 1B03 lsls r3, r3, #12 1137 .LVL121: 1138 .loc 1 7964 38 view .LVU423 1139 001c 9BB2 uxth r3, r3 1140 .loc 1 7964 12 view .LVU424 1141 001e 43EA0C03 orr r3, r3, ip 1142 .LVL122: 7965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Select the Polarity and set the CC4E Bit */ 7967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC4P | TIM_CCER_CC4NP); 1143 .loc 1 7967 3 is_stmt 1 view .LVU425 1144 .loc 1 7967 11 is_stmt 0 view .LVU426 1145 0022 25F42045 bic r5, r5, #40960 1146 .LVL123: 7968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= ((TIM_ICPolarity << 12U) & (TIM_CCER_CC4P | TIM_CCER_CC4NP)); 1147 .loc 1 7968 3 is_stmt 1 view .LVU427 1148 .loc 1 7968 31 is_stmt 0 view .LVU428 1149 0026 0903 lsls r1, r1, #12 1150 .LVL124: 1151 .loc 1 7968 39 view .LVU429 1152 0028 01F42041 and r1, r1, #40960 1153 .loc 1 7968 11 view .LVU430 1154 002c 2943 orrs r1, r1, r5 1155 .LVL125: 7969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx CCMR2 and CCER registers */ 7971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCMR2 = tmpccmr2; 1156 .loc 1 7971 3 is_stmt 1 view .LVU431 1157 .loc 1 7971 15 is_stmt 0 view .LVU432 1158 002e C361 str r3, [r0, #28] 7972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer ; 1159 .loc 1 7972 3 is_stmt 1 view .LVU433 1160 .loc 1 7972 14 is_stmt 0 view .LVU434 1161 0030 0162 str r1, [r0, #32] 7973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1162 .loc 1 7973 1 view .LVU435 1163 0032 30BC pop {r4, r5} 1164 .LCFI19: 1165 .cfi_restore 5 1166 .cfi_restore 4 ARM GAS /tmp/ccGjXOU1.s page 161 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: 7974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 7976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Selects the Input Trigger source 7977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral 7978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param InputTriggerSource The Input Trigger source. 7979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 7980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ITR0: Internal Trigger 0 7981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ITR1: Internal Trigger 1 7982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ITR2: Internal Trigger 2 7983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ITR3: Internal Trigger 3 7984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ITR4: Internal Trigger 4 (*) 7985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ITR5: Internal Trigger 5 7986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ITR6: Internal Trigger 6 7987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ITR7: Internal Trigger 7 7988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ITR8: Internal Trigger 8 7989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ITR9: Internal Trigger 9 (*) 7990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ITR10: Internal Trigger 10 7991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ITR11: Internal Trigger 11 7992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_TI1F_ED: TI1 Edge Detector 7993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_TI1FP1: Filtered Timer Input 1 7994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_TI2FP2: Filtered Timer Input 2 7995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_TS_ETRF: External Trigger input 7996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * 7997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * (*) Value not defined in all devices. 7998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * 7999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 8000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 8001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** static void TIM_ITRx_SetConfig(TIM_TypeDef *TIMx, uint32_t InputTriggerSource) 8002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1181 .loc 1 8002 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. 8003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 1186 .loc 1 8003 3 view .LVU437 8004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Get the TIMx SMCR register value */ 8006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = TIMx->SMCR; 1187 .loc 1 8006 3 view .LVU438 1188 .loc 1 8006 11 is_stmt 0 view .LVU439 1189 0000 8368 ldr r3, [r0, #8] 1190 .LVL127: 8007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the TS Bits */ 8008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr &= ~TIM_SMCR_TS; ARM GAS /tmp/ccGjXOU1.s page 162 1191 .loc 1 8008 3 is_stmt 1 view .LVU440 1192 .loc 1 8008 11 is_stmt 0 view .LVU441 1193 0002 23F44013 bic r3, r3, #3145728 1194 .LVL128: 1195 .loc 1 8008 11 view .LVU442 1196 0006 23F07003 bic r3, r3, #112 1197 .LVL129: 8009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Input Trigger source and the slave mode*/ 8010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr |= (InputTriggerSource | TIM_SLAVEMODE_EXTERNAL1); 1198 .loc 1 8010 3 is_stmt 1 view .LVU443 1199 .loc 1 8010 11 is_stmt 0 view .LVU444 1200 000a 0B43 orrs r3, r3, r1 1201 .LVL130: 1202 .loc 1 8010 11 view .LVU445 1203 000c 43F00703 orr r3, r3, #7 1204 .LVL131: 8011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx SMCR */ 8012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->SMCR = tmpsmcr; 1205 .loc 1 8012 3 is_stmt 1 view .LVU446 1206 .loc 1 8012 14 is_stmt 0 view .LVU447 1207 0010 8360 str r3, [r0, #8] 8013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1208 .loc 1 8013 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: 385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 1223 .loc 1 385 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. 387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1228 .loc 1 387 3 view .LVU450 392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1229 .loc 1 392 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: ARM GAS /tmp/ccGjXOU1.s page 163 400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 1244 .loc 1 400 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. 402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1249 .loc 1 402 3 view .LVU453 407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1250 .loc 1 407 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 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: 342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1265 .loc 1 342 1 is_stmt 1 view -0 1266 .cfi_startproc 1267 @ args = 0, pretend = 0, frame = 0 1268 @ frame_needed = 0, uses_anonymous_args = 0 342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1269 .loc 1 342 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 344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1276 .loc 1 344 3 is_stmt 1 view .LVU457 346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1277 .loc 1 346 3 view .LVU458 346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1278 .loc 1 346 15 is_stmt 0 view .LVU459 1279 0004 0223 movs r3, #2 1280 0006 80F83D30 strb r3, [r0, #61] 349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1281 .loc 1 349 3 is_stmt 1 view .LVU460 349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1282 .loc 1 349 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 349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1288 .loc 1 349 3 discriminator 1 view .LVU462 1289 0016 196A ldr r1, [r3, #32] 1290 0018 44F24442 movw r2, #17476 1291 001c 1142 tst r1, r2 ARM GAS /tmp/ccGjXOU1.s page 164 1292 001e 03D1 bne .L51 349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1293 .loc 1 349 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: 349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1298 .loc 1 349 3 discriminator 5 view .LVU464 360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 1299 .loc 1 360 3 view .LVU465 1300 0028 2046 mov r0, r4 1301 .LVL135: 360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 1302 .loc 1 360 3 is_stmt 0 view .LVU466 1303 002a FFF7FEFF bl HAL_TIM_Base_MspDeInit 1304 .LVL136: 364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1305 .loc 1 364 3 is_stmt 1 view .LVU467 364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1306 .loc 1 364 23 is_stmt 0 view .LVU468 1307 002e 0020 movs r0, #0 1308 0030 84F84800 strb r0, [r4, #72] 367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 1309 .loc 1 367 3 is_stmt 1 view .LVU469 367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 1310 .loc 1 367 3 view .LVU470 1311 0034 84F83E00 strb r0, [r4, #62] 367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 1312 .loc 1 367 3 view .LVU471 1313 0038 84F83F00 strb r0, [r4, #63] 367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 1314 .loc 1 367 3 view .LVU472 1315 003c 84F84000 strb r0, [r4, #64] 367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 1316 .loc 1 367 3 view .LVU473 1317 0040 84F84100 strb r0, [r4, #65] 367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 1318 .loc 1 367 3 view .LVU474 1319 0044 84F84200 strb r0, [r4, #66] 367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 1320 .loc 1 367 3 view .LVU475 1321 0048 84F84300 strb r0, [r4, #67] 367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 1322 .loc 1 367 3 view .LVU476 368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1323 .loc 1 368 3 view .LVU477 368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1324 .loc 1 368 3 view .LVU478 1325 004c 84F84400 strb r0, [r4, #68] 368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1326 .loc 1 368 3 view .LVU479 1327 0050 84F84500 strb r0, [r4, #69] 368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1328 .loc 1 368 3 view .LVU480 1329 0054 84F84600 strb r0, [r4, #70] 368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 165 1330 .loc 1 368 3 view .LVU481 1331 0058 84F84700 strb r0, [r4, #71] 368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1332 .loc 1 368 3 view .LVU482 371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1333 .loc 1 371 3 view .LVU483 371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1334 .loc 1 371 15 is_stmt 0 view .LVU484 1335 005c 84F83D00 strb r0, [r4, #61] 374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1336 .loc 1 374 3 is_stmt 1 view .LVU485 374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1337 .loc 1 374 3 view .LVU486 1338 0060 84F83C00 strb r0, [r4, #60] 374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1339 .loc 1 374 3 view .LVU487 376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1340 .loc 1 376 3 view .LVU488 377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1341 .loc 1 377 1 is_stmt 0 view .LVU489 1342 0064 10BD pop {r4, pc} 377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1343 .loc 1 377 1 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: 416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 1357 .loc 1 416 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. 417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1362 .loc 1 417 3 view .LVU492 420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1363 .loc 1 420 3 view .LVU493 423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1364 .loc 1 423 3 view .LVU494 423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1365 .loc 1 423 11 is_stmt 0 view .LVU495 1366 0000 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1367 .loc 1 423 6 view .LVU496 1368 0004 012B cmp r3, #1 1369 0006 2DD1 bne .L57 429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1370 .loc 1 429 3 is_stmt 1 view .LVU497 429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1371 .loc 1 429 15 is_stmt 0 view .LVU498 ARM GAS /tmp/ccGjXOU1.s page 166 1372 0008 0223 movs r3, #2 1373 000a 80F83D30 strb r3, [r0, #61] 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1374 .loc 1 432 3 is_stmt 1 view .LVU499 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1375 .loc 1 432 7 is_stmt 0 view .LVU500 1376 000e 0368 ldr r3, [r0] 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1377 .loc 1 432 6 view .LVU501 1378 0010 174A ldr r2, .L60 1379 0012 9342 cmp r3, r2 1380 0014 18D0 beq .L55 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1381 .loc 1 432 7 discriminator 1 view .LVU502 1382 0016 B3F1804F cmp r3, #1073741824 1383 001a 15D0 beq .L55 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1384 .loc 1 432 7 discriminator 2 view .LVU503 1385 001c A2F59432 sub r2, r2, #75776 1386 0020 9342 cmp r3, r2 1387 0022 11D0 beq .L55 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1388 .loc 1 432 7 discriminator 3 view .LVU504 1389 0024 02F58062 add r2, r2, #1024 1390 0028 9342 cmp r3, r2 1391 002a 0DD0 beq .L55 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1392 .loc 1 432 7 discriminator 4 view .LVU505 1393 002c 02F59632 add r2, r2, #76800 1394 0030 9342 cmp r3, r2 1395 0032 09D0 beq .L55 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1396 .loc 1 432 7 discriminator 5 view .LVU506 1397 0034 02F54062 add r2, r2, #3072 1398 0038 9342 cmp r3, r2 1399 003a 05D0 beq .L55 442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1400 .loc 1 442 5 is_stmt 1 view .LVU507 1401 003c 1A68 ldr r2, [r3] 1402 003e 42F00102 orr r2, r2, #1 1403 0042 1A60 str r2, [r3] 446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1404 .loc 1 446 10 is_stmt 0 view .LVU508 1405 0044 0020 movs r0, #0 1406 .LVL138: 446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1407 .loc 1 446 10 view .LVU509 1408 0046 7047 bx lr 1409 .LVL139: 1410 .L55: 434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1411 .loc 1 434 5 is_stmt 1 view .LVU510 434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1412 .loc 1 434 29 is_stmt 0 view .LVU511 1413 0048 9968 ldr r1, [r3, #8] 434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1414 .loc 1 434 13 view .LVU512 ARM GAS /tmp/ccGjXOU1.s page 167 1415 004a 0A4A ldr r2, .L60+4 1416 004c 0A40 ands r2, r2, r1 1417 .LVL140: 435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1418 .loc 1 435 5 is_stmt 1 view .LVU513 435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1419 .loc 1 435 8 is_stmt 0 view .LVU514 1420 004e 062A cmp r2, #6 1421 0050 0AD0 beq .L58 435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1422 .loc 1 435 9 discriminator 1 view .LVU515 1423 0052 B2F5803F cmp r2, #65536 1424 0056 09D0 beq .L59 437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1425 .loc 1 437 7 is_stmt 1 view .LVU516 1426 0058 1A68 ldr r2, [r3] 1427 .LVL141: 437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1428 .loc 1 437 7 is_stmt 0 view .LVU517 1429 005a 42F00102 orr r2, r2, #1 1430 005e 1A60 str r2, [r3] 446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1431 .loc 1 446 10 view .LVU518 1432 0060 0020 movs r0, #0 1433 .LVL142: 446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1434 .loc 1 446 10 view .LVU519 1435 0062 7047 bx lr 1436 .LVL143: 1437 .L57: 425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1438 .loc 1 425 12 view .LVU520 1439 0064 0120 movs r0, #1 1440 .LVL144: 425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1441 .loc 1 425 12 view .LVU521 1442 0066 7047 bx lr 1443 .LVL145: 1444 .L58: 446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1445 .loc 1 446 10 view .LVU522 1446 0068 0020 movs r0, #0 1447 .LVL146: 446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1448 .loc 1 446 10 view .LVU523 1449 006a 7047 bx lr 1450 .LVL147: 1451 .L59: 446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1452 .loc 1 446 10 view .LVU524 1453 006c 0020 movs r0, #0 1454 .LVL148: 447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1455 .loc 1 447 1 view .LVU525 1456 006e 7047 bx lr 1457 .L61: 1458 .align 2 ARM GAS /tmp/ccGjXOU1.s page 168 1459 .L60: 1460 0070 002C0140 .word 1073818624 1461 0074 07000100 .word 65543 1462 .cfi_endproc 1463 .LFE333: 1465 .section .text.HAL_TIM_Base_Stop,"ax",%progbits 1466 .align 1 1467 .global HAL_TIM_Base_Stop 1468 .syntax unified 1469 .thumb 1470 .thumb_func 1472 HAL_TIM_Base_Stop: 1473 .LVL149: 1474 .LFB334: 455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1475 .loc 1 455 1 is_stmt 1 view -0 1476 .cfi_startproc 1477 @ args = 0, pretend = 0, frame = 0 1478 @ frame_needed = 0, uses_anonymous_args = 0 1479 @ link register save eliminated. 457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1480 .loc 1 457 3 view .LVU527 460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1481 .loc 1 460 3 view .LVU528 460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1482 .loc 1 460 3 view .LVU529 1483 0000 0368 ldr r3, [r0] 1484 0002 196A ldr r1, [r3, #32] 1485 0004 41F21112 movw r2, #4369 1486 0008 1142 tst r1, r2 1487 000a 08D1 bne .L63 460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1488 .loc 1 460 3 discriminator 1 view .LVU530 1489 000c 196A ldr r1, [r3, #32] 1490 000e 44F24442 movw r2, #17476 1491 0012 1142 tst r1, r2 1492 0014 03D1 bne .L63 460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1493 .loc 1 460 3 discriminator 3 view .LVU531 1494 0016 1A68 ldr r2, [r3] 1495 0018 22F00102 bic r2, r2, #1 1496 001c 1A60 str r2, [r3] 1497 .L63: 460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1498 .loc 1 460 3 discriminator 5 view .LVU532 463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1499 .loc 1 463 3 view .LVU533 463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1500 .loc 1 463 15 is_stmt 0 view .LVU534 1501 001e 0123 movs r3, #1 1502 0020 80F83D30 strb r3, [r0, #61] 466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1503 .loc 1 466 3 is_stmt 1 view .LVU535 467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1504 .loc 1 467 1 is_stmt 0 view .LVU536 1505 0024 0020 movs r0, #0 1506 .LVL150: ARM GAS /tmp/ccGjXOU1.s page 169 467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1507 .loc 1 467 1 view .LVU537 1508 0026 7047 bx lr 1509 .cfi_endproc 1510 .LFE334: 1512 .section .text.HAL_TIM_Base_Start_IT,"ax",%progbits 1513 .align 1 1514 .global HAL_TIM_Base_Start_IT 1515 .syntax unified 1516 .thumb 1517 .thumb_func 1519 HAL_TIM_Base_Start_IT: 1520 .LVL151: 1521 .LFB335: 475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 1522 .loc 1 475 1 is_stmt 1 view -0 1523 .cfi_startproc 1524 @ args = 0, pretend = 0, frame = 0 1525 @ frame_needed = 0, uses_anonymous_args = 0 1526 @ link register save eliminated. 476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1527 .loc 1 476 3 view .LVU539 479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1528 .loc 1 479 3 view .LVU540 482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1529 .loc 1 482 3 view .LVU541 482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1530 .loc 1 482 11 is_stmt 0 view .LVU542 1531 0000 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1532 .loc 1 482 6 view .LVU543 1533 0004 012B cmp r3, #1 1534 0006 32D1 bne .L68 488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1535 .loc 1 488 3 is_stmt 1 view .LVU544 488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1536 .loc 1 488 15 is_stmt 0 view .LVU545 1537 0008 0223 movs r3, #2 1538 000a 80F83D30 strb r3, [r0, #61] 491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1539 .loc 1 491 3 is_stmt 1 view .LVU546 1540 000e 0268 ldr r2, [r0] 1541 0010 D368 ldr r3, [r2, #12] 1542 0012 43F00103 orr r3, r3, #1 1543 0016 D360 str r3, [r2, #12] 494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1544 .loc 1 494 3 view .LVU547 494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1545 .loc 1 494 7 is_stmt 0 view .LVU548 1546 0018 0368 ldr r3, [r0] 494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1547 .loc 1 494 6 view .LVU549 1548 001a 184A ldr r2, .L71 1549 001c 9342 cmp r3, r2 1550 001e 18D0 beq .L66 494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1551 .loc 1 494 7 discriminator 1 view .LVU550 ARM GAS /tmp/ccGjXOU1.s page 170 1552 0020 B3F1804F cmp r3, #1073741824 1553 0024 15D0 beq .L66 494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1554 .loc 1 494 7 discriminator 2 view .LVU551 1555 0026 A2F59432 sub r2, r2, #75776 1556 002a 9342 cmp r3, r2 1557 002c 11D0 beq .L66 494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1558 .loc 1 494 7 discriminator 3 view .LVU552 1559 002e 02F58062 add r2, r2, #1024 1560 0032 9342 cmp r3, r2 1561 0034 0DD0 beq .L66 494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1562 .loc 1 494 7 discriminator 4 view .LVU553 1563 0036 02F59632 add r2, r2, #76800 1564 003a 9342 cmp r3, r2 1565 003c 09D0 beq .L66 494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1566 .loc 1 494 7 discriminator 5 view .LVU554 1567 003e 02F54062 add r2, r2, #3072 1568 0042 9342 cmp r3, r2 1569 0044 05D0 beq .L66 504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1570 .loc 1 504 5 is_stmt 1 view .LVU555 1571 0046 1A68 ldr r2, [r3] 1572 0048 42F00102 orr r2, r2, #1 1573 004c 1A60 str r2, [r3] 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1574 .loc 1 508 10 is_stmt 0 view .LVU556 1575 004e 0020 movs r0, #0 1576 .LVL152: 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1577 .loc 1 508 10 view .LVU557 1578 0050 7047 bx lr 1579 .LVL153: 1580 .L66: 496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1581 .loc 1 496 5 is_stmt 1 view .LVU558 496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1582 .loc 1 496 29 is_stmt 0 view .LVU559 1583 0052 9968 ldr r1, [r3, #8] 496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1584 .loc 1 496 13 view .LVU560 1585 0054 0A4A ldr r2, .L71+4 1586 0056 0A40 ands r2, r2, r1 1587 .LVL154: 497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1588 .loc 1 497 5 is_stmt 1 view .LVU561 497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1589 .loc 1 497 8 is_stmt 0 view .LVU562 1590 0058 062A cmp r2, #6 1591 005a 0AD0 beq .L69 497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1592 .loc 1 497 9 discriminator 1 view .LVU563 1593 005c B2F5803F cmp r2, #65536 1594 0060 09D0 beq .L70 499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/ccGjXOU1.s page 171 1595 .loc 1 499 7 is_stmt 1 view .LVU564 1596 0062 1A68 ldr r2, [r3] 1597 .LVL155: 499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1598 .loc 1 499 7 is_stmt 0 view .LVU565 1599 0064 42F00102 orr r2, r2, #1 1600 0068 1A60 str r2, [r3] 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1601 .loc 1 508 10 view .LVU566 1602 006a 0020 movs r0, #0 1603 .LVL156: 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1604 .loc 1 508 10 view .LVU567 1605 006c 7047 bx lr 1606 .LVL157: 1607 .L68: 484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1608 .loc 1 484 12 view .LVU568 1609 006e 0120 movs r0, #1 1610 .LVL158: 484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1611 .loc 1 484 12 view .LVU569 1612 0070 7047 bx lr 1613 .LVL159: 1614 .L69: 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1615 .loc 1 508 10 view .LVU570 1616 0072 0020 movs r0, #0 1617 .LVL160: 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1618 .loc 1 508 10 view .LVU571 1619 0074 7047 bx lr 1620 .LVL161: 1621 .L70: 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1622 .loc 1 508 10 view .LVU572 1623 0076 0020 movs r0, #0 1624 .LVL162: 509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1625 .loc 1 509 1 view .LVU573 1626 0078 7047 bx lr 1627 .L72: 1628 007a 00BF .align 2 1629 .L71: 1630 007c 002C0140 .word 1073818624 1631 0080 07000100 .word 65543 1632 .cfi_endproc 1633 .LFE335: 1635 .section .text.HAL_TIM_Base_Stop_IT,"ax",%progbits 1636 .align 1 1637 .global HAL_TIM_Base_Stop_IT 1638 .syntax unified 1639 .thumb 1640 .thumb_func 1642 HAL_TIM_Base_Stop_IT: 1643 .LVL163: 1644 .LFB336: ARM GAS /tmp/ccGjXOU1.s page 172 517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1645 .loc 1 517 1 is_stmt 1 view -0 1646 .cfi_startproc 1647 @ args = 0, pretend = 0, frame = 0 1648 @ frame_needed = 0, uses_anonymous_args = 0 1649 @ link register save eliminated. 519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1650 .loc 1 519 3 view .LVU575 522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1651 .loc 1 522 3 view .LVU576 1652 0000 0268 ldr r2, [r0] 1653 0002 D368 ldr r3, [r2, #12] 1654 0004 23F00103 bic r3, r3, #1 1655 0008 D360 str r3, [r2, #12] 525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1656 .loc 1 525 3 view .LVU577 525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1657 .loc 1 525 3 view .LVU578 1658 000a 0368 ldr r3, [r0] 1659 000c 196A ldr r1, [r3, #32] 1660 000e 41F21112 movw r2, #4369 1661 0012 1142 tst r1, r2 1662 0014 08D1 bne .L74 525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1663 .loc 1 525 3 discriminator 1 view .LVU579 1664 0016 196A ldr r1, [r3, #32] 1665 0018 44F24442 movw r2, #17476 1666 001c 1142 tst r1, r2 1667 001e 03D1 bne .L74 525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1668 .loc 1 525 3 discriminator 3 view .LVU580 1669 0020 1A68 ldr r2, [r3] 1670 0022 22F00102 bic r2, r2, #1 1671 0026 1A60 str r2, [r3] 1672 .L74: 525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1673 .loc 1 525 3 discriminator 5 view .LVU581 528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1674 .loc 1 528 3 view .LVU582 528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1675 .loc 1 528 15 is_stmt 0 view .LVU583 1676 0028 0123 movs r3, #1 1677 002a 80F83D30 strb r3, [r0, #61] 531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1678 .loc 1 531 3 is_stmt 1 view .LVU584 532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1679 .loc 1 532 1 is_stmt 0 view .LVU585 1680 002e 0020 movs r0, #0 1681 .LVL164: 532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1682 .loc 1 532 1 view .LVU586 1683 0030 7047 bx lr 1684 .cfi_endproc 1685 .LFE336: 1687 .section .text.HAL_TIM_Base_Start_DMA,"ax",%progbits 1688 .align 1 1689 .global HAL_TIM_Base_Start_DMA ARM GAS /tmp/ccGjXOU1.s page 173 1690 .syntax unified 1691 .thumb 1692 .thumb_func 1694 HAL_TIM_Base_Start_DMA: 1695 .LVL165: 1696 .LFB337: 542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 1697 .loc 1 542 1 is_stmt 1 view -0 1698 .cfi_startproc 1699 @ args = 0, pretend = 0, frame = 0 1700 @ frame_needed = 0, uses_anonymous_args = 0 542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 1701 .loc 1 542 1 is_stmt 0 view .LVU588 1702 0000 38B5 push {r3, r4, r5, lr} 1703 .LCFI21: 1704 .cfi_def_cfa_offset 16 1705 .cfi_offset 3, -16 1706 .cfi_offset 4, -12 1707 .cfi_offset 5, -8 1708 .cfi_offset 14, -4 543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1709 .loc 1 543 3 is_stmt 1 view .LVU589 546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1710 .loc 1 546 3 view .LVU590 549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1711 .loc 1 549 3 view .LVU591 549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1712 .loc 1 549 11 is_stmt 0 view .LVU592 1713 0002 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 1714 0006 DDB2 uxtb r5, r3 549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1715 .loc 1 549 6 view .LVU593 1716 0008 022B cmp r3, #2 1717 000a 4FD0 beq .L76 1718 000c 0446 mov r4, r0 553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1719 .loc 1 553 8 is_stmt 1 view .LVU594 553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1720 .loc 1 553 16 is_stmt 0 view .LVU595 1721 000e 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 1722 0012 DDB2 uxtb r5, r3 553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1723 .loc 1 553 11 view .LVU596 1724 0014 012B cmp r3, #1 1725 0016 48D1 bne .L79 555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1726 .loc 1 555 5 is_stmt 1 view .LVU597 555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1727 .loc 1 555 8 is_stmt 0 view .LVU598 1728 0018 0029 cmp r1, #0 1729 001a 47D0 beq .L76 555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1730 .loc 1 555 25 discriminator 1 view .LVU599 1731 001c 002A cmp r2, #0 1732 001e 45D0 beq .L76 561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1733 .loc 1 561 7 is_stmt 1 view .LVU600 ARM GAS /tmp/ccGjXOU1.s page 174 561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1734 .loc 1 561 19 is_stmt 0 view .LVU601 1735 0020 0223 movs r3, #2 1736 0022 80F83D30 strb r3, [r0, #61] 570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 1737 .loc 1 570 3 is_stmt 1 view .LVU602 570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 1738 .loc 1 570 13 is_stmt 0 view .LVU603 1739 0026 036A ldr r3, [r0, #32] 570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 1740 .loc 1 570 51 view .LVU604 1741 0028 2348 ldr r0, .L83 1742 .LVL166: 570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 1743 .loc 1 570 51 view .LVU605 1744 002a D862 str r0, [r3, #44] 571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1745 .loc 1 571 3 is_stmt 1 view .LVU606 571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1746 .loc 1 571 13 is_stmt 0 view .LVU607 1747 002c 236A ldr r3, [r4, #32] 571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1748 .loc 1 571 55 view .LVU608 1749 002e 2348 ldr r0, .L83+4 1750 0030 1863 str r0, [r3, #48] 574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1751 .loc 1 574 3 is_stmt 1 view .LVU609 574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1752 .loc 1 574 13 is_stmt 0 view .LVU610 1753 0032 236A ldr r3, [r4, #32] 574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1754 .loc 1 574 52 view .LVU611 1755 0034 2248 ldr r0, .L83+8 1756 0036 5863 str r0, [r3, #52] 577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1757 .loc 1 577 3 is_stmt 1 view .LVU612 577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1758 .loc 1 577 87 is_stmt 0 view .LVU613 1759 0038 2068 ldr r0, [r4] 577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1760 .loc 1 577 7 view .LVU614 1761 003a 1346 mov r3, r2 1762 003c 00F12C02 add r2, r0, #44 1763 .LVL167: 577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1764 .loc 1 577 7 view .LVU615 1765 0040 206A ldr r0, [r4, #32] 1766 0042 FFF7FEFF bl HAL_DMA_Start_IT 1767 .LVL168: 577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1768 .loc 1 577 6 discriminator 1 view .LVU616 1769 0046 0146 mov r1, r0 1770 0048 80BB cbnz r0, .L76 585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1771 .loc 1 585 3 is_stmt 1 view .LVU617 1772 004a 2268 ldr r2, [r4] 1773 004c D368 ldr r3, [r2, #12] ARM GAS /tmp/ccGjXOU1.s page 175 1774 004e 43F48073 orr r3, r3, #256 1775 0052 D360 str r3, [r2, #12] 588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1776 .loc 1 588 3 view .LVU618 588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1777 .loc 1 588 7 is_stmt 0 view .LVU619 1778 0054 2368 ldr r3, [r4] 588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1779 .loc 1 588 6 view .LVU620 1780 0056 1B4A ldr r2, .L83+12 1781 0058 9342 cmp r3, r2 1782 005a 18D0 beq .L77 588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1783 .loc 1 588 7 discriminator 1 view .LVU621 1784 005c B3F1804F cmp r3, #1073741824 1785 0060 15D0 beq .L77 588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1786 .loc 1 588 7 discriminator 2 view .LVU622 1787 0062 A2F59432 sub r2, r2, #75776 1788 0066 9342 cmp r3, r2 1789 0068 11D0 beq .L77 588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1790 .loc 1 588 7 discriminator 3 view .LVU623 1791 006a 02F58062 add r2, r2, #1024 1792 006e 9342 cmp r3, r2 1793 0070 0DD0 beq .L77 588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1794 .loc 1 588 7 discriminator 4 view .LVU624 1795 0072 02F59632 add r2, r2, #76800 1796 0076 9342 cmp r3, r2 1797 0078 09D0 beq .L77 588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1798 .loc 1 588 7 discriminator 5 view .LVU625 1799 007a 02F54062 add r2, r2, #3072 1800 007e 9342 cmp r3, r2 1801 0080 05D0 beq .L77 598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1802 .loc 1 598 5 is_stmt 1 view .LVU626 1803 0082 1A68 ldr r2, [r3] 1804 0084 42F00102 orr r2, r2, #1 1805 0088 1A60 str r2, [r3] 602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1806 .loc 1 602 10 is_stmt 0 view .LVU627 1807 008a 0546 mov r5, r0 1808 008c 0EE0 b .L76 1809 .L77: 590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1810 .loc 1 590 5 is_stmt 1 view .LVU628 590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1811 .loc 1 590 29 is_stmt 0 view .LVU629 1812 008e 9868 ldr r0, [r3, #8] 590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1813 .loc 1 590 13 view .LVU630 1814 0090 0D4A ldr r2, .L83+16 1815 0092 0240 ands r2, r2, r0 1816 .LVL169: 591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 176 1817 .loc 1 591 5 is_stmt 1 view .LVU631 591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1818 .loc 1 591 8 is_stmt 0 view .LVU632 1819 0094 062A cmp r2, #6 1820 0096 0BD0 beq .L80 591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1821 .loc 1 591 9 discriminator 1 view .LVU633 1822 0098 B2F5803F cmp r2, #65536 1823 009c 0AD0 beq .L81 593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1824 .loc 1 593 7 is_stmt 1 view .LVU634 1825 009e 1A68 ldr r2, [r3] 1826 .LVL170: 593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1827 .loc 1 593 7 is_stmt 0 view .LVU635 1828 00a0 42F00102 orr r2, r2, #1 1829 00a4 1A60 str r2, [r3] 602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1830 .loc 1 602 10 view .LVU636 1831 00a6 0D46 mov r5, r1 1832 00a8 00E0 b .L76 1833 .LVL171: 1834 .L79: 566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1835 .loc 1 566 12 view .LVU637 1836 00aa 0125 movs r5, #1 1837 .LVL172: 1838 .L76: 603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1839 .loc 1 603 1 view .LVU638 1840 00ac 2846 mov r0, r5 1841 00ae 38BD pop {r3, r4, r5, pc} 1842 .LVL173: 1843 .L80: 602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1844 .loc 1 602 10 view .LVU639 1845 00b0 0D46 mov r5, r1 1846 00b2 FBE7 b .L76 1847 .L81: 1848 00b4 0D46 mov r5, r1 1849 00b6 F9E7 b .L76 1850 .L84: 1851 .align 2 1852 .L83: 1853 00b8 00000000 .word TIM_DMAPeriodElapsedCplt 1854 00bc 00000000 .word TIM_DMAPeriodElapsedHalfCplt 1855 00c0 00000000 .word TIM_DMAError 1856 00c4 002C0140 .word 1073818624 1857 00c8 07000100 .word 65543 1858 .cfi_endproc 1859 .LFE337: 1861 .section .text.HAL_TIM_Base_Stop_DMA,"ax",%progbits 1862 .align 1 1863 .global HAL_TIM_Base_Stop_DMA 1864 .syntax unified 1865 .thumb 1866 .thumb_func ARM GAS /tmp/ccGjXOU1.s page 177 1868 HAL_TIM_Base_Stop_DMA: 1869 .LVL174: 1870 .LFB338: 611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1871 .loc 1 611 1 is_stmt 1 view -0 1872 .cfi_startproc 1873 @ args = 0, pretend = 0, frame = 0 1874 @ frame_needed = 0, uses_anonymous_args = 0 611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1875 .loc 1 611 1 is_stmt 0 view .LVU641 1876 0000 10B5 push {r4, lr} 1877 .LCFI22: 1878 .cfi_def_cfa_offset 8 1879 .cfi_offset 4, -8 1880 .cfi_offset 14, -4 1881 0002 0446 mov r4, r0 613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1882 .loc 1 613 3 is_stmt 1 view .LVU642 616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1883 .loc 1 616 3 view .LVU643 1884 0004 0268 ldr r2, [r0] 1885 0006 D368 ldr r3, [r2, #12] 1886 0008 23F48073 bic r3, r3, #256 1887 000c D360 str r3, [r2, #12] 618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1888 .loc 1 618 3 view .LVU644 618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1889 .loc 1 618 9 is_stmt 0 view .LVU645 1890 000e 006A ldr r0, [r0, #32] 1891 .LVL175: 618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1892 .loc 1 618 9 view .LVU646 1893 0010 FFF7FEFF bl HAL_DMA_Abort_IT 1894 .LVL176: 621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1895 .loc 1 621 3 is_stmt 1 view .LVU647 621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1896 .loc 1 621 3 view .LVU648 1897 0014 2368 ldr r3, [r4] 1898 0016 196A ldr r1, [r3, #32] 1899 0018 41F21112 movw r2, #4369 1900 001c 1142 tst r1, r2 1901 001e 08D1 bne .L86 621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1902 .loc 1 621 3 discriminator 1 view .LVU649 1903 0020 196A ldr r1, [r3, #32] 1904 0022 44F24442 movw r2, #17476 1905 0026 1142 tst r1, r2 1906 0028 03D1 bne .L86 621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1907 .loc 1 621 3 discriminator 3 view .LVU650 1908 002a 1A68 ldr r2, [r3] 1909 002c 22F00102 bic r2, r2, #1 1910 0030 1A60 str r2, [r3] 1911 .L86: 621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1912 .loc 1 621 3 discriminator 5 view .LVU651 ARM GAS /tmp/ccGjXOU1.s page 178 624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1913 .loc 1 624 3 view .LVU652 624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1914 .loc 1 624 15 is_stmt 0 view .LVU653 1915 0032 0123 movs r3, #1 1916 0034 84F83D30 strb r3, [r4, #61] 627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1917 .loc 1 627 3 is_stmt 1 view .LVU654 628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1918 .loc 1 628 1 is_stmt 0 view .LVU655 1919 0038 0020 movs r0, #0 1920 003a 10BD pop {r4, pc} 628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1921 .loc 1 628 1 view .LVU656 1922 .cfi_endproc 1923 .LFE338: 1925 .section .text.HAL_TIM_OC_MspInit,"ax",%progbits 1926 .align 1 1927 .weak HAL_TIM_OC_MspInit 1928 .syntax unified 1929 .thumb 1930 .thumb_func 1932 HAL_TIM_OC_MspInit: 1933 .LVL177: 1934 .LFB341: 769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 1935 .loc 1 769 1 is_stmt 1 view -0 1936 .cfi_startproc 1937 @ args = 0, pretend = 0, frame = 0 1938 @ frame_needed = 0, uses_anonymous_args = 0 1939 @ link register save eliminated. 771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1940 .loc 1 771 3 view .LVU658 776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1941 .loc 1 776 1 is_stmt 0 view .LVU659 1942 0000 7047 bx lr 1943 .cfi_endproc 1944 .LFE341: 1946 .section .text.HAL_TIM_OC_MspDeInit,"ax",%progbits 1947 .align 1 1948 .weak HAL_TIM_OC_MspDeInit 1949 .syntax unified 1950 .thumb 1951 .thumb_func 1953 HAL_TIM_OC_MspDeInit: 1954 .LVL178: 1955 .LFB342: 784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 1956 .loc 1 784 1 is_stmt 1 view -0 1957 .cfi_startproc 1958 @ args = 0, pretend = 0, frame = 0 1959 @ frame_needed = 0, uses_anonymous_args = 0 1960 @ link register save eliminated. 786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1961 .loc 1 786 3 view .LVU661 791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1962 .loc 1 791 1 is_stmt 0 view .LVU662 ARM GAS /tmp/ccGjXOU1.s page 179 1963 0000 7047 bx lr 1964 .cfi_endproc 1965 .LFE342: 1967 .section .text.HAL_TIM_OC_DeInit,"ax",%progbits 1968 .align 1 1969 .global HAL_TIM_OC_DeInit 1970 .syntax unified 1971 .thumb 1972 .thumb_func 1974 HAL_TIM_OC_DeInit: 1975 .LVL179: 1976 .LFB340: 726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1977 .loc 1 726 1 is_stmt 1 view -0 1978 .cfi_startproc 1979 @ args = 0, pretend = 0, frame = 0 1980 @ frame_needed = 0, uses_anonymous_args = 0 726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1981 .loc 1 726 1 is_stmt 0 view .LVU664 1982 0000 10B5 push {r4, lr} 1983 .LCFI23: 1984 .cfi_def_cfa_offset 8 1985 .cfi_offset 4, -8 1986 .cfi_offset 14, -4 1987 0002 0446 mov r4, r0 728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1988 .loc 1 728 3 is_stmt 1 view .LVU665 730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1989 .loc 1 730 3 view .LVU666 730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1990 .loc 1 730 15 is_stmt 0 view .LVU667 1991 0004 0223 movs r3, #2 1992 0006 80F83D30 strb r3, [r0, #61] 733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1993 .loc 1 733 3 is_stmt 1 view .LVU668 733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1994 .loc 1 733 3 view .LVU669 1995 000a 0368 ldr r3, [r0] 1996 000c 196A ldr r1, [r3, #32] 1997 000e 41F21112 movw r2, #4369 1998 0012 1142 tst r1, r2 1999 0014 08D1 bne .L91 733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2000 .loc 1 733 3 discriminator 1 view .LVU670 2001 0016 196A ldr r1, [r3, #32] 2002 0018 44F24442 movw r2, #17476 2003 001c 1142 tst r1, r2 2004 001e 03D1 bne .L91 733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2005 .loc 1 733 3 discriminator 3 view .LVU671 2006 0020 1A68 ldr r2, [r3] 2007 0022 22F00102 bic r2, r2, #1 2008 0026 1A60 str r2, [r3] 2009 .L91: 733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2010 .loc 1 733 3 discriminator 5 view .LVU672 744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ ARM GAS /tmp/ccGjXOU1.s page 180 2011 .loc 1 744 3 view .LVU673 2012 0028 2046 mov r0, r4 2013 .LVL180: 744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2014 .loc 1 744 3 is_stmt 0 view .LVU674 2015 002a FFF7FEFF bl HAL_TIM_OC_MspDeInit 2016 .LVL181: 748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2017 .loc 1 748 3 is_stmt 1 view .LVU675 748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2018 .loc 1 748 23 is_stmt 0 view .LVU676 2019 002e 0020 movs r0, #0 2020 0030 84F84800 strb r0, [r4, #72] 751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2021 .loc 1 751 3 is_stmt 1 view .LVU677 751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2022 .loc 1 751 3 view .LVU678 2023 0034 84F83E00 strb r0, [r4, #62] 751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2024 .loc 1 751 3 view .LVU679 2025 0038 84F83F00 strb r0, [r4, #63] 751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2026 .loc 1 751 3 view .LVU680 2027 003c 84F84000 strb r0, [r4, #64] 751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2028 .loc 1 751 3 view .LVU681 2029 0040 84F84100 strb r0, [r4, #65] 751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2030 .loc 1 751 3 view .LVU682 2031 0044 84F84200 strb r0, [r4, #66] 751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2032 .loc 1 751 3 view .LVU683 2033 0048 84F84300 strb r0, [r4, #67] 751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2034 .loc 1 751 3 view .LVU684 752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2035 .loc 1 752 3 view .LVU685 752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2036 .loc 1 752 3 view .LVU686 2037 004c 84F84400 strb r0, [r4, #68] 752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2038 .loc 1 752 3 view .LVU687 2039 0050 84F84500 strb r0, [r4, #69] 752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2040 .loc 1 752 3 view .LVU688 2041 0054 84F84600 strb r0, [r4, #70] 752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2042 .loc 1 752 3 view .LVU689 2043 0058 84F84700 strb r0, [r4, #71] 752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2044 .loc 1 752 3 view .LVU690 755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2045 .loc 1 755 3 view .LVU691 755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2046 .loc 1 755 15 is_stmt 0 view .LVU692 2047 005c 84F83D00 strb r0, [r4, #61] 758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 181 2048 .loc 1 758 3 is_stmt 1 view .LVU693 758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2049 .loc 1 758 3 view .LVU694 2050 0060 84F83C00 strb r0, [r4, #60] 758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2051 .loc 1 758 3 view .LVU695 760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2052 .loc 1 760 3 view .LVU696 761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2053 .loc 1 761 1 is_stmt 0 view .LVU697 2054 0064 10BD pop {r4, pc} 761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2055 .loc 1 761 1 view .LVU698 2056 .cfi_endproc 2057 .LFE340: 2059 .section .text.HAL_TIM_PWM_MspInit,"ax",%progbits 2060 .align 1 2061 .weak HAL_TIM_PWM_MspInit 2062 .syntax unified 2063 .thumb 2064 .thumb_func 2066 HAL_TIM_PWM_MspInit: 2067 .LVL182: 2068 .LFB351: 1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2069 .loc 1 1438 1 is_stmt 1 view -0 2070 .cfi_startproc 2071 @ args = 0, pretend = 0, frame = 0 2072 @ frame_needed = 0, uses_anonymous_args = 0 2073 @ link register save eliminated. 1440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2074 .loc 1 1440 3 view .LVU700 1445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2075 .loc 1 1445 1 is_stmt 0 view .LVU701 2076 0000 7047 bx lr 2077 .cfi_endproc 2078 .LFE351: 2080 .section .text.HAL_TIM_PWM_MspDeInit,"ax",%progbits 2081 .align 1 2082 .weak HAL_TIM_PWM_MspDeInit 2083 .syntax unified 2084 .thumb 2085 .thumb_func 2087 HAL_TIM_PWM_MspDeInit: 2088 .LVL183: 2089 .LFB352: 1453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2090 .loc 1 1453 1 is_stmt 1 view -0 2091 .cfi_startproc 2092 @ args = 0, pretend = 0, frame = 0 2093 @ frame_needed = 0, uses_anonymous_args = 0 2094 @ link register save eliminated. 1455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2095 .loc 1 1455 3 view .LVU703 1460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2096 .loc 1 1460 1 is_stmt 0 view .LVU704 2097 0000 7047 bx lr ARM GAS /tmp/ccGjXOU1.s page 182 2098 .cfi_endproc 2099 .LFE352: 2101 .section .text.HAL_TIM_PWM_DeInit,"ax",%progbits 2102 .align 1 2103 .global HAL_TIM_PWM_DeInit 2104 .syntax unified 2105 .thumb 2106 .thumb_func 2108 HAL_TIM_PWM_DeInit: 2109 .LVL184: 2110 .LFB350: 1395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2111 .loc 1 1395 1 is_stmt 1 view -0 2112 .cfi_startproc 2113 @ args = 0, pretend = 0, frame = 0 2114 @ frame_needed = 0, uses_anonymous_args = 0 1395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2115 .loc 1 1395 1 is_stmt 0 view .LVU706 2116 0000 10B5 push {r4, lr} 2117 .LCFI24: 2118 .cfi_def_cfa_offset 8 2119 .cfi_offset 4, -8 2120 .cfi_offset 14, -4 2121 0002 0446 mov r4, r0 1397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2122 .loc 1 1397 3 is_stmt 1 view .LVU707 1399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2123 .loc 1 1399 3 view .LVU708 1399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2124 .loc 1 1399 15 is_stmt 0 view .LVU709 2125 0004 0223 movs r3, #2 2126 0006 80F83D30 strb r3, [r0, #61] 1402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2127 .loc 1 1402 3 is_stmt 1 view .LVU710 1402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2128 .loc 1 1402 3 view .LVU711 2129 000a 0368 ldr r3, [r0] 2130 000c 196A ldr r1, [r3, #32] 2131 000e 41F21112 movw r2, #4369 2132 0012 1142 tst r1, r2 2133 0014 08D1 bne .L96 1402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2134 .loc 1 1402 3 discriminator 1 view .LVU712 2135 0016 196A ldr r1, [r3, #32] 2136 0018 44F24442 movw r2, #17476 2137 001c 1142 tst r1, r2 2138 001e 03D1 bne .L96 1402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2139 .loc 1 1402 3 discriminator 3 view .LVU713 2140 0020 1A68 ldr r2, [r3] 2141 0022 22F00102 bic r2, r2, #1 2142 0026 1A60 str r2, [r3] 2143 .L96: 1402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2144 .loc 1 1402 3 discriminator 5 view .LVU714 1413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2145 .loc 1 1413 3 view .LVU715 ARM GAS /tmp/ccGjXOU1.s page 183 2146 0028 2046 mov r0, r4 2147 .LVL185: 1413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2148 .loc 1 1413 3 is_stmt 0 view .LVU716 2149 002a FFF7FEFF bl HAL_TIM_PWM_MspDeInit 2150 .LVL186: 1417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2151 .loc 1 1417 3 is_stmt 1 view .LVU717 1417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2152 .loc 1 1417 23 is_stmt 0 view .LVU718 2153 002e 0020 movs r0, #0 2154 0030 84F84800 strb r0, [r4, #72] 1420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2155 .loc 1 1420 3 is_stmt 1 view .LVU719 1420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2156 .loc 1 1420 3 view .LVU720 2157 0034 84F83E00 strb r0, [r4, #62] 1420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2158 .loc 1 1420 3 view .LVU721 2159 0038 84F83F00 strb r0, [r4, #63] 1420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2160 .loc 1 1420 3 view .LVU722 2161 003c 84F84000 strb r0, [r4, #64] 1420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2162 .loc 1 1420 3 view .LVU723 2163 0040 84F84100 strb r0, [r4, #65] 1420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2164 .loc 1 1420 3 view .LVU724 2165 0044 84F84200 strb r0, [r4, #66] 1420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2166 .loc 1 1420 3 view .LVU725 2167 0048 84F84300 strb r0, [r4, #67] 1420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2168 .loc 1 1420 3 view .LVU726 1421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2169 .loc 1 1421 3 view .LVU727 1421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2170 .loc 1 1421 3 view .LVU728 2171 004c 84F84400 strb r0, [r4, #68] 1421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2172 .loc 1 1421 3 view .LVU729 2173 0050 84F84500 strb r0, [r4, #69] 1421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2174 .loc 1 1421 3 view .LVU730 2175 0054 84F84600 strb r0, [r4, #70] 1421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2176 .loc 1 1421 3 view .LVU731 2177 0058 84F84700 strb r0, [r4, #71] 1421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2178 .loc 1 1421 3 view .LVU732 1424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2179 .loc 1 1424 3 view .LVU733 1424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2180 .loc 1 1424 15 is_stmt 0 view .LVU734 2181 005c 84F83D00 strb r0, [r4, #61] 1427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2182 .loc 1 1427 3 is_stmt 1 view .LVU735 ARM GAS /tmp/ccGjXOU1.s page 184 1427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2183 .loc 1 1427 3 view .LVU736 2184 0060 84F83C00 strb r0, [r4, #60] 1427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2185 .loc 1 1427 3 view .LVU737 1429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2186 .loc 1 1429 3 view .LVU738 1430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2187 .loc 1 1430 1 is_stmt 0 view .LVU739 2188 0064 10BD pop {r4, pc} 1430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2189 .loc 1 1430 1 view .LVU740 2190 .cfi_endproc 2191 .LFE350: 2193 .section .text.HAL_TIM_IC_MspInit,"ax",%progbits 2194 .align 1 2195 .weak HAL_TIM_IC_MspInit 2196 .syntax unified 2197 .thumb 2198 .thumb_func 2200 HAL_TIM_IC_MspInit: 2201 .LVL187: 2202 .LFB361: 2106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2203 .loc 1 2106 1 is_stmt 1 view -0 2204 .cfi_startproc 2205 @ args = 0, pretend = 0, frame = 0 2206 @ frame_needed = 0, uses_anonymous_args = 0 2207 @ link register save eliminated. 2108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2208 .loc 1 2108 3 view .LVU742 2113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2209 .loc 1 2113 1 is_stmt 0 view .LVU743 2210 0000 7047 bx lr 2211 .cfi_endproc 2212 .LFE361: 2214 .section .text.HAL_TIM_IC_MspDeInit,"ax",%progbits 2215 .align 1 2216 .weak HAL_TIM_IC_MspDeInit 2217 .syntax unified 2218 .thumb 2219 .thumb_func 2221 HAL_TIM_IC_MspDeInit: 2222 .LVL188: 2223 .LFB362: 2121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2224 .loc 1 2121 1 is_stmt 1 view -0 2225 .cfi_startproc 2226 @ args = 0, pretend = 0, frame = 0 2227 @ frame_needed = 0, uses_anonymous_args = 0 2228 @ link register save eliminated. 2123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2229 .loc 1 2123 3 view .LVU745 2128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2230 .loc 1 2128 1 is_stmt 0 view .LVU746 2231 0000 7047 bx lr 2232 .cfi_endproc ARM GAS /tmp/ccGjXOU1.s page 185 2233 .LFE362: 2235 .section .text.HAL_TIM_IC_DeInit,"ax",%progbits 2236 .align 1 2237 .global HAL_TIM_IC_DeInit 2238 .syntax unified 2239 .thumb 2240 .thumb_func 2242 HAL_TIM_IC_DeInit: 2243 .LVL189: 2244 .LFB360: 2063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2245 .loc 1 2063 1 is_stmt 1 view -0 2246 .cfi_startproc 2247 @ args = 0, pretend = 0, frame = 0 2248 @ frame_needed = 0, uses_anonymous_args = 0 2063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2249 .loc 1 2063 1 is_stmt 0 view .LVU748 2250 0000 10B5 push {r4, lr} 2251 .LCFI25: 2252 .cfi_def_cfa_offset 8 2253 .cfi_offset 4, -8 2254 .cfi_offset 14, -4 2255 0002 0446 mov r4, r0 2065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2256 .loc 1 2065 3 is_stmt 1 view .LVU749 2067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2257 .loc 1 2067 3 view .LVU750 2067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2258 .loc 1 2067 15 is_stmt 0 view .LVU751 2259 0004 0223 movs r3, #2 2260 0006 80F83D30 strb r3, [r0, #61] 2070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2261 .loc 1 2070 3 is_stmt 1 view .LVU752 2070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2262 .loc 1 2070 3 view .LVU753 2263 000a 0368 ldr r3, [r0] 2264 000c 196A ldr r1, [r3, #32] 2265 000e 41F21112 movw r2, #4369 2266 0012 1142 tst r1, r2 2267 0014 08D1 bne .L101 2070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2268 .loc 1 2070 3 discriminator 1 view .LVU754 2269 0016 196A ldr r1, [r3, #32] 2270 0018 44F24442 movw r2, #17476 2271 001c 1142 tst r1, r2 2272 001e 03D1 bne .L101 2070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2273 .loc 1 2070 3 discriminator 3 view .LVU755 2274 0020 1A68 ldr r2, [r3] 2275 0022 22F00102 bic r2, r2, #1 2276 0026 1A60 str r2, [r3] 2277 .L101: 2070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2278 .loc 1 2070 3 discriminator 5 view .LVU756 2081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2279 .loc 1 2081 3 view .LVU757 2280 0028 2046 mov r0, r4 ARM GAS /tmp/ccGjXOU1.s page 186 2281 .LVL190: 2081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2282 .loc 1 2081 3 is_stmt 0 view .LVU758 2283 002a FFF7FEFF bl HAL_TIM_IC_MspDeInit 2284 .LVL191: 2085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2285 .loc 1 2085 3 is_stmt 1 view .LVU759 2085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2286 .loc 1 2085 23 is_stmt 0 view .LVU760 2287 002e 0020 movs r0, #0 2288 0030 84F84800 strb r0, [r4, #72] 2088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2289 .loc 1 2088 3 is_stmt 1 view .LVU761 2088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2290 .loc 1 2088 3 view .LVU762 2291 0034 84F83E00 strb r0, [r4, #62] 2088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2292 .loc 1 2088 3 view .LVU763 2293 0038 84F83F00 strb r0, [r4, #63] 2088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2294 .loc 1 2088 3 view .LVU764 2295 003c 84F84000 strb r0, [r4, #64] 2088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2296 .loc 1 2088 3 view .LVU765 2297 0040 84F84100 strb r0, [r4, #65] 2088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2298 .loc 1 2088 3 view .LVU766 2299 0044 84F84200 strb r0, [r4, #66] 2088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2300 .loc 1 2088 3 view .LVU767 2301 0048 84F84300 strb r0, [r4, #67] 2088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET); 2302 .loc 1 2088 3 view .LVU768 2089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2303 .loc 1 2089 3 view .LVU769 2089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2304 .loc 1 2089 3 view .LVU770 2305 004c 84F84400 strb r0, [r4, #68] 2089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2306 .loc 1 2089 3 view .LVU771 2307 0050 84F84500 strb r0, [r4, #69] 2089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2308 .loc 1 2089 3 view .LVU772 2309 0054 84F84600 strb r0, [r4, #70] 2089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2310 .loc 1 2089 3 view .LVU773 2311 0058 84F84700 strb r0, [r4, #71] 2089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2312 .loc 1 2089 3 view .LVU774 2092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2313 .loc 1 2092 3 view .LVU775 2092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2314 .loc 1 2092 15 is_stmt 0 view .LVU776 2315 005c 84F83D00 strb r0, [r4, #61] 2095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2316 .loc 1 2095 3 is_stmt 1 view .LVU777 2095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 187 2317 .loc 1 2095 3 view .LVU778 2318 0060 84F83C00 strb r0, [r4, #60] 2095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2319 .loc 1 2095 3 view .LVU779 2097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2320 .loc 1 2097 3 view .LVU780 2098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2321 .loc 1 2098 1 is_stmt 0 view .LVU781 2322 0064 10BD pop {r4, pc} 2098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2323 .loc 1 2098 1 view .LVU782 2324 .cfi_endproc 2325 .LFE360: 2327 .section .text.HAL_TIM_OnePulse_MspInit,"ax",%progbits 2328 .align 1 2329 .weak HAL_TIM_OnePulse_MspInit 2330 .syntax unified 2331 .thumb 2332 .thumb_func 2334 HAL_TIM_OnePulse_MspInit: 2335 .LVL192: 2336 .LFB371: 2766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2337 .loc 1 2766 1 is_stmt 1 view -0 2338 .cfi_startproc 2339 @ args = 0, pretend = 0, frame = 0 2340 @ frame_needed = 0, uses_anonymous_args = 0 2341 @ link register save eliminated. 2768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2342 .loc 1 2768 3 view .LVU784 2773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2343 .loc 1 2773 1 is_stmt 0 view .LVU785 2344 0000 7047 bx lr 2345 .cfi_endproc 2346 .LFE371: 2348 .section .text.HAL_TIM_OnePulse_MspDeInit,"ax",%progbits 2349 .align 1 2350 .weak HAL_TIM_OnePulse_MspDeInit 2351 .syntax unified 2352 .thumb 2353 .thumb_func 2355 HAL_TIM_OnePulse_MspDeInit: 2356 .LVL193: 2357 .LFB372: 2781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2358 .loc 1 2781 1 is_stmt 1 view -0 2359 .cfi_startproc 2360 @ args = 0, pretend = 0, frame = 0 2361 @ frame_needed = 0, uses_anonymous_args = 0 2362 @ link register save eliminated. 2783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2363 .loc 1 2783 3 view .LVU787 2788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2364 .loc 1 2788 1 is_stmt 0 view .LVU788 2365 0000 7047 bx lr 2366 .cfi_endproc 2367 .LFE372: ARM GAS /tmp/ccGjXOU1.s page 188 2369 .section .text.HAL_TIM_OnePulse_DeInit,"ax",%progbits 2370 .align 1 2371 .global HAL_TIM_OnePulse_DeInit 2372 .syntax unified 2373 .thumb 2374 .thumb_func 2376 HAL_TIM_OnePulse_DeInit: 2377 .LVL194: 2378 .LFB370: 2721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2379 .loc 1 2721 1 is_stmt 1 view -0 2380 .cfi_startproc 2381 @ args = 0, pretend = 0, frame = 0 2382 @ frame_needed = 0, uses_anonymous_args = 0 2721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2383 .loc 1 2721 1 is_stmt 0 view .LVU790 2384 0000 10B5 push {r4, lr} 2385 .LCFI26: 2386 .cfi_def_cfa_offset 8 2387 .cfi_offset 4, -8 2388 .cfi_offset 14, -4 2389 0002 0446 mov r4, r0 2723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2390 .loc 1 2723 3 is_stmt 1 view .LVU791 2725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2391 .loc 1 2725 3 view .LVU792 2725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2392 .loc 1 2725 15 is_stmt 0 view .LVU793 2393 0004 0223 movs r3, #2 2394 0006 80F83D30 strb r3, [r0, #61] 2728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2395 .loc 1 2728 3 is_stmt 1 view .LVU794 2728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2396 .loc 1 2728 3 view .LVU795 2397 000a 0368 ldr r3, [r0] 2398 000c 196A ldr r1, [r3, #32] 2399 000e 41F21112 movw r2, #4369 2400 0012 1142 tst r1, r2 2401 0014 08D1 bne .L106 2728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2402 .loc 1 2728 3 discriminator 1 view .LVU796 2403 0016 196A ldr r1, [r3, #32] 2404 0018 44F24442 movw r2, #17476 2405 001c 1142 tst r1, r2 2406 001e 03D1 bne .L106 2728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2407 .loc 1 2728 3 discriminator 3 view .LVU797 2408 0020 1A68 ldr r2, [r3] 2409 0022 22F00102 bic r2, r2, #1 2410 0026 1A60 str r2, [r3] 2411 .L106: 2728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2412 .loc 1 2728 3 discriminator 5 view .LVU798 2739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2413 .loc 1 2739 3 view .LVU799 2414 0028 2046 mov r0, r4 2415 .LVL195: ARM GAS /tmp/ccGjXOU1.s page 189 2739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2416 .loc 1 2739 3 is_stmt 0 view .LVU800 2417 002a FFF7FEFF bl HAL_TIM_OnePulse_MspDeInit 2418 .LVL196: 2743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2419 .loc 1 2743 3 is_stmt 1 view .LVU801 2743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2420 .loc 1 2743 23 is_stmt 0 view .LVU802 2421 002e 0020 movs r0, #0 2422 0030 84F84800 strb r0, [r4, #72] 2746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET); 2423 .loc 1 2746 3 is_stmt 1 view .LVU803 2424 0034 84F83E00 strb r0, [r4, #62] 2747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET); 2425 .loc 1 2747 3 view .LVU804 2426 0038 84F83F00 strb r0, [r4, #63] 2748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET); 2427 .loc 1 2748 3 view .LVU805 2428 003c 84F84400 strb r0, [r4, #68] 2749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2429 .loc 1 2749 3 view .LVU806 2430 0040 84F84500 strb r0, [r4, #69] 2752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2431 .loc 1 2752 3 view .LVU807 2752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2432 .loc 1 2752 15 is_stmt 0 view .LVU808 2433 0044 84F83D00 strb r0, [r4, #61] 2755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2434 .loc 1 2755 3 is_stmt 1 view .LVU809 2755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2435 .loc 1 2755 3 view .LVU810 2436 0048 84F83C00 strb r0, [r4, #60] 2755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2437 .loc 1 2755 3 view .LVU811 2757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2438 .loc 1 2757 3 view .LVU812 2758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2439 .loc 1 2758 1 is_stmt 0 view .LVU813 2440 004c 10BD pop {r4, pc} 2758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2441 .loc 1 2758 1 view .LVU814 2442 .cfi_endproc 2443 .LFE370: 2445 .section .text.HAL_TIM_Encoder_MspInit,"ax",%progbits 2446 .align 1 2447 .weak HAL_TIM_Encoder_MspInit 2448 .syntax unified 2449 .thumb 2450 .thumb_func 2452 HAL_TIM_Encoder_MspInit: 2453 .LVL197: 2454 .LFB379: 3203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2455 .loc 1 3203 1 is_stmt 1 view -0 2456 .cfi_startproc 2457 @ args = 0, pretend = 0, frame = 0 2458 @ frame_needed = 0, uses_anonymous_args = 0 ARM GAS /tmp/ccGjXOU1.s page 190 2459 @ link register save eliminated. 3205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2460 .loc 1 3205 3 view .LVU816 3210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2461 .loc 1 3210 1 is_stmt 0 view .LVU817 2462 0000 7047 bx lr 2463 .cfi_endproc 2464 .LFE379: 2466 .section .text.HAL_TIM_Encoder_MspDeInit,"ax",%progbits 2467 .align 1 2468 .weak HAL_TIM_Encoder_MspDeInit 2469 .syntax unified 2470 .thumb 2471 .thumb_func 2473 HAL_TIM_Encoder_MspDeInit: 2474 .LVL198: 2475 .LFB380: 3218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2476 .loc 1 3218 1 is_stmt 1 view -0 2477 .cfi_startproc 2478 @ args = 0, pretend = 0, frame = 0 2479 @ frame_needed = 0, uses_anonymous_args = 0 2480 @ link register save eliminated. 3220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2481 .loc 1 3220 3 view .LVU819 3225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2482 .loc 1 3225 1 is_stmt 0 view .LVU820 2483 0000 7047 bx lr 2484 .cfi_endproc 2485 .LFE380: 2487 .section .text.HAL_TIM_Encoder_DeInit,"ax",%progbits 2488 .align 1 2489 .global HAL_TIM_Encoder_DeInit 2490 .syntax unified 2491 .thumb 2492 .thumb_func 2494 HAL_TIM_Encoder_DeInit: 2495 .LVL199: 2496 .LFB378: 3158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2497 .loc 1 3158 1 is_stmt 1 view -0 2498 .cfi_startproc 2499 @ args = 0, pretend = 0, frame = 0 2500 @ frame_needed = 0, uses_anonymous_args = 0 3158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2501 .loc 1 3158 1 is_stmt 0 view .LVU822 2502 0000 10B5 push {r4, lr} 2503 .LCFI27: 2504 .cfi_def_cfa_offset 8 2505 .cfi_offset 4, -8 2506 .cfi_offset 14, -4 2507 0002 0446 mov r4, r0 3160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2508 .loc 1 3160 3 is_stmt 1 view .LVU823 3162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2509 .loc 1 3162 3 view .LVU824 3162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 191 2510 .loc 1 3162 15 is_stmt 0 view .LVU825 2511 0004 0223 movs r3, #2 2512 0006 80F83D30 strb r3, [r0, #61] 3165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2513 .loc 1 3165 3 is_stmt 1 view .LVU826 3165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2514 .loc 1 3165 3 view .LVU827 2515 000a 0368 ldr r3, [r0] 2516 000c 196A ldr r1, [r3, #32] 2517 000e 41F21112 movw r2, #4369 2518 0012 1142 tst r1, r2 2519 0014 08D1 bne .L111 3165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2520 .loc 1 3165 3 discriminator 1 view .LVU828 2521 0016 196A ldr r1, [r3, #32] 2522 0018 44F24442 movw r2, #17476 2523 001c 1142 tst r1, r2 2524 001e 03D1 bne .L111 3165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2525 .loc 1 3165 3 discriminator 3 view .LVU829 2526 0020 1A68 ldr r2, [r3] 2527 0022 22F00102 bic r2, r2, #1 2528 0026 1A60 str r2, [r3] 2529 .L111: 3165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2530 .loc 1 3165 3 discriminator 5 view .LVU830 3176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2531 .loc 1 3176 3 view .LVU831 2532 0028 2046 mov r0, r4 2533 .LVL200: 3176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2534 .loc 1 3176 3 is_stmt 0 view .LVU832 2535 002a FFF7FEFF bl HAL_TIM_Encoder_MspDeInit 2536 .LVL201: 3180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2537 .loc 1 3180 3 is_stmt 1 view .LVU833 3180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2538 .loc 1 3180 23 is_stmt 0 view .LVU834 2539 002e 0020 movs r0, #0 2540 0030 84F84800 strb r0, [r4, #72] 3183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET); 2541 .loc 1 3183 3 is_stmt 1 view .LVU835 2542 0034 84F83E00 strb r0, [r4, #62] 3184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET); 2543 .loc 1 3184 3 view .LVU836 2544 0038 84F83F00 strb r0, [r4, #63] 3185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET); 2545 .loc 1 3185 3 view .LVU837 2546 003c 84F84400 strb r0, [r4, #68] 3186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2547 .loc 1 3186 3 view .LVU838 2548 0040 84F84500 strb r0, [r4, #69] 3189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2549 .loc 1 3189 3 view .LVU839 3189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2550 .loc 1 3189 15 is_stmt 0 view .LVU840 2551 0044 84F83D00 strb r0, [r4, #61] ARM GAS /tmp/ccGjXOU1.s page 192 3192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2552 .loc 1 3192 3 is_stmt 1 view .LVU841 3192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2553 .loc 1 3192 3 view .LVU842 2554 0048 84F83C00 strb r0, [r4, #60] 3192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2555 .loc 1 3192 3 view .LVU843 3194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2556 .loc 1 3194 3 view .LVU844 3195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2557 .loc 1 3195 1 is_stmt 0 view .LVU845 2558 004c 10BD pop {r4, pc} 3195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2559 .loc 1 3195 1 view .LVU846 2560 .cfi_endproc 2561 .LFE378: 2563 .section .text.HAL_TIM_DMABurst_MultiWriteStart,"ax",%progbits 2564 .align 1 2565 .global HAL_TIM_DMABurst_MultiWriteStart 2566 .syntax unified 2567 .thumb 2568 .thumb_func 2570 HAL_TIM_DMABurst_MultiWriteStart: 2571 .LVL202: 2572 .LFB393: 4702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 2573 .loc 1 4702 1 is_stmt 1 view -0 2574 .cfi_startproc 2575 @ args = 8, pretend = 0, frame = 0 2576 @ frame_needed = 0, uses_anonymous_args = 0 4702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 2577 .loc 1 4702 1 is_stmt 0 view .LVU848 2578 0000 70B5 push {r4, r5, r6, lr} 2579 .LCFI28: 2580 .cfi_def_cfa_offset 16 2581 .cfi_offset 4, -16 2582 .cfi_offset 5, -12 2583 .cfi_offset 6, -8 2584 .cfi_offset 14, -4 2585 0002 0446 mov r4, r0 2586 0004 0E46 mov r6, r1 2587 0006 1946 mov r1, r3 2588 .LVL203: 4703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2589 .loc 1 4703 3 is_stmt 1 view .LVU849 4706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_BASE(BurstBaseAddress)); 2590 .loc 1 4706 3 view .LVU850 4707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_SOURCE(BurstRequestSrc)); 2591 .loc 1 4707 3 view .LVU851 4708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_LENGTH(BurstLength)); 2592 .loc 1 4708 3 view .LVU852 4709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_DATA_LENGTH(DataLength)); 2593 .loc 1 4709 3 view .LVU853 4710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2594 .loc 1 4710 3 view .LVU854 4712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2595 .loc 1 4712 3 view .LVU855 ARM GAS /tmp/ccGjXOU1.s page 193 4712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2596 .loc 1 4712 11 is_stmt 0 view .LVU856 2597 0008 90F84830 ldrb r3, [r0, #72] @ zero_extendqisi2 2598 .LVL204: 4712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2599 .loc 1 4712 11 view .LVU857 2600 000c D8B2 uxtb r0, r3 2601 .LVL205: 4712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2602 .loc 1 4712 6 view .LVU858 2603 000e 022B cmp r3, #2 2604 0010 2FD0 beq .L114 2605 0012 1546 mov r5, r2 4716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2606 .loc 1 4716 8 is_stmt 1 view .LVU859 4716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2607 .loc 1 4716 16 is_stmt 0 view .LVU860 2608 0014 94F84830 ldrb r3, [r4, #72] @ zero_extendqisi2 2609 0018 D8B2 uxtb r0, r3 4716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2610 .loc 1 4716 11 view .LVU861 2611 001a 012B cmp r3, #1 2612 001c 2AD0 beq .L134 2613 .L115: 4730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2614 .loc 1 4730 3 is_stmt 1 view .LVU862 4732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2615 .loc 1 4732 3 view .LVU863 2616 001e B5F5006F cmp r5, #2048 2617 0022 79D0 beq .L117 2618 0024 31D8 bhi .L118 2619 0026 B5F5007F cmp r5, #512 2620 002a 4DD0 beq .L119 2621 002c B5F5806F cmp r5, #1024 2622 0030 5ED0 beq .L120 2623 0032 B5F5807F cmp r5, #256 2624 0036 26D1 bne .L135 4737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 2625 .loc 1 4737 7 view .LVU864 4737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 2626 .loc 1 4737 17 is_stmt 0 view .LVU865 2627 0038 236A ldr r3, [r4, #32] 4737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 2628 .loc 1 4737 55 view .LVU866 2629 003a 574A ldr r2, .L139 2630 .LVL206: 4737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 2631 .loc 1 4737 55 view .LVU867 2632 003c DA62 str r2, [r3, #44] 4738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2633 .loc 1 4738 7 is_stmt 1 view .LVU868 4738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2634 .loc 1 4738 17 is_stmt 0 view .LVU869 2635 003e 236A ldr r3, [r4, #32] 4738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2636 .loc 1 4738 59 view .LVU870 2637 0040 564A ldr r2, .L139+4 ARM GAS /tmp/ccGjXOU1.s page 194 2638 0042 1A63 str r2, [r3, #48] 4741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2639 .loc 1 4741 7 is_stmt 1 view .LVU871 4741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2640 .loc 1 4741 17 is_stmt 0 view .LVU872 2641 0044 236A ldr r3, [r4, #32] 4741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2642 .loc 1 4741 56 view .LVU873 2643 0046 564A ldr r2, .L139+8 2644 0048 5A63 str r2, [r3, #52] 4744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2645 .loc 1 4744 7 is_stmt 1 view .LVU874 4745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2646 .loc 1 4745 43 is_stmt 0 view .LVU875 2647 004a 2268 ldr r2, [r4] 4744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2648 .loc 1 4744 11 view .LVU876 2649 004c 059B ldr r3, [sp, #20] 2650 004e 02F57872 add r2, r2, #992 2651 0052 206A ldr r0, [r4, #32] 2652 0054 FFF7FEFF bl HAL_DMA_Start_IT 2653 .LVL207: 4744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2654 .loc 1 4744 10 discriminator 1 view .LVU877 2655 0058 0028 cmp r0, #0 2656 005a 40F09B80 bne .L136 2657 .L125: 2658 .LVL208: 4868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM DMA Request */ 2659 .loc 1 4868 5 is_stmt 1 view .LVU878 4868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM DMA Request */ 2660 .loc 1 4868 9 is_stmt 0 view .LVU879 2661 005e 2368 ldr r3, [r4] 4868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM DMA Request */ 2662 .loc 1 4868 45 view .LVU880 2663 0060 049A ldr r2, [sp, #16] 2664 0062 1643 orrs r6, r6, r2 2665 .LVL209: 4868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM DMA Request */ 2666 .loc 1 4868 25 view .LVU881 2667 0064 C3F8DC63 str r6, [r3, #988] 4870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2668 .loc 1 4870 5 is_stmt 1 view .LVU882 2669 0068 2268 ldr r2, [r4] 2670 006a D368 ldr r3, [r2, #12] 2671 006c 2B43 orrs r3, r3, r5 2672 006e D360 str r3, [r2, #12] 2673 0070 0020 movs r0, #0 2674 .LVL210: 2675 .L114: 4875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2676 .loc 1 4875 1 is_stmt 0 view .LVU883 2677 0072 70BD pop {r4, r5, r6, pc} 2678 .LVL211: 2679 .L134: 4718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2680 .loc 1 4718 5 is_stmt 1 view .LVU884 ARM GAS /tmp/ccGjXOU1.s page 195 4718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2681 .loc 1 4718 8 is_stmt 0 view .LVU885 2682 0074 19B1 cbz r1, .L137 2683 .L116: 4724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2684 .loc 1 4724 7 is_stmt 1 view .LVU886 4724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2685 .loc 1 4724 27 is_stmt 0 view .LVU887 2686 0076 0223 movs r3, #2 2687 0078 84F84830 strb r3, [r4, #72] 2688 007c CFE7 b .L115 2689 .L137: 4718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2690 .loc 1 4718 31 discriminator 1 view .LVU888 2691 007e 049B ldr r3, [sp, #16] 2692 0080 002B cmp r3, #0 2693 0082 F8D0 beq .L116 2694 0084 F5E7 b .L114 2695 .L135: 4732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2696 .loc 1 4732 3 view .LVU889 2697 0086 0120 movs r0, #1 2698 0088 F3E7 b .L114 2699 .L118: 2700 008a B5F5005F cmp r5, #8192 2701 008e 57D0 beq .L122 2702 0090 B5F5804F cmp r5, #16384 2703 0094 69D0 beq .L123 2704 0096 B5F5805F cmp r5, #4096 2705 009a 13D1 bne .L138 4809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2706 .loc 1 4809 7 is_stmt 1 view .LVU890 4809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2707 .loc 1 4809 17 is_stmt 0 view .LVU891 2708 009c 236B ldr r3, [r4, #48] 4809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2709 .loc 1 4809 52 view .LVU892 2710 009e 414A ldr r2, .L139+12 2711 .LVL212: 4809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2712 .loc 1 4809 52 view .LVU893 2713 00a0 DA62 str r2, [r3, #44] 4810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2714 .loc 1 4810 7 is_stmt 1 view .LVU894 4810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2715 .loc 1 4810 17 is_stmt 0 view .LVU895 2716 00a2 236B ldr r3, [r4, #48] 4810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2717 .loc 1 4810 56 view .LVU896 2718 00a4 404A ldr r2, .L139+16 2719 00a6 1A63 str r2, [r3, #48] 4813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2720 .loc 1 4813 7 is_stmt 1 view .LVU897 4813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2721 .loc 1 4813 17 is_stmt 0 view .LVU898 2722 00a8 236B ldr r3, [r4, #48] 4813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 196 2723 .loc 1 4813 53 view .LVU899 2724 00aa 3D4A ldr r2, .L139+8 2725 00ac 5A63 str r2, [r3, #52] 4816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2726 .loc 1 4816 7 is_stmt 1 view .LVU900 4817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2727 .loc 1 4817 43 is_stmt 0 view .LVU901 2728 00ae 2268 ldr r2, [r4] 4816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2729 .loc 1 4816 11 view .LVU902 2730 00b0 059B ldr r3, [sp, #20] 2731 00b2 02F57872 add r2, r2, #992 2732 00b6 206B ldr r0, [r4, #48] 2733 00b8 FFF7FEFF bl HAL_DMA_Start_IT 2734 .LVL213: 4816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2735 .loc 1 4816 10 discriminator 1 view .LVU903 2736 00bc 0028 cmp r0, #0 2737 00be CED0 beq .L125 4820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2738 .loc 1 4820 16 view .LVU904 2739 00c0 0120 movs r0, #1 2740 00c2 D6E7 b .L114 2741 .LVL214: 2742 .L138: 4732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2743 .loc 1 4732 3 view .LVU905 2744 00c4 0120 movs r0, #1 2745 00c6 D4E7 b .L114 2746 .L119: 4755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2747 .loc 1 4755 7 is_stmt 1 view .LVU906 4755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2748 .loc 1 4755 17 is_stmt 0 view .LVU907 2749 00c8 636A ldr r3, [r4, #36] 4755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2750 .loc 1 4755 52 view .LVU908 2751 00ca 364A ldr r2, .L139+12 2752 .LVL215: 4755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2753 .loc 1 4755 52 view .LVU909 2754 00cc DA62 str r2, [r3, #44] 4756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2755 .loc 1 4756 7 is_stmt 1 view .LVU910 4756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2756 .loc 1 4756 17 is_stmt 0 view .LVU911 2757 00ce 636A ldr r3, [r4, #36] 4756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2758 .loc 1 4756 56 view .LVU912 2759 00d0 354A ldr r2, .L139+16 2760 00d2 1A63 str r2, [r3, #48] 4759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2761 .loc 1 4759 7 is_stmt 1 view .LVU913 4759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2762 .loc 1 4759 17 is_stmt 0 view .LVU914 2763 00d4 636A ldr r3, [r4, #36] 4759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 197 2764 .loc 1 4759 53 view .LVU915 2765 00d6 324A ldr r2, .L139+8 2766 00d8 5A63 str r2, [r3, #52] 4762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2767 .loc 1 4762 7 is_stmt 1 view .LVU916 4763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2768 .loc 1 4763 43 is_stmt 0 view .LVU917 2769 00da 2268 ldr r2, [r4] 4762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2770 .loc 1 4762 11 view .LVU918 2771 00dc 059B ldr r3, [sp, #20] 2772 00de 02F57872 add r2, r2, #992 2773 00e2 606A ldr r0, [r4, #36] 2774 00e4 FFF7FEFF bl HAL_DMA_Start_IT 2775 .LVL216: 4762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2776 .loc 1 4762 10 discriminator 1 view .LVU919 2777 00e8 0028 cmp r0, #0 2778 00ea B8D0 beq .L125 4766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2779 .loc 1 4766 16 view .LVU920 2780 00ec 0120 movs r0, #1 2781 00ee C0E7 b .L114 2782 .LVL217: 2783 .L120: 4773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2784 .loc 1 4773 7 is_stmt 1 view .LVU921 4773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2785 .loc 1 4773 17 is_stmt 0 view .LVU922 2786 00f0 A36A ldr r3, [r4, #40] 4773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2787 .loc 1 4773 52 view .LVU923 2788 00f2 2C4A ldr r2, .L139+12 2789 .LVL218: 4773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2790 .loc 1 4773 52 view .LVU924 2791 00f4 DA62 str r2, [r3, #44] 4774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2792 .loc 1 4774 7 is_stmt 1 view .LVU925 4774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2793 .loc 1 4774 17 is_stmt 0 view .LVU926 2794 00f6 A36A ldr r3, [r4, #40] 4774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2795 .loc 1 4774 56 view .LVU927 2796 00f8 2B4A ldr r2, .L139+16 2797 00fa 1A63 str r2, [r3, #48] 4777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2798 .loc 1 4777 7 is_stmt 1 view .LVU928 4777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2799 .loc 1 4777 17 is_stmt 0 view .LVU929 2800 00fc A36A ldr r3, [r4, #40] 4777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2801 .loc 1 4777 53 view .LVU930 2802 00fe 284A ldr r2, .L139+8 2803 0100 5A63 str r2, [r3, #52] 4780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2804 .loc 1 4780 7 is_stmt 1 view .LVU931 ARM GAS /tmp/ccGjXOU1.s page 198 4781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2805 .loc 1 4781 43 is_stmt 0 view .LVU932 2806 0102 2268 ldr r2, [r4] 4780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2807 .loc 1 4780 11 view .LVU933 2808 0104 059B ldr r3, [sp, #20] 2809 0106 02F57872 add r2, r2, #992 2810 010a A06A ldr r0, [r4, #40] 2811 010c FFF7FEFF bl HAL_DMA_Start_IT 2812 .LVL219: 4780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2813 .loc 1 4780 10 discriminator 1 view .LVU934 2814 0110 0028 cmp r0, #0 2815 0112 A4D0 beq .L125 4784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2816 .loc 1 4784 16 view .LVU935 2817 0114 0120 movs r0, #1 2818 0116 ACE7 b .L114 2819 .LVL220: 2820 .L117: 4791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2821 .loc 1 4791 7 is_stmt 1 view .LVU936 4791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2822 .loc 1 4791 17 is_stmt 0 view .LVU937 2823 0118 E36A ldr r3, [r4, #44] 4791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2824 .loc 1 4791 52 view .LVU938 2825 011a 224A ldr r2, .L139+12 2826 .LVL221: 4791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2827 .loc 1 4791 52 view .LVU939 2828 011c DA62 str r2, [r3, #44] 4792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2829 .loc 1 4792 7 is_stmt 1 view .LVU940 4792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2830 .loc 1 4792 17 is_stmt 0 view .LVU941 2831 011e E36A ldr r3, [r4, #44] 4792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2832 .loc 1 4792 56 view .LVU942 2833 0120 214A ldr r2, .L139+16 2834 0122 1A63 str r2, [r3, #48] 4795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2835 .loc 1 4795 7 is_stmt 1 view .LVU943 4795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2836 .loc 1 4795 17 is_stmt 0 view .LVU944 2837 0124 E36A ldr r3, [r4, #44] 4795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2838 .loc 1 4795 53 view .LVU945 2839 0126 1E4A ldr r2, .L139+8 2840 0128 5A63 str r2, [r3, #52] 4798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2841 .loc 1 4798 7 is_stmt 1 view .LVU946 4799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2842 .loc 1 4799 43 is_stmt 0 view .LVU947 2843 012a 2268 ldr r2, [r4] 4798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2844 .loc 1 4798 11 view .LVU948 ARM GAS /tmp/ccGjXOU1.s page 199 2845 012c 059B ldr r3, [sp, #20] 2846 012e 02F57872 add r2, r2, #992 2847 0132 E06A ldr r0, [r4, #44] 2848 0134 FFF7FEFF bl HAL_DMA_Start_IT 2849 .LVL222: 4798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2850 .loc 1 4798 10 discriminator 1 view .LVU949 2851 0138 0028 cmp r0, #0 2852 013a 90D0 beq .L125 4802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2853 .loc 1 4802 16 view .LVU950 2854 013c 0120 movs r0, #1 2855 013e 98E7 b .L114 2856 .LVL223: 2857 .L122: 4827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 2858 .loc 1 4827 7 is_stmt 1 view .LVU951 4827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 2859 .loc 1 4827 17 is_stmt 0 view .LVU952 2860 0140 636B ldr r3, [r4, #52] 4827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 2861 .loc 1 4827 60 view .LVU953 2862 0142 1A4A ldr r2, .L139+20 2863 .LVL224: 4827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 2864 .loc 1 4827 60 view .LVU954 2865 0144 DA62 str r2, [r3, #44] 4828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2866 .loc 1 4828 7 is_stmt 1 view .LVU955 4828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2867 .loc 1 4828 17 is_stmt 0 view .LVU956 2868 0146 636B ldr r3, [r4, #52] 4828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2869 .loc 1 4828 64 view .LVU957 2870 0148 194A ldr r2, .L139+24 2871 014a 1A63 str r2, [r3, #48] 4831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2872 .loc 1 4831 7 is_stmt 1 view .LVU958 4831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2873 .loc 1 4831 17 is_stmt 0 view .LVU959 2874 014c 636B ldr r3, [r4, #52] 4831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2875 .loc 1 4831 61 view .LVU960 2876 014e 144A ldr r2, .L139+8 2877 0150 5A63 str r2, [r3, #52] 4834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2878 .loc 1 4834 7 is_stmt 1 view .LVU961 4835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2879 .loc 1 4835 43 is_stmt 0 view .LVU962 2880 0152 2268 ldr r2, [r4] 4834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2881 .loc 1 4834 11 view .LVU963 2882 0154 059B ldr r3, [sp, #20] 2883 0156 02F57872 add r2, r2, #992 2884 015a 606B ldr r0, [r4, #52] 2885 015c FFF7FEFF bl HAL_DMA_Start_IT 2886 .LVL225: ARM GAS /tmp/ccGjXOU1.s page 200 4834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2887 .loc 1 4834 10 discriminator 1 view .LVU964 2888 0160 0028 cmp r0, #0 2889 0162 3FF47CAF beq .L125 4838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2890 .loc 1 4838 16 view .LVU965 2891 0166 0120 movs r0, #1 2892 0168 83E7 b .L114 2893 .LVL226: 2894 .L123: 4845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt; 2895 .loc 1 4845 7 is_stmt 1 view .LVU966 4845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt; 2896 .loc 1 4845 17 is_stmt 0 view .LVU967 2897 016a A36B ldr r3, [r4, #56] 4845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt; 2898 .loc 1 4845 56 view .LVU968 2899 016c 114A ldr r2, .L139+28 2900 .LVL227: 4845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt; 2901 .loc 1 4845 56 view .LVU969 2902 016e DA62 str r2, [r3, #44] 4846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2903 .loc 1 4846 7 is_stmt 1 view .LVU970 4846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2904 .loc 1 4846 17 is_stmt 0 view .LVU971 2905 0170 A36B ldr r3, [r4, #56] 4846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2906 .loc 1 4846 60 view .LVU972 2907 0172 114A ldr r2, .L139+32 2908 0174 1A63 str r2, [r3, #48] 4849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2909 .loc 1 4849 7 is_stmt 1 view .LVU973 4849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2910 .loc 1 4849 17 is_stmt 0 view .LVU974 2911 0176 A36B ldr r3, [r4, #56] 4849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2912 .loc 1 4849 57 view .LVU975 2913 0178 094A ldr r2, .L139+8 2914 017a 5A63 str r2, [r3, #52] 4852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2915 .loc 1 4852 7 is_stmt 1 view .LVU976 4853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2916 .loc 1 4853 43 is_stmt 0 view .LVU977 2917 017c 2268 ldr r2, [r4] 4852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2918 .loc 1 4852 11 view .LVU978 2919 017e 059B ldr r3, [sp, #20] 2920 0180 02F57872 add r2, r2, #992 2921 0184 A06B ldr r0, [r4, #56] 2922 0186 FFF7FEFF bl HAL_DMA_Start_IT 2923 .LVL228: 4852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2924 .loc 1 4852 10 discriminator 1 view .LVU979 2925 018a 0028 cmp r0, #0 2926 018c 3FF467AF beq .L125 4856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/ccGjXOU1.s page 201 2927 .loc 1 4856 16 view .LVU980 2928 0190 0120 movs r0, #1 2929 0192 6EE7 b .L114 2930 .L136: 4748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2931 .loc 1 4748 16 view .LVU981 2932 0194 0120 movs r0, #1 2933 0196 6CE7 b .L114 2934 .L140: 2935 .align 2 2936 .L139: 2937 0198 00000000 .word TIM_DMAPeriodElapsedCplt 2938 019c 00000000 .word TIM_DMAPeriodElapsedHalfCplt 2939 01a0 00000000 .word TIM_DMAError 2940 01a4 00000000 .word TIM_DMADelayPulseCplt 2941 01a8 00000000 .word TIM_DMADelayPulseHalfCplt 2942 01ac 00000000 .word TIMEx_DMACommutationCplt 2943 01b0 00000000 .word TIMEx_DMACommutationHalfCplt 2944 01b4 00000000 .word TIM_DMATriggerCplt 2945 01b8 00000000 .word TIM_DMATriggerHalfCplt 2946 .cfi_endproc 2947 .LFE393: 2949 .section .text.HAL_TIM_DMABurst_WriteStart,"ax",%progbits 2950 .align 1 2951 .global HAL_TIM_DMABurst_WriteStart 2952 .syntax unified 2953 .thumb 2954 .thumb_func 2956 HAL_TIM_DMABurst_WriteStart: 2957 .LVL229: 2958 .LFB392: 4640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status; 2959 .loc 1 4640 1 is_stmt 1 view -0 2960 .cfi_startproc 2961 @ args = 4, pretend = 0, frame = 0 2962 @ frame_needed = 0, uses_anonymous_args = 0 4640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status; 2963 .loc 1 4640 1 is_stmt 0 view .LVU983 2964 0000 30B5 push {r4, r5, lr} 2965 .LCFI29: 2966 .cfi_def_cfa_offset 12 2967 .cfi_offset 4, -12 2968 .cfi_offset 5, -8 2969 .cfi_offset 14, -4 2970 0002 83B0 sub sp, sp, #12 2971 .LCFI30: 2972 .cfi_def_cfa_offset 24 2973 0004 069D ldr r5, [sp, #24] 4641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2974 .loc 1 4641 3 is_stmt 1 view .LVU984 4643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ((BurstLength) >> 8U) + 1U); 2975 .loc 1 4643 3 view .LVU985 4644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2976 .loc 1 4644 60 is_stmt 0 view .LVU986 2977 0006 2C0A lsrs r4, r5, #8 4643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ((BurstLength) >> 8U) + 1U); 2978 .loc 1 4643 12 view .LVU987 ARM GAS /tmp/ccGjXOU1.s page 202 2979 0008 0134 adds r4, r4, #1 2980 000a 0194 str r4, [sp, #4] 2981 000c 0095 str r5, [sp] 2982 000e FFF7FEFF bl HAL_TIM_DMABurst_MultiWriteStart 2983 .LVL230: 4648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2984 .loc 1 4648 3 is_stmt 1 view .LVU988 4649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2985 .loc 1 4649 1 is_stmt 0 view .LVU989 2986 0012 03B0 add sp, sp, #12 2987 .LCFI31: 2988 .cfi_def_cfa_offset 12 2989 @ sp needed 2990 0014 30BD pop {r4, r5, pc} 4649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2991 .loc 1 4649 1 view .LVU990 2992 .cfi_endproc 2993 .LFE392: 2995 .section .text.HAL_TIM_DMABurst_WriteStop,"ax",%progbits 2996 .align 1 2997 .global HAL_TIM_DMABurst_WriteStop 2998 .syntax unified 2999 .thumb 3000 .thumb_func 3002 HAL_TIM_DMABurst_WriteStop: 3003 .LVL231: 3004 .LFB394: 4884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 3005 .loc 1 4884 1 is_stmt 1 view -0 3006 .cfi_startproc 3007 @ args = 0, pretend = 0, frame = 0 3008 @ frame_needed = 0, uses_anonymous_args = 0 4884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 3009 .loc 1 4884 1 is_stmt 0 view .LVU992 3010 0000 38B5 push {r3, r4, r5, lr} 3011 .LCFI32: 3012 .cfi_def_cfa_offset 16 3013 .cfi_offset 3, -16 3014 .cfi_offset 4, -12 3015 .cfi_offset 5, -8 3016 .cfi_offset 14, -4 3017 0002 0546 mov r5, r0 3018 0004 0C46 mov r4, r1 4885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3019 .loc 1 4885 3 is_stmt 1 view .LVU993 3020 .LVL232: 4888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3021 .loc 1 4888 3 view .LVU994 4891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3022 .loc 1 4891 3 view .LVU995 3023 0006 B1F5006F cmp r1, #2048 3024 000a 2FD0 beq .L144 3025 000c 17D8 bhi .L145 3026 000e B1F5007F cmp r1, #512 3027 0012 23D0 beq .L146 3028 0014 B1F5806F cmp r1, #1024 3029 0018 24D0 beq .L147 ARM GAS /tmp/ccGjXOU1.s page 203 3030 001a B1F5807F cmp r1, #256 3031 001e 0CD1 bne .L155 4895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3032 .loc 1 4895 7 view .LVU996 4895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3033 .loc 1 4895 13 is_stmt 0 view .LVU997 3034 0020 006A ldr r0, [r0, #32] 3035 .LVL233: 4895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3036 .loc 1 4895 13 view .LVU998 3037 0022 FFF7FEFF bl HAL_DMA_Abort_IT 3038 .LVL234: 4896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3039 .loc 1 4896 7 is_stmt 1 view .LVU999 4933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3040 .loc 1 4933 3 view .LVU1000 3041 .L153: 4936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3042 .loc 1 4936 5 view .LVU1001 3043 0026 2A68 ldr r2, [r5] 3044 0028 D368 ldr r3, [r2, #12] 3045 002a 23EA0403 bic r3, r3, r4 3046 002e D360 str r3, [r2, #12] 4939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3047 .loc 1 4939 5 view .LVU1002 4939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3048 .loc 1 4939 25 is_stmt 0 view .LVU1003 3049 0030 0123 movs r3, #1 3050 0032 85F84830 strb r3, [r5, #72] 3051 0036 0020 movs r0, #0 3052 .L149: 3053 .LVL235: 4943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3054 .loc 1 4943 3 is_stmt 1 view .LVU1004 4944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3055 .loc 1 4944 1 is_stmt 0 view .LVU1005 3056 0038 38BD pop {r3, r4, r5, pc} 3057 .LVL236: 3058 .L155: 4891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3059 .loc 1 4891 3 view .LVU1006 3060 003a 0120 movs r0, #1 3061 .LVL237: 4891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3062 .loc 1 4891 3 view .LVU1007 3063 003c FCE7 b .L149 3064 .LVL238: 3065 .L145: 4891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3066 .loc 1 4891 3 view .LVU1008 3067 003e B1F5005F cmp r1, #8192 3068 0042 17D0 beq .L150 3069 0044 B1F5804F cmp r1, #16384 3070 0048 18D0 beq .L151 3071 004a B1F5805F cmp r1, #4096 3072 004e 03D1 bne .L156 4915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; ARM GAS /tmp/ccGjXOU1.s page 204 3073 .loc 1 4915 7 is_stmt 1 view .LVU1009 4915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3074 .loc 1 4915 13 is_stmt 0 view .LVU1010 3075 0050 006B ldr r0, [r0, #48] 3076 .LVL239: 4915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3077 .loc 1 4915 13 view .LVU1011 3078 0052 FFF7FEFF bl HAL_DMA_Abort_IT 3079 .LVL240: 4916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3080 .loc 1 4916 7 is_stmt 1 view .LVU1012 4933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3081 .loc 1 4933 3 view .LVU1013 3082 0056 E6E7 b .L153 3083 .LVL241: 3084 .L156: 4891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3085 .loc 1 4891 3 is_stmt 0 view .LVU1014 3086 0058 0120 movs r0, #1 3087 .LVL242: 4891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3088 .loc 1 4891 3 view .LVU1015 3089 005a EDE7 b .L149 3090 .LVL243: 3091 .L146: 4900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3092 .loc 1 4900 7 is_stmt 1 view .LVU1016 4900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3093 .loc 1 4900 13 is_stmt 0 view .LVU1017 3094 005c 406A ldr r0, [r0, #36] 3095 .LVL244: 4900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3096 .loc 1 4900 13 view .LVU1018 3097 005e FFF7FEFF bl HAL_DMA_Abort_IT 3098 .LVL245: 4901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3099 .loc 1 4901 7 is_stmt 1 view .LVU1019 4933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3100 .loc 1 4933 3 view .LVU1020 3101 0062 E0E7 b .L153 3102 .LVL246: 3103 .L147: 4905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3104 .loc 1 4905 7 view .LVU1021 4905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3105 .loc 1 4905 13 is_stmt 0 view .LVU1022 3106 0064 806A ldr r0, [r0, #40] 3107 .LVL247: 4905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3108 .loc 1 4905 13 view .LVU1023 3109 0066 FFF7FEFF bl HAL_DMA_Abort_IT 3110 .LVL248: 4906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3111 .loc 1 4906 7 is_stmt 1 view .LVU1024 4933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3112 .loc 1 4933 3 view .LVU1025 3113 006a DCE7 b .L153 ARM GAS /tmp/ccGjXOU1.s page 205 3114 .LVL249: 3115 .L144: 4910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3116 .loc 1 4910 7 view .LVU1026 4910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3117 .loc 1 4910 13 is_stmt 0 view .LVU1027 3118 006c C06A ldr r0, [r0, #44] 3119 .LVL250: 4910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3120 .loc 1 4910 13 view .LVU1028 3121 006e FFF7FEFF bl HAL_DMA_Abort_IT 3122 .LVL251: 4911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3123 .loc 1 4911 7 is_stmt 1 view .LVU1029 4933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3124 .loc 1 4933 3 view .LVU1030 3125 0072 D8E7 b .L153 3126 .LVL252: 3127 .L150: 4920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3128 .loc 1 4920 7 view .LVU1031 4920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3129 .loc 1 4920 13 is_stmt 0 view .LVU1032 3130 0074 406B ldr r0, [r0, #52] 3131 .LVL253: 4920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3132 .loc 1 4920 13 view .LVU1033 3133 0076 FFF7FEFF bl HAL_DMA_Abort_IT 3134 .LVL254: 4921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3135 .loc 1 4921 7 is_stmt 1 view .LVU1034 4933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3136 .loc 1 4933 3 view .LVU1035 3137 007a D4E7 b .L153 3138 .LVL255: 3139 .L151: 4925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3140 .loc 1 4925 7 view .LVU1036 4925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3141 .loc 1 4925 13 is_stmt 0 view .LVU1037 3142 007c 806B ldr r0, [r0, #56] 3143 .LVL256: 4925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3144 .loc 1 4925 13 view .LVU1038 3145 007e FFF7FEFF bl HAL_DMA_Abort_IT 3146 .LVL257: 4926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3147 .loc 1 4926 7 is_stmt 1 view .LVU1039 4933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3148 .loc 1 4933 3 view .LVU1040 3149 0082 D0E7 b .L153 3150 .cfi_endproc 3151 .LFE394: 3153 .section .text.HAL_TIM_DMABurst_MultiReadStart,"ax",%progbits 3154 .align 1 3155 .global HAL_TIM_DMABurst_MultiReadStart 3156 .syntax unified ARM GAS /tmp/ccGjXOU1.s page 206 3157 .thumb 3158 .thumb_func 3160 HAL_TIM_DMABurst_MultiReadStart: 3161 .LVL258: 3162 .LFB396: 5056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 3163 .loc 1 5056 1 view -0 3164 .cfi_startproc 3165 @ args = 8, pretend = 0, frame = 0 3166 @ frame_needed = 0, uses_anonymous_args = 0 5056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 3167 .loc 1 5056 1 is_stmt 0 view .LVU1042 3168 0000 70B5 push {r4, r5, r6, lr} 3169 .LCFI33: 3170 .cfi_def_cfa_offset 16 3171 .cfi_offset 4, -16 3172 .cfi_offset 5, -12 3173 .cfi_offset 6, -8 3174 .cfi_offset 14, -4 3175 0002 0446 mov r4, r0 3176 0004 1546 mov r5, r2 3177 0006 1A46 mov r2, r3 3178 .LVL259: 5057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3179 .loc 1 5057 3 is_stmt 1 view .LVU1043 5060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_BASE(BurstBaseAddress)); 3180 .loc 1 5060 3 view .LVU1044 5061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_SOURCE(BurstRequestSrc)); 3181 .loc 1 5061 3 view .LVU1045 5062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_LENGTH(BurstLength)); 3182 .loc 1 5062 3 view .LVU1046 5063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_DATA_LENGTH(DataLength)); 3183 .loc 1 5063 3 view .LVU1047 5064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3184 .loc 1 5064 3 view .LVU1048 5066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3185 .loc 1 5066 3 view .LVU1049 5066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3186 .loc 1 5066 11 is_stmt 0 view .LVU1050 3187 0008 90F84830 ldrb r3, [r0, #72] @ zero_extendqisi2 3188 .LVL260: 5066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3189 .loc 1 5066 11 view .LVU1051 3190 000c D8B2 uxtb r0, r3 3191 .LVL261: 5066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3192 .loc 1 5066 6 view .LVU1052 3193 000e 022B cmp r3, #2 3194 0010 2FD0 beq .L158 3195 0012 0E46 mov r6, r1 5070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3196 .loc 1 5070 8 is_stmt 1 view .LVU1053 5070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3197 .loc 1 5070 16 is_stmt 0 view .LVU1054 3198 0014 94F84830 ldrb r3, [r4, #72] @ zero_extendqisi2 3199 0018 D8B2 uxtb r0, r3 5070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 207 3200 .loc 1 5070 11 view .LVU1055 3201 001a 012B cmp r3, #1 3202 001c 2AD0 beq .L178 3203 .L159: 5084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (BurstRequestSrc) 3204 .loc 1 5084 3 is_stmt 1 view .LVU1056 5085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3205 .loc 1 5085 3 view .LVU1057 3206 001e B5F5006F cmp r5, #2048 3207 0022 79D0 beq .L161 3208 0024 31D8 bhi .L162 3209 0026 B5F5007F cmp r5, #512 3210 002a 4DD0 beq .L163 3211 002c B5F5806F cmp r5, #1024 3212 0030 5ED0 beq .L164 3213 0032 B5F5807F cmp r5, #256 3214 0036 26D1 bne .L179 5090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 3215 .loc 1 5090 7 view .LVU1058 5090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 3216 .loc 1 5090 17 is_stmt 0 view .LVU1059 3217 0038 236A ldr r3, [r4, #32] 5090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 3218 .loc 1 5090 55 view .LVU1060 3219 003a 5749 ldr r1, .L183 3220 .LVL262: 5090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 3221 .loc 1 5090 55 view .LVU1061 3222 003c D962 str r1, [r3, #44] 5091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3223 .loc 1 5091 7 is_stmt 1 view .LVU1062 5091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3224 .loc 1 5091 17 is_stmt 0 view .LVU1063 3225 003e 236A ldr r3, [r4, #32] 5091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3226 .loc 1 5091 59 view .LVU1064 3227 0040 5649 ldr r1, .L183+4 3228 0042 1963 str r1, [r3, #48] 5094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3229 .loc 1 5094 7 is_stmt 1 view .LVU1065 5094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3230 .loc 1 5094 17 is_stmt 0 view .LVU1066 3231 0044 236A ldr r3, [r4, #32] 5094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3232 .loc 1 5094 56 view .LVU1067 3233 0046 5649 ldr r1, .L183+8 3234 0048 5963 str r1, [r3, #52] 5097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3235 .loc 1 5097 7 is_stmt 1 view .LVU1068 5097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3236 .loc 1 5097 74 is_stmt 0 view .LVU1069 3237 004a 2168 ldr r1, [r4] 5097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3238 .loc 1 5097 11 view .LVU1070 3239 004c 059B ldr r3, [sp, #20] 3240 004e 01F57871 add r1, r1, #992 3241 0052 206A ldr r0, [r4, #32] ARM GAS /tmp/ccGjXOU1.s page 208 3242 0054 FFF7FEFF bl HAL_DMA_Start_IT 3243 .LVL263: 5097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3244 .loc 1 5097 10 discriminator 1 view .LVU1071 3245 0058 0028 cmp r0, #0 3246 005a 40F09B80 bne .L180 3247 .L169: 3248 .LVL264: 5221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3249 .loc 1 5221 5 is_stmt 1 view .LVU1072 5221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3250 .loc 1 5221 9 is_stmt 0 view .LVU1073 3251 005e 2368 ldr r3, [r4] 5221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3252 .loc 1 5221 45 view .LVU1074 3253 0060 049A ldr r2, [sp, #16] 3254 0062 1643 orrs r6, r6, r2 3255 .LVL265: 5221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3256 .loc 1 5221 25 view .LVU1075 3257 0064 C3F8DC63 str r6, [r3, #988] 5224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3258 .loc 1 5224 5 is_stmt 1 view .LVU1076 3259 0068 2268 ldr r2, [r4] 3260 006a D368 ldr r3, [r2, #12] 3261 006c 2B43 orrs r3, r3, r5 3262 006e D360 str r3, [r2, #12] 3263 0070 0020 movs r0, #0 3264 .L158: 5229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3265 .loc 1 5229 1 is_stmt 0 view .LVU1077 3266 0072 70BD pop {r4, r5, r6, pc} 3267 .LVL266: 3268 .L178: 5072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3269 .loc 1 5072 5 is_stmt 1 view .LVU1078 5072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3270 .loc 1 5072 8 is_stmt 0 view .LVU1079 3271 0074 1AB1 cbz r2, .L181 3272 .L160: 5078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3273 .loc 1 5078 7 is_stmt 1 view .LVU1080 5078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3274 .loc 1 5078 27 is_stmt 0 view .LVU1081 3275 0076 0223 movs r3, #2 3276 0078 84F84830 strb r3, [r4, #72] 3277 007c CFE7 b .L159 3278 .L181: 5072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3279 .loc 1 5072 31 discriminator 1 view .LVU1082 3280 007e 049B ldr r3, [sp, #16] 3281 0080 002B cmp r3, #0 3282 0082 F8D0 beq .L160 3283 0084 F5E7 b .L158 3284 .L179: 5085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3285 .loc 1 5085 3 view .LVU1083 ARM GAS /tmp/ccGjXOU1.s page 209 3286 0086 0120 movs r0, #1 3287 0088 F3E7 b .L158 3288 .L162: 3289 008a B5F5005F cmp r5, #8192 3290 008e 57D0 beq .L166 3291 0090 B5F5804F cmp r5, #16384 3292 0094 69D0 beq .L167 3293 0096 B5F5805F cmp r5, #4096 3294 009a 13D1 bne .L182 5162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3295 .loc 1 5162 7 is_stmt 1 view .LVU1084 5162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3296 .loc 1 5162 17 is_stmt 0 view .LVU1085 3297 009c 236B ldr r3, [r4, #48] 5162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3298 .loc 1 5162 52 view .LVU1086 3299 009e 4149 ldr r1, .L183+12 3300 .LVL267: 5162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3301 .loc 1 5162 52 view .LVU1087 3302 00a0 D962 str r1, [r3, #44] 5163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3303 .loc 1 5163 7 is_stmt 1 view .LVU1088 5163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3304 .loc 1 5163 17 is_stmt 0 view .LVU1089 3305 00a2 236B ldr r3, [r4, #48] 5163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3306 .loc 1 5163 56 view .LVU1090 3307 00a4 4049 ldr r1, .L183+16 3308 00a6 1963 str r1, [r3, #48] 5166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3309 .loc 1 5166 7 is_stmt 1 view .LVU1091 5166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3310 .loc 1 5166 17 is_stmt 0 view .LVU1092 3311 00a8 236B ldr r3, [r4, #48] 5166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3312 .loc 1 5166 53 view .LVU1093 3313 00aa 3D49 ldr r1, .L183+8 3314 00ac 5963 str r1, [r3, #52] 5169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3315 .loc 1 5169 7 is_stmt 1 view .LVU1094 5169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3316 .loc 1 5169 71 is_stmt 0 view .LVU1095 3317 00ae 2168 ldr r1, [r4] 5169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3318 .loc 1 5169 11 view .LVU1096 3319 00b0 059B ldr r3, [sp, #20] 3320 00b2 01F57871 add r1, r1, #992 3321 00b6 206B ldr r0, [r4, #48] 3322 00b8 FFF7FEFF bl HAL_DMA_Start_IT 3323 .LVL268: 5169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3324 .loc 1 5169 10 discriminator 1 view .LVU1097 3325 00bc 0028 cmp r0, #0 3326 00be CED0 beq .L169 5173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3327 .loc 1 5173 16 view .LVU1098 ARM GAS /tmp/ccGjXOU1.s page 210 3328 00c0 0120 movs r0, #1 3329 00c2 D6E7 b .L158 3330 .LVL269: 3331 .L182: 5085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3332 .loc 1 5085 3 view .LVU1099 3333 00c4 0120 movs r0, #1 3334 00c6 D4E7 b .L158 3335 .L163: 5108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3336 .loc 1 5108 7 is_stmt 1 view .LVU1100 5108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3337 .loc 1 5108 17 is_stmt 0 view .LVU1101 3338 00c8 636A ldr r3, [r4, #36] 5108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3339 .loc 1 5108 52 view .LVU1102 3340 00ca 3649 ldr r1, .L183+12 3341 .LVL270: 5108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3342 .loc 1 5108 52 view .LVU1103 3343 00cc D962 str r1, [r3, #44] 5109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3344 .loc 1 5109 7 is_stmt 1 view .LVU1104 5109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3345 .loc 1 5109 17 is_stmt 0 view .LVU1105 3346 00ce 636A ldr r3, [r4, #36] 5109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3347 .loc 1 5109 56 view .LVU1106 3348 00d0 3549 ldr r1, .L183+16 3349 00d2 1963 str r1, [r3, #48] 5112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3350 .loc 1 5112 7 is_stmt 1 view .LVU1107 5112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3351 .loc 1 5112 17 is_stmt 0 view .LVU1108 3352 00d4 636A ldr r3, [r4, #36] 5112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3353 .loc 1 5112 53 view .LVU1109 3354 00d6 3249 ldr r1, .L183+8 3355 00d8 5963 str r1, [r3, #52] 5115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3356 .loc 1 5115 7 is_stmt 1 view .LVU1110 5115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3357 .loc 1 5115 71 is_stmt 0 view .LVU1111 3358 00da 2168 ldr r1, [r4] 5115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3359 .loc 1 5115 11 view .LVU1112 3360 00dc 059B ldr r3, [sp, #20] 3361 00de 01F57871 add r1, r1, #992 3362 00e2 606A ldr r0, [r4, #36] 3363 00e4 FFF7FEFF bl HAL_DMA_Start_IT 3364 .LVL271: 5115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3365 .loc 1 5115 10 discriminator 1 view .LVU1113 3366 00e8 0028 cmp r0, #0 3367 00ea B8D0 beq .L169 5119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3368 .loc 1 5119 16 view .LVU1114 ARM GAS /tmp/ccGjXOU1.s page 211 3369 00ec 0120 movs r0, #1 3370 00ee C0E7 b .L158 3371 .LVL272: 3372 .L164: 5126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3373 .loc 1 5126 7 is_stmt 1 view .LVU1115 5126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3374 .loc 1 5126 17 is_stmt 0 view .LVU1116 3375 00f0 A36A ldr r3, [r4, #40] 5126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3376 .loc 1 5126 52 view .LVU1117 3377 00f2 2C49 ldr r1, .L183+12 3378 .LVL273: 5126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3379 .loc 1 5126 52 view .LVU1118 3380 00f4 D962 str r1, [r3, #44] 5127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3381 .loc 1 5127 7 is_stmt 1 view .LVU1119 5127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3382 .loc 1 5127 17 is_stmt 0 view .LVU1120 3383 00f6 A36A ldr r3, [r4, #40] 5127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3384 .loc 1 5127 56 view .LVU1121 3385 00f8 2B49 ldr r1, .L183+16 3386 00fa 1963 str r1, [r3, #48] 5130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3387 .loc 1 5130 7 is_stmt 1 view .LVU1122 5130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3388 .loc 1 5130 17 is_stmt 0 view .LVU1123 3389 00fc A36A ldr r3, [r4, #40] 5130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3390 .loc 1 5130 53 view .LVU1124 3391 00fe 2849 ldr r1, .L183+8 3392 0100 5963 str r1, [r3, #52] 5133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3393 .loc 1 5133 7 is_stmt 1 view .LVU1125 5133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3394 .loc 1 5133 71 is_stmt 0 view .LVU1126 3395 0102 2168 ldr r1, [r4] 5133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3396 .loc 1 5133 11 view .LVU1127 3397 0104 059B ldr r3, [sp, #20] 3398 0106 01F57871 add r1, r1, #992 3399 010a A06A ldr r0, [r4, #40] 3400 010c FFF7FEFF bl HAL_DMA_Start_IT 3401 .LVL274: 5133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3402 .loc 1 5133 10 discriminator 1 view .LVU1128 3403 0110 0028 cmp r0, #0 3404 0112 A4D0 beq .L169 5137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3405 .loc 1 5137 16 view .LVU1129 3406 0114 0120 movs r0, #1 3407 0116 ACE7 b .L158 3408 .LVL275: 3409 .L161: 5144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; ARM GAS /tmp/ccGjXOU1.s page 212 3410 .loc 1 5144 7 is_stmt 1 view .LVU1130 5144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3411 .loc 1 5144 17 is_stmt 0 view .LVU1131 3412 0118 E36A ldr r3, [r4, #44] 5144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3413 .loc 1 5144 52 view .LVU1132 3414 011a 2249 ldr r1, .L183+12 3415 .LVL276: 5144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3416 .loc 1 5144 52 view .LVU1133 3417 011c D962 str r1, [r3, #44] 5145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3418 .loc 1 5145 7 is_stmt 1 view .LVU1134 5145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3419 .loc 1 5145 17 is_stmt 0 view .LVU1135 3420 011e E36A ldr r3, [r4, #44] 5145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3421 .loc 1 5145 56 view .LVU1136 3422 0120 2149 ldr r1, .L183+16 3423 0122 1963 str r1, [r3, #48] 5148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3424 .loc 1 5148 7 is_stmt 1 view .LVU1137 5148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3425 .loc 1 5148 17 is_stmt 0 view .LVU1138 3426 0124 E36A ldr r3, [r4, #44] 5148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3427 .loc 1 5148 53 view .LVU1139 3428 0126 1E49 ldr r1, .L183+8 3429 0128 5963 str r1, [r3, #52] 5151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3430 .loc 1 5151 7 is_stmt 1 view .LVU1140 5151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3431 .loc 1 5151 71 is_stmt 0 view .LVU1141 3432 012a 2168 ldr r1, [r4] 5151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3433 .loc 1 5151 11 view .LVU1142 3434 012c 059B ldr r3, [sp, #20] 3435 012e 01F57871 add r1, r1, #992 3436 0132 E06A ldr r0, [r4, #44] 3437 0134 FFF7FEFF bl HAL_DMA_Start_IT 3438 .LVL277: 5151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3439 .loc 1 5151 10 discriminator 1 view .LVU1143 3440 0138 0028 cmp r0, #0 3441 013a 90D0 beq .L169 5155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3442 .loc 1 5155 16 view .LVU1144 3443 013c 0120 movs r0, #1 3444 013e 98E7 b .L158 3445 .LVL278: 3446 .L166: 5180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 3447 .loc 1 5180 7 is_stmt 1 view .LVU1145 5180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 3448 .loc 1 5180 17 is_stmt 0 view .LVU1146 3449 0140 636B ldr r3, [r4, #52] 5180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; ARM GAS /tmp/ccGjXOU1.s page 213 3450 .loc 1 5180 60 view .LVU1147 3451 0142 1A49 ldr r1, .L183+20 3452 .LVL279: 5180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 3453 .loc 1 5180 60 view .LVU1148 3454 0144 D962 str r1, [r3, #44] 5181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3455 .loc 1 5181 7 is_stmt 1 view .LVU1149 5181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3456 .loc 1 5181 17 is_stmt 0 view .LVU1150 3457 0146 636B ldr r3, [r4, #52] 5181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3458 .loc 1 5181 64 view .LVU1151 3459 0148 1949 ldr r1, .L183+24 3460 014a 1963 str r1, [r3, #48] 5184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3461 .loc 1 5184 7 is_stmt 1 view .LVU1152 5184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3462 .loc 1 5184 17 is_stmt 0 view .LVU1153 3463 014c 636B ldr r3, [r4, #52] 5184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3464 .loc 1 5184 61 view .LVU1154 3465 014e 1449 ldr r1, .L183+8 3466 0150 5963 str r1, [r3, #52] 5187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3467 .loc 1 5187 7 is_stmt 1 view .LVU1155 5187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3468 .loc 1 5187 79 is_stmt 0 view .LVU1156 3469 0152 2168 ldr r1, [r4] 5187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3470 .loc 1 5187 11 view .LVU1157 3471 0154 059B ldr r3, [sp, #20] 3472 0156 01F57871 add r1, r1, #992 3473 015a 606B ldr r0, [r4, #52] 3474 015c FFF7FEFF bl HAL_DMA_Start_IT 3475 .LVL280: 5187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3476 .loc 1 5187 10 discriminator 1 view .LVU1158 3477 0160 0028 cmp r0, #0 3478 0162 3FF47CAF beq .L169 5191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3479 .loc 1 5191 16 view .LVU1159 3480 0166 0120 movs r0, #1 3481 0168 83E7 b .L158 3482 .LVL281: 3483 .L167: 5198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt; 3484 .loc 1 5198 7 is_stmt 1 view .LVU1160 5198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt; 3485 .loc 1 5198 17 is_stmt 0 view .LVU1161 3486 016a A36B ldr r3, [r4, #56] 5198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt; 3487 .loc 1 5198 56 view .LVU1162 3488 016c 1149 ldr r1, .L183+28 3489 .LVL282: 5198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt; 3490 .loc 1 5198 56 view .LVU1163 ARM GAS /tmp/ccGjXOU1.s page 214 3491 016e D962 str r1, [r3, #44] 5199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3492 .loc 1 5199 7 is_stmt 1 view .LVU1164 5199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3493 .loc 1 5199 17 is_stmt 0 view .LVU1165 3494 0170 A36B ldr r3, [r4, #56] 5199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3495 .loc 1 5199 60 view .LVU1166 3496 0172 1149 ldr r1, .L183+32 3497 0174 1963 str r1, [r3, #48] 5202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3498 .loc 1 5202 7 is_stmt 1 view .LVU1167 5202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3499 .loc 1 5202 17 is_stmt 0 view .LVU1168 3500 0176 A36B ldr r3, [r4, #56] 5202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3501 .loc 1 5202 57 view .LVU1169 3502 0178 0949 ldr r1, .L183+8 3503 017a 5963 str r1, [r3, #52] 5205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3504 .loc 1 5205 7 is_stmt 1 view .LVU1170 5205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3505 .loc 1 5205 75 is_stmt 0 view .LVU1171 3506 017c 2168 ldr r1, [r4] 5205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3507 .loc 1 5205 11 view .LVU1172 3508 017e 059B ldr r3, [sp, #20] 3509 0180 01F57871 add r1, r1, #992 3510 0184 A06B ldr r0, [r4, #56] 3511 0186 FFF7FEFF bl HAL_DMA_Start_IT 3512 .LVL283: 5205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3513 .loc 1 5205 10 discriminator 1 view .LVU1173 3514 018a 0028 cmp r0, #0 3515 018c 3FF467AF beq .L169 5209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3516 .loc 1 5209 16 view .LVU1174 3517 0190 0120 movs r0, #1 3518 0192 6EE7 b .L158 3519 .L180: 5101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3520 .loc 1 5101 16 view .LVU1175 3521 0194 0120 movs r0, #1 3522 0196 6CE7 b .L158 3523 .L184: 3524 .align 2 3525 .L183: 3526 0198 00000000 .word TIM_DMAPeriodElapsedCplt 3527 019c 00000000 .word TIM_DMAPeriodElapsedHalfCplt 3528 01a0 00000000 .word TIM_DMAError 3529 01a4 00000000 .word TIM_DMACaptureCplt 3530 01a8 00000000 .word TIM_DMACaptureHalfCplt 3531 01ac 00000000 .word TIMEx_DMACommutationCplt 3532 01b0 00000000 .word TIMEx_DMACommutationHalfCplt 3533 01b4 00000000 .word TIM_DMATriggerCplt 3534 01b8 00000000 .word TIM_DMATriggerHalfCplt 3535 .cfi_endproc ARM GAS /tmp/ccGjXOU1.s page 215 3536 .LFE396: 3538 .section .text.HAL_TIM_DMABurst_ReadStart,"ax",%progbits 3539 .align 1 3540 .global HAL_TIM_DMABurst_ReadStart 3541 .syntax unified 3542 .thumb 3543 .thumb_func 3545 HAL_TIM_DMABurst_ReadStart: 3546 .LVL284: 3547 .LFB395: 4995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status; 3548 .loc 1 4995 1 is_stmt 1 view -0 3549 .cfi_startproc 3550 @ args = 4, pretend = 0, frame = 0 3551 @ frame_needed = 0, uses_anonymous_args = 0 4995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status; 3552 .loc 1 4995 1 is_stmt 0 view .LVU1177 3553 0000 30B5 push {r4, r5, lr} 3554 .LCFI34: 3555 .cfi_def_cfa_offset 12 3556 .cfi_offset 4, -12 3557 .cfi_offset 5, -8 3558 .cfi_offset 14, -4 3559 0002 83B0 sub sp, sp, #12 3560 .LCFI35: 3561 .cfi_def_cfa_offset 24 3562 0004 069D ldr r5, [sp, #24] 4996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3563 .loc 1 4996 3 is_stmt 1 view .LVU1178 4998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ((BurstLength) >> 8U) + 1U); 3564 .loc 1 4998 3 view .LVU1179 4999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3565 .loc 1 4999 59 is_stmt 0 view .LVU1180 3566 0006 2C0A lsrs r4, r5, #8 4998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ((BurstLength) >> 8U) + 1U); 3567 .loc 1 4998 12 view .LVU1181 3568 0008 0134 adds r4, r4, #1 3569 000a 0194 str r4, [sp, #4] 3570 000c 0095 str r5, [sp] 3571 000e FFF7FEFF bl HAL_TIM_DMABurst_MultiReadStart 3572 .LVL285: 5002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3573 .loc 1 5002 3 is_stmt 1 view .LVU1182 5003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3574 .loc 1 5003 1 is_stmt 0 view .LVU1183 3575 0012 03B0 add sp, sp, #12 3576 .LCFI36: 3577 .cfi_def_cfa_offset 12 3578 @ sp needed 3579 0014 30BD pop {r4, r5, pc} 5003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3580 .loc 1 5003 1 view .LVU1184 3581 .cfi_endproc 3582 .LFE395: 3584 .section .text.HAL_TIM_DMABurst_ReadStop,"ax",%progbits 3585 .align 1 3586 .global HAL_TIM_DMABurst_ReadStop ARM GAS /tmp/ccGjXOU1.s page 216 3587 .syntax unified 3588 .thumb 3589 .thumb_func 3591 HAL_TIM_DMABurst_ReadStop: 3592 .LVL286: 3593 .LFB397: 5238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 3594 .loc 1 5238 1 is_stmt 1 view -0 3595 .cfi_startproc 3596 @ args = 0, pretend = 0, frame = 0 3597 @ frame_needed = 0, uses_anonymous_args = 0 5238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 3598 .loc 1 5238 1 is_stmt 0 view .LVU1186 3599 0000 38B5 push {r3, r4, r5, lr} 3600 .LCFI37: 3601 .cfi_def_cfa_offset 16 3602 .cfi_offset 3, -16 3603 .cfi_offset 4, -12 3604 .cfi_offset 5, -8 3605 .cfi_offset 14, -4 3606 0002 0546 mov r5, r0 3607 0004 0C46 mov r4, r1 5239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3608 .loc 1 5239 3 is_stmt 1 view .LVU1187 3609 .LVL287: 5242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3610 .loc 1 5242 3 view .LVU1188 5245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3611 .loc 1 5245 3 view .LVU1189 3612 0006 B1F5006F cmp r1, #2048 3613 000a 2FD0 beq .L188 3614 000c 17D8 bhi .L189 3615 000e B1F5007F cmp r1, #512 3616 0012 23D0 beq .L190 3617 0014 B1F5806F cmp r1, #1024 3618 0018 24D0 beq .L191 3619 001a B1F5807F cmp r1, #256 3620 001e 0CD1 bne .L199 5249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3621 .loc 1 5249 7 view .LVU1190 5249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3622 .loc 1 5249 13 is_stmt 0 view .LVU1191 3623 0020 006A ldr r0, [r0, #32] 3624 .LVL288: 5249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3625 .loc 1 5249 13 view .LVU1192 3626 0022 FFF7FEFF bl HAL_DMA_Abort_IT 3627 .LVL289: 5250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3628 .loc 1 5250 7 is_stmt 1 view .LVU1193 5287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3629 .loc 1 5287 3 view .LVU1194 3630 .L197: 5290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3631 .loc 1 5290 5 view .LVU1195 3632 0026 2A68 ldr r2, [r5] 3633 0028 D368 ldr r3, [r2, #12] ARM GAS /tmp/ccGjXOU1.s page 217 3634 002a 23EA0403 bic r3, r3, r4 3635 002e D360 str r3, [r2, #12] 5293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3636 .loc 1 5293 5 view .LVU1196 5293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3637 .loc 1 5293 25 is_stmt 0 view .LVU1197 3638 0030 0123 movs r3, #1 3639 0032 85F84830 strb r3, [r5, #72] 3640 0036 0020 movs r0, #0 3641 .L193: 3642 .LVL290: 5297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3643 .loc 1 5297 3 is_stmt 1 view .LVU1198 5298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3644 .loc 1 5298 1 is_stmt 0 view .LVU1199 3645 0038 38BD pop {r3, r4, r5, pc} 3646 .LVL291: 3647 .L199: 5245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3648 .loc 1 5245 3 view .LVU1200 3649 003a 0120 movs r0, #1 3650 .LVL292: 5245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3651 .loc 1 5245 3 view .LVU1201 3652 003c FCE7 b .L193 3653 .LVL293: 3654 .L189: 5245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3655 .loc 1 5245 3 view .LVU1202 3656 003e B1F5005F cmp r1, #8192 3657 0042 17D0 beq .L194 3658 0044 B1F5804F cmp r1, #16384 3659 0048 18D0 beq .L195 3660 004a B1F5805F cmp r1, #4096 3661 004e 03D1 bne .L200 5269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3662 .loc 1 5269 7 is_stmt 1 view .LVU1203 5269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3663 .loc 1 5269 13 is_stmt 0 view .LVU1204 3664 0050 006B ldr r0, [r0, #48] 3665 .LVL294: 5269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3666 .loc 1 5269 13 view .LVU1205 3667 0052 FFF7FEFF bl HAL_DMA_Abort_IT 3668 .LVL295: 5270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3669 .loc 1 5270 7 is_stmt 1 view .LVU1206 5287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3670 .loc 1 5287 3 view .LVU1207 3671 0056 E6E7 b .L197 3672 .LVL296: 3673 .L200: 5245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3674 .loc 1 5245 3 is_stmt 0 view .LVU1208 3675 0058 0120 movs r0, #1 3676 .LVL297: 5245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 218 3677 .loc 1 5245 3 view .LVU1209 3678 005a EDE7 b .L193 3679 .LVL298: 3680 .L190: 5254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3681 .loc 1 5254 7 is_stmt 1 view .LVU1210 5254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3682 .loc 1 5254 13 is_stmt 0 view .LVU1211 3683 005c 406A ldr r0, [r0, #36] 3684 .LVL299: 5254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3685 .loc 1 5254 13 view .LVU1212 3686 005e FFF7FEFF bl HAL_DMA_Abort_IT 3687 .LVL300: 5255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3688 .loc 1 5255 7 is_stmt 1 view .LVU1213 5287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3689 .loc 1 5287 3 view .LVU1214 3690 0062 E0E7 b .L197 3691 .LVL301: 3692 .L191: 5259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3693 .loc 1 5259 7 view .LVU1215 5259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3694 .loc 1 5259 13 is_stmt 0 view .LVU1216 3695 0064 806A ldr r0, [r0, #40] 3696 .LVL302: 5259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3697 .loc 1 5259 13 view .LVU1217 3698 0066 FFF7FEFF bl HAL_DMA_Abort_IT 3699 .LVL303: 5260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3700 .loc 1 5260 7 is_stmt 1 view .LVU1218 5287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3701 .loc 1 5287 3 view .LVU1219 3702 006a DCE7 b .L197 3703 .LVL304: 3704 .L188: 5264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3705 .loc 1 5264 7 view .LVU1220 5264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3706 .loc 1 5264 13 is_stmt 0 view .LVU1221 3707 006c C06A ldr r0, [r0, #44] 3708 .LVL305: 5264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3709 .loc 1 5264 13 view .LVU1222 3710 006e FFF7FEFF bl HAL_DMA_Abort_IT 3711 .LVL306: 5265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3712 .loc 1 5265 7 is_stmt 1 view .LVU1223 5287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3713 .loc 1 5287 3 view .LVU1224 3714 0072 D8E7 b .L197 3715 .LVL307: 3716 .L194: 5274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3717 .loc 1 5274 7 view .LVU1225 ARM GAS /tmp/ccGjXOU1.s page 219 5274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3718 .loc 1 5274 13 is_stmt 0 view .LVU1226 3719 0074 406B ldr r0, [r0, #52] 3720 .LVL308: 5274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3721 .loc 1 5274 13 view .LVU1227 3722 0076 FFF7FEFF bl HAL_DMA_Abort_IT 3723 .LVL309: 5275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3724 .loc 1 5275 7 is_stmt 1 view .LVU1228 5287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3725 .loc 1 5287 3 view .LVU1229 3726 007a D4E7 b .L197 3727 .LVL310: 3728 .L195: 5279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3729 .loc 1 5279 7 view .LVU1230 5279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3730 .loc 1 5279 13 is_stmt 0 view .LVU1231 3731 007c 806B ldr r0, [r0, #56] 3732 .LVL311: 5279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3733 .loc 1 5279 13 view .LVU1232 3734 007e FFF7FEFF bl HAL_DMA_Abort_IT 3735 .LVL312: 5280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3736 .loc 1 5280 7 is_stmt 1 view .LVU1233 5287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3737 .loc 1 5287 3 view .LVU1234 3738 0082 D0E7 b .L197 3739 .cfi_endproc 3740 .LFE397: 3742 .section .text.HAL_TIM_GenerateEvent,"ax",%progbits 3743 .align 1 3744 .global HAL_TIM_GenerateEvent 3745 .syntax unified 3746 .thumb 3747 .thumb_func 3749 HAL_TIM_GenerateEvent: 3750 .LVL313: 3751 .LFB398: 5322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 3752 .loc 1 5322 1 view -0 3753 .cfi_startproc 3754 @ args = 0, pretend = 0, frame = 0 3755 @ frame_needed = 0, uses_anonymous_args = 0 3756 @ link register save eliminated. 5324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_EVENT_SOURCE(EventSource)); 3757 .loc 1 5324 3 view .LVU1236 5325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3758 .loc 1 5325 3 view .LVU1237 5328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3759 .loc 1 5328 3 view .LVU1238 5328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3760 .loc 1 5328 3 view .LVU1239 3761 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 3762 0004 012B cmp r3, #1 ARM GAS /tmp/ccGjXOU1.s page 220 3763 0006 0ED0 beq .L203 5328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3764 .loc 1 5328 3 discriminator 2 view .LVU1240 3765 0008 0123 movs r3, #1 3766 000a 80F83C30 strb r3, [r0, #60] 5328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3767 .loc 1 5328 3 view .LVU1241 5331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3768 .loc 1 5331 3 view .LVU1242 5331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3769 .loc 1 5331 15 is_stmt 0 view .LVU1243 3770 000e 0222 movs r2, #2 3771 0010 80F83D20 strb r2, [r0, #61] 5334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3772 .loc 1 5334 3 is_stmt 1 view .LVU1244 5334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3773 .loc 1 5334 7 is_stmt 0 view .LVU1245 3774 0014 0268 ldr r2, [r0] 5334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3775 .loc 1 5334 23 view .LVU1246 3776 0016 5161 str r1, [r2, #20] 5337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3777 .loc 1 5337 3 is_stmt 1 view .LVU1247 5337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3778 .loc 1 5337 15 is_stmt 0 view .LVU1248 3779 0018 80F83D30 strb r3, [r0, #61] 5339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3780 .loc 1 5339 3 is_stmt 1 view .LVU1249 5339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3781 .loc 1 5339 3 view .LVU1250 3782 001c 0023 movs r3, #0 3783 001e 80F83C30 strb r3, [r0, #60] 5339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3784 .loc 1 5339 3 view .LVU1251 5342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3785 .loc 1 5342 3 view .LVU1252 5342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3786 .loc 1 5342 10 is_stmt 0 view .LVU1253 3787 0022 1846 mov r0, r3 3788 .LVL314: 5342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3789 .loc 1 5342 10 view .LVU1254 3790 0024 7047 bx lr 3791 .LVL315: 3792 .L203: 5328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3793 .loc 1 5328 3 discriminator 1 view .LVU1255 3794 0026 0220 movs r0, #2 3795 .LVL316: 5343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3796 .loc 1 5343 1 view .LVU1256 3797 0028 7047 bx lr 3798 .cfi_endproc 3799 .LFE398: 3801 .section .text.HAL_TIM_ConfigTI1Input,"ax",%progbits 3802 .align 1 3803 .global HAL_TIM_ConfigTI1Input ARM GAS /tmp/ccGjXOU1.s page 221 3804 .syntax unified 3805 .thumb 3806 .thumb_func 3808 HAL_TIM_ConfigTI1Input: 3809 .LVL317: 3810 .LFB401: 5731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpcr2; 3811 .loc 1 5731 1 is_stmt 1 view -0 3812 .cfi_startproc 3813 @ args = 0, pretend = 0, frame = 0 3814 @ frame_needed = 0, uses_anonymous_args = 0 3815 @ link register save eliminated. 5732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3816 .loc 1 5732 3 view .LVU1258 5735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TI1SELECTION(TI1_Selection)); 3817 .loc 1 5735 3 view .LVU1259 5736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3818 .loc 1 5736 3 view .LVU1260 5739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3819 .loc 1 5739 3 view .LVU1261 5739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3820 .loc 1 5739 16 is_stmt 0 view .LVU1262 3821 0000 0268 ldr r2, [r0] 5739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3822 .loc 1 5739 10 view .LVU1263 3823 0002 5368 ldr r3, [r2, #4] 3824 .LVL318: 5742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3825 .loc 1 5742 3 is_stmt 1 view .LVU1264 5742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3826 .loc 1 5742 10 is_stmt 0 view .LVU1265 3827 0004 23F08003 bic r3, r3, #128 3828 .LVL319: 5745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3829 .loc 1 5745 3 is_stmt 1 view .LVU1266 5745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3830 .loc 1 5745 10 is_stmt 0 view .LVU1267 3831 0008 0B43 orrs r3, r3, r1 3832 .LVL320: 5748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3833 .loc 1 5748 3 is_stmt 1 view .LVU1268 5748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3834 .loc 1 5748 23 is_stmt 0 view .LVU1269 3835 000a 5360 str r3, [r2, #4] 5750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3836 .loc 1 5750 3 is_stmt 1 view .LVU1270 5751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3837 .loc 1 5751 1 is_stmt 0 view .LVU1271 3838 000c 0020 movs r0, #0 3839 .LVL321: 5751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3840 .loc 1 5751 1 view .LVU1272 3841 000e 7047 bx lr 3842 .cfi_endproc 3843 .LFE401: 3845 .section .text.HAL_TIM_ReadCapturedValue,"ax",%progbits 3846 .align 1 ARM GAS /tmp/ccGjXOU1.s page 222 3847 .global HAL_TIM_ReadCapturedValue 3848 .syntax unified 3849 .thumb 3850 .thumb_func 3852 HAL_TIM_ReadCapturedValue: 3853 .LVL322: 3854 .LFB404: 5846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpreg = 0U; 3855 .loc 1 5846 1 is_stmt 1 view -0 3856 .cfi_startproc 3857 @ args = 0, pretend = 0, frame = 0 3858 @ frame_needed = 0, uses_anonymous_args = 0 3859 @ link register save eliminated. 5847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3860 .loc 1 5847 3 view .LVU1274 5849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3861 .loc 1 5849 3 view .LVU1275 3862 0000 0C29 cmp r1, #12 3863 0002 14D8 bhi .L212 3864 0004 DFE801F0 tbb [pc, r1] 3865 .L208: 3866 0008 07 .byte (.L211-.L208)/2 3867 0009 13 .byte (.L212-.L208)/2 3868 000a 13 .byte (.L212-.L208)/2 3869 000b 13 .byte (.L212-.L208)/2 3870 000c 0A .byte (.L210-.L208)/2 3871 000d 13 .byte (.L212-.L208)/2 3872 000e 13 .byte (.L212-.L208)/2 3873 000f 13 .byte (.L212-.L208)/2 3874 0010 0D .byte (.L209-.L208)/2 3875 0011 13 .byte (.L212-.L208)/2 3876 0012 13 .byte (.L212-.L208)/2 3877 0013 13 .byte (.L212-.L208)/2 3878 0014 10 .byte (.L207-.L208)/2 3879 0015 00 .p2align 1 3880 .L211: 5854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3881 .loc 1 5854 7 view .LVU1276 5857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3882 .loc 1 5857 7 view .LVU1277 5857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3883 .loc 1 5857 21 is_stmt 0 view .LVU1278 3884 0016 0368 ldr r3, [r0] 5857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3885 .loc 1 5857 14 view .LVU1279 3886 0018 586B ldr r0, [r3, #52] 3887 .LVL323: 5859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3888 .loc 1 5859 7 is_stmt 1 view .LVU1280 3889 001a 7047 bx lr 3890 .LVL324: 3891 .L210: 5864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3892 .loc 1 5864 7 view .LVU1281 5867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3893 .loc 1 5867 7 view .LVU1282 5867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 223 3894 .loc 1 5867 22 is_stmt 0 view .LVU1283 3895 001c 0368 ldr r3, [r0] 5867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3896 .loc 1 5867 14 view .LVU1284 3897 001e 986B ldr r0, [r3, #56] 3898 .LVL325: 5869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3899 .loc 1 5869 7 is_stmt 1 view .LVU1285 3900 0020 7047 bx lr 3901 .LVL326: 3902 .L209: 5875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3903 .loc 1 5875 7 view .LVU1286 5878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3904 .loc 1 5878 7 view .LVU1287 5878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3905 .loc 1 5878 22 is_stmt 0 view .LVU1288 3906 0022 0368 ldr r3, [r0] 5878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3907 .loc 1 5878 14 view .LVU1289 3908 0024 D86B ldr r0, [r3, #60] 3909 .LVL327: 5880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3910 .loc 1 5880 7 is_stmt 1 view .LVU1290 3911 0026 7047 bx lr 3912 .LVL328: 3913 .L207: 5886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3914 .loc 1 5886 7 view .LVU1291 5889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3915 .loc 1 5889 7 view .LVU1292 5889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3916 .loc 1 5889 22 is_stmt 0 view .LVU1293 3917 0028 0368 ldr r3, [r0] 5889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3918 .loc 1 5889 14 view .LVU1294 3919 002a 186C ldr r0, [r3, #64] 3920 .LVL329: 5891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3921 .loc 1 5891 7 is_stmt 1 view .LVU1295 3922 002c 7047 bx lr 3923 .LVL330: 3924 .L212: 5849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3925 .loc 1 5849 3 is_stmt 0 view .LVU1296 3926 002e 0020 movs r0, #0 3927 .LVL331: 5898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3928 .loc 1 5898 3 is_stmt 1 view .LVU1297 5899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3929 .loc 1 5899 1 is_stmt 0 view .LVU1298 3930 0030 7047 bx lr 3931 .cfi_endproc 3932 .LFE404: 3934 .section .text.HAL_TIM_PeriodElapsedCallback,"ax",%progbits 3935 .align 1 3936 .weak HAL_TIM_PeriodElapsedCallback ARM GAS /tmp/ccGjXOU1.s page 224 3937 .syntax unified 3938 .thumb 3939 .thumb_func 3941 HAL_TIM_PeriodElapsedCallback: 3942 .LVL332: 3943 .LFB405: 5934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 3944 .loc 1 5934 1 is_stmt 1 view -0 3945 .cfi_startproc 3946 @ args = 0, pretend = 0, frame = 0 3947 @ frame_needed = 0, uses_anonymous_args = 0 3948 @ link register save eliminated. 5936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3949 .loc 1 5936 3 view .LVU1300 5941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3950 .loc 1 5941 1 is_stmt 0 view .LVU1301 3951 0000 7047 bx lr 3952 .cfi_endproc 3953 .LFE405: 3955 .section .text.TIM_DMAPeriodElapsedCplt,"ax",%progbits 3956 .align 1 3957 .syntax unified 3958 .thumb 3959 .thumb_func 3961 TIM_DMAPeriodElapsedCplt: 3962 .LVL333: 3963 .LFB429: 7034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 3964 .loc 1 7034 1 is_stmt 1 view -0 3965 .cfi_startproc 3966 @ args = 0, pretend = 0, frame = 0 3967 @ frame_needed = 0, uses_anonymous_args = 0 7034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 3968 .loc 1 7034 1 is_stmt 0 view .LVU1303 3969 0000 08B5 push {r3, lr} 3970 .LCFI38: 3971 .cfi_def_cfa_offset 8 3972 .cfi_offset 3, -8 3973 .cfi_offset 14, -4 7035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3974 .loc 1 7035 3 is_stmt 1 view .LVU1304 7035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3975 .loc 1 7035 22 is_stmt 0 view .LVU1305 3976 0002 806A ldr r0, [r0, #40] 3977 .LVL334: 7037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3978 .loc 1 7037 3 is_stmt 1 view .LVU1306 7037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3979 .loc 1 7037 17 is_stmt 0 view .LVU1307 3980 0004 036A ldr r3, [r0, #32] 7037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3981 .loc 1 7037 42 view .LVU1308 3982 0006 DB69 ldr r3, [r3, #28] 7037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3983 .loc 1 7037 6 view .LVU1309 3984 0008 13B9 cbnz r3, .L215 7039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/ccGjXOU1.s page 225 3985 .loc 1 7039 5 is_stmt 1 view .LVU1310 7039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3986 .loc 1 7039 17 is_stmt 0 view .LVU1311 3987 000a 0123 movs r3, #1 3988 000c 80F83D30 strb r3, [r0, #61] 3989 .L215: 7045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3990 .loc 1 7045 3 is_stmt 1 view .LVU1312 3991 0010 FFF7FEFF bl HAL_TIM_PeriodElapsedCallback 3992 .LVL335: 7047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3993 .loc 1 7047 1 is_stmt 0 view .LVU1313 3994 0014 08BD pop {r3, pc} 3995 .cfi_endproc 3996 .LFE429: 3998 .section .text.HAL_TIM_PeriodElapsedHalfCpltCallback,"ax",%progbits 3999 .align 1 4000 .weak HAL_TIM_PeriodElapsedHalfCpltCallback 4001 .syntax unified 4002 .thumb 4003 .thumb_func 4005 HAL_TIM_PeriodElapsedHalfCpltCallback: 4006 .LVL336: 4007 .LFB406: 5949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 4008 .loc 1 5949 1 is_stmt 1 view -0 4009 .cfi_startproc 4010 @ args = 0, pretend = 0, frame = 0 4011 @ frame_needed = 0, uses_anonymous_args = 0 4012 @ link register save eliminated. 5951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4013 .loc 1 5951 3 view .LVU1315 5956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4014 .loc 1 5956 1 is_stmt 0 view .LVU1316 4015 0000 7047 bx lr 4016 .cfi_endproc 4017 .LFE406: 4019 .section .text.TIM_DMAPeriodElapsedHalfCplt,"ax",%progbits 4020 .align 1 4021 .syntax unified 4022 .thumb 4023 .thumb_func 4025 TIM_DMAPeriodElapsedHalfCplt: 4026 .LVL337: 4027 .LFB430: 7055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 4028 .loc 1 7055 1 is_stmt 1 view -0 4029 .cfi_startproc 4030 @ args = 0, pretend = 0, frame = 0 4031 @ frame_needed = 0, uses_anonymous_args = 0 7055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 4032 .loc 1 7055 1 is_stmt 0 view .LVU1318 4033 0000 08B5 push {r3, lr} 4034 .LCFI39: 4035 .cfi_def_cfa_offset 8 4036 .cfi_offset 3, -8 4037 .cfi_offset 14, -4 ARM GAS /tmp/ccGjXOU1.s page 226 7056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4038 .loc 1 7056 3 is_stmt 1 view .LVU1319 4039 .LVL338: 7061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4040 .loc 1 7061 3 view .LVU1320 4041 0002 806A ldr r0, [r0, #40] 4042 .LVL339: 7061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4043 .loc 1 7061 3 is_stmt 0 view .LVU1321 4044 0004 FFF7FEFF bl HAL_TIM_PeriodElapsedHalfCpltCallback 4045 .LVL340: 7063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4046 .loc 1 7063 1 view .LVU1322 4047 0008 08BD pop {r3, pc} 4048 .cfi_endproc 4049 .LFE430: 4051 .section .text.HAL_TIM_OC_DelayElapsedCallback,"ax",%progbits 4052 .align 1 4053 .weak HAL_TIM_OC_DelayElapsedCallback 4054 .syntax unified 4055 .thumb 4056 .thumb_func 4058 HAL_TIM_OC_DelayElapsedCallback: 4059 .LVL341: 4060 .LFB407: 5964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 4061 .loc 1 5964 1 is_stmt 1 view -0 4062 .cfi_startproc 4063 @ args = 0, pretend = 0, frame = 0 4064 @ frame_needed = 0, uses_anonymous_args = 0 4065 @ link register save eliminated. 5966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4066 .loc 1 5966 3 view .LVU1324 5971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4067 .loc 1 5971 1 is_stmt 0 view .LVU1325 4068 0000 7047 bx lr 4069 .cfi_endproc 4070 .LFE407: 4072 .section .text.HAL_TIM_IC_CaptureCallback,"ax",%progbits 4073 .align 1 4074 .weak HAL_TIM_IC_CaptureCallback 4075 .syntax unified 4076 .thumb 4077 .thumb_func 4079 HAL_TIM_IC_CaptureCallback: 4080 .LVL342: 4081 .LFB408: 5979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 4082 .loc 1 5979 1 is_stmt 1 view -0 4083 .cfi_startproc 4084 @ args = 0, pretend = 0, frame = 0 4085 @ frame_needed = 0, uses_anonymous_args = 0 4086 @ link register save eliminated. 5981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4087 .loc 1 5981 3 view .LVU1327 5986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4088 .loc 1 5986 1 is_stmt 0 view .LVU1328 ARM GAS /tmp/ccGjXOU1.s page 227 4089 0000 7047 bx lr 4090 .cfi_endproc 4091 .LFE408: 4093 .section .text.TIM_DMACaptureCplt,"ax",%progbits 4094 .align 1 4095 .global TIM_DMACaptureCplt 4096 .syntax unified 4097 .thumb 4098 .thumb_func 4100 TIM_DMACaptureCplt: 4101 .LVL343: 4102 .LFB427: 6932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 4103 .loc 1 6932 1 is_stmt 1 view -0 4104 .cfi_startproc 4105 @ args = 0, pretend = 0, frame = 0 4106 @ frame_needed = 0, uses_anonymous_args = 0 6932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 4107 .loc 1 6932 1 is_stmt 0 view .LVU1330 4108 0000 10B5 push {r4, lr} 4109 .LCFI40: 4110 .cfi_def_cfa_offset 8 4111 .cfi_offset 4, -8 4112 .cfi_offset 14, -4 6933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4113 .loc 1 6933 3 is_stmt 1 view .LVU1331 6933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4114 .loc 1 6933 22 is_stmt 0 view .LVU1332 4115 0002 846A ldr r4, [r0, #40] 4116 .LVL344: 6935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4117 .loc 1 6935 3 is_stmt 1 view .LVU1333 6935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4118 .loc 1 6935 25 is_stmt 0 view .LVU1334 4119 0004 636A ldr r3, [r4, #36] 6935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4120 .loc 1 6935 6 view .LVU1335 4121 0006 8342 cmp r3, r0 4122 0008 0ED0 beq .L228 6945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4123 .loc 1 6945 8 is_stmt 1 view .LVU1336 6945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4124 .loc 1 6945 30 is_stmt 0 view .LVU1337 4125 000a A36A ldr r3, [r4, #40] 6945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4126 .loc 1 6945 11 view .LVU1338 4127 000c 8342 cmp r3, r0 4128 000e 16D0 beq .L229 6955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4129 .loc 1 6955 8 is_stmt 1 view .LVU1339 6955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4130 .loc 1 6955 30 is_stmt 0 view .LVU1340 4131 0010 E36A ldr r3, [r4, #44] 6955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4132 .loc 1 6955 11 view .LVU1341 4133 0012 8342 cmp r3, r0 4134 0014 1ED0 beq .L230 ARM GAS /tmp/ccGjXOU1.s page 228 6965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4135 .loc 1 6965 8 is_stmt 1 view .LVU1342 6965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4136 .loc 1 6965 30 is_stmt 0 view .LVU1343 4137 0016 236B ldr r3, [r4, #48] 6965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4138 .loc 1 6965 11 view .LVU1344 4139 0018 8342 cmp r3, r0 4140 001a 26D0 beq .L231 4141 .L224: 6978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4142 .loc 1 6978 3 is_stmt 1 view .LVU1345 6983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4143 .loc 1 6983 3 view .LVU1346 4144 001c 2046 mov r0, r4 4145 .LVL345: 6983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4146 .loc 1 6983 3 is_stmt 0 view .LVU1347 4147 001e FFF7FEFF bl HAL_TIM_IC_CaptureCallback 4148 .LVL346: 6986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4149 .loc 1 6986 3 is_stmt 1 view .LVU1348 6986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4150 .loc 1 6986 17 is_stmt 0 view .LVU1349 4151 0022 0023 movs r3, #0 4152 0024 2377 strb r3, [r4, #28] 6987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4153 .loc 1 6987 1 view .LVU1350 4154 0026 10BD pop {r4, pc} 4155 .LVL347: 4156 .L228: 6937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4157 .loc 1 6937 5 is_stmt 1 view .LVU1351 6937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4158 .loc 1 6937 19 is_stmt 0 view .LVU1352 4159 0028 0123 movs r3, #1 4160 002a 2377 strb r3, [r4, #28] 6939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4161 .loc 1 6939 5 is_stmt 1 view .LVU1353 6939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4162 .loc 1 6939 19 is_stmt 0 view .LVU1354 4163 002c C369 ldr r3, [r0, #28] 6939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4164 .loc 1 6939 8 view .LVU1355 4165 002e 002B cmp r3, #0 4166 0030 F4D1 bne .L224 6941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 4167 .loc 1 6941 7 is_stmt 1 view .LVU1356 4168 0032 0123 movs r3, #1 4169 0034 84F83E30 strb r3, [r4, #62] 6942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4170 .loc 1 6942 7 view .LVU1357 4171 0038 84F84430 strb r3, [r4, #68] 4172 003c EEE7 b .L224 4173 .L229: 6947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4174 .loc 1 6947 5 view .LVU1358 ARM GAS /tmp/ccGjXOU1.s page 229 6947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4175 .loc 1 6947 19 is_stmt 0 view .LVU1359 4176 003e 0223 movs r3, #2 4177 0040 2377 strb r3, [r4, #28] 6949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4178 .loc 1 6949 5 is_stmt 1 view .LVU1360 6949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4179 .loc 1 6949 19 is_stmt 0 view .LVU1361 4180 0042 C369 ldr r3, [r0, #28] 6949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4181 .loc 1 6949 8 view .LVU1362 4182 0044 002B cmp r3, #0 4183 0046 E9D1 bne .L224 6951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 4184 .loc 1 6951 7 is_stmt 1 view .LVU1363 4185 0048 0123 movs r3, #1 4186 004a 84F83F30 strb r3, [r4, #63] 6952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4187 .loc 1 6952 7 view .LVU1364 4188 004e 84F84530 strb r3, [r4, #69] 4189 0052 E3E7 b .L224 4190 .L230: 6957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4191 .loc 1 6957 5 view .LVU1365 6957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4192 .loc 1 6957 19 is_stmt 0 view .LVU1366 4193 0054 0423 movs r3, #4 4194 0056 2377 strb r3, [r4, #28] 6959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4195 .loc 1 6959 5 is_stmt 1 view .LVU1367 6959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4196 .loc 1 6959 19 is_stmt 0 view .LVU1368 4197 0058 C369 ldr r3, [r0, #28] 6959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4198 .loc 1 6959 8 view .LVU1369 4199 005a 002B cmp r3, #0 4200 005c DED1 bne .L224 6961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY); 4201 .loc 1 6961 7 is_stmt 1 view .LVU1370 4202 005e 0123 movs r3, #1 4203 0060 84F84030 strb r3, [r4, #64] 6962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4204 .loc 1 6962 7 view .LVU1371 4205 0064 84F84630 strb r3, [r4, #70] 4206 0068 D8E7 b .L224 4207 .L231: 6967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4208 .loc 1 6967 5 view .LVU1372 6967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4209 .loc 1 6967 19 is_stmt 0 view .LVU1373 4210 006a 0823 movs r3, #8 4211 006c 2377 strb r3, [r4, #28] 6969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4212 .loc 1 6969 5 is_stmt 1 view .LVU1374 6969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4213 .loc 1 6969 19 is_stmt 0 view .LVU1375 4214 006e C369 ldr r3, [r0, #28] ARM GAS /tmp/ccGjXOU1.s page 230 6969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4215 .loc 1 6969 8 view .LVU1376 4216 0070 002B cmp r3, #0 4217 0072 D3D1 bne .L224 6971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY); 4218 .loc 1 6971 7 is_stmt 1 view .LVU1377 4219 0074 0123 movs r3, #1 4220 0076 84F84130 strb r3, [r4, #65] 6972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4221 .loc 1 6972 7 view .LVU1378 4222 007a 84F84730 strb r3, [r4, #71] 4223 007e CDE7 b .L224 4224 .cfi_endproc 4225 .LFE427: 4227 .section .text.HAL_TIM_IC_CaptureHalfCpltCallback,"ax",%progbits 4228 .align 1 4229 .weak HAL_TIM_IC_CaptureHalfCpltCallback 4230 .syntax unified 4231 .thumb 4232 .thumb_func 4234 HAL_TIM_IC_CaptureHalfCpltCallback: 4235 .LVL348: 4236 .LFB409: 5994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 4237 .loc 1 5994 1 view -0 4238 .cfi_startproc 4239 @ args = 0, pretend = 0, frame = 0 4240 @ frame_needed = 0, uses_anonymous_args = 0 4241 @ link register save eliminated. 5996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4242 .loc 1 5996 3 view .LVU1380 6001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4243 .loc 1 6001 1 is_stmt 0 view .LVU1381 4244 0000 7047 bx lr 4245 .cfi_endproc 4246 .LFE409: 4248 .section .text.TIM_DMACaptureHalfCplt,"ax",%progbits 4249 .align 1 4250 .global TIM_DMACaptureHalfCplt 4251 .syntax unified 4252 .thumb 4253 .thumb_func 4255 TIM_DMACaptureHalfCplt: 4256 .LVL349: 4257 .LFB428: 6995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 4258 .loc 1 6995 1 is_stmt 1 view -0 4259 .cfi_startproc 4260 @ args = 0, pretend = 0, frame = 0 4261 @ frame_needed = 0, uses_anonymous_args = 0 6995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 4262 .loc 1 6995 1 is_stmt 0 view .LVU1383 4263 0000 10B5 push {r4, lr} 4264 .LCFI41: 4265 .cfi_def_cfa_offset 8 4266 .cfi_offset 4, -8 4267 .cfi_offset 14, -4 ARM GAS /tmp/ccGjXOU1.s page 231 6996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4268 .loc 1 6996 3 is_stmt 1 view .LVU1384 6996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4269 .loc 1 6996 22 is_stmt 0 view .LVU1385 4270 0002 846A ldr r4, [r0, #40] 4271 .LVL350: 6998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4272 .loc 1 6998 3 is_stmt 1 view .LVU1386 6998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4273 .loc 1 6998 25 is_stmt 0 view .LVU1387 4274 0004 636A ldr r3, [r4, #36] 6998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4275 .loc 1 6998 6 view .LVU1388 4276 0006 8342 cmp r3, r0 4277 0008 0BD0 beq .L239 7002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4278 .loc 1 7002 8 is_stmt 1 view .LVU1389 7002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4279 .loc 1 7002 30 is_stmt 0 view .LVU1390 4280 000a A36A ldr r3, [r4, #40] 7002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4281 .loc 1 7002 11 view .LVU1391 4282 000c 8342 cmp r3, r0 4283 000e 10D0 beq .L240 7006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4284 .loc 1 7006 8 is_stmt 1 view .LVU1392 7006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4285 .loc 1 7006 30 is_stmt 0 view .LVU1393 4286 0010 E36A ldr r3, [r4, #44] 7006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4287 .loc 1 7006 11 view .LVU1394 4288 0012 8342 cmp r3, r0 4289 0014 10D0 beq .L241 7010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4290 .loc 1 7010 8 is_stmt 1 view .LVU1395 7010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4291 .loc 1 7010 30 is_stmt 0 view .LVU1396 4292 0016 236B ldr r3, [r4, #48] 7010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4293 .loc 1 7010 11 view .LVU1397 4294 0018 8342 cmp r3, r0 4295 001a 04D1 bne .L235 7012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4296 .loc 1 7012 5 is_stmt 1 view .LVU1398 7012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4297 .loc 1 7012 19 is_stmt 0 view .LVU1399 4298 001c 0823 movs r3, #8 4299 001e 2377 strb r3, [r4, #28] 4300 0020 01E0 b .L235 4301 .L239: 7000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4302 .loc 1 7000 5 is_stmt 1 view .LVU1400 7000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4303 .loc 1 7000 19 is_stmt 0 view .LVU1401 4304 0022 0123 movs r3, #1 4305 0024 2377 strb r3, [r4, #28] 4306 .L235: ARM GAS /tmp/ccGjXOU1.s page 232 7017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4307 .loc 1 7017 3 is_stmt 1 view .LVU1402 7022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4308 .loc 1 7022 3 view .LVU1403 4309 0026 2046 mov r0, r4 4310 .LVL351: 7022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4311 .loc 1 7022 3 is_stmt 0 view .LVU1404 4312 0028 FFF7FEFF bl HAL_TIM_IC_CaptureHalfCpltCallback 4313 .LVL352: 7025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4314 .loc 1 7025 3 is_stmt 1 view .LVU1405 7025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4315 .loc 1 7025 17 is_stmt 0 view .LVU1406 4316 002c 0023 movs r3, #0 4317 002e 2377 strb r3, [r4, #28] 7026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4318 .loc 1 7026 1 view .LVU1407 4319 0030 10BD pop {r4, pc} 4320 .LVL353: 4321 .L240: 7004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4322 .loc 1 7004 5 is_stmt 1 view .LVU1408 7004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4323 .loc 1 7004 19 is_stmt 0 view .LVU1409 4324 0032 0223 movs r3, #2 4325 0034 2377 strb r3, [r4, #28] 4326 0036 F6E7 b .L235 4327 .L241: 7008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4328 .loc 1 7008 5 is_stmt 1 view .LVU1410 7008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4329 .loc 1 7008 19 is_stmt 0 view .LVU1411 4330 0038 0423 movs r3, #4 4331 003a 2377 strb r3, [r4, #28] 4332 003c F3E7 b .L235 4333 .cfi_endproc 4334 .LFE428: 4336 .section .text.HAL_TIM_PWM_PulseFinishedCallback,"ax",%progbits 4337 .align 1 4338 .weak HAL_TIM_PWM_PulseFinishedCallback 4339 .syntax unified 4340 .thumb 4341 .thumb_func 4343 HAL_TIM_PWM_PulseFinishedCallback: 4344 .LVL354: 4345 .LFB410: 6009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 4346 .loc 1 6009 1 is_stmt 1 view -0 4347 .cfi_startproc 4348 @ args = 0, pretend = 0, frame = 0 4349 @ frame_needed = 0, uses_anonymous_args = 0 4350 @ link register save eliminated. 6011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4351 .loc 1 6011 3 view .LVU1413 6016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4352 .loc 1 6016 1 is_stmt 0 view .LVU1414 ARM GAS /tmp/ccGjXOU1.s page 233 4353 0000 7047 bx lr 4354 .cfi_endproc 4355 .LFE410: 4357 .section .text.TIM_DMADelayPulseCplt,"ax",%progbits 4358 .align 1 4359 .syntax unified 4360 .thumb 4361 .thumb_func 4363 TIM_DMADelayPulseCplt: 4364 .LVL355: 4365 .LFB425: 6834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 4366 .loc 1 6834 1 is_stmt 1 view -0 4367 .cfi_startproc 4368 @ args = 0, pretend = 0, frame = 0 4369 @ frame_needed = 0, uses_anonymous_args = 0 6834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 4370 .loc 1 6834 1 is_stmt 0 view .LVU1416 4371 0000 10B5 push {r4, lr} 4372 .LCFI42: 4373 .cfi_def_cfa_offset 8 4374 .cfi_offset 4, -8 4375 .cfi_offset 14, -4 6835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4376 .loc 1 6835 3 is_stmt 1 view .LVU1417 6835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4377 .loc 1 6835 22 is_stmt 0 view .LVU1418 4378 0002 846A ldr r4, [r0, #40] 4379 .LVL356: 6837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4380 .loc 1 6837 3 is_stmt 1 view .LVU1419 6837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4381 .loc 1 6837 25 is_stmt 0 view .LVU1420 4382 0004 636A ldr r3, [r4, #36] 6837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4383 .loc 1 6837 6 view .LVU1421 4384 0006 8342 cmp r3, r0 4385 0008 0ED0 beq .L249 6846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4386 .loc 1 6846 8 is_stmt 1 view .LVU1422 6846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4387 .loc 1 6846 30 is_stmt 0 view .LVU1423 4388 000a A36A ldr r3, [r4, #40] 6846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4389 .loc 1 6846 11 view .LVU1424 4390 000c 8342 cmp r3, r0 4391 000e 14D0 beq .L250 6855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4392 .loc 1 6855 8 is_stmt 1 view .LVU1425 6855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4393 .loc 1 6855 30 is_stmt 0 view .LVU1426 4394 0010 E36A ldr r3, [r4, #44] 6855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4395 .loc 1 6855 11 view .LVU1427 4396 0012 8342 cmp r3, r0 4397 0014 1AD0 beq .L251 6864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 234 4398 .loc 1 6864 8 is_stmt 1 view .LVU1428 6864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4399 .loc 1 6864 30 is_stmt 0 view .LVU1429 4400 0016 236B ldr r3, [r4, #48] 6864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4401 .loc 1 6864 11 view .LVU1430 4402 0018 8342 cmp r3, r0 4403 001a 20D0 beq .L252 4404 .L245: 6876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4405 .loc 1 6876 3 is_stmt 1 view .LVU1431 6881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4406 .loc 1 6881 3 view .LVU1432 4407 001c 2046 mov r0, r4 4408 .LVL357: 6881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4409 .loc 1 6881 3 is_stmt 0 view .LVU1433 4410 001e FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback 4411 .LVL358: 6884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4412 .loc 1 6884 3 is_stmt 1 view .LVU1434 6884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4413 .loc 1 6884 17 is_stmt 0 view .LVU1435 4414 0022 0023 movs r3, #0 4415 0024 2377 strb r3, [r4, #28] 6885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4416 .loc 1 6885 1 view .LVU1436 4417 0026 10BD pop {r4, pc} 4418 .LVL359: 4419 .L249: 6839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4420 .loc 1 6839 5 is_stmt 1 view .LVU1437 6839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4421 .loc 1 6839 19 is_stmt 0 view .LVU1438 4422 0028 0123 movs r3, #1 4423 002a 2377 strb r3, [r4, #28] 6841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4424 .loc 1 6841 5 is_stmt 1 view .LVU1439 6841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4425 .loc 1 6841 19 is_stmt 0 view .LVU1440 4426 002c C369 ldr r3, [r0, #28] 6841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4427 .loc 1 6841 8 view .LVU1441 4428 002e 002B cmp r3, #0 4429 0030 F4D1 bne .L245 6843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4430 .loc 1 6843 7 is_stmt 1 view .LVU1442 4431 0032 0123 movs r3, #1 4432 0034 84F83E30 strb r3, [r4, #62] 4433 0038 F0E7 b .L245 4434 .L250: 6848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4435 .loc 1 6848 5 view .LVU1443 6848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4436 .loc 1 6848 19 is_stmt 0 view .LVU1444 4437 003a 0223 movs r3, #2 4438 003c 2377 strb r3, [r4, #28] ARM GAS /tmp/ccGjXOU1.s page 235 6850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4439 .loc 1 6850 5 is_stmt 1 view .LVU1445 6850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4440 .loc 1 6850 19 is_stmt 0 view .LVU1446 4441 003e C369 ldr r3, [r0, #28] 6850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4442 .loc 1 6850 8 view .LVU1447 4443 0040 002B cmp r3, #0 4444 0042 EBD1 bne .L245 6852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4445 .loc 1 6852 7 is_stmt 1 view .LVU1448 4446 0044 0123 movs r3, #1 4447 0046 84F83F30 strb r3, [r4, #63] 4448 004a E7E7 b .L245 4449 .L251: 6857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4450 .loc 1 6857 5 view .LVU1449 6857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4451 .loc 1 6857 19 is_stmt 0 view .LVU1450 4452 004c 0423 movs r3, #4 4453 004e 2377 strb r3, [r4, #28] 6859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4454 .loc 1 6859 5 is_stmt 1 view .LVU1451 6859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4455 .loc 1 6859 19 is_stmt 0 view .LVU1452 4456 0050 C369 ldr r3, [r0, #28] 6859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4457 .loc 1 6859 8 view .LVU1453 4458 0052 002B cmp r3, #0 4459 0054 E2D1 bne .L245 6861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4460 .loc 1 6861 7 is_stmt 1 view .LVU1454 4461 0056 0123 movs r3, #1 4462 0058 84F84030 strb r3, [r4, #64] 4463 005c DEE7 b .L245 4464 .L252: 6866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4465 .loc 1 6866 5 view .LVU1455 6866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4466 .loc 1 6866 19 is_stmt 0 view .LVU1456 4467 005e 0823 movs r3, #8 4468 0060 2377 strb r3, [r4, #28] 6868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4469 .loc 1 6868 5 is_stmt 1 view .LVU1457 6868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4470 .loc 1 6868 19 is_stmt 0 view .LVU1458 4471 0062 C369 ldr r3, [r0, #28] 6868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4472 .loc 1 6868 8 view .LVU1459 4473 0064 002B cmp r3, #0 4474 0066 D9D1 bne .L245 6870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4475 .loc 1 6870 7 is_stmt 1 view .LVU1460 4476 0068 0123 movs r3, #1 4477 006a 84F84130 strb r3, [r4, #65] 4478 006e D5E7 b .L245 4479 .cfi_endproc ARM GAS /tmp/ccGjXOU1.s page 236 4480 .LFE425: 4482 .section .text.HAL_TIM_PWM_PulseFinishedHalfCpltCallback,"ax",%progbits 4483 .align 1 4484 .weak HAL_TIM_PWM_PulseFinishedHalfCpltCallback 4485 .syntax unified 4486 .thumb 4487 .thumb_func 4489 HAL_TIM_PWM_PulseFinishedHalfCpltCallback: 4490 .LVL360: 4491 .LFB411: 6024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 4492 .loc 1 6024 1 view -0 4493 .cfi_startproc 4494 @ args = 0, pretend = 0, frame = 0 4495 @ frame_needed = 0, uses_anonymous_args = 0 4496 @ link register save eliminated. 6026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4497 .loc 1 6026 3 view .LVU1462 6031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4498 .loc 1 6031 1 is_stmt 0 view .LVU1463 4499 0000 7047 bx lr 4500 .cfi_endproc 4501 .LFE411: 4503 .section .text.TIM_DMADelayPulseHalfCplt,"ax",%progbits 4504 .align 1 4505 .global TIM_DMADelayPulseHalfCplt 4506 .syntax unified 4507 .thumb 4508 .thumb_func 4510 TIM_DMADelayPulseHalfCplt: 4511 .LVL361: 4512 .LFB426: 6893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 4513 .loc 1 6893 1 is_stmt 1 view -0 4514 .cfi_startproc 4515 @ args = 0, pretend = 0, frame = 0 4516 @ frame_needed = 0, uses_anonymous_args = 0 6893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 4517 .loc 1 6893 1 is_stmt 0 view .LVU1465 4518 0000 10B5 push {r4, lr} 4519 .LCFI43: 4520 .cfi_def_cfa_offset 8 4521 .cfi_offset 4, -8 4522 .cfi_offset 14, -4 6894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4523 .loc 1 6894 3 is_stmt 1 view .LVU1466 6894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4524 .loc 1 6894 22 is_stmt 0 view .LVU1467 4525 0002 846A ldr r4, [r0, #40] 4526 .LVL362: 6896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4527 .loc 1 6896 3 is_stmt 1 view .LVU1468 6896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4528 .loc 1 6896 25 is_stmt 0 view .LVU1469 4529 0004 636A ldr r3, [r4, #36] 6896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4530 .loc 1 6896 6 view .LVU1470 ARM GAS /tmp/ccGjXOU1.s page 237 4531 0006 8342 cmp r3, r0 4532 0008 0BD0 beq .L260 6900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4533 .loc 1 6900 8 is_stmt 1 view .LVU1471 6900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4534 .loc 1 6900 30 is_stmt 0 view .LVU1472 4535 000a A36A ldr r3, [r4, #40] 6900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4536 .loc 1 6900 11 view .LVU1473 4537 000c 8342 cmp r3, r0 4538 000e 10D0 beq .L261 6904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4539 .loc 1 6904 8 is_stmt 1 view .LVU1474 6904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4540 .loc 1 6904 30 is_stmt 0 view .LVU1475 4541 0010 E36A ldr r3, [r4, #44] 6904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4542 .loc 1 6904 11 view .LVU1476 4543 0012 8342 cmp r3, r0 4544 0014 10D0 beq .L262 6908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4545 .loc 1 6908 8 is_stmt 1 view .LVU1477 6908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4546 .loc 1 6908 30 is_stmt 0 view .LVU1478 4547 0016 236B ldr r3, [r4, #48] 6908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4548 .loc 1 6908 11 view .LVU1479 4549 0018 8342 cmp r3, r0 4550 001a 04D1 bne .L256 6910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4551 .loc 1 6910 5 is_stmt 1 view .LVU1480 6910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4552 .loc 1 6910 19 is_stmt 0 view .LVU1481 4553 001c 0823 movs r3, #8 4554 001e 2377 strb r3, [r4, #28] 4555 0020 01E0 b .L256 4556 .L260: 6898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4557 .loc 1 6898 5 is_stmt 1 view .LVU1482 6898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4558 .loc 1 6898 19 is_stmt 0 view .LVU1483 4559 0022 0123 movs r3, #1 4560 0024 2377 strb r3, [r4, #28] 4561 .L256: 6915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4562 .loc 1 6915 3 is_stmt 1 view .LVU1484 6920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4563 .loc 1 6920 3 view .LVU1485 4564 0026 2046 mov r0, r4 4565 .LVL363: 6920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4566 .loc 1 6920 3 is_stmt 0 view .LVU1486 4567 0028 FFF7FEFF bl HAL_TIM_PWM_PulseFinishedHalfCpltCallback 4568 .LVL364: 6923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4569 .loc 1 6923 3 is_stmt 1 view .LVU1487 6923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/ccGjXOU1.s page 238 4570 .loc 1 6923 17 is_stmt 0 view .LVU1488 4571 002c 0023 movs r3, #0 4572 002e 2377 strb r3, [r4, #28] 6924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4573 .loc 1 6924 1 view .LVU1489 4574 0030 10BD pop {r4, pc} 4575 .LVL365: 4576 .L261: 6902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4577 .loc 1 6902 5 is_stmt 1 view .LVU1490 6902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4578 .loc 1 6902 19 is_stmt 0 view .LVU1491 4579 0032 0223 movs r3, #2 4580 0034 2377 strb r3, [r4, #28] 4581 0036 F6E7 b .L256 4582 .L262: 6906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4583 .loc 1 6906 5 is_stmt 1 view .LVU1492 6906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4584 .loc 1 6906 19 is_stmt 0 view .LVU1493 4585 0038 0423 movs r3, #4 4586 003a 2377 strb r3, [r4, #28] 4587 003c F3E7 b .L256 4588 .cfi_endproc 4589 .LFE426: 4591 .section .text.HAL_TIM_TriggerCallback,"ax",%progbits 4592 .align 1 4593 .weak HAL_TIM_TriggerCallback 4594 .syntax unified 4595 .thumb 4596 .thumb_func 4598 HAL_TIM_TriggerCallback: 4599 .LVL366: 4600 .LFB412: 6039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 4601 .loc 1 6039 1 is_stmt 1 view -0 4602 .cfi_startproc 4603 @ args = 0, pretend = 0, frame = 0 4604 @ frame_needed = 0, uses_anonymous_args = 0 4605 @ link register save eliminated. 6041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4606 .loc 1 6041 3 view .LVU1495 6046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4607 .loc 1 6046 1 is_stmt 0 view .LVU1496 4608 0000 7047 bx lr 4609 .cfi_endproc 4610 .LFE412: 4612 .section .text.HAL_TIM_IRQHandler,"ax",%progbits 4613 .align 1 4614 .global HAL_TIM_IRQHandler 4615 .syntax unified 4616 .thumb 4617 .thumb_func 4619 HAL_TIM_IRQHandler: 4620 .LVL367: 4621 .LFB387: 3847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t itsource = htim->Instance->DIER; ARM GAS /tmp/ccGjXOU1.s page 239 4622 .loc 1 3847 1 is_stmt 1 view -0 4623 .cfi_startproc 4624 @ args = 0, pretend = 0, frame = 0 4625 @ frame_needed = 0, uses_anonymous_args = 0 3847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t itsource = htim->Instance->DIER; 4626 .loc 1 3847 1 is_stmt 0 view .LVU1498 4627 0000 70B5 push {r4, r5, r6, lr} 4628 .LCFI44: 4629 .cfi_def_cfa_offset 16 4630 .cfi_offset 4, -16 4631 .cfi_offset 5, -12 4632 .cfi_offset 6, -8 4633 .cfi_offset 14, -4 4634 0002 0546 mov r5, r0 3848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t itflag = htim->Instance->SR; 4635 .loc 1 3848 3 is_stmt 1 view .LVU1499 3848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t itflag = htim->Instance->SR; 4636 .loc 1 3848 27 is_stmt 0 view .LVU1500 4637 0004 0368 ldr r3, [r0] 3848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t itflag = htim->Instance->SR; 4638 .loc 1 3848 12 view .LVU1501 4639 0006 DE68 ldr r6, [r3, #12] 4640 .LVL368: 3849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4641 .loc 1 3849 3 is_stmt 1 view .LVU1502 3849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4642 .loc 1 3849 12 is_stmt 0 view .LVU1503 4643 0008 1C69 ldr r4, [r3, #16] 4644 .LVL369: 3852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4645 .loc 1 3852 3 is_stmt 1 view .LVU1504 3852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4646 .loc 1 3852 6 is_stmt 0 view .LVU1505 4647 000a 14F0020F tst r4, #2 4648 000e 10D0 beq .L265 3854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4649 .loc 1 3854 5 is_stmt 1 view .LVU1506 3854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4650 .loc 1 3854 8 is_stmt 0 view .LVU1507 4651 0010 16F0020F tst r6, #2 4652 0014 0DD0 beq .L265 3857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1; 4653 .loc 1 3857 9 is_stmt 1 view .LVU1508 4654 0016 6FF00202 mvn r2, #2 4655 001a 1A61 str r2, [r3, #16] 3858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4656 .loc 1 3858 9 view .LVU1509 3858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4657 .loc 1 3858 23 is_stmt 0 view .LVU1510 4658 001c 0123 movs r3, #1 4659 001e 0377 strb r3, [r0, #28] 3861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4660 .loc 1 3861 9 is_stmt 1 view .LVU1511 3861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4661 .loc 1 3861 18 is_stmt 0 view .LVU1512 4662 0020 0368 ldr r3, [r0] 3861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 240 4663 .loc 1 3861 28 view .LVU1513 4664 0022 9B69 ldr r3, [r3, #24] 3861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4665 .loc 1 3861 12 view .LVU1514 4666 0024 13F0030F tst r3, #3 4667 0028 7CD0 beq .L266 3866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4668 .loc 1 3866 11 is_stmt 1 view .LVU1515 4669 002a FFF7FEFF bl HAL_TIM_IC_CaptureCallback 4670 .LVL370: 4671 .L267: 3880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4672 .loc 1 3880 9 view .LVU1516 3880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4673 .loc 1 3880 23 is_stmt 0 view .LVU1517 4674 002e 0023 movs r3, #0 4675 0030 2B77 strb r3, [r5, #28] 4676 .L265: 3885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4677 .loc 1 3885 3 is_stmt 1 view .LVU1518 3885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4678 .loc 1 3885 6 is_stmt 0 view .LVU1519 4679 0032 14F0040F tst r4, #4 4680 0036 12D0 beq .L268 3887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4681 .loc 1 3887 5 is_stmt 1 view .LVU1520 3887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4682 .loc 1 3887 8 is_stmt 0 view .LVU1521 4683 0038 16F0040F tst r6, #4 4684 003c 0FD0 beq .L268 3889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2; 4685 .loc 1 3889 7 is_stmt 1 view .LVU1522 4686 003e 2B68 ldr r3, [r5] 4687 0040 6FF00402 mvn r2, #4 4688 0044 1A61 str r2, [r3, #16] 3890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ 4689 .loc 1 3890 7 view .LVU1523 3890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ 4690 .loc 1 3890 21 is_stmt 0 view .LVU1524 4691 0046 0223 movs r3, #2 4692 0048 2B77 strb r3, [r5, #28] 3892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4693 .loc 1 3892 7 is_stmt 1 view .LVU1525 3892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4694 .loc 1 3892 16 is_stmt 0 view .LVU1526 4695 004a 2B68 ldr r3, [r5] 3892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4696 .loc 1 3892 26 view .LVU1527 4697 004c 9B69 ldr r3, [r3, #24] 3892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4698 .loc 1 3892 10 view .LVU1528 4699 004e 13F4407F tst r3, #768 4700 0052 6DD0 beq .L269 3897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4701 .loc 1 3897 9 is_stmt 1 view .LVU1529 4702 0054 2846 mov r0, r5 4703 0056 FFF7FEFF bl HAL_TIM_IC_CaptureCallback ARM GAS /tmp/ccGjXOU1.s page 241 4704 .LVL371: 4705 .L270: 3911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4706 .loc 1 3911 7 view .LVU1530 3911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4707 .loc 1 3911 21 is_stmt 0 view .LVU1531 4708 005a 0023 movs r3, #0 4709 005c 2B77 strb r3, [r5, #28] 4710 .L268: 3915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4711 .loc 1 3915 3 is_stmt 1 view .LVU1532 3915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4712 .loc 1 3915 6 is_stmt 0 view .LVU1533 4713 005e 14F0080F tst r4, #8 4714 0062 12D0 beq .L271 3917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4715 .loc 1 3917 5 is_stmt 1 view .LVU1534 3917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4716 .loc 1 3917 8 is_stmt 0 view .LVU1535 4717 0064 16F0080F tst r6, #8 4718 0068 0FD0 beq .L271 3919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3; 4719 .loc 1 3919 7 is_stmt 1 view .LVU1536 4720 006a 2B68 ldr r3, [r5] 4721 006c 6FF00802 mvn r2, #8 4722 0070 1A61 str r2, [r3, #16] 3920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ 4723 .loc 1 3920 7 view .LVU1537 3920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ 4724 .loc 1 3920 21 is_stmt 0 view .LVU1538 4725 0072 0423 movs r3, #4 4726 0074 2B77 strb r3, [r5, #28] 3922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4727 .loc 1 3922 7 is_stmt 1 view .LVU1539 3922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4728 .loc 1 3922 16 is_stmt 0 view .LVU1540 4729 0076 2B68 ldr r3, [r5] 3922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4730 .loc 1 3922 26 view .LVU1541 4731 0078 DB69 ldr r3, [r3, #28] 3922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4732 .loc 1 3922 10 view .LVU1542 4733 007a 13F0030F tst r3, #3 4734 007e 5ED0 beq .L272 3927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4735 .loc 1 3927 9 is_stmt 1 view .LVU1543 4736 0080 2846 mov r0, r5 4737 0082 FFF7FEFF bl HAL_TIM_IC_CaptureCallback 4738 .LVL372: 4739 .L273: 3941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4740 .loc 1 3941 7 view .LVU1544 3941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4741 .loc 1 3941 21 is_stmt 0 view .LVU1545 4742 0086 0023 movs r3, #0 4743 0088 2B77 strb r3, [r5, #28] 4744 .L271: ARM GAS /tmp/ccGjXOU1.s page 242 3945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4745 .loc 1 3945 3 is_stmt 1 view .LVU1546 3945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4746 .loc 1 3945 6 is_stmt 0 view .LVU1547 4747 008a 14F0100F tst r4, #16 4748 008e 12D0 beq .L274 3947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4749 .loc 1 3947 5 is_stmt 1 view .LVU1548 3947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4750 .loc 1 3947 8 is_stmt 0 view .LVU1549 4751 0090 16F0100F tst r6, #16 4752 0094 0FD0 beq .L274 3949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4; 4753 .loc 1 3949 7 is_stmt 1 view .LVU1550 4754 0096 2B68 ldr r3, [r5] 4755 0098 6FF01002 mvn r2, #16 4756 009c 1A61 str r2, [r3, #16] 3950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ 4757 .loc 1 3950 7 view .LVU1551 3950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ 4758 .loc 1 3950 21 is_stmt 0 view .LVU1552 4759 009e 0823 movs r3, #8 4760 00a0 2B77 strb r3, [r5, #28] 3952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4761 .loc 1 3952 7 is_stmt 1 view .LVU1553 3952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4762 .loc 1 3952 16 is_stmt 0 view .LVU1554 4763 00a2 2B68 ldr r3, [r5] 3952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4764 .loc 1 3952 26 view .LVU1555 4765 00a4 DB69 ldr r3, [r3, #28] 3952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4766 .loc 1 3952 10 view .LVU1556 4767 00a6 13F4407F tst r3, #768 4768 00aa 4FD0 beq .L275 3957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4769 .loc 1 3957 9 is_stmt 1 view .LVU1557 4770 00ac 2846 mov r0, r5 4771 00ae FFF7FEFF bl HAL_TIM_IC_CaptureCallback 4772 .LVL373: 4773 .L276: 3971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4774 .loc 1 3971 7 view .LVU1558 3971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4775 .loc 1 3971 21 is_stmt 0 view .LVU1559 4776 00b2 0023 movs r3, #0 4777 00b4 2B77 strb r3, [r5, #28] 4778 .L274: 3975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4779 .loc 1 3975 3 is_stmt 1 view .LVU1560 3975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4780 .loc 1 3975 6 is_stmt 0 view .LVU1561 4781 00b6 14F0010F tst r4, #1 4782 00ba 02D0 beq .L277 3977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4783 .loc 1 3977 5 is_stmt 1 view .LVU1562 3977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 243 4784 .loc 1 3977 8 is_stmt 0 view .LVU1563 4785 00bc 16F0010F tst r6, #1 4786 00c0 4BD1 bne .L287 4787 .L277: 3988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ((itflag & (TIM_FLAG_SYSTEM_BREAK)) == (TIM_FLAG_SYSTEM_BREAK))) 4788 .loc 1 3988 3 is_stmt 1 view .LVU1564 3988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ((itflag & (TIM_FLAG_SYSTEM_BREAK)) == (TIM_FLAG_SYSTEM_BREAK))) 4789 .loc 1 3988 6 is_stmt 0 view .LVU1565 4790 00c2 14F4025F tst r4, #8320 4791 00c6 02D0 beq .L278 3991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4792 .loc 1 3991 5 is_stmt 1 view .LVU1566 3991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4793 .loc 1 3991 8 is_stmt 0 view .LVU1567 4794 00c8 16F0800F tst r6, #128 4795 00cc 4DD1 bne .L288 4796 .L278: 4002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4797 .loc 1 4002 3 is_stmt 1 view .LVU1568 4002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4798 .loc 1 4002 6 is_stmt 0 view .LVU1569 4799 00ce 14F4807F tst r4, #256 4800 00d2 02D0 beq .L279 4004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4801 .loc 1 4004 5 is_stmt 1 view .LVU1570 4004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4802 .loc 1 4004 8 is_stmt 0 view .LVU1571 4803 00d4 16F0800F tst r6, #128 4804 00d8 4FD1 bne .L289 4805 .L279: 4015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4806 .loc 1 4015 3 is_stmt 1 view .LVU1572 4015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4807 .loc 1 4015 6 is_stmt 0 view .LVU1573 4808 00da 14F0400F tst r4, #64 4809 00de 02D0 beq .L280 4017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4810 .loc 1 4017 5 is_stmt 1 view .LVU1574 4017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4811 .loc 1 4017 8 is_stmt 0 view .LVU1575 4812 00e0 16F0400F tst r6, #64 4813 00e4 51D1 bne .L290 4814 .L280: 4028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4815 .loc 1 4028 3 is_stmt 1 view .LVU1576 4028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4816 .loc 1 4028 6 is_stmt 0 view .LVU1577 4817 00e6 14F0200F tst r4, #32 4818 00ea 02D0 beq .L281 4030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4819 .loc 1 4030 5 is_stmt 1 view .LVU1578 4030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4820 .loc 1 4030 8 is_stmt 0 view .LVU1579 4821 00ec 16F0200F tst r6, #32 4822 00f0 53D1 bne .L291 4823 .L281: 4041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 244 4824 .loc 1 4041 3 is_stmt 1 view .LVU1580 4041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4825 .loc 1 4041 6 is_stmt 0 view .LVU1581 4826 00f2 14F4801F tst r4, #1048576 4827 00f6 02D0 beq .L282 4043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4828 .loc 1 4043 5 is_stmt 1 view .LVU1582 4043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4829 .loc 1 4043 8 is_stmt 0 view .LVU1583 4830 00f8 16F4801F tst r6, #1048576 4831 00fc 55D1 bne .L292 4832 .L282: 4054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4833 .loc 1 4054 3 is_stmt 1 view .LVU1584 4054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4834 .loc 1 4054 6 is_stmt 0 view .LVU1585 4835 00fe 14F4001F tst r4, #2097152 4836 0102 02D0 beq .L283 4056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4837 .loc 1 4056 5 is_stmt 1 view .LVU1586 4056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4838 .loc 1 4056 8 is_stmt 0 view .LVU1587 4839 0104 16F4001F tst r6, #2097152 4840 0108 57D1 bne .L293 4841 .L283: 4067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4842 .loc 1 4067 3 is_stmt 1 view .LVU1588 4067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4843 .loc 1 4067 6 is_stmt 0 view .LVU1589 4844 010a 14F4800F tst r4, #4194304 4845 010e 02D0 beq .L284 4069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4846 .loc 1 4069 5 is_stmt 1 view .LVU1590 4069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4847 .loc 1 4069 8 is_stmt 0 view .LVU1591 4848 0110 16F4800F tst r6, #4194304 4849 0114 59D1 bne .L294 4850 .L284: 4080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4851 .loc 1 4080 3 is_stmt 1 view .LVU1592 4080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4852 .loc 1 4080 6 is_stmt 0 view .LVU1593 4853 0116 14F4000F tst r4, #8388608 4854 011a 02D0 beq .L264 4082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4855 .loc 1 4082 5 is_stmt 1 view .LVU1594 4082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4856 .loc 1 4082 8 is_stmt 0 view .LVU1595 4857 011c 16F4000F tst r6, #8388608 4858 0120 5BD1 bne .L295 4859 .L264: 4092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4860 .loc 1 4092 1 view .LVU1596 4861 0122 70BD pop {r4, r5, r6, pc} 4862 .LVL374: 4863 .L266: 3876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim); ARM GAS /tmp/ccGjXOU1.s page 245 4864 .loc 1 3876 11 is_stmt 1 view .LVU1597 4865 0124 FFF7FEFF bl HAL_TIM_OC_DelayElapsedCallback 4866 .LVL375: 3877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4867 .loc 1 3877 11 view .LVU1598 4868 0128 2846 mov r0, r5 4869 012a FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback 4870 .LVL376: 4871 012e 7EE7 b .L267 4872 .L269: 3907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim); 4873 .loc 1 3907 9 view .LVU1599 4874 0130 2846 mov r0, r5 4875 0132 FFF7FEFF bl HAL_TIM_OC_DelayElapsedCallback 4876 .LVL377: 3908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4877 .loc 1 3908 9 view .LVU1600 4878 0136 2846 mov r0, r5 4879 0138 FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback 4880 .LVL378: 4881 013c 8DE7 b .L270 4882 .L272: 3937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim); 4883 .loc 1 3937 9 view .LVU1601 4884 013e 2846 mov r0, r5 4885 0140 FFF7FEFF bl HAL_TIM_OC_DelayElapsedCallback 4886 .LVL379: 3938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4887 .loc 1 3938 9 view .LVU1602 4888 0144 2846 mov r0, r5 4889 0146 FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback 4890 .LVL380: 4891 014a 9CE7 b .L273 4892 .L275: 3967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim); 4893 .loc 1 3967 9 view .LVU1603 4894 014c 2846 mov r0, r5 4895 014e FFF7FEFF bl HAL_TIM_OC_DelayElapsedCallback 4896 .LVL381: 3968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4897 .loc 1 3968 9 view .LVU1604 4898 0152 2846 mov r0, r5 4899 0154 FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback 4900 .LVL382: 4901 0158 ABE7 b .L276 4902 .L287: 3979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4903 .loc 1 3979 7 view .LVU1605 4904 015a 2B68 ldr r3, [r5] 4905 015c 6FF00102 mvn r2, #1 4906 0160 1A61 str r2, [r3, #16] 3983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4907 .loc 1 3983 7 view .LVU1606 4908 0162 2846 mov r0, r5 4909 0164 FFF7FEFF bl HAL_TIM_PeriodElapsedCallback 4910 .LVL383: 4911 0168 ABE7 b .L277 ARM GAS /tmp/ccGjXOU1.s page 246 4912 .L288: 3993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4913 .loc 1 3993 7 view .LVU1607 4914 016a 2B68 ldr r3, [r5] 4915 016c 6FF40252 mvn r2, #8320 4916 0170 1A61 str r2, [r3, #16] 3997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4917 .loc 1 3997 7 view .LVU1608 4918 0172 2846 mov r0, r5 4919 0174 FFF7FEFF bl HAL_TIMEx_BreakCallback 4920 .LVL384: 4921 0178 A9E7 b .L278 4922 .L289: 4006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4923 .loc 1 4006 7 view .LVU1609 4924 017a 2B68 ldr r3, [r5] 4925 017c 6FF48072 mvn r2, #256 4926 0180 1A61 str r2, [r3, #16] 4010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4927 .loc 1 4010 7 view .LVU1610 4928 0182 2846 mov r0, r5 4929 0184 FFF7FEFF bl HAL_TIMEx_Break2Callback 4930 .LVL385: 4931 0188 A7E7 b .L279 4932 .L290: 4019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4933 .loc 1 4019 7 view .LVU1611 4934 018a 2B68 ldr r3, [r5] 4935 018c 6FF04002 mvn r2, #64 4936 0190 1A61 str r2, [r3, #16] 4023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4937 .loc 1 4023 7 view .LVU1612 4938 0192 2846 mov r0, r5 4939 0194 FFF7FEFF bl HAL_TIM_TriggerCallback 4940 .LVL386: 4941 0198 A5E7 b .L280 4942 .L291: 4032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4943 .loc 1 4032 7 view .LVU1613 4944 019a 2B68 ldr r3, [r5] 4945 019c 6FF02002 mvn r2, #32 4946 01a0 1A61 str r2, [r3, #16] 4036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4947 .loc 1 4036 7 view .LVU1614 4948 01a2 2846 mov r0, r5 4949 01a4 FFF7FEFF bl HAL_TIMEx_CommutCallback 4950 .LVL387: 4951 01a8 A3E7 b .L281 4952 .L292: 4045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4953 .loc 1 4045 7 view .LVU1615 4954 01aa 2B68 ldr r3, [r5] 4955 01ac 6FF48012 mvn r2, #1048576 4956 01b0 1A61 str r2, [r3, #16] 4049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4957 .loc 1 4049 7 view .LVU1616 4958 01b2 2846 mov r0, r5 ARM GAS /tmp/ccGjXOU1.s page 247 4959 01b4 FFF7FEFF bl HAL_TIMEx_EncoderIndexCallback 4960 .LVL388: 4961 01b8 A1E7 b .L282 4962 .L293: 4058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4963 .loc 1 4058 7 view .LVU1617 4964 01ba 2B68 ldr r3, [r5] 4965 01bc 6FF40012 mvn r2, #2097152 4966 01c0 1A61 str r2, [r3, #16] 4062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4967 .loc 1 4062 7 view .LVU1618 4968 01c2 2846 mov r0, r5 4969 01c4 FFF7FEFF bl HAL_TIMEx_DirectionChangeCallback 4970 .LVL389: 4971 01c8 9FE7 b .L283 4972 .L294: 4071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4973 .loc 1 4071 7 view .LVU1619 4974 01ca 2B68 ldr r3, [r5] 4975 01cc 6FF48002 mvn r2, #4194304 4976 01d0 1A61 str r2, [r3, #16] 4075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4977 .loc 1 4075 7 view .LVU1620 4978 01d2 2846 mov r0, r5 4979 01d4 FFF7FEFF bl HAL_TIMEx_IndexErrorCallback 4980 .LVL390: 4981 01d8 9DE7 b .L284 4982 .L295: 4084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4983 .loc 1 4084 7 view .LVU1621 4984 01da 2B68 ldr r3, [r5] 4985 01dc 6FF40002 mvn r2, #8388608 4986 01e0 1A61 str r2, [r3, #16] 4088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4987 .loc 1 4088 7 view .LVU1622 4988 01e2 2846 mov r0, r5 4989 01e4 FFF7FEFF bl HAL_TIMEx_TransitionErrorCallback 4990 .LVL391: 4092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4991 .loc 1 4092 1 is_stmt 0 view .LVU1623 4992 01e8 9BE7 b .L264 4993 .cfi_endproc 4994 .LFE387: 4996 .section .text.TIM_DMATriggerCplt,"ax",%progbits 4997 .align 1 4998 .syntax unified 4999 .thumb 5000 .thumb_func 5002 TIM_DMATriggerCplt: 5003 .LVL392: 5004 .LFB431: 7071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 5005 .loc 1 7071 1 is_stmt 1 view -0 5006 .cfi_startproc 5007 @ args = 0, pretend = 0, frame = 0 5008 @ frame_needed = 0, uses_anonymous_args = 0 7071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; ARM GAS /tmp/ccGjXOU1.s page 248 5009 .loc 1 7071 1 is_stmt 0 view .LVU1625 5010 0000 08B5 push {r3, lr} 5011 .LCFI45: 5012 .cfi_def_cfa_offset 8 5013 .cfi_offset 3, -8 5014 .cfi_offset 14, -4 7072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5015 .loc 1 7072 3 is_stmt 1 view .LVU1626 7072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5016 .loc 1 7072 22 is_stmt 0 view .LVU1627 5017 0002 806A ldr r0, [r0, #40] 5018 .LVL393: 7074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5019 .loc 1 7074 3 is_stmt 1 view .LVU1628 7074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5020 .loc 1 7074 17 is_stmt 0 view .LVU1629 5021 0004 836B ldr r3, [r0, #56] 7074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5022 .loc 1 7074 43 view .LVU1630 5023 0006 DB69 ldr r3, [r3, #28] 7074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5024 .loc 1 7074 6 view .LVU1631 5025 0008 13B9 cbnz r3, .L297 7076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5026 .loc 1 7076 5 is_stmt 1 view .LVU1632 7076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5027 .loc 1 7076 17 is_stmt 0 view .LVU1633 5028 000a 0123 movs r3, #1 5029 000c 80F83D30 strb r3, [r0, #61] 5030 .L297: 7082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5031 .loc 1 7082 3 is_stmt 1 view .LVU1634 5032 0010 FFF7FEFF bl HAL_TIM_TriggerCallback 5033 .LVL394: 7084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5034 .loc 1 7084 1 is_stmt 0 view .LVU1635 5035 0014 08BD pop {r3, pc} 5036 .cfi_endproc 5037 .LFE431: 5039 .section .text.HAL_TIM_TriggerHalfCpltCallback,"ax",%progbits 5040 .align 1 5041 .weak HAL_TIM_TriggerHalfCpltCallback 5042 .syntax unified 5043 .thumb 5044 .thumb_func 5046 HAL_TIM_TriggerHalfCpltCallback: 5047 .LVL395: 5048 .LFB413: 6054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 5049 .loc 1 6054 1 is_stmt 1 view -0 5050 .cfi_startproc 5051 @ args = 0, pretend = 0, frame = 0 5052 @ frame_needed = 0, uses_anonymous_args = 0 5053 @ link register save eliminated. 6056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5054 .loc 1 6056 3 view .LVU1637 6061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 249 5055 .loc 1 6061 1 is_stmt 0 view .LVU1638 5056 0000 7047 bx lr 5057 .cfi_endproc 5058 .LFE413: 5060 .section .text.TIM_DMATriggerHalfCplt,"ax",%progbits 5061 .align 1 5062 .syntax unified 5063 .thumb 5064 .thumb_func 5066 TIM_DMATriggerHalfCplt: 5067 .LVL396: 5068 .LFB432: 7092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 5069 .loc 1 7092 1 is_stmt 1 view -0 5070 .cfi_startproc 5071 @ args = 0, pretend = 0, frame = 0 5072 @ frame_needed = 0, uses_anonymous_args = 0 7092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 5073 .loc 1 7092 1 is_stmt 0 view .LVU1640 5074 0000 08B5 push {r3, lr} 5075 .LCFI46: 5076 .cfi_def_cfa_offset 8 5077 .cfi_offset 3, -8 5078 .cfi_offset 14, -4 7093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5079 .loc 1 7093 3 is_stmt 1 view .LVU1641 5080 .LVL397: 7098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5081 .loc 1 7098 3 view .LVU1642 5082 0002 806A ldr r0, [r0, #40] 5083 .LVL398: 7098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5084 .loc 1 7098 3 is_stmt 0 view .LVU1643 5085 0004 FFF7FEFF bl HAL_TIM_TriggerHalfCpltCallback 5086 .LVL399: 7100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5087 .loc 1 7100 1 view .LVU1644 5088 0008 08BD pop {r3, pc} 5089 .cfi_endproc 5090 .LFE432: 5092 .section .text.HAL_TIM_ErrorCallback,"ax",%progbits 5093 .align 1 5094 .weak HAL_TIM_ErrorCallback 5095 .syntax unified 5096 .thumb 5097 .thumb_func 5099 HAL_TIM_ErrorCallback: 5100 .LVL400: 5101 .LFB414: 6069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 5102 .loc 1 6069 1 is_stmt 1 view -0 5103 .cfi_startproc 5104 @ args = 0, pretend = 0, frame = 0 5105 @ frame_needed = 0, uses_anonymous_args = 0 5106 @ link register save eliminated. 6071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5107 .loc 1 6071 3 view .LVU1646 ARM GAS /tmp/ccGjXOU1.s page 250 6076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5108 .loc 1 6076 1 is_stmt 0 view .LVU1647 5109 0000 7047 bx lr 5110 .cfi_endproc 5111 .LFE414: 5113 .section .text.TIM_DMAError,"ax",%progbits 5114 .align 1 5115 .global TIM_DMAError 5116 .syntax unified 5117 .thumb 5118 .thumb_func 5120 TIM_DMAError: 5121 .LVL401: 5122 .LFB424: 6791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 5123 .loc 1 6791 1 is_stmt 1 view -0 5124 .cfi_startproc 5125 @ args = 0, pretend = 0, frame = 0 5126 @ frame_needed = 0, uses_anonymous_args = 0 6791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 5127 .loc 1 6791 1 is_stmt 0 view .LVU1649 5128 0000 10B5 push {r4, lr} 5129 .LCFI47: 5130 .cfi_def_cfa_offset 8 5131 .cfi_offset 4, -8 5132 .cfi_offset 14, -4 6792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5133 .loc 1 6792 3 is_stmt 1 view .LVU1650 6792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5134 .loc 1 6792 22 is_stmt 0 view .LVU1651 5135 0002 846A ldr r4, [r0, #40] 5136 .LVL402: 6794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5137 .loc 1 6794 3 is_stmt 1 view .LVU1652 6794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5138 .loc 1 6794 25 is_stmt 0 view .LVU1653 5139 0004 636A ldr r3, [r4, #36] 6794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5140 .loc 1 6794 6 view .LVU1654 5141 0006 8342 cmp r3, r0 5142 0008 0CD0 beq .L310 6799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5143 .loc 1 6799 8 is_stmt 1 view .LVU1655 6799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5144 .loc 1 6799 30 is_stmt 0 view .LVU1656 5145 000a A36A ldr r3, [r4, #40] 6799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5146 .loc 1 6799 11 view .LVU1657 5147 000c 8342 cmp r3, r0 5148 000e 13D0 beq .L311 6804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5149 .loc 1 6804 8 is_stmt 1 view .LVU1658 6804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5150 .loc 1 6804 30 is_stmt 0 view .LVU1659 5151 0010 E36A ldr r3, [r4, #44] 6804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5152 .loc 1 6804 11 view .LVU1660 ARM GAS /tmp/ccGjXOU1.s page 251 5153 0012 8342 cmp r3, r0 5154 0014 16D0 beq .L312 6809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5155 .loc 1 6809 8 is_stmt 1 view .LVU1661 6809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5156 .loc 1 6809 30 is_stmt 0 view .LVU1662 5157 0016 236B ldr r3, [r4, #48] 6809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5158 .loc 1 6809 11 view .LVU1663 5159 0018 8342 cmp r3, r0 5160 001a 19D0 beq .L313 6816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5161 .loc 1 6816 5 is_stmt 1 view .LVU1664 6816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5162 .loc 1 6816 17 is_stmt 0 view .LVU1665 5163 001c 0123 movs r3, #1 5164 001e 84F83D30 strb r3, [r4, #61] 5165 0022 03E0 b .L305 5166 .L310: 6796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 5167 .loc 1 6796 5 is_stmt 1 view .LVU1666 6796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 5168 .loc 1 6796 19 is_stmt 0 view .LVU1667 5169 0024 0123 movs r3, #1 5170 0026 2377 strb r3, [r4, #28] 6797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5171 .loc 1 6797 5 is_stmt 1 view .LVU1668 5172 0028 84F83E30 strb r3, [r4, #62] 5173 .L305: 6822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5174 .loc 1 6822 3 view .LVU1669 5175 002c 2046 mov r0, r4 5176 .LVL403: 6822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5177 .loc 1 6822 3 is_stmt 0 view .LVU1670 5178 002e FFF7FEFF bl HAL_TIM_ErrorCallback 5179 .LVL404: 6825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5180 .loc 1 6825 3 is_stmt 1 view .LVU1671 6825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5181 .loc 1 6825 17 is_stmt 0 view .LVU1672 5182 0032 0023 movs r3, #0 5183 0034 2377 strb r3, [r4, #28] 6826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5184 .loc 1 6826 1 view .LVU1673 5185 0036 10BD pop {r4, pc} 5186 .LVL405: 5187 .L311: 6801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 5188 .loc 1 6801 5 is_stmt 1 view .LVU1674 6801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 5189 .loc 1 6801 19 is_stmt 0 view .LVU1675 5190 0038 0223 movs r3, #2 5191 003a 2377 strb r3, [r4, #28] 6802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5192 .loc 1 6802 5 is_stmt 1 view .LVU1676 5193 003c 0123 movs r3, #1 ARM GAS /tmp/ccGjXOU1.s page 252 5194 003e 84F83F30 strb r3, [r4, #63] 5195 0042 F3E7 b .L305 5196 .L312: 6806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY); 5197 .loc 1 6806 5 view .LVU1677 6806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY); 5198 .loc 1 6806 19 is_stmt 0 view .LVU1678 5199 0044 0423 movs r3, #4 5200 0046 2377 strb r3, [r4, #28] 6807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5201 .loc 1 6807 5 is_stmt 1 view .LVU1679 5202 0048 0123 movs r3, #1 5203 004a 84F84030 strb r3, [r4, #64] 5204 004e EDE7 b .L305 5205 .L313: 6811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY); 5206 .loc 1 6811 5 view .LVU1680 6811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY); 5207 .loc 1 6811 19 is_stmt 0 view .LVU1681 5208 0050 0823 movs r3, #8 5209 0052 2377 strb r3, [r4, #28] 6812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5210 .loc 1 6812 5 is_stmt 1 view .LVU1682 5211 0054 0123 movs r3, #1 5212 0056 84F84130 strb r3, [r4, #65] 5213 005a E7E7 b .L305 5214 .cfi_endproc 5215 .LFE424: 5217 .section .text.HAL_TIM_Base_GetState,"ax",%progbits 5218 .align 1 5219 .global HAL_TIM_Base_GetState 5220 .syntax unified 5221 .thumb 5222 .thumb_func 5224 HAL_TIM_Base_GetState: 5225 .LVL406: 5226 .LFB415: 6671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 5227 .loc 1 6671 1 view -0 5228 .cfi_startproc 5229 @ args = 0, pretend = 0, frame = 0 5230 @ frame_needed = 0, uses_anonymous_args = 0 5231 @ link register save eliminated. 6672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5232 .loc 1 6672 3 view .LVU1684 6672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5233 .loc 1 6672 14 is_stmt 0 view .LVU1685 5234 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2 5235 .LVL407: 6673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5236 .loc 1 6673 1 view .LVU1686 5237 0004 7047 bx lr 5238 .cfi_endproc 5239 .LFE415: 5241 .section .text.HAL_TIM_OC_GetState,"ax",%progbits 5242 .align 1 5243 .global HAL_TIM_OC_GetState ARM GAS /tmp/ccGjXOU1.s page 253 5244 .syntax unified 5245 .thumb 5246 .thumb_func 5248 HAL_TIM_OC_GetState: 5249 .LVL408: 5250 .LFB416: 6681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 5251 .loc 1 6681 1 is_stmt 1 view -0 5252 .cfi_startproc 5253 @ args = 0, pretend = 0, frame = 0 5254 @ frame_needed = 0, uses_anonymous_args = 0 5255 @ link register save eliminated. 6682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5256 .loc 1 6682 3 view .LVU1688 6682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5257 .loc 1 6682 14 is_stmt 0 view .LVU1689 5258 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2 5259 .LVL409: 6683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5260 .loc 1 6683 1 view .LVU1690 5261 0004 7047 bx lr 5262 .cfi_endproc 5263 .LFE416: 5265 .section .text.HAL_TIM_PWM_GetState,"ax",%progbits 5266 .align 1 5267 .global HAL_TIM_PWM_GetState 5268 .syntax unified 5269 .thumb 5270 .thumb_func 5272 HAL_TIM_PWM_GetState: 5273 .LVL410: 5274 .LFB417: 6691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 5275 .loc 1 6691 1 is_stmt 1 view -0 5276 .cfi_startproc 5277 @ args = 0, pretend = 0, frame = 0 5278 @ frame_needed = 0, uses_anonymous_args = 0 5279 @ link register save eliminated. 6692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5280 .loc 1 6692 3 view .LVU1692 6692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5281 .loc 1 6692 14 is_stmt 0 view .LVU1693 5282 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2 5283 .LVL411: 6693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5284 .loc 1 6693 1 view .LVU1694 5285 0004 7047 bx lr 5286 .cfi_endproc 5287 .LFE417: 5289 .section .text.HAL_TIM_IC_GetState,"ax",%progbits 5290 .align 1 5291 .global HAL_TIM_IC_GetState 5292 .syntax unified 5293 .thumb 5294 .thumb_func 5296 HAL_TIM_IC_GetState: 5297 .LVL412: ARM GAS /tmp/ccGjXOU1.s page 254 5298 .LFB418: 6701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 5299 .loc 1 6701 1 is_stmt 1 view -0 5300 .cfi_startproc 5301 @ args = 0, pretend = 0, frame = 0 5302 @ frame_needed = 0, uses_anonymous_args = 0 5303 @ link register save eliminated. 6702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5304 .loc 1 6702 3 view .LVU1696 6702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5305 .loc 1 6702 14 is_stmt 0 view .LVU1697 5306 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2 5307 .LVL413: 6703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5308 .loc 1 6703 1 view .LVU1698 5309 0004 7047 bx lr 5310 .cfi_endproc 5311 .LFE418: 5313 .section .text.HAL_TIM_OnePulse_GetState,"ax",%progbits 5314 .align 1 5315 .global HAL_TIM_OnePulse_GetState 5316 .syntax unified 5317 .thumb 5318 .thumb_func 5320 HAL_TIM_OnePulse_GetState: 5321 .LVL414: 5322 .LFB419: 6711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 5323 .loc 1 6711 1 is_stmt 1 view -0 5324 .cfi_startproc 5325 @ args = 0, pretend = 0, frame = 0 5326 @ frame_needed = 0, uses_anonymous_args = 0 5327 @ link register save eliminated. 6712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5328 .loc 1 6712 3 view .LVU1700 6712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5329 .loc 1 6712 14 is_stmt 0 view .LVU1701 5330 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2 5331 .LVL415: 6713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5332 .loc 1 6713 1 view .LVU1702 5333 0004 7047 bx lr 5334 .cfi_endproc 5335 .LFE419: 5337 .section .text.HAL_TIM_Encoder_GetState,"ax",%progbits 5338 .align 1 5339 .global HAL_TIM_Encoder_GetState 5340 .syntax unified 5341 .thumb 5342 .thumb_func 5344 HAL_TIM_Encoder_GetState: 5345 .LVL416: 5346 .LFB420: 6721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 5347 .loc 1 6721 1 is_stmt 1 view -0 5348 .cfi_startproc 5349 @ args = 0, pretend = 0, frame = 0 ARM GAS /tmp/ccGjXOU1.s page 255 5350 @ frame_needed = 0, uses_anonymous_args = 0 5351 @ link register save eliminated. 6722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5352 .loc 1 6722 3 view .LVU1704 6722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5353 .loc 1 6722 14 is_stmt 0 view .LVU1705 5354 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2 5355 .LVL417: 6723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5356 .loc 1 6723 1 view .LVU1706 5357 0004 7047 bx lr 5358 .cfi_endproc 5359 .LFE420: 5361 .section .text.HAL_TIM_GetActiveChannel,"ax",%progbits 5362 .align 1 5363 .global HAL_TIM_GetActiveChannel 5364 .syntax unified 5365 .thumb 5366 .thumb_func 5368 HAL_TIM_GetActiveChannel: 5369 .LVL418: 5370 .LFB421: 6731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->Channel; 5371 .loc 1 6731 1 is_stmt 1 view -0 5372 .cfi_startproc 5373 @ args = 0, pretend = 0, frame = 0 5374 @ frame_needed = 0, uses_anonymous_args = 0 5375 @ link register save eliminated. 6732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5376 .loc 1 6732 3 view .LVU1708 6733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5377 .loc 1 6733 1 is_stmt 0 view .LVU1709 5378 0000 007F ldrb r0, [r0, #28] @ zero_extendqisi2 5379 .LVL419: 6733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5380 .loc 1 6733 1 view .LVU1710 5381 0002 7047 bx lr 5382 .cfi_endproc 5383 .LFE421: 5385 .section .text.HAL_TIM_GetChannelState,"ax",%progbits 5386 .align 1 5387 .global HAL_TIM_GetChannelState 5388 .syntax unified 5389 .thumb 5390 .thumb_func 5392 HAL_TIM_GetChannelState: 5393 .LVL420: 5394 .LFB422: 6749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_state; 5395 .loc 1 6749 1 is_stmt 1 view -0 5396 .cfi_startproc 5397 @ args = 0, pretend = 0, frame = 0 5398 @ frame_needed = 0, uses_anonymous_args = 0 5399 @ link register save eliminated. 6750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5400 .loc 1 6750 3 view .LVU1712 6753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 256 5401 .loc 1 6753 3 view .LVU1713 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5402 .loc 1 6755 3 view .LVU1714 5403 0000 1029 cmp r1, #16 5404 0002 1ED8 bhi .L322 5405 0004 DFE801F0 tbb [pc, r1] 5406 .L324: 5407 0008 09 .byte (.L328-.L324)/2 5408 0009 1D .byte (.L322-.L324)/2 5409 000a 1D .byte (.L322-.L324)/2 5410 000b 1D .byte (.L322-.L324)/2 5411 000c 0D .byte (.L327-.L324)/2 5412 000d 1D .byte (.L322-.L324)/2 5413 000e 1D .byte (.L322-.L324)/2 5414 000f 1D .byte (.L322-.L324)/2 5415 0010 11 .byte (.L326-.L324)/2 5416 0011 1D .byte (.L322-.L324)/2 5417 0012 1D .byte (.L322-.L324)/2 5418 0013 1D .byte (.L322-.L324)/2 5419 0014 15 .byte (.L325-.L324)/2 5420 0015 1D .byte (.L322-.L324)/2 5421 0016 1D .byte (.L322-.L324)/2 5422 0017 1D .byte (.L322-.L324)/2 5423 0018 19 .byte (.L323-.L324)/2 5424 0019 00 .p2align 1 5425 .L328: 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5426 .loc 1 6755 19 is_stmt 0 discriminator 1 view .LVU1715 5427 001a 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 5428 .LVL421: 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5429 .loc 1 6755 19 discriminator 1 view .LVU1716 5430 001e C0B2 uxtb r0, r0 5431 0020 7047 bx lr 5432 .LVL422: 5433 .L327: 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5434 .loc 1 6755 19 discriminator 4 view .LVU1717 5435 0022 90F83F00 ldrb r0, [r0, #63] @ zero_extendqisi2 5436 .LVL423: 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5437 .loc 1 6755 19 discriminator 4 view .LVU1718 5438 0026 C0B2 uxtb r0, r0 5439 0028 7047 bx lr 5440 .LVL424: 5441 .L326: 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5442 .loc 1 6755 19 discriminator 7 view .LVU1719 5443 002a 90F84000 ldrb r0, [r0, #64] @ zero_extendqisi2 5444 .LVL425: 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5445 .loc 1 6755 19 discriminator 7 view .LVU1720 5446 002e C0B2 uxtb r0, r0 5447 0030 7047 bx lr 5448 .LVL426: 5449 .L325: 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 257 5450 .loc 1 6755 19 discriminator 10 view .LVU1721 5451 0032 90F84100 ldrb r0, [r0, #65] @ zero_extendqisi2 5452 .LVL427: 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5453 .loc 1 6755 19 discriminator 10 view .LVU1722 5454 0036 C0B2 uxtb r0, r0 5455 0038 7047 bx lr 5456 .LVL428: 5457 .L323: 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5458 .loc 1 6755 19 discriminator 13 view .LVU1723 5459 003a 90F84200 ldrb r0, [r0, #66] @ zero_extendqisi2 5460 .LVL429: 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5461 .loc 1 6755 19 discriminator 13 view .LVU1724 5462 003e C0B2 uxtb r0, r0 5463 0040 7047 bx lr 5464 .LVL430: 5465 .L322: 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5466 .loc 1 6755 19 discriminator 14 view .LVU1725 5467 0042 90F84300 ldrb r0, [r0, #67] @ zero_extendqisi2 5468 .LVL431: 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5469 .loc 1 6755 19 discriminator 14 view .LVU1726 5470 0046 C0B2 uxtb r0, r0 5471 .LVL432: 6757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5472 .loc 1 6757 3 is_stmt 1 view .LVU1727 6758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5473 .loc 1 6758 1 is_stmt 0 view .LVU1728 5474 0048 7047 bx lr 5475 .cfi_endproc 5476 .LFE422: 5478 .section .text.HAL_TIM_DMABurstState,"ax",%progbits 5479 .align 1 5480 .global HAL_TIM_DMABurstState 5481 .syntax unified 5482 .thumb 5483 .thumb_func 5485 HAL_TIM_DMABurstState: 5486 .LVL433: 5487 .LFB423: 6766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5488 .loc 1 6766 1 is_stmt 1 view -0 5489 .cfi_startproc 5490 @ args = 0, pretend = 0, frame = 0 5491 @ frame_needed = 0, uses_anonymous_args = 0 5492 @ link register save eliminated. 6768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5493 .loc 1 6768 3 view .LVU1730 6770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5494 .loc 1 6770 3 view .LVU1731 6770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5495 .loc 1 6770 14 is_stmt 0 view .LVU1732 5496 0000 90F84800 ldrb r0, [r0, #72] @ zero_extendqisi2 5497 .LVL434: ARM GAS /tmp/ccGjXOU1.s page 258 6771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5498 .loc 1 6771 1 view .LVU1733 5499 0004 7047 bx lr 5500 .cfi_endproc 5501 .LFE423: 5503 .section .text.TIM_Base_SetConfig,"ax",%progbits 5504 .align 1 5505 .global TIM_Base_SetConfig 5506 .syntax unified 5507 .thumb 5508 .thumb_func 5510 TIM_Base_SetConfig: 5511 .LVL435: 5512 .LFB433: 7109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpcr1; 5513 .loc 1 7109 1 is_stmt 1 view -0 5514 .cfi_startproc 5515 @ args = 0, pretend = 0, frame = 0 5516 @ frame_needed = 0, uses_anonymous_args = 0 5517 @ link register save eliminated. 7110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr1 = TIMx->CR1; 5518 .loc 1 7110 3 view .LVU1735 7111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5519 .loc 1 7111 3 view .LVU1736 7111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5520 .loc 1 7111 10 is_stmt 0 view .LVU1737 5521 0000 0368 ldr r3, [r0] 5522 .LVL436: 7114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5523 .loc 1 7114 3 is_stmt 1 view .LVU1738 7114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5524 .loc 1 7114 6 is_stmt 0 view .LVU1739 5525 0002 304A ldr r2, .L339 5526 0004 9042 cmp r0, r2 5527 0006 0ED0 beq .L332 7114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5528 .loc 1 7114 7 discriminator 1 view .LVU1740 5529 0008 B0F1804F cmp r0, #1073741824 5530 000c 0BD0 beq .L332 7114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5531 .loc 1 7114 7 discriminator 2 view .LVU1741 5532 000e A2F59432 sub r2, r2, #75776 5533 0012 9042 cmp r0, r2 5534 0014 07D0 beq .L332 7114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5535 .loc 1 7114 7 discriminator 3 view .LVU1742 5536 0016 02F58062 add r2, r2, #1024 5537 001a 9042 cmp r0, r2 5538 001c 03D0 beq .L332 7114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5539 .loc 1 7114 7 discriminator 4 view .LVU1743 5540 001e 02F59632 add r2, r2, #76800 5541 0022 9042 cmp r0, r2 5542 0024 03D1 bne .L333 5543 .L332: 7117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr1 |= Structure->CounterMode; 5544 .loc 1 7117 5 is_stmt 1 view .LVU1744 ARM GAS /tmp/ccGjXOU1.s page 259 7117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr1 |= Structure->CounterMode; 5545 .loc 1 7117 12 is_stmt 0 view .LVU1745 5546 0026 23F07003 bic r3, r3, #112 5547 .LVL437: 7118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5548 .loc 1 7118 5 is_stmt 1 view .LVU1746 7118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5549 .loc 1 7118 24 is_stmt 0 view .LVU1747 5550 002a 4A68 ldr r2, [r1, #4] 7118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5551 .loc 1 7118 12 view .LVU1748 5552 002c 1343 orrs r3, r3, r2 5553 .LVL438: 5554 .L333: 7121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5555 .loc 1 7121 3 is_stmt 1 view .LVU1749 7121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5556 .loc 1 7121 6 is_stmt 0 view .LVU1750 5557 002e 254A ldr r2, .L339 5558 0030 9042 cmp r0, r2 5559 0032 1AD0 beq .L334 7121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5560 .loc 1 7121 7 discriminator 1 view .LVU1751 5561 0034 B0F1804F cmp r0, #1073741824 5562 0038 17D0 beq .L334 7121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5563 .loc 1 7121 7 discriminator 2 view .LVU1752 5564 003a A2F59432 sub r2, r2, #75776 5565 003e 9042 cmp r0, r2 5566 0040 13D0 beq .L334 7121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5567 .loc 1 7121 7 discriminator 3 view .LVU1753 5568 0042 02F58062 add r2, r2, #1024 5569 0046 9042 cmp r0, r2 5570 0048 0FD0 beq .L334 7121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5571 .loc 1 7121 7 discriminator 4 view .LVU1754 5572 004a 02F59632 add r2, r2, #76800 5573 004e 9042 cmp r0, r2 5574 0050 0BD0 beq .L334 7121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5575 .loc 1 7121 7 discriminator 5 view .LVU1755 5576 0052 02F54062 add r2, r2, #3072 5577 0056 9042 cmp r0, r2 5578 0058 07D0 beq .L334 7121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5579 .loc 1 7121 7 discriminator 6 view .LVU1756 5580 005a 02F58062 add r2, r2, #1024 5581 005e 9042 cmp r0, r2 5582 0060 03D0 beq .L334 7121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5583 .loc 1 7121 7 discriminator 7 view .LVU1757 5584 0062 02F58062 add r2, r2, #1024 5585 0066 9042 cmp r0, r2 5586 0068 03D1 bne .L335 5587 .L334: 7124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr1 |= (uint32_t)Structure->ClockDivision; ARM GAS /tmp/ccGjXOU1.s page 260 5588 .loc 1 7124 5 is_stmt 1 view .LVU1758 7124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr1 |= (uint32_t)Structure->ClockDivision; 5589 .loc 1 7124 12 is_stmt 0 view .LVU1759 5590 006a 23F44073 bic r3, r3, #768 5591 .LVL439: 7125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5592 .loc 1 7125 5 is_stmt 1 view .LVU1760 7125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5593 .loc 1 7125 34 is_stmt 0 view .LVU1761 5594 006e CA68 ldr r2, [r1, #12] 7125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5595 .loc 1 7125 12 view .LVU1762 5596 0070 1343 orrs r3, r3, r2 5597 .LVL440: 5598 .L335: 7129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5599 .loc 1 7129 3 is_stmt 1 view .LVU1763 5600 0072 23F08003 bic r3, r3, #128 5601 .LVL441: 7129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5602 .loc 1 7129 3 is_stmt 0 view .LVU1764 5603 0076 4A69 ldr r2, [r1, #20] 5604 0078 1343 orrs r3, r3, r2 5605 .LVL442: 7131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5606 .loc 1 7131 3 is_stmt 1 view .LVU1765 7131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5607 .loc 1 7131 13 is_stmt 0 view .LVU1766 5608 007a 0360 str r3, [r0] 7134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5609 .loc 1 7134 3 is_stmt 1 view .LVU1767 7134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5610 .loc 1 7134 34 is_stmt 0 view .LVU1768 5611 007c 8B68 ldr r3, [r1, #8] 5612 .LVL443: 7134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5613 .loc 1 7134 13 view .LVU1769 5614 007e C362 str r3, [r0, #44] 5615 .LVL444: 7137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5616 .loc 1 7137 3 is_stmt 1 view .LVU1770 7137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5617 .loc 1 7137 24 is_stmt 0 view .LVU1771 5618 0080 0B68 ldr r3, [r1] 7137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5619 .loc 1 7137 13 view .LVU1772 5620 0082 8362 str r3, [r0, #40] 7139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5621 .loc 1 7139 3 is_stmt 1 view .LVU1773 7139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5622 .loc 1 7139 6 is_stmt 0 view .LVU1774 5623 0084 0F4B ldr r3, .L339 5624 0086 9842 cmp r0, r3 5625 0088 0FD0 beq .L336 7139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5626 .loc 1 7139 7 discriminator 1 view .LVU1775 5627 008a 03F50063 add r3, r3, #2048 ARM GAS /tmp/ccGjXOU1.s page 261 5628 008e 9842 cmp r0, r3 5629 0090 0BD0 beq .L336 7139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5630 .loc 1 7139 7 discriminator 2 view .LVU1776 5631 0092 03F54063 add r3, r3, #3072 5632 0096 9842 cmp r0, r3 5633 0098 07D0 beq .L336 7139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5634 .loc 1 7139 7 discriminator 3 view .LVU1777 5635 009a 03F58063 add r3, r3, #1024 5636 009e 9842 cmp r0, r3 5637 00a0 03D0 beq .L336 7139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5638 .loc 1 7139 7 discriminator 4 view .LVU1778 5639 00a2 03F58063 add r3, r3, #1024 5640 00a6 9842 cmp r0, r3 5641 00a8 01D1 bne .L337 5642 .L336: 7142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5643 .loc 1 7142 5 is_stmt 1 view .LVU1779 7142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5644 .loc 1 7142 26 is_stmt 0 view .LVU1780 5645 00aa 0B69 ldr r3, [r1, #16] 7142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5646 .loc 1 7142 15 view .LVU1781 5647 00ac 0363 str r3, [r0, #48] 5648 .L337: 7147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5649 .loc 1 7147 3 is_stmt 1 view .LVU1782 7147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5650 .loc 1 7147 13 is_stmt 0 view .LVU1783 5651 00ae 0123 movs r3, #1 5652 00b0 4361 str r3, [r0, #20] 7150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5653 .loc 1 7150 3 is_stmt 1 view .LVU1784 7150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5654 .loc 1 7150 7 is_stmt 0 view .LVU1785 5655 00b2 0369 ldr r3, [r0, #16] 7150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5656 .loc 1 7150 6 view .LVU1786 5657 00b4 13F0010F tst r3, #1 5658 00b8 03D0 beq .L331 7153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5659 .loc 1 7153 5 is_stmt 1 view .LVU1787 5660 00ba 0369 ldr r3, [r0, #16] 5661 00bc 23F00103 bic r3, r3, #1 5662 00c0 0361 str r3, [r0, #16] 5663 .L331: 7155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5664 .loc 1 7155 1 is_stmt 0 view .LVU1788 5665 00c2 7047 bx lr 5666 .L340: 5667 .align 2 5668 .L339: 5669 00c4 002C0140 .word 1073818624 5670 .cfi_endproc 5671 .LFE433: ARM GAS /tmp/ccGjXOU1.s page 262 5673 .section .text.HAL_TIM_Base_Init,"ax",%progbits 5674 .align 1 5675 .global HAL_TIM_Base_Init 5676 .syntax unified 5677 .thumb 5678 .thumb_func 5680 HAL_TIM_Base_Init: 5681 .LVL445: 5682 .LFB329: 282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 5683 .loc 1 282 1 is_stmt 1 view -0 5684 .cfi_startproc 5685 @ args = 0, pretend = 0, frame = 0 5686 @ frame_needed = 0, uses_anonymous_args = 0 284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5687 .loc 1 284 3 view .LVU1790 284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5688 .loc 1 284 6 is_stmt 0 view .LVU1791 5689 0000 60B3 cbz r0, .L344 282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 5690 .loc 1 282 1 view .LVU1792 5691 0002 10B5 push {r4, lr} 5692 .LCFI48: 5693 .cfi_def_cfa_offset 8 5694 .cfi_offset 4, -8 5695 .cfi_offset 14, -4 5696 0004 0446 mov r4, r0 290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 5697 .loc 1 290 3 is_stmt 1 view .LVU1793 291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 5698 .loc 1 291 3 view .LVU1794 292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_PERIOD(htim, htim->Init.Period)); 5699 .loc 1 292 3 view .LVU1795 293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 5700 .loc 1 293 3 view .LVU1796 294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5701 .loc 1 294 3 view .LVU1797 296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5702 .loc 1 296 3 view .LVU1798 296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5703 .loc 1 296 11 is_stmt 0 view .LVU1799 5704 0006 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5705 .loc 1 296 6 view .LVU1800 5706 000a 13B3 cbz r3, .L349 5707 .LVL446: 5708 .L343: 318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5709 .loc 1 318 3 is_stmt 1 view .LVU1801 318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5710 .loc 1 318 15 is_stmt 0 view .LVU1802 5711 000c 0223 movs r3, #2 5712 000e 84F83D30 strb r3, [r4, #61] 321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5713 .loc 1 321 3 is_stmt 1 view .LVU1803 321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5714 .loc 1 321 38 is_stmt 0 view .LVU1804 ARM GAS /tmp/ccGjXOU1.s page 263 5715 0012 2146 mov r1, r4 321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5716 .loc 1 321 3 view .LVU1805 5717 0014 51F8040B ldr r0, [r1], #4 5718 0018 FFF7FEFF bl TIM_Base_SetConfig 5719 .LVL447: 324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5720 .loc 1 324 3 is_stmt 1 view .LVU1806 324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5721 .loc 1 324 23 is_stmt 0 view .LVU1807 5722 001c 0123 movs r3, #1 5723 001e 84F84830 strb r3, [r4, #72] 327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5724 .loc 1 327 3 is_stmt 1 view .LVU1808 327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5725 .loc 1 327 3 view .LVU1809 5726 0022 84F83E30 strb r3, [r4, #62] 327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5727 .loc 1 327 3 view .LVU1810 5728 0026 84F83F30 strb r3, [r4, #63] 327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5729 .loc 1 327 3 view .LVU1811 5730 002a 84F84030 strb r3, [r4, #64] 327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5731 .loc 1 327 3 view .LVU1812 5732 002e 84F84130 strb r3, [r4, #65] 327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5733 .loc 1 327 3 view .LVU1813 5734 0032 84F84230 strb r3, [r4, #66] 327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5735 .loc 1 327 3 view .LVU1814 5736 0036 84F84330 strb r3, [r4, #67] 327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5737 .loc 1 327 3 view .LVU1815 328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5738 .loc 1 328 3 view .LVU1816 328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5739 .loc 1 328 3 view .LVU1817 5740 003a 84F84430 strb r3, [r4, #68] 328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5741 .loc 1 328 3 view .LVU1818 5742 003e 84F84530 strb r3, [r4, #69] 328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5743 .loc 1 328 3 view .LVU1819 5744 0042 84F84630 strb r3, [r4, #70] 328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5745 .loc 1 328 3 view .LVU1820 5746 0046 84F84730 strb r3, [r4, #71] 328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5747 .loc 1 328 3 view .LVU1821 331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5748 .loc 1 331 3 view .LVU1822 331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5749 .loc 1 331 15 is_stmt 0 view .LVU1823 5750 004a 84F83D30 strb r3, [r4, #61] 333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5751 .loc 1 333 3 is_stmt 1 view .LVU1824 ARM GAS /tmp/ccGjXOU1.s page 264 333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5752 .loc 1 333 10 is_stmt 0 view .LVU1825 5753 004e 0020 movs r0, #0 334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5754 .loc 1 334 1 view .LVU1826 5755 0050 10BD pop {r4, pc} 5756 .LVL448: 5757 .L349: 299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5758 .loc 1 299 5 is_stmt 1 view .LVU1827 299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5759 .loc 1 299 16 is_stmt 0 view .LVU1828 5760 0052 80F83C30 strb r3, [r0, #60] 313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5761 .loc 1 313 5 is_stmt 1 view .LVU1829 5762 0056 FFF7FEFF bl HAL_TIM_Base_MspInit 5763 .LVL449: 313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5764 .loc 1 313 5 is_stmt 0 view .LVU1830 5765 005a D7E7 b .L343 5766 .LVL450: 5767 .L344: 5768 .LCFI49: 5769 .cfi_def_cfa_offset 0 5770 .cfi_restore 4 5771 .cfi_restore 14 286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5772 .loc 1 286 12 view .LVU1831 5773 005c 0120 movs r0, #1 5774 .LVL451: 334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5775 .loc 1 334 1 view .LVU1832 5776 005e 7047 bx lr 5777 .cfi_endproc 5778 .LFE329: 5780 .section .text.HAL_TIM_OC_Init,"ax",%progbits 5781 .align 1 5782 .global HAL_TIM_OC_Init 5783 .syntax unified 5784 .thumb 5785 .thumb_func 5787 HAL_TIM_OC_Init: 5788 .LVL452: 5789 .LFB339: 666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 5790 .loc 1 666 1 is_stmt 1 view -0 5791 .cfi_startproc 5792 @ args = 0, pretend = 0, frame = 0 5793 @ frame_needed = 0, uses_anonymous_args = 0 668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5794 .loc 1 668 3 view .LVU1834 668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5795 .loc 1 668 6 is_stmt 0 view .LVU1835 5796 0000 60B3 cbz r0, .L353 666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 5797 .loc 1 666 1 view .LVU1836 5798 0002 10B5 push {r4, lr} ARM GAS /tmp/ccGjXOU1.s page 265 5799 .LCFI50: 5800 .cfi_def_cfa_offset 8 5801 .cfi_offset 4, -8 5802 .cfi_offset 14, -4 5803 0004 0446 mov r4, r0 674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 5804 .loc 1 674 3 is_stmt 1 view .LVU1837 675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 5805 .loc 1 675 3 view .LVU1838 676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_PERIOD(htim, htim->Init.Period)); 5806 .loc 1 676 3 view .LVU1839 677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 5807 .loc 1 677 3 view .LVU1840 678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5808 .loc 1 678 3 view .LVU1841 680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5809 .loc 1 680 3 view .LVU1842 680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5810 .loc 1 680 11 is_stmt 0 view .LVU1843 5811 0006 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5812 .loc 1 680 6 view .LVU1844 5813 000a 13B3 cbz r3, .L358 5814 .LVL453: 5815 .L352: 702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5816 .loc 1 702 3 is_stmt 1 view .LVU1845 702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5817 .loc 1 702 15 is_stmt 0 view .LVU1846 5818 000c 0223 movs r3, #2 5819 000e 84F83D30 strb r3, [r4, #61] 705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5820 .loc 1 705 3 is_stmt 1 view .LVU1847 705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5821 .loc 1 705 39 is_stmt 0 view .LVU1848 5822 0012 2146 mov r1, r4 705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5823 .loc 1 705 3 view .LVU1849 5824 0014 51F8040B ldr r0, [r1], #4 5825 0018 FFF7FEFF bl TIM_Base_SetConfig 5826 .LVL454: 708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5827 .loc 1 708 3 is_stmt 1 view .LVU1850 708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5828 .loc 1 708 23 is_stmt 0 view .LVU1851 5829 001c 0123 movs r3, #1 5830 001e 84F84830 strb r3, [r4, #72] 711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5831 .loc 1 711 3 is_stmt 1 view .LVU1852 711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5832 .loc 1 711 3 view .LVU1853 5833 0022 84F83E30 strb r3, [r4, #62] 711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5834 .loc 1 711 3 view .LVU1854 5835 0026 84F83F30 strb r3, [r4, #63] 711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5836 .loc 1 711 3 view .LVU1855 ARM GAS /tmp/ccGjXOU1.s page 266 5837 002a 84F84030 strb r3, [r4, #64] 711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5838 .loc 1 711 3 view .LVU1856 5839 002e 84F84130 strb r3, [r4, #65] 711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5840 .loc 1 711 3 view .LVU1857 5841 0032 84F84230 strb r3, [r4, #66] 711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5842 .loc 1 711 3 view .LVU1858 5843 0036 84F84330 strb r3, [r4, #67] 711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5844 .loc 1 711 3 view .LVU1859 712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5845 .loc 1 712 3 view .LVU1860 712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5846 .loc 1 712 3 view .LVU1861 5847 003a 84F84430 strb r3, [r4, #68] 712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5848 .loc 1 712 3 view .LVU1862 5849 003e 84F84530 strb r3, [r4, #69] 712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5850 .loc 1 712 3 view .LVU1863 5851 0042 84F84630 strb r3, [r4, #70] 712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5852 .loc 1 712 3 view .LVU1864 5853 0046 84F84730 strb r3, [r4, #71] 712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5854 .loc 1 712 3 view .LVU1865 715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5855 .loc 1 715 3 view .LVU1866 715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5856 .loc 1 715 15 is_stmt 0 view .LVU1867 5857 004a 84F83D30 strb r3, [r4, #61] 717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5858 .loc 1 717 3 is_stmt 1 view .LVU1868 717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5859 .loc 1 717 10 is_stmt 0 view .LVU1869 5860 004e 0020 movs r0, #0 718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5861 .loc 1 718 1 view .LVU1870 5862 0050 10BD pop {r4, pc} 5863 .LVL455: 5864 .L358: 683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5865 .loc 1 683 5 is_stmt 1 view .LVU1871 683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5866 .loc 1 683 16 is_stmt 0 view .LVU1872 5867 0052 80F83C30 strb r3, [r0, #60] 697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5868 .loc 1 697 5 is_stmt 1 view .LVU1873 5869 0056 FFF7FEFF bl HAL_TIM_OC_MspInit 5870 .LVL456: 697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5871 .loc 1 697 5 is_stmt 0 view .LVU1874 5872 005a D7E7 b .L352 5873 .LVL457: 5874 .L353: ARM GAS /tmp/ccGjXOU1.s page 267 5875 .LCFI51: 5876 .cfi_def_cfa_offset 0 5877 .cfi_restore 4 5878 .cfi_restore 14 670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5879 .loc 1 670 12 view .LVU1875 5880 005c 0120 movs r0, #1 5881 .LVL458: 718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5882 .loc 1 718 1 view .LVU1876 5883 005e 7047 bx lr 5884 .cfi_endproc 5885 .LFE339: 5887 .section .text.HAL_TIM_PWM_Init,"ax",%progbits 5888 .align 1 5889 .global HAL_TIM_PWM_Init 5890 .syntax unified 5891 .thumb 5892 .thumb_func 5894 HAL_TIM_PWM_Init: 5895 .LVL459: 5896 .LFB349: 1335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 5897 .loc 1 1335 1 is_stmt 1 view -0 5898 .cfi_startproc 5899 @ args = 0, pretend = 0, frame = 0 5900 @ frame_needed = 0, uses_anonymous_args = 0 1337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5901 .loc 1 1337 3 view .LVU1878 1337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5902 .loc 1 1337 6 is_stmt 0 view .LVU1879 5903 0000 60B3 cbz r0, .L362 1335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 5904 .loc 1 1335 1 view .LVU1880 5905 0002 10B5 push {r4, lr} 5906 .LCFI52: 5907 .cfi_def_cfa_offset 8 5908 .cfi_offset 4, -8 5909 .cfi_offset 14, -4 5910 0004 0446 mov r4, r0 1343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 5911 .loc 1 1343 3 is_stmt 1 view .LVU1881 1344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 5912 .loc 1 1344 3 view .LVU1882 1345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_PERIOD(htim, htim->Init.Period)); 5913 .loc 1 1345 3 view .LVU1883 1346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 5914 .loc 1 1346 3 view .LVU1884 1347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5915 .loc 1 1347 3 view .LVU1885 1349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5916 .loc 1 1349 3 view .LVU1886 1349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5917 .loc 1 1349 11 is_stmt 0 view .LVU1887 5918 0006 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 1349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5919 .loc 1 1349 6 view .LVU1888 ARM GAS /tmp/ccGjXOU1.s page 268 5920 000a 13B3 cbz r3, .L367 5921 .LVL460: 5922 .L361: 1371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5923 .loc 1 1371 3 is_stmt 1 view .LVU1889 1371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5924 .loc 1 1371 15 is_stmt 0 view .LVU1890 5925 000c 0223 movs r3, #2 5926 000e 84F83D30 strb r3, [r4, #61] 1374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5927 .loc 1 1374 3 is_stmt 1 view .LVU1891 1374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5928 .loc 1 1374 38 is_stmt 0 view .LVU1892 5929 0012 2146 mov r1, r4 1374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5930 .loc 1 1374 3 view .LVU1893 5931 0014 51F8040B ldr r0, [r1], #4 5932 0018 FFF7FEFF bl TIM_Base_SetConfig 5933 .LVL461: 1377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5934 .loc 1 1377 3 is_stmt 1 view .LVU1894 1377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5935 .loc 1 1377 23 is_stmt 0 view .LVU1895 5936 001c 0123 movs r3, #1 5937 001e 84F84830 strb r3, [r4, #72] 1380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5938 .loc 1 1380 3 is_stmt 1 view .LVU1896 1380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5939 .loc 1 1380 3 view .LVU1897 5940 0022 84F83E30 strb r3, [r4, #62] 1380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5941 .loc 1 1380 3 view .LVU1898 5942 0026 84F83F30 strb r3, [r4, #63] 1380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5943 .loc 1 1380 3 view .LVU1899 5944 002a 84F84030 strb r3, [r4, #64] 1380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5945 .loc 1 1380 3 view .LVU1900 5946 002e 84F84130 strb r3, [r4, #65] 1380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5947 .loc 1 1380 3 view .LVU1901 5948 0032 84F84230 strb r3, [r4, #66] 1380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5949 .loc 1 1380 3 view .LVU1902 5950 0036 84F84330 strb r3, [r4, #67] 1380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5951 .loc 1 1380 3 view .LVU1903 1381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5952 .loc 1 1381 3 view .LVU1904 1381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5953 .loc 1 1381 3 view .LVU1905 5954 003a 84F84430 strb r3, [r4, #68] 1381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5955 .loc 1 1381 3 view .LVU1906 5956 003e 84F84530 strb r3, [r4, #69] 1381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5957 .loc 1 1381 3 view .LVU1907 ARM GAS /tmp/ccGjXOU1.s page 269 5958 0042 84F84630 strb r3, [r4, #70] 1381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5959 .loc 1 1381 3 view .LVU1908 5960 0046 84F84730 strb r3, [r4, #71] 1381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5961 .loc 1 1381 3 view .LVU1909 1384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5962 .loc 1 1384 3 view .LVU1910 1384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5963 .loc 1 1384 15 is_stmt 0 view .LVU1911 5964 004a 84F83D30 strb r3, [r4, #61] 1386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5965 .loc 1 1386 3 is_stmt 1 view .LVU1912 1386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5966 .loc 1 1386 10 is_stmt 0 view .LVU1913 5967 004e 0020 movs r0, #0 1387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5968 .loc 1 1387 1 view .LVU1914 5969 0050 10BD pop {r4, pc} 5970 .LVL462: 5971 .L367: 1352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5972 .loc 1 1352 5 is_stmt 1 view .LVU1915 1352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5973 .loc 1 1352 16 is_stmt 0 view .LVU1916 5974 0052 80F83C30 strb r3, [r0, #60] 1366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5975 .loc 1 1366 5 is_stmt 1 view .LVU1917 5976 0056 FFF7FEFF bl HAL_TIM_PWM_MspInit 5977 .LVL463: 1366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5978 .loc 1 1366 5 is_stmt 0 view .LVU1918 5979 005a D7E7 b .L361 5980 .LVL464: 5981 .L362: 5982 .LCFI53: 5983 .cfi_def_cfa_offset 0 5984 .cfi_restore 4 5985 .cfi_restore 14 1339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5986 .loc 1 1339 12 view .LVU1919 5987 005c 0120 movs r0, #1 5988 .LVL465: 1387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5989 .loc 1 1387 1 view .LVU1920 5990 005e 7047 bx lr 5991 .cfi_endproc 5992 .LFE349: 5994 .section .text.HAL_TIM_IC_Init,"ax",%progbits 5995 .align 1 5996 .global HAL_TIM_IC_Init 5997 .syntax unified 5998 .thumb 5999 .thumb_func 6001 HAL_TIM_IC_Init: 6002 .LVL466: 6003 .LFB359: ARM GAS /tmp/ccGjXOU1.s page 270 2003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 6004 .loc 1 2003 1 is_stmt 1 view -0 6005 .cfi_startproc 6006 @ args = 0, pretend = 0, frame = 0 6007 @ frame_needed = 0, uses_anonymous_args = 0 2005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6008 .loc 1 2005 3 view .LVU1922 2005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6009 .loc 1 2005 6 is_stmt 0 view .LVU1923 6010 0000 60B3 cbz r0, .L371 2003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 6011 .loc 1 2003 1 view .LVU1924 6012 0002 10B5 push {r4, lr} 6013 .LCFI54: 6014 .cfi_def_cfa_offset 8 6015 .cfi_offset 4, -8 6016 .cfi_offset 14, -4 6017 0004 0446 mov r4, r0 2011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 6018 .loc 1 2011 3 is_stmt 1 view .LVU1925 2012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 6019 .loc 1 2012 3 view .LVU1926 2013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_PERIOD(htim, htim->Init.Period)); 6020 .loc 1 2013 3 view .LVU1927 2014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 6021 .loc 1 2014 3 view .LVU1928 2015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6022 .loc 1 2015 3 view .LVU1929 2017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6023 .loc 1 2017 3 view .LVU1930 2017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6024 .loc 1 2017 11 is_stmt 0 view .LVU1931 6025 0006 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 2017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6026 .loc 1 2017 6 view .LVU1932 6027 000a 13B3 cbz r3, .L376 6028 .LVL467: 6029 .L370: 2039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6030 .loc 1 2039 3 is_stmt 1 view .LVU1933 2039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6031 .loc 1 2039 15 is_stmt 0 view .LVU1934 6032 000c 0223 movs r3, #2 6033 000e 84F83D30 strb r3, [r4, #61] 2042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6034 .loc 1 2042 3 is_stmt 1 view .LVU1935 2042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6035 .loc 1 2042 38 is_stmt 0 view .LVU1936 6036 0012 2146 mov r1, r4 2042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6037 .loc 1 2042 3 view .LVU1937 6038 0014 51F8040B ldr r0, [r1], #4 6039 0018 FFF7FEFF bl TIM_Base_SetConfig 6040 .LVL468: 2045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6041 .loc 1 2045 3 is_stmt 1 view .LVU1938 2045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 271 6042 .loc 1 2045 23 is_stmt 0 view .LVU1939 6043 001c 0123 movs r3, #1 6044 001e 84F84830 strb r3, [r4, #72] 2048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 6045 .loc 1 2048 3 is_stmt 1 view .LVU1940 2048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 6046 .loc 1 2048 3 view .LVU1941 6047 0022 84F83E30 strb r3, [r4, #62] 2048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 6048 .loc 1 2048 3 view .LVU1942 6049 0026 84F83F30 strb r3, [r4, #63] 2048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 6050 .loc 1 2048 3 view .LVU1943 6051 002a 84F84030 strb r3, [r4, #64] 2048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 6052 .loc 1 2048 3 view .LVU1944 6053 002e 84F84130 strb r3, [r4, #65] 2048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 6054 .loc 1 2048 3 view .LVU1945 6055 0032 84F84230 strb r3, [r4, #66] 2048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 6056 .loc 1 2048 3 view .LVU1946 6057 0036 84F84330 strb r3, [r4, #67] 2048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 6058 .loc 1 2048 3 view .LVU1947 2049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6059 .loc 1 2049 3 view .LVU1948 2049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6060 .loc 1 2049 3 view .LVU1949 6061 003a 84F84430 strb r3, [r4, #68] 2049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6062 .loc 1 2049 3 view .LVU1950 6063 003e 84F84530 strb r3, [r4, #69] 2049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6064 .loc 1 2049 3 view .LVU1951 6065 0042 84F84630 strb r3, [r4, #70] 2049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6066 .loc 1 2049 3 view .LVU1952 6067 0046 84F84730 strb r3, [r4, #71] 2049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6068 .loc 1 2049 3 view .LVU1953 2052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6069 .loc 1 2052 3 view .LVU1954 2052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6070 .loc 1 2052 15 is_stmt 0 view .LVU1955 6071 004a 84F83D30 strb r3, [r4, #61] 2054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6072 .loc 1 2054 3 is_stmt 1 view .LVU1956 2054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6073 .loc 1 2054 10 is_stmt 0 view .LVU1957 6074 004e 0020 movs r0, #0 2055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6075 .loc 1 2055 1 view .LVU1958 6076 0050 10BD pop {r4, pc} 6077 .LVL469: 6078 .L376: 2020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 272 6079 .loc 1 2020 5 is_stmt 1 view .LVU1959 2020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6080 .loc 1 2020 16 is_stmt 0 view .LVU1960 6081 0052 80F83C30 strb r3, [r0, #60] 2034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6082 .loc 1 2034 5 is_stmt 1 view .LVU1961 6083 0056 FFF7FEFF bl HAL_TIM_IC_MspInit 6084 .LVL470: 2034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6085 .loc 1 2034 5 is_stmt 0 view .LVU1962 6086 005a D7E7 b .L370 6087 .LVL471: 6088 .L371: 6089 .LCFI55: 6090 .cfi_def_cfa_offset 0 6091 .cfi_restore 4 6092 .cfi_restore 14 2007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6093 .loc 1 2007 12 view .LVU1963 6094 005c 0120 movs r0, #1 6095 .LVL472: 2055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6096 .loc 1 2055 1 view .LVU1964 6097 005e 7047 bx lr 6098 .cfi_endproc 6099 .LFE359: 6101 .section .text.HAL_TIM_OnePulse_Init,"ax",%progbits 6102 .align 1 6103 .global HAL_TIM_OnePulse_Init 6104 .syntax unified 6105 .thumb 6106 .thumb_func 6108 HAL_TIM_OnePulse_Init: 6109 .LVL473: 6110 .LFB369: 2652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 6111 .loc 1 2652 1 is_stmt 1 view -0 6112 .cfi_startproc 6113 @ args = 0, pretend = 0, frame = 0 6114 @ frame_needed = 0, uses_anonymous_args = 0 2654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6115 .loc 1 2654 3 view .LVU1966 2654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6116 .loc 1 2654 6 is_stmt 0 view .LVU1967 6117 0000 50B3 cbz r0, .L380 2652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 6118 .loc 1 2652 1 view .LVU1968 6119 0002 38B5 push {r3, r4, r5, lr} 6120 .LCFI56: 6121 .cfi_def_cfa_offset 16 6122 .cfi_offset 3, -16 6123 .cfi_offset 4, -12 6124 .cfi_offset 5, -8 6125 .cfi_offset 14, -4 6126 0004 0D46 mov r5, r1 6127 0006 0446 mov r4, r0 2660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); ARM GAS /tmp/ccGjXOU1.s page 273 6128 .loc 1 2660 3 is_stmt 1 view .LVU1969 2661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 6129 .loc 1 2661 3 view .LVU1970 2662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OPM_MODE(OnePulseMode)); 6130 .loc 1 2662 3 view .LVU1971 2663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_PERIOD(htim, htim->Init.Period)); 6131 .loc 1 2663 3 view .LVU1972 2664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 6132 .loc 1 2664 3 view .LVU1973 2665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6133 .loc 1 2665 3 view .LVU1974 2667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6134 .loc 1 2667 3 view .LVU1975 2667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6135 .loc 1 2667 11 is_stmt 0 view .LVU1976 6136 0008 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 2667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6137 .loc 1 2667 6 view .LVU1977 6138 000c FBB1 cbz r3, .L385 6139 .LVL474: 6140 .L379: 2689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6141 .loc 1 2689 3 is_stmt 1 view .LVU1978 2689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6142 .loc 1 2689 15 is_stmt 0 view .LVU1979 6143 000e 0223 movs r3, #2 6144 0010 84F83D30 strb r3, [r4, #61] 2692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6145 .loc 1 2692 3 is_stmt 1 view .LVU1980 2692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6146 .loc 1 2692 38 is_stmt 0 view .LVU1981 6147 0014 2146 mov r1, r4 2692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6148 .loc 1 2692 3 view .LVU1982 6149 0016 51F8040B ldr r0, [r1], #4 6150 001a FFF7FEFF bl TIM_Base_SetConfig 6151 .LVL475: 2695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6152 .loc 1 2695 3 is_stmt 1 view .LVU1983 2695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6153 .loc 1 2695 7 is_stmt 0 view .LVU1984 6154 001e 2268 ldr r2, [r4] 2695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6155 .loc 1 2695 17 view .LVU1985 6156 0020 1368 ldr r3, [r2] 2695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6157 .loc 1 2695 23 view .LVU1986 6158 0022 23F00803 bic r3, r3, #8 6159 0026 1360 str r3, [r2] 2698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6160 .loc 1 2698 3 is_stmt 1 view .LVU1987 2698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6161 .loc 1 2698 7 is_stmt 0 view .LVU1988 6162 0028 2268 ldr r2, [r4] 2698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6163 .loc 1 2698 17 view .LVU1989 6164 002a 1368 ldr r3, [r2] ARM GAS /tmp/ccGjXOU1.s page 274 2698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6165 .loc 1 2698 23 view .LVU1990 6166 002c 2B43 orrs r3, r3, r5 6167 002e 1360 str r3, [r2] 2701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6168 .loc 1 2701 3 is_stmt 1 view .LVU1991 2701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6169 .loc 1 2701 23 is_stmt 0 view .LVU1992 6170 0030 0123 movs r3, #1 6171 0032 84F84830 strb r3, [r4, #72] 2704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 6172 .loc 1 2704 3 is_stmt 1 view .LVU1993 6173 0036 84F83E30 strb r3, [r4, #62] 2705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 6174 .loc 1 2705 3 view .LVU1994 6175 003a 84F83F30 strb r3, [r4, #63] 2706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 6176 .loc 1 2706 3 view .LVU1995 6177 003e 84F84430 strb r3, [r4, #68] 2707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6178 .loc 1 2707 3 view .LVU1996 6179 0042 84F84530 strb r3, [r4, #69] 2710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6180 .loc 1 2710 3 view .LVU1997 2710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6181 .loc 1 2710 15 is_stmt 0 view .LVU1998 6182 0046 84F83D30 strb r3, [r4, #61] 2712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6183 .loc 1 2712 3 is_stmt 1 view .LVU1999 2712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6184 .loc 1 2712 10 is_stmt 0 view .LVU2000 6185 004a 0020 movs r0, #0 2713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6186 .loc 1 2713 1 view .LVU2001 6187 004c 38BD pop {r3, r4, r5, pc} 6188 .LVL476: 6189 .L385: 2670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6190 .loc 1 2670 5 is_stmt 1 view .LVU2002 2670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6191 .loc 1 2670 16 is_stmt 0 view .LVU2003 6192 004e 80F83C30 strb r3, [r0, #60] 2684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6193 .loc 1 2684 5 is_stmt 1 view .LVU2004 6194 0052 FFF7FEFF bl HAL_TIM_OnePulse_MspInit 6195 .LVL477: 2684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6196 .loc 1 2684 5 is_stmt 0 view .LVU2005 6197 0056 DAE7 b .L379 6198 .LVL478: 6199 .L380: 6200 .LCFI57: 6201 .cfi_def_cfa_offset 0 6202 .cfi_restore 3 6203 .cfi_restore 4 6204 .cfi_restore 5 6205 .cfi_restore 14 ARM GAS /tmp/ccGjXOU1.s page 275 2656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6206 .loc 1 2656 12 view .LVU2006 6207 0058 0120 movs r0, #1 6208 .LVL479: 2713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6209 .loc 1 2713 1 view .LVU2007 6210 005a 7047 bx lr 6211 .cfi_endproc 6212 .LFE369: 6214 .section .text.HAL_TIM_Encoder_Init,"ax",%progbits 6215 .align 1 6216 .global HAL_TIM_Encoder_Init 6217 .syntax unified 6218 .thumb 6219 .thumb_func 6221 HAL_TIM_Encoder_Init: 6222 .LVL480: 6223 .LFB377: 3043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 6224 .loc 1 3043 1 is_stmt 1 view -0 6225 .cfi_startproc 6226 @ args = 0, pretend = 0, frame = 0 6227 @ frame_needed = 0, uses_anonymous_args = 0 3044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr1; 6228 .loc 1 3044 3 view .LVU2009 3045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 6229 .loc 1 3045 3 view .LVU2010 3046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6230 .loc 1 3046 3 view .LVU2011 3049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6231 .loc 1 3049 3 view .LVU2012 3049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6232 .loc 1 3049 6 is_stmt 0 view .LVU2013 6233 0000 0028 cmp r0, #0 6234 0002 53D0 beq .L389 3043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 6235 .loc 1 3043 1 view .LVU2014 6236 0004 F8B5 push {r3, r4, r5, r6, r7, lr} 6237 .LCFI58: 6238 .cfi_def_cfa_offset 24 6239 .cfi_offset 3, -24 6240 .cfi_offset 4, -20 6241 .cfi_offset 5, -16 6242 .cfi_offset 6, -12 6243 .cfi_offset 7, -8 6244 .cfi_offset 14, -4 6245 0006 0D46 mov r5, r1 6246 0008 0446 mov r4, r0 3055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 6247 .loc 1 3055 3 is_stmt 1 view .LVU2015 3056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); 6248 .loc 1 3056 3 view .LVU2016 3057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 6249 .loc 1 3057 3 view .LVU2017 3058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_MODE(sConfig->EncoderMode)); 6250 .loc 1 3058 3 view .LVU2018 3059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_SELECTION(sConfig->IC1Selection)); ARM GAS /tmp/ccGjXOU1.s page 276 6251 .loc 1 3059 3 view .LVU2019 3060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_SELECTION(sConfig->IC2Selection)); 6252 .loc 1 3060 3 view .LVU2020 3061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODERINPUT_POLARITY(sConfig->IC1Polarity)); 6253 .loc 1 3061 3 view .LVU2021 3062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODERINPUT_POLARITY(sConfig->IC2Polarity)); 6254 .loc 1 3062 3 view .LVU2022 3063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->IC1Prescaler)); 6255 .loc 1 3063 3 view .LVU2023 3064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->IC2Prescaler)); 6256 .loc 1 3064 3 view .LVU2024 3065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_FILTER(sConfig->IC1Filter)); 6257 .loc 1 3065 3 view .LVU2025 3066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_FILTER(sConfig->IC2Filter)); 6258 .loc 1 3066 3 view .LVU2026 3067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_PERIOD(htim, htim->Init.Period)); 6259 .loc 1 3067 3 view .LVU2027 3068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6260 .loc 1 3068 3 view .LVU2028 3070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6261 .loc 1 3070 3 view .LVU2029 3070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6262 .loc 1 3070 11 is_stmt 0 view .LVU2030 6263 000a 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 3070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6264 .loc 1 3070 6 view .LVU2031 6265 000e 002B cmp r3, #0 6266 0010 47D0 beq .L394 6267 .LVL481: 6268 .L388: 3092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6269 .loc 1 3092 3 is_stmt 1 view .LVU2032 3092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6270 .loc 1 3092 15 is_stmt 0 view .LVU2033 6271 0012 0223 movs r3, #2 6272 0014 84F83D30 strb r3, [r4, #61] 3095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6273 .loc 1 3095 3 is_stmt 1 view .LVU2034 3095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6274 .loc 1 3095 7 is_stmt 0 view .LVU2035 6275 0018 2268 ldr r2, [r4] 3095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6276 .loc 1 3095 17 view .LVU2036 6277 001a 9368 ldr r3, [r2, #8] 3095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6278 .loc 1 3095 24 view .LVU2037 6279 001c 23F4A033 bic r3, r3, #81920 6280 0020 23F00703 bic r3, r3, #7 6281 0024 9360 str r3, [r2, #8] 3098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6282 .loc 1 3098 3 is_stmt 1 view .LVU2038 3098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6283 .loc 1 3098 38 is_stmt 0 view .LVU2039 6284 0026 2146 mov r1, r4 3098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6285 .loc 1 3098 3 view .LVU2040 6286 0028 51F8040B ldr r0, [r1], #4 ARM GAS /tmp/ccGjXOU1.s page 277 6287 002c FFF7FEFF bl TIM_Base_SetConfig 6288 .LVL482: 3101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6289 .loc 1 3101 3 is_stmt 1 view .LVU2041 3101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6290 .loc 1 3101 17 is_stmt 0 view .LVU2042 6291 0030 2168 ldr r1, [r4] 3101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6292 .loc 1 3101 11 view .LVU2043 6293 0032 8B68 ldr r3, [r1, #8] 6294 .LVL483: 3104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6295 .loc 1 3104 3 is_stmt 1 view .LVU2044 3104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6296 .loc 1 3104 12 is_stmt 0 view .LVU2045 6297 0034 8A69 ldr r2, [r1, #24] 6298 .LVL484: 3107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6299 .loc 1 3107 3 is_stmt 1 view .LVU2046 3107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6300 .loc 1 3107 11 is_stmt 0 view .LVU2047 6301 0036 0E6A ldr r6, [r1, #32] 6302 .LVL485: 3110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6303 .loc 1 3110 3 is_stmt 1 view .LVU2048 3110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6304 .loc 1 3110 21 is_stmt 0 view .LVU2049 6305 0038 2868 ldr r0, [r5] 3110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6306 .loc 1 3110 11 view .LVU2050 6307 003a 1843 orrs r0, r0, r3 6308 .LVL486: 3113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Selection | (sConfig->IC2Selection << 8U)); 6309 .loc 1 3113 3 is_stmt 1 view .LVU2051 3113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Selection | (sConfig->IC2Selection << 8U)); 6310 .loc 1 3113 12 is_stmt 0 view .LVU2052 6311 003c 22F44072 bic r2, r2, #768 6312 .LVL487: 3113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Selection | (sConfig->IC2Selection << 8U)); 6313 .loc 1 3113 12 view .LVU2053 6314 0040 22F00302 bic r2, r2, #3 6315 .LVL488: 3114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6316 .loc 1 3114 3 is_stmt 1 view .LVU2054 3114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6317 .loc 1 3114 23 is_stmt 0 view .LVU2055 6318 0044 AB68 ldr r3, [r5, #8] 3114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6319 .loc 1 3114 38 view .LVU2056 6320 0046 AF69 ldr r7, [r5, #24] 6321 0048 43EA0723 orr r3, r3, r7, lsl #8 3114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6322 .loc 1 3114 12 view .LVU2057 6323 004c 1343 orrs r3, r3, r2 6324 .LVL489: 3117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 &= ~(TIM_CCMR1_IC1F | TIM_CCMR1_IC2F); 6325 .loc 1 3117 3 is_stmt 1 view .LVU2058 ARM GAS /tmp/ccGjXOU1.s page 278 3118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= sConfig->IC1Prescaler | (sConfig->IC2Prescaler << 8U); 6326 .loc 1 3118 3 view .LVU2059 3118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= sConfig->IC1Prescaler | (sConfig->IC2Prescaler << 8U); 6327 .loc 1 3118 12 is_stmt 0 view .LVU2060 6328 004e 23F47C43 bic r3, r3, #64512 6329 .LVL490: 3118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= sConfig->IC1Prescaler | (sConfig->IC2Prescaler << 8U); 6330 .loc 1 3118 12 view .LVU2061 6331 0052 23F0FC03 bic r3, r3, #252 6332 .LVL491: 3119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Filter << 4U) | (sConfig->IC2Filter << 12U); 6333 .loc 1 3119 3 is_stmt 1 view .LVU2062 3119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Filter << 4U) | (sConfig->IC2Filter << 12U); 6334 .loc 1 3119 22 is_stmt 0 view .LVU2063 6335 0056 EA68 ldr r2, [r5, #12] 3119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Filter << 4U) | (sConfig->IC2Filter << 12U); 6336 .loc 1 3119 37 view .LVU2064 6337 0058 EF69 ldr r7, [r5, #28] 6338 005a 42EA0722 orr r2, r2, r7, lsl #8 3119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Filter << 4U) | (sConfig->IC2Filter << 12U); 6339 .loc 1 3119 12 view .LVU2065 6340 005e 1A43 orrs r2, r2, r3 6341 .LVL492: 3120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6342 .loc 1 3120 3 is_stmt 1 view .LVU2066 3120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6343 .loc 1 3120 52 is_stmt 0 view .LVU2067 6344 0060 2B6A ldr r3, [r5, #32] 3120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6345 .loc 1 3120 64 view .LVU2068 6346 0062 1B03 lsls r3, r3, #12 3120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6347 .loc 1 3120 42 view .LVU2069 6348 0064 2F69 ldr r7, [r5, #16] 6349 0066 43EA0713 orr r3, r3, r7, lsl #4 3120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6350 .loc 1 3120 12 view .LVU2070 6351 006a 1343 orrs r3, r3, r2 6352 .LVL493: 3123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC1NP | TIM_CCER_CC2NP); 6353 .loc 1 3123 3 is_stmt 1 view .LVU2071 3124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= sConfig->IC1Polarity | (sConfig->IC2Polarity << 4U); 6354 .loc 1 3124 3 view .LVU2072 3124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= sConfig->IC1Polarity | (sConfig->IC2Polarity << 4U); 6355 .loc 1 3124 11 is_stmt 0 view .LVU2073 6356 006c 26F0AA06 bic r6, r6, #170 6357 .LVL494: 3125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6358 .loc 1 3125 3 is_stmt 1 view .LVU2074 3125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6359 .loc 1 3125 21 is_stmt 0 view .LVU2075 6360 0070 6A68 ldr r2, [r5, #4] 3125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6361 .loc 1 3125 45 view .LVU2076 6362 0072 6D69 ldr r5, [r5, #20] 6363 .LVL495: 3125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 279 6364 .loc 1 3125 35 view .LVU2077 6365 0074 42EA0512 orr r2, r2, r5, lsl #4 3125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6366 .loc 1 3125 11 view .LVU2078 6367 0078 3243 orrs r2, r2, r6 6368 .LVL496: 3128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6369 .loc 1 3128 3 is_stmt 1 view .LVU2079 3128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6370 .loc 1 3128 24 is_stmt 0 view .LVU2080 6371 007a 8860 str r0, [r1, #8] 3131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6372 .loc 1 3131 3 is_stmt 1 view .LVU2081 3131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6373 .loc 1 3131 7 is_stmt 0 view .LVU2082 6374 007c 2168 ldr r1, [r4] 3131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6375 .loc 1 3131 25 view .LVU2083 6376 007e 8B61 str r3, [r1, #24] 3134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6377 .loc 1 3134 3 is_stmt 1 view .LVU2084 3134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6378 .loc 1 3134 7 is_stmt 0 view .LVU2085 6379 0080 2368 ldr r3, [r4] 6380 .LVL497: 3134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6381 .loc 1 3134 24 view .LVU2086 6382 0082 1A62 str r2, [r3, #32] 6383 .LVL498: 3137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6384 .loc 1 3137 3 is_stmt 1 view .LVU2087 3137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6385 .loc 1 3137 23 is_stmt 0 view .LVU2088 6386 0084 0123 movs r3, #1 6387 0086 84F84830 strb r3, [r4, #72] 3140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 6388 .loc 1 3140 3 is_stmt 1 view .LVU2089 6389 008a 84F83E30 strb r3, [r4, #62] 3141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 6390 .loc 1 3141 3 view .LVU2090 6391 008e 84F83F30 strb r3, [r4, #63] 3142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 6392 .loc 1 3142 3 view .LVU2091 6393 0092 84F84430 strb r3, [r4, #68] 3143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6394 .loc 1 3143 3 view .LVU2092 6395 0096 84F84530 strb r3, [r4, #69] 3146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6396 .loc 1 3146 3 view .LVU2093 3146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6397 .loc 1 3146 15 is_stmt 0 view .LVU2094 6398 009a 84F83D30 strb r3, [r4, #61] 3148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6399 .loc 1 3148 3 is_stmt 1 view .LVU2095 3148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6400 .loc 1 3148 10 is_stmt 0 view .LVU2096 6401 009e 0020 movs r0, #0 ARM GAS /tmp/ccGjXOU1.s page 280 6402 .LVL499: 3149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6403 .loc 1 3149 1 view .LVU2097 6404 00a0 F8BD pop {r3, r4, r5, r6, r7, pc} 6405 .LVL500: 6406 .L394: 3073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6407 .loc 1 3073 5 is_stmt 1 view .LVU2098 3073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6408 .loc 1 3073 16 is_stmt 0 view .LVU2099 6409 00a2 80F83C30 strb r3, [r0, #60] 3087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6410 .loc 1 3087 5 is_stmt 1 view .LVU2100 6411 00a6 FFF7FEFF bl HAL_TIM_Encoder_MspInit 6412 .LVL501: 3087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6413 .loc 1 3087 5 is_stmt 0 view .LVU2101 6414 00aa B2E7 b .L388 6415 .LVL502: 6416 .L389: 6417 .LCFI59: 6418 .cfi_def_cfa_offset 0 6419 .cfi_restore 3 6420 .cfi_restore 4 6421 .cfi_restore 5 6422 .cfi_restore 6 6423 .cfi_restore 7 6424 .cfi_restore 14 3051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6425 .loc 1 3051 12 view .LVU2102 6426 00ac 0120 movs r0, #1 6427 .LVL503: 3149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6428 .loc 1 3149 1 view .LVU2103 6429 00ae 7047 bx lr 6430 .cfi_endproc 6431 .LFE377: 6433 .section .text.TIM_OC2_SetConfig,"ax",%progbits 6434 .align 1 6435 .global TIM_OC2_SetConfig 6436 .syntax unified 6437 .thumb 6438 .thumb_func 6440 TIM_OC2_SetConfig: 6441 .LVL504: 6442 .LFB435: 7240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmrx; 6443 .loc 1 7240 1 is_stmt 1 view -0 6444 .cfi_startproc 6445 @ args = 0, pretend = 0, frame = 0 6446 @ frame_needed = 0, uses_anonymous_args = 0 6447 @ link register save eliminated. 7240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmrx; 6448 .loc 1 7240 1 is_stmt 0 view .LVU2105 6449 0000 30B4 push {r4, r5} 6450 .LCFI60: 6451 .cfi_def_cfa_offset 8 ARM GAS /tmp/ccGjXOU1.s page 281 6452 .cfi_offset 4, -8 6453 .cfi_offset 5, -4 7241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 6454 .loc 1 7241 3 is_stmt 1 view .LVU2106 7242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpcr2; 6455 .loc 1 7242 3 view .LVU2107 7243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6456 .loc 1 7243 3 view .LVU2108 7246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6457 .loc 1 7246 3 view .LVU2109 7246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6458 .loc 1 7246 11 is_stmt 0 view .LVU2110 6459 0002 036A ldr r3, [r0, #32] 6460 .LVL505: 7249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6461 .loc 1 7249 3 is_stmt 1 view .LVU2111 7249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6462 .loc 1 7249 7 is_stmt 0 view .LVU2112 6463 0004 026A ldr r2, [r0, #32] 7249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6464 .loc 1 7249 14 view .LVU2113 6465 0006 22F01002 bic r2, r2, #16 6466 000a 0262 str r2, [r0, #32] 7252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6467 .loc 1 7252 3 is_stmt 1 view .LVU2114 7252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6468 .loc 1 7252 10 is_stmt 0 view .LVU2115 6469 000c 4468 ldr r4, [r0, #4] 6470 .LVL506: 7255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6471 .loc 1 7255 3 is_stmt 1 view .LVU2116 7255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6472 .loc 1 7255 12 is_stmt 0 view .LVU2117 6473 000e 8269 ldr r2, [r0, #24] 6474 .LVL507: 7258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR1_CC2S; 6475 .loc 1 7258 3 is_stmt 1 view .LVU2118 7259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6476 .loc 1 7259 3 view .LVU2119 7259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6477 .loc 1 7259 12 is_stmt 0 view .LVU2120 6478 0010 22F08072 bic r2, r2, #16777216 6479 .LVL508: 7259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6480 .loc 1 7259 12 view .LVU2121 6481 0014 22F4E642 bic r2, r2, #29440 6482 .LVL509: 7262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6483 .loc 1 7262 3 is_stmt 1 view .LVU2122 7262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6484 .loc 1 7262 25 is_stmt 0 view .LVU2123 6485 0018 0D68 ldr r5, [r1] 7262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6486 .loc 1 7262 12 view .LVU2124 6487 001a 42EA0522 orr r2, r2, r5, lsl #8 6488 .LVL510: 7265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Compare Polarity */ ARM GAS /tmp/ccGjXOU1.s page 282 6489 .loc 1 7265 3 is_stmt 1 view .LVU2125 7265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Compare Polarity */ 6490 .loc 1 7265 11 is_stmt 0 view .LVU2126 6491 001e 23F02003 bic r3, r3, #32 6492 .LVL511: 7267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6493 .loc 1 7267 3 is_stmt 1 view .LVU2127 7267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6494 .loc 1 7267 24 is_stmt 0 view .LVU2128 6495 0022 8D68 ldr r5, [r1, #8] 7267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6496 .loc 1 7267 11 view .LVU2129 6497 0024 43EA0513 orr r3, r3, r5, lsl #4 6498 .LVL512: 7269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6499 .loc 1 7269 3 is_stmt 1 view .LVU2130 7269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6500 .loc 1 7269 6 is_stmt 0 view .LVU2131 6501 0028 174D ldr r5, .L401 6502 002a A842 cmp r0, r5 6503 002c 03D0 beq .L396 7269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6504 .loc 1 7269 7 discriminator 1 view .LVU2132 6505 002e 05F50065 add r5, r5, #2048 6506 0032 A842 cmp r0, r5 6507 0034 06D1 bne .L397 6508 .L396: 7271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6509 .loc 1 7271 5 is_stmt 1 view .LVU2133 7274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Polarity */ 6510 .loc 1 7274 5 view .LVU2134 7274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Polarity */ 6511 .loc 1 7274 13 is_stmt 0 view .LVU2135 6512 0036 23F08003 bic r3, r3, #128 6513 .LVL513: 7276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output N State */ 6514 .loc 1 7276 5 is_stmt 1 view .LVU2136 7276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output N State */ 6515 .loc 1 7276 26 is_stmt 0 view .LVU2137 6516 003a CD68 ldr r5, [r1, #12] 7276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output N State */ 6517 .loc 1 7276 13 view .LVU2138 6518 003c 43EA0513 orr r3, r3, r5, lsl #4 6519 .LVL514: 7278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6520 .loc 1 7278 5 is_stmt 1 view .LVU2139 7278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6521 .loc 1 7278 13 is_stmt 0 view .LVU2140 6522 0040 23F04003 bic r3, r3, #64 6523 .LVL515: 6524 .L397: 7281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6525 .loc 1 7281 3 is_stmt 1 view .LVU2141 7281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6526 .loc 1 7281 6 is_stmt 0 view .LVU2142 6527 0044 104D ldr r5, .L401 6528 0046 A842 cmp r0, r5 ARM GAS /tmp/ccGjXOU1.s page 283 6529 0048 0FD0 beq .L398 7281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6530 .loc 1 7281 7 discriminator 1 view .LVU2143 6531 004a 05F50065 add r5, r5, #2048 6532 004e A842 cmp r0, r5 6533 0050 0BD0 beq .L398 7281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6534 .loc 1 7281 7 discriminator 2 view .LVU2144 6535 0052 05F54065 add r5, r5, #3072 6536 0056 A842 cmp r0, r5 6537 0058 07D0 beq .L398 7281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6538 .loc 1 7281 7 discriminator 3 view .LVU2145 6539 005a 05F58065 add r5, r5, #1024 6540 005e A842 cmp r0, r5 6541 0060 03D0 beq .L398 7281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6542 .loc 1 7281 7 discriminator 4 view .LVU2146 6543 0062 05F58065 add r5, r5, #1024 6544 0066 A842 cmp r0, r5 6545 0068 07D1 bne .L399 6546 .L398: 7284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState)); 6547 .loc 1 7284 5 is_stmt 1 view .LVU2147 7285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6548 .loc 1 7285 5 view .LVU2148 7288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS2N; 6549 .loc 1 7288 5 view .LVU2149 6550 .LVL516: 7289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Idle state */ 6551 .loc 1 7289 5 view .LVU2150 7289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Idle state */ 6552 .loc 1 7289 12 is_stmt 0 view .LVU2151 6553 006a 24F4406C bic ip, r4, #3072 6554 .LVL517: 7291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Idle state */ 6555 .loc 1 7291 5 is_stmt 1 view .LVU2152 7291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Idle state */ 6556 .loc 1 7291 25 is_stmt 0 view .LVU2153 6557 006e 4C69 ldr r4, [r1, #20] 7291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Idle state */ 6558 .loc 1 7291 12 view .LVU2154 6559 0070 4CEA840C orr ip, ip, r4, lsl #2 6560 .LVL518: 7293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6561 .loc 1 7293 5 is_stmt 1 view .LVU2155 7293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6562 .loc 1 7293 25 is_stmt 0 view .LVU2156 6563 0074 8C69 ldr r4, [r1, #24] 7293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6564 .loc 1 7293 12 view .LVU2157 6565 0076 4CEA8404 orr r4, ip, r4, lsl #2 6566 .LVL519: 6567 .L399: 7297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6568 .loc 1 7297 3 is_stmt 1 view .LVU2158 7297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 284 6569 .loc 1 7297 13 is_stmt 0 view .LVU2159 6570 007a 4460 str r4, [r0, #4] 7300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6571 .loc 1 7300 3 is_stmt 1 view .LVU2160 7300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6572 .loc 1 7300 15 is_stmt 0 view .LVU2161 6573 007c 8261 str r2, [r0, #24] 7303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6574 .loc 1 7303 3 is_stmt 1 view .LVU2162 7303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6575 .loc 1 7303 25 is_stmt 0 view .LVU2163 6576 007e 4A68 ldr r2, [r1, #4] 6577 .LVL520: 7303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6578 .loc 1 7303 14 view .LVU2164 6579 0080 8263 str r2, [r0, #56] 6580 .LVL521: 7306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6581 .loc 1 7306 3 is_stmt 1 view .LVU2165 7306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6582 .loc 1 7306 14 is_stmt 0 view .LVU2166 6583 0082 0362 str r3, [r0, #32] 7307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6584 .loc 1 7307 1 view .LVU2167 6585 0084 30BC pop {r4, r5} 6586 .LCFI61: 6587 .cfi_restore 5 6588 .cfi_restore 4 6589 .cfi_def_cfa_offset 0 6590 .LVL522: 7307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6591 .loc 1 7307 1 view .LVU2168 6592 0086 7047 bx lr 6593 .L402: 6594 .align 2 6595 .L401: 6596 0088 002C0140 .word 1073818624 6597 .cfi_endproc 6598 .LFE435: 6600 .section .text.HAL_TIM_OC_ConfigChannel,"ax",%progbits 6601 .align 1 6602 .global HAL_TIM_OC_ConfigChannel 6603 .syntax unified 6604 .thumb 6605 .thumb_func 6607 HAL_TIM_OC_ConfigChannel: 6608 .LVL523: 6609 .LFB388: 4135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 6610 .loc 1 4135 1 is_stmt 1 view -0 6611 .cfi_startproc 6612 @ args = 0, pretend = 0, frame = 0 6613 @ frame_needed = 0, uses_anonymous_args = 0 4136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6614 .loc 1 4136 3 view .LVU2170 4139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OC_CHANNEL_MODE(sConfig->OCMode, Channel)); 6615 .loc 1 4139 3 view .LVU2171 ARM GAS /tmp/ccGjXOU1.s page 285 4140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OC_POLARITY(sConfig->OCPolarity)); 6616 .loc 1 4140 3 view .LVU2172 4141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6617 .loc 1 4141 3 view .LVU2173 4144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6618 .loc 1 4144 3 view .LVU2174 4144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6619 .loc 1 4144 3 view .LVU2175 6620 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 6621 0004 012B cmp r3, #1 6622 0006 36D0 beq .L413 4135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 6623 .loc 1 4135 1 is_stmt 0 view .LVU2176 6624 0008 10B5 push {r4, lr} 6625 .LCFI62: 6626 .cfi_def_cfa_offset 8 6627 .cfi_offset 4, -8 6628 .cfi_offset 14, -4 6629 000a 0446 mov r4, r0 4144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6630 .loc 1 4144 3 is_stmt 1 discriminator 2 view .LVU2177 6631 000c 0123 movs r3, #1 6632 000e 80F83C30 strb r3, [r0, #60] 4144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6633 .loc 1 4144 3 view .LVU2178 4146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6634 .loc 1 4146 3 view .LVU2179 6635 0012 142A cmp r2, #20 6636 0014 2AD8 bhi .L414 6637 0016 DFE802F0 tbb [pc, r2] 6638 .L407: 6639 001a 0B .byte (.L412-.L407)/2 6640 001b 29 .byte (.L414-.L407)/2 6641 001c 29 .byte (.L414-.L407)/2 6642 001d 29 .byte (.L414-.L407)/2 6643 001e 10 .byte (.L411-.L407)/2 6644 001f 29 .byte (.L414-.L407)/2 6645 0020 29 .byte (.L414-.L407)/2 6646 0021 29 .byte (.L414-.L407)/2 6647 0022 15 .byte (.L410-.L407)/2 6648 0023 29 .byte (.L414-.L407)/2 6649 0024 29 .byte (.L414-.L407)/2 6650 0025 29 .byte (.L414-.L407)/2 6651 0026 1A .byte (.L409-.L407)/2 6652 0027 29 .byte (.L414-.L407)/2 6653 0028 29 .byte (.L414-.L407)/2 6654 0029 29 .byte (.L414-.L407)/2 6655 002a 1F .byte (.L408-.L407)/2 6656 002b 29 .byte (.L414-.L407)/2 6657 002c 29 .byte (.L414-.L407)/2 6658 002d 29 .byte (.L414-.L407)/2 6659 002e 24 .byte (.L406-.L407)/2 6660 002f 00 .p2align 1 6661 .L412: 4151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6662 .loc 1 4151 7 view .LVU2180 4154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; ARM GAS /tmp/ccGjXOU1.s page 286 6663 .loc 1 4154 7 view .LVU2181 6664 0030 0068 ldr r0, [r0] 6665 .LVL524: 4154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6666 .loc 1 4154 7 is_stmt 0 view .LVU2182 6667 0032 FFF7FEFF bl TIM_OC1_SetConfig 6668 .LVL525: 4155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6669 .loc 1 4155 7 is_stmt 1 view .LVU2183 4136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6670 .loc 1 4136 21 is_stmt 0 view .LVU2184 6671 0036 0020 movs r0, #0 4155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6672 .loc 1 4155 7 view .LVU2185 6673 0038 19E0 b .L405 6674 .LVL526: 6675 .L411: 4161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6676 .loc 1 4161 7 is_stmt 1 view .LVU2186 4164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6677 .loc 1 4164 7 view .LVU2187 6678 003a 0068 ldr r0, [r0] 6679 .LVL527: 4164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6680 .loc 1 4164 7 is_stmt 0 view .LVU2188 6681 003c FFF7FEFF bl TIM_OC2_SetConfig 6682 .LVL528: 4165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6683 .loc 1 4165 7 is_stmt 1 view .LVU2189 4136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6684 .loc 1 4136 21 is_stmt 0 view .LVU2190 6685 0040 0020 movs r0, #0 4165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6686 .loc 1 4165 7 view .LVU2191 6687 0042 14E0 b .L405 6688 .LVL529: 6689 .L410: 4171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6690 .loc 1 4171 7 is_stmt 1 view .LVU2192 4174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6691 .loc 1 4174 7 view .LVU2193 6692 0044 0068 ldr r0, [r0] 6693 .LVL530: 4174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6694 .loc 1 4174 7 is_stmt 0 view .LVU2194 6695 0046 FFF7FEFF bl TIM_OC3_SetConfig 6696 .LVL531: 4175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6697 .loc 1 4175 7 is_stmt 1 view .LVU2195 4136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6698 .loc 1 4136 21 is_stmt 0 view .LVU2196 6699 004a 0020 movs r0, #0 4175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6700 .loc 1 4175 7 view .LVU2197 6701 004c 0FE0 b .L405 6702 .LVL532: 6703 .L409: ARM GAS /tmp/ccGjXOU1.s page 287 4181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6704 .loc 1 4181 7 is_stmt 1 view .LVU2198 4184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6705 .loc 1 4184 7 view .LVU2199 6706 004e 0068 ldr r0, [r0] 6707 .LVL533: 4184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6708 .loc 1 4184 7 is_stmt 0 view .LVU2200 6709 0050 FFF7FEFF bl TIM_OC4_SetConfig 6710 .LVL534: 4185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6711 .loc 1 4185 7 is_stmt 1 view .LVU2201 4136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6712 .loc 1 4136 21 is_stmt 0 view .LVU2202 6713 0054 0020 movs r0, #0 4185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6714 .loc 1 4185 7 view .LVU2203 6715 0056 0AE0 b .L405 6716 .LVL535: 6717 .L408: 4191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6718 .loc 1 4191 7 is_stmt 1 view .LVU2204 4194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6719 .loc 1 4194 7 view .LVU2205 6720 0058 0068 ldr r0, [r0] 6721 .LVL536: 4194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6722 .loc 1 4194 7 is_stmt 0 view .LVU2206 6723 005a FFF7FEFF bl TIM_OC5_SetConfig 6724 .LVL537: 4195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6725 .loc 1 4195 7 is_stmt 1 view .LVU2207 4136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6726 .loc 1 4136 21 is_stmt 0 view .LVU2208 6727 005e 0020 movs r0, #0 4195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6728 .loc 1 4195 7 view .LVU2209 6729 0060 05E0 b .L405 6730 .LVL538: 6731 .L406: 4201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6732 .loc 1 4201 7 is_stmt 1 view .LVU2210 4204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6733 .loc 1 4204 7 view .LVU2211 6734 0062 0068 ldr r0, [r0] 6735 .LVL539: 4204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6736 .loc 1 4204 7 is_stmt 0 view .LVU2212 6737 0064 FFF7FEFF bl TIM_OC6_SetConfig 6738 .LVL540: 4205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6739 .loc 1 4205 7 is_stmt 1 view .LVU2213 4136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6740 .loc 1 4136 21 is_stmt 0 view .LVU2214 6741 0068 0020 movs r0, #0 4205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6742 .loc 1 4205 7 view .LVU2215 ARM GAS /tmp/ccGjXOU1.s page 288 6743 006a 00E0 b .L405 6744 .LVL541: 6745 .L414: 4146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6746 .loc 1 4146 3 view .LVU2216 6747 006c 0120 movs r0, #1 6748 .LVL542: 6749 .L405: 4213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6750 .loc 1 4213 3 is_stmt 1 view .LVU2217 4213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6751 .loc 1 4213 3 view .LVU2218 6752 006e 0023 movs r3, #0 6753 0070 84F83C30 strb r3, [r4, #60] 4213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6754 .loc 1 4213 3 view .LVU2219 4215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6755 .loc 1 4215 3 view .LVU2220 4216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6756 .loc 1 4216 1 is_stmt 0 view .LVU2221 6757 0074 10BD pop {r4, pc} 6758 .LVL543: 6759 .L413: 6760 .LCFI63: 6761 .cfi_def_cfa_offset 0 6762 .cfi_restore 4 6763 .cfi_restore 14 4144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6764 .loc 1 4144 3 discriminator 1 view .LVU2222 6765 0076 0220 movs r0, #2 6766 .LVL544: 4216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6767 .loc 1 4216 1 view .LVU2223 6768 0078 7047 bx lr 6769 .cfi_endproc 6770 .LFE388: 6772 .section .text.HAL_TIM_PWM_ConfigChannel,"ax",%progbits 6773 .align 1 6774 .global HAL_TIM_PWM_ConfigChannel 6775 .syntax unified 6776 .thumb 6777 .thumb_func 6779 HAL_TIM_PWM_ConfigChannel: 6780 .LVL545: 6781 .LFB390: 4335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 6782 .loc 1 4335 1 is_stmt 1 view -0 6783 .cfi_startproc 6784 @ args = 0, pretend = 0, frame = 0 6785 @ frame_needed = 0, uses_anonymous_args = 0 4335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 6786 .loc 1 4335 1 is_stmt 0 view .LVU2225 6787 0000 38B5 push {r3, r4, r5, lr} 6788 .LCFI64: 6789 .cfi_def_cfa_offset 16 6790 .cfi_offset 3, -16 6791 .cfi_offset 4, -12 ARM GAS /tmp/ccGjXOU1.s page 289 6792 .cfi_offset 5, -8 6793 .cfi_offset 14, -4 4336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6794 .loc 1 4336 3 is_stmt 1 view .LVU2226 6795 .LVL546: 4339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_PWM_MODE(sConfig->OCMode)); 6796 .loc 1 4339 3 view .LVU2227 4340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OC_POLARITY(sConfig->OCPolarity)); 6797 .loc 1 4340 3 view .LVU2228 4341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_FAST_STATE(sConfig->OCFastMode)); 6798 .loc 1 4341 3 view .LVU2229 4342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6799 .loc 1 4342 3 view .LVU2230 4345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6800 .loc 1 4345 3 view .LVU2231 4345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6801 .loc 1 4345 3 view .LVU2232 6802 0002 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 6803 0006 012B cmp r3, #1 6804 0008 00F09580 beq .L429 6805 000c 0446 mov r4, r0 6806 000e 0D46 mov r5, r1 4345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6807 .loc 1 4345 3 discriminator 2 view .LVU2233 6808 0010 0123 movs r3, #1 6809 0012 80F83C30 strb r3, [r0, #60] 4345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6810 .loc 1 4345 3 view .LVU2234 4347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6811 .loc 1 4347 3 view .LVU2235 6812 0016 142A cmp r2, #20 6813 0018 00F28880 bhi .L430 6814 001c DFE802F0 tbb [pc, r2] 6815 .L423: 6816 0020 0B .byte (.L428-.L423)/2 6817 0021 86 .byte (.L430-.L423)/2 6818 0022 86 .byte (.L430-.L423)/2 6819 0023 86 .byte (.L430-.L423)/2 6820 0024 1F .byte (.L427-.L423)/2 6821 0025 86 .byte (.L430-.L423)/2 6822 0026 86 .byte (.L430-.L423)/2 6823 0027 86 .byte (.L430-.L423)/2 6824 0028 34 .byte (.L426-.L423)/2 6825 0029 86 .byte (.L430-.L423)/2 6826 002a 86 .byte (.L430-.L423)/2 6827 002b 86 .byte (.L430-.L423)/2 6828 002c 48 .byte (.L425-.L423)/2 6829 002d 86 .byte (.L430-.L423)/2 6830 002e 86 .byte (.L430-.L423)/2 6831 002f 86 .byte (.L430-.L423)/2 6832 0030 5D .byte (.L424-.L423)/2 6833 0031 86 .byte (.L430-.L423)/2 6834 0032 86 .byte (.L430-.L423)/2 6835 0033 86 .byte (.L430-.L423)/2 6836 0034 71 .byte (.L422-.L423)/2 6837 0035 00 .p2align 1 6838 .L428: ARM GAS /tmp/ccGjXOU1.s page 290 4352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6839 .loc 1 4352 7 view .LVU2236 4355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6840 .loc 1 4355 7 view .LVU2237 6841 0036 0068 ldr r0, [r0] 6842 .LVL547: 4355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6843 .loc 1 4355 7 is_stmt 0 view .LVU2238 6844 0038 FFF7FEFF bl TIM_OC1_SetConfig 6845 .LVL548: 4358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6846 .loc 1 4358 7 is_stmt 1 view .LVU2239 4358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6847 .loc 1 4358 11 is_stmt 0 view .LVU2240 6848 003c 2268 ldr r2, [r4] 4358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6849 .loc 1 4358 21 view .LVU2241 6850 003e 9369 ldr r3, [r2, #24] 4358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6851 .loc 1 4358 29 view .LVU2242 6852 0040 43F00803 orr r3, r3, #8 6853 0044 9361 str r3, [r2, #24] 4361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode; 6854 .loc 1 4361 7 is_stmt 1 view .LVU2243 4361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode; 6855 .loc 1 4361 11 is_stmt 0 view .LVU2244 6856 0046 2268 ldr r2, [r4] 4361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode; 6857 .loc 1 4361 21 view .LVU2245 6858 0048 9369 ldr r3, [r2, #24] 4361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode; 6859 .loc 1 4361 29 view .LVU2246 6860 004a 23F00403 bic r3, r3, #4 6861 004e 9361 str r3, [r2, #24] 4362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6862 .loc 1 4362 7 is_stmt 1 view .LVU2247 4362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6863 .loc 1 4362 11 is_stmt 0 view .LVU2248 6864 0050 2268 ldr r2, [r4] 4362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6865 .loc 1 4362 21 view .LVU2249 6866 0052 9369 ldr r3, [r2, #24] 4362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6867 .loc 1 4362 39 view .LVU2250 6868 0054 2969 ldr r1, [r5, #16] 4362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6869 .loc 1 4362 29 view .LVU2251 6870 0056 0B43 orrs r3, r3, r1 6871 0058 9361 str r3, [r2, #24] 4363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6872 .loc 1 4363 7 is_stmt 1 view .LVU2252 4336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6873 .loc 1 4336 21 is_stmt 0 view .LVU2253 6874 005a 0020 movs r0, #0 4363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6875 .loc 1 4363 7 view .LVU2254 6876 005c 67E0 b .L421 ARM GAS /tmp/ccGjXOU1.s page 291 6877 .LVL549: 6878 .L427: 4369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6879 .loc 1 4369 7 is_stmt 1 view .LVU2255 4372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6880 .loc 1 4372 7 view .LVU2256 6881 005e 0068 ldr r0, [r0] 6882 .LVL550: 4372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6883 .loc 1 4372 7 is_stmt 0 view .LVU2257 6884 0060 FFF7FEFF bl TIM_OC2_SetConfig 6885 .LVL551: 4375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6886 .loc 1 4375 7 is_stmt 1 view .LVU2258 4375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6887 .loc 1 4375 11 is_stmt 0 view .LVU2259 6888 0064 2268 ldr r2, [r4] 4375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6889 .loc 1 4375 21 view .LVU2260 6890 0066 9369 ldr r3, [r2, #24] 4375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6891 .loc 1 4375 29 view .LVU2261 6892 0068 43F40063 orr r3, r3, #2048 6893 006c 9361 str r3, [r2, #24] 4378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode << 8U; 6894 .loc 1 4378 7 is_stmt 1 view .LVU2262 4378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode << 8U; 6895 .loc 1 4378 11 is_stmt 0 view .LVU2263 6896 006e 2268 ldr r2, [r4] 4378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode << 8U; 6897 .loc 1 4378 21 view .LVU2264 6898 0070 9369 ldr r3, [r2, #24] 4378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode << 8U; 6899 .loc 1 4378 29 view .LVU2265 6900 0072 23F48063 bic r3, r3, #1024 6901 0076 9361 str r3, [r2, #24] 4379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6902 .loc 1 4379 7 is_stmt 1 view .LVU2266 4379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6903 .loc 1 4379 11 is_stmt 0 view .LVU2267 6904 0078 2268 ldr r2, [r4] 4379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6905 .loc 1 4379 21 view .LVU2268 6906 007a 9369 ldr r3, [r2, #24] 4379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6907 .loc 1 4379 39 view .LVU2269 6908 007c 2969 ldr r1, [r5, #16] 4379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6909 .loc 1 4379 29 view .LVU2270 6910 007e 43EA0123 orr r3, r3, r1, lsl #8 6911 0082 9361 str r3, [r2, #24] 4380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6912 .loc 1 4380 7 is_stmt 1 view .LVU2271 4336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6913 .loc 1 4336 21 is_stmt 0 view .LVU2272 6914 0084 0020 movs r0, #0 4380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/ccGjXOU1.s page 292 6915 .loc 1 4380 7 view .LVU2273 6916 0086 52E0 b .L421 6917 .LVL552: 6918 .L426: 4386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6919 .loc 1 4386 7 is_stmt 1 view .LVU2274 4389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6920 .loc 1 4389 7 view .LVU2275 6921 0088 0068 ldr r0, [r0] 6922 .LVL553: 4389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6923 .loc 1 4389 7 is_stmt 0 view .LVU2276 6924 008a FFF7FEFF bl TIM_OC3_SetConfig 6925 .LVL554: 4392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6926 .loc 1 4392 7 is_stmt 1 view .LVU2277 4392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6927 .loc 1 4392 11 is_stmt 0 view .LVU2278 6928 008e 2268 ldr r2, [r4] 4392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6929 .loc 1 4392 21 view .LVU2279 6930 0090 D369 ldr r3, [r2, #28] 4392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6931 .loc 1 4392 29 view .LVU2280 6932 0092 43F00803 orr r3, r3, #8 6933 0096 D361 str r3, [r2, #28] 4395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode; 6934 .loc 1 4395 7 is_stmt 1 view .LVU2281 4395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode; 6935 .loc 1 4395 11 is_stmt 0 view .LVU2282 6936 0098 2268 ldr r2, [r4] 4395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode; 6937 .loc 1 4395 21 view .LVU2283 6938 009a D369 ldr r3, [r2, #28] 4395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode; 6939 .loc 1 4395 29 view .LVU2284 6940 009c 23F00403 bic r3, r3, #4 6941 00a0 D361 str r3, [r2, #28] 4396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6942 .loc 1 4396 7 is_stmt 1 view .LVU2285 4396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6943 .loc 1 4396 11 is_stmt 0 view .LVU2286 6944 00a2 2268 ldr r2, [r4] 4396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6945 .loc 1 4396 21 view .LVU2287 6946 00a4 D369 ldr r3, [r2, #28] 4396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6947 .loc 1 4396 39 view .LVU2288 6948 00a6 2969 ldr r1, [r5, #16] 4396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6949 .loc 1 4396 29 view .LVU2289 6950 00a8 0B43 orrs r3, r3, r1 6951 00aa D361 str r3, [r2, #28] 4397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6952 .loc 1 4397 7 is_stmt 1 view .LVU2290 4336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6953 .loc 1 4336 21 is_stmt 0 view .LVU2291 ARM GAS /tmp/ccGjXOU1.s page 293 6954 00ac 0020 movs r0, #0 4397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6955 .loc 1 4397 7 view .LVU2292 6956 00ae 3EE0 b .L421 6957 .LVL555: 6958 .L425: 4403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6959 .loc 1 4403 7 is_stmt 1 view .LVU2293 4406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6960 .loc 1 4406 7 view .LVU2294 6961 00b0 0068 ldr r0, [r0] 6962 .LVL556: 4406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6963 .loc 1 4406 7 is_stmt 0 view .LVU2295 6964 00b2 FFF7FEFF bl TIM_OC4_SetConfig 6965 .LVL557: 4409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6966 .loc 1 4409 7 is_stmt 1 view .LVU2296 4409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6967 .loc 1 4409 11 is_stmt 0 view .LVU2297 6968 00b6 2268 ldr r2, [r4] 4409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6969 .loc 1 4409 21 view .LVU2298 6970 00b8 D369 ldr r3, [r2, #28] 4409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6971 .loc 1 4409 29 view .LVU2299 6972 00ba 43F40063 orr r3, r3, #2048 6973 00be D361 str r3, [r2, #28] 4412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode << 8U; 6974 .loc 1 4412 7 is_stmt 1 view .LVU2300 4412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode << 8U; 6975 .loc 1 4412 11 is_stmt 0 view .LVU2301 6976 00c0 2268 ldr r2, [r4] 4412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode << 8U; 6977 .loc 1 4412 21 view .LVU2302 6978 00c2 D369 ldr r3, [r2, #28] 4412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode << 8U; 6979 .loc 1 4412 29 view .LVU2303 6980 00c4 23F48063 bic r3, r3, #1024 6981 00c8 D361 str r3, [r2, #28] 4413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6982 .loc 1 4413 7 is_stmt 1 view .LVU2304 4413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6983 .loc 1 4413 11 is_stmt 0 view .LVU2305 6984 00ca 2268 ldr r2, [r4] 4413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6985 .loc 1 4413 21 view .LVU2306 6986 00cc D369 ldr r3, [r2, #28] 4413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6987 .loc 1 4413 39 view .LVU2307 6988 00ce 2969 ldr r1, [r5, #16] 4413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6989 .loc 1 4413 29 view .LVU2308 6990 00d0 43EA0123 orr r3, r3, r1, lsl #8 6991 00d4 D361 str r3, [r2, #28] 4414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6992 .loc 1 4414 7 is_stmt 1 view .LVU2309 ARM GAS /tmp/ccGjXOU1.s page 294 4336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6993 .loc 1 4336 21 is_stmt 0 view .LVU2310 6994 00d6 0020 movs r0, #0 4414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6995 .loc 1 4414 7 view .LVU2311 6996 00d8 29E0 b .L421 6997 .LVL558: 6998 .L424: 4420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6999 .loc 1 4420 7 is_stmt 1 view .LVU2312 4423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7000 .loc 1 4423 7 view .LVU2313 7001 00da 0068 ldr r0, [r0] 7002 .LVL559: 4423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7003 .loc 1 4423 7 is_stmt 0 view .LVU2314 7004 00dc FFF7FEFF bl TIM_OC5_SetConfig 7005 .LVL560: 4426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7006 .loc 1 4426 7 is_stmt 1 view .LVU2315 4426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7007 .loc 1 4426 11 is_stmt 0 view .LVU2316 7008 00e0 2268 ldr r2, [r4] 4426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7009 .loc 1 4426 21 view .LVU2317 7010 00e2 136D ldr r3, [r2, #80] 4426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7011 .loc 1 4426 29 view .LVU2318 7012 00e4 43F00803 orr r3, r3, #8 7013 00e8 1365 str r3, [r2, #80] 4429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode; 7014 .loc 1 4429 7 is_stmt 1 view .LVU2319 4429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode; 7015 .loc 1 4429 11 is_stmt 0 view .LVU2320 7016 00ea 2268 ldr r2, [r4] 4429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode; 7017 .loc 1 4429 21 view .LVU2321 7018 00ec 136D ldr r3, [r2, #80] 4429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode; 7019 .loc 1 4429 29 view .LVU2322 7020 00ee 23F00403 bic r3, r3, #4 7021 00f2 1365 str r3, [r2, #80] 4430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7022 .loc 1 4430 7 is_stmt 1 view .LVU2323 4430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7023 .loc 1 4430 11 is_stmt 0 view .LVU2324 7024 00f4 2268 ldr r2, [r4] 4430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7025 .loc 1 4430 21 view .LVU2325 7026 00f6 136D ldr r3, [r2, #80] 4430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7027 .loc 1 4430 39 view .LVU2326 7028 00f8 2969 ldr r1, [r5, #16] 4430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7029 .loc 1 4430 29 view .LVU2327 7030 00fa 0B43 orrs r3, r3, r1 7031 00fc 1365 str r3, [r2, #80] ARM GAS /tmp/ccGjXOU1.s page 295 4431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7032 .loc 1 4431 7 is_stmt 1 view .LVU2328 4336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7033 .loc 1 4336 21 is_stmt 0 view .LVU2329 7034 00fe 0020 movs r0, #0 4431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7035 .loc 1 4431 7 view .LVU2330 7036 0100 15E0 b .L421 7037 .LVL561: 7038 .L422: 4437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7039 .loc 1 4437 7 is_stmt 1 view .LVU2331 4440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7040 .loc 1 4440 7 view .LVU2332 7041 0102 0068 ldr r0, [r0] 7042 .LVL562: 4440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7043 .loc 1 4440 7 is_stmt 0 view .LVU2333 7044 0104 FFF7FEFF bl TIM_OC6_SetConfig 7045 .LVL563: 4443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7046 .loc 1 4443 7 is_stmt 1 view .LVU2334 4443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7047 .loc 1 4443 11 is_stmt 0 view .LVU2335 7048 0108 2268 ldr r2, [r4] 4443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7049 .loc 1 4443 21 view .LVU2336 7050 010a 136D ldr r3, [r2, #80] 4443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7051 .loc 1 4443 29 view .LVU2337 7052 010c 43F40063 orr r3, r3, #2048 7053 0110 1365 str r3, [r2, #80] 4446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode << 8U; 7054 .loc 1 4446 7 is_stmt 1 view .LVU2338 4446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode << 8U; 7055 .loc 1 4446 11 is_stmt 0 view .LVU2339 7056 0112 2268 ldr r2, [r4] 4446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode << 8U; 7057 .loc 1 4446 21 view .LVU2340 7058 0114 136D ldr r3, [r2, #80] 4446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode << 8U; 7059 .loc 1 4446 29 view .LVU2341 7060 0116 23F48063 bic r3, r3, #1024 7061 011a 1365 str r3, [r2, #80] 4447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7062 .loc 1 4447 7 is_stmt 1 view .LVU2342 4447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7063 .loc 1 4447 11 is_stmt 0 view .LVU2343 7064 011c 2268 ldr r2, [r4] 4447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7065 .loc 1 4447 21 view .LVU2344 7066 011e 136D ldr r3, [r2, #80] 4447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7067 .loc 1 4447 39 view .LVU2345 7068 0120 2969 ldr r1, [r5, #16] 4447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7069 .loc 1 4447 29 view .LVU2346 ARM GAS /tmp/ccGjXOU1.s page 296 7070 0122 43EA0123 orr r3, r3, r1, lsl #8 7071 0126 1365 str r3, [r2, #80] 4448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7072 .loc 1 4448 7 is_stmt 1 view .LVU2347 4336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7073 .loc 1 4336 21 is_stmt 0 view .LVU2348 7074 0128 0020 movs r0, #0 4448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7075 .loc 1 4448 7 view .LVU2349 7076 012a 00E0 b .L421 7077 .LVL564: 7078 .L430: 4347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7079 .loc 1 4347 3 view .LVU2350 7080 012c 0120 movs r0, #1 7081 .LVL565: 7082 .L421: 4456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7083 .loc 1 4456 3 is_stmt 1 view .LVU2351 4456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7084 .loc 1 4456 3 view .LVU2352 7085 012e 0023 movs r3, #0 7086 0130 84F83C30 strb r3, [r4, #60] 4456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7087 .loc 1 4456 3 view .LVU2353 4458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7088 .loc 1 4458 3 view .LVU2354 7089 .LVL566: 7090 .L420: 4459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7091 .loc 1 4459 1 is_stmt 0 view .LVU2355 7092 0134 38BD pop {r3, r4, r5, pc} 7093 .LVL567: 7094 .L429: 4345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7095 .loc 1 4345 3 discriminator 1 view .LVU2356 7096 0136 0220 movs r0, #2 7097 .LVL568: 4345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7098 .loc 1 4345 3 discriminator 1 view .LVU2357 7099 0138 FCE7 b .L420 7100 .cfi_endproc 7101 .LFE390: 7103 .section .text.TIM_TI1_SetConfig,"ax",%progbits 7104 .align 1 7105 .global TIM_TI1_SetConfig 7106 .syntax unified 7107 .thumb 7108 .thumb_func 7110 TIM_TI1_SetConfig: 7111 .LVL569: 7112 .LFB441: 7728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr1; 7113 .loc 1 7728 1 is_stmt 1 view -0 7114 .cfi_startproc 7115 @ args = 0, pretend = 0, frame = 0 7116 @ frame_needed = 0, uses_anonymous_args = 0 ARM GAS /tmp/ccGjXOU1.s page 297 7117 @ link register save eliminated. 7728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr1; 7118 .loc 1 7728 1 is_stmt 0 view .LVU2359 7119 0000 70B4 push {r4, r5, r6} 7120 .LCFI65: 7121 .cfi_def_cfa_offset 12 7122 .cfi_offset 4, -12 7123 .cfi_offset 5, -8 7124 .cfi_offset 6, -4 7125 0002 9446 mov ip, r2 7729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 7126 .loc 1 7729 3 is_stmt 1 view .LVU2360 7730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7127 .loc 1 7730 3 view .LVU2361 7733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC1E; 7128 .loc 1 7733 3 view .LVU2362 7733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC1E; 7129 .loc 1 7733 11 is_stmt 0 view .LVU2363 7130 0004 066A ldr r6, [r0, #32] 7131 .LVL570: 7734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = TIMx->CCMR1; 7132 .loc 1 7734 3 is_stmt 1 view .LVU2364 7734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = TIMx->CCMR1; 7133 .loc 1 7734 7 is_stmt 0 view .LVU2365 7134 0006 046A ldr r4, [r0, #32] 7734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = TIMx->CCMR1; 7135 .loc 1 7734 14 view .LVU2366 7136 0008 24F00104 bic r4, r4, #1 7137 000c 0462 str r4, [r0, #32] 7735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7138 .loc 1 7735 3 is_stmt 1 view .LVU2367 7735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7139 .loc 1 7735 12 is_stmt 0 view .LVU2368 7140 000e 8469 ldr r4, [r0, #24] 7141 .LVL571: 7738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7142 .loc 1 7738 3 is_stmt 1 view .LVU2369 7738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7143 .loc 1 7738 7 is_stmt 0 view .LVU2370 7144 0010 144D ldr r5, .L436 7145 0012 A842 cmp r0, r5 7146 0014 14D0 beq .L433 7738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7147 .loc 1 7738 7 discriminator 2 view .LVU2371 7148 0016 B0F1804F cmp r0, #1073741824 7149 001a 11D0 beq .L433 7738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7150 .loc 1 7738 7 discriminator 4 view .LVU2372 7151 001c 124A ldr r2, .L436+4 7152 .LVL572: 7738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7153 .loc 1 7738 7 discriminator 4 view .LVU2373 7154 001e 9042 cmp r0, r2 7155 0020 0ED0 beq .L433 7738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7156 .loc 1 7738 7 discriminator 6 view .LVU2374 7157 0022 02F58062 add r2, r2, #1024 ARM GAS /tmp/ccGjXOU1.s page 298 7158 0026 9042 cmp r0, r2 7159 0028 0AD0 beq .L433 7738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7160 .loc 1 7738 7 discriminator 8 view .LVU2375 7161 002a 02F59632 add r2, r2, #76800 7162 002e 9042 cmp r0, r2 7163 0030 06D0 beq .L433 7738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7164 .loc 1 7738 7 discriminator 10 view .LVU2376 7165 0032 02F54062 add r2, r2, #3072 7166 0036 9042 cmp r0, r2 7167 0038 02D0 beq .L433 7745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7168 .loc 1 7745 5 is_stmt 1 view .LVU2377 7745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7169 .loc 1 7745 14 is_stmt 0 view .LVU2378 7170 003a 44F00102 orr r2, r4, #1 7171 .LVL573: 7745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7172 .loc 1 7745 14 view .LVU2379 7173 003e 03E0 b .L434 7174 .LVL574: 7175 .L433: 7740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= TIM_ICSelection; 7176 .loc 1 7740 5 is_stmt 1 view .LVU2380 7740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= TIM_ICSelection; 7177 .loc 1 7740 14 is_stmt 0 view .LVU2381 7178 0040 24F00302 bic r2, r4, #3 7179 .LVL575: 7741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7180 .loc 1 7741 5 is_stmt 1 view .LVU2382 7741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7181 .loc 1 7741 14 is_stmt 0 view .LVU2383 7182 0044 42EA0C02 orr r2, r2, ip 7183 .LVL576: 7184 .L434: 7749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= ((TIM_ICFilter << 4U) & TIM_CCMR1_IC1F); 7185 .loc 1 7749 3 is_stmt 1 view .LVU2384 7749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= ((TIM_ICFilter << 4U) & TIM_CCMR1_IC1F); 7186 .loc 1 7749 12 is_stmt 0 view .LVU2385 7187 0048 22F0F002 bic r2, r2, #240 7188 .LVL577: 7750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7189 .loc 1 7750 3 is_stmt 1 view .LVU2386 7750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7190 .loc 1 7750 30 is_stmt 0 view .LVU2387 7191 004c 1B01 lsls r3, r3, #4 7192 .LVL578: 7750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7193 .loc 1 7750 37 view .LVU2388 7194 004e DBB2 uxtb r3, r3 7750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7195 .loc 1 7750 12 view .LVU2389 7196 0050 1343 orrs r3, r3, r2 7197 .LVL579: 7753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (TIM_ICPolarity & (TIM_CCER_CC1P | TIM_CCER_CC1NP)); 7198 .loc 1 7753 3 is_stmt 1 view .LVU2390 ARM GAS /tmp/ccGjXOU1.s page 299 7753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (TIM_ICPolarity & (TIM_CCER_CC1P | TIM_CCER_CC1NP)); 7199 .loc 1 7753 11 is_stmt 0 view .LVU2391 7200 0052 26F00A02 bic r2, r6, #10 7201 .LVL580: 7754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7202 .loc 1 7754 3 is_stmt 1 view .LVU2392 7754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7203 .loc 1 7754 30 is_stmt 0 view .LVU2393 7204 0056 01F00A01 and r1, r1, #10 7205 .LVL581: 7754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7206 .loc 1 7754 11 view .LVU2394 7207 005a 1143 orrs r1, r1, r2 7208 .LVL582: 7757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 7209 .loc 1 7757 3 is_stmt 1 view .LVU2395 7757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 7210 .loc 1 7757 15 is_stmt 0 view .LVU2396 7211 005c 8361 str r3, [r0, #24] 7758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7212 .loc 1 7758 3 is_stmt 1 view .LVU2397 7758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7213 .loc 1 7758 14 is_stmt 0 view .LVU2398 7214 005e 0162 str r1, [r0, #32] 7759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7215 .loc 1 7759 1 view .LVU2399 7216 0060 70BC pop {r4, r5, r6} 7217 .LCFI66: 7218 .cfi_restore 6 7219 .cfi_restore 5 7220 .cfi_restore 4 7221 .cfi_def_cfa_offset 0 7222 0062 7047 bx lr 7223 .L437: 7224 .align 2 7225 .L436: 7226 0064 002C0140 .word 1073818624 7227 0068 00040040 .word 1073742848 7228 .cfi_endproc 7229 .LFE441: 7231 .section .text.HAL_TIM_IC_ConfigChannel,"ax",%progbits 7232 .align 1 7233 .global HAL_TIM_IC_ConfigChannel 7234 .syntax unified 7235 .thumb 7236 .thumb_func 7238 HAL_TIM_IC_ConfigChannel: 7239 .LVL583: 7240 .LFB389: 4232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 7241 .loc 1 4232 1 is_stmt 1 view -0 7242 .cfi_startproc 7243 @ args = 0, pretend = 0, frame = 0 7244 @ frame_needed = 0, uses_anonymous_args = 0 4232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 7245 .loc 1 4232 1 is_stmt 0 view .LVU2401 7246 0000 38B5 push {r3, r4, r5, lr} ARM GAS /tmp/ccGjXOU1.s page 300 7247 .LCFI67: 7248 .cfi_def_cfa_offset 16 7249 .cfi_offset 3, -16 7250 .cfi_offset 4, -12 7251 .cfi_offset 5, -8 7252 .cfi_offset 14, -4 4233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7253 .loc 1 4233 3 is_stmt 1 view .LVU2402 7254 .LVL584: 4236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_POLARITY(sConfig->ICPolarity)); 7255 .loc 1 4236 3 view .LVU2403 4237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_SELECTION(sConfig->ICSelection)); 7256 .loc 1 4237 3 view .LVU2404 4238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->ICPrescaler)); 7257 .loc 1 4238 3 view .LVU2405 4239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_FILTER(sConfig->ICFilter)); 7258 .loc 1 4239 3 view .LVU2406 4240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7259 .loc 1 4240 3 view .LVU2407 4243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7260 .loc 1 4243 3 view .LVU2408 4243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7261 .loc 1 4243 3 view .LVU2409 7262 0002 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 7263 0006 012B cmp r3, #1 7264 0008 5ED0 beq .L446 7265 000a 0446 mov r4, r0 7266 000c 0D46 mov r5, r1 4243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7267 .loc 1 4243 3 discriminator 2 view .LVU2410 7268 000e 0123 movs r3, #1 7269 0010 80F83C30 strb r3, [r0, #60] 4243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7270 .loc 1 4243 3 view .LVU2411 4245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7271 .loc 1 4245 3 view .LVU2412 7272 0014 0C2A cmp r2, #12 7273 0016 52D8 bhi .L447 7274 0018 DFE802F0 tbb [pc, r2] 7275 .L442: 7276 001c 07 .byte (.L445-.L442)/2 7277 001d 51 .byte (.L447-.L442)/2 7278 001e 51 .byte (.L447-.L442)/2 7279 001f 51 .byte (.L447-.L442)/2 7280 0020 19 .byte (.L444-.L442)/2 7281 0021 51 .byte (.L447-.L442)/2 7282 0022 51 .byte (.L447-.L442)/2 7283 0023 51 .byte (.L447-.L442)/2 7284 0024 2C .byte (.L443-.L442)/2 7285 0025 51 .byte (.L447-.L442)/2 7286 0026 51 .byte (.L447-.L442)/2 7287 0027 51 .byte (.L447-.L442)/2 7288 0028 3E .byte (.L441-.L442)/2 7289 0029 00 .p2align 1 7290 .L445: 4248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7291 .loc 1 4248 5 view .LVU2413 ARM GAS /tmp/ccGjXOU1.s page 301 7292 002a CB68 ldr r3, [r1, #12] 7293 002c 4A68 ldr r2, [r1, #4] 7294 .LVL585: 4248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7295 .loc 1 4248 5 is_stmt 0 view .LVU2414 7296 002e 0968 ldr r1, [r1] 7297 .LVL586: 4248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7298 .loc 1 4248 5 view .LVU2415 7299 0030 0068 ldr r0, [r0] 7300 .LVL587: 4248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7301 .loc 1 4248 5 view .LVU2416 7302 0032 FFF7FEFF bl TIM_TI1_SetConfig 7303 .LVL588: 4254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7304 .loc 1 4254 5 is_stmt 1 view .LVU2417 4254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7305 .loc 1 4254 9 is_stmt 0 view .LVU2418 7306 0036 2268 ldr r2, [r4] 4254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7307 .loc 1 4254 19 view .LVU2419 7308 0038 9369 ldr r3, [r2, #24] 4254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7309 .loc 1 4254 27 view .LVU2420 7310 003a 23F00C03 bic r3, r3, #12 7311 003e 9361 str r3, [r2, #24] 4257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7312 .loc 1 4257 5 is_stmt 1 view .LVU2421 4257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7313 .loc 1 4257 9 is_stmt 0 view .LVU2422 7314 0040 2268 ldr r2, [r4] 4257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7315 .loc 1 4257 19 view .LVU2423 7316 0042 9369 ldr r3, [r2, #24] 4257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7317 .loc 1 4257 37 view .LVU2424 7318 0044 A968 ldr r1, [r5, #8] 4257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7319 .loc 1 4257 27 view .LVU2425 7320 0046 0B43 orrs r3, r3, r1 7321 0048 9361 str r3, [r2, #24] 4233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7322 .loc 1 4233 21 view .LVU2426 7323 004a 0020 movs r0, #0 7324 004c 38E0 b .L440 7325 .LVL589: 7326 .L444: 4262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7327 .loc 1 4262 5 is_stmt 1 view .LVU2427 4264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7328 .loc 1 4264 5 view .LVU2428 7329 004e CB68 ldr r3, [r1, #12] 7330 0050 4A68 ldr r2, [r1, #4] 7331 .LVL590: 4264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7332 .loc 1 4264 5 is_stmt 0 view .LVU2429 ARM GAS /tmp/ccGjXOU1.s page 302 7333 0052 0968 ldr r1, [r1] 7334 .LVL591: 4264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7335 .loc 1 4264 5 view .LVU2430 7336 0054 0068 ldr r0, [r0] 7337 .LVL592: 4264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7338 .loc 1 4264 5 view .LVU2431 7339 0056 FFF7FEFF bl TIM_TI2_SetConfig 7340 .LVL593: 4270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7341 .loc 1 4270 5 is_stmt 1 view .LVU2432 4270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7342 .loc 1 4270 9 is_stmt 0 view .LVU2433 7343 005a 2268 ldr r2, [r4] 4270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7344 .loc 1 4270 19 view .LVU2434 7345 005c 9369 ldr r3, [r2, #24] 4270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7346 .loc 1 4270 27 view .LVU2435 7347 005e 23F44063 bic r3, r3, #3072 7348 0062 9361 str r3, [r2, #24] 4273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7349 .loc 1 4273 5 is_stmt 1 view .LVU2436 4273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7350 .loc 1 4273 9 is_stmt 0 view .LVU2437 7351 0064 2268 ldr r2, [r4] 4273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7352 .loc 1 4273 19 view .LVU2438 7353 0066 9369 ldr r3, [r2, #24] 4273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7354 .loc 1 4273 38 view .LVU2439 7355 0068 A968 ldr r1, [r5, #8] 4273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7356 .loc 1 4273 27 view .LVU2440 7357 006a 43EA0123 orr r3, r3, r1, lsl #8 7358 006e 9361 str r3, [r2, #24] 4233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7359 .loc 1 4233 21 view .LVU2441 7360 0070 0020 movs r0, #0 7361 0072 25E0 b .L440 7362 .LVL594: 7363 .L443: 4278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7364 .loc 1 4278 5 is_stmt 1 view .LVU2442 4280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7365 .loc 1 4280 5 view .LVU2443 7366 0074 CB68 ldr r3, [r1, #12] 7367 0076 4A68 ldr r2, [r1, #4] 7368 .LVL595: 4280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7369 .loc 1 4280 5 is_stmt 0 view .LVU2444 7370 0078 0968 ldr r1, [r1] 7371 .LVL596: 4280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7372 .loc 1 4280 5 view .LVU2445 7373 007a 0068 ldr r0, [r0] ARM GAS /tmp/ccGjXOU1.s page 303 7374 .LVL597: 4280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7375 .loc 1 4280 5 view .LVU2446 7376 007c FFF7FEFF bl TIM_TI3_SetConfig 7377 .LVL598: 4286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7378 .loc 1 4286 5 is_stmt 1 view .LVU2447 4286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7379 .loc 1 4286 9 is_stmt 0 view .LVU2448 7380 0080 2268 ldr r2, [r4] 4286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7381 .loc 1 4286 19 view .LVU2449 7382 0082 D369 ldr r3, [r2, #28] 4286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7383 .loc 1 4286 27 view .LVU2450 7384 0084 23F00C03 bic r3, r3, #12 7385 0088 D361 str r3, [r2, #28] 4289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7386 .loc 1 4289 5 is_stmt 1 view .LVU2451 4289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7387 .loc 1 4289 9 is_stmt 0 view .LVU2452 7388 008a 2268 ldr r2, [r4] 4289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7389 .loc 1 4289 19 view .LVU2453 7390 008c D369 ldr r3, [r2, #28] 4289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7391 .loc 1 4289 37 view .LVU2454 7392 008e A968 ldr r1, [r5, #8] 4289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7393 .loc 1 4289 27 view .LVU2455 7394 0090 0B43 orrs r3, r3, r1 7395 0092 D361 str r3, [r2, #28] 4233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7396 .loc 1 4233 21 view .LVU2456 7397 0094 0020 movs r0, #0 7398 0096 13E0 b .L440 7399 .LVL599: 7400 .L441: 4294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7401 .loc 1 4294 5 is_stmt 1 view .LVU2457 4296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7402 .loc 1 4296 5 view .LVU2458 7403 0098 CB68 ldr r3, [r1, #12] 7404 009a 4A68 ldr r2, [r1, #4] 7405 .LVL600: 4296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7406 .loc 1 4296 5 is_stmt 0 view .LVU2459 7407 009c 0968 ldr r1, [r1] 7408 .LVL601: 4296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7409 .loc 1 4296 5 view .LVU2460 7410 009e 0068 ldr r0, [r0] 7411 .LVL602: 4296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7412 .loc 1 4296 5 view .LVU2461 7413 00a0 FFF7FEFF bl TIM_TI4_SetConfig 7414 .LVL603: ARM GAS /tmp/ccGjXOU1.s page 304 4302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7415 .loc 1 4302 5 is_stmt 1 view .LVU2462 4302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7416 .loc 1 4302 9 is_stmt 0 view .LVU2463 7417 00a4 2268 ldr r2, [r4] 4302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7418 .loc 1 4302 19 view .LVU2464 7419 00a6 D369 ldr r3, [r2, #28] 4302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7420 .loc 1 4302 27 view .LVU2465 7421 00a8 23F44063 bic r3, r3, #3072 7422 00ac D361 str r3, [r2, #28] 4305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7423 .loc 1 4305 5 is_stmt 1 view .LVU2466 4305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7424 .loc 1 4305 9 is_stmt 0 view .LVU2467 7425 00ae 2268 ldr r2, [r4] 4305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7426 .loc 1 4305 19 view .LVU2468 7427 00b0 D369 ldr r3, [r2, #28] 4305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7428 .loc 1 4305 38 view .LVU2469 7429 00b2 A968 ldr r1, [r5, #8] 4305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7430 .loc 1 4305 27 view .LVU2470 7431 00b4 43EA0123 orr r3, r3, r1, lsl #8 7432 00b8 D361 str r3, [r2, #28] 4233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7433 .loc 1 4233 21 view .LVU2471 7434 00ba 0020 movs r0, #0 7435 00bc 00E0 b .L440 7436 .LVL604: 7437 .L447: 4243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7438 .loc 1 4243 3 discriminator 2 view .LVU2472 7439 00be 0120 movs r0, #1 7440 .LVL605: 7441 .L440: 4312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7442 .loc 1 4312 3 is_stmt 1 view .LVU2473 4312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7443 .loc 1 4312 3 view .LVU2474 7444 00c0 0023 movs r3, #0 7445 00c2 84F83C30 strb r3, [r4, #60] 4312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7446 .loc 1 4312 3 view .LVU2475 4314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7447 .loc 1 4314 3 view .LVU2476 7448 .LVL606: 7449 .L439: 4315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7450 .loc 1 4315 1 is_stmt 0 view .LVU2477 7451 00c6 38BD pop {r3, r4, r5, pc} 7452 .LVL607: 7453 .L446: 4243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7454 .loc 1 4243 3 discriminator 1 view .LVU2478 ARM GAS /tmp/ccGjXOU1.s page 305 7455 00c8 0220 movs r0, #2 7456 .LVL608: 4243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7457 .loc 1 4243 3 discriminator 1 view .LVU2479 7458 00ca FCE7 b .L439 7459 .cfi_endproc 7460 .LFE389: 7462 .section .text.HAL_TIM_OnePulse_ConfigChannel,"ax",%progbits 7463 .align 1 7464 .global HAL_TIM_OnePulse_ConfigChannel 7465 .syntax unified 7466 .thumb 7467 .thumb_func 7469 HAL_TIM_OnePulse_ConfigChannel: 7470 .LVL609: 7471 .LFB391: 4482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 7472 .loc 1 4482 1 is_stmt 1 view -0 7473 .cfi_startproc 7474 @ args = 0, pretend = 0, frame = 32 7475 @ frame_needed = 0, uses_anonymous_args = 0 4483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC_InitTypeDef temp1; 7476 .loc 1 4483 3 view .LVU2481 4484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7477 .loc 1 4484 3 view .LVU2482 4487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OPM_CHANNELS(InputChannel)); 7478 .loc 1 4487 3 view .LVU2483 4488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7479 .loc 1 4488 3 view .LVU2484 4490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7480 .loc 1 4490 3 view .LVU2485 4490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7481 .loc 1 4490 6 is_stmt 0 view .LVU2486 7482 0000 9A42 cmp r2, r3 7483 0002 7ED0 beq .L457 4482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 7484 .loc 1 4482 1 view .LVU2487 7485 0004 70B5 push {r4, r5, r6, lr} 7486 .LCFI68: 7487 .cfi_def_cfa_offset 16 7488 .cfi_offset 4, -16 7489 .cfi_offset 5, -12 7490 .cfi_offset 6, -8 7491 .cfi_offset 14, -4 7492 0006 88B0 sub sp, sp, #32 7493 .LCFI69: 7494 .cfi_def_cfa_offset 48 7495 0008 0446 mov r4, r0 7496 000a 0D46 mov r5, r1 7497 000c 1E46 mov r6, r3 4493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7498 .loc 1 4493 5 is_stmt 1 view .LVU2488 4493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7499 .loc 1 4493 5 view .LVU2489 7500 000e 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 7501 .LVL610: 4493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 306 7502 .loc 1 4493 5 is_stmt 0 view .LVU2490 7503 0012 012B cmp r3, #1 7504 0014 77D0 beq .L458 4493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7505 .loc 1 4493 5 is_stmt 1 discriminator 2 view .LVU2491 7506 0016 0123 movs r3, #1 7507 0018 80F83C30 strb r3, [r0, #60] 4493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7508 .loc 1 4493 5 view .LVU2492 4495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7509 .loc 1 4495 5 view .LVU2493 4495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7510 .loc 1 4495 17 is_stmt 0 view .LVU2494 7511 001c 0223 movs r3, #2 7512 001e 80F83D30 strb r3, [r0, #61] 4498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.Pulse = sConfig->Pulse; 7513 .loc 1 4498 5 is_stmt 1 view .LVU2495 4498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.Pulse = sConfig->Pulse; 7514 .loc 1 4498 27 is_stmt 0 view .LVU2496 7515 0022 0B68 ldr r3, [r1] 4498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.Pulse = sConfig->Pulse; 7516 .loc 1 4498 18 view .LVU2497 7517 0024 0193 str r3, [sp, #4] 4499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCPolarity = sConfig->OCPolarity; 7518 .loc 1 4499 5 is_stmt 1 view .LVU2498 4499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCPolarity = sConfig->OCPolarity; 7519 .loc 1 4499 26 is_stmt 0 view .LVU2499 7520 0026 4B68 ldr r3, [r1, #4] 4499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCPolarity = sConfig->OCPolarity; 7521 .loc 1 4499 17 view .LVU2500 7522 0028 0293 str r3, [sp, #8] 4500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCNPolarity = sConfig->OCNPolarity; 7523 .loc 1 4500 5 is_stmt 1 view .LVU2501 4500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCNPolarity = sConfig->OCNPolarity; 7524 .loc 1 4500 31 is_stmt 0 view .LVU2502 7525 002a 8B68 ldr r3, [r1, #8] 4500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCNPolarity = sConfig->OCNPolarity; 7526 .loc 1 4500 22 view .LVU2503 7527 002c 0393 str r3, [sp, #12] 4501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCIdleState = sConfig->OCIdleState; 7528 .loc 1 4501 5 is_stmt 1 view .LVU2504 4501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCIdleState = sConfig->OCIdleState; 7529 .loc 1 4501 32 is_stmt 0 view .LVU2505 7530 002e CB68 ldr r3, [r1, #12] 4501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCIdleState = sConfig->OCIdleState; 7531 .loc 1 4501 23 view .LVU2506 7532 0030 0493 str r3, [sp, #16] 4502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCNIdleState = sConfig->OCNIdleState; 7533 .loc 1 4502 5 is_stmt 1 view .LVU2507 4502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCNIdleState = sConfig->OCNIdleState; 7534 .loc 1 4502 32 is_stmt 0 view .LVU2508 7535 0032 0B69 ldr r3, [r1, #16] 4502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCNIdleState = sConfig->OCNIdleState; 7536 .loc 1 4502 23 view .LVU2509 7537 0034 0693 str r3, [sp, #24] 4503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7538 .loc 1 4503 5 is_stmt 1 view .LVU2510 ARM GAS /tmp/ccGjXOU1.s page 307 4503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7539 .loc 1 4503 33 is_stmt 0 view .LVU2511 7540 0036 4B69 ldr r3, [r1, #20] 4503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7541 .loc 1 4503 24 view .LVU2512 7542 0038 0793 str r3, [sp, #28] 4505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7543 .loc 1 4505 5 is_stmt 1 view .LVU2513 7544 003a 52B1 cbz r2, .L451 7545 003c 042A cmp r2, #4 7546 003e 11D0 beq .L452 7547 0040 0120 movs r0, #1 7548 .LVL611: 7549 .L453: 4578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7550 .loc 1 4578 5 view .LVU2514 4578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7551 .loc 1 4578 17 is_stmt 0 view .LVU2515 7552 0042 0123 movs r3, #1 7553 0044 84F83D30 strb r3, [r4, #61] 4580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7554 .loc 1 4580 5 is_stmt 1 view .LVU2516 4580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7555 .loc 1 4580 5 view .LVU2517 7556 0048 0023 movs r3, #0 7557 004a 84F83C30 strb r3, [r4, #60] 4580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7558 .loc 1 4580 5 view .LVU2518 4582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7559 .loc 1 4582 5 view .LVU2519 7560 .LVL612: 7561 .L450: 4588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7562 .loc 1 4588 1 is_stmt 0 view .LVU2520 7563 004e 08B0 add sp, sp, #32 7564 .LCFI70: 7565 .cfi_remember_state 7566 .cfi_def_cfa_offset 16 7567 @ sp needed 7568 0050 70BD pop {r4, r5, r6, pc} 7569 .LVL613: 7570 .L451: 7571 .LCFI71: 7572 .cfi_restore_state 4509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7573 .loc 1 4509 9 is_stmt 1 view .LVU2521 4511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7574 .loc 1 4511 9 view .LVU2522 7575 0052 01A9 add r1, sp, #4 7576 .LVL614: 4511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7577 .loc 1 4511 9 is_stmt 0 view .LVU2523 7578 0054 0068 ldr r0, [r0] 7579 .LVL615: 4511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7580 .loc 1 4511 9 view .LVU2524 7581 0056 FFF7FEFF bl TIM_OC1_SetConfig ARM GAS /tmp/ccGjXOU1.s page 308 7582 .LVL616: 4512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7583 .loc 1 4512 9 is_stmt 1 view .LVU2525 4528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7584 .loc 1 4528 5 view .LVU2526 7585 .L454: 4530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7586 .loc 1 4530 7 view .LVU2527 7587 005a 46B1 cbz r6, .L455 7588 005c 042E cmp r6, #4 7589 005e 2BD0 beq .L456 7590 0060 0120 movs r0, #1 7591 0062 EEE7 b .L453 7592 .LVL617: 7593 .L452: 4517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7594 .loc 1 4517 9 view .LVU2528 4519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7595 .loc 1 4519 9 view .LVU2529 7596 0064 01A9 add r1, sp, #4 7597 .LVL618: 4519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7598 .loc 1 4519 9 is_stmt 0 view .LVU2530 7599 0066 0068 ldr r0, [r0] 7600 .LVL619: 4519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7601 .loc 1 4519 9 view .LVU2531 7602 0068 FFF7FEFF bl TIM_OC2_SetConfig 7603 .LVL620: 4520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7604 .loc 1 4520 9 is_stmt 1 view .LVU2532 4528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7605 .loc 1 4528 5 view .LVU2533 7606 006c F5E7 b .L454 7607 .L455: 4534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7608 .loc 1 4534 11 view .LVU2534 4536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICSelection, sConfig->ICFilter); 7609 .loc 1 4536 11 view .LVU2535 7610 006e 2B6A ldr r3, [r5, #32] 7611 0070 EA69 ldr r2, [r5, #28] 7612 0072 A969 ldr r1, [r5, #24] 7613 0074 2068 ldr r0, [r4] 7614 0076 FFF7FEFF bl TIM_TI1_SetConfig 7615 .LVL621: 4540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7616 .loc 1 4540 11 view .LVU2536 4540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7617 .loc 1 4540 15 is_stmt 0 view .LVU2537 7618 007a 2268 ldr r2, [r4] 4540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7619 .loc 1 4540 25 view .LVU2538 7620 007c 9369 ldr r3, [r2, #24] 4540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7621 .loc 1 4540 33 view .LVU2539 7622 007e 23F00C03 bic r3, r3, #12 7623 0082 9361 str r3, [r2, #24] ARM GAS /tmp/ccGjXOU1.s page 309 4543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI1FP1; 7624 .loc 1 4543 11 is_stmt 1 view .LVU2540 4543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI1FP1; 7625 .loc 1 4543 15 is_stmt 0 view .LVU2541 7626 0084 2268 ldr r2, [r4] 4543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI1FP1; 7627 .loc 1 4543 25 view .LVU2542 7628 0086 9368 ldr r3, [r2, #8] 4543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI1FP1; 7629 .loc 1 4543 32 view .LVU2543 7630 0088 23F44013 bic r3, r3, #3145728 7631 008c 23F07003 bic r3, r3, #112 7632 0090 9360 str r3, [r2, #8] 4544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7633 .loc 1 4544 11 is_stmt 1 view .LVU2544 4544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7634 .loc 1 4544 15 is_stmt 0 view .LVU2545 7635 0092 2268 ldr r2, [r4] 4544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7636 .loc 1 4544 25 view .LVU2546 7637 0094 9368 ldr r3, [r2, #8] 4544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7638 .loc 1 4544 32 view .LVU2547 7639 0096 43F05003 orr r3, r3, #80 7640 009a 9360 str r3, [r2, #8] 4547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 7641 .loc 1 4547 11 is_stmt 1 view .LVU2548 4547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 7642 .loc 1 4547 15 is_stmt 0 view .LVU2549 7643 009c 2268 ldr r2, [r4] 4547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 7644 .loc 1 4547 25 view .LVU2550 7645 009e 9368 ldr r3, [r2, #8] 4547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 7646 .loc 1 4547 32 view .LVU2551 7647 00a0 23F48033 bic r3, r3, #65536 7648 00a4 23F00703 bic r3, r3, #7 7649 00a8 9360 str r3, [r2, #8] 4548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7650 .loc 1 4548 11 is_stmt 1 view .LVU2552 4548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7651 .loc 1 4548 15 is_stmt 0 view .LVU2553 7652 00aa 2268 ldr r2, [r4] 4548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7653 .loc 1 4548 25 view .LVU2554 7654 00ac 9368 ldr r3, [r2, #8] 4548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7655 .loc 1 4548 32 view .LVU2555 7656 00ae 43F00603 orr r3, r3, #6 7657 00b2 9360 str r3, [r2, #8] 4549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7658 .loc 1 4549 11 is_stmt 1 view .LVU2556 7659 00b4 0020 movs r0, #0 7660 00b6 C4E7 b .L453 7661 .L456: 4554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7662 .loc 1 4554 11 view .LVU2557 ARM GAS /tmp/ccGjXOU1.s page 310 4556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICSelection, sConfig->ICFilter); 7663 .loc 1 4556 11 view .LVU2558 7664 00b8 2B6A ldr r3, [r5, #32] 7665 00ba EA69 ldr r2, [r5, #28] 7666 00bc A969 ldr r1, [r5, #24] 7667 00be 2068 ldr r0, [r4] 7668 00c0 FFF7FEFF bl TIM_TI2_SetConfig 7669 .LVL622: 4560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7670 .loc 1 4560 11 view .LVU2559 4560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7671 .loc 1 4560 15 is_stmt 0 view .LVU2560 7672 00c4 2268 ldr r2, [r4] 4560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7673 .loc 1 4560 25 view .LVU2561 7674 00c6 9369 ldr r3, [r2, #24] 4560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7675 .loc 1 4560 33 view .LVU2562 7676 00c8 23F44063 bic r3, r3, #3072 7677 00cc 9361 str r3, [r2, #24] 4563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI2FP2; 7678 .loc 1 4563 11 is_stmt 1 view .LVU2563 4563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI2FP2; 7679 .loc 1 4563 15 is_stmt 0 view .LVU2564 7680 00ce 2268 ldr r2, [r4] 4563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI2FP2; 7681 .loc 1 4563 25 view .LVU2565 7682 00d0 9368 ldr r3, [r2, #8] 4563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI2FP2; 7683 .loc 1 4563 32 view .LVU2566 7684 00d2 23F44013 bic r3, r3, #3145728 7685 00d6 23F07003 bic r3, r3, #112 7686 00da 9360 str r3, [r2, #8] 4564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7687 .loc 1 4564 11 is_stmt 1 view .LVU2567 4564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7688 .loc 1 4564 15 is_stmt 0 view .LVU2568 7689 00dc 2268 ldr r2, [r4] 4564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7690 .loc 1 4564 25 view .LVU2569 7691 00de 9368 ldr r3, [r2, #8] 4564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7692 .loc 1 4564 32 view .LVU2570 7693 00e0 43F06003 orr r3, r3, #96 7694 00e4 9360 str r3, [r2, #8] 4567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 7695 .loc 1 4567 11 is_stmt 1 view .LVU2571 4567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 7696 .loc 1 4567 15 is_stmt 0 view .LVU2572 7697 00e6 2268 ldr r2, [r4] 4567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 7698 .loc 1 4567 25 view .LVU2573 7699 00e8 9368 ldr r3, [r2, #8] 4567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 7700 .loc 1 4567 32 view .LVU2574 7701 00ea 23F48033 bic r3, r3, #65536 7702 00ee 23F00703 bic r3, r3, #7 ARM GAS /tmp/ccGjXOU1.s page 311 7703 00f2 9360 str r3, [r2, #8] 4568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7704 .loc 1 4568 11 is_stmt 1 view .LVU2575 4568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7705 .loc 1 4568 15 is_stmt 0 view .LVU2576 7706 00f4 2268 ldr r2, [r4] 4568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7707 .loc 1 4568 25 view .LVU2577 7708 00f6 9368 ldr r3, [r2, #8] 4568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7709 .loc 1 4568 32 view .LVU2578 7710 00f8 43F00603 orr r3, r3, #6 7711 00fc 9360 str r3, [r2, #8] 4569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7712 .loc 1 4569 11 is_stmt 1 view .LVU2579 7713 00fe 0020 movs r0, #0 7714 0100 9FE7 b .L453 7715 .LVL623: 7716 .L457: 7717 .LCFI72: 7718 .cfi_def_cfa_offset 0 7719 .cfi_restore 4 7720 .cfi_restore 5 7721 .cfi_restore 6 7722 .cfi_restore 14 4586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7723 .loc 1 4586 12 is_stmt 0 view .LVU2580 7724 0102 0120 movs r0, #1 7725 .LVL624: 4588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7726 .loc 1 4588 1 view .LVU2581 7727 0104 7047 bx lr 7728 .LVL625: 7729 .L458: 7730 .LCFI73: 7731 .cfi_def_cfa_offset 48 7732 .cfi_offset 4, -16 7733 .cfi_offset 5, -12 7734 .cfi_offset 6, -8 7735 .cfi_offset 14, -4 4493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7736 .loc 1 4493 5 discriminator 1 view .LVU2582 7737 0106 0220 movs r0, #2 7738 .LVL626: 4493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7739 .loc 1 4493 5 discriminator 1 view .LVU2583 7740 0108 A1E7 b .L450 7741 .cfi_endproc 7742 .LFE391: 7744 .section .text.TIM_ETR_SetConfig,"ax",%progbits 7745 .align 1 7746 .global TIM_ETR_SetConfig 7747 .syntax unified 7748 .thumb 7749 .thumb_func 7751 TIM_ETR_SetConfig: 7752 .LVL627: ARM GAS /tmp/ccGjXOU1.s page 312 7753 .LFB448: 8014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 8015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Configures the TIMx External Trigger (ETR). 8016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral 8017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ExtTRGPrescaler The external Trigger Prescaler. 8018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 8019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ETRPRESCALER_DIV1: ETRP Prescaler OFF. 8020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ETRPRESCALER_DIV2: ETRP frequency divided by 2. 8021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ETRPRESCALER_DIV4: ETRP frequency divided by 4. 8022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ETRPRESCALER_DIV8: ETRP frequency divided by 8. 8023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIM_ExtTRGPolarity The external Trigger Polarity. 8024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 8025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ETRPOLARITY_INVERTED: active low or falling edge active. 8026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_ETRPOLARITY_NONINVERTED: active high or rising edge active. 8027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param ExtTRGFilter External Trigger Filter. 8028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter must be a value between 0x00 and 0x0F 8029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 8030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 8031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** void TIM_ETR_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ExtTRGPrescaler, 8032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t TIM_ExtTRGPolarity, uint32_t ExtTRGFilter) 8033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7754 .loc 1 8033 1 is_stmt 1 view -0 7755 .cfi_startproc 7756 @ args = 0, pretend = 0, frame = 0 7757 @ frame_needed = 0, uses_anonymous_args = 0 7758 @ link register save eliminated. 7759 .loc 1 8033 1 is_stmt 0 view .LVU2585 7760 0000 10B4 push {r4} 7761 .LCFI74: 7762 .cfi_def_cfa_offset 4 7763 .cfi_offset 4, -4 8034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 7764 .loc 1 8034 3 is_stmt 1 view .LVU2586 8035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr = TIMx->SMCR; 7765 .loc 1 8036 3 view .LVU2587 7766 .loc 1 8036 11 is_stmt 0 view .LVU2588 7767 0002 8468 ldr r4, [r0, #8] 7768 .LVL628: 8037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the ETR Bits */ 8039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr &= ~(TIM_SMCR_ETF | TIM_SMCR_ETPS | TIM_SMCR_ECE | TIM_SMCR_ETP); 7769 .loc 1 8039 3 is_stmt 1 view .LVU2589 7770 .loc 1 8039 11 is_stmt 0 view .LVU2590 7771 0004 24F47F4C bic ip, r4, #65280 7772 .LVL629: 8040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Prescaler, the Filter value and the Polarity */ 8042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr |= (uint32_t)(TIM_ExtTRGPrescaler | (TIM_ExtTRGPolarity | (ExtTRGFilter << 8U))); 7773 .loc 1 8042 3 is_stmt 1 view .LVU2591 7774 .loc 1 8042 67 is_stmt 0 view .LVU2592 7775 0008 42EA0322 orr r2, r2, r3, lsl #8 7776 .LVL630: 7777 .loc 1 8042 45 view .LVU2593 7778 000c 0A43 orrs r2, r2, r1 7779 .loc 1 8042 11 view .LVU2594 7780 000e 42EA0C02 orr r2, r2, ip ARM GAS /tmp/ccGjXOU1.s page 313 7781 .LVL631: 8043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx SMCR */ 8045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->SMCR = tmpsmcr; 7782 .loc 1 8045 3 is_stmt 1 view .LVU2595 7783 .loc 1 8045 14 is_stmt 0 view .LVU2596 7784 0012 8260 str r2, [r0, #8] 8046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7785 .loc 1 8046 1 view .LVU2597 7786 0014 5DF8044B ldr r4, [sp], #4 7787 .LCFI75: 7788 .cfi_restore 4 7789 .cfi_def_cfa_offset 0 7790 0018 7047 bx lr 7791 .cfi_endproc 7792 .LFE448: 7794 .section .text.HAL_TIM_ConfigOCrefClear,"ax",%progbits 7795 .align 1 7796 .global HAL_TIM_ConfigOCrefClear 7797 .syntax unified 7798 .thumb 7799 .thumb_func 7801 HAL_TIM_ConfigOCrefClear: 7802 .LVL632: 7803 .LFB399: 5363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 7804 .loc 1 5363 1 is_stmt 1 view -0 7805 .cfi_startproc 7806 @ args = 0, pretend = 0, frame = 0 7807 @ frame_needed = 0, uses_anonymous_args = 0 5364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7808 .loc 1 5364 3 view .LVU2599 5367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLEARINPUT_SOURCE(sClearInputConfig->ClearInputSource)); 7809 .loc 1 5367 3 view .LVU2600 5368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7810 .loc 1 5368 3 view .LVU2601 5371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7811 .loc 1 5371 3 view .LVU2602 5371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7812 .loc 1 5371 3 view .LVU2603 7813 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 7814 0004 012B cmp r3, #1 7815 0006 00F01D81 beq .L491 5363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 7816 .loc 1 5363 1 is_stmt 0 view .LVU2604 7817 000a 70B5 push {r4, r5, r6, lr} 7818 .LCFI76: 7819 .cfi_def_cfa_offset 16 7820 .cfi_offset 4, -16 7821 .cfi_offset 5, -12 7822 .cfi_offset 6, -8 7823 .cfi_offset 14, -4 7824 000c 0446 mov r4, r0 7825 000e 0D46 mov r5, r1 7826 0010 1646 mov r6, r2 5371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7827 .loc 1 5371 3 is_stmt 1 discriminator 2 view .LVU2605 ARM GAS /tmp/ccGjXOU1.s page 314 7828 0012 0123 movs r3, #1 7829 0014 80F83C30 strb r3, [r0, #60] 5371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7830 .loc 1 5371 3 view .LVU2606 5373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7831 .loc 1 5373 3 view .LVU2607 5373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7832 .loc 1 5373 15 is_stmt 0 view .LVU2608 7833 0018 0223 movs r3, #2 7834 001a 80F83D30 strb r3, [r0, #61] 5375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7835 .loc 1 5375 3 is_stmt 1 view .LVU2609 5375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7836 .loc 1 5375 28 is_stmt 0 view .LVU2610 7837 001e 4B68 ldr r3, [r1, #4] 5375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7838 .loc 1 5375 3 view .LVU2611 7839 0020 B3F5003F cmp r3, #131072 7840 0024 3BD0 beq .L467 7841 0026 07D8 bhi .L468 7842 0028 012B cmp r3, #1 7843 002a 6ED0 beq .L469 7844 002c B3F5803F cmp r3, #65536 7845 0030 35D0 beq .L467 7846 0032 A3B3 cbz r3, .L467 7847 0034 0120 movs r0, #1 7848 .LVL633: 5375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7849 .loc 1 5375 3 view .LVU2612 7850 0036 FEE0 b .L470 7851 .LVL634: 7852 .L468: 5375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7853 .loc 1 5375 3 view .LVU2613 7854 0038 B3F5403F cmp r3, #196608 7855 003c 2FD0 beq .L467 7856 003e B3F1FF3F cmp r3, #-1 7857 0042 40F0F580 bne .L492 5380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7858 .loc 1 5380 7 is_stmt 1 view .LVU2614 5380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7859 .loc 1 5380 11 is_stmt 0 view .LVU2615 7860 0046 0368 ldr r3, [r0] 5380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7861 .loc 1 5380 10 view .LVU2616 7862 0048 7F4A ldr r2, .L498 7863 .LVL635: 5380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7864 .loc 1 5380 10 view .LVU2617 7865 004a 9342 cmp r3, r2 7866 004c 1BD0 beq .L471 5380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7867 .loc 1 5380 11 discriminator 1 view .LVU2618 7868 004e B3F1804F cmp r3, #1073741824 7869 0052 18D0 beq .L471 5380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7870 .loc 1 5380 11 discriminator 2 view .LVU2619 ARM GAS /tmp/ccGjXOU1.s page 315 7871 0054 A2F59432 sub r2, r2, #75776 7872 0058 9342 cmp r3, r2 7873 005a 14D0 beq .L471 5380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7874 .loc 1 5380 11 discriminator 3 view .LVU2620 7875 005c 02F59832 add r2, r2, #77824 7876 0060 9342 cmp r3, r2 7877 0062 10D0 beq .L471 5380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7878 .loc 1 5380 11 discriminator 4 view .LVU2621 7879 0064 02F54062 add r2, r2, #3072 7880 0068 9342 cmp r3, r2 7881 006a 0CD0 beq .L471 5380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7882 .loc 1 5380 11 discriminator 5 view .LVU2622 7883 006c 02F58062 add r2, r2, #1024 7884 0070 9342 cmp r3, r2 7885 0072 08D0 beq .L471 5380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7886 .loc 1 5380 11 discriminator 6 view .LVU2623 7887 0074 02F58062 add r2, r2, #1024 7888 0078 9342 cmp r3, r2 7889 007a 04D0 beq .L471 5389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7890 .loc 1 5389 9 is_stmt 1 view .LVU2624 7891 007c 9A68 ldr r2, [r3, #8] 7892 007e 22F47F42 bic r2, r2, #65280 7893 0082 9A60 str r2, [r3, #8] 5455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7894 .loc 1 5455 3 view .LVU2625 7895 0084 31E0 b .L473 7896 .L471: 5382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7897 .loc 1 5382 9 view .LVU2626 7898 0086 9A68 ldr r2, [r3, #8] 7899 0088 22F47F42 bic r2, r2, #65280 7900 008c 22F00802 bic r2, r2, #8 7901 0090 9A60 str r2, [r3, #8] 5385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7902 .loc 1 5385 9 view .LVU2627 7903 0092 2268 ldr r2, [r4] 7904 0094 536E ldr r3, [r2, #100] 7905 0096 23F4E023 bic r3, r3, #458752 7906 009a 5366 str r3, [r2, #100] 5455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7907 .loc 1 5455 3 view .LVU2628 7908 009c 25E0 b .L473 7909 .LVL636: 7910 .L467: 5408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7911 .loc 1 5408 7 view .LVU2629 5408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7912 .loc 1 5408 11 is_stmt 0 view .LVU2630 7913 009e 2368 ldr r3, [r4] 5408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7914 .loc 1 5408 10 view .LVU2631 7915 00a0 694A ldr r2, .L498 ARM GAS /tmp/ccGjXOU1.s page 316 7916 .LVL637: 5408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7917 .loc 1 5408 10 view .LVU2632 7918 00a2 9342 cmp r3, r2 7919 00a4 16D0 beq .L474 5408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7920 .loc 1 5408 11 discriminator 1 view .LVU2633 7921 00a6 B3F1804F cmp r3, #1073741824 7922 00aa 13D0 beq .L474 5408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7923 .loc 1 5408 11 discriminator 2 view .LVU2634 7924 00ac A2F59432 sub r2, r2, #75776 7925 00b0 9342 cmp r3, r2 7926 00b2 0FD0 beq .L474 5408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7927 .loc 1 5408 11 discriminator 3 view .LVU2635 7928 00b4 02F59832 add r2, r2, #77824 7929 00b8 9342 cmp r3, r2 7930 00ba 0BD0 beq .L474 5408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7931 .loc 1 5408 11 discriminator 4 view .LVU2636 7932 00bc 02F54062 add r2, r2, #3072 7933 00c0 9342 cmp r3, r2 7934 00c2 07D0 beq .L474 5408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7935 .loc 1 5408 11 discriminator 5 view .LVU2637 7936 00c4 02F58062 add r2, r2, #1024 7937 00c8 9342 cmp r3, r2 7938 00ca 03D0 beq .L474 5408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7939 .loc 1 5408 11 discriminator 6 view .LVU2638 7940 00cc 02F58062 add r2, r2, #1024 7941 00d0 9342 cmp r3, r2 7942 00d2 03D1 bne .L475 7943 .L474: 5411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7944 .loc 1 5411 9 is_stmt 1 view .LVU2639 7945 00d4 9A68 ldr r2, [r3, #8] 7946 00d6 22F00802 bic r2, r2, #8 7947 00da 9A60 str r2, [r3, #8] 7948 .L475: 5415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7949 .loc 1 5415 7 view .LVU2640 7950 00dc 2268 ldr r2, [r4] 7951 00de 536E ldr r3, [r2, #100] 7952 00e0 23F4E023 bic r3, r3, #458752 7953 00e4 6968 ldr r1, [r5, #4] 7954 .LVL638: 5415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7955 .loc 1 5415 7 is_stmt 0 view .LVU2641 7956 00e6 0B43 orrs r3, r3, r1 7957 00e8 5366 str r3, [r2, #100] 5416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7958 .loc 1 5416 7 is_stmt 1 view .LVU2642 5455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7959 .loc 1 5455 3 view .LVU2643 7960 .LVL639: ARM GAS /tmp/ccGjXOU1.s page 317 7961 .L473: 5457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7962 .loc 1 5457 5 view .LVU2644 7963 00ea 142E cmp r6, #20 7964 00ec 00F2A280 bhi .L493 7965 00f0 DFE806F0 tbb [pc, r6] 7966 .L479: 7967 00f4 3E .byte (.L484-.L479)/2 7968 00f5 A0 .byte (.L493-.L479)/2 7969 00f6 A0 .byte (.L493-.L479)/2 7970 00f7 A0 .byte (.L493-.L479)/2 7971 00f8 4E .byte (.L483-.L479)/2 7972 00f9 A0 .byte (.L493-.L479)/2 7973 00fa A0 .byte (.L493-.L479)/2 7974 00fb A0 .byte (.L493-.L479)/2 7975 00fc 5E .byte (.L482-.L479)/2 7976 00fd A0 .byte (.L493-.L479)/2 7977 00fe A0 .byte (.L493-.L479)/2 7978 00ff A0 .byte (.L493-.L479)/2 7979 0100 6E .byte (.L481-.L479)/2 7980 0101 A0 .byte (.L493-.L479)/2 7981 0102 A0 .byte (.L493-.L479)/2 7982 0103 A0 .byte (.L493-.L479)/2 7983 0104 7E .byte (.L480-.L479)/2 7984 0105 A0 .byte (.L493-.L479)/2 7985 0106 A0 .byte (.L493-.L479)/2 7986 0107 A0 .byte (.L493-.L479)/2 7987 0108 8E .byte (.L478-.L479)/2 7988 .LVL640: 7989 0109 00 .p2align 1 7990 .L469: 5422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLEARINPUT_PRESCALER(sClearInputConfig->ClearInputPrescaler)); 7991 .loc 1 5422 7 view .LVU2645 5423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLEARINPUT_FILTER(sClearInputConfig->ClearInputFilter)); 7992 .loc 1 5423 7 view .LVU2646 5424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7993 .loc 1 5424 7 view .LVU2647 5427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7994 .loc 1 5427 7 view .LVU2648 5427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7995 .loc 1 5427 28 is_stmt 0 view .LVU2649 7996 010a C968 ldr r1, [r1, #12] 7997 .LVL641: 5427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7998 .loc 1 5427 10 view .LVU2650 7999 010c 31B1 cbz r1, .L476 5429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 8000 .loc 1 5429 9 is_stmt 1 view .LVU2651 5429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 8001 .loc 1 5429 21 is_stmt 0 view .LVU2652 8002 010e 0120 movs r0, #1 8003 .LVL642: 5429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 8004 .loc 1 5429 21 view .LVU2653 8005 0110 84F83D00 strb r0, [r4, #61] 5430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 8006 .loc 1 5430 9 is_stmt 1 view .LVU2654 ARM GAS /tmp/ccGjXOU1.s page 318 5430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 8007 .loc 1 5430 9 view .LVU2655 8008 0114 0023 movs r3, #0 8009 0116 84F83C30 strb r3, [r4, #60] 5430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 8010 .loc 1 5430 9 view .LVU2656 5431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8011 .loc 1 5431 9 view .LVU2657 5431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8012 .loc 1 5431 16 is_stmt 0 view .LVU2658 8013 011a 92E0 b .L466 8014 .LVL643: 8015 .L476: 5434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClearInputConfig->ClearInputPrescaler, 8016 .loc 1 5434 7 is_stmt 1 view .LVU2659 8017 011c 2B69 ldr r3, [r5, #16] 8018 011e AA68 ldr r2, [r5, #8] 8019 .LVL644: 5434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClearInputConfig->ClearInputPrescaler, 8020 .loc 1 5434 7 is_stmt 0 view .LVU2660 8021 0120 0068 ldr r0, [r0] 8022 .LVL645: 5434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClearInputConfig->ClearInputPrescaler, 8023 .loc 1 5434 7 view .LVU2661 8024 0122 FFF7FEFF bl TIM_ETR_SetConfig 8025 .LVL646: 5439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8026 .loc 1 5439 7 is_stmt 1 view .LVU2662 5439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8027 .loc 1 5439 11 is_stmt 0 view .LVU2663 8028 0126 2368 ldr r3, [r4] 5439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8029 .loc 1 5439 10 view .LVU2664 8030 0128 474A ldr r2, .L498 8031 012a 9342 cmp r3, r2 8032 012c 16D0 beq .L477 5439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8033 .loc 1 5439 11 discriminator 1 view .LVU2665 8034 012e B3F1804F cmp r3, #1073741824 8035 0132 13D0 beq .L477 5439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8036 .loc 1 5439 11 discriminator 2 view .LVU2666 8037 0134 A2F59432 sub r2, r2, #75776 8038 0138 9342 cmp r3, r2 8039 013a 0FD0 beq .L477 5439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8040 .loc 1 5439 11 discriminator 3 view .LVU2667 8041 013c 02F59832 add r2, r2, #77824 8042 0140 9342 cmp r3, r2 8043 0142 0BD0 beq .L477 5439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8044 .loc 1 5439 11 discriminator 4 view .LVU2668 8045 0144 02F54062 add r2, r2, #3072 8046 0148 9342 cmp r3, r2 8047 014a 07D0 beq .L477 5439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8048 .loc 1 5439 11 discriminator 5 view .LVU2669 ARM GAS /tmp/ccGjXOU1.s page 319 8049 014c 02F58062 add r2, r2, #1024 8050 0150 9342 cmp r3, r2 8051 0152 03D0 beq .L477 5439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8052 .loc 1 5439 11 discriminator 6 view .LVU2670 8053 0154 02F58062 add r2, r2, #1024 8054 0158 9342 cmp r3, r2 8055 015a C6D1 bne .L473 8056 .L477: 5442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8057 .loc 1 5442 9 is_stmt 1 view .LVU2671 8058 015c 9A68 ldr r2, [r3, #8] 8059 015e 42F00802 orr r2, r2, #8 8060 0162 9A60 str r2, [r3, #8] 5445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8061 .loc 1 5445 9 view .LVU2672 8062 0164 2268 ldr r2, [r4] 8063 0166 536E ldr r3, [r2, #100] 8064 0168 23F4E023 bic r3, r3, #458752 8065 016c 5366 str r3, [r2, #100] 5455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8066 .loc 1 5455 3 view .LVU2673 8067 016e BCE7 b .L473 8068 .LVL647: 8069 .L484: 5461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8070 .loc 1 5461 9 view .LVU2674 5461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8071 .loc 1 5461 30 is_stmt 0 view .LVU2675 8072 0170 2B68 ldr r3, [r5] 5461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8073 .loc 1 5461 12 view .LVU2676 8074 0172 33B1 cbz r3, .L485 5464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8075 .loc 1 5464 11 is_stmt 1 view .LVU2677 8076 0174 2268 ldr r2, [r4] 8077 0176 9369 ldr r3, [r2, #24] 8078 0178 43F08003 orr r3, r3, #128 8079 017c 9361 str r3, [r2, #24] 8080 017e 0020 movs r0, #0 8081 0180 59E0 b .L470 8082 .L485: 5469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8083 .loc 1 5469 11 view .LVU2678 8084 0182 2268 ldr r2, [r4] 8085 0184 9369 ldr r3, [r2, #24] 8086 0186 23F08003 bic r3, r3, #128 8087 018a 9361 str r3, [r2, #24] 8088 018c 0020 movs r0, #0 8089 018e 52E0 b .L470 8090 .L483: 5475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8091 .loc 1 5475 9 view .LVU2679 5475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8092 .loc 1 5475 30 is_stmt 0 view .LVU2680 8093 0190 2B68 ldr r3, [r5] 5475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 320 8094 .loc 1 5475 12 view .LVU2681 8095 0192 33B1 cbz r3, .L486 5478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8096 .loc 1 5478 11 is_stmt 1 view .LVU2682 8097 0194 2268 ldr r2, [r4] 8098 0196 9369 ldr r3, [r2, #24] 8099 0198 43F40043 orr r3, r3, #32768 8100 019c 9361 str r3, [r2, #24] 8101 019e 0020 movs r0, #0 8102 01a0 49E0 b .L470 8103 .L486: 5483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8104 .loc 1 5483 11 view .LVU2683 8105 01a2 2268 ldr r2, [r4] 8106 01a4 9369 ldr r3, [r2, #24] 8107 01a6 23F40043 bic r3, r3, #32768 8108 01aa 9361 str r3, [r2, #24] 8109 01ac 0020 movs r0, #0 8110 01ae 42E0 b .L470 8111 .L482: 5489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8112 .loc 1 5489 9 view .LVU2684 5489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8113 .loc 1 5489 30 is_stmt 0 view .LVU2685 8114 01b0 2B68 ldr r3, [r5] 5489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8115 .loc 1 5489 12 view .LVU2686 8116 01b2 33B1 cbz r3, .L487 5492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8117 .loc 1 5492 11 is_stmt 1 view .LVU2687 8118 01b4 2268 ldr r2, [r4] 8119 01b6 D369 ldr r3, [r2, #28] 8120 01b8 43F08003 orr r3, r3, #128 8121 01bc D361 str r3, [r2, #28] 8122 01be 0020 movs r0, #0 8123 01c0 39E0 b .L470 8124 .L487: 5497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8125 .loc 1 5497 11 view .LVU2688 8126 01c2 2268 ldr r2, [r4] 8127 01c4 D369 ldr r3, [r2, #28] 8128 01c6 23F08003 bic r3, r3, #128 8129 01ca D361 str r3, [r2, #28] 8130 01cc 0020 movs r0, #0 8131 01ce 32E0 b .L470 8132 .L481: 5503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8133 .loc 1 5503 9 view .LVU2689 5503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8134 .loc 1 5503 30 is_stmt 0 view .LVU2690 8135 01d0 2B68 ldr r3, [r5] 5503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8136 .loc 1 5503 12 view .LVU2691 8137 01d2 33B1 cbz r3, .L488 5506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8138 .loc 1 5506 11 is_stmt 1 view .LVU2692 8139 01d4 2268 ldr r2, [r4] ARM GAS /tmp/ccGjXOU1.s page 321 8140 01d6 D369 ldr r3, [r2, #28] 8141 01d8 43F40043 orr r3, r3, #32768 8142 01dc D361 str r3, [r2, #28] 8143 01de 0020 movs r0, #0 8144 01e0 29E0 b .L470 8145 .L488: 5511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8146 .loc 1 5511 11 view .LVU2693 8147 01e2 2268 ldr r2, [r4] 8148 01e4 D369 ldr r3, [r2, #28] 8149 01e6 23F40043 bic r3, r3, #32768 8150 01ea D361 str r3, [r2, #28] 8151 01ec 0020 movs r0, #0 8152 01ee 22E0 b .L470 8153 .L480: 5517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8154 .loc 1 5517 9 view .LVU2694 5517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8155 .loc 1 5517 30 is_stmt 0 view .LVU2695 8156 01f0 2B68 ldr r3, [r5] 5517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8157 .loc 1 5517 12 view .LVU2696 8158 01f2 33B1 cbz r3, .L489 5520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8159 .loc 1 5520 11 is_stmt 1 view .LVU2697 8160 01f4 2268 ldr r2, [r4] 8161 01f6 136D ldr r3, [r2, #80] 8162 01f8 43F08003 orr r3, r3, #128 8163 01fc 1365 str r3, [r2, #80] 8164 01fe 0020 movs r0, #0 8165 0200 19E0 b .L470 8166 .L489: 5525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8167 .loc 1 5525 11 view .LVU2698 8168 0202 2268 ldr r2, [r4] 8169 0204 136D ldr r3, [r2, #80] 8170 0206 23F08003 bic r3, r3, #128 8171 020a 1365 str r3, [r2, #80] 8172 020c 0020 movs r0, #0 8173 020e 12E0 b .L470 8174 .L478: 5531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8175 .loc 1 5531 9 view .LVU2699 5531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8176 .loc 1 5531 30 is_stmt 0 view .LVU2700 8177 0210 2B68 ldr r3, [r5] 5531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8178 .loc 1 5531 12 view .LVU2701 8179 0212 33B1 cbz r3, .L490 5534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8180 .loc 1 5534 11 is_stmt 1 view .LVU2702 8181 0214 2268 ldr r2, [r4] 8182 0216 136D ldr r3, [r2, #80] 8183 0218 43F40043 orr r3, r3, #32768 8184 021c 1365 str r3, [r2, #80] 8185 021e 0020 movs r0, #0 8186 0220 09E0 b .L470 ARM GAS /tmp/ccGjXOU1.s page 322 8187 .L490: 5539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8188 .loc 1 5539 11 view .LVU2703 8189 0222 2268 ldr r2, [r4] 8190 0224 136D ldr r3, [r2, #80] 8191 0226 23F40043 bic r3, r3, #32768 8192 022a 1365 str r3, [r2, #80] 8193 022c 0020 movs r0, #0 8194 022e 02E0 b .L470 8195 .LVL648: 8196 .L492: 5375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8197 .loc 1 5375 3 is_stmt 0 view .LVU2704 8198 0230 0120 movs r0, #1 8199 .LVL649: 5375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8200 .loc 1 5375 3 view .LVU2705 8201 0232 00E0 b .L470 8202 .LVL650: 8203 .L493: 5457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8204 .loc 1 5457 5 view .LVU2706 8205 0234 0020 movs r0, #0 8206 .L470: 5548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8207 .loc 1 5548 3 is_stmt 1 view .LVU2707 5548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8208 .loc 1 5548 15 is_stmt 0 view .LVU2708 8209 0236 0123 movs r3, #1 8210 0238 84F83D30 strb r3, [r4, #61] 5550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8211 .loc 1 5550 3 is_stmt 1 view .LVU2709 5550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8212 .loc 1 5550 3 view .LVU2710 8213 023c 0023 movs r3, #0 8214 023e 84F83C30 strb r3, [r4, #60] 5550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8215 .loc 1 5550 3 view .LVU2711 5552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8216 .loc 1 5552 3 view .LVU2712 8217 .L466: 5553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8218 .loc 1 5553 1 is_stmt 0 view .LVU2713 8219 0242 70BD pop {r4, r5, r6, pc} 8220 .LVL651: 8221 .L491: 8222 .LCFI77: 8223 .cfi_def_cfa_offset 0 8224 .cfi_restore 4 8225 .cfi_restore 5 8226 .cfi_restore 6 8227 .cfi_restore 14 5371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8228 .loc 1 5371 3 discriminator 1 view .LVU2714 8229 0244 0220 movs r0, #2 8230 .LVL652: 5553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 323 8231 .loc 1 5553 1 view .LVU2715 8232 0246 7047 bx lr 8233 .L499: 8234 .align 2 8235 .L498: 8236 0248 002C0140 .word 1073818624 8237 .cfi_endproc 8238 .LFE399: 8240 .section .text.HAL_TIM_ConfigClockSource,"ax",%progbits 8241 .align 1 8242 .global HAL_TIM_ConfigClockSource 8243 .syntax unified 8244 .thumb 8245 .thumb_func 8247 HAL_TIM_ConfigClockSource: 8248 .LVL653: 8249 .LFB400: 5563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 8250 .loc 1 5563 1 is_stmt 1 view -0 8251 .cfi_startproc 8252 @ args = 0, pretend = 0, frame = 0 8253 @ frame_needed = 0, uses_anonymous_args = 0 5564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8254 .loc 1 5564 3 view .LVU2717 5565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8255 .loc 1 5565 3 view .LVU2718 5568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8256 .loc 1 5568 3 view .LVU2719 5568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8257 .loc 1 5568 3 view .LVU2720 8258 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 8259 0004 012B cmp r3, #1 8260 0006 00F08F80 beq .L514 5563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 8261 .loc 1 5563 1 is_stmt 0 view .LVU2721 8262 000a 10B5 push {r4, lr} 8263 .LCFI78: 8264 .cfi_def_cfa_offset 8 8265 .cfi_offset 4, -8 8266 .cfi_offset 14, -4 8267 000c 0446 mov r4, r0 5568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8268 .loc 1 5568 3 is_stmt 1 discriminator 2 view .LVU2722 8269 000e 0123 movs r3, #1 8270 0010 80F83C30 strb r3, [r0, #60] 5568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8271 .loc 1 5568 3 view .LVU2723 5570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8272 .loc 1 5570 3 view .LVU2724 5570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8273 .loc 1 5570 15 is_stmt 0 view .LVU2725 8274 0014 0223 movs r3, #2 8275 0016 80F83D30 strb r3, [r0, #61] 5573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8276 .loc 1 5573 3 is_stmt 1 view .LVU2726 5576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr &= ~(TIM_SMCR_SMS | TIM_SMCR_TS); 8277 .loc 1 5576 3 view .LVU2727 ARM GAS /tmp/ccGjXOU1.s page 324 5576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr &= ~(TIM_SMCR_SMS | TIM_SMCR_TS); 8278 .loc 1 5576 17 is_stmt 0 view .LVU2728 8279 001a 0268 ldr r2, [r0] 5576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr &= ~(TIM_SMCR_SMS | TIM_SMCR_TS); 8280 .loc 1 5576 11 view .LVU2729 8281 001c 9068 ldr r0, [r2, #8] 8282 .LVL654: 5577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr &= ~(TIM_SMCR_ETF | TIM_SMCR_ETPS | TIM_SMCR_ECE | TIM_SMCR_ETP); 8283 .loc 1 5577 3 is_stmt 1 view .LVU2730 5578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR = tmpsmcr; 8284 .loc 1 5578 3 view .LVU2731 5578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR = tmpsmcr; 8285 .loc 1 5578 11 is_stmt 0 view .LVU2732 8286 001e 434B ldr r3, .L524 8287 0020 0340 ands r3, r3, r0 8288 .LVL655: 5579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8289 .loc 1 5579 3 is_stmt 1 view .LVU2733 5579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8290 .loc 1 5579 24 is_stmt 0 view .LVU2734 8291 0022 9360 str r3, [r2, #8] 5581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8292 .loc 1 5581 3 is_stmt 1 view .LVU2735 5581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8293 .loc 1 5581 29 is_stmt 0 view .LVU2736 8294 0024 0B68 ldr r3, [r1] 8295 .LVL656: 5581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8296 .loc 1 5581 3 view .LVU2737 8297 0026 702B cmp r3, #112 8298 0028 55D0 beq .L502 8299 002a 31D8 bhi .L503 8300 002c 502B cmp r3, #80 8301 002e 6CD0 beq .L504 8302 0030 1FD8 bhi .L505 8303 0032 402B cmp r3, #64 8304 0034 0AD1 bne .L521 5668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8305 .loc 1 5668 7 is_stmt 1 view .LVU2738 5671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); 8306 .loc 1 5671 7 view .LVU2739 5672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8307 .loc 1 5672 7 view .LVU2740 5674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8308 .loc 1 5674 7 view .LVU2741 8309 0036 CA68 ldr r2, [r1, #12] 8310 .LVL657: 5674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8311 .loc 1 5674 7 is_stmt 0 view .LVU2742 8312 0038 4968 ldr r1, [r1, #4] 8313 .LVL658: 5674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8314 .loc 1 5674 7 view .LVU2743 8315 003a 2068 ldr r0, [r4] 8316 .LVL659: 5674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8317 .loc 1 5674 7 view .LVU2744 ARM GAS /tmp/ccGjXOU1.s page 325 8318 003c FFF7FEFF bl TIM_TI1_ConfigInputStage 8319 .LVL660: 5677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8320 .loc 1 5677 7 is_stmt 1 view .LVU2745 8321 0040 4021 movs r1, #64 8322 0042 2068 ldr r0, [r4] 8323 0044 FFF7FEFF bl TIM_ITRx_SetConfig 8324 .LVL661: 5678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8325 .loc 1 5678 7 view .LVU2746 5564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8326 .loc 1 5564 21 is_stmt 0 view .LVU2747 8327 0048 0020 movs r0, #0 5678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8328 .loc 1 5678 7 view .LVU2748 8329 004a 29E0 b .L507 8330 .LVL662: 8331 .L521: 5581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8332 .loc 1 5581 3 view .LVU2749 8333 004c 68D8 bhi .L515 8334 004e 202B cmp r3, #32 8335 0050 03D0 beq .L508 8336 0052 0AD8 bhi .L509 8337 0054 0BB1 cbz r3, .L508 8338 0056 102B cmp r3, #16 8339 0058 05D1 bne .L522 8340 .LVL663: 8341 .L508: 5701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8342 .loc 1 5701 7 is_stmt 1 view .LVU2750 5703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8343 .loc 1 5703 7 view .LVU2751 8344 005a 1946 mov r1, r3 8345 .LVL664: 5703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8346 .loc 1 5703 7 is_stmt 0 view .LVU2752 8347 005c 2068 ldr r0, [r4] 8348 .LVL665: 5703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8349 .loc 1 5703 7 view .LVU2753 8350 005e FFF7FEFF bl TIM_ITRx_SetConfig 8351 .LVL666: 5704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8352 .loc 1 5704 7 is_stmt 1 view .LVU2754 5564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8353 .loc 1 5564 21 is_stmt 0 view .LVU2755 8354 0062 0020 movs r0, #0 5704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8355 .loc 1 5704 7 view .LVU2756 8356 0064 1CE0 b .L507 8357 .LVL667: 8358 .L522: 5708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8359 .loc 1 5708 14 view .LVU2757 8360 0066 0120 movs r0, #1 8361 0068 1AE0 b .L507 ARM GAS /tmp/ccGjXOU1.s page 326 8362 .L509: 5581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8363 .loc 1 5581 3 view .LVU2758 8364 006a 302B cmp r3, #48 8365 006c F5D0 beq .L508 5708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8366 .loc 1 5708 14 view .LVU2759 8367 006e 0120 movs r0, #1 8368 0070 16E0 b .L507 8369 .L505: 5581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8370 .loc 1 5581 3 view .LVU2760 8371 0072 602B cmp r3, #96 8372 0074 0AD1 bne .L523 5652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8373 .loc 1 5652 7 is_stmt 1 view .LVU2761 5655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); 8374 .loc 1 5655 7 view .LVU2762 5656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8375 .loc 1 5656 7 view .LVU2763 5658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8376 .loc 1 5658 7 view .LVU2764 8377 0076 CA68 ldr r2, [r1, #12] 8378 .LVL668: 5658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8379 .loc 1 5658 7 is_stmt 0 view .LVU2765 8380 0078 4968 ldr r1, [r1, #4] 8381 .LVL669: 5658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8382 .loc 1 5658 7 view .LVU2766 8383 007a 2068 ldr r0, [r4] 8384 .LVL670: 5658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8385 .loc 1 5658 7 view .LVU2767 8386 007c FFF7FEFF bl TIM_TI2_ConfigInputStage 8387 .LVL671: 5661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8388 .loc 1 5661 7 is_stmt 1 view .LVU2768 8389 0080 6021 movs r1, #96 8390 0082 2068 ldr r0, [r4] 8391 0084 FFF7FEFF bl TIM_ITRx_SetConfig 8392 .LVL672: 5662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8393 .loc 1 5662 7 view .LVU2769 5564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8394 .loc 1 5564 21 is_stmt 0 view .LVU2770 8395 0088 0020 movs r0, #0 5662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8396 .loc 1 5662 7 view .LVU2771 8397 008a 09E0 b .L507 8398 .LVL673: 8399 .L523: 5708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8400 .loc 1 5708 14 view .LVU2772 8401 008c 0120 movs r0, #1 8402 008e 07E0 b .L507 8403 .L503: ARM GAS /tmp/ccGjXOU1.s page 327 5581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8404 .loc 1 5581 3 view .LVU2773 8405 0090 B3F5005F cmp r3, #8192 8406 0094 2CD0 beq .L511 8407 0096 0AD8 bhi .L512 8408 0098 B3F5805F cmp r3, #4096 8409 009c 42D1 bne .L516 8410 009e 0020 movs r0, #0 8411 .LVL674: 8412 .L507: 5711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8413 .loc 1 5711 3 is_stmt 1 view .LVU2774 5711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8414 .loc 1 5711 15 is_stmt 0 view .LVU2775 8415 00a0 0123 movs r3, #1 8416 00a2 84F83D30 strb r3, [r4, #61] 5713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8417 .loc 1 5713 3 is_stmt 1 view .LVU2776 5713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8418 .loc 1 5713 3 view .LVU2777 8419 00a6 0023 movs r3, #0 8420 00a8 84F83C30 strb r3, [r4, #60] 5713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8421 .loc 1 5713 3 view .LVU2778 5715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8422 .loc 1 5715 3 view .LVU2779 5716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8423 .loc 1 5716 1 is_stmt 0 view .LVU2780 8424 00ac 10BD pop {r4, pc} 8425 .LVL675: 8426 .L512: 5581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8427 .loc 1 5581 3 view .LVU2781 8428 00ae 204A ldr r2, .L524+4 8429 .LVL676: 5581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8430 .loc 1 5581 3 view .LVU2782 8431 00b0 9342 cmp r3, r2 8432 00b2 D2D0 beq .L508 8433 00b4 07D8 bhi .L513 8434 00b6 B3F1101F cmp r3, #1048592 8435 00ba CED0 beq .L508 8436 00bc 103A subs r2, r2, #16 8437 00be 9342 cmp r3, r2 8438 00c0 CBD0 beq .L508 5708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8439 .loc 1 5708 14 view .LVU2783 8440 00c2 0120 movs r0, #1 8441 .LVL677: 5708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8442 .loc 1 5708 14 view .LVU2784 8443 00c4 ECE7 b .L507 8444 .LVL678: 8445 .L513: 5581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8446 .loc 1 5581 3 view .LVU2785 8447 00c6 1B4A ldr r2, .L524+8 ARM GAS /tmp/ccGjXOU1.s page 328 8448 00c8 9342 cmp r3, r2 8449 00ca C6D0 beq .L508 8450 00cc 3032 adds r2, r2, #48 8451 00ce 9342 cmp r3, r2 8452 00d0 C3D0 beq .L508 5708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8453 .loc 1 5708 14 view .LVU2786 8454 00d2 0120 movs r0, #1 8455 .LVL679: 5708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8456 .loc 1 5708 14 view .LVU2787 8457 00d4 E4E7 b .L507 8458 .LVL680: 8459 .L502: 5592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8460 .loc 1 5592 7 is_stmt 1 view .LVU2788 5595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKPOLARITY(sClockSourceConfig->ClockPolarity)); 8461 .loc 1 5595 7 view .LVU2789 5596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); 8462 .loc 1 5596 7 view .LVU2790 5597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8463 .loc 1 5597 7 view .LVU2791 5600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 8464 .loc 1 5600 7 view .LVU2792 8465 00d6 CB68 ldr r3, [r1, #12] 8466 00d8 4A68 ldr r2, [r1, #4] 8467 .LVL681: 5600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 8468 .loc 1 5600 7 is_stmt 0 view .LVU2793 8469 00da 8968 ldr r1, [r1, #8] 8470 .LVL682: 5600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 8471 .loc 1 5600 7 view .LVU2794 8472 00dc 2068 ldr r0, [r4] 8473 .LVL683: 5600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 8474 .loc 1 5600 7 view .LVU2795 8475 00de FFF7FEFF bl TIM_ETR_SetConfig 8476 .LVL684: 5606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr |= (TIM_SLAVEMODE_EXTERNAL1 | TIM_CLOCKSOURCE_ETRMODE1); 8477 .loc 1 5606 7 is_stmt 1 view .LVU2796 5606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr |= (TIM_SLAVEMODE_EXTERNAL1 | TIM_CLOCKSOURCE_ETRMODE1); 8478 .loc 1 5606 21 is_stmt 0 view .LVU2797 8479 00e2 2268 ldr r2, [r4] 5606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr |= (TIM_SLAVEMODE_EXTERNAL1 | TIM_CLOCKSOURCE_ETRMODE1); 8480 .loc 1 5606 15 view .LVU2798 8481 00e4 9368 ldr r3, [r2, #8] 8482 .LVL685: 5607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx SMCR */ 8483 .loc 1 5607 7 is_stmt 1 view .LVU2799 5607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx SMCR */ 8484 .loc 1 5607 15 is_stmt 0 view .LVU2800 8485 00e6 43F07703 orr r3, r3, #119 8486 .LVL686: 5609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8487 .loc 1 5609 7 is_stmt 1 view .LVU2801 5609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; ARM GAS /tmp/ccGjXOU1.s page 329 8488 .loc 1 5609 28 is_stmt 0 view .LVU2802 8489 00ea 9360 str r3, [r2, #8] 5610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8490 .loc 1 5610 7 is_stmt 1 view .LVU2803 5564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8491 .loc 1 5564 21 is_stmt 0 view .LVU2804 8492 00ec 0020 movs r0, #0 5610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8493 .loc 1 5610 7 view .LVU2805 8494 00ee D7E7 b .L507 8495 .LVL687: 8496 .L511: 5616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8497 .loc 1 5616 7 is_stmt 1 view .LVU2806 5619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKPOLARITY(sClockSourceConfig->ClockPolarity)); 8498 .loc 1 5619 7 view .LVU2807 5620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); 8499 .loc 1 5620 7 view .LVU2808 5621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8500 .loc 1 5621 7 view .LVU2809 5624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 8501 .loc 1 5624 7 view .LVU2810 8502 00f0 CB68 ldr r3, [r1, #12] 8503 00f2 4A68 ldr r2, [r1, #4] 8504 .LVL688: 5624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 8505 .loc 1 5624 7 is_stmt 0 view .LVU2811 8506 00f4 8968 ldr r1, [r1, #8] 8507 .LVL689: 5624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 8508 .loc 1 5624 7 view .LVU2812 8509 00f6 2068 ldr r0, [r4] 8510 .LVL690: 5624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 8511 .loc 1 5624 7 view .LVU2813 8512 00f8 FFF7FEFF bl TIM_ETR_SetConfig 8513 .LVL691: 5629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8514 .loc 1 5629 7 is_stmt 1 view .LVU2814 5629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8515 .loc 1 5629 11 is_stmt 0 view .LVU2815 8516 00fc 2268 ldr r2, [r4] 5629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8517 .loc 1 5629 21 view .LVU2816 8518 00fe 9368 ldr r3, [r2, #8] 5629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8519 .loc 1 5629 28 view .LVU2817 8520 0100 43F48043 orr r3, r3, #16384 8521 0104 9360 str r3, [r2, #8] 5630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8522 .loc 1 5630 7 is_stmt 1 view .LVU2818 5564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8523 .loc 1 5564 21 is_stmt 0 view .LVU2819 8524 0106 0020 movs r0, #0 5630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8525 .loc 1 5630 7 view .LVU2820 8526 0108 CAE7 b .L507 ARM GAS /tmp/ccGjXOU1.s page 330 8527 .LVL692: 8528 .L504: 5636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8529 .loc 1 5636 7 is_stmt 1 view .LVU2821 5639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); 8530 .loc 1 5639 7 view .LVU2822 5640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8531 .loc 1 5640 7 view .LVU2823 5642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8532 .loc 1 5642 7 view .LVU2824 8533 010a CA68 ldr r2, [r1, #12] 8534 .LVL693: 5642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8535 .loc 1 5642 7 is_stmt 0 view .LVU2825 8536 010c 4968 ldr r1, [r1, #4] 8537 .LVL694: 5642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8538 .loc 1 5642 7 view .LVU2826 8539 010e 2068 ldr r0, [r4] 8540 .LVL695: 5642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8541 .loc 1 5642 7 view .LVU2827 8542 0110 FFF7FEFF bl TIM_TI1_ConfigInputStage 8543 .LVL696: 5645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8544 .loc 1 5645 7 is_stmt 1 view .LVU2828 8545 0114 5021 movs r1, #80 8546 0116 2068 ldr r0, [r4] 8547 0118 FFF7FEFF bl TIM_ITRx_SetConfig 8548 .LVL697: 5646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8549 .loc 1 5646 7 view .LVU2829 5564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8550 .loc 1 5564 21 is_stmt 0 view .LVU2830 8551 011c 0020 movs r0, #0 5646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8552 .loc 1 5646 7 view .LVU2831 8553 011e BFE7 b .L507 8554 .LVL698: 8555 .L515: 5708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8556 .loc 1 5708 14 view .LVU2832 8557 0120 0120 movs r0, #1 8558 0122 BDE7 b .L507 8559 .L516: 8560 0124 0120 movs r0, #1 8561 0126 BBE7 b .L507 8562 .LVL699: 8563 .L514: 8564 .LCFI79: 8565 .cfi_def_cfa_offset 0 8566 .cfi_restore 4 8567 .cfi_restore 14 5568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8568 .loc 1 5568 3 discriminator 1 view .LVU2833 8569 0128 0220 movs r0, #2 8570 .LVL700: ARM GAS /tmp/ccGjXOU1.s page 331 5716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8571 .loc 1 5716 1 view .LVU2834 8572 012a 7047 bx lr 8573 .L525: 8574 .align 2 8575 .L524: 8576 012c 8800CEFF .word -3276664 8577 0130 30001000 .word 1048624 8578 0134 40001000 .word 1048640 8579 .cfi_endproc 8580 .LFE400: 8582 .section .text.TIM_SlaveTimer_SetConfig,"ax",%progbits 8583 .align 1 8584 .syntax unified 8585 .thumb 8586 .thumb_func 8588 TIM_SlaveTimer_SetConfig: 8589 .LVL701: 8590 .LFB440: 7579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 8591 .loc 1 7579 1 is_stmt 1 view -0 8592 .cfi_startproc 8593 @ args = 0, pretend = 0, frame = 0 8594 @ frame_needed = 0, uses_anonymous_args = 0 7579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 8595 .loc 1 7579 1 is_stmt 0 view .LVU2836 8596 0000 10B5 push {r4, lr} 8597 .LCFI80: 8598 .cfi_def_cfa_offset 8 8599 .cfi_offset 4, -8 8600 .cfi_offset 14, -4 7580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8601 .loc 1 7580 3 is_stmt 1 view .LVU2837 8602 .LVL702: 7581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr1; 8603 .loc 1 7581 3 view .LVU2838 7582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 8604 .loc 1 7582 3 view .LVU2839 7583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8605 .loc 1 7583 3 view .LVU2840 7586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8606 .loc 1 7586 3 view .LVU2841 7586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8607 .loc 1 7586 17 is_stmt 0 view .LVU2842 8608 0002 0468 ldr r4, [r0] 7586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8609 .loc 1 7586 11 view .LVU2843 8610 0004 A268 ldr r2, [r4, #8] 8611 .LVL703: 7589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Input Trigger source */ 8612 .loc 1 7589 3 is_stmt 1 view .LVU2844 7589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Input Trigger source */ 8613 .loc 1 7589 11 is_stmt 0 view .LVU2845 8614 0006 22F44012 bic r2, r2, #3145728 8615 .LVL704: 7589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Input Trigger source */ 8616 .loc 1 7589 11 view .LVU2846 ARM GAS /tmp/ccGjXOU1.s page 332 8617 000a 22F07002 bic r2, r2, #112 8618 .LVL705: 7591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8619 .loc 1 7591 3 is_stmt 1 view .LVU2847 7591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8620 .loc 1 7591 26 is_stmt 0 view .LVU2848 8621 000e 4B68 ldr r3, [r1, #4] 7591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8622 .loc 1 7591 11 view .LVU2849 8623 0010 1343 orrs r3, r3, r2 8624 .LVL706: 7594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the slave mode */ 8625 .loc 1 7594 3 is_stmt 1 view .LVU2850 7594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the slave mode */ 8626 .loc 1 7594 11 is_stmt 0 view .LVU2851 8627 0012 23F48033 bic r3, r3, #65536 8628 .LVL707: 7594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the slave mode */ 8629 .loc 1 7594 11 view .LVU2852 8630 0016 23F00703 bic r3, r3, #7 8631 .LVL708: 7596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8632 .loc 1 7596 3 is_stmt 1 view .LVU2853 7596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8633 .loc 1 7596 26 is_stmt 0 view .LVU2854 8634 001a 0A68 ldr r2, [r1] 7596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8635 .loc 1 7596 11 view .LVU2855 8636 001c 1A43 orrs r2, r2, r3 8637 .LVL709: 7599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8638 .loc 1 7599 3 is_stmt 1 view .LVU2856 7599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8639 .loc 1 7599 24 is_stmt 0 view .LVU2857 8640 001e A260 str r2, [r4, #8] 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8641 .loc 1 7602 3 is_stmt 1 view .LVU2858 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8642 .loc 1 7602 23 is_stmt 0 view .LVU2859 8643 0020 4B68 ldr r3, [r1, #4] 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8644 .loc 1 7602 3 view .LVU2860 8645 0022 602B cmp r3, #96 8646 0024 5AD0 beq .L527 8647 0026 1ED8 bhi .L528 8648 0028 402B cmp r3, #64 8649 002a 3FD0 beq .L529 8650 002c 08D9 bls .L549 8651 002e 502B cmp r3, #80 8652 0030 17D1 bne .L550 7649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERPOLARITY(sSlaveConfig->TriggerPolarity)); 8653 .loc 1 7649 7 is_stmt 1 view .LVU2861 7650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERFILTER(sSlaveConfig->TriggerFilter)); 8654 .loc 1 7650 7 view .LVU2862 7651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8655 .loc 1 7651 7 view .LVU2863 7654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, ARM GAS /tmp/ccGjXOU1.s page 333 8656 .loc 1 7654 7 view .LVU2864 8657 0032 0A69 ldr r2, [r1, #16] 8658 .LVL710: 7654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 8659 .loc 1 7654 7 is_stmt 0 view .LVU2865 8660 0034 8968 ldr r1, [r1, #8] 8661 .LVL711: 7654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 8662 .loc 1 7654 7 view .LVU2866 8663 0036 0068 ldr r0, [r0] 8664 .LVL712: 7654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 8665 .loc 1 7654 7 view .LVU2867 8666 0038 FFF7FEFF bl TIM_TI1_ConfigInputStage 8667 .LVL713: 7657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8668 .loc 1 7657 7 is_stmt 1 view .LVU2868 7580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8669 .loc 1 7580 21 is_stmt 0 view .LVU2869 8670 003c 0020 movs r0, #0 7657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8671 .loc 1 7657 7 view .LVU2870 8672 003e 34E0 b .L531 8673 .LVL714: 8674 .L549: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8675 .loc 1 7602 3 view .LVU2871 8676 0040 202B cmp r3, #32 8677 0042 52D0 beq .L536 8678 0044 07D8 bhi .L532 8679 0046 002B cmp r3, #0 8680 0048 51D0 beq .L537 8681 004a 102B cmp r3, #16 8682 004c 01D0 beq .L551 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8683 .loc 1 7699 14 view .LVU2872 8684 004e 0120 movs r0, #1 8685 .LVL715: 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8686 .loc 1 7699 14 view .LVU2873 8687 0050 2BE0 b .L531 8688 .LVL716: 8689 .L551: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8690 .loc 1 7602 3 view .LVU2874 8691 0052 0020 movs r0, #0 8692 .LVL717: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8693 .loc 1 7602 3 view .LVU2875 8694 0054 29E0 b .L531 8695 .LVL718: 8696 .L532: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8697 .loc 1 7602 3 view .LVU2876 8698 0056 302B cmp r3, #48 8699 0058 01D0 beq .L552 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; ARM GAS /tmp/ccGjXOU1.s page 334 8700 .loc 1 7699 14 view .LVU2877 8701 005a 0120 movs r0, #1 8702 .LVL719: 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8703 .loc 1 7699 14 view .LVU2878 8704 005c 25E0 b .L531 8705 .LVL720: 8706 .L552: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8707 .loc 1 7602 3 view .LVU2879 8708 005e 0020 movs r0, #0 8709 .LVL721: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8710 .loc 1 7602 3 view .LVU2880 8711 0060 23E0 b .L531 8712 .LVL722: 8713 .L550: 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8714 .loc 1 7699 14 view .LVU2881 8715 0062 0120 movs r0, #1 8716 .LVL723: 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8717 .loc 1 7699 14 view .LVU2882 8718 0064 21E0 b .L531 8719 .LVL724: 8720 .L528: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8721 .loc 1 7602 3 view .LVU2883 8722 0066 702B cmp r3, #112 8723 0068 18D0 beq .L534 8724 006a 42D3 bcc .L540 8725 006c 274A ldr r2, .L555 8726 .LVL725: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8727 .loc 1 7602 3 view .LVU2884 8728 006e 9342 cmp r3, r2 8729 0070 41D0 beq .L541 8730 0072 09D8 bhi .L535 8731 0074 B3F1101F cmp r3, #1048592 8732 0078 3FD0 beq .L542 8733 007a 103A subs r2, r2, #16 8734 007c 9342 cmp r3, r2 8735 007e 01D0 beq .L553 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8736 .loc 1 7699 14 view .LVU2885 8737 0080 0120 movs r0, #1 8738 .LVL726: 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8739 .loc 1 7699 14 view .LVU2886 8740 0082 12E0 b .L531 8741 .LVL727: 8742 .L553: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8743 .loc 1 7602 3 view .LVU2887 8744 0084 0020 movs r0, #0 8745 .LVL728: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 335 8746 .loc 1 7602 3 view .LVU2888 8747 0086 10E0 b .L531 8748 .LVL729: 8749 .L535: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8750 .loc 1 7602 3 view .LVU2889 8751 0088 214A ldr r2, .L555+4 8752 008a 9342 cmp r3, r2 8753 008c 37D0 beq .L544 8754 008e 3032 adds r2, r2, #48 8755 0090 9342 cmp r3, r2 8756 0092 01D0 beq .L554 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8757 .loc 1 7699 14 view .LVU2890 8758 0094 0120 movs r0, #1 8759 .LVL730: 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8760 .loc 1 7699 14 view .LVU2891 8761 0096 08E0 b .L531 8762 .LVL731: 8763 .L554: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8764 .loc 1 7602 3 view .LVU2892 8765 0098 0020 movs r0, #0 8766 .LVL732: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8767 .loc 1 7602 3 view .LVU2893 8768 009a 06E0 b .L531 8769 .LVL733: 8770 .L534: 7607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERPRESCALER(sSlaveConfig->TriggerPrescaler)); 8771 .loc 1 7607 7 is_stmt 1 view .LVU2894 7608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERPOLARITY(sSlaveConfig->TriggerPolarity)); 8772 .loc 1 7608 7 view .LVU2895 7609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERFILTER(sSlaveConfig->TriggerFilter)); 8773 .loc 1 7609 7 view .LVU2896 7610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the ETR Trigger source */ 8774 .loc 1 7610 7 view .LVU2897 7612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPrescaler, 8775 .loc 1 7612 7 view .LVU2898 8776 009c 0B69 ldr r3, [r1, #16] 8777 009e 8A68 ldr r2, [r1, #8] 8778 .LVL734: 7612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPrescaler, 8779 .loc 1 7612 7 is_stmt 0 view .LVU2899 8780 00a0 C968 ldr r1, [r1, #12] 8781 .LVL735: 7612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPrescaler, 8782 .loc 1 7612 7 view .LVU2900 8783 00a2 0068 ldr r0, [r0] 8784 .LVL736: 7612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPrescaler, 8785 .loc 1 7612 7 view .LVU2901 8786 00a4 FFF7FEFF bl TIM_ETR_SetConfig 8787 .LVL737: 7616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8788 .loc 1 7616 7 is_stmt 1 view .LVU2902 ARM GAS /tmp/ccGjXOU1.s page 336 7580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8789 .loc 1 7580 21 is_stmt 0 view .LVU2903 8790 00a8 0020 movs r0, #0 8791 .L531: 8792 .LVL738: 7704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8793 .loc 1 7704 1 view .LVU2904 8794 00aa 10BD pop {r4, pc} 8795 .LVL739: 8796 .L529: 7622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERFILTER(sSlaveConfig->TriggerFilter)); 8797 .loc 1 7622 7 is_stmt 1 view .LVU2905 7623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8798 .loc 1 7623 7 view .LVU2906 7625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (sSlaveConfig->SlaveMode == TIM_SLAVEMODE_COMBINED_GATEDRESET)) 8799 .loc 1 7625 7 view .LVU2907 7625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (sSlaveConfig->SlaveMode == TIM_SLAVEMODE_COMBINED_GATEDRESET)) 8800 .loc 1 7625 24 is_stmt 0 view .LVU2908 8801 00ac 0B68 ldr r3, [r1] 7625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (sSlaveConfig->SlaveMode == TIM_SLAVEMODE_COMBINED_GATEDRESET)) 8802 .loc 1 7625 10 view .LVU2909 8803 00ae 052B cmp r3, #5 8804 00b0 27D0 beq .L546 7625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (sSlaveConfig->SlaveMode == TIM_SLAVEMODE_COMBINED_GATEDRESET)) 8805 .loc 1 7625 60 discriminator 1 view .LVU2910 8806 00b2 B3F1011F cmp r3, #65537 8807 00b6 26D0 beq .L547 7632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCER &= ~TIM_CCER_CC1E; 8808 .loc 1 7632 7 is_stmt 1 view .LVU2911 7632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCER &= ~TIM_CCER_CC1E; 8809 .loc 1 7632 21 is_stmt 0 view .LVU2912 8810 00b8 0368 ldr r3, [r0] 7632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCER &= ~TIM_CCER_CC1E; 8811 .loc 1 7632 15 view .LVU2913 8812 00ba 1C6A ldr r4, [r3, #32] 8813 .LVL740: 7633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = htim->Instance->CCMR1; 8814 .loc 1 7633 7 is_stmt 1 view .LVU2914 7633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = htim->Instance->CCMR1; 8815 .loc 1 7633 21 is_stmt 0 view .LVU2915 8816 00bc 1A6A ldr r2, [r3, #32] 8817 .LVL741: 7633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = htim->Instance->CCMR1; 8818 .loc 1 7633 28 view .LVU2916 8819 00be 22F00102 bic r2, r2, #1 8820 00c2 1A62 str r2, [r3, #32] 7634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8821 .loc 1 7634 7 is_stmt 1 view .LVU2917 7634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8822 .loc 1 7634 22 is_stmt 0 view .LVU2918 8823 00c4 0268 ldr r2, [r0] 7634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8824 .loc 1 7634 16 view .LVU2919 8825 00c6 9369 ldr r3, [r2, #24] 8826 .LVL742: 7637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= ((sSlaveConfig->TriggerFilter) << 4U); 8827 .loc 1 7637 7 is_stmt 1 view .LVU2920 ARM GAS /tmp/ccGjXOU1.s page 337 7637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= ((sSlaveConfig->TriggerFilter) << 4U); 8828 .loc 1 7637 16 is_stmt 0 view .LVU2921 8829 00c8 23F0F003 bic r3, r3, #240 8830 .LVL743: 7638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8831 .loc 1 7638 7 is_stmt 1 view .LVU2922 7638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8832 .loc 1 7638 33 is_stmt 0 view .LVU2923 8833 00cc 0969 ldr r1, [r1, #16] 8834 .LVL744: 7638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8835 .loc 1 7638 16 view .LVU2924 8836 00ce 43EA0113 orr r3, r3, r1, lsl #4 8837 .LVL745: 7641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCER = tmpccer; 8838 .loc 1 7641 7 is_stmt 1 view .LVU2925 7641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCER = tmpccer; 8839 .loc 1 7641 29 is_stmt 0 view .LVU2926 8840 00d2 9361 str r3, [r2, #24] 7642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8841 .loc 1 7642 7 is_stmt 1 view .LVU2927 7642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8842 .loc 1 7642 11 is_stmt 0 view .LVU2928 8843 00d4 0368 ldr r3, [r0] 8844 .LVL746: 7642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8845 .loc 1 7642 28 view .LVU2929 8846 00d6 1C62 str r4, [r3, #32] 8847 .LVL747: 7643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8848 .loc 1 7643 7 is_stmt 1 view .LVU2930 7580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8849 .loc 1 7580 21 is_stmt 0 view .LVU2931 8850 00d8 0020 movs r0, #0 8851 .LVL748: 7643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8852 .loc 1 7643 7 view .LVU2932 8853 00da E6E7 b .L531 8854 .LVL749: 8855 .L527: 7663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERPOLARITY(sSlaveConfig->TriggerPolarity)); 8856 .loc 1 7663 7 is_stmt 1 view .LVU2933 7664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERFILTER(sSlaveConfig->TriggerFilter)); 8857 .loc 1 7664 7 view .LVU2934 7665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8858 .loc 1 7665 7 view .LVU2935 7668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 8859 .loc 1 7668 7 view .LVU2936 8860 00dc 0A69 ldr r2, [r1, #16] 8861 .LVL750: 7668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 8862 .loc 1 7668 7 is_stmt 0 view .LVU2937 8863 00de 8968 ldr r1, [r1, #8] 8864 .LVL751: 7668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 8865 .loc 1 7668 7 view .LVU2938 8866 00e0 0068 ldr r0, [r0] ARM GAS /tmp/ccGjXOU1.s page 338 8867 .LVL752: 7668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 8868 .loc 1 7668 7 view .LVU2939 8869 00e2 FFF7FEFF bl TIM_TI2_ConfigInputStage 8870 .LVL753: 7671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8871 .loc 1 7671 7 is_stmt 1 view .LVU2940 7580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8872 .loc 1 7580 21 is_stmt 0 view .LVU2941 8873 00e6 0020 movs r0, #0 7671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8874 .loc 1 7671 7 view .LVU2942 8875 00e8 DFE7 b .L531 8876 .LVL754: 8877 .L536: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8878 .loc 1 7602 3 view .LVU2943 8879 00ea 0020 movs r0, #0 8880 .LVL755: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8881 .loc 1 7602 3 view .LVU2944 8882 00ec DDE7 b .L531 8883 .LVL756: 8884 .L537: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8885 .loc 1 7602 3 view .LVU2945 8886 00ee 0020 movs r0, #0 8887 .LVL757: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8888 .loc 1 7602 3 view .LVU2946 8889 00f0 DBE7 b .L531 8890 .LVL758: 8891 .L540: 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8892 .loc 1 7699 14 view .LVU2947 8893 00f2 0120 movs r0, #1 8894 .LVL759: 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8895 .loc 1 7699 14 view .LVU2948 8896 00f4 D9E7 b .L531 8897 .LVL760: 8898 .L541: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8899 .loc 1 7602 3 view .LVU2949 8900 00f6 0020 movs r0, #0 8901 .LVL761: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8902 .loc 1 7602 3 view .LVU2950 8903 00f8 D7E7 b .L531 8904 .LVL762: 8905 .L542: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8906 .loc 1 7602 3 view .LVU2951 8907 00fa 0020 movs r0, #0 8908 .LVL763: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8909 .loc 1 7602 3 view .LVU2952 ARM GAS /tmp/ccGjXOU1.s page 339 8910 00fc D5E7 b .L531 8911 .LVL764: 8912 .L544: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8913 .loc 1 7602 3 view .LVU2953 8914 00fe 0020 movs r0, #0 8915 .LVL765: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8916 .loc 1 7602 3 view .LVU2954 8917 0100 D3E7 b .L531 8918 .LVL766: 8919 .L546: 7628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8920 .loc 1 7628 16 view .LVU2955 8921 0102 0120 movs r0, #1 8922 .LVL767: 7628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8923 .loc 1 7628 16 view .LVU2956 8924 0104 D1E7 b .L531 8925 .LVL768: 8926 .L547: 7628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8927 .loc 1 7628 16 view .LVU2957 8928 0106 0120 movs r0, #1 8929 .LVL769: 7628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8930 .loc 1 7628 16 view .LVU2958 8931 0108 CFE7 b .L531 8932 .L556: 8933 010a 00BF .align 2 8934 .L555: 8935 010c 30001000 .word 1048624 8936 0110 40001000 .word 1048640 8937 .cfi_endproc 8938 .LFE440: 8940 .section .text.HAL_TIM_SlaveConfigSynchro,"ax",%progbits 8941 .align 1 8942 .global HAL_TIM_SlaveConfigSynchro 8943 .syntax unified 8944 .thumb 8945 .thumb_func 8947 HAL_TIM_SlaveConfigSynchro: 8948 .LVL770: 8949 .LFB402: 5763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 8950 .loc 1 5763 1 is_stmt 1 view -0 8951 .cfi_startproc 8952 @ args = 0, pretend = 0, frame = 0 8953 @ frame_needed = 0, uses_anonymous_args = 0 5765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_SLAVE_MODE(sSlaveConfig->SlaveMode)); 8954 .loc 1 5765 3 view .LVU2960 5766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGER_INSTANCE(htim->Instance, sSlaveConfig->InputTrigger)); 8955 .loc 1 5766 3 view .LVU2961 5767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8956 .loc 1 5767 3 view .LVU2962 5769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8957 .loc 1 5769 3 view .LVU2963 ARM GAS /tmp/ccGjXOU1.s page 340 5769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8958 .loc 1 5769 3 view .LVU2964 8959 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 8960 0004 012B cmp r3, #1 8961 0006 22D0 beq .L560 5763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 8962 .loc 1 5763 1 is_stmt 0 view .LVU2965 8963 0008 10B5 push {r4, lr} 8964 .LCFI81: 8965 .cfi_def_cfa_offset 8 8966 .cfi_offset 4, -8 8967 .cfi_offset 14, -4 8968 000a 0446 mov r4, r0 5769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8969 .loc 1 5769 3 is_stmt 1 discriminator 2 view .LVU2966 8970 000c 0123 movs r3, #1 8971 000e 80F83C30 strb r3, [r0, #60] 5769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8972 .loc 1 5769 3 view .LVU2967 5771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8973 .loc 1 5771 3 view .LVU2968 5771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8974 .loc 1 5771 15 is_stmt 0 view .LVU2969 8975 0012 0223 movs r3, #2 8976 0014 80F83D30 strb r3, [r0, #61] 5773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8977 .loc 1 5773 3 is_stmt 1 view .LVU2970 5773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8978 .loc 1 5773 7 is_stmt 0 view .LVU2971 8979 0018 FFF7FEFF bl TIM_SlaveTimer_SetConfig 8980 .LVL771: 5773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8981 .loc 1 5773 6 discriminator 1 view .LVU2972 8982 001c 80B9 cbnz r0, .L565 5781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8983 .loc 1 5781 3 is_stmt 1 view .LVU2973 8984 001e 2268 ldr r2, [r4] 8985 0020 D368 ldr r3, [r2, #12] 8986 0022 23F04003 bic r3, r3, #64 8987 0026 D360 str r3, [r2, #12] 5784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8988 .loc 1 5784 3 view .LVU2974 8989 0028 2268 ldr r2, [r4] 8990 002a D368 ldr r3, [r2, #12] 8991 002c 23F48043 bic r3, r3, #16384 8992 0030 D360 str r3, [r2, #12] 5786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8993 .loc 1 5786 3 view .LVU2975 5786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8994 .loc 1 5786 15 is_stmt 0 view .LVU2976 8995 0032 0123 movs r3, #1 8996 0034 84F83D30 strb r3, [r4, #61] 5788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8997 .loc 1 5788 3 is_stmt 1 view .LVU2977 5788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8998 .loc 1 5788 3 view .LVU2978 8999 0038 0023 movs r3, #0 ARM GAS /tmp/ccGjXOU1.s page 341 9000 003a 84F83C30 strb r3, [r4, #60] 5788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9001 .loc 1 5788 3 view .LVU2979 5790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9002 .loc 1 5790 3 view .LVU2980 9003 .L558: 5791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9004 .loc 1 5791 1 is_stmt 0 view .LVU2981 9005 003e 10BD pop {r4, pc} 9006 .LVL772: 9007 .L565: 5775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 9008 .loc 1 5775 5 is_stmt 1 view .LVU2982 5775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 9009 .loc 1 5775 17 is_stmt 0 view .LVU2983 9010 0040 0120 movs r0, #1 9011 0042 84F83D00 strb r0, [r4, #61] 5776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 9012 .loc 1 5776 5 is_stmt 1 view .LVU2984 5776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 9013 .loc 1 5776 5 view .LVU2985 9014 0046 0023 movs r3, #0 9015 0048 84F83C30 strb r3, [r4, #60] 5776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 9016 .loc 1 5776 5 view .LVU2986 5777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9017 .loc 1 5777 5 view .LVU2987 5777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9018 .loc 1 5777 12 is_stmt 0 view .LVU2988 9019 004c F7E7 b .L558 9020 .LVL773: 9021 .L560: 9022 .LCFI82: 9023 .cfi_def_cfa_offset 0 9024 .cfi_restore 4 9025 .cfi_restore 14 5769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9026 .loc 1 5769 3 discriminator 1 view .LVU2989 9027 004e 0220 movs r0, #2 9028 .LVL774: 5791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9029 .loc 1 5791 1 view .LVU2990 9030 0050 7047 bx lr 9031 .cfi_endproc 9032 .LFE402: 9034 .section .text.HAL_TIM_SlaveConfigSynchro_IT,"ax",%progbits 9035 .align 1 9036 .global HAL_TIM_SlaveConfigSynchro_IT 9037 .syntax unified 9038 .thumb 9039 .thumb_func 9041 HAL_TIM_SlaveConfigSynchro_IT: 9042 .LVL775: 9043 .LFB403: 5804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 9044 .loc 1 5804 1 is_stmt 1 view -0 9045 .cfi_startproc ARM GAS /tmp/ccGjXOU1.s page 342 9046 @ args = 0, pretend = 0, frame = 0 9047 @ frame_needed = 0, uses_anonymous_args = 0 5806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_SLAVE_MODE(sSlaveConfig->SlaveMode)); 9048 .loc 1 5806 3 view .LVU2992 5807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGER_INSTANCE(htim->Instance, sSlaveConfig->InputTrigger)); 9049 .loc 1 5807 3 view .LVU2993 5808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9050 .loc 1 5808 3 view .LVU2994 5810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9051 .loc 1 5810 3 view .LVU2995 5810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9052 .loc 1 5810 3 view .LVU2996 9053 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 9054 0004 012B cmp r3, #1 9055 0006 22D0 beq .L569 5804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 9056 .loc 1 5804 1 is_stmt 0 view .LVU2997 9057 0008 10B5 push {r4, lr} 9058 .LCFI83: 9059 .cfi_def_cfa_offset 8 9060 .cfi_offset 4, -8 9061 .cfi_offset 14, -4 9062 000a 0446 mov r4, r0 5810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9063 .loc 1 5810 3 is_stmt 1 discriminator 2 view .LVU2998 9064 000c 0123 movs r3, #1 9065 000e 80F83C30 strb r3, [r0, #60] 5810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9066 .loc 1 5810 3 view .LVU2999 5812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9067 .loc 1 5812 3 view .LVU3000 5812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9068 .loc 1 5812 15 is_stmt 0 view .LVU3001 9069 0012 0223 movs r3, #2 9070 0014 80F83D30 strb r3, [r0, #61] 5814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9071 .loc 1 5814 3 is_stmt 1 view .LVU3002 5814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9072 .loc 1 5814 7 is_stmt 0 view .LVU3003 9073 0018 FFF7FEFF bl TIM_SlaveTimer_SetConfig 9074 .LVL776: 5814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9075 .loc 1 5814 6 discriminator 1 view .LVU3004 9076 001c 80B9 cbnz r0, .L574 5822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9077 .loc 1 5822 3 is_stmt 1 view .LVU3005 9078 001e 2268 ldr r2, [r4] 9079 0020 D368 ldr r3, [r2, #12] 9080 0022 43F04003 orr r3, r3, #64 9081 0026 D360 str r3, [r2, #12] 5825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9082 .loc 1 5825 3 view .LVU3006 9083 0028 2268 ldr r2, [r4] 9084 002a D368 ldr r3, [r2, #12] 9085 002c 23F48043 bic r3, r3, #16384 9086 0030 D360 str r3, [r2, #12] 5827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 343 9087 .loc 1 5827 3 view .LVU3007 5827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9088 .loc 1 5827 15 is_stmt 0 view .LVU3008 9089 0032 0123 movs r3, #1 9090 0034 84F83D30 strb r3, [r4, #61] 5829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9091 .loc 1 5829 3 is_stmt 1 view .LVU3009 5829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9092 .loc 1 5829 3 view .LVU3010 9093 0038 0023 movs r3, #0 9094 003a 84F83C30 strb r3, [r4, #60] 5829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9095 .loc 1 5829 3 view .LVU3011 5831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9096 .loc 1 5831 3 view .LVU3012 9097 .L567: 5832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9098 .loc 1 5832 1 is_stmt 0 view .LVU3013 9099 003e 10BD pop {r4, pc} 9100 .LVL777: 9101 .L574: 5816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 9102 .loc 1 5816 5 is_stmt 1 view .LVU3014 5816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 9103 .loc 1 5816 17 is_stmt 0 view .LVU3015 9104 0040 0120 movs r0, #1 9105 0042 84F83D00 strb r0, [r4, #61] 5817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 9106 .loc 1 5817 5 is_stmt 1 view .LVU3016 5817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 9107 .loc 1 5817 5 view .LVU3017 9108 0046 0023 movs r3, #0 9109 0048 84F83C30 strb r3, [r4, #60] 5817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 9110 .loc 1 5817 5 view .LVU3018 5818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9111 .loc 1 5818 5 view .LVU3019 5818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9112 .loc 1 5818 12 is_stmt 0 view .LVU3020 9113 004c F7E7 b .L567 9114 .LVL778: 9115 .L569: 9116 .LCFI84: 9117 .cfi_def_cfa_offset 0 9118 .cfi_restore 4 9119 .cfi_restore 14 5810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9120 .loc 1 5810 3 discriminator 1 view .LVU3021 9121 004e 0220 movs r0, #2 9122 .LVL779: 5832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9123 .loc 1 5832 1 view .LVU3022 9124 0050 7047 bx lr 9125 .cfi_endproc 9126 .LFE403: 9128 .section .text.TIM_CCxChannelCmd,"ax",%progbits 9129 .align 1 ARM GAS /tmp/ccGjXOU1.s page 344 9130 .global TIM_CCxChannelCmd 9131 .syntax unified 9132 .thumb 9133 .thumb_func 9135 TIM_CCxChannelCmd: 9136 .LVL780: 9137 .LFB449: 8047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 8049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @brief Enables or disables the TIM Capture Compare Channel x. 8050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param TIMx to select the TIM peripheral 8051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param Channel specifies the TIM Channel 8052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be one of the following values: 8053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 8054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 8055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 8056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 8057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_5: TIM Channel 5 selected 8058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @arg TIM_CHANNEL_6: TIM Channel 6 selected 8059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @param ChannelState specifies the TIM Channel CCxE bit new state. 8060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * This parameter can be: TIM_CCx_ENABLE or TIM_CCx_DISABLE. 8061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** * @retval None 8062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** */ 8063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** void TIM_CCxChannelCmd(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ChannelState) 8064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9138 .loc 1 8064 1 is_stmt 1 view -0 9139 .cfi_startproc 9140 @ args = 0, pretend = 0, frame = 0 9141 @ frame_needed = 0, uses_anonymous_args = 0 9142 @ link register save eliminated. 8065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmp; 9143 .loc 1 8065 3 view .LVU3024 8066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 8068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(TIMx)); 9144 .loc 1 8068 3 view .LVU3025 8069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CHANNELS(Channel)); 9145 .loc 1 8069 3 view .LVU3026 8070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmp = TIM_CCER_CC1E << (Channel & 0x1FU); /* 0x1FU = 31 bits max shift */ 9146 .loc 1 8071 3 view .LVU3027 9147 .loc 1 8071 35 is_stmt 0 view .LVU3028 9148 0000 01F01F01 and r1, r1, #31 9149 .LVL781: 9150 .loc 1 8071 7 view .LVU3029 9151 0004 4FF0010C mov ip, #1 9152 0008 0CFA01FC lsl ip, ip, r1 9153 .LVL782: 8072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the CCxE Bit */ 8074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~tmp; 9154 .loc 1 8074 3 is_stmt 1 view .LVU3030 9155 .loc 1 8074 7 is_stmt 0 view .LVU3031 9156 000c 036A ldr r3, [r0, #32] 9157 .loc 1 8074 14 view .LVU3032 9158 000e 23EA0C03 bic r3, r3, ip 9159 0012 0362 str r3, [r0, #32] ARM GAS /tmp/ccGjXOU1.s page 345 8075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set or reset the CCxE Bit */ 8077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER |= (uint32_t)(ChannelState << (Channel & 0x1FU)); /* 0x1FU = 31 bits max shift */ 9160 .loc 1 8077 3 is_stmt 1 view .LVU3033 9161 .loc 1 8077 7 is_stmt 0 view .LVU3034 9162 0014 036A ldr r3, [r0, #32] 9163 .loc 1 8077 41 view .LVU3035 9164 0016 8A40 lsls r2, r2, r1 9165 .LVL783: 9166 .loc 1 8077 14 view .LVU3036 9167 0018 1343 orrs r3, r3, r2 9168 001a 0362 str r3, [r0, #32] 8078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9169 .loc 1 8078 1 view .LVU3037 9170 001c 7047 bx lr 9171 .cfi_endproc 9172 .LFE449: 9174 .section .text.HAL_TIM_OC_Start,"ax",%progbits 9175 .align 1 9176 .global HAL_TIM_OC_Start 9177 .syntax unified 9178 .thumb 9179 .thumb_func 9181 HAL_TIM_OC_Start: 9182 .LVL784: 9183 .LFB343: 807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 9184 .loc 1 807 1 is_stmt 1 view -0 9185 .cfi_startproc 9186 @ args = 0, pretend = 0, frame = 0 9187 @ frame_needed = 0, uses_anonymous_args = 0 807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 9188 .loc 1 807 1 is_stmt 0 view .LVU3039 9189 0000 10B5 push {r4, lr} 9190 .LCFI85: 9191 .cfi_def_cfa_offset 8 9192 .cfi_offset 4, -8 9193 .cfi_offset 14, -4 9194 0002 0446 mov r4, r0 808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9195 .loc 1 808 3 is_stmt 1 view .LVU3040 811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9196 .loc 1 811 3 view .LVU3041 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9197 .loc 1 814 3 view .LVU3042 9198 0004 1029 cmp r1, #16 9199 0006 28D8 bhi .L577 9200 0008 DFE801F0 tbb [pc, r1] 9201 .L579: 9202 000c 09 .byte (.L583-.L579)/2 9203 000d 27 .byte (.L577-.L579)/2 9204 000e 27 .byte (.L577-.L579)/2 9205 000f 27 .byte (.L577-.L579)/2 9206 0010 0F .byte (.L582-.L579)/2 9207 0011 27 .byte (.L577-.L579)/2 9208 0012 27 .byte (.L577-.L579)/2 9209 0013 27 .byte (.L577-.L579)/2 ARM GAS /tmp/ccGjXOU1.s page 346 9210 0014 15 .byte (.L581-.L579)/2 9211 0015 27 .byte (.L577-.L579)/2 9212 0016 27 .byte (.L577-.L579)/2 9213 0017 27 .byte (.L577-.L579)/2 9214 0018 1B .byte (.L580-.L579)/2 9215 0019 27 .byte (.L577-.L579)/2 9216 001a 27 .byte (.L577-.L579)/2 9217 001b 27 .byte (.L577-.L579)/2 9218 001c 21 .byte (.L578-.L579)/2 9219 001d 00 .p2align 1 9220 .L583: 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9221 .loc 1 814 7 is_stmt 0 discriminator 1 view .LVU3043 9222 001e 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9223 .loc 1 814 44 discriminator 1 view .LVU3044 9224 0022 013B subs r3, r3, #1 9225 0024 18BF it ne 9226 0026 0123 movne r3, #1 9227 0028 1CE0 b .L584 9228 .L582: 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9229 .loc 1 814 7 discriminator 4 view .LVU3045 9230 002a 90F83F30 ldrb r3, [r0, #63] @ zero_extendqisi2 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9231 .loc 1 814 44 discriminator 4 view .LVU3046 9232 002e 013B subs r3, r3, #1 9233 0030 18BF it ne 9234 0032 0123 movne r3, #1 9235 0034 16E0 b .L584 9236 .L581: 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9237 .loc 1 814 7 discriminator 7 view .LVU3047 9238 0036 90F84030 ldrb r3, [r0, #64] @ zero_extendqisi2 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9239 .loc 1 814 44 discriminator 7 view .LVU3048 9240 003a 013B subs r3, r3, #1 9241 003c 18BF it ne 9242 003e 0123 movne r3, #1 9243 0040 10E0 b .L584 9244 .L580: 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9245 .loc 1 814 7 discriminator 10 view .LVU3049 9246 0042 90F84130 ldrb r3, [r0, #65] @ zero_extendqisi2 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9247 .loc 1 814 44 discriminator 10 view .LVU3050 9248 0046 013B subs r3, r3, #1 9249 0048 18BF it ne 9250 004a 0123 movne r3, #1 9251 004c 0AE0 b .L584 9252 .L578: 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9253 .loc 1 814 7 discriminator 13 view .LVU3051 9254 004e 90F84230 ldrb r3, [r0, #66] @ zero_extendqisi2 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9255 .loc 1 814 44 discriminator 13 view .LVU3052 9256 0052 013B subs r3, r3, #1 ARM GAS /tmp/ccGjXOU1.s page 347 9257 0054 18BF it ne 9258 0056 0123 movne r3, #1 9259 0058 04E0 b .L584 9260 .L577: 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9261 .loc 1 814 7 discriminator 14 view .LVU3053 9262 005a 90F84330 ldrb r3, [r0, #67] @ zero_extendqisi2 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9263 .loc 1 814 44 discriminator 14 view .LVU3054 9264 005e 013B subs r3, r3, #1 9265 0060 18BF it ne 9266 0062 0123 movne r3, #1 9267 .L584: 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9268 .loc 1 814 6 discriminator 20 view .LVU3055 9269 0064 002B cmp r3, #0 9270 0066 6AD1 bne .L598 820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9271 .loc 1 820 3 is_stmt 1 view .LVU3056 9272 0068 1029 cmp r1, #16 9273 006a 1ED8 bhi .L586 9274 006c DFE801F0 tbb [pc, r1] 9275 .L588: 9276 0070 09 .byte (.L592-.L588)/2 9277 0071 1D .byte (.L586-.L588)/2 9278 0072 1D .byte (.L586-.L588)/2 9279 0073 1D .byte (.L586-.L588)/2 9280 0074 0D .byte (.L591-.L588)/2 9281 0075 1D .byte (.L586-.L588)/2 9282 0076 1D .byte (.L586-.L588)/2 9283 0077 1D .byte (.L586-.L588)/2 9284 0078 11 .byte (.L590-.L588)/2 9285 0079 1D .byte (.L586-.L588)/2 9286 007a 1D .byte (.L586-.L588)/2 9287 007b 1D .byte (.L586-.L588)/2 9288 007c 15 .byte (.L589-.L588)/2 9289 007d 1D .byte (.L586-.L588)/2 9290 007e 1D .byte (.L586-.L588)/2 9291 007f 1D .byte (.L586-.L588)/2 9292 0080 19 .byte (.L587-.L588)/2 9293 0081 00 .p2align 1 9294 .L592: 820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9295 .loc 1 820 3 is_stmt 0 discriminator 1 view .LVU3057 9296 0082 0223 movs r3, #2 9297 0084 84F83E30 strb r3, [r4, #62] 9298 0088 12E0 b .L593 9299 .L591: 820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9300 .loc 1 820 3 discriminator 3 view .LVU3058 9301 008a 0223 movs r3, #2 9302 008c 84F83F30 strb r3, [r4, #63] 9303 0090 0EE0 b .L593 9304 .L590: 820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9305 .loc 1 820 3 discriminator 6 view .LVU3059 9306 0092 0223 movs r3, #2 ARM GAS /tmp/ccGjXOU1.s page 348 9307 0094 84F84030 strb r3, [r4, #64] 9308 0098 0AE0 b .L593 9309 .L589: 820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9310 .loc 1 820 3 discriminator 9 view .LVU3060 9311 009a 0223 movs r3, #2 9312 009c 84F84130 strb r3, [r4, #65] 9313 00a0 06E0 b .L593 9314 .L587: 820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9315 .loc 1 820 3 discriminator 12 view .LVU3061 9316 00a2 0223 movs r3, #2 9317 00a4 84F84230 strb r3, [r4, #66] 9318 00a8 02E0 b .L593 9319 .L586: 820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9320 .loc 1 820 3 discriminator 13 view .LVU3062 9321 00aa 0223 movs r3, #2 9322 00ac 84F84330 strb r3, [r4, #67] 9323 .L593: 823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9324 .loc 1 823 3 is_stmt 1 view .LVU3063 9325 00b0 0122 movs r2, #1 9326 00b2 2068 ldr r0, [r4] 9327 .LVL785: 823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9328 .loc 1 823 3 is_stmt 0 view .LVU3064 9329 00b4 FFF7FEFF bl TIM_CCxChannelCmd 9330 .LVL786: 825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9331 .loc 1 825 3 is_stmt 1 view .LVU3065 825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9332 .loc 1 825 7 is_stmt 0 view .LVU3066 9333 00b8 2368 ldr r3, [r4] 9334 00ba 244A ldr r2, .L602 9335 00bc 9342 cmp r3, r2 9336 00be 0FD0 beq .L594 825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9337 .loc 1 825 7 discriminator 2 view .LVU3067 9338 00c0 02F50062 add r2, r2, #2048 9339 00c4 9342 cmp r3, r2 9340 00c6 0BD0 beq .L594 825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9341 .loc 1 825 7 discriminator 4 view .LVU3068 9342 00c8 02F54062 add r2, r2, #3072 9343 00cc 9342 cmp r3, r2 9344 00ce 07D0 beq .L594 825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9345 .loc 1 825 7 discriminator 6 view .LVU3069 9346 00d0 02F58062 add r2, r2, #1024 9347 00d4 9342 cmp r3, r2 9348 00d6 03D0 beq .L594 825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9349 .loc 1 825 7 discriminator 8 view .LVU3070 9350 00d8 02F58062 add r2, r2, #1024 9351 00dc 9342 cmp r3, r2 9352 00de 03D1 bne .L595 ARM GAS /tmp/ccGjXOU1.s page 349 9353 .L594: 828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9354 .loc 1 828 5 is_stmt 1 view .LVU3071 9355 00e0 5A6C ldr r2, [r3, #68] 9356 00e2 42F40042 orr r2, r2, #32768 9357 00e6 5A64 str r2, [r3, #68] 9358 .L595: 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9359 .loc 1 832 3 view .LVU3072 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9360 .loc 1 832 7 is_stmt 0 view .LVU3073 9361 00e8 2368 ldr r3, [r4] 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9362 .loc 1 832 6 view .LVU3074 9363 00ea 184A ldr r2, .L602 9364 00ec 9342 cmp r3, r2 9365 00ee 18D0 beq .L596 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9366 .loc 1 832 7 discriminator 1 view .LVU3075 9367 00f0 B3F1804F cmp r3, #1073741824 9368 00f4 15D0 beq .L596 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9369 .loc 1 832 7 discriminator 2 view .LVU3076 9370 00f6 A2F59432 sub r2, r2, #75776 9371 00fa 9342 cmp r3, r2 9372 00fc 11D0 beq .L596 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9373 .loc 1 832 7 discriminator 3 view .LVU3077 9374 00fe 02F58062 add r2, r2, #1024 9375 0102 9342 cmp r3, r2 9376 0104 0DD0 beq .L596 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9377 .loc 1 832 7 discriminator 4 view .LVU3078 9378 0106 02F59632 add r2, r2, #76800 9379 010a 9342 cmp r3, r2 9380 010c 09D0 beq .L596 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9381 .loc 1 832 7 discriminator 5 view .LVU3079 9382 010e 02F54062 add r2, r2, #3072 9383 0112 9342 cmp r3, r2 9384 0114 05D0 beq .L596 842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9385 .loc 1 842 5 is_stmt 1 view .LVU3080 9386 0116 1A68 ldr r2, [r3] 9387 0118 42F00102 orr r2, r2, #1 9388 011c 1A60 str r2, [r3] 846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9389 .loc 1 846 10 is_stmt 0 view .LVU3081 9390 011e 0020 movs r0, #0 9391 0120 0EE0 b .L585 9392 .L596: 834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 9393 .loc 1 834 5 is_stmt 1 view .LVU3082 834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 9394 .loc 1 834 29 is_stmt 0 view .LVU3083 9395 0122 9968 ldr r1, [r3, #8] 834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) ARM GAS /tmp/ccGjXOU1.s page 350 9396 .loc 1 834 13 view .LVU3084 9397 0124 0A4A ldr r2, .L602+4 9398 0126 0A40 ands r2, r2, r1 9399 .LVL787: 835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9400 .loc 1 835 5 is_stmt 1 view .LVU3085 835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9401 .loc 1 835 8 is_stmt 0 view .LVU3086 9402 0128 062A cmp r2, #6 9403 012a 0AD0 beq .L599 835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9404 .loc 1 835 9 discriminator 1 view .LVU3087 9405 012c B2F5803F cmp r2, #65536 9406 0130 09D0 beq .L600 837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9407 .loc 1 837 7 is_stmt 1 view .LVU3088 9408 0132 1A68 ldr r2, [r3] 9409 .LVL788: 837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9410 .loc 1 837 7 is_stmt 0 view .LVU3089 9411 0134 42F00102 orr r2, r2, #1 9412 0138 1A60 str r2, [r3] 846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9413 .loc 1 846 10 view .LVU3090 9414 013a 0020 movs r0, #0 9415 013c 00E0 b .L585 9416 .LVL789: 9417 .L598: 816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9418 .loc 1 816 12 view .LVU3091 9419 013e 0120 movs r0, #1 9420 .LVL790: 9421 .L585: 847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9422 .loc 1 847 1 view .LVU3092 9423 0140 10BD pop {r4, pc} 9424 .LVL791: 9425 .L599: 846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9426 .loc 1 846 10 view .LVU3093 9427 0142 0020 movs r0, #0 9428 0144 FCE7 b .L585 9429 .L600: 9430 0146 0020 movs r0, #0 9431 0148 FAE7 b .L585 9432 .L603: 9433 014a 00BF .align 2 9434 .L602: 9435 014c 002C0140 .word 1073818624 9436 0150 07000100 .word 65543 9437 .cfi_endproc 9438 .LFE343: 9440 .section .text.HAL_TIM_OC_Stop,"ax",%progbits 9441 .align 1 9442 .global HAL_TIM_OC_Stop 9443 .syntax unified 9444 .thumb ARM GAS /tmp/ccGjXOU1.s page 351 9445 .thumb_func 9447 HAL_TIM_OC_Stop: 9448 .LVL792: 9449 .LFB344: 863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 9450 .loc 1 863 1 is_stmt 1 view -0 9451 .cfi_startproc 9452 @ args = 0, pretend = 0, frame = 0 9453 @ frame_needed = 0, uses_anonymous_args = 0 863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 9454 .loc 1 863 1 is_stmt 0 view .LVU3095 9455 0000 38B5 push {r3, r4, r5, lr} 9456 .LCFI86: 9457 .cfi_def_cfa_offset 16 9458 .cfi_offset 3, -16 9459 .cfi_offset 4, -12 9460 .cfi_offset 5, -8 9461 .cfi_offset 14, -4 9462 0002 0446 mov r4, r0 9463 0004 0D46 mov r5, r1 865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9464 .loc 1 865 3 is_stmt 1 view .LVU3096 868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9465 .loc 1 868 3 view .LVU3097 9466 0006 0022 movs r2, #0 9467 0008 0068 ldr r0, [r0] 9468 .LVL793: 868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9469 .loc 1 868 3 is_stmt 0 view .LVU3098 9470 000a FFF7FEFF bl TIM_CCxChannelCmd 9471 .LVL794: 870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9472 .loc 1 870 3 is_stmt 1 view .LVU3099 870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9473 .loc 1 870 7 is_stmt 0 view .LVU3100 9474 000e 2368 ldr r3, [r4] 9475 0010 2A4A ldr r2, .L617 9476 0012 9342 cmp r3, r2 9477 0014 0FD0 beq .L605 870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9478 .loc 1 870 7 discriminator 2 view .LVU3101 9479 0016 02F50062 add r2, r2, #2048 9480 001a 9342 cmp r3, r2 9481 001c 0BD0 beq .L605 870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9482 .loc 1 870 7 discriminator 4 view .LVU3102 9483 001e 02F54062 add r2, r2, #3072 9484 0022 9342 cmp r3, r2 9485 0024 07D0 beq .L605 870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9486 .loc 1 870 7 discriminator 6 view .LVU3103 9487 0026 02F58062 add r2, r2, #1024 9488 002a 9342 cmp r3, r2 9489 002c 03D0 beq .L605 870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9490 .loc 1 870 7 discriminator 8 view .LVU3104 9491 002e 02F58062 add r2, r2, #1024 ARM GAS /tmp/ccGjXOU1.s page 352 9492 0032 9342 cmp r3, r2 9493 0034 0DD1 bne .L606 9494 .L605: 873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9495 .loc 1 873 5 is_stmt 1 view .LVU3105 873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9496 .loc 1 873 5 view .LVU3106 9497 0036 196A ldr r1, [r3, #32] 9498 0038 41F21112 movw r2, #4369 9499 003c 1142 tst r1, r2 9500 003e 08D1 bne .L606 873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9501 .loc 1 873 5 discriminator 1 view .LVU3107 9502 0040 196A ldr r1, [r3, #32] 9503 0042 44F24442 movw r2, #17476 9504 0046 1142 tst r1, r2 9505 0048 03D1 bne .L606 873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9506 .loc 1 873 5 discriminator 3 view .LVU3108 9507 004a 5A6C ldr r2, [r3, #68] 9508 004c 22F40042 bic r2, r2, #32768 9509 0050 5A64 str r2, [r3, #68] 9510 .L606: 873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9511 .loc 1 873 5 discriminator 5 view .LVU3109 877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9512 .loc 1 877 3 view .LVU3110 877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9513 .loc 1 877 3 view .LVU3111 9514 0052 2368 ldr r3, [r4] 9515 0054 196A ldr r1, [r3, #32] 9516 0056 41F21112 movw r2, #4369 9517 005a 1142 tst r1, r2 9518 005c 08D1 bne .L607 877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9519 .loc 1 877 3 discriminator 1 view .LVU3112 9520 005e 196A ldr r1, [r3, #32] 9521 0060 44F24442 movw r2, #17476 9522 0064 1142 tst r1, r2 9523 0066 03D1 bne .L607 877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9524 .loc 1 877 3 discriminator 3 view .LVU3113 9525 0068 1A68 ldr r2, [r3] 9526 006a 22F00102 bic r2, r2, #1 9527 006e 1A60 str r2, [r3] 9528 .L607: 877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9529 .loc 1 877 3 discriminator 5 view .LVU3114 880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9530 .loc 1 880 3 view .LVU3115 9531 0070 102D cmp r5, #16 9532 0072 1ED8 bhi .L608 9533 0074 DFE805F0 tbb [pc, r5] 9534 .L610: 9535 0078 09 .byte (.L614-.L610)/2 9536 0079 1D .byte (.L608-.L610)/2 9537 007a 1D .byte (.L608-.L610)/2 ARM GAS /tmp/ccGjXOU1.s page 353 9538 007b 1D .byte (.L608-.L610)/2 9539 007c 0D .byte (.L613-.L610)/2 9540 007d 1D .byte (.L608-.L610)/2 9541 007e 1D .byte (.L608-.L610)/2 9542 007f 1D .byte (.L608-.L610)/2 9543 0080 11 .byte (.L612-.L610)/2 9544 0081 1D .byte (.L608-.L610)/2 9545 0082 1D .byte (.L608-.L610)/2 9546 0083 1D .byte (.L608-.L610)/2 9547 0084 15 .byte (.L611-.L610)/2 9548 0085 1D .byte (.L608-.L610)/2 9549 0086 1D .byte (.L608-.L610)/2 9550 0087 1D .byte (.L608-.L610)/2 9551 0088 19 .byte (.L609-.L610)/2 9552 0089 00 .p2align 1 9553 .L614: 880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9554 .loc 1 880 3 is_stmt 0 discriminator 1 view .LVU3116 9555 008a 0123 movs r3, #1 9556 008c 84F83E30 strb r3, [r4, #62] 9557 0090 12E0 b .L615 9558 .L613: 880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9559 .loc 1 880 3 discriminator 3 view .LVU3117 9560 0092 0123 movs r3, #1 9561 0094 84F83F30 strb r3, [r4, #63] 9562 0098 0EE0 b .L615 9563 .L612: 880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9564 .loc 1 880 3 discriminator 6 view .LVU3118 9565 009a 0123 movs r3, #1 9566 009c 84F84030 strb r3, [r4, #64] 9567 00a0 0AE0 b .L615 9568 .L611: 880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9569 .loc 1 880 3 discriminator 9 view .LVU3119 9570 00a2 0123 movs r3, #1 9571 00a4 84F84130 strb r3, [r4, #65] 9572 00a8 06E0 b .L615 9573 .L609: 880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9574 .loc 1 880 3 discriminator 12 view .LVU3120 9575 00aa 0123 movs r3, #1 9576 00ac 84F84230 strb r3, [r4, #66] 9577 00b0 02E0 b .L615 9578 .L608: 880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9579 .loc 1 880 3 discriminator 13 view .LVU3121 9580 00b2 0123 movs r3, #1 9581 00b4 84F84330 strb r3, [r4, #67] 9582 .L615: 883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9583 .loc 1 883 3 is_stmt 1 view .LVU3122 884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9584 .loc 1 884 1 is_stmt 0 view .LVU3123 9585 00b8 0020 movs r0, #0 9586 00ba 38BD pop {r3, r4, r5, pc} ARM GAS /tmp/ccGjXOU1.s page 354 9587 .LVL795: 9588 .L618: 884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9589 .loc 1 884 1 view .LVU3124 9590 .align 2 9591 .L617: 9592 00bc 002C0140 .word 1073818624 9593 .cfi_endproc 9594 .LFE344: 9596 .section .text.HAL_TIM_OC_Start_IT,"ax",%progbits 9597 .align 1 9598 .global HAL_TIM_OC_Start_IT 9599 .syntax unified 9600 .thumb 9601 .thumb_func 9603 HAL_TIM_OC_Start_IT: 9604 .LVL796: 9605 .LFB345: 898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 9606 .loc 1 898 1 is_stmt 1 view -0 9607 .cfi_startproc 9608 @ args = 0, pretend = 0, frame = 0 9609 @ frame_needed = 0, uses_anonymous_args = 0 898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 9610 .loc 1 898 1 is_stmt 0 view .LVU3126 9611 0000 10B5 push {r4, lr} 9612 .LCFI87: 9613 .cfi_def_cfa_offset 8 9614 .cfi_offset 4, -8 9615 .cfi_offset 14, -4 9616 0002 0446 mov r4, r0 899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 9617 .loc 1 899 3 is_stmt 1 view .LVU3127 9618 .LVL797: 900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9619 .loc 1 900 3 view .LVU3128 903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9620 .loc 1 903 3 view .LVU3129 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9621 .loc 1 906 3 view .LVU3130 9622 0004 1029 cmp r1, #16 9623 0006 28D8 bhi .L620 9624 0008 DFE801F0 tbb [pc, r1] 9625 .L622: 9626 000c 09 .byte (.L626-.L622)/2 9627 000d 27 .byte (.L620-.L622)/2 9628 000e 27 .byte (.L620-.L622)/2 9629 000f 27 .byte (.L620-.L622)/2 9630 0010 0F .byte (.L625-.L622)/2 9631 0011 27 .byte (.L620-.L622)/2 9632 0012 27 .byte (.L620-.L622)/2 9633 0013 27 .byte (.L620-.L622)/2 9634 0014 15 .byte (.L624-.L622)/2 9635 0015 27 .byte (.L620-.L622)/2 9636 0016 27 .byte (.L620-.L622)/2 9637 0017 27 .byte (.L620-.L622)/2 9638 0018 1B .byte (.L623-.L622)/2 ARM GAS /tmp/ccGjXOU1.s page 355 9639 0019 27 .byte (.L620-.L622)/2 9640 001a 27 .byte (.L620-.L622)/2 9641 001b 27 .byte (.L620-.L622)/2 9642 001c 21 .byte (.L621-.L622)/2 9643 001d 00 .p2align 1 9644 .L626: 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9645 .loc 1 906 7 is_stmt 0 discriminator 1 view .LVU3131 9646 001e 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9647 .loc 1 906 44 discriminator 1 view .LVU3132 9648 0022 013B subs r3, r3, #1 9649 0024 18BF it ne 9650 0026 0123 movne r3, #1 9651 0028 1CE0 b .L627 9652 .L625: 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9653 .loc 1 906 7 discriminator 4 view .LVU3133 9654 002a 90F83F30 ldrb r3, [r0, #63] @ zero_extendqisi2 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9655 .loc 1 906 44 discriminator 4 view .LVU3134 9656 002e 013B subs r3, r3, #1 9657 0030 18BF it ne 9658 0032 0123 movne r3, #1 9659 0034 16E0 b .L627 9660 .L624: 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9661 .loc 1 906 7 discriminator 7 view .LVU3135 9662 0036 90F84030 ldrb r3, [r0, #64] @ zero_extendqisi2 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9663 .loc 1 906 44 discriminator 7 view .LVU3136 9664 003a 013B subs r3, r3, #1 9665 003c 18BF it ne 9666 003e 0123 movne r3, #1 9667 0040 10E0 b .L627 9668 .L623: 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9669 .loc 1 906 7 discriminator 10 view .LVU3137 9670 0042 90F84130 ldrb r3, [r0, #65] @ zero_extendqisi2 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9671 .loc 1 906 44 discriminator 10 view .LVU3138 9672 0046 013B subs r3, r3, #1 9673 0048 18BF it ne 9674 004a 0123 movne r3, #1 9675 004c 0AE0 b .L627 9676 .L621: 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9677 .loc 1 906 7 discriminator 13 view .LVU3139 9678 004e 90F84230 ldrb r3, [r0, #66] @ zero_extendqisi2 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9679 .loc 1 906 44 discriminator 13 view .LVU3140 9680 0052 013B subs r3, r3, #1 9681 0054 18BF it ne 9682 0056 0123 movne r3, #1 9683 0058 04E0 b .L627 9684 .L620: 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 356 9685 .loc 1 906 7 discriminator 14 view .LVU3141 9686 005a 90F84330 ldrb r3, [r0, #67] @ zero_extendqisi2 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9687 .loc 1 906 44 discriminator 14 view .LVU3142 9688 005e 013B subs r3, r3, #1 9689 0060 18BF it ne 9690 0062 0123 movne r3, #1 9691 .L627: 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9692 .loc 1 906 6 discriminator 20 view .LVU3143 9693 0064 002B cmp r3, #0 9694 0066 40F09F80 bne .L646 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9695 .loc 1 912 3 is_stmt 1 view .LVU3144 9696 006a 1029 cmp r1, #16 9697 006c 6BD8 bhi .L629 9698 006e DFE801F0 tbb [pc, r1] 9699 .L631: 9700 0072 09 .byte (.L635-.L631)/2 9701 0073 6A .byte (.L629-.L631)/2 9702 0074 6A .byte (.L629-.L631)/2 9703 0075 6A .byte (.L629-.L631)/2 9704 0076 4A .byte (.L634-.L631)/2 9705 0077 6A .byte (.L629-.L631)/2 9706 0078 6A .byte (.L629-.L631)/2 9707 0079 6A .byte (.L629-.L631)/2 9708 007a 53 .byte (.L633-.L631)/2 9709 007b 6A .byte (.L629-.L631)/2 9710 007c 6A .byte (.L629-.L631)/2 9711 007d 6A .byte (.L629-.L631)/2 9712 007e 5C .byte (.L632-.L631)/2 9713 007f 6A .byte (.L629-.L631)/2 9714 0080 6A .byte (.L629-.L631)/2 9715 0081 6A .byte (.L629-.L631)/2 9716 0082 65 .byte (.L630-.L631)/2 9717 0083 00 .p2align 1 9718 .L635: 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9719 .loc 1 912 3 is_stmt 0 discriminator 1 view .LVU3145 9720 0084 0223 movs r3, #2 9721 0086 84F83E30 strb r3, [r4, #62] 914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9722 .loc 1 914 3 is_stmt 1 view .LVU3146 9723 .L636: 919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 9724 .loc 1 919 7 view .LVU3147 9725 008a 2268 ldr r2, [r4] 9726 008c D368 ldr r3, [r2, #12] 9727 008e 43F00203 orr r3, r3, #2 9728 0092 D360 str r3, [r2, #12] 920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9729 .loc 1 920 7 view .LVU3148 949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9730 .loc 1 949 3 view .LVU3149 9731 .L641: 952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9732 .loc 1 952 5 view .LVU3150 ARM GAS /tmp/ccGjXOU1.s page 357 9733 0094 0122 movs r2, #1 9734 0096 2068 ldr r0, [r4] 9735 .LVL798: 952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9736 .loc 1 952 5 is_stmt 0 view .LVU3151 9737 0098 FFF7FEFF bl TIM_CCxChannelCmd 9738 .LVL799: 954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9739 .loc 1 954 5 is_stmt 1 view .LVU3152 954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9740 .loc 1 954 9 is_stmt 0 view .LVU3153 9741 009c 2368 ldr r3, [r4] 9742 009e 464A ldr r2, .L655 9743 00a0 9342 cmp r3, r2 9744 00a2 0FD0 beq .L642 954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9745 .loc 1 954 9 discriminator 2 view .LVU3154 9746 00a4 02F50062 add r2, r2, #2048 9747 00a8 9342 cmp r3, r2 9748 00aa 0BD0 beq .L642 954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9749 .loc 1 954 9 discriminator 4 view .LVU3155 9750 00ac 02F54062 add r2, r2, #3072 9751 00b0 9342 cmp r3, r2 9752 00b2 07D0 beq .L642 954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9753 .loc 1 954 9 discriminator 6 view .LVU3156 9754 00b4 02F58062 add r2, r2, #1024 9755 00b8 9342 cmp r3, r2 9756 00ba 03D0 beq .L642 954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9757 .loc 1 954 9 discriminator 8 view .LVU3157 9758 00bc 02F58062 add r2, r2, #1024 9759 00c0 9342 cmp r3, r2 9760 00c2 03D1 bne .L643 9761 .L642: 957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9762 .loc 1 957 7 is_stmt 1 view .LVU3158 9763 00c4 5A6C ldr r2, [r3, #68] 9764 00c6 42F40042 orr r2, r2, #32768 9765 00ca 5A64 str r2, [r3, #68] 9766 .L643: 961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9767 .loc 1 961 5 view .LVU3159 961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9768 .loc 1 961 9 is_stmt 0 view .LVU3160 9769 00cc 2368 ldr r3, [r4] 961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9770 .loc 1 961 8 view .LVU3161 9771 00ce 3A4A ldr r2, .L655 9772 00d0 9342 cmp r3, r2 9773 00d2 5BD0 beq .L644 961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9774 .loc 1 961 9 discriminator 1 view .LVU3162 9775 00d4 B3F1804F cmp r3, #1073741824 9776 00d8 58D0 beq .L644 961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 358 9777 .loc 1 961 9 discriminator 2 view .LVU3163 9778 00da A2F59432 sub r2, r2, #75776 9779 00de 9342 cmp r3, r2 9780 00e0 54D0 beq .L644 961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9781 .loc 1 961 9 discriminator 3 view .LVU3164 9782 00e2 02F58062 add r2, r2, #1024 9783 00e6 9342 cmp r3, r2 9784 00e8 50D0 beq .L644 961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9785 .loc 1 961 9 discriminator 4 view .LVU3165 9786 00ea 02F59632 add r2, r2, #76800 9787 00ee 9342 cmp r3, r2 9788 00f0 4CD0 beq .L644 961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9789 .loc 1 961 9 discriminator 5 view .LVU3166 9790 00f2 02F54062 add r2, r2, #3072 9791 00f6 9342 cmp r3, r2 9792 00f8 48D0 beq .L644 971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9793 .loc 1 971 7 is_stmt 1 view .LVU3167 9794 00fa 1A68 ldr r2, [r3] 9795 00fc 42F00102 orr r2, r2, #1 9796 0100 1A60 str r2, [r3] 9797 0102 0020 movs r0, #0 9798 0104 51E0 b .L628 9799 .LVL800: 9800 .L634: 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9801 .loc 1 912 3 is_stmt 0 discriminator 3 view .LVU3168 9802 0106 0223 movs r3, #2 9803 0108 84F83F30 strb r3, [r4, #63] 914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9804 .loc 1 914 3 is_stmt 1 view .LVU3169 9805 .L637: 926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 9806 .loc 1 926 7 view .LVU3170 9807 010c 2268 ldr r2, [r4] 9808 010e D368 ldr r3, [r2, #12] 9809 0110 43F00403 orr r3, r3, #4 9810 0114 D360 str r3, [r2, #12] 927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9811 .loc 1 927 7 view .LVU3171 949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9812 .loc 1 949 3 view .LVU3172 9813 0116 BDE7 b .L641 9814 .L633: 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9815 .loc 1 912 3 is_stmt 0 discriminator 6 view .LVU3173 9816 0118 0223 movs r3, #2 9817 011a 84F84030 strb r3, [r4, #64] 914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9818 .loc 1 914 3 is_stmt 1 view .LVU3174 9819 .L638: 933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 9820 .loc 1 933 7 view .LVU3175 9821 011e 2268 ldr r2, [r4] ARM GAS /tmp/ccGjXOU1.s page 359 9822 0120 D368 ldr r3, [r2, #12] 9823 0122 43F00803 orr r3, r3, #8 9824 0126 D360 str r3, [r2, #12] 934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9825 .loc 1 934 7 view .LVU3176 949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9826 .loc 1 949 3 view .LVU3177 9827 0128 B4E7 b .L641 9828 .L632: 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9829 .loc 1 912 3 is_stmt 0 discriminator 9 view .LVU3178 9830 012a 0223 movs r3, #2 9831 012c 84F84130 strb r3, [r4, #65] 914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9832 .loc 1 914 3 is_stmt 1 view .LVU3179 9833 .L639: 940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 9834 .loc 1 940 7 view .LVU3180 9835 0130 2268 ldr r2, [r4] 9836 0132 D368 ldr r3, [r2, #12] 9837 0134 43F01003 orr r3, r3, #16 9838 0138 D360 str r3, [r2, #12] 941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9839 .loc 1 941 7 view .LVU3181 949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9840 .loc 1 949 3 view .LVU3182 9841 013a ABE7 b .L641 9842 .L630: 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9843 .loc 1 912 3 is_stmt 0 discriminator 12 view .LVU3183 9844 013c 0223 movs r3, #2 9845 013e 84F84230 strb r3, [r4, #66] 914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9846 .loc 1 914 3 is_stmt 1 view .LVU3184 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9847 .loc 1 912 3 is_stmt 0 discriminator 12 view .LVU3185 9848 0142 0120 movs r0, #1 9849 .LVL801: 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9850 .loc 1 912 3 discriminator 12 view .LVU3186 9851 0144 31E0 b .L628 9852 .LVL802: 9853 .L629: 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9854 .loc 1 912 3 discriminator 13 view .LVU3187 9855 0146 0223 movs r3, #2 9856 0148 84F84330 strb r3, [r4, #67] 914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9857 .loc 1 914 3 is_stmt 1 view .LVU3188 9858 014c 0C29 cmp r1, #12 9859 014e 2DD8 bhi .L647 9860 0150 01A3 adr r3, .L640 9861 0152 53F821F0 ldr pc, [r3, r1, lsl #2] 9862 0156 00BF .p2align 2 9863 .L640: 9864 0158 8B000000 .word .L636+1 9865 015c AD010000 .word .L647+1 ARM GAS /tmp/ccGjXOU1.s page 360 9866 0160 AD010000 .word .L647+1 9867 0164 AD010000 .word .L647+1 9868 0168 0D010000 .word .L637+1 9869 016c AD010000 .word .L647+1 9870 0170 AD010000 .word .L647+1 9871 0174 AD010000 .word .L647+1 9872 0178 1F010000 .word .L638+1 9873 017c AD010000 .word .L647+1 9874 0180 AD010000 .word .L647+1 9875 0184 AD010000 .word .L647+1 9876 0188 31010000 .word .L639+1 9877 .LVL803: 9878 .p2align 1 9879 .L644: 963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 9880 .loc 1 963 7 view .LVU3189 963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 9881 .loc 1 963 31 is_stmt 0 view .LVU3190 9882 018c 9968 ldr r1, [r3, #8] 963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 9883 .loc 1 963 15 view .LVU3191 9884 018e 0B4A ldr r2, .L655+4 9885 0190 0A40 ands r2, r2, r1 9886 .LVL804: 964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9887 .loc 1 964 7 is_stmt 1 view .LVU3192 964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9888 .loc 1 964 10 is_stmt 0 view .LVU3193 9889 0192 062A cmp r2, #6 9890 0194 0CD0 beq .L648 964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9891 .loc 1 964 11 discriminator 1 view .LVU3194 9892 0196 B2F5803F cmp r2, #65536 9893 019a 0BD0 beq .L649 966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9894 .loc 1 966 9 is_stmt 1 view .LVU3195 9895 019c 1A68 ldr r2, [r3] 9896 .LVL805: 966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9897 .loc 1 966 9 is_stmt 0 view .LVU3196 9898 019e 42F00102 orr r2, r2, #1 9899 01a2 1A60 str r2, [r3] 9900 01a4 0020 movs r0, #0 9901 01a6 00E0 b .L628 9902 .LVL806: 9903 .L646: 908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9904 .loc 1 908 12 view .LVU3197 9905 01a8 0120 movs r0, #1 9906 .LVL807: 9907 .L628: 977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9908 .loc 1 977 1 view .LVU3198 9909 01aa 10BD pop {r4, pc} 9910 .LVL808: 9911 .L647: 914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 361 9912 .loc 1 914 3 view .LVU3199 9913 01ac 0120 movs r0, #1 9914 .LVL809: 914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9915 .loc 1 914 3 view .LVU3200 9916 01ae FCE7 b .L628 9917 .LVL810: 9918 .L648: 914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9919 .loc 1 914 3 view .LVU3201 9920 01b0 0020 movs r0, #0 9921 01b2 FAE7 b .L628 9922 .L649: 9923 01b4 0020 movs r0, #0 9924 01b6 F8E7 b .L628 9925 .L656: 9926 .align 2 9927 .L655: 9928 01b8 002C0140 .word 1073818624 9929 01bc 07000100 .word 65543 9930 .cfi_endproc 9931 .LFE345: 9933 .section .text.HAL_TIM_OC_Stop_IT,"ax",%progbits 9934 .align 1 9935 .global HAL_TIM_OC_Stop_IT 9936 .syntax unified 9937 .thumb 9938 .thumb_func 9940 HAL_TIM_OC_Stop_IT: 9941 .LVL811: 9942 .LFB346: 991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 9943 .loc 1 991 1 is_stmt 1 view -0 9944 .cfi_startproc 9945 @ args = 0, pretend = 0, frame = 0 9946 @ frame_needed = 0, uses_anonymous_args = 0 991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 9947 .loc 1 991 1 is_stmt 0 view .LVU3203 9948 0000 38B5 push {r3, r4, r5, lr} 9949 .LCFI88: 9950 .cfi_def_cfa_offset 16 9951 .cfi_offset 3, -16 9952 .cfi_offset 4, -12 9953 .cfi_offset 5, -8 9954 .cfi_offset 14, -4 9955 0002 0546 mov r5, r0 9956 0004 0C46 mov r4, r1 992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9957 .loc 1 992 3 is_stmt 1 view .LVU3204 9958 .LVL812: 995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9959 .loc 1 995 3 view .LVU3205 997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9960 .loc 1 997 3 view .LVU3206 9961 0006 0C29 cmp r1, #12 9962 0008 00F28180 bhi .L675 9963 000c DFE801F0 tbb [pc, r1] ARM GAS /tmp/ccGjXOU1.s page 362 9964 .L660: 9965 0010 07 .byte (.L663-.L660)/2 9966 0011 7F .byte (.L675-.L660)/2 9967 0012 7F .byte (.L675-.L660)/2 9968 0013 7F .byte (.L675-.L660)/2 9969 0014 4F .byte (.L662-.L660)/2 9970 0015 7F .byte (.L675-.L660)/2 9971 0016 7F .byte (.L675-.L660)/2 9972 0017 7F .byte (.L675-.L660)/2 9973 0018 55 .byte (.L661-.L660)/2 9974 0019 7F .byte (.L675-.L660)/2 9975 001a 7F .byte (.L675-.L660)/2 9976 001b 7F .byte (.L675-.L660)/2 9977 001c 5B .byte (.L659-.L660)/2 9978 001d 00 .p2align 1 9979 .L663: 1002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 9980 .loc 1 1002 7 view .LVU3207 9981 001e 0268 ldr r2, [r0] 9982 0020 D368 ldr r3, [r2, #12] 9983 0022 23F00203 bic r3, r3, #2 9984 0026 D360 str r3, [r2, #12] 1003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9985 .loc 1 1003 7 view .LVU3208 1032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9986 .loc 1 1032 3 view .LVU3209 9987 .L664: 1035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9988 .loc 1 1035 5 view .LVU3210 9989 0028 0022 movs r2, #0 9990 002a 2146 mov r1, r4 9991 .LVL813: 1035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9992 .loc 1 1035 5 is_stmt 0 view .LVU3211 9993 002c 2868 ldr r0, [r5] 9994 .LVL814: 1035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9995 .loc 1 1035 5 view .LVU3212 9996 002e FFF7FEFF bl TIM_CCxChannelCmd 9997 .LVL815: 1037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9998 .loc 1 1037 5 is_stmt 1 view .LVU3213 1037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9999 .loc 1 1037 9 is_stmt 0 view .LVU3214 10000 0032 2B68 ldr r3, [r5] 10001 0034 374A ldr r2, .L677 10002 0036 9342 cmp r3, r2 10003 0038 0FD0 beq .L665 1037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10004 .loc 1 1037 9 discriminator 2 view .LVU3215 10005 003a 02F50062 add r2, r2, #2048 10006 003e 9342 cmp r3, r2 10007 0040 0BD0 beq .L665 1037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10008 .loc 1 1037 9 discriminator 4 view .LVU3216 10009 0042 02F54062 add r2, r2, #3072 10010 0046 9342 cmp r3, r2 ARM GAS /tmp/ccGjXOU1.s page 363 10011 0048 07D0 beq .L665 1037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10012 .loc 1 1037 9 discriminator 6 view .LVU3217 10013 004a 02F58062 add r2, r2, #1024 10014 004e 9342 cmp r3, r2 10015 0050 03D0 beq .L665 1037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10016 .loc 1 1037 9 discriminator 8 view .LVU3218 10017 0052 02F58062 add r2, r2, #1024 10018 0056 9342 cmp r3, r2 10019 0058 0DD1 bne .L666 10020 .L665: 1040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10021 .loc 1 1040 7 is_stmt 1 view .LVU3219 1040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10022 .loc 1 1040 7 view .LVU3220 10023 005a 196A ldr r1, [r3, #32] 10024 005c 41F21112 movw r2, #4369 10025 0060 1142 tst r1, r2 10026 0062 08D1 bne .L666 1040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10027 .loc 1 1040 7 discriminator 1 view .LVU3221 10028 0064 196A ldr r1, [r3, #32] 10029 0066 44F24442 movw r2, #17476 10030 006a 1142 tst r1, r2 10031 006c 03D1 bne .L666 1040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10032 .loc 1 1040 7 discriminator 3 view .LVU3222 10033 006e 5A6C ldr r2, [r3, #68] 10034 0070 22F40042 bic r2, r2, #32768 10035 0074 5A64 str r2, [r3, #68] 10036 .L666: 1040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10037 .loc 1 1040 7 discriminator 5 view .LVU3223 1044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10038 .loc 1 1044 5 view .LVU3224 1044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10039 .loc 1 1044 5 view .LVU3225 10040 0076 2B68 ldr r3, [r5] 10041 0078 196A ldr r1, [r3, #32] 10042 007a 41F21112 movw r2, #4369 10043 007e 1142 tst r1, r2 10044 0080 08D1 bne .L667 1044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10045 .loc 1 1044 5 discriminator 1 view .LVU3226 10046 0082 196A ldr r1, [r3, #32] 10047 0084 44F24442 movw r2, #17476 10048 0088 1142 tst r1, r2 10049 008a 03D1 bne .L667 1044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10050 .loc 1 1044 5 discriminator 3 view .LVU3227 10051 008c 1A68 ldr r2, [r3] 10052 008e 22F00102 bic r2, r2, #1 10053 0092 1A60 str r2, [r3] 10054 .L667: 1044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10055 .loc 1 1044 5 discriminator 5 view .LVU3228 ARM GAS /tmp/ccGjXOU1.s page 364 1047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10056 .loc 1 1047 5 view .LVU3229 10057 0094 102C cmp r4, #16 10058 0096 35D8 bhi .L668 10059 0098 DFE804F0 tbb [pc, r4] 10060 .L670: 10061 009c 1B .byte (.L674-.L670)/2 10062 009d 34 .byte (.L668-.L670)/2 10063 009e 34 .byte (.L668-.L670)/2 10064 009f 34 .byte (.L668-.L670)/2 10065 00a0 20 .byte (.L673-.L670)/2 10066 00a1 34 .byte (.L668-.L670)/2 10067 00a2 34 .byte (.L668-.L670)/2 10068 00a3 34 .byte (.L668-.L670)/2 10069 00a4 25 .byte (.L672-.L670)/2 10070 00a5 34 .byte (.L668-.L670)/2 10071 00a6 34 .byte (.L668-.L670)/2 10072 00a7 34 .byte (.L668-.L670)/2 10073 00a8 2A .byte (.L671-.L670)/2 10074 00a9 34 .byte (.L668-.L670)/2 10075 00aa 34 .byte (.L668-.L670)/2 10076 00ab 34 .byte (.L668-.L670)/2 10077 00ac 2F .byte (.L669-.L670)/2 10078 .LVL816: 10079 00ad 00 .p2align 1 10080 .L662: 1009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10081 .loc 1 1009 7 view .LVU3230 10082 00ae 0268 ldr r2, [r0] 10083 00b0 D368 ldr r3, [r2, #12] 10084 00b2 23F00403 bic r3, r3, #4 10085 00b6 D360 str r3, [r2, #12] 1010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10086 .loc 1 1010 7 view .LVU3231 1032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10087 .loc 1 1032 3 view .LVU3232 10088 00b8 B6E7 b .L664 10089 .L661: 1016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10090 .loc 1 1016 7 view .LVU3233 10091 00ba 0268 ldr r2, [r0] 10092 00bc D368 ldr r3, [r2, #12] 10093 00be 23F00803 bic r3, r3, #8 10094 00c2 D360 str r3, [r2, #12] 1017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10095 .loc 1 1017 7 view .LVU3234 1032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10096 .loc 1 1032 3 view .LVU3235 10097 00c4 B0E7 b .L664 10098 .L659: 1023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10099 .loc 1 1023 7 view .LVU3236 10100 00c6 0268 ldr r2, [r0] 10101 00c8 D368 ldr r3, [r2, #12] 10102 00ca 23F01003 bic r3, r3, #16 10103 00ce D360 str r3, [r2, #12] 1024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/ccGjXOU1.s page 365 10104 .loc 1 1024 7 view .LVU3237 1032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10105 .loc 1 1032 3 view .LVU3238 10106 00d0 AAE7 b .L664 10107 .LVL817: 10108 .L674: 1047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10109 .loc 1 1047 5 is_stmt 0 discriminator 1 view .LVU3239 10110 00d2 0123 movs r3, #1 10111 00d4 85F83E30 strb r3, [r5, #62] 10112 00d8 0020 movs r0, #0 10113 00da 19E0 b .L658 10114 .L673: 1047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10115 .loc 1 1047 5 discriminator 3 view .LVU3240 10116 00dc 0123 movs r3, #1 10117 00de 85F83F30 strb r3, [r5, #63] 10118 00e2 0020 movs r0, #0 10119 00e4 14E0 b .L658 10120 .L672: 1047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10121 .loc 1 1047 5 discriminator 6 view .LVU3241 10122 00e6 0123 movs r3, #1 10123 00e8 85F84030 strb r3, [r5, #64] 10124 00ec 0020 movs r0, #0 10125 00ee 0FE0 b .L658 10126 .L671: 1047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10127 .loc 1 1047 5 discriminator 9 view .LVU3242 10128 00f0 0123 movs r3, #1 10129 00f2 85F84130 strb r3, [r5, #65] 10130 00f6 0020 movs r0, #0 10131 00f8 0AE0 b .L658 10132 .L669: 1047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10133 .loc 1 1047 5 discriminator 12 view .LVU3243 10134 00fa 0123 movs r3, #1 10135 00fc 85F84230 strb r3, [r5, #66] 10136 0100 0020 movs r0, #0 10137 0102 05E0 b .L658 10138 .L668: 1047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10139 .loc 1 1047 5 discriminator 13 view .LVU3244 10140 0104 0123 movs r3, #1 10141 0106 85F84330 strb r3, [r5, #67] 10142 010a 0020 movs r0, #0 10143 010c 00E0 b .L658 10144 .LVL818: 10145 .L675: 997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10146 .loc 1 997 3 view .LVU3245 10147 010e 0120 movs r0, #1 10148 .LVL819: 10149 .L658: 1051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10150 .loc 1 1051 3 is_stmt 1 view .LVU3246 1052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 366 10151 .loc 1 1052 1 is_stmt 0 view .LVU3247 10152 0110 38BD pop {r3, r4, r5, pc} 10153 .LVL820: 10154 .L678: 1052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10155 .loc 1 1052 1 view .LVU3248 10156 0112 00BF .align 2 10157 .L677: 10158 0114 002C0140 .word 1073818624 10159 .cfi_endproc 10160 .LFE346: 10162 .section .text.HAL_TIM_OC_Start_DMA,"ax",%progbits 10163 .align 1 10164 .global HAL_TIM_OC_Start_DMA 10165 .syntax unified 10166 .thumb 10167 .thumb_func 10169 HAL_TIM_OC_Start_DMA: 10170 .LVL821: 10171 .LFB347: 1069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 10172 .loc 1 1069 1 is_stmt 1 view -0 10173 .cfi_startproc 10174 @ args = 0, pretend = 0, frame = 0 10175 @ frame_needed = 0, uses_anonymous_args = 0 1069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 10176 .loc 1 1069 1 is_stmt 0 view .LVU3250 10177 0000 38B5 push {r3, r4, r5, lr} 10178 .LCFI89: 10179 .cfi_def_cfa_offset 16 10180 .cfi_offset 3, -16 10181 .cfi_offset 4, -12 10182 .cfi_offset 5, -8 10183 .cfi_offset 14, -4 10184 0002 0546 mov r5, r0 10185 0004 0C46 mov r4, r1 10186 0006 1146 mov r1, r2 10187 .LVL822: 1070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 10188 .loc 1 1070 3 is_stmt 1 view .LVU3251 1071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10189 .loc 1 1071 3 view .LVU3252 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10190 .loc 1 1074 3 view .LVU3253 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10191 .loc 1 1077 3 view .LVU3254 10192 0008 102C cmp r4, #16 10193 000a 2DD8 bhi .L680 10194 000c DFE804F0 tbb [pc, r4] 10195 .LVL823: 10196 .L682: 10197 0010 09 .byte (.L686-.L682)/2 10198 0011 2C .byte (.L680-.L682)/2 10199 0012 2C .byte (.L680-.L682)/2 10200 0013 2C .byte (.L680-.L682)/2 10201 0014 10 .byte (.L685-.L682)/2 10202 0015 2C .byte (.L680-.L682)/2 ARM GAS /tmp/ccGjXOU1.s page 367 10203 0016 2C .byte (.L680-.L682)/2 10204 0017 2C .byte (.L680-.L682)/2 10205 0018 17 .byte (.L684-.L682)/2 10206 0019 2C .byte (.L680-.L682)/2 10207 001a 2C .byte (.L680-.L682)/2 10208 001b 2C .byte (.L680-.L682)/2 10209 001c 1E .byte (.L683-.L682)/2 10210 001d 2C .byte (.L680-.L682)/2 10211 001e 2C .byte (.L680-.L682)/2 10212 001f 2C .byte (.L680-.L682)/2 10213 0020 25 .byte (.L681-.L682)/2 10214 0021 00 .p2align 1 10215 .L686: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10216 .loc 1 1077 7 is_stmt 0 discriminator 1 view .LVU3255 10217 0022 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 10218 .LVL824: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10219 .loc 1 1077 44 discriminator 1 view .LVU3256 10220 0026 0228 cmp r0, #2 10221 0028 14BF ite ne 10222 002a 0020 movne r0, #0 10223 002c 0120 moveq r0, #1 10224 002e 21E0 b .L687 10225 .LVL825: 10226 .L685: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10227 .loc 1 1077 7 discriminator 4 view .LVU3257 10228 0030 90F83F00 ldrb r0, [r0, #63] @ zero_extendqisi2 10229 .LVL826: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10230 .loc 1 1077 44 discriminator 4 view .LVU3258 10231 0034 0228 cmp r0, #2 10232 0036 14BF ite ne 10233 0038 0020 movne r0, #0 10234 003a 0120 moveq r0, #1 10235 003c 1AE0 b .L687 10236 .LVL827: 10237 .L684: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10238 .loc 1 1077 7 discriminator 7 view .LVU3259 10239 003e 90F84000 ldrb r0, [r0, #64] @ zero_extendqisi2 10240 .LVL828: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10241 .loc 1 1077 44 discriminator 7 view .LVU3260 10242 0042 0228 cmp r0, #2 10243 0044 14BF ite ne 10244 0046 0020 movne r0, #0 10245 0048 0120 moveq r0, #1 10246 004a 13E0 b .L687 10247 .LVL829: 10248 .L683: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10249 .loc 1 1077 7 discriminator 10 view .LVU3261 10250 004c 90F84100 ldrb r0, [r0, #65] @ zero_extendqisi2 10251 .LVL830: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 368 10252 .loc 1 1077 44 discriminator 10 view .LVU3262 10253 0050 0228 cmp r0, #2 10254 0052 14BF ite ne 10255 0054 0020 movne r0, #0 10256 0056 0120 moveq r0, #1 10257 0058 0CE0 b .L687 10258 .LVL831: 10259 .L681: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10260 .loc 1 1077 7 discriminator 13 view .LVU3263 10261 005a 90F84200 ldrb r0, [r0, #66] @ zero_extendqisi2 10262 .LVL832: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10263 .loc 1 1077 44 discriminator 13 view .LVU3264 10264 005e 0228 cmp r0, #2 10265 0060 14BF ite ne 10266 0062 0020 movne r0, #0 10267 0064 0120 moveq r0, #1 10268 0066 05E0 b .L687 10269 .LVL833: 10270 .L680: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10271 .loc 1 1077 7 discriminator 14 view .LVU3265 10272 0068 90F84300 ldrb r0, [r0, #67] @ zero_extendqisi2 10273 .LVL834: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10274 .loc 1 1077 44 discriminator 14 view .LVU3266 10275 006c 0228 cmp r0, #2 10276 006e 14BF ite ne 10277 0070 0020 movne r0, #0 10278 0072 0120 moveq r0, #1 10279 .L687: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10280 .loc 1 1077 6 discriminator 20 view .LVU3267 10281 0074 0028 cmp r0, #0 10282 0076 40F02381 bne .L714 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10283 .loc 1 1081 8 is_stmt 1 view .LVU3268 10284 007a 102C cmp r4, #16 10285 007c 2DD8 bhi .L689 10286 007e DFE804F0 tbb [pc, r4] 10287 .L691: 10288 0082 09 .byte (.L695-.L691)/2 10289 0083 2C .byte (.L689-.L691)/2 10290 0084 2C .byte (.L689-.L691)/2 10291 0085 2C .byte (.L689-.L691)/2 10292 0086 10 .byte (.L694-.L691)/2 10293 0087 2C .byte (.L689-.L691)/2 10294 0088 2C .byte (.L689-.L691)/2 10295 0089 2C .byte (.L689-.L691)/2 10296 008a 17 .byte (.L693-.L691)/2 10297 008b 2C .byte (.L689-.L691)/2 10298 008c 2C .byte (.L689-.L691)/2 10299 008d 2C .byte (.L689-.L691)/2 10300 008e 1E .byte (.L692-.L691)/2 10301 008f 2C .byte (.L689-.L691)/2 10302 0090 2C .byte (.L689-.L691)/2 ARM GAS /tmp/ccGjXOU1.s page 369 10303 0091 2C .byte (.L689-.L691)/2 10304 0092 25 .byte (.L690-.L691)/2 10305 0093 00 .p2align 1 10306 .L695: 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10307 .loc 1 1081 12 is_stmt 0 discriminator 1 view .LVU3269 10308 0094 95F83E20 ldrb r2, [r5, #62] @ zero_extendqisi2 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10309 .loc 1 1081 49 discriminator 1 view .LVU3270 10310 0098 012A cmp r2, #1 10311 009a 14BF ite ne 10312 009c 0022 movne r2, #0 10313 009e 0122 moveq r2, #1 10314 00a0 21E0 b .L696 10315 .L694: 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10316 .loc 1 1081 12 discriminator 4 view .LVU3271 10317 00a2 95F83F20 ldrb r2, [r5, #63] @ zero_extendqisi2 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10318 .loc 1 1081 49 discriminator 4 view .LVU3272 10319 00a6 012A cmp r2, #1 10320 00a8 14BF ite ne 10321 00aa 0022 movne r2, #0 10322 00ac 0122 moveq r2, #1 10323 00ae 1AE0 b .L696 10324 .L693: 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10325 .loc 1 1081 12 discriminator 7 view .LVU3273 10326 00b0 95F84020 ldrb r2, [r5, #64] @ zero_extendqisi2 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10327 .loc 1 1081 49 discriminator 7 view .LVU3274 10328 00b4 012A cmp r2, #1 10329 00b6 14BF ite ne 10330 00b8 0022 movne r2, #0 10331 00ba 0122 moveq r2, #1 10332 00bc 13E0 b .L696 10333 .L692: 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10334 .loc 1 1081 12 discriminator 10 view .LVU3275 10335 00be 95F84120 ldrb r2, [r5, #65] @ zero_extendqisi2 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10336 .loc 1 1081 49 discriminator 10 view .LVU3276 10337 00c2 012A cmp r2, #1 10338 00c4 14BF ite ne 10339 00c6 0022 movne r2, #0 10340 00c8 0122 moveq r2, #1 10341 00ca 0CE0 b .L696 10342 .L690: 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10343 .loc 1 1081 12 discriminator 13 view .LVU3277 10344 00cc 95F84220 ldrb r2, [r5, #66] @ zero_extendqisi2 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10345 .loc 1 1081 49 discriminator 13 view .LVU3278 10346 00d0 012A cmp r2, #1 10347 00d2 14BF ite ne 10348 00d4 0022 movne r2, #0 10349 00d6 0122 moveq r2, #1 ARM GAS /tmp/ccGjXOU1.s page 370 10350 00d8 05E0 b .L696 10351 .L689: 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10352 .loc 1 1081 12 discriminator 14 view .LVU3279 10353 00da 95F84320 ldrb r2, [r5, #67] @ zero_extendqisi2 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10354 .loc 1 1081 49 discriminator 14 view .LVU3280 10355 00de 012A cmp r2, #1 10356 00e0 14BF ite ne 10357 00e2 0022 movne r2, #0 10358 00e4 0122 moveq r2, #1 10359 .L696: 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10360 .loc 1 1081 11 discriminator 20 view .LVU3281 10361 00e6 002A cmp r2, #0 10362 00e8 00F0EC80 beq .L715 1083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10363 .loc 1 1083 5 is_stmt 1 view .LVU3282 1083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10364 .loc 1 1083 8 is_stmt 0 view .LVU3283 10365 00ec 0029 cmp r1, #0 10366 00ee 00F0EB80 beq .L716 1083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10367 .loc 1 1083 25 discriminator 1 view .LVU3284 10368 00f2 002B cmp r3, #0 10369 00f4 00F0EA80 beq .L717 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10370 .loc 1 1089 7 is_stmt 1 view .LVU3285 10371 00f8 102C cmp r4, #16 10372 00fa 00F2B180 bhi .L697 10373 00fe DFE804F0 tbb [pc, r4] 10374 .L699: 10375 0102 09 .byte (.L703-.L699)/2 10376 0103 AF .byte (.L697-.L699)/2 10377 0104 AF .byte (.L697-.L699)/2 10378 0105 AF .byte (.L697-.L699)/2 10379 0106 5F .byte (.L702-.L699)/2 10380 0107 AF .byte (.L697-.L699)/2 10381 0108 AF .byte (.L697-.L699)/2 10382 0109 AF .byte (.L697-.L699)/2 10383 010a 78 .byte (.L701-.L699)/2 10384 010b AF .byte (.L697-.L699)/2 10385 010c AF .byte (.L697-.L699)/2 10386 010d AF .byte (.L697-.L699)/2 10387 010e 91 .byte (.L700-.L699)/2 10388 010f AF .byte (.L697-.L699)/2 10389 0110 AF .byte (.L697-.L699)/2 10390 0111 AF .byte (.L697-.L699)/2 10391 0112 AA .byte (.L698-.L699)/2 10392 0113 00 .p2align 1 10393 .L703: 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10394 .loc 1 1089 7 is_stmt 0 discriminator 1 view .LVU3286 10395 0114 0222 movs r2, #2 10396 0116 85F83E20 strb r2, [r5, #62] 1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10397 .loc 1 1097 3 is_stmt 1 view .LVU3287 ARM GAS /tmp/ccGjXOU1.s page 371 10398 .L704: 1102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10399 .loc 1 1102 7 view .LVU3288 1102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10400 .loc 1 1102 17 is_stmt 0 view .LVU3289 10401 011a 6A6A ldr r2, [r5, #36] 1102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10402 .loc 1 1102 52 view .LVU3290 10403 011c 7348 ldr r0, .L730 10404 011e D062 str r0, [r2, #44] 1103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10405 .loc 1 1103 7 is_stmt 1 view .LVU3291 1103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10406 .loc 1 1103 17 is_stmt 0 view .LVU3292 10407 0120 6A6A ldr r2, [r5, #36] 1103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10408 .loc 1 1103 56 view .LVU3293 10409 0122 7348 ldr r0, .L730+4 10410 0124 1063 str r0, [r2, #48] 1106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10411 .loc 1 1106 7 is_stmt 1 view .LVU3294 1106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10412 .loc 1 1106 17 is_stmt 0 view .LVU3295 10413 0126 6A6A ldr r2, [r5, #36] 1106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10414 .loc 1 1106 53 view .LVU3296 10415 0128 7248 ldr r0, .L730+8 10416 012a 5063 str r0, [r2, #52] 1109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10417 .loc 1 1109 7 is_stmt 1 view .LVU3297 1109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10418 .loc 1 1109 88 is_stmt 0 view .LVU3298 10419 012c 2A68 ldr r2, [r5] 1109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10420 .loc 1 1109 11 view .LVU3299 10421 012e 3432 adds r2, r2, #52 10422 0130 686A ldr r0, [r5, #36] 10423 0132 FFF7FEFF bl HAL_DMA_Start_IT 10424 .LVL835: 1109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10425 .loc 1 1109 10 discriminator 1 view .LVU3300 10426 0136 0028 cmp r0, #0 10427 0138 40F0CC80 bne .L719 1117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10428 .loc 1 1117 7 is_stmt 1 view .LVU3301 10429 013c 2A68 ldr r2, [r5] 10430 013e D368 ldr r3, [r2, #12] 10431 0140 43F40073 orr r3, r3, #512 10432 0144 D360 str r3, [r2, #12] 1118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10433 .loc 1 1118 7 view .LVU3302 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10434 .loc 1 1190 3 view .LVU3303 10435 .L709: 1193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10436 .loc 1 1193 5 view .LVU3304 10437 0146 0122 movs r2, #1 ARM GAS /tmp/ccGjXOU1.s page 372 10438 0148 2146 mov r1, r4 10439 014a 2868 ldr r0, [r5] 10440 014c FFF7FEFF bl TIM_CCxChannelCmd 10441 .LVL836: 1195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10442 .loc 1 1195 5 view .LVU3305 1195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10443 .loc 1 1195 9 is_stmt 0 view .LVU3306 10444 0150 2B68 ldr r3, [r5] 10445 0152 694A ldr r2, .L730+12 10446 0154 9342 cmp r3, r2 10447 0156 0FD0 beq .L710 1195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10448 .loc 1 1195 9 discriminator 2 view .LVU3307 10449 0158 02F50062 add r2, r2, #2048 10450 015c 9342 cmp r3, r2 10451 015e 0BD0 beq .L710 1195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10452 .loc 1 1195 9 discriminator 4 view .LVU3308 10453 0160 02F54062 add r2, r2, #3072 10454 0164 9342 cmp r3, r2 10455 0166 07D0 beq .L710 1195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10456 .loc 1 1195 9 discriminator 6 view .LVU3309 10457 0168 02F58062 add r2, r2, #1024 10458 016c 9342 cmp r3, r2 10459 016e 03D0 beq .L710 1195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10460 .loc 1 1195 9 discriminator 8 view .LVU3310 10461 0170 02F58062 add r2, r2, #1024 10462 0174 9342 cmp r3, r2 10463 0176 03D1 bne .L711 10464 .L710: 1198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10465 .loc 1 1198 7 is_stmt 1 view .LVU3311 10466 0178 5A6C ldr r2, [r3, #68] 10467 017a 42F40042 orr r2, r2, #32768 10468 017e 5A64 str r2, [r3, #68] 10469 .L711: 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10470 .loc 1 1202 5 view .LVU3312 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10471 .loc 1 1202 9 is_stmt 0 view .LVU3313 10472 0180 2B68 ldr r3, [r5] 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10473 .loc 1 1202 8 view .LVU3314 10474 0182 5D4A ldr r2, .L730+12 10475 0184 9342 cmp r3, r2 10476 0186 00F08D80 beq .L712 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10477 .loc 1 1202 9 discriminator 1 view .LVU3315 10478 018a B3F1804F cmp r3, #1073741824 10479 018e 00F08980 beq .L712 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10480 .loc 1 1202 9 discriminator 2 view .LVU3316 10481 0192 A2F59432 sub r2, r2, #75776 10482 0196 9342 cmp r3, r2 ARM GAS /tmp/ccGjXOU1.s page 373 10483 0198 00F08480 beq .L712 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10484 .loc 1 1202 9 discriminator 3 view .LVU3317 10485 019c 02F58062 add r2, r2, #1024 10486 01a0 9342 cmp r3, r2 10487 01a2 7FD0 beq .L712 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10488 .loc 1 1202 9 discriminator 4 view .LVU3318 10489 01a4 02F59632 add r2, r2, #76800 10490 01a8 9342 cmp r3, r2 10491 01aa 7BD0 beq .L712 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10492 .loc 1 1202 9 discriminator 5 view .LVU3319 10493 01ac 02F54062 add r2, r2, #3072 10494 01b0 9342 cmp r3, r2 10495 01b2 77D0 beq .L712 1212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10496 .loc 1 1212 7 is_stmt 1 view .LVU3320 10497 01b4 1A68 ldr r2, [r3] 10498 01b6 42F00102 orr r2, r2, #1 10499 01ba 1A60 str r2, [r3] 10500 01bc 0020 movs r0, #0 10501 01be 82E0 b .L688 10502 .LVL837: 10503 .L702: 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10504 .loc 1 1089 7 is_stmt 0 discriminator 3 view .LVU3321 10505 01c0 0222 movs r2, #2 10506 01c2 85F83F20 strb r2, [r5, #63] 1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10507 .loc 1 1097 3 is_stmt 1 view .LVU3322 10508 .L705: 1124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10509 .loc 1 1124 7 view .LVU3323 1124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10510 .loc 1 1124 17 is_stmt 0 view .LVU3324 10511 01c6 AA6A ldr r2, [r5, #40] 1124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10512 .loc 1 1124 52 view .LVU3325 10513 01c8 4848 ldr r0, .L730 10514 01ca D062 str r0, [r2, #44] 1125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10515 .loc 1 1125 7 is_stmt 1 view .LVU3326 1125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10516 .loc 1 1125 17 is_stmt 0 view .LVU3327 10517 01cc AA6A ldr r2, [r5, #40] 1125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10518 .loc 1 1125 56 view .LVU3328 10519 01ce 4848 ldr r0, .L730+4 10520 01d0 1063 str r0, [r2, #48] 1128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10521 .loc 1 1128 7 is_stmt 1 view .LVU3329 1128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10522 .loc 1 1128 17 is_stmt 0 view .LVU3330 10523 01d2 AA6A ldr r2, [r5, #40] 1128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10524 .loc 1 1128 53 view .LVU3331 ARM GAS /tmp/ccGjXOU1.s page 374 10525 01d4 4748 ldr r0, .L730+8 10526 01d6 5063 str r0, [r2, #52] 1131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10527 .loc 1 1131 7 is_stmt 1 view .LVU3332 1131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10528 .loc 1 1131 88 is_stmt 0 view .LVU3333 10529 01d8 2A68 ldr r2, [r5] 1131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10530 .loc 1 1131 11 view .LVU3334 10531 01da 3832 adds r2, r2, #56 10532 01dc A86A ldr r0, [r5, #40] 10533 01de FFF7FEFF bl HAL_DMA_Start_IT 10534 .LVL838: 1131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10535 .loc 1 1131 10 discriminator 1 view .LVU3335 10536 01e2 0028 cmp r0, #0 10537 01e4 78D1 bne .L720 1139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10538 .loc 1 1139 7 is_stmt 1 view .LVU3336 10539 01e6 2A68 ldr r2, [r5] 10540 01e8 D368 ldr r3, [r2, #12] 10541 01ea 43F48063 orr r3, r3, #1024 10542 01ee D360 str r3, [r2, #12] 1140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10543 .loc 1 1140 7 view .LVU3337 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10544 .loc 1 1190 3 view .LVU3338 10545 01f0 A9E7 b .L709 10546 .LVL839: 10547 .L701: 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10548 .loc 1 1089 7 is_stmt 0 discriminator 6 view .LVU3339 10549 01f2 0222 movs r2, #2 10550 01f4 85F84020 strb r2, [r5, #64] 1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10551 .loc 1 1097 3 is_stmt 1 view .LVU3340 10552 .L706: 1146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10553 .loc 1 1146 7 view .LVU3341 1146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10554 .loc 1 1146 17 is_stmt 0 view .LVU3342 10555 01f8 EA6A ldr r2, [r5, #44] 1146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10556 .loc 1 1146 52 view .LVU3343 10557 01fa 3C48 ldr r0, .L730 10558 01fc D062 str r0, [r2, #44] 1147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10559 .loc 1 1147 7 is_stmt 1 view .LVU3344 1147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10560 .loc 1 1147 17 is_stmt 0 view .LVU3345 10561 01fe EA6A ldr r2, [r5, #44] 1147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10562 .loc 1 1147 56 view .LVU3346 10563 0200 3B48 ldr r0, .L730+4 10564 0202 1063 str r0, [r2, #48] 1150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10565 .loc 1 1150 7 is_stmt 1 view .LVU3347 ARM GAS /tmp/ccGjXOU1.s page 375 1150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10566 .loc 1 1150 17 is_stmt 0 view .LVU3348 10567 0204 EA6A ldr r2, [r5, #44] 1150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10568 .loc 1 1150 53 view .LVU3349 10569 0206 3B48 ldr r0, .L730+8 10570 0208 5063 str r0, [r2, #52] 1153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10571 .loc 1 1153 7 is_stmt 1 view .LVU3350 1153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10572 .loc 1 1153 88 is_stmt 0 view .LVU3351 10573 020a 2A68 ldr r2, [r5] 1153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10574 .loc 1 1153 11 view .LVU3352 10575 020c 3C32 adds r2, r2, #60 10576 020e E86A ldr r0, [r5, #44] 10577 0210 FFF7FEFF bl HAL_DMA_Start_IT 10578 .LVL840: 1153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10579 .loc 1 1153 10 discriminator 1 view .LVU3353 10580 0214 0028 cmp r0, #0 10581 0216 61D1 bne .L721 1160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10582 .loc 1 1160 7 is_stmt 1 view .LVU3354 10583 0218 2A68 ldr r2, [r5] 10584 021a D368 ldr r3, [r2, #12] 10585 021c 43F40063 orr r3, r3, #2048 10586 0220 D360 str r3, [r2, #12] 1161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10587 .loc 1 1161 7 view .LVU3355 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10588 .loc 1 1190 3 view .LVU3356 10589 0222 90E7 b .L709 10590 .LVL841: 10591 .L700: 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10592 .loc 1 1089 7 is_stmt 0 discriminator 9 view .LVU3357 10593 0224 0222 movs r2, #2 10594 0226 85F84120 strb r2, [r5, #65] 1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10595 .loc 1 1097 3 is_stmt 1 view .LVU3358 10596 .L707: 1167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10597 .loc 1 1167 7 view .LVU3359 1167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10598 .loc 1 1167 17 is_stmt 0 view .LVU3360 10599 022a 2A6B ldr r2, [r5, #48] 1167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10600 .loc 1 1167 52 view .LVU3361 10601 022c 2F48 ldr r0, .L730 10602 022e D062 str r0, [r2, #44] 1168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10603 .loc 1 1168 7 is_stmt 1 view .LVU3362 1168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10604 .loc 1 1168 17 is_stmt 0 view .LVU3363 10605 0230 2A6B ldr r2, [r5, #48] 1168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 376 10606 .loc 1 1168 56 view .LVU3364 10607 0232 2F48 ldr r0, .L730+4 10608 0234 1063 str r0, [r2, #48] 1171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10609 .loc 1 1171 7 is_stmt 1 view .LVU3365 1171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10610 .loc 1 1171 17 is_stmt 0 view .LVU3366 10611 0236 2A6B ldr r2, [r5, #48] 1171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10612 .loc 1 1171 53 view .LVU3367 10613 0238 2E48 ldr r0, .L730+8 10614 023a 5063 str r0, [r2, #52] 1174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10615 .loc 1 1174 7 is_stmt 1 view .LVU3368 1174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10616 .loc 1 1174 88 is_stmt 0 view .LVU3369 10617 023c 2A68 ldr r2, [r5] 1174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10618 .loc 1 1174 11 view .LVU3370 10619 023e 4032 adds r2, r2, #64 10620 0240 286B ldr r0, [r5, #48] 10621 0242 FFF7FEFF bl HAL_DMA_Start_IT 10622 .LVL842: 1174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10623 .loc 1 1174 10 discriminator 1 view .LVU3371 10624 0246 0028 cmp r0, #0 10625 0248 4AD1 bne .L722 1181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10626 .loc 1 1181 7 is_stmt 1 view .LVU3372 10627 024a 2A68 ldr r2, [r5] 10628 024c D368 ldr r3, [r2, #12] 10629 024e 43F48053 orr r3, r3, #4096 10630 0252 D360 str r3, [r2, #12] 1182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10631 .loc 1 1182 7 view .LVU3373 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10632 .loc 1 1190 3 view .LVU3374 10633 0254 77E7 b .L709 10634 .LVL843: 10635 .L698: 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10636 .loc 1 1089 7 is_stmt 0 discriminator 12 view .LVU3375 10637 0256 0223 movs r3, #2 10638 .LVL844: 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10639 .loc 1 1089 7 discriminator 12 view .LVU3376 10640 0258 85F84230 strb r3, [r5, #66] 1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10641 .loc 1 1097 3 is_stmt 1 view .LVU3377 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10642 .loc 1 1089 7 is_stmt 0 discriminator 12 view .LVU3378 10643 025c 0120 movs r0, #1 10644 025e 32E0 b .L688 10645 .LVL845: 10646 .L697: 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10647 .loc 1 1089 7 discriminator 13 view .LVU3379 ARM GAS /tmp/ccGjXOU1.s page 377 10648 0260 0222 movs r2, #2 10649 0262 85F84320 strb r2, [r5, #67] 1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10650 .loc 1 1097 3 is_stmt 1 view .LVU3380 10651 0266 0C2C cmp r4, #12 10652 0268 32D8 bhi .L718 10653 026a 01A2 adr r2, .L708 10654 026c 52F824F0 ldr pc, [r2, r4, lsl #2] 10655 .p2align 2 10656 .L708: 10657 0270 1B010000 .word .L704+1 10658 0274 D1020000 .word .L718+1 10659 0278 D1020000 .word .L718+1 10660 027c D1020000 .word .L718+1 10661 0280 C7010000 .word .L705+1 10662 0284 D1020000 .word .L718+1 10663 0288 D1020000 .word .L718+1 10664 028c D1020000 .word .L718+1 10665 0290 F9010000 .word .L706+1 10666 0294 D1020000 .word .L718+1 10667 0298 D1020000 .word .L718+1 10668 029c D1020000 .word .L718+1 10669 02a0 2B020000 .word .L707+1 10670 .LVL846: 10671 .p2align 1 10672 .L712: 1204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 10673 .loc 1 1204 7 view .LVU3381 1204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 10674 .loc 1 1204 31 is_stmt 0 view .LVU3382 10675 02a4 9968 ldr r1, [r3, #8] 1204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 10676 .loc 1 1204 15 view .LVU3383 10677 02a6 154A ldr r2, .L730+16 10678 02a8 0A40 ands r2, r2, r1 10679 .LVL847: 1205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10680 .loc 1 1205 7 is_stmt 1 view .LVU3384 1205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10681 .loc 1 1205 10 is_stmt 0 view .LVU3385 10682 02aa 062A cmp r2, #6 10683 02ac 1AD0 beq .L723 1205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10684 .loc 1 1205 11 discriminator 1 view .LVU3386 10685 02ae B2F5803F cmp r2, #65536 10686 02b2 19D0 beq .L724 1207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10687 .loc 1 1207 9 is_stmt 1 view .LVU3387 10688 02b4 1A68 ldr r2, [r3] 10689 .LVL848: 1207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10690 .loc 1 1207 9 is_stmt 0 view .LVU3388 10691 02b6 42F00102 orr r2, r2, #1 10692 02ba 1A60 str r2, [r3] 10693 02bc 0020 movs r0, #0 10694 02be 02E0 b .L688 10695 .LVL849: ARM GAS /tmp/ccGjXOU1.s page 378 10696 .L714: 1079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10697 .loc 1 1079 12 view .LVU3389 10698 02c0 0220 movs r0, #2 10699 02c2 00E0 b .L688 10700 .L715: 1094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10701 .loc 1 1094 12 view .LVU3390 10702 02c4 0120 movs r0, #1 10703 .LVL850: 10704 .L688: 1218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10705 .loc 1 1218 1 view .LVU3391 10706 02c6 38BD pop {r3, r4, r5, pc} 10707 .LVL851: 10708 .L716: 1085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10709 .loc 1 1085 14 view .LVU3392 10710 02c8 0120 movs r0, #1 10711 02ca FCE7 b .L688 10712 .L717: 10713 02cc 0120 movs r0, #1 10714 02ce FAE7 b .L688 10715 .L718: 1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10716 .loc 1 1097 3 view .LVU3393 10717 02d0 0120 movs r0, #1 10718 02d2 F8E7 b .L688 10719 .LVL852: 10720 .L719: 1113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10721 .loc 1 1113 16 view .LVU3394 10722 02d4 0120 movs r0, #1 10723 02d6 F6E7 b .L688 10724 .L720: 1135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10725 .loc 1 1135 16 view .LVU3395 10726 02d8 0120 movs r0, #1 10727 02da F4E7 b .L688 10728 .L721: 1157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10729 .loc 1 1157 16 view .LVU3396 10730 02dc 0120 movs r0, #1 10731 02de F2E7 b .L688 10732 .L722: 1178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10733 .loc 1 1178 16 view .LVU3397 10734 02e0 0120 movs r0, #1 10735 02e2 F0E7 b .L688 10736 .LVL853: 10737 .L723: 1178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10738 .loc 1 1178 16 view .LVU3398 10739 02e4 0020 movs r0, #0 10740 02e6 EEE7 b .L688 10741 .L724: 10742 02e8 0020 movs r0, #0 ARM GAS /tmp/ccGjXOU1.s page 379 10743 02ea ECE7 b .L688 10744 .L731: 10745 .align 2 10746 .L730: 10747 02ec 00000000 .word TIM_DMADelayPulseCplt 10748 02f0 00000000 .word TIM_DMADelayPulseHalfCplt 10749 02f4 00000000 .word TIM_DMAError 10750 02f8 002C0140 .word 1073818624 10751 02fc 07000100 .word 65543 10752 .cfi_endproc 10753 .LFE347: 10755 .section .text.HAL_TIM_OC_Stop_DMA,"ax",%progbits 10756 .align 1 10757 .global HAL_TIM_OC_Stop_DMA 10758 .syntax unified 10759 .thumb 10760 .thumb_func 10762 HAL_TIM_OC_Stop_DMA: 10763 .LVL854: 10764 .LFB348: 1232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 10765 .loc 1 1232 1 is_stmt 1 view -0 10766 .cfi_startproc 10767 @ args = 0, pretend = 0, frame = 0 10768 @ frame_needed = 0, uses_anonymous_args = 0 1232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 10769 .loc 1 1232 1 is_stmt 0 view .LVU3400 10770 0000 38B5 push {r3, r4, r5, lr} 10771 .LCFI90: 10772 .cfi_def_cfa_offset 16 10773 .cfi_offset 3, -16 10774 .cfi_offset 4, -12 10775 .cfi_offset 5, -8 10776 .cfi_offset 14, -4 10777 0002 0546 mov r5, r0 10778 0004 0C46 mov r4, r1 1233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10779 .loc 1 1233 3 is_stmt 1 view .LVU3401 10780 .LVL855: 1236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10781 .loc 1 1236 3 view .LVU3402 1238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10782 .loc 1 1238 3 view .LVU3403 10783 0006 0C29 cmp r1, #12 10784 0008 00F28D80 bhi .L750 10785 000c DFE801F0 tbb [pc, r1] 10786 .L735: 10787 0010 07 .byte (.L738-.L735)/2 10788 0011 8B .byte (.L750-.L735)/2 10789 0012 8B .byte (.L750-.L735)/2 10790 0013 8B .byte (.L750-.L735)/2 10791 0014 52 .byte (.L737-.L735)/2 10792 0015 8B .byte (.L750-.L735)/2 10793 0016 8B .byte (.L750-.L735)/2 10794 0017 8B .byte (.L750-.L735)/2 10795 0018 5B .byte (.L736-.L735)/2 10796 0019 8B .byte (.L750-.L735)/2 ARM GAS /tmp/ccGjXOU1.s page 380 10797 001a 8B .byte (.L750-.L735)/2 10798 001b 8B .byte (.L750-.L735)/2 10799 001c 64 .byte (.L734-.L735)/2 10800 001d 00 .p2align 1 10801 .L738: 1243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 10802 .loc 1 1243 7 view .LVU3404 10803 001e 0268 ldr r2, [r0] 10804 0020 D368 ldr r3, [r2, #12] 10805 0022 23F40073 bic r3, r3, #512 10806 0026 D360 str r3, [r2, #12] 1244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10807 .loc 1 1244 7 view .LVU3405 1244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10808 .loc 1 1244 13 is_stmt 0 view .LVU3406 10809 0028 406A ldr r0, [r0, #36] 10810 .LVL856: 1244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10811 .loc 1 1244 13 view .LVU3407 10812 002a FFF7FEFF bl HAL_DMA_Abort_IT 10813 .LVL857: 1245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10814 .loc 1 1245 7 is_stmt 1 view .LVU3408 1277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10815 .loc 1 1277 3 view .LVU3409 10816 .L739: 1280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10817 .loc 1 1280 5 view .LVU3410 10818 002e 0022 movs r2, #0 10819 0030 2146 mov r1, r4 10820 0032 2868 ldr r0, [r5] 10821 0034 FFF7FEFF bl TIM_CCxChannelCmd 10822 .LVL858: 1282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10823 .loc 1 1282 5 view .LVU3411 1282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10824 .loc 1 1282 9 is_stmt 0 view .LVU3412 10825 0038 2B68 ldr r3, [r5] 10826 003a 3C4A ldr r2, .L752 10827 003c 9342 cmp r3, r2 10828 003e 0FD0 beq .L740 1282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10829 .loc 1 1282 9 discriminator 2 view .LVU3413 10830 0040 02F50062 add r2, r2, #2048 10831 0044 9342 cmp r3, r2 10832 0046 0BD0 beq .L740 1282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10833 .loc 1 1282 9 discriminator 4 view .LVU3414 10834 0048 02F54062 add r2, r2, #3072 10835 004c 9342 cmp r3, r2 10836 004e 07D0 beq .L740 1282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10837 .loc 1 1282 9 discriminator 6 view .LVU3415 10838 0050 02F58062 add r2, r2, #1024 10839 0054 9342 cmp r3, r2 10840 0056 03D0 beq .L740 1282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 381 10841 .loc 1 1282 9 discriminator 8 view .LVU3416 10842 0058 02F58062 add r2, r2, #1024 10843 005c 9342 cmp r3, r2 10844 005e 0DD1 bne .L741 10845 .L740: 1285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10846 .loc 1 1285 7 is_stmt 1 view .LVU3417 1285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10847 .loc 1 1285 7 view .LVU3418 10848 0060 196A ldr r1, [r3, #32] 10849 0062 41F21112 movw r2, #4369 10850 0066 1142 tst r1, r2 10851 0068 08D1 bne .L741 1285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10852 .loc 1 1285 7 discriminator 1 view .LVU3419 10853 006a 196A ldr r1, [r3, #32] 10854 006c 44F24442 movw r2, #17476 10855 0070 1142 tst r1, r2 10856 0072 03D1 bne .L741 1285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10857 .loc 1 1285 7 discriminator 3 view .LVU3420 10858 0074 5A6C ldr r2, [r3, #68] 10859 0076 22F40042 bic r2, r2, #32768 10860 007a 5A64 str r2, [r3, #68] 10861 .L741: 1285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10862 .loc 1 1285 7 discriminator 5 view .LVU3421 1289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10863 .loc 1 1289 5 view .LVU3422 1289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10864 .loc 1 1289 5 view .LVU3423 10865 007c 2B68 ldr r3, [r5] 10866 007e 196A ldr r1, [r3, #32] 10867 0080 41F21112 movw r2, #4369 10868 0084 1142 tst r1, r2 10869 0086 08D1 bne .L742 1289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10870 .loc 1 1289 5 discriminator 1 view .LVU3424 10871 0088 196A ldr r1, [r3, #32] 10872 008a 44F24442 movw r2, #17476 10873 008e 1142 tst r1, r2 10874 0090 03D1 bne .L742 1289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10875 .loc 1 1289 5 discriminator 3 view .LVU3425 10876 0092 1A68 ldr r2, [r3] 10877 0094 22F00102 bic r2, r2, #1 10878 0098 1A60 str r2, [r3] 10879 .L742: 1289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10880 .loc 1 1289 5 discriminator 5 view .LVU3426 1292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10881 .loc 1 1292 5 view .LVU3427 10882 009a 102C cmp r4, #16 10883 009c 3ED8 bhi .L743 10884 009e DFE804F0 tbb [pc, r4] 10885 .L745: 10886 00a2 24 .byte (.L749-.L745)/2 ARM GAS /tmp/ccGjXOU1.s page 382 10887 00a3 3D .byte (.L743-.L745)/2 10888 00a4 3D .byte (.L743-.L745)/2 10889 00a5 3D .byte (.L743-.L745)/2 10890 00a6 29 .byte (.L748-.L745)/2 10891 00a7 3D .byte (.L743-.L745)/2 10892 00a8 3D .byte (.L743-.L745)/2 10893 00a9 3D .byte (.L743-.L745)/2 10894 00aa 2E .byte (.L747-.L745)/2 10895 00ab 3D .byte (.L743-.L745)/2 10896 00ac 3D .byte (.L743-.L745)/2 10897 00ad 3D .byte (.L743-.L745)/2 10898 00ae 33 .byte (.L746-.L745)/2 10899 00af 3D .byte (.L743-.L745)/2 10900 00b0 3D .byte (.L743-.L745)/2 10901 00b1 3D .byte (.L743-.L745)/2 10902 00b2 38 .byte (.L744-.L745)/2 10903 .LVL859: 10904 00b3 00 .p2align 1 10905 .L737: 1251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 10906 .loc 1 1251 7 view .LVU3428 10907 00b4 0268 ldr r2, [r0] 10908 00b6 D368 ldr r3, [r2, #12] 10909 00b8 23F48063 bic r3, r3, #1024 10910 00bc D360 str r3, [r2, #12] 1252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10911 .loc 1 1252 7 view .LVU3429 1252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10912 .loc 1 1252 13 is_stmt 0 view .LVU3430 10913 00be 806A ldr r0, [r0, #40] 10914 .LVL860: 1252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10915 .loc 1 1252 13 view .LVU3431 10916 00c0 FFF7FEFF bl HAL_DMA_Abort_IT 10917 .LVL861: 1253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10918 .loc 1 1253 7 is_stmt 1 view .LVU3432 1277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10919 .loc 1 1277 3 view .LVU3433 10920 00c4 B3E7 b .L739 10921 .LVL862: 10922 .L736: 1259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 10923 .loc 1 1259 7 view .LVU3434 10924 00c6 0268 ldr r2, [r0] 10925 00c8 D368 ldr r3, [r2, #12] 10926 00ca 23F40063 bic r3, r3, #2048 10927 00ce D360 str r3, [r2, #12] 1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10928 .loc 1 1260 7 view .LVU3435 1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10929 .loc 1 1260 13 is_stmt 0 view .LVU3436 10930 00d0 C06A ldr r0, [r0, #44] 10931 .LVL863: 1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10932 .loc 1 1260 13 view .LVU3437 10933 00d2 FFF7FEFF bl HAL_DMA_Abort_IT ARM GAS /tmp/ccGjXOU1.s page 383 10934 .LVL864: 1261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10935 .loc 1 1261 7 is_stmt 1 view .LVU3438 1277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10936 .loc 1 1277 3 view .LVU3439 10937 00d6 AAE7 b .L739 10938 .LVL865: 10939 .L734: 1267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 10940 .loc 1 1267 7 view .LVU3440 10941 00d8 0268 ldr r2, [r0] 10942 00da D368 ldr r3, [r2, #12] 10943 00dc 23F48053 bic r3, r3, #4096 10944 00e0 D360 str r3, [r2, #12] 1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10945 .loc 1 1268 7 view .LVU3441 1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10946 .loc 1 1268 13 is_stmt 0 view .LVU3442 10947 00e2 006B ldr r0, [r0, #48] 10948 .LVL866: 1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10949 .loc 1 1268 13 view .LVU3443 10950 00e4 FFF7FEFF bl HAL_DMA_Abort_IT 10951 .LVL867: 1269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10952 .loc 1 1269 7 is_stmt 1 view .LVU3444 1277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10953 .loc 1 1277 3 view .LVU3445 10954 00e8 A1E7 b .L739 10955 .L749: 1292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10956 .loc 1 1292 5 is_stmt 0 discriminator 1 view .LVU3446 10957 00ea 0123 movs r3, #1 10958 00ec 85F83E30 strb r3, [r5, #62] 10959 00f0 0020 movs r0, #0 10960 00f2 19E0 b .L733 10961 .L748: 1292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10962 .loc 1 1292 5 discriminator 3 view .LVU3447 10963 00f4 0123 movs r3, #1 10964 00f6 85F83F30 strb r3, [r5, #63] 10965 00fa 0020 movs r0, #0 10966 00fc 14E0 b .L733 10967 .L747: 1292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10968 .loc 1 1292 5 discriminator 6 view .LVU3448 10969 00fe 0123 movs r3, #1 10970 0100 85F84030 strb r3, [r5, #64] 10971 0104 0020 movs r0, #0 10972 0106 0FE0 b .L733 10973 .L746: 1292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10974 .loc 1 1292 5 discriminator 9 view .LVU3449 10975 0108 0123 movs r3, #1 10976 010a 85F84130 strb r3, [r5, #65] 10977 010e 0020 movs r0, #0 10978 0110 0AE0 b .L733 ARM GAS /tmp/ccGjXOU1.s page 384 10979 .L744: 1292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10980 .loc 1 1292 5 discriminator 12 view .LVU3450 10981 0112 0123 movs r3, #1 10982 0114 85F84230 strb r3, [r5, #66] 10983 0118 0020 movs r0, #0 10984 011a 05E0 b .L733 10985 .L743: 1292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10986 .loc 1 1292 5 discriminator 13 view .LVU3451 10987 011c 0123 movs r3, #1 10988 011e 85F84330 strb r3, [r5, #67] 10989 0122 0020 movs r0, #0 10990 0124 00E0 b .L733 10991 .LVL868: 10992 .L750: 1238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10993 .loc 1 1238 3 view .LVU3452 10994 0126 0120 movs r0, #1 10995 .LVL869: 10996 .L733: 1296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10997 .loc 1 1296 3 is_stmt 1 view .LVU3453 1297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10998 .loc 1 1297 1 is_stmt 0 view .LVU3454 10999 0128 38BD pop {r3, r4, r5, pc} 11000 .LVL870: 11001 .L753: 1297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11002 .loc 1 1297 1 view .LVU3455 11003 012a 00BF .align 2 11004 .L752: 11005 012c 002C0140 .word 1073818624 11006 .cfi_endproc 11007 .LFE348: 11009 .section .text.HAL_TIM_PWM_Start,"ax",%progbits 11010 .align 1 11011 .global HAL_TIM_PWM_Start 11012 .syntax unified 11013 .thumb 11014 .thumb_func 11016 HAL_TIM_PWM_Start: 11017 .LVL871: 11018 .LFB353: 1476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 11019 .loc 1 1476 1 is_stmt 1 view -0 11020 .cfi_startproc 11021 @ args = 0, pretend = 0, frame = 0 11022 @ frame_needed = 0, uses_anonymous_args = 0 1476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 11023 .loc 1 1476 1 is_stmt 0 view .LVU3457 11024 0000 10B5 push {r4, lr} 11025 .LCFI91: 11026 .cfi_def_cfa_offset 8 11027 .cfi_offset 4, -8 11028 .cfi_offset 14, -4 11029 0002 0446 mov r4, r0 ARM GAS /tmp/ccGjXOU1.s page 385 1477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11030 .loc 1 1477 3 is_stmt 1 view .LVU3458 1480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11031 .loc 1 1480 3 view .LVU3459 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11032 .loc 1 1483 3 view .LVU3460 11033 0004 1029 cmp r1, #16 11034 0006 28D8 bhi .L755 11035 0008 DFE801F0 tbb [pc, r1] 11036 .L757: 11037 000c 09 .byte (.L761-.L757)/2 11038 000d 27 .byte (.L755-.L757)/2 11039 000e 27 .byte (.L755-.L757)/2 11040 000f 27 .byte (.L755-.L757)/2 11041 0010 0F .byte (.L760-.L757)/2 11042 0011 27 .byte (.L755-.L757)/2 11043 0012 27 .byte (.L755-.L757)/2 11044 0013 27 .byte (.L755-.L757)/2 11045 0014 15 .byte (.L759-.L757)/2 11046 0015 27 .byte (.L755-.L757)/2 11047 0016 27 .byte (.L755-.L757)/2 11048 0017 27 .byte (.L755-.L757)/2 11049 0018 1B .byte (.L758-.L757)/2 11050 0019 27 .byte (.L755-.L757)/2 11051 001a 27 .byte (.L755-.L757)/2 11052 001b 27 .byte (.L755-.L757)/2 11053 001c 21 .byte (.L756-.L757)/2 11054 001d 00 .p2align 1 11055 .L761: 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11056 .loc 1 1483 7 is_stmt 0 discriminator 1 view .LVU3461 11057 001e 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11058 .loc 1 1483 44 discriminator 1 view .LVU3462 11059 0022 013B subs r3, r3, #1 11060 0024 18BF it ne 11061 0026 0123 movne r3, #1 11062 0028 1CE0 b .L762 11063 .L760: 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11064 .loc 1 1483 7 discriminator 4 view .LVU3463 11065 002a 90F83F30 ldrb r3, [r0, #63] @ zero_extendqisi2 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11066 .loc 1 1483 44 discriminator 4 view .LVU3464 11067 002e 013B subs r3, r3, #1 11068 0030 18BF it ne 11069 0032 0123 movne r3, #1 11070 0034 16E0 b .L762 11071 .L759: 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11072 .loc 1 1483 7 discriminator 7 view .LVU3465 11073 0036 90F84030 ldrb r3, [r0, #64] @ zero_extendqisi2 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11074 .loc 1 1483 44 discriminator 7 view .LVU3466 11075 003a 013B subs r3, r3, #1 11076 003c 18BF it ne 11077 003e 0123 movne r3, #1 ARM GAS /tmp/ccGjXOU1.s page 386 11078 0040 10E0 b .L762 11079 .L758: 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11080 .loc 1 1483 7 discriminator 10 view .LVU3467 11081 0042 90F84130 ldrb r3, [r0, #65] @ zero_extendqisi2 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11082 .loc 1 1483 44 discriminator 10 view .LVU3468 11083 0046 013B subs r3, r3, #1 11084 0048 18BF it ne 11085 004a 0123 movne r3, #1 11086 004c 0AE0 b .L762 11087 .L756: 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11088 .loc 1 1483 7 discriminator 13 view .LVU3469 11089 004e 90F84230 ldrb r3, [r0, #66] @ zero_extendqisi2 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11090 .loc 1 1483 44 discriminator 13 view .LVU3470 11091 0052 013B subs r3, r3, #1 11092 0054 18BF it ne 11093 0056 0123 movne r3, #1 11094 0058 04E0 b .L762 11095 .L755: 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11096 .loc 1 1483 7 discriminator 14 view .LVU3471 11097 005a 90F84330 ldrb r3, [r0, #67] @ zero_extendqisi2 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11098 .loc 1 1483 44 discriminator 14 view .LVU3472 11099 005e 013B subs r3, r3, #1 11100 0060 18BF it ne 11101 0062 0123 movne r3, #1 11102 .L762: 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11103 .loc 1 1483 6 discriminator 20 view .LVU3473 11104 0064 002B cmp r3, #0 11105 0066 6AD1 bne .L776 1489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11106 .loc 1 1489 3 is_stmt 1 view .LVU3474 11107 0068 1029 cmp r1, #16 11108 006a 1ED8 bhi .L764 11109 006c DFE801F0 tbb [pc, r1] 11110 .L766: 11111 0070 09 .byte (.L770-.L766)/2 11112 0071 1D .byte (.L764-.L766)/2 11113 0072 1D .byte (.L764-.L766)/2 11114 0073 1D .byte (.L764-.L766)/2 11115 0074 0D .byte (.L769-.L766)/2 11116 0075 1D .byte (.L764-.L766)/2 11117 0076 1D .byte (.L764-.L766)/2 11118 0077 1D .byte (.L764-.L766)/2 11119 0078 11 .byte (.L768-.L766)/2 11120 0079 1D .byte (.L764-.L766)/2 11121 007a 1D .byte (.L764-.L766)/2 11122 007b 1D .byte (.L764-.L766)/2 11123 007c 15 .byte (.L767-.L766)/2 11124 007d 1D .byte (.L764-.L766)/2 11125 007e 1D .byte (.L764-.L766)/2 11126 007f 1D .byte (.L764-.L766)/2 ARM GAS /tmp/ccGjXOU1.s page 387 11127 0080 19 .byte (.L765-.L766)/2 11128 0081 00 .p2align 1 11129 .L770: 1489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11130 .loc 1 1489 3 is_stmt 0 discriminator 1 view .LVU3475 11131 0082 0223 movs r3, #2 11132 0084 84F83E30 strb r3, [r4, #62] 11133 0088 12E0 b .L771 11134 .L769: 1489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11135 .loc 1 1489 3 discriminator 3 view .LVU3476 11136 008a 0223 movs r3, #2 11137 008c 84F83F30 strb r3, [r4, #63] 11138 0090 0EE0 b .L771 11139 .L768: 1489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11140 .loc 1 1489 3 discriminator 6 view .LVU3477 11141 0092 0223 movs r3, #2 11142 0094 84F84030 strb r3, [r4, #64] 11143 0098 0AE0 b .L771 11144 .L767: 1489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11145 .loc 1 1489 3 discriminator 9 view .LVU3478 11146 009a 0223 movs r3, #2 11147 009c 84F84130 strb r3, [r4, #65] 11148 00a0 06E0 b .L771 11149 .L765: 1489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11150 .loc 1 1489 3 discriminator 12 view .LVU3479 11151 00a2 0223 movs r3, #2 11152 00a4 84F84230 strb r3, [r4, #66] 11153 00a8 02E0 b .L771 11154 .L764: 1489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11155 .loc 1 1489 3 discriminator 13 view .LVU3480 11156 00aa 0223 movs r3, #2 11157 00ac 84F84330 strb r3, [r4, #67] 11158 .L771: 1492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11159 .loc 1 1492 3 is_stmt 1 view .LVU3481 11160 00b0 0122 movs r2, #1 11161 00b2 2068 ldr r0, [r4] 11162 .LVL872: 1492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11163 .loc 1 1492 3 is_stmt 0 view .LVU3482 11164 00b4 FFF7FEFF bl TIM_CCxChannelCmd 11165 .LVL873: 1494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11166 .loc 1 1494 3 is_stmt 1 view .LVU3483 1494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11167 .loc 1 1494 7 is_stmt 0 view .LVU3484 11168 00b8 2368 ldr r3, [r4] 11169 00ba 244A ldr r2, .L780 11170 00bc 9342 cmp r3, r2 11171 00be 0FD0 beq .L772 1494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11172 .loc 1 1494 7 discriminator 2 view .LVU3485 ARM GAS /tmp/ccGjXOU1.s page 388 11173 00c0 02F50062 add r2, r2, #2048 11174 00c4 9342 cmp r3, r2 11175 00c6 0BD0 beq .L772 1494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11176 .loc 1 1494 7 discriminator 4 view .LVU3486 11177 00c8 02F54062 add r2, r2, #3072 11178 00cc 9342 cmp r3, r2 11179 00ce 07D0 beq .L772 1494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11180 .loc 1 1494 7 discriminator 6 view .LVU3487 11181 00d0 02F58062 add r2, r2, #1024 11182 00d4 9342 cmp r3, r2 11183 00d6 03D0 beq .L772 1494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11184 .loc 1 1494 7 discriminator 8 view .LVU3488 11185 00d8 02F58062 add r2, r2, #1024 11186 00dc 9342 cmp r3, r2 11187 00de 03D1 bne .L773 11188 .L772: 1497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11189 .loc 1 1497 5 is_stmt 1 view .LVU3489 11190 00e0 5A6C ldr r2, [r3, #68] 11191 00e2 42F40042 orr r2, r2, #32768 11192 00e6 5A64 str r2, [r3, #68] 11193 .L773: 1501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11194 .loc 1 1501 3 view .LVU3490 1501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11195 .loc 1 1501 7 is_stmt 0 view .LVU3491 11196 00e8 2368 ldr r3, [r4] 1501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11197 .loc 1 1501 6 view .LVU3492 11198 00ea 184A ldr r2, .L780 11199 00ec 9342 cmp r3, r2 11200 00ee 18D0 beq .L774 1501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11201 .loc 1 1501 7 discriminator 1 view .LVU3493 11202 00f0 B3F1804F cmp r3, #1073741824 11203 00f4 15D0 beq .L774 1501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11204 .loc 1 1501 7 discriminator 2 view .LVU3494 11205 00f6 A2F59432 sub r2, r2, #75776 11206 00fa 9342 cmp r3, r2 11207 00fc 11D0 beq .L774 1501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11208 .loc 1 1501 7 discriminator 3 view .LVU3495 11209 00fe 02F58062 add r2, r2, #1024 11210 0102 9342 cmp r3, r2 11211 0104 0DD0 beq .L774 1501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11212 .loc 1 1501 7 discriminator 4 view .LVU3496 11213 0106 02F59632 add r2, r2, #76800 11214 010a 9342 cmp r3, r2 11215 010c 09D0 beq .L774 1501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11216 .loc 1 1501 7 discriminator 5 view .LVU3497 11217 010e 02F54062 add r2, r2, #3072 ARM GAS /tmp/ccGjXOU1.s page 389 11218 0112 9342 cmp r3, r2 11219 0114 05D0 beq .L774 1511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11220 .loc 1 1511 5 is_stmt 1 view .LVU3498 11221 0116 1A68 ldr r2, [r3] 11222 0118 42F00102 orr r2, r2, #1 11223 011c 1A60 str r2, [r3] 1515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11224 .loc 1 1515 10 is_stmt 0 view .LVU3499 11225 011e 0020 movs r0, #0 11226 0120 0EE0 b .L763 11227 .L774: 1503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 11228 .loc 1 1503 5 is_stmt 1 view .LVU3500 1503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 11229 .loc 1 1503 29 is_stmt 0 view .LVU3501 11230 0122 9968 ldr r1, [r3, #8] 1503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 11231 .loc 1 1503 13 view .LVU3502 11232 0124 0A4A ldr r2, .L780+4 11233 0126 0A40 ands r2, r2, r1 11234 .LVL874: 1504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11235 .loc 1 1504 5 is_stmt 1 view .LVU3503 1504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11236 .loc 1 1504 8 is_stmt 0 view .LVU3504 11237 0128 062A cmp r2, #6 11238 012a 0AD0 beq .L777 1504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11239 .loc 1 1504 9 discriminator 1 view .LVU3505 11240 012c B2F5803F cmp r2, #65536 11241 0130 09D0 beq .L778 1506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11242 .loc 1 1506 7 is_stmt 1 view .LVU3506 11243 0132 1A68 ldr r2, [r3] 11244 .LVL875: 1506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11245 .loc 1 1506 7 is_stmt 0 view .LVU3507 11246 0134 42F00102 orr r2, r2, #1 11247 0138 1A60 str r2, [r3] 1515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11248 .loc 1 1515 10 view .LVU3508 11249 013a 0020 movs r0, #0 11250 013c 00E0 b .L763 11251 .LVL876: 11252 .L776: 1485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11253 .loc 1 1485 12 view .LVU3509 11254 013e 0120 movs r0, #1 11255 .LVL877: 11256 .L763: 1516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11257 .loc 1 1516 1 view .LVU3510 11258 0140 10BD pop {r4, pc} 11259 .LVL878: 11260 .L777: 1515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/ccGjXOU1.s page 390 11261 .loc 1 1515 10 view .LVU3511 11262 0142 0020 movs r0, #0 11263 0144 FCE7 b .L763 11264 .L778: 11265 0146 0020 movs r0, #0 11266 0148 FAE7 b .L763 11267 .L781: 11268 014a 00BF .align 2 11269 .L780: 11270 014c 002C0140 .word 1073818624 11271 0150 07000100 .word 65543 11272 .cfi_endproc 11273 .LFE353: 11275 .section .text.HAL_TIM_PWM_Stop,"ax",%progbits 11276 .align 1 11277 .global HAL_TIM_PWM_Stop 11278 .syntax unified 11279 .thumb 11280 .thumb_func 11282 HAL_TIM_PWM_Stop: 11283 .LVL879: 11284 .LFB354: 1532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 11285 .loc 1 1532 1 is_stmt 1 view -0 11286 .cfi_startproc 11287 @ args = 0, pretend = 0, frame = 0 11288 @ frame_needed = 0, uses_anonymous_args = 0 1532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 11289 .loc 1 1532 1 is_stmt 0 view .LVU3513 11290 0000 38B5 push {r3, r4, r5, lr} 11291 .LCFI92: 11292 .cfi_def_cfa_offset 16 11293 .cfi_offset 3, -16 11294 .cfi_offset 4, -12 11295 .cfi_offset 5, -8 11296 .cfi_offset 14, -4 11297 0002 0446 mov r4, r0 11298 0004 0D46 mov r5, r1 1534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11299 .loc 1 1534 3 is_stmt 1 view .LVU3514 1537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11300 .loc 1 1537 3 view .LVU3515 11301 0006 0022 movs r2, #0 11302 0008 0068 ldr r0, [r0] 11303 .LVL880: 1537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11304 .loc 1 1537 3 is_stmt 0 view .LVU3516 11305 000a FFF7FEFF bl TIM_CCxChannelCmd 11306 .LVL881: 1539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11307 .loc 1 1539 3 is_stmt 1 view .LVU3517 1539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11308 .loc 1 1539 7 is_stmt 0 view .LVU3518 11309 000e 2368 ldr r3, [r4] 11310 0010 2A4A ldr r2, .L795 11311 0012 9342 cmp r3, r2 11312 0014 0FD0 beq .L783 ARM GAS /tmp/ccGjXOU1.s page 391 1539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11313 .loc 1 1539 7 discriminator 2 view .LVU3519 11314 0016 02F50062 add r2, r2, #2048 11315 001a 9342 cmp r3, r2 11316 001c 0BD0 beq .L783 1539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11317 .loc 1 1539 7 discriminator 4 view .LVU3520 11318 001e 02F54062 add r2, r2, #3072 11319 0022 9342 cmp r3, r2 11320 0024 07D0 beq .L783 1539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11321 .loc 1 1539 7 discriminator 6 view .LVU3521 11322 0026 02F58062 add r2, r2, #1024 11323 002a 9342 cmp r3, r2 11324 002c 03D0 beq .L783 1539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11325 .loc 1 1539 7 discriminator 8 view .LVU3522 11326 002e 02F58062 add r2, r2, #1024 11327 0032 9342 cmp r3, r2 11328 0034 0DD1 bne .L784 11329 .L783: 1542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11330 .loc 1 1542 5 is_stmt 1 view .LVU3523 1542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11331 .loc 1 1542 5 view .LVU3524 11332 0036 196A ldr r1, [r3, #32] 11333 0038 41F21112 movw r2, #4369 11334 003c 1142 tst r1, r2 11335 003e 08D1 bne .L784 1542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11336 .loc 1 1542 5 discriminator 1 view .LVU3525 11337 0040 196A ldr r1, [r3, #32] 11338 0042 44F24442 movw r2, #17476 11339 0046 1142 tst r1, r2 11340 0048 03D1 bne .L784 1542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11341 .loc 1 1542 5 discriminator 3 view .LVU3526 11342 004a 5A6C ldr r2, [r3, #68] 11343 004c 22F40042 bic r2, r2, #32768 11344 0050 5A64 str r2, [r3, #68] 11345 .L784: 1542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11346 .loc 1 1542 5 discriminator 5 view .LVU3527 1546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11347 .loc 1 1546 3 view .LVU3528 1546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11348 .loc 1 1546 3 view .LVU3529 11349 0052 2368 ldr r3, [r4] 11350 0054 196A ldr r1, [r3, #32] 11351 0056 41F21112 movw r2, #4369 11352 005a 1142 tst r1, r2 11353 005c 08D1 bne .L785 1546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11354 .loc 1 1546 3 discriminator 1 view .LVU3530 11355 005e 196A ldr r1, [r3, #32] 11356 0060 44F24442 movw r2, #17476 11357 0064 1142 tst r1, r2 ARM GAS /tmp/ccGjXOU1.s page 392 11358 0066 03D1 bne .L785 1546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11359 .loc 1 1546 3 discriminator 3 view .LVU3531 11360 0068 1A68 ldr r2, [r3] 11361 006a 22F00102 bic r2, r2, #1 11362 006e 1A60 str r2, [r3] 11363 .L785: 1546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11364 .loc 1 1546 3 discriminator 5 view .LVU3532 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11365 .loc 1 1549 3 view .LVU3533 11366 0070 102D cmp r5, #16 11367 0072 1ED8 bhi .L786 11368 0074 DFE805F0 tbb [pc, r5] 11369 .L788: 11370 0078 09 .byte (.L792-.L788)/2 11371 0079 1D .byte (.L786-.L788)/2 11372 007a 1D .byte (.L786-.L788)/2 11373 007b 1D .byte (.L786-.L788)/2 11374 007c 0D .byte (.L791-.L788)/2 11375 007d 1D .byte (.L786-.L788)/2 11376 007e 1D .byte (.L786-.L788)/2 11377 007f 1D .byte (.L786-.L788)/2 11378 0080 11 .byte (.L790-.L788)/2 11379 0081 1D .byte (.L786-.L788)/2 11380 0082 1D .byte (.L786-.L788)/2 11381 0083 1D .byte (.L786-.L788)/2 11382 0084 15 .byte (.L789-.L788)/2 11383 0085 1D .byte (.L786-.L788)/2 11384 0086 1D .byte (.L786-.L788)/2 11385 0087 1D .byte (.L786-.L788)/2 11386 0088 19 .byte (.L787-.L788)/2 11387 0089 00 .p2align 1 11388 .L792: 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11389 .loc 1 1549 3 is_stmt 0 discriminator 1 view .LVU3534 11390 008a 0123 movs r3, #1 11391 008c 84F83E30 strb r3, [r4, #62] 11392 0090 12E0 b .L793 11393 .L791: 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11394 .loc 1 1549 3 discriminator 3 view .LVU3535 11395 0092 0123 movs r3, #1 11396 0094 84F83F30 strb r3, [r4, #63] 11397 0098 0EE0 b .L793 11398 .L790: 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11399 .loc 1 1549 3 discriminator 6 view .LVU3536 11400 009a 0123 movs r3, #1 11401 009c 84F84030 strb r3, [r4, #64] 11402 00a0 0AE0 b .L793 11403 .L789: 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11404 .loc 1 1549 3 discriminator 9 view .LVU3537 11405 00a2 0123 movs r3, #1 11406 00a4 84F84130 strb r3, [r4, #65] 11407 00a8 06E0 b .L793 ARM GAS /tmp/ccGjXOU1.s page 393 11408 .L787: 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11409 .loc 1 1549 3 discriminator 12 view .LVU3538 11410 00aa 0123 movs r3, #1 11411 00ac 84F84230 strb r3, [r4, #66] 11412 00b0 02E0 b .L793 11413 .L786: 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11414 .loc 1 1549 3 discriminator 13 view .LVU3539 11415 00b2 0123 movs r3, #1 11416 00b4 84F84330 strb r3, [r4, #67] 11417 .L793: 1552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11418 .loc 1 1552 3 is_stmt 1 view .LVU3540 1553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11419 .loc 1 1553 1 is_stmt 0 view .LVU3541 11420 00b8 0020 movs r0, #0 11421 00ba 38BD pop {r3, r4, r5, pc} 11422 .LVL882: 11423 .L796: 1553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11424 .loc 1 1553 1 view .LVU3542 11425 .align 2 11426 .L795: 11427 00bc 002C0140 .word 1073818624 11428 .cfi_endproc 11429 .LFE354: 11431 .section .text.HAL_TIM_PWM_Start_IT,"ax",%progbits 11432 .align 1 11433 .global HAL_TIM_PWM_Start_IT 11434 .syntax unified 11435 .thumb 11436 .thumb_func 11438 HAL_TIM_PWM_Start_IT: 11439 .LVL883: 11440 .LFB355: 1567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 11441 .loc 1 1567 1 is_stmt 1 view -0 11442 .cfi_startproc 11443 @ args = 0, pretend = 0, frame = 0 11444 @ frame_needed = 0, uses_anonymous_args = 0 1567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 11445 .loc 1 1567 1 is_stmt 0 view .LVU3544 11446 0000 10B5 push {r4, lr} 11447 .LCFI93: 11448 .cfi_def_cfa_offset 8 11449 .cfi_offset 4, -8 11450 .cfi_offset 14, -4 11451 0002 0446 mov r4, r0 1568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 11452 .loc 1 1568 3 is_stmt 1 view .LVU3545 11453 .LVL884: 1569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11454 .loc 1 1569 3 view .LVU3546 1572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11455 .loc 1 1572 3 view .LVU3547 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 394 11456 .loc 1 1575 3 view .LVU3548 11457 0004 1029 cmp r1, #16 11458 0006 28D8 bhi .L798 11459 0008 DFE801F0 tbb [pc, r1] 11460 .L800: 11461 000c 09 .byte (.L804-.L800)/2 11462 000d 27 .byte (.L798-.L800)/2 11463 000e 27 .byte (.L798-.L800)/2 11464 000f 27 .byte (.L798-.L800)/2 11465 0010 0F .byte (.L803-.L800)/2 11466 0011 27 .byte (.L798-.L800)/2 11467 0012 27 .byte (.L798-.L800)/2 11468 0013 27 .byte (.L798-.L800)/2 11469 0014 15 .byte (.L802-.L800)/2 11470 0015 27 .byte (.L798-.L800)/2 11471 0016 27 .byte (.L798-.L800)/2 11472 0017 27 .byte (.L798-.L800)/2 11473 0018 1B .byte (.L801-.L800)/2 11474 0019 27 .byte (.L798-.L800)/2 11475 001a 27 .byte (.L798-.L800)/2 11476 001b 27 .byte (.L798-.L800)/2 11477 001c 21 .byte (.L799-.L800)/2 11478 001d 00 .p2align 1 11479 .L804: 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11480 .loc 1 1575 7 is_stmt 0 discriminator 1 view .LVU3549 11481 001e 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11482 .loc 1 1575 44 discriminator 1 view .LVU3550 11483 0022 013B subs r3, r3, #1 11484 0024 18BF it ne 11485 0026 0123 movne r3, #1 11486 0028 1CE0 b .L805 11487 .L803: 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11488 .loc 1 1575 7 discriminator 4 view .LVU3551 11489 002a 90F83F30 ldrb r3, [r0, #63] @ zero_extendqisi2 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11490 .loc 1 1575 44 discriminator 4 view .LVU3552 11491 002e 013B subs r3, r3, #1 11492 0030 18BF it ne 11493 0032 0123 movne r3, #1 11494 0034 16E0 b .L805 11495 .L802: 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11496 .loc 1 1575 7 discriminator 7 view .LVU3553 11497 0036 90F84030 ldrb r3, [r0, #64] @ zero_extendqisi2 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11498 .loc 1 1575 44 discriminator 7 view .LVU3554 11499 003a 013B subs r3, r3, #1 11500 003c 18BF it ne 11501 003e 0123 movne r3, #1 11502 0040 10E0 b .L805 11503 .L801: 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11504 .loc 1 1575 7 discriminator 10 view .LVU3555 11505 0042 90F84130 ldrb r3, [r0, #65] @ zero_extendqisi2 ARM GAS /tmp/ccGjXOU1.s page 395 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11506 .loc 1 1575 44 discriminator 10 view .LVU3556 11507 0046 013B subs r3, r3, #1 11508 0048 18BF it ne 11509 004a 0123 movne r3, #1 11510 004c 0AE0 b .L805 11511 .L799: 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11512 .loc 1 1575 7 discriminator 13 view .LVU3557 11513 004e 90F84230 ldrb r3, [r0, #66] @ zero_extendqisi2 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11514 .loc 1 1575 44 discriminator 13 view .LVU3558 11515 0052 013B subs r3, r3, #1 11516 0054 18BF it ne 11517 0056 0123 movne r3, #1 11518 0058 04E0 b .L805 11519 .L798: 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11520 .loc 1 1575 7 discriminator 14 view .LVU3559 11521 005a 90F84330 ldrb r3, [r0, #67] @ zero_extendqisi2 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11522 .loc 1 1575 44 discriminator 14 view .LVU3560 11523 005e 013B subs r3, r3, #1 11524 0060 18BF it ne 11525 0062 0123 movne r3, #1 11526 .L805: 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11527 .loc 1 1575 6 discriminator 20 view .LVU3561 11528 0064 002B cmp r3, #0 11529 0066 40F09F80 bne .L824 1581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11530 .loc 1 1581 3 is_stmt 1 view .LVU3562 11531 006a 1029 cmp r1, #16 11532 006c 6BD8 bhi .L807 11533 006e DFE801F0 tbb [pc, r1] 11534 .L809: 11535 0072 09 .byte (.L813-.L809)/2 11536 0073 6A .byte (.L807-.L809)/2 11537 0074 6A .byte (.L807-.L809)/2 11538 0075 6A .byte (.L807-.L809)/2 11539 0076 4A .byte (.L812-.L809)/2 11540 0077 6A .byte (.L807-.L809)/2 11541 0078 6A .byte (.L807-.L809)/2 11542 0079 6A .byte (.L807-.L809)/2 11543 007a 53 .byte (.L811-.L809)/2 11544 007b 6A .byte (.L807-.L809)/2 11545 007c 6A .byte (.L807-.L809)/2 11546 007d 6A .byte (.L807-.L809)/2 11547 007e 5C .byte (.L810-.L809)/2 11548 007f 6A .byte (.L807-.L809)/2 11549 0080 6A .byte (.L807-.L809)/2 11550 0081 6A .byte (.L807-.L809)/2 11551 0082 65 .byte (.L808-.L809)/2 11552 0083 00 .p2align 1 11553 .L813: 1581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11554 .loc 1 1581 3 is_stmt 0 discriminator 1 view .LVU3563 ARM GAS /tmp/ccGjXOU1.s page 396 11555 0084 0223 movs r3, #2 11556 0086 84F83E30 strb r3, [r4, #62] 1583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11557 .loc 1 1583 3 is_stmt 1 view .LVU3564 11558 .L814: 1588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 11559 .loc 1 1588 7 view .LVU3565 11560 008a 2268 ldr r2, [r4] 11561 008c D368 ldr r3, [r2, #12] 11562 008e 43F00203 orr r3, r3, #2 11563 0092 D360 str r3, [r2, #12] 1589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11564 .loc 1 1589 7 view .LVU3566 1618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11565 .loc 1 1618 3 view .LVU3567 11566 .L819: 1621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11567 .loc 1 1621 5 view .LVU3568 11568 0094 0122 movs r2, #1 11569 0096 2068 ldr r0, [r4] 11570 .LVL885: 1621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11571 .loc 1 1621 5 is_stmt 0 view .LVU3569 11572 0098 FFF7FEFF bl TIM_CCxChannelCmd 11573 .LVL886: 1623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11574 .loc 1 1623 5 is_stmt 1 view .LVU3570 1623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11575 .loc 1 1623 9 is_stmt 0 view .LVU3571 11576 009c 2368 ldr r3, [r4] 11577 009e 464A ldr r2, .L833 11578 00a0 9342 cmp r3, r2 11579 00a2 0FD0 beq .L820 1623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11580 .loc 1 1623 9 discriminator 2 view .LVU3572 11581 00a4 02F50062 add r2, r2, #2048 11582 00a8 9342 cmp r3, r2 11583 00aa 0BD0 beq .L820 1623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11584 .loc 1 1623 9 discriminator 4 view .LVU3573 11585 00ac 02F54062 add r2, r2, #3072 11586 00b0 9342 cmp r3, r2 11587 00b2 07D0 beq .L820 1623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11588 .loc 1 1623 9 discriminator 6 view .LVU3574 11589 00b4 02F58062 add r2, r2, #1024 11590 00b8 9342 cmp r3, r2 11591 00ba 03D0 beq .L820 1623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11592 .loc 1 1623 9 discriminator 8 view .LVU3575 11593 00bc 02F58062 add r2, r2, #1024 11594 00c0 9342 cmp r3, r2 11595 00c2 03D1 bne .L821 11596 .L820: 1626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11597 .loc 1 1626 7 is_stmt 1 view .LVU3576 11598 00c4 5A6C ldr r2, [r3, #68] ARM GAS /tmp/ccGjXOU1.s page 397 11599 00c6 42F40042 orr r2, r2, #32768 11600 00ca 5A64 str r2, [r3, #68] 11601 .L821: 1630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11602 .loc 1 1630 5 view .LVU3577 1630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11603 .loc 1 1630 9 is_stmt 0 view .LVU3578 11604 00cc 2368 ldr r3, [r4] 1630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11605 .loc 1 1630 8 view .LVU3579 11606 00ce 3A4A ldr r2, .L833 11607 00d0 9342 cmp r3, r2 11608 00d2 5BD0 beq .L822 1630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11609 .loc 1 1630 9 discriminator 1 view .LVU3580 11610 00d4 B3F1804F cmp r3, #1073741824 11611 00d8 58D0 beq .L822 1630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11612 .loc 1 1630 9 discriminator 2 view .LVU3581 11613 00da A2F59432 sub r2, r2, #75776 11614 00de 9342 cmp r3, r2 11615 00e0 54D0 beq .L822 1630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11616 .loc 1 1630 9 discriminator 3 view .LVU3582 11617 00e2 02F58062 add r2, r2, #1024 11618 00e6 9342 cmp r3, r2 11619 00e8 50D0 beq .L822 1630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11620 .loc 1 1630 9 discriminator 4 view .LVU3583 11621 00ea 02F59632 add r2, r2, #76800 11622 00ee 9342 cmp r3, r2 11623 00f0 4CD0 beq .L822 1630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11624 .loc 1 1630 9 discriminator 5 view .LVU3584 11625 00f2 02F54062 add r2, r2, #3072 11626 00f6 9342 cmp r3, r2 11627 00f8 48D0 beq .L822 1640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11628 .loc 1 1640 7 is_stmt 1 view .LVU3585 11629 00fa 1A68 ldr r2, [r3] 11630 00fc 42F00102 orr r2, r2, #1 11631 0100 1A60 str r2, [r3] 11632 0102 0020 movs r0, #0 11633 0104 51E0 b .L806 11634 .LVL887: 11635 .L812: 1581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11636 .loc 1 1581 3 is_stmt 0 discriminator 3 view .LVU3586 11637 0106 0223 movs r3, #2 11638 0108 84F83F30 strb r3, [r4, #63] 1583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11639 .loc 1 1583 3 is_stmt 1 view .LVU3587 11640 .L815: 1595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 11641 .loc 1 1595 7 view .LVU3588 11642 010c 2268 ldr r2, [r4] 11643 010e D368 ldr r3, [r2, #12] ARM GAS /tmp/ccGjXOU1.s page 398 11644 0110 43F00403 orr r3, r3, #4 11645 0114 D360 str r3, [r2, #12] 1596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11646 .loc 1 1596 7 view .LVU3589 1618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11647 .loc 1 1618 3 view .LVU3590 11648 0116 BDE7 b .L819 11649 .L811: 1581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11650 .loc 1 1581 3 is_stmt 0 discriminator 6 view .LVU3591 11651 0118 0223 movs r3, #2 11652 011a 84F84030 strb r3, [r4, #64] 1583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11653 .loc 1 1583 3 is_stmt 1 view .LVU3592 11654 .L816: 1602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 11655 .loc 1 1602 7 view .LVU3593 11656 011e 2268 ldr r2, [r4] 11657 0120 D368 ldr r3, [r2, #12] 11658 0122 43F00803 orr r3, r3, #8 11659 0126 D360 str r3, [r2, #12] 1603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11660 .loc 1 1603 7 view .LVU3594 1618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11661 .loc 1 1618 3 view .LVU3595 11662 0128 B4E7 b .L819 11663 .L810: 1581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11664 .loc 1 1581 3 is_stmt 0 discriminator 9 view .LVU3596 11665 012a 0223 movs r3, #2 11666 012c 84F84130 strb r3, [r4, #65] 1583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11667 .loc 1 1583 3 is_stmt 1 view .LVU3597 11668 .L817: 1609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 11669 .loc 1 1609 7 view .LVU3598 11670 0130 2268 ldr r2, [r4] 11671 0132 D368 ldr r3, [r2, #12] 11672 0134 43F01003 orr r3, r3, #16 11673 0138 D360 str r3, [r2, #12] 1610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11674 .loc 1 1610 7 view .LVU3599 1618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11675 .loc 1 1618 3 view .LVU3600 11676 013a ABE7 b .L819 11677 .L808: 1581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11678 .loc 1 1581 3 is_stmt 0 discriminator 12 view .LVU3601 11679 013c 0223 movs r3, #2 11680 013e 84F84230 strb r3, [r4, #66] 1583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11681 .loc 1 1583 3 is_stmt 1 view .LVU3602 1581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11682 .loc 1 1581 3 is_stmt 0 discriminator 12 view .LVU3603 11683 0142 0120 movs r0, #1 11684 .LVL888: 1581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 399 11685 .loc 1 1581 3 discriminator 12 view .LVU3604 11686 0144 31E0 b .L806 11687 .LVL889: 11688 .L807: 1581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11689 .loc 1 1581 3 discriminator 13 view .LVU3605 11690 0146 0223 movs r3, #2 11691 0148 84F84330 strb r3, [r4, #67] 1583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11692 .loc 1 1583 3 is_stmt 1 view .LVU3606 11693 014c 0C29 cmp r1, #12 11694 014e 2DD8 bhi .L825 11695 0150 01A3 adr r3, .L818 11696 0152 53F821F0 ldr pc, [r3, r1, lsl #2] 11697 0156 00BF .p2align 2 11698 .L818: 11699 0158 8B000000 .word .L814+1 11700 015c AD010000 .word .L825+1 11701 0160 AD010000 .word .L825+1 11702 0164 AD010000 .word .L825+1 11703 0168 0D010000 .word .L815+1 11704 016c AD010000 .word .L825+1 11705 0170 AD010000 .word .L825+1 11706 0174 AD010000 .word .L825+1 11707 0178 1F010000 .word .L816+1 11708 017c AD010000 .word .L825+1 11709 0180 AD010000 .word .L825+1 11710 0184 AD010000 .word .L825+1 11711 0188 31010000 .word .L817+1 11712 .LVL890: 11713 .p2align 1 11714 .L822: 1632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 11715 .loc 1 1632 7 view .LVU3607 1632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 11716 .loc 1 1632 31 is_stmt 0 view .LVU3608 11717 018c 9968 ldr r1, [r3, #8] 1632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 11718 .loc 1 1632 15 view .LVU3609 11719 018e 0B4A ldr r2, .L833+4 11720 0190 0A40 ands r2, r2, r1 11721 .LVL891: 1633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11722 .loc 1 1633 7 is_stmt 1 view .LVU3610 1633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11723 .loc 1 1633 10 is_stmt 0 view .LVU3611 11724 0192 062A cmp r2, #6 11725 0194 0CD0 beq .L826 1633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11726 .loc 1 1633 11 discriminator 1 view .LVU3612 11727 0196 B2F5803F cmp r2, #65536 11728 019a 0BD0 beq .L827 1635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11729 .loc 1 1635 9 is_stmt 1 view .LVU3613 11730 019c 1A68 ldr r2, [r3] 11731 .LVL892: 1635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/ccGjXOU1.s page 400 11732 .loc 1 1635 9 is_stmt 0 view .LVU3614 11733 019e 42F00102 orr r2, r2, #1 11734 01a2 1A60 str r2, [r3] 11735 01a4 0020 movs r0, #0 11736 01a6 00E0 b .L806 11737 .LVL893: 11738 .L824: 1577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11739 .loc 1 1577 12 view .LVU3615 11740 01a8 0120 movs r0, #1 11741 .LVL894: 11742 .L806: 1646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11743 .loc 1 1646 1 view .LVU3616 11744 01aa 10BD pop {r4, pc} 11745 .LVL895: 11746 .L825: 1583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11747 .loc 1 1583 3 view .LVU3617 11748 01ac 0120 movs r0, #1 11749 .LVL896: 1583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11750 .loc 1 1583 3 view .LVU3618 11751 01ae FCE7 b .L806 11752 .LVL897: 11753 .L826: 1583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11754 .loc 1 1583 3 view .LVU3619 11755 01b0 0020 movs r0, #0 11756 01b2 FAE7 b .L806 11757 .L827: 11758 01b4 0020 movs r0, #0 11759 01b6 F8E7 b .L806 11760 .L834: 11761 .align 2 11762 .L833: 11763 01b8 002C0140 .word 1073818624 11764 01bc 07000100 .word 65543 11765 .cfi_endproc 11766 .LFE355: 11768 .section .text.HAL_TIM_PWM_Stop_IT,"ax",%progbits 11769 .align 1 11770 .global HAL_TIM_PWM_Stop_IT 11771 .syntax unified 11772 .thumb 11773 .thumb_func 11775 HAL_TIM_PWM_Stop_IT: 11776 .LVL898: 11777 .LFB356: 1660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 11778 .loc 1 1660 1 is_stmt 1 view -0 11779 .cfi_startproc 11780 @ args = 0, pretend = 0, frame = 0 11781 @ frame_needed = 0, uses_anonymous_args = 0 1660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 11782 .loc 1 1660 1 is_stmt 0 view .LVU3621 11783 0000 38B5 push {r3, r4, r5, lr} ARM GAS /tmp/ccGjXOU1.s page 401 11784 .LCFI94: 11785 .cfi_def_cfa_offset 16 11786 .cfi_offset 3, -16 11787 .cfi_offset 4, -12 11788 .cfi_offset 5, -8 11789 .cfi_offset 14, -4 11790 0002 0546 mov r5, r0 11791 0004 0C46 mov r4, r1 1661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11792 .loc 1 1661 3 is_stmt 1 view .LVU3622 11793 .LVL899: 1664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11794 .loc 1 1664 3 view .LVU3623 1666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11795 .loc 1 1666 3 view .LVU3624 11796 0006 0C29 cmp r1, #12 11797 0008 00F28180 bhi .L853 11798 000c DFE801F0 tbb [pc, r1] 11799 .L838: 11800 0010 07 .byte (.L841-.L838)/2 11801 0011 7F .byte (.L853-.L838)/2 11802 0012 7F .byte (.L853-.L838)/2 11803 0013 7F .byte (.L853-.L838)/2 11804 0014 4F .byte (.L840-.L838)/2 11805 0015 7F .byte (.L853-.L838)/2 11806 0016 7F .byte (.L853-.L838)/2 11807 0017 7F .byte (.L853-.L838)/2 11808 0018 55 .byte (.L839-.L838)/2 11809 0019 7F .byte (.L853-.L838)/2 11810 001a 7F .byte (.L853-.L838)/2 11811 001b 7F .byte (.L853-.L838)/2 11812 001c 5B .byte (.L837-.L838)/2 11813 001d 00 .p2align 1 11814 .L841: 1671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 11815 .loc 1 1671 7 view .LVU3625 11816 001e 0268 ldr r2, [r0] 11817 0020 D368 ldr r3, [r2, #12] 11818 0022 23F00203 bic r3, r3, #2 11819 0026 D360 str r3, [r2, #12] 1672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11820 .loc 1 1672 7 view .LVU3626 1701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11821 .loc 1 1701 3 view .LVU3627 11822 .L842: 1704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11823 .loc 1 1704 5 view .LVU3628 11824 0028 0022 movs r2, #0 11825 002a 2146 mov r1, r4 11826 .LVL900: 1704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11827 .loc 1 1704 5 is_stmt 0 view .LVU3629 11828 002c 2868 ldr r0, [r5] 11829 .LVL901: 1704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11830 .loc 1 1704 5 view .LVU3630 11831 002e FFF7FEFF bl TIM_CCxChannelCmd ARM GAS /tmp/ccGjXOU1.s page 402 11832 .LVL902: 1706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11833 .loc 1 1706 5 is_stmt 1 view .LVU3631 1706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11834 .loc 1 1706 9 is_stmt 0 view .LVU3632 11835 0032 2B68 ldr r3, [r5] 11836 0034 374A ldr r2, .L855 11837 0036 9342 cmp r3, r2 11838 0038 0FD0 beq .L843 1706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11839 .loc 1 1706 9 discriminator 2 view .LVU3633 11840 003a 02F50062 add r2, r2, #2048 11841 003e 9342 cmp r3, r2 11842 0040 0BD0 beq .L843 1706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11843 .loc 1 1706 9 discriminator 4 view .LVU3634 11844 0042 02F54062 add r2, r2, #3072 11845 0046 9342 cmp r3, r2 11846 0048 07D0 beq .L843 1706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11847 .loc 1 1706 9 discriminator 6 view .LVU3635 11848 004a 02F58062 add r2, r2, #1024 11849 004e 9342 cmp r3, r2 11850 0050 03D0 beq .L843 1706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11851 .loc 1 1706 9 discriminator 8 view .LVU3636 11852 0052 02F58062 add r2, r2, #1024 11853 0056 9342 cmp r3, r2 11854 0058 0DD1 bne .L844 11855 .L843: 1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11856 .loc 1 1709 7 is_stmt 1 view .LVU3637 1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11857 .loc 1 1709 7 view .LVU3638 11858 005a 196A ldr r1, [r3, #32] 11859 005c 41F21112 movw r2, #4369 11860 0060 1142 tst r1, r2 11861 0062 08D1 bne .L844 1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11862 .loc 1 1709 7 discriminator 1 view .LVU3639 11863 0064 196A ldr r1, [r3, #32] 11864 0066 44F24442 movw r2, #17476 11865 006a 1142 tst r1, r2 11866 006c 03D1 bne .L844 1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11867 .loc 1 1709 7 discriminator 3 view .LVU3640 11868 006e 5A6C ldr r2, [r3, #68] 11869 0070 22F40042 bic r2, r2, #32768 11870 0074 5A64 str r2, [r3, #68] 11871 .L844: 1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11872 .loc 1 1709 7 discriminator 5 view .LVU3641 1713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11873 .loc 1 1713 5 view .LVU3642 1713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11874 .loc 1 1713 5 view .LVU3643 11875 0076 2B68 ldr r3, [r5] ARM GAS /tmp/ccGjXOU1.s page 403 11876 0078 196A ldr r1, [r3, #32] 11877 007a 41F21112 movw r2, #4369 11878 007e 1142 tst r1, r2 11879 0080 08D1 bne .L845 1713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11880 .loc 1 1713 5 discriminator 1 view .LVU3644 11881 0082 196A ldr r1, [r3, #32] 11882 0084 44F24442 movw r2, #17476 11883 0088 1142 tst r1, r2 11884 008a 03D1 bne .L845 1713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11885 .loc 1 1713 5 discriminator 3 view .LVU3645 11886 008c 1A68 ldr r2, [r3] 11887 008e 22F00102 bic r2, r2, #1 11888 0092 1A60 str r2, [r3] 11889 .L845: 1713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11890 .loc 1 1713 5 discriminator 5 view .LVU3646 1716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11891 .loc 1 1716 5 view .LVU3647 11892 0094 102C cmp r4, #16 11893 0096 35D8 bhi .L846 11894 0098 DFE804F0 tbb [pc, r4] 11895 .L848: 11896 009c 1B .byte (.L852-.L848)/2 11897 009d 34 .byte (.L846-.L848)/2 11898 009e 34 .byte (.L846-.L848)/2 11899 009f 34 .byte (.L846-.L848)/2 11900 00a0 20 .byte (.L851-.L848)/2 11901 00a1 34 .byte (.L846-.L848)/2 11902 00a2 34 .byte (.L846-.L848)/2 11903 00a3 34 .byte (.L846-.L848)/2 11904 00a4 25 .byte (.L850-.L848)/2 11905 00a5 34 .byte (.L846-.L848)/2 11906 00a6 34 .byte (.L846-.L848)/2 11907 00a7 34 .byte (.L846-.L848)/2 11908 00a8 2A .byte (.L849-.L848)/2 11909 00a9 34 .byte (.L846-.L848)/2 11910 00aa 34 .byte (.L846-.L848)/2 11911 00ab 34 .byte (.L846-.L848)/2 11912 00ac 2F .byte (.L847-.L848)/2 11913 .LVL903: 11914 00ad 00 .p2align 1 11915 .L840: 1678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 11916 .loc 1 1678 7 view .LVU3648 11917 00ae 0268 ldr r2, [r0] 11918 00b0 D368 ldr r3, [r2, #12] 11919 00b2 23F00403 bic r3, r3, #4 11920 00b6 D360 str r3, [r2, #12] 1679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11921 .loc 1 1679 7 view .LVU3649 1701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11922 .loc 1 1701 3 view .LVU3650 11923 00b8 B6E7 b .L842 11924 .L839: 1685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; ARM GAS /tmp/ccGjXOU1.s page 404 11925 .loc 1 1685 7 view .LVU3651 11926 00ba 0268 ldr r2, [r0] 11927 00bc D368 ldr r3, [r2, #12] 11928 00be 23F00803 bic r3, r3, #8 11929 00c2 D360 str r3, [r2, #12] 1686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11930 .loc 1 1686 7 view .LVU3652 1701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11931 .loc 1 1701 3 view .LVU3653 11932 00c4 B0E7 b .L842 11933 .L837: 1692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 11934 .loc 1 1692 7 view .LVU3654 11935 00c6 0268 ldr r2, [r0] 11936 00c8 D368 ldr r3, [r2, #12] 11937 00ca 23F01003 bic r3, r3, #16 11938 00ce D360 str r3, [r2, #12] 1693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11939 .loc 1 1693 7 view .LVU3655 1701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11940 .loc 1 1701 3 view .LVU3656 11941 00d0 AAE7 b .L842 11942 .LVL904: 11943 .L852: 1716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11944 .loc 1 1716 5 is_stmt 0 discriminator 1 view .LVU3657 11945 00d2 0123 movs r3, #1 11946 00d4 85F83E30 strb r3, [r5, #62] 11947 00d8 0020 movs r0, #0 11948 00da 19E0 b .L836 11949 .L851: 1716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11950 .loc 1 1716 5 discriminator 3 view .LVU3658 11951 00dc 0123 movs r3, #1 11952 00de 85F83F30 strb r3, [r5, #63] 11953 00e2 0020 movs r0, #0 11954 00e4 14E0 b .L836 11955 .L850: 1716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11956 .loc 1 1716 5 discriminator 6 view .LVU3659 11957 00e6 0123 movs r3, #1 11958 00e8 85F84030 strb r3, [r5, #64] 11959 00ec 0020 movs r0, #0 11960 00ee 0FE0 b .L836 11961 .L849: 1716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11962 .loc 1 1716 5 discriminator 9 view .LVU3660 11963 00f0 0123 movs r3, #1 11964 00f2 85F84130 strb r3, [r5, #65] 11965 00f6 0020 movs r0, #0 11966 00f8 0AE0 b .L836 11967 .L847: 1716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11968 .loc 1 1716 5 discriminator 12 view .LVU3661 11969 00fa 0123 movs r3, #1 11970 00fc 85F84230 strb r3, [r5, #66] 11971 0100 0020 movs r0, #0 ARM GAS /tmp/ccGjXOU1.s page 405 11972 0102 05E0 b .L836 11973 .L846: 1716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11974 .loc 1 1716 5 discriminator 13 view .LVU3662 11975 0104 0123 movs r3, #1 11976 0106 85F84330 strb r3, [r5, #67] 11977 010a 0020 movs r0, #0 11978 010c 00E0 b .L836 11979 .LVL905: 11980 .L853: 1666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11981 .loc 1 1666 3 view .LVU3663 11982 010e 0120 movs r0, #1 11983 .LVL906: 11984 .L836: 1720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11985 .loc 1 1720 3 is_stmt 1 view .LVU3664 1721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11986 .loc 1 1721 1 is_stmt 0 view .LVU3665 11987 0110 38BD pop {r3, r4, r5, pc} 11988 .LVL907: 11989 .L856: 1721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11990 .loc 1 1721 1 view .LVU3666 11991 0112 00BF .align 2 11992 .L855: 11993 0114 002C0140 .word 1073818624 11994 .cfi_endproc 11995 .LFE356: 11997 .section .text.HAL_TIM_PWM_Start_DMA,"ax",%progbits 11998 .align 1 11999 .global HAL_TIM_PWM_Start_DMA 12000 .syntax unified 12001 .thumb 12002 .thumb_func 12004 HAL_TIM_PWM_Start_DMA: 12005 .LVL908: 12006 .LFB357: 1738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 12007 .loc 1 1738 1 is_stmt 1 view -0 12008 .cfi_startproc 12009 @ args = 0, pretend = 0, frame = 0 12010 @ frame_needed = 0, uses_anonymous_args = 0 1738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 12011 .loc 1 1738 1 is_stmt 0 view .LVU3668 12012 0000 38B5 push {r3, r4, r5, lr} 12013 .LCFI95: 12014 .cfi_def_cfa_offset 16 12015 .cfi_offset 3, -16 12016 .cfi_offset 4, -12 12017 .cfi_offset 5, -8 12018 .cfi_offset 14, -4 12019 0002 0546 mov r5, r0 12020 0004 0C46 mov r4, r1 12021 0006 1146 mov r1, r2 12022 .LVL909: 1739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; ARM GAS /tmp/ccGjXOU1.s page 406 12023 .loc 1 1739 3 is_stmt 1 view .LVU3669 1740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12024 .loc 1 1740 3 view .LVU3670 1743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12025 .loc 1 1743 3 view .LVU3671 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12026 .loc 1 1746 3 view .LVU3672 12027 0008 102C cmp r4, #16 12028 000a 2DD8 bhi .L858 12029 000c DFE804F0 tbb [pc, r4] 12030 .LVL910: 12031 .L860: 12032 0010 09 .byte (.L864-.L860)/2 12033 0011 2C .byte (.L858-.L860)/2 12034 0012 2C .byte (.L858-.L860)/2 12035 0013 2C .byte (.L858-.L860)/2 12036 0014 10 .byte (.L863-.L860)/2 12037 0015 2C .byte (.L858-.L860)/2 12038 0016 2C .byte (.L858-.L860)/2 12039 0017 2C .byte (.L858-.L860)/2 12040 0018 17 .byte (.L862-.L860)/2 12041 0019 2C .byte (.L858-.L860)/2 12042 001a 2C .byte (.L858-.L860)/2 12043 001b 2C .byte (.L858-.L860)/2 12044 001c 1E .byte (.L861-.L860)/2 12045 001d 2C .byte (.L858-.L860)/2 12046 001e 2C .byte (.L858-.L860)/2 12047 001f 2C .byte (.L858-.L860)/2 12048 0020 25 .byte (.L859-.L860)/2 12049 0021 00 .p2align 1 12050 .L864: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12051 .loc 1 1746 7 is_stmt 0 discriminator 1 view .LVU3673 12052 0022 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 12053 .LVL911: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12054 .loc 1 1746 44 discriminator 1 view .LVU3674 12055 0026 0228 cmp r0, #2 12056 0028 14BF ite ne 12057 002a 0020 movne r0, #0 12058 002c 0120 moveq r0, #1 12059 002e 21E0 b .L865 12060 .LVL912: 12061 .L863: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12062 .loc 1 1746 7 discriminator 4 view .LVU3675 12063 0030 90F83F00 ldrb r0, [r0, #63] @ zero_extendqisi2 12064 .LVL913: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12065 .loc 1 1746 44 discriminator 4 view .LVU3676 12066 0034 0228 cmp r0, #2 12067 0036 14BF ite ne 12068 0038 0020 movne r0, #0 12069 003a 0120 moveq r0, #1 12070 003c 1AE0 b .L865 12071 .LVL914: 12072 .L862: ARM GAS /tmp/ccGjXOU1.s page 407 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12073 .loc 1 1746 7 discriminator 7 view .LVU3677 12074 003e 90F84000 ldrb r0, [r0, #64] @ zero_extendqisi2 12075 .LVL915: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12076 .loc 1 1746 44 discriminator 7 view .LVU3678 12077 0042 0228 cmp r0, #2 12078 0044 14BF ite ne 12079 0046 0020 movne r0, #0 12080 0048 0120 moveq r0, #1 12081 004a 13E0 b .L865 12082 .LVL916: 12083 .L861: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12084 .loc 1 1746 7 discriminator 10 view .LVU3679 12085 004c 90F84100 ldrb r0, [r0, #65] @ zero_extendqisi2 12086 .LVL917: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12087 .loc 1 1746 44 discriminator 10 view .LVU3680 12088 0050 0228 cmp r0, #2 12089 0052 14BF ite ne 12090 0054 0020 movne r0, #0 12091 0056 0120 moveq r0, #1 12092 0058 0CE0 b .L865 12093 .LVL918: 12094 .L859: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12095 .loc 1 1746 7 discriminator 13 view .LVU3681 12096 005a 90F84200 ldrb r0, [r0, #66] @ zero_extendqisi2 12097 .LVL919: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12098 .loc 1 1746 44 discriminator 13 view .LVU3682 12099 005e 0228 cmp r0, #2 12100 0060 14BF ite ne 12101 0062 0020 movne r0, #0 12102 0064 0120 moveq r0, #1 12103 0066 05E0 b .L865 12104 .LVL920: 12105 .L858: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12106 .loc 1 1746 7 discriminator 14 view .LVU3683 12107 0068 90F84300 ldrb r0, [r0, #67] @ zero_extendqisi2 12108 .LVL921: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12109 .loc 1 1746 44 discriminator 14 view .LVU3684 12110 006c 0228 cmp r0, #2 12111 006e 14BF ite ne 12112 0070 0020 movne r0, #0 12113 0072 0120 moveq r0, #1 12114 .L865: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12115 .loc 1 1746 6 discriminator 20 view .LVU3685 12116 0074 0028 cmp r0, #0 12117 0076 40F02381 bne .L892 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12118 .loc 1 1750 8 is_stmt 1 view .LVU3686 12119 007a 102C cmp r4, #16 ARM GAS /tmp/ccGjXOU1.s page 408 12120 007c 2DD8 bhi .L867 12121 007e DFE804F0 tbb [pc, r4] 12122 .L869: 12123 0082 09 .byte (.L873-.L869)/2 12124 0083 2C .byte (.L867-.L869)/2 12125 0084 2C .byte (.L867-.L869)/2 12126 0085 2C .byte (.L867-.L869)/2 12127 0086 10 .byte (.L872-.L869)/2 12128 0087 2C .byte (.L867-.L869)/2 12129 0088 2C .byte (.L867-.L869)/2 12130 0089 2C .byte (.L867-.L869)/2 12131 008a 17 .byte (.L871-.L869)/2 12132 008b 2C .byte (.L867-.L869)/2 12133 008c 2C .byte (.L867-.L869)/2 12134 008d 2C .byte (.L867-.L869)/2 12135 008e 1E .byte (.L870-.L869)/2 12136 008f 2C .byte (.L867-.L869)/2 12137 0090 2C .byte (.L867-.L869)/2 12138 0091 2C .byte (.L867-.L869)/2 12139 0092 25 .byte (.L868-.L869)/2 12140 0093 00 .p2align 1 12141 .L873: 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12142 .loc 1 1750 12 is_stmt 0 discriminator 1 view .LVU3687 12143 0094 95F83E20 ldrb r2, [r5, #62] @ zero_extendqisi2 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12144 .loc 1 1750 49 discriminator 1 view .LVU3688 12145 0098 012A cmp r2, #1 12146 009a 14BF ite ne 12147 009c 0022 movne r2, #0 12148 009e 0122 moveq r2, #1 12149 00a0 21E0 b .L874 12150 .L872: 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12151 .loc 1 1750 12 discriminator 4 view .LVU3689 12152 00a2 95F83F20 ldrb r2, [r5, #63] @ zero_extendqisi2 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12153 .loc 1 1750 49 discriminator 4 view .LVU3690 12154 00a6 012A cmp r2, #1 12155 00a8 14BF ite ne 12156 00aa 0022 movne r2, #0 12157 00ac 0122 moveq r2, #1 12158 00ae 1AE0 b .L874 12159 .L871: 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12160 .loc 1 1750 12 discriminator 7 view .LVU3691 12161 00b0 95F84020 ldrb r2, [r5, #64] @ zero_extendqisi2 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12162 .loc 1 1750 49 discriminator 7 view .LVU3692 12163 00b4 012A cmp r2, #1 12164 00b6 14BF ite ne 12165 00b8 0022 movne r2, #0 12166 00ba 0122 moveq r2, #1 12167 00bc 13E0 b .L874 12168 .L870: 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12169 .loc 1 1750 12 discriminator 10 view .LVU3693 ARM GAS /tmp/ccGjXOU1.s page 409 12170 00be 95F84120 ldrb r2, [r5, #65] @ zero_extendqisi2 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12171 .loc 1 1750 49 discriminator 10 view .LVU3694 12172 00c2 012A cmp r2, #1 12173 00c4 14BF ite ne 12174 00c6 0022 movne r2, #0 12175 00c8 0122 moveq r2, #1 12176 00ca 0CE0 b .L874 12177 .L868: 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12178 .loc 1 1750 12 discriminator 13 view .LVU3695 12179 00cc 95F84220 ldrb r2, [r5, #66] @ zero_extendqisi2 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12180 .loc 1 1750 49 discriminator 13 view .LVU3696 12181 00d0 012A cmp r2, #1 12182 00d2 14BF ite ne 12183 00d4 0022 movne r2, #0 12184 00d6 0122 moveq r2, #1 12185 00d8 05E0 b .L874 12186 .L867: 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12187 .loc 1 1750 12 discriminator 14 view .LVU3697 12188 00da 95F84320 ldrb r2, [r5, #67] @ zero_extendqisi2 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12189 .loc 1 1750 49 discriminator 14 view .LVU3698 12190 00de 012A cmp r2, #1 12191 00e0 14BF ite ne 12192 00e2 0022 movne r2, #0 12193 00e4 0122 moveq r2, #1 12194 .L874: 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12195 .loc 1 1750 11 discriminator 20 view .LVU3699 12196 00e6 002A cmp r2, #0 12197 00e8 00F0EC80 beq .L893 1752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12198 .loc 1 1752 5 is_stmt 1 view .LVU3700 1752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12199 .loc 1 1752 8 is_stmt 0 view .LVU3701 12200 00ec 0029 cmp r1, #0 12201 00ee 00F0EB80 beq .L894 1752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12202 .loc 1 1752 25 discriminator 1 view .LVU3702 12203 00f2 002B cmp r3, #0 12204 00f4 00F0EA80 beq .L895 1758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12205 .loc 1 1758 7 is_stmt 1 view .LVU3703 12206 00f8 102C cmp r4, #16 12207 00fa 00F2B180 bhi .L875 12208 00fe DFE804F0 tbb [pc, r4] 12209 .L877: 12210 0102 09 .byte (.L881-.L877)/2 12211 0103 AF .byte (.L875-.L877)/2 12212 0104 AF .byte (.L875-.L877)/2 12213 0105 AF .byte (.L875-.L877)/2 12214 0106 5F .byte (.L880-.L877)/2 12215 0107 AF .byte (.L875-.L877)/2 12216 0108 AF .byte (.L875-.L877)/2 ARM GAS /tmp/ccGjXOU1.s page 410 12217 0109 AF .byte (.L875-.L877)/2 12218 010a 78 .byte (.L879-.L877)/2 12219 010b AF .byte (.L875-.L877)/2 12220 010c AF .byte (.L875-.L877)/2 12221 010d AF .byte (.L875-.L877)/2 12222 010e 91 .byte (.L878-.L877)/2 12223 010f AF .byte (.L875-.L877)/2 12224 0110 AF .byte (.L875-.L877)/2 12225 0111 AF .byte (.L875-.L877)/2 12226 0112 AA .byte (.L876-.L877)/2 12227 0113 00 .p2align 1 12228 .L881: 1758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12229 .loc 1 1758 7 is_stmt 0 discriminator 1 view .LVU3704 12230 0114 0222 movs r2, #2 12231 0116 85F83E20 strb r2, [r5, #62] 1766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12232 .loc 1 1766 3 is_stmt 1 view .LVU3705 12233 .L882: 1771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12234 .loc 1 1771 7 view .LVU3706 1771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12235 .loc 1 1771 17 is_stmt 0 view .LVU3707 12236 011a 6A6A ldr r2, [r5, #36] 1771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12237 .loc 1 1771 52 view .LVU3708 12238 011c 7348 ldr r0, .L908 12239 011e D062 str r0, [r2, #44] 1772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12240 .loc 1 1772 7 is_stmt 1 view .LVU3709 1772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12241 .loc 1 1772 17 is_stmt 0 view .LVU3710 12242 0120 6A6A ldr r2, [r5, #36] 1772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12243 .loc 1 1772 56 view .LVU3711 12244 0122 7348 ldr r0, .L908+4 12245 0124 1063 str r0, [r2, #48] 1775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12246 .loc 1 1775 7 is_stmt 1 view .LVU3712 1775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12247 .loc 1 1775 17 is_stmt 0 view .LVU3713 12248 0126 6A6A ldr r2, [r5, #36] 1775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12249 .loc 1 1775 53 view .LVU3714 12250 0128 7248 ldr r0, .L908+8 12251 012a 5063 str r0, [r2, #52] 1778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12252 .loc 1 1778 7 is_stmt 1 view .LVU3715 1778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12253 .loc 1 1778 88 is_stmt 0 view .LVU3716 12254 012c 2A68 ldr r2, [r5] 1778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12255 .loc 1 1778 11 view .LVU3717 12256 012e 3432 adds r2, r2, #52 12257 0130 686A ldr r0, [r5, #36] 12258 0132 FFF7FEFF bl HAL_DMA_Start_IT 12259 .LVL922: ARM GAS /tmp/ccGjXOU1.s page 411 1778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12260 .loc 1 1778 10 discriminator 1 view .LVU3718 12261 0136 0028 cmp r0, #0 12262 0138 40F0CC80 bne .L897 1786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12263 .loc 1 1786 7 is_stmt 1 view .LVU3719 12264 013c 2A68 ldr r2, [r5] 12265 013e D368 ldr r3, [r2, #12] 12266 0140 43F40073 orr r3, r3, #512 12267 0144 D360 str r3, [r2, #12] 1787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12268 .loc 1 1787 7 view .LVU3720 1858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12269 .loc 1 1858 3 view .LVU3721 12270 .L887: 1861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12271 .loc 1 1861 5 view .LVU3722 12272 0146 0122 movs r2, #1 12273 0148 2146 mov r1, r4 12274 014a 2868 ldr r0, [r5] 12275 014c FFF7FEFF bl TIM_CCxChannelCmd 12276 .LVL923: 1863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12277 .loc 1 1863 5 view .LVU3723 1863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12278 .loc 1 1863 9 is_stmt 0 view .LVU3724 12279 0150 2B68 ldr r3, [r5] 12280 0152 694A ldr r2, .L908+12 12281 0154 9342 cmp r3, r2 12282 0156 0FD0 beq .L888 1863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12283 .loc 1 1863 9 discriminator 2 view .LVU3725 12284 0158 02F50062 add r2, r2, #2048 12285 015c 9342 cmp r3, r2 12286 015e 0BD0 beq .L888 1863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12287 .loc 1 1863 9 discriminator 4 view .LVU3726 12288 0160 02F54062 add r2, r2, #3072 12289 0164 9342 cmp r3, r2 12290 0166 07D0 beq .L888 1863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12291 .loc 1 1863 9 discriminator 6 view .LVU3727 12292 0168 02F58062 add r2, r2, #1024 12293 016c 9342 cmp r3, r2 12294 016e 03D0 beq .L888 1863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12295 .loc 1 1863 9 discriminator 8 view .LVU3728 12296 0170 02F58062 add r2, r2, #1024 12297 0174 9342 cmp r3, r2 12298 0176 03D1 bne .L889 12299 .L888: 1866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12300 .loc 1 1866 7 is_stmt 1 view .LVU3729 12301 0178 5A6C ldr r2, [r3, #68] 12302 017a 42F40042 orr r2, r2, #32768 12303 017e 5A64 str r2, [r3, #68] 12304 .L889: ARM GAS /tmp/ccGjXOU1.s page 412 1870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12305 .loc 1 1870 5 view .LVU3730 1870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12306 .loc 1 1870 9 is_stmt 0 view .LVU3731 12307 0180 2B68 ldr r3, [r5] 1870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12308 .loc 1 1870 8 view .LVU3732 12309 0182 5D4A ldr r2, .L908+12 12310 0184 9342 cmp r3, r2 12311 0186 00F08D80 beq .L890 1870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12312 .loc 1 1870 9 discriminator 1 view .LVU3733 12313 018a B3F1804F cmp r3, #1073741824 12314 018e 00F08980 beq .L890 1870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12315 .loc 1 1870 9 discriminator 2 view .LVU3734 12316 0192 A2F59432 sub r2, r2, #75776 12317 0196 9342 cmp r3, r2 12318 0198 00F08480 beq .L890 1870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12319 .loc 1 1870 9 discriminator 3 view .LVU3735 12320 019c 02F58062 add r2, r2, #1024 12321 01a0 9342 cmp r3, r2 12322 01a2 7FD0 beq .L890 1870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12323 .loc 1 1870 9 discriminator 4 view .LVU3736 12324 01a4 02F59632 add r2, r2, #76800 12325 01a8 9342 cmp r3, r2 12326 01aa 7BD0 beq .L890 1870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12327 .loc 1 1870 9 discriminator 5 view .LVU3737 12328 01ac 02F54062 add r2, r2, #3072 12329 01b0 9342 cmp r3, r2 12330 01b2 77D0 beq .L890 1880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12331 .loc 1 1880 7 is_stmt 1 view .LVU3738 12332 01b4 1A68 ldr r2, [r3] 12333 01b6 42F00102 orr r2, r2, #1 12334 01ba 1A60 str r2, [r3] 12335 01bc 0020 movs r0, #0 12336 01be 82E0 b .L866 12337 .LVL924: 12338 .L880: 1758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12339 .loc 1 1758 7 is_stmt 0 discriminator 3 view .LVU3739 12340 01c0 0222 movs r2, #2 12341 01c2 85F83F20 strb r2, [r5, #63] 1766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12342 .loc 1 1766 3 is_stmt 1 view .LVU3740 12343 .L883: 1793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12344 .loc 1 1793 7 view .LVU3741 1793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12345 .loc 1 1793 17 is_stmt 0 view .LVU3742 12346 01c6 AA6A ldr r2, [r5, #40] 1793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12347 .loc 1 1793 52 view .LVU3743 ARM GAS /tmp/ccGjXOU1.s page 413 12348 01c8 4848 ldr r0, .L908 12349 01ca D062 str r0, [r2, #44] 1794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12350 .loc 1 1794 7 is_stmt 1 view .LVU3744 1794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12351 .loc 1 1794 17 is_stmt 0 view .LVU3745 12352 01cc AA6A ldr r2, [r5, #40] 1794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12353 .loc 1 1794 56 view .LVU3746 12354 01ce 4848 ldr r0, .L908+4 12355 01d0 1063 str r0, [r2, #48] 1797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12356 .loc 1 1797 7 is_stmt 1 view .LVU3747 1797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12357 .loc 1 1797 17 is_stmt 0 view .LVU3748 12358 01d2 AA6A ldr r2, [r5, #40] 1797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12359 .loc 1 1797 53 view .LVU3749 12360 01d4 4748 ldr r0, .L908+8 12361 01d6 5063 str r0, [r2, #52] 1800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12362 .loc 1 1800 7 is_stmt 1 view .LVU3750 1800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12363 .loc 1 1800 88 is_stmt 0 view .LVU3751 12364 01d8 2A68 ldr r2, [r5] 1800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12365 .loc 1 1800 11 view .LVU3752 12366 01da 3832 adds r2, r2, #56 12367 01dc A86A ldr r0, [r5, #40] 12368 01de FFF7FEFF bl HAL_DMA_Start_IT 12369 .LVL925: 1800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12370 .loc 1 1800 10 discriminator 1 view .LVU3753 12371 01e2 0028 cmp r0, #0 12372 01e4 78D1 bne .L898 1807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12373 .loc 1 1807 7 is_stmt 1 view .LVU3754 12374 01e6 2A68 ldr r2, [r5] 12375 01e8 D368 ldr r3, [r2, #12] 12376 01ea 43F48063 orr r3, r3, #1024 12377 01ee D360 str r3, [r2, #12] 1808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12378 .loc 1 1808 7 view .LVU3755 1858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12379 .loc 1 1858 3 view .LVU3756 12380 01f0 A9E7 b .L887 12381 .LVL926: 12382 .L879: 1758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12383 .loc 1 1758 7 is_stmt 0 discriminator 6 view .LVU3757 12384 01f2 0222 movs r2, #2 12385 01f4 85F84020 strb r2, [r5, #64] 1766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12386 .loc 1 1766 3 is_stmt 1 view .LVU3758 12387 .L884: 1814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12388 .loc 1 1814 7 view .LVU3759 ARM GAS /tmp/ccGjXOU1.s page 414 1814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12389 .loc 1 1814 17 is_stmt 0 view .LVU3760 12390 01f8 EA6A ldr r2, [r5, #44] 1814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12391 .loc 1 1814 52 view .LVU3761 12392 01fa 3C48 ldr r0, .L908 12393 01fc D062 str r0, [r2, #44] 1815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12394 .loc 1 1815 7 is_stmt 1 view .LVU3762 1815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12395 .loc 1 1815 17 is_stmt 0 view .LVU3763 12396 01fe EA6A ldr r2, [r5, #44] 1815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12397 .loc 1 1815 56 view .LVU3764 12398 0200 3B48 ldr r0, .L908+4 12399 0202 1063 str r0, [r2, #48] 1818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12400 .loc 1 1818 7 is_stmt 1 view .LVU3765 1818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12401 .loc 1 1818 17 is_stmt 0 view .LVU3766 12402 0204 EA6A ldr r2, [r5, #44] 1818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12403 .loc 1 1818 53 view .LVU3767 12404 0206 3B48 ldr r0, .L908+8 12405 0208 5063 str r0, [r2, #52] 1821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12406 .loc 1 1821 7 is_stmt 1 view .LVU3768 1821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12407 .loc 1 1821 88 is_stmt 0 view .LVU3769 12408 020a 2A68 ldr r2, [r5] 1821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12409 .loc 1 1821 11 view .LVU3770 12410 020c 3C32 adds r2, r2, #60 12411 020e E86A ldr r0, [r5, #44] 12412 0210 FFF7FEFF bl HAL_DMA_Start_IT 12413 .LVL927: 1821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12414 .loc 1 1821 10 discriminator 1 view .LVU3771 12415 0214 0028 cmp r0, #0 12416 0216 61D1 bne .L899 1828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12417 .loc 1 1828 7 is_stmt 1 view .LVU3772 12418 0218 2A68 ldr r2, [r5] 12419 021a D368 ldr r3, [r2, #12] 12420 021c 43F40063 orr r3, r3, #2048 12421 0220 D360 str r3, [r2, #12] 1829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12422 .loc 1 1829 7 view .LVU3773 1858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12423 .loc 1 1858 3 view .LVU3774 12424 0222 90E7 b .L887 12425 .LVL928: 12426 .L878: 1758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12427 .loc 1 1758 7 is_stmt 0 discriminator 9 view .LVU3775 12428 0224 0222 movs r2, #2 12429 0226 85F84120 strb r2, [r5, #65] ARM GAS /tmp/ccGjXOU1.s page 415 1766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12430 .loc 1 1766 3 is_stmt 1 view .LVU3776 12431 .L885: 1835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12432 .loc 1 1835 7 view .LVU3777 1835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12433 .loc 1 1835 17 is_stmt 0 view .LVU3778 12434 022a 2A6B ldr r2, [r5, #48] 1835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12435 .loc 1 1835 52 view .LVU3779 12436 022c 2F48 ldr r0, .L908 12437 022e D062 str r0, [r2, #44] 1836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12438 .loc 1 1836 7 is_stmt 1 view .LVU3780 1836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12439 .loc 1 1836 17 is_stmt 0 view .LVU3781 12440 0230 2A6B ldr r2, [r5, #48] 1836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12441 .loc 1 1836 56 view .LVU3782 12442 0232 2F48 ldr r0, .L908+4 12443 0234 1063 str r0, [r2, #48] 1839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12444 .loc 1 1839 7 is_stmt 1 view .LVU3783 1839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12445 .loc 1 1839 17 is_stmt 0 view .LVU3784 12446 0236 2A6B ldr r2, [r5, #48] 1839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12447 .loc 1 1839 53 view .LVU3785 12448 0238 2E48 ldr r0, .L908+8 12449 023a 5063 str r0, [r2, #52] 1842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12450 .loc 1 1842 7 is_stmt 1 view .LVU3786 1842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12451 .loc 1 1842 88 is_stmt 0 view .LVU3787 12452 023c 2A68 ldr r2, [r5] 1842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12453 .loc 1 1842 11 view .LVU3788 12454 023e 4032 adds r2, r2, #64 12455 0240 286B ldr r0, [r5, #48] 12456 0242 FFF7FEFF bl HAL_DMA_Start_IT 12457 .LVL929: 1842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12458 .loc 1 1842 10 discriminator 1 view .LVU3789 12459 0246 0028 cmp r0, #0 12460 0248 4AD1 bne .L900 1849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12461 .loc 1 1849 7 is_stmt 1 view .LVU3790 12462 024a 2A68 ldr r2, [r5] 12463 024c D368 ldr r3, [r2, #12] 12464 024e 43F48053 orr r3, r3, #4096 12465 0252 D360 str r3, [r2, #12] 1850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12466 .loc 1 1850 7 view .LVU3791 1858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12467 .loc 1 1858 3 view .LVU3792 12468 0254 77E7 b .L887 12469 .LVL930: ARM GAS /tmp/ccGjXOU1.s page 416 12470 .L876: 1758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12471 .loc 1 1758 7 is_stmt 0 discriminator 12 view .LVU3793 12472 0256 0223 movs r3, #2 12473 .LVL931: 1758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12474 .loc 1 1758 7 discriminator 12 view .LVU3794 12475 0258 85F84230 strb r3, [r5, #66] 1766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12476 .loc 1 1766 3 is_stmt 1 view .LVU3795 1758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12477 .loc 1 1758 7 is_stmt 0 discriminator 12 view .LVU3796 12478 025c 0120 movs r0, #1 12479 025e 32E0 b .L866 12480 .LVL932: 12481 .L875: 1758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12482 .loc 1 1758 7 discriminator 13 view .LVU3797 12483 0260 0222 movs r2, #2 12484 0262 85F84320 strb r2, [r5, #67] 1766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12485 .loc 1 1766 3 is_stmt 1 view .LVU3798 12486 0266 0C2C cmp r4, #12 12487 0268 32D8 bhi .L896 12488 026a 01A2 adr r2, .L886 12489 026c 52F824F0 ldr pc, [r2, r4, lsl #2] 12490 .p2align 2 12491 .L886: 12492 0270 1B010000 .word .L882+1 12493 0274 D1020000 .word .L896+1 12494 0278 D1020000 .word .L896+1 12495 027c D1020000 .word .L896+1 12496 0280 C7010000 .word .L883+1 12497 0284 D1020000 .word .L896+1 12498 0288 D1020000 .word .L896+1 12499 028c D1020000 .word .L896+1 12500 0290 F9010000 .word .L884+1 12501 0294 D1020000 .word .L896+1 12502 0298 D1020000 .word .L896+1 12503 029c D1020000 .word .L896+1 12504 02a0 2B020000 .word .L885+1 12505 .LVL933: 12506 .p2align 1 12507 .L890: 1872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 12508 .loc 1 1872 7 view .LVU3799 1872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 12509 .loc 1 1872 31 is_stmt 0 view .LVU3800 12510 02a4 9968 ldr r1, [r3, #8] 1872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 12511 .loc 1 1872 15 view .LVU3801 12512 02a6 154A ldr r2, .L908+16 12513 02a8 0A40 ands r2, r2, r1 12514 .LVL934: 1873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12515 .loc 1 1873 7 is_stmt 1 view .LVU3802 1873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 417 12516 .loc 1 1873 10 is_stmt 0 view .LVU3803 12517 02aa 062A cmp r2, #6 12518 02ac 1AD0 beq .L901 1873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12519 .loc 1 1873 11 discriminator 1 view .LVU3804 12520 02ae B2F5803F cmp r2, #65536 12521 02b2 19D0 beq .L902 1875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12522 .loc 1 1875 9 is_stmt 1 view .LVU3805 12523 02b4 1A68 ldr r2, [r3] 12524 .LVL935: 1875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12525 .loc 1 1875 9 is_stmt 0 view .LVU3806 12526 02b6 42F00102 orr r2, r2, #1 12527 02ba 1A60 str r2, [r3] 12528 02bc 0020 movs r0, #0 12529 02be 02E0 b .L866 12530 .LVL936: 12531 .L892: 1748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12532 .loc 1 1748 12 view .LVU3807 12533 02c0 0220 movs r0, #2 12534 02c2 00E0 b .L866 12535 .L893: 1763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12536 .loc 1 1763 12 view .LVU3808 12537 02c4 0120 movs r0, #1 12538 .LVL937: 12539 .L866: 1886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12540 .loc 1 1886 1 view .LVU3809 12541 02c6 38BD pop {r3, r4, r5, pc} 12542 .LVL938: 12543 .L894: 1754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12544 .loc 1 1754 14 view .LVU3810 12545 02c8 0120 movs r0, #1 12546 02ca FCE7 b .L866 12547 .L895: 12548 02cc 0120 movs r0, #1 12549 02ce FAE7 b .L866 12550 .L896: 1766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12551 .loc 1 1766 3 view .LVU3811 12552 02d0 0120 movs r0, #1 12553 02d2 F8E7 b .L866 12554 .LVL939: 12555 .L897: 1782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12556 .loc 1 1782 16 view .LVU3812 12557 02d4 0120 movs r0, #1 12558 02d6 F6E7 b .L866 12559 .L898: 1804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12560 .loc 1 1804 16 view .LVU3813 12561 02d8 0120 movs r0, #1 12562 02da F4E7 b .L866 ARM GAS /tmp/ccGjXOU1.s page 418 12563 .L899: 1825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12564 .loc 1 1825 16 view .LVU3814 12565 02dc 0120 movs r0, #1 12566 02de F2E7 b .L866 12567 .L900: 1846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12568 .loc 1 1846 16 view .LVU3815 12569 02e0 0120 movs r0, #1 12570 02e2 F0E7 b .L866 12571 .LVL940: 12572 .L901: 1846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12573 .loc 1 1846 16 view .LVU3816 12574 02e4 0020 movs r0, #0 12575 02e6 EEE7 b .L866 12576 .L902: 12577 02e8 0020 movs r0, #0 12578 02ea ECE7 b .L866 12579 .L909: 12580 .align 2 12581 .L908: 12582 02ec 00000000 .word TIM_DMADelayPulseCplt 12583 02f0 00000000 .word TIM_DMADelayPulseHalfCplt 12584 02f4 00000000 .word TIM_DMAError 12585 02f8 002C0140 .word 1073818624 12586 02fc 07000100 .word 65543 12587 .cfi_endproc 12588 .LFE357: 12590 .section .text.HAL_TIM_PWM_Stop_DMA,"ax",%progbits 12591 .align 1 12592 .global HAL_TIM_PWM_Stop_DMA 12593 .syntax unified 12594 .thumb 12595 .thumb_func 12597 HAL_TIM_PWM_Stop_DMA: 12598 .LVL941: 12599 .LFB358: 1900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 12600 .loc 1 1900 1 is_stmt 1 view -0 12601 .cfi_startproc 12602 @ args = 0, pretend = 0, frame = 0 12603 @ frame_needed = 0, uses_anonymous_args = 0 1900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 12604 .loc 1 1900 1 is_stmt 0 view .LVU3818 12605 0000 38B5 push {r3, r4, r5, lr} 12606 .LCFI96: 12607 .cfi_def_cfa_offset 16 12608 .cfi_offset 3, -16 12609 .cfi_offset 4, -12 12610 .cfi_offset 5, -8 12611 .cfi_offset 14, -4 12612 0002 0546 mov r5, r0 12613 0004 0C46 mov r4, r1 1901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12614 .loc 1 1901 3 is_stmt 1 view .LVU3819 12615 .LVL942: ARM GAS /tmp/ccGjXOU1.s page 419 1904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12616 .loc 1 1904 3 view .LVU3820 1906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12617 .loc 1 1906 3 view .LVU3821 12618 0006 0C29 cmp r1, #12 12619 0008 00F28D80 bhi .L928 12620 000c DFE801F0 tbb [pc, r1] 12621 .L913: 12622 0010 07 .byte (.L916-.L913)/2 12623 0011 8B .byte (.L928-.L913)/2 12624 0012 8B .byte (.L928-.L913)/2 12625 0013 8B .byte (.L928-.L913)/2 12626 0014 52 .byte (.L915-.L913)/2 12627 0015 8B .byte (.L928-.L913)/2 12628 0016 8B .byte (.L928-.L913)/2 12629 0017 8B .byte (.L928-.L913)/2 12630 0018 5B .byte (.L914-.L913)/2 12631 0019 8B .byte (.L928-.L913)/2 12632 001a 8B .byte (.L928-.L913)/2 12633 001b 8B .byte (.L928-.L913)/2 12634 001c 64 .byte (.L912-.L913)/2 12635 001d 00 .p2align 1 12636 .L916: 1911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 12637 .loc 1 1911 7 view .LVU3822 12638 001e 0268 ldr r2, [r0] 12639 0020 D368 ldr r3, [r2, #12] 12640 0022 23F40073 bic r3, r3, #512 12641 0026 D360 str r3, [r2, #12] 1912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12642 .loc 1 1912 7 view .LVU3823 1912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12643 .loc 1 1912 13 is_stmt 0 view .LVU3824 12644 0028 406A ldr r0, [r0, #36] 12645 .LVL943: 1912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12646 .loc 1 1912 13 view .LVU3825 12647 002a FFF7FEFF bl HAL_DMA_Abort_IT 12648 .LVL944: 1913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12649 .loc 1 1913 7 is_stmt 1 view .LVU3826 1945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12650 .loc 1 1945 3 view .LVU3827 12651 .L917: 1948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12652 .loc 1 1948 5 view .LVU3828 12653 002e 0022 movs r2, #0 12654 0030 2146 mov r1, r4 12655 0032 2868 ldr r0, [r5] 12656 0034 FFF7FEFF bl TIM_CCxChannelCmd 12657 .LVL945: 1950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12658 .loc 1 1950 5 view .LVU3829 1950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12659 .loc 1 1950 9 is_stmt 0 view .LVU3830 12660 0038 2B68 ldr r3, [r5] 12661 003a 3C4A ldr r2, .L930 ARM GAS /tmp/ccGjXOU1.s page 420 12662 003c 9342 cmp r3, r2 12663 003e 0FD0 beq .L918 1950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12664 .loc 1 1950 9 discriminator 2 view .LVU3831 12665 0040 02F50062 add r2, r2, #2048 12666 0044 9342 cmp r3, r2 12667 0046 0BD0 beq .L918 1950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12668 .loc 1 1950 9 discriminator 4 view .LVU3832 12669 0048 02F54062 add r2, r2, #3072 12670 004c 9342 cmp r3, r2 12671 004e 07D0 beq .L918 1950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12672 .loc 1 1950 9 discriminator 6 view .LVU3833 12673 0050 02F58062 add r2, r2, #1024 12674 0054 9342 cmp r3, r2 12675 0056 03D0 beq .L918 1950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12676 .loc 1 1950 9 discriminator 8 view .LVU3834 12677 0058 02F58062 add r2, r2, #1024 12678 005c 9342 cmp r3, r2 12679 005e 0DD1 bne .L919 12680 .L918: 1953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12681 .loc 1 1953 7 is_stmt 1 view .LVU3835 1953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12682 .loc 1 1953 7 view .LVU3836 12683 0060 196A ldr r1, [r3, #32] 12684 0062 41F21112 movw r2, #4369 12685 0066 1142 tst r1, r2 12686 0068 08D1 bne .L919 1953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12687 .loc 1 1953 7 discriminator 1 view .LVU3837 12688 006a 196A ldr r1, [r3, #32] 12689 006c 44F24442 movw r2, #17476 12690 0070 1142 tst r1, r2 12691 0072 03D1 bne .L919 1953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12692 .loc 1 1953 7 discriminator 3 view .LVU3838 12693 0074 5A6C ldr r2, [r3, #68] 12694 0076 22F40042 bic r2, r2, #32768 12695 007a 5A64 str r2, [r3, #68] 12696 .L919: 1953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12697 .loc 1 1953 7 discriminator 5 view .LVU3839 1957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12698 .loc 1 1957 5 view .LVU3840 1957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12699 .loc 1 1957 5 view .LVU3841 12700 007c 2B68 ldr r3, [r5] 12701 007e 196A ldr r1, [r3, #32] 12702 0080 41F21112 movw r2, #4369 12703 0084 1142 tst r1, r2 12704 0086 08D1 bne .L920 1957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12705 .loc 1 1957 5 discriminator 1 view .LVU3842 12706 0088 196A ldr r1, [r3, #32] ARM GAS /tmp/ccGjXOU1.s page 421 12707 008a 44F24442 movw r2, #17476 12708 008e 1142 tst r1, r2 12709 0090 03D1 bne .L920 1957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12710 .loc 1 1957 5 discriminator 3 view .LVU3843 12711 0092 1A68 ldr r2, [r3] 12712 0094 22F00102 bic r2, r2, #1 12713 0098 1A60 str r2, [r3] 12714 .L920: 1957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12715 .loc 1 1957 5 discriminator 5 view .LVU3844 1960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12716 .loc 1 1960 5 view .LVU3845 12717 009a 102C cmp r4, #16 12718 009c 3ED8 bhi .L921 12719 009e DFE804F0 tbb [pc, r4] 12720 .L923: 12721 00a2 24 .byte (.L927-.L923)/2 12722 00a3 3D .byte (.L921-.L923)/2 12723 00a4 3D .byte (.L921-.L923)/2 12724 00a5 3D .byte (.L921-.L923)/2 12725 00a6 29 .byte (.L926-.L923)/2 12726 00a7 3D .byte (.L921-.L923)/2 12727 00a8 3D .byte (.L921-.L923)/2 12728 00a9 3D .byte (.L921-.L923)/2 12729 00aa 2E .byte (.L925-.L923)/2 12730 00ab 3D .byte (.L921-.L923)/2 12731 00ac 3D .byte (.L921-.L923)/2 12732 00ad 3D .byte (.L921-.L923)/2 12733 00ae 33 .byte (.L924-.L923)/2 12734 00af 3D .byte (.L921-.L923)/2 12735 00b0 3D .byte (.L921-.L923)/2 12736 00b1 3D .byte (.L921-.L923)/2 12737 00b2 38 .byte (.L922-.L923)/2 12738 .LVL946: 12739 00b3 00 .p2align 1 12740 .L915: 1919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 12741 .loc 1 1919 7 view .LVU3846 12742 00b4 0268 ldr r2, [r0] 12743 00b6 D368 ldr r3, [r2, #12] 12744 00b8 23F48063 bic r3, r3, #1024 12745 00bc D360 str r3, [r2, #12] 1920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12746 .loc 1 1920 7 view .LVU3847 1920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12747 .loc 1 1920 13 is_stmt 0 view .LVU3848 12748 00be 806A ldr r0, [r0, #40] 12749 .LVL947: 1920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12750 .loc 1 1920 13 view .LVU3849 12751 00c0 FFF7FEFF bl HAL_DMA_Abort_IT 12752 .LVL948: 1921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12753 .loc 1 1921 7 is_stmt 1 view .LVU3850 1945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12754 .loc 1 1945 3 view .LVU3851 ARM GAS /tmp/ccGjXOU1.s page 422 12755 00c4 B3E7 b .L917 12756 .LVL949: 12757 .L914: 1927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 12758 .loc 1 1927 7 view .LVU3852 12759 00c6 0268 ldr r2, [r0] 12760 00c8 D368 ldr r3, [r2, #12] 12761 00ca 23F40063 bic r3, r3, #2048 12762 00ce D360 str r3, [r2, #12] 1928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12763 .loc 1 1928 7 view .LVU3853 1928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12764 .loc 1 1928 13 is_stmt 0 view .LVU3854 12765 00d0 C06A ldr r0, [r0, #44] 12766 .LVL950: 1928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12767 .loc 1 1928 13 view .LVU3855 12768 00d2 FFF7FEFF bl HAL_DMA_Abort_IT 12769 .LVL951: 1929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12770 .loc 1 1929 7 is_stmt 1 view .LVU3856 1945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12771 .loc 1 1945 3 view .LVU3857 12772 00d6 AAE7 b .L917 12773 .LVL952: 12774 .L912: 1935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 12775 .loc 1 1935 7 view .LVU3858 12776 00d8 0268 ldr r2, [r0] 12777 00da D368 ldr r3, [r2, #12] 12778 00dc 23F48053 bic r3, r3, #4096 12779 00e0 D360 str r3, [r2, #12] 1936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12780 .loc 1 1936 7 view .LVU3859 1936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12781 .loc 1 1936 13 is_stmt 0 view .LVU3860 12782 00e2 006B ldr r0, [r0, #48] 12783 .LVL953: 1936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12784 .loc 1 1936 13 view .LVU3861 12785 00e4 FFF7FEFF bl HAL_DMA_Abort_IT 12786 .LVL954: 1937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12787 .loc 1 1937 7 is_stmt 1 view .LVU3862 1945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12788 .loc 1 1945 3 view .LVU3863 12789 00e8 A1E7 b .L917 12790 .L927: 1960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12791 .loc 1 1960 5 is_stmt 0 discriminator 1 view .LVU3864 12792 00ea 0123 movs r3, #1 12793 00ec 85F83E30 strb r3, [r5, #62] 12794 00f0 0020 movs r0, #0 12795 00f2 19E0 b .L911 12796 .L926: 1960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12797 .loc 1 1960 5 discriminator 3 view .LVU3865 ARM GAS /tmp/ccGjXOU1.s page 423 12798 00f4 0123 movs r3, #1 12799 00f6 85F83F30 strb r3, [r5, #63] 12800 00fa 0020 movs r0, #0 12801 00fc 14E0 b .L911 12802 .L925: 1960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12803 .loc 1 1960 5 discriminator 6 view .LVU3866 12804 00fe 0123 movs r3, #1 12805 0100 85F84030 strb r3, [r5, #64] 12806 0104 0020 movs r0, #0 12807 0106 0FE0 b .L911 12808 .L924: 1960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12809 .loc 1 1960 5 discriminator 9 view .LVU3867 12810 0108 0123 movs r3, #1 12811 010a 85F84130 strb r3, [r5, #65] 12812 010e 0020 movs r0, #0 12813 0110 0AE0 b .L911 12814 .L922: 1960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12815 .loc 1 1960 5 discriminator 12 view .LVU3868 12816 0112 0123 movs r3, #1 12817 0114 85F84230 strb r3, [r5, #66] 12818 0118 0020 movs r0, #0 12819 011a 05E0 b .L911 12820 .L921: 1960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12821 .loc 1 1960 5 discriminator 13 view .LVU3869 12822 011c 0123 movs r3, #1 12823 011e 85F84330 strb r3, [r5, #67] 12824 0122 0020 movs r0, #0 12825 0124 00E0 b .L911 12826 .LVL955: 12827 .L928: 1906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12828 .loc 1 1906 3 view .LVU3870 12829 0126 0120 movs r0, #1 12830 .LVL956: 12831 .L911: 1964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12832 .loc 1 1964 3 is_stmt 1 view .LVU3871 1965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12833 .loc 1 1965 1 is_stmt 0 view .LVU3872 12834 0128 38BD pop {r3, r4, r5, pc} 12835 .LVL957: 12836 .L931: 1965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12837 .loc 1 1965 1 view .LVU3873 12838 012a 00BF .align 2 12839 .L930: 12840 012c 002C0140 .word 1073818624 12841 .cfi_endproc 12842 .LFE358: 12844 .section .text.HAL_TIM_IC_Start,"ax",%progbits 12845 .align 1 12846 .global HAL_TIM_IC_Start 12847 .syntax unified ARM GAS /tmp/ccGjXOU1.s page 424 12848 .thumb 12849 .thumb_func 12851 HAL_TIM_IC_Start: 12852 .LVL958: 12853 .LFB363: 2142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 12854 .loc 1 2142 1 is_stmt 1 view -0 12855 .cfi_startproc 12856 @ args = 0, pretend = 0, frame = 0 12857 @ frame_needed = 0, uses_anonymous_args = 0 2142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 12858 .loc 1 2142 1 is_stmt 0 view .LVU3875 12859 0000 10B5 push {r4, lr} 12860 .LCFI97: 12861 .cfi_def_cfa_offset 8 12862 .cfi_offset 4, -8 12863 .cfi_offset 14, -4 12864 0002 0446 mov r4, r0 2143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_state = TIM_CHANNEL_STATE_GET(htim, Channel); 12865 .loc 1 2143 3 is_stmt 1 view .LVU3876 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 12866 .loc 1 2144 3 view .LVU3877 12867 0004 1029 cmp r1, #16 12868 0006 21D8 bhi .L933 12869 0008 DFE801F0 tbb [pc, r1] 12870 .L935: 12871 000c 09 .byte (.L939-.L935)/2 12872 000d 20 .byte (.L933-.L935)/2 12873 000e 20 .byte (.L933-.L935)/2 12874 000f 20 .byte (.L933-.L935)/2 12875 0010 10 .byte (.L938-.L935)/2 12876 0011 20 .byte (.L933-.L935)/2 12877 0012 20 .byte (.L933-.L935)/2 12878 0013 20 .byte (.L933-.L935)/2 12879 0014 14 .byte (.L937-.L935)/2 12880 0015 20 .byte (.L933-.L935)/2 12881 0016 20 .byte (.L933-.L935)/2 12882 0017 20 .byte (.L933-.L935)/2 12883 0018 18 .byte (.L936-.L935)/2 12884 0019 20 .byte (.L933-.L935)/2 12885 001a 20 .byte (.L933-.L935)/2 12886 001b 20 .byte (.L933-.L935)/2 12887 001c 1C .byte (.L934-.L935)/2 12888 001d 00 .p2align 1 12889 .L939: 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 12890 .loc 1 2144 47 is_stmt 0 discriminator 1 view .LVU3878 12891 001e 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 12892 .LVL959: 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 12893 .loc 1 2144 47 discriminator 1 view .LVU3879 12894 0022 C0B2 uxtb r0, r0 12895 .LVL960: 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12896 .loc 1 2145 3 is_stmt 1 view .LVU3880 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12897 .loc 1 2145 61 is_stmt 0 discriminator 1 view .LVU3881 ARM GAS /tmp/ccGjXOU1.s page 425 12898 0024 94F84430 ldrb r3, [r4, #68] @ zero_extendqisi2 12899 0028 DBB2 uxtb r3, r3 12900 002a 19E0 b .L940 12901 .LVL961: 12902 .L938: 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 12903 .loc 1 2144 47 discriminator 4 view .LVU3882 12904 002c 90F83F00 ldrb r0, [r0, #63] @ zero_extendqisi2 12905 .LVL962: 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 12906 .loc 1 2144 47 discriminator 4 view .LVU3883 12907 0030 C0B2 uxtb r0, r0 12908 .LVL963: 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12909 .loc 1 2145 3 is_stmt 1 view .LVU3884 12910 0032 0EE0 b .L941 12911 .LVL964: 12912 .L937: 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 12913 .loc 1 2144 47 is_stmt 0 discriminator 7 view .LVU3885 12914 0034 90F84000 ldrb r0, [r0, #64] @ zero_extendqisi2 12915 .LVL965: 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 12916 .loc 1 2144 47 discriminator 7 view .LVU3886 12917 0038 C0B2 uxtb r0, r0 12918 .LVL966: 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12919 .loc 1 2145 3 is_stmt 1 view .LVU3887 12920 003a 0AE0 b .L941 12921 .LVL967: 12922 .L936: 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 12923 .loc 1 2144 47 is_stmt 0 discriminator 10 view .LVU3888 12924 003c 90F84100 ldrb r0, [r0, #65] @ zero_extendqisi2 12925 .LVL968: 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 12926 .loc 1 2144 47 discriminator 10 view .LVU3889 12927 0040 C0B2 uxtb r0, r0 12928 .LVL969: 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12929 .loc 1 2145 3 is_stmt 1 view .LVU3890 12930 0042 06E0 b .L941 12931 .LVL970: 12932 .L934: 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 12933 .loc 1 2144 47 is_stmt 0 discriminator 13 view .LVU3891 12934 0044 90F84200 ldrb r0, [r0, #66] @ zero_extendqisi2 12935 .LVL971: 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 12936 .loc 1 2144 47 discriminator 13 view .LVU3892 12937 0048 C0B2 uxtb r0, r0 12938 .LVL972: 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12939 .loc 1 2145 3 is_stmt 1 view .LVU3893 12940 004a 02E0 b .L941 12941 .LVL973: 12942 .L933: ARM GAS /tmp/ccGjXOU1.s page 426 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 12943 .loc 1 2144 47 is_stmt 0 discriminator 14 view .LVU3894 12944 004c 90F84300 ldrb r0, [r0, #67] @ zero_extendqisi2 12945 .LVL974: 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 12946 .loc 1 2144 47 discriminator 14 view .LVU3895 12947 0050 C0B2 uxtb r0, r0 12948 .LVL975: 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12949 .loc 1 2145 3 is_stmt 1 view .LVU3896 12950 .L941: 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12951 .loc 1 2145 61 is_stmt 0 discriminator 2 view .LVU3897 12952 0052 0429 cmp r1, #4 12953 0054 15D0 beq .L962 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12954 .loc 1 2145 61 discriminator 5 view .LVU3898 12955 0056 0829 cmp r1, #8 12956 0058 17D0 beq .L963 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12957 .loc 1 2145 61 discriminator 8 view .LVU3899 12958 005a 94F84730 ldrb r3, [r4, #71] @ zero_extendqisi2 12959 005e DBB2 uxtb r3, r3 12960 .L940: 12961 .LVL976: 2148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12962 .loc 1 2148 3 is_stmt 1 view .LVU3900 2151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_state != HAL_TIM_CHANNEL_STATE_READY)) 12963 .loc 1 2151 3 view .LVU3901 2151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_state != HAL_TIM_CHANNEL_STATE_READY)) 12964 .loc 1 2151 6 is_stmt 0 view .LVU3902 12965 0060 0128 cmp r0, #1 12966 0062 6DD1 bne .L958 2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12967 .loc 1 2152 7 view .LVU3903 12968 0064 012B cmp r3, #1 12969 0066 6CD1 bne .L944 2158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 12970 .loc 1 2158 3 is_stmt 1 view .LVU3904 12971 0068 1029 cmp r1, #16 12972 006a 28D8 bhi .L945 12973 006c DFE801F0 tbb [pc, r1] 12974 .LVL977: 12975 .L947: 12976 0070 11 .byte (.L951-.L947)/2 12977 0071 27 .byte (.L945-.L947)/2 12978 0072 27 .byte (.L945-.L947)/2 12979 0073 27 .byte (.L945-.L947)/2 12980 0074 17 .byte (.L950-.L947)/2 12981 0075 27 .byte (.L945-.L947)/2 12982 0076 27 .byte (.L945-.L947)/2 12983 0077 27 .byte (.L945-.L947)/2 12984 0078 1B .byte (.L949-.L947)/2 12985 0079 27 .byte (.L945-.L947)/2 12986 007a 27 .byte (.L945-.L947)/2 12987 007b 27 .byte (.L945-.L947)/2 12988 007c 1F .byte (.L948-.L947)/2 ARM GAS /tmp/ccGjXOU1.s page 427 12989 007d 27 .byte (.L945-.L947)/2 12990 007e 27 .byte (.L945-.L947)/2 12991 007f 27 .byte (.L945-.L947)/2 12992 0080 23 .byte (.L946-.L947)/2 12993 0081 00 .p2align 1 12994 .L962: 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12995 .loc 1 2145 61 is_stmt 0 discriminator 4 view .LVU3905 12996 0082 94F84530 ldrb r3, [r4, #69] @ zero_extendqisi2 12997 0086 DBB2 uxtb r3, r3 12998 0088 EAE7 b .L940 12999 .L963: 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13000 .loc 1 2145 61 discriminator 7 view .LVU3906 13001 008a 94F84630 ldrb r3, [r4, #70] @ zero_extendqisi2 13002 008e DBB2 uxtb r3, r3 13003 0090 E6E7 b .L940 13004 .LVL978: 13005 .L951: 2158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13006 .loc 1 2158 3 discriminator 1 view .LVU3907 13007 0092 0223 movs r3, #2 13008 0094 84F83E30 strb r3, [r4, #62] 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13009 .loc 1 2159 3 is_stmt 1 view .LVU3908 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13010 .loc 1 2159 3 is_stmt 0 discriminator 1 view .LVU3909 13011 0098 84F84430 strb r3, [r4, #68] 13012 009c 19E0 b .L952 13013 .L950: 2158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13014 .loc 1 2158 3 discriminator 3 view .LVU3910 13015 009e 0223 movs r3, #2 13016 00a0 84F83F30 strb r3, [r4, #63] 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13017 .loc 1 2159 3 is_stmt 1 view .LVU3911 13018 00a4 0EE0 b .L953 13019 .L949: 2158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13020 .loc 1 2158 3 is_stmt 0 discriminator 6 view .LVU3912 13021 00a6 0223 movs r3, #2 13022 00a8 84F84030 strb r3, [r4, #64] 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13023 .loc 1 2159 3 is_stmt 1 view .LVU3913 13024 00ac 0AE0 b .L953 13025 .L948: 2158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13026 .loc 1 2158 3 is_stmt 0 discriminator 9 view .LVU3914 13027 00ae 0223 movs r3, #2 13028 00b0 84F84130 strb r3, [r4, #65] 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13029 .loc 1 2159 3 is_stmt 1 view .LVU3915 13030 00b4 06E0 b .L953 13031 .L946: 2158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13032 .loc 1 2158 3 is_stmt 0 discriminator 12 view .LVU3916 13033 00b6 0223 movs r3, #2 ARM GAS /tmp/ccGjXOU1.s page 428 13034 00b8 84F84230 strb r3, [r4, #66] 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13035 .loc 1 2159 3 is_stmt 1 view .LVU3917 13036 00bc 02E0 b .L953 13037 .L945: 2158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13038 .loc 1 2158 3 is_stmt 0 discriminator 13 view .LVU3918 13039 00be 0223 movs r3, #2 13040 00c0 84F84330 strb r3, [r4, #67] 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13041 .loc 1 2159 3 is_stmt 1 view .LVU3919 13042 .L953: 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13043 .loc 1 2159 3 is_stmt 0 discriminator 2 view .LVU3920 13044 00c4 0429 cmp r1, #4 13045 00c6 25D0 beq .L964 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13046 .loc 1 2159 3 discriminator 4 view .LVU3921 13047 00c8 0829 cmp r1, #8 13048 00ca 27D0 beq .L965 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13049 .loc 1 2159 3 discriminator 7 view .LVU3922 13050 00cc 0223 movs r3, #2 13051 00ce 84F84730 strb r3, [r4, #71] 13052 .L952: 2162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13053 .loc 1 2162 3 is_stmt 1 view .LVU3923 13054 00d2 0122 movs r2, #1 13055 00d4 2068 ldr r0, [r4] 13056 .LVL979: 2162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13057 .loc 1 2162 3 is_stmt 0 view .LVU3924 13058 00d6 FFF7FEFF bl TIM_CCxChannelCmd 13059 .LVL980: 2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13060 .loc 1 2165 3 is_stmt 1 view .LVU3925 2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13061 .loc 1 2165 7 is_stmt 0 view .LVU3926 13062 00da 2368 ldr r3, [r4] 2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13063 .loc 1 2165 6 view .LVU3927 13064 00dc 1B4A ldr r2, .L966 13065 00de 9342 cmp r3, r2 13066 00e0 20D0 beq .L956 2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13067 .loc 1 2165 7 discriminator 1 view .LVU3928 13068 00e2 B3F1804F cmp r3, #1073741824 13069 00e6 1DD0 beq .L956 2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13070 .loc 1 2165 7 discriminator 2 view .LVU3929 13071 00e8 A2F59432 sub r2, r2, #75776 13072 00ec 9342 cmp r3, r2 13073 00ee 19D0 beq .L956 2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13074 .loc 1 2165 7 discriminator 3 view .LVU3930 13075 00f0 02F58062 add r2, r2, #1024 13076 00f4 9342 cmp r3, r2 ARM GAS /tmp/ccGjXOU1.s page 429 13077 00f6 15D0 beq .L956 2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13078 .loc 1 2165 7 discriminator 4 view .LVU3931 13079 00f8 02F59632 add r2, r2, #76800 13080 00fc 9342 cmp r3, r2 13081 00fe 11D0 beq .L956 2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13082 .loc 1 2165 7 discriminator 5 view .LVU3932 13083 0100 02F54062 add r2, r2, #3072 13084 0104 9342 cmp r3, r2 13085 0106 0DD0 beq .L956 2175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13086 .loc 1 2175 5 is_stmt 1 view .LVU3933 13087 0108 1A68 ldr r2, [r3] 13088 010a 42F00102 orr r2, r2, #1 13089 010e 1A60 str r2, [r3] 2179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13090 .loc 1 2179 10 is_stmt 0 view .LVU3934 13091 0110 0020 movs r0, #0 13092 0112 16E0 b .L944 13093 .LVL981: 13094 .L964: 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13095 .loc 1 2159 3 discriminator 3 view .LVU3935 13096 0114 0223 movs r3, #2 13097 0116 84F84530 strb r3, [r4, #69] 13098 011a DAE7 b .L952 13099 .L965: 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13100 .loc 1 2159 3 discriminator 6 view .LVU3936 13101 011c 0223 movs r3, #2 13102 011e 84F84630 strb r3, [r4, #70] 13103 0122 D6E7 b .L952 13104 .LVL982: 13105 .L956: 2167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 13106 .loc 1 2167 5 is_stmt 1 view .LVU3937 2167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 13107 .loc 1 2167 29 is_stmt 0 view .LVU3938 13108 0124 9968 ldr r1, [r3, #8] 2167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 13109 .loc 1 2167 13 view .LVU3939 13110 0126 0A4A ldr r2, .L966+4 13111 0128 0A40 ands r2, r2, r1 13112 .LVL983: 2168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13113 .loc 1 2168 5 is_stmt 1 view .LVU3940 2168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13114 .loc 1 2168 8 is_stmt 0 view .LVU3941 13115 012a 062A cmp r2, #6 13116 012c 0AD0 beq .L959 2168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13117 .loc 1 2168 9 discriminator 1 view .LVU3942 13118 012e B2F5803F cmp r2, #65536 13119 0132 09D0 beq .L960 2170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13120 .loc 1 2170 7 is_stmt 1 view .LVU3943 ARM GAS /tmp/ccGjXOU1.s page 430 13121 0134 1A68 ldr r2, [r3] 13122 .LVL984: 2170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13123 .loc 1 2170 7 is_stmt 0 view .LVU3944 13124 0136 42F00102 orr r2, r2, #1 13125 013a 1A60 str r2, [r3] 2179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13126 .loc 1 2179 10 view .LVU3945 13127 013c 0020 movs r0, #0 13128 013e 00E0 b .L944 13129 .LVL985: 13130 .L958: 2154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13131 .loc 1 2154 12 view .LVU3946 13132 0140 0120 movs r0, #1 13133 .LVL986: 13134 .L944: 2180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13135 .loc 1 2180 1 view .LVU3947 13136 0142 10BD pop {r4, pc} 13137 .LVL987: 13138 .L959: 2179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13139 .loc 1 2179 10 view .LVU3948 13140 0144 0020 movs r0, #0 13141 0146 FCE7 b .L944 13142 .L960: 13143 0148 0020 movs r0, #0 13144 014a FAE7 b .L944 13145 .L967: 13146 .align 2 13147 .L966: 13148 014c 002C0140 .word 1073818624 13149 0150 07000100 .word 65543 13150 .cfi_endproc 13151 .LFE363: 13153 .section .text.HAL_TIM_IC_Stop,"ax",%progbits 13154 .align 1 13155 .global HAL_TIM_IC_Stop 13156 .syntax unified 13157 .thumb 13158 .thumb_func 13160 HAL_TIM_IC_Stop: 13161 .LVL988: 13162 .LFB364: 2194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 13163 .loc 1 2194 1 is_stmt 1 view -0 13164 .cfi_startproc 13165 @ args = 0, pretend = 0, frame = 0 13166 @ frame_needed = 0, uses_anonymous_args = 0 2194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 13167 .loc 1 2194 1 is_stmt 0 view .LVU3950 13168 0000 38B5 push {r3, r4, r5, lr} 13169 .LCFI98: 13170 .cfi_def_cfa_offset 16 13171 .cfi_offset 3, -16 13172 .cfi_offset 4, -12 ARM GAS /tmp/ccGjXOU1.s page 431 13173 .cfi_offset 5, -8 13174 .cfi_offset 14, -4 13175 0002 0446 mov r4, r0 13176 0004 0D46 mov r5, r1 2196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13177 .loc 1 2196 3 is_stmt 1 view .LVU3951 2199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13178 .loc 1 2199 3 view .LVU3952 13179 0006 0022 movs r2, #0 13180 0008 0068 ldr r0, [r0] 13181 .LVL989: 2199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13182 .loc 1 2199 3 is_stmt 0 view .LVU3953 13183 000a FFF7FEFF bl TIM_CCxChannelCmd 13184 .LVL990: 2202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13185 .loc 1 2202 3 is_stmt 1 view .LVU3954 2202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13186 .loc 1 2202 3 view .LVU3955 13187 000e 2368 ldr r3, [r4] 13188 0010 196A ldr r1, [r3, #32] 13189 0012 41F21112 movw r2, #4369 13190 0016 1142 tst r1, r2 13191 0018 08D1 bne .L969 2202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13192 .loc 1 2202 3 discriminator 1 view .LVU3956 13193 001a 196A ldr r1, [r3, #32] 13194 001c 44F24442 movw r2, #17476 13195 0020 1142 tst r1, r2 13196 0022 03D1 bne .L969 2202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13197 .loc 1 2202 3 discriminator 3 view .LVU3957 13198 0024 1A68 ldr r2, [r3] 13199 0026 22F00102 bic r2, r2, #1 13200 002a 1A60 str r2, [r3] 13201 .L969: 2202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13202 .loc 1 2202 3 discriminator 5 view .LVU3958 2205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13203 .loc 1 2205 3 view .LVU3959 13204 002c 102D cmp r5, #16 13205 002e 20D8 bhi .L970 13206 0030 DFE805F0 tbb [pc, r5] 13207 .L972: 13208 0034 09 .byte (.L976-.L972)/2 13209 0035 1F .byte (.L970-.L972)/2 13210 0036 1F .byte (.L970-.L972)/2 13211 0037 1F .byte (.L970-.L972)/2 13212 0038 0F .byte (.L975-.L972)/2 13213 0039 1F .byte (.L970-.L972)/2 13214 003a 1F .byte (.L970-.L972)/2 13215 003b 1F .byte (.L970-.L972)/2 13216 003c 13 .byte (.L974-.L972)/2 13217 003d 1F .byte (.L970-.L972)/2 13218 003e 1F .byte (.L970-.L972)/2 13219 003f 1F .byte (.L970-.L972)/2 13220 0040 17 .byte (.L973-.L972)/2 ARM GAS /tmp/ccGjXOU1.s page 432 13221 0041 1F .byte (.L970-.L972)/2 13222 0042 1F .byte (.L970-.L972)/2 13223 0043 1F .byte (.L970-.L972)/2 13224 0044 1B .byte (.L971-.L972)/2 13225 0045 00 .p2align 1 13226 .L976: 2205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13227 .loc 1 2205 3 is_stmt 0 discriminator 1 view .LVU3960 13228 0046 0123 movs r3, #1 13229 0048 84F83E30 strb r3, [r4, #62] 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13230 .loc 1 2206 3 is_stmt 1 view .LVU3961 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13231 .loc 1 2206 3 is_stmt 0 discriminator 1 view .LVU3962 13232 004c 84F84430 strb r3, [r4, #68] 13233 0050 19E0 b .L977 13234 .L975: 2205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13235 .loc 1 2205 3 discriminator 3 view .LVU3963 13236 0052 0123 movs r3, #1 13237 0054 84F83F30 strb r3, [r4, #63] 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13238 .loc 1 2206 3 is_stmt 1 view .LVU3964 13239 0058 0EE0 b .L978 13240 .L974: 2205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13241 .loc 1 2205 3 is_stmt 0 discriminator 6 view .LVU3965 13242 005a 0123 movs r3, #1 13243 005c 84F84030 strb r3, [r4, #64] 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13244 .loc 1 2206 3 is_stmt 1 view .LVU3966 13245 0060 0AE0 b .L978 13246 .L973: 2205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13247 .loc 1 2205 3 is_stmt 0 discriminator 9 view .LVU3967 13248 0062 0123 movs r3, #1 13249 0064 84F84130 strb r3, [r4, #65] 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13250 .loc 1 2206 3 is_stmt 1 view .LVU3968 13251 0068 06E0 b .L978 13252 .L971: 2205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13253 .loc 1 2205 3 is_stmt 0 discriminator 12 view .LVU3969 13254 006a 0123 movs r3, #1 13255 006c 84F84230 strb r3, [r4, #66] 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13256 .loc 1 2206 3 is_stmt 1 view .LVU3970 13257 0070 02E0 b .L978 13258 .L970: 2205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13259 .loc 1 2205 3 is_stmt 0 discriminator 13 view .LVU3971 13260 0072 0123 movs r3, #1 13261 0074 84F84330 strb r3, [r4, #67] 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13262 .loc 1 2206 3 is_stmt 1 view .LVU3972 13263 .L978: 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 433 13264 .loc 1 2206 3 is_stmt 0 discriminator 2 view .LVU3973 13265 0078 042D cmp r5, #4 13266 007a 06D0 beq .L982 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13267 .loc 1 2206 3 discriminator 4 view .LVU3974 13268 007c 082D cmp r5, #8 13269 007e 08D0 beq .L983 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13270 .loc 1 2206 3 discriminator 7 view .LVU3975 13271 0080 0123 movs r3, #1 13272 0082 84F84730 strb r3, [r4, #71] 13273 .L977: 2209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13274 .loc 1 2209 3 is_stmt 1 view .LVU3976 2210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13275 .loc 1 2210 1 is_stmt 0 view .LVU3977 13276 0086 0020 movs r0, #0 13277 0088 38BD pop {r3, r4, r5, pc} 13278 .LVL991: 13279 .L982: 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13280 .loc 1 2206 3 discriminator 3 view .LVU3978 13281 008a 0123 movs r3, #1 13282 008c 84F84530 strb r3, [r4, #69] 13283 0090 F9E7 b .L977 13284 .L983: 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13285 .loc 1 2206 3 discriminator 6 view .LVU3979 13286 0092 0123 movs r3, #1 13287 0094 84F84630 strb r3, [r4, #70] 13288 0098 F5E7 b .L977 13289 .cfi_endproc 13290 .LFE364: 13292 .section .text.HAL_TIM_IC_Start_IT,"ax",%progbits 13293 .align 1 13294 .global HAL_TIM_IC_Start_IT 13295 .syntax unified 13296 .thumb 13297 .thumb_func 13299 HAL_TIM_IC_Start_IT: 13300 .LVL992: 13301 .LFB365: 2224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 13302 .loc 1 2224 1 is_stmt 1 view -0 13303 .cfi_startproc 13304 @ args = 0, pretend = 0, frame = 0 13305 @ frame_needed = 0, uses_anonymous_args = 0 2224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 13306 .loc 1 2224 1 is_stmt 0 view .LVU3981 13307 0000 10B5 push {r4, lr} 13308 .LCFI99: 13309 .cfi_def_cfa_offset 8 13310 .cfi_offset 4, -8 13311 .cfi_offset 14, -4 13312 0002 0446 mov r4, r0 2225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 13313 .loc 1 2225 3 is_stmt 1 view .LVU3982 ARM GAS /tmp/ccGjXOU1.s page 434 13314 .LVL993: 2226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13315 .loc 1 2226 3 view .LVU3983 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13316 .loc 1 2228 3 view .LVU3984 13317 0004 1029 cmp r1, #16 13318 0006 21D8 bhi .L985 13319 0008 DFE801F0 tbb [pc, r1] 13320 .L987: 13321 000c 09 .byte (.L991-.L987)/2 13322 000d 20 .byte (.L985-.L987)/2 13323 000e 20 .byte (.L985-.L987)/2 13324 000f 20 .byte (.L985-.L987)/2 13325 0010 10 .byte (.L990-.L987)/2 13326 0011 20 .byte (.L985-.L987)/2 13327 0012 20 .byte (.L985-.L987)/2 13328 0013 20 .byte (.L985-.L987)/2 13329 0014 14 .byte (.L989-.L987)/2 13330 0015 20 .byte (.L985-.L987)/2 13331 0016 20 .byte (.L985-.L987)/2 13332 0017 20 .byte (.L985-.L987)/2 13333 0018 18 .byte (.L988-.L987)/2 13334 0019 20 .byte (.L985-.L987)/2 13335 001a 20 .byte (.L985-.L987)/2 13336 001b 20 .byte (.L985-.L987)/2 13337 001c 1C .byte (.L986-.L987)/2 13338 001d 00 .p2align 1 13339 .L991: 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13340 .loc 1 2228 47 is_stmt 0 discriminator 1 view .LVU3985 13341 001e 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 13342 .LVL994: 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13343 .loc 1 2228 47 discriminator 1 view .LVU3986 13344 0022 C0B2 uxtb r0, r0 13345 .LVL995: 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13346 .loc 1 2229 3 is_stmt 1 view .LVU3987 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13347 .loc 1 2229 61 is_stmt 0 discriminator 1 view .LVU3988 13348 0024 94F84430 ldrb r3, [r4, #68] @ zero_extendqisi2 13349 0028 DBB2 uxtb r3, r3 13350 002a 19E0 b .L992 13351 .LVL996: 13352 .L990: 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13353 .loc 1 2228 47 discriminator 4 view .LVU3989 13354 002c 90F83F00 ldrb r0, [r0, #63] @ zero_extendqisi2 13355 .LVL997: 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13356 .loc 1 2228 47 discriminator 4 view .LVU3990 13357 0030 C0B2 uxtb r0, r0 13358 .LVL998: 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13359 .loc 1 2229 3 is_stmt 1 view .LVU3991 13360 0032 0EE0 b .L993 13361 .LVL999: ARM GAS /tmp/ccGjXOU1.s page 435 13362 .L989: 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13363 .loc 1 2228 47 is_stmt 0 discriminator 7 view .LVU3992 13364 0034 90F84000 ldrb r0, [r0, #64] @ zero_extendqisi2 13365 .LVL1000: 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13366 .loc 1 2228 47 discriminator 7 view .LVU3993 13367 0038 C0B2 uxtb r0, r0 13368 .LVL1001: 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13369 .loc 1 2229 3 is_stmt 1 view .LVU3994 13370 003a 0AE0 b .L993 13371 .LVL1002: 13372 .L988: 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13373 .loc 1 2228 47 is_stmt 0 discriminator 10 view .LVU3995 13374 003c 90F84100 ldrb r0, [r0, #65] @ zero_extendqisi2 13375 .LVL1003: 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13376 .loc 1 2228 47 discriminator 10 view .LVU3996 13377 0040 C0B2 uxtb r0, r0 13378 .LVL1004: 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13379 .loc 1 2229 3 is_stmt 1 view .LVU3997 13380 0042 06E0 b .L993 13381 .LVL1005: 13382 .L986: 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13383 .loc 1 2228 47 is_stmt 0 discriminator 13 view .LVU3998 13384 0044 90F84200 ldrb r0, [r0, #66] @ zero_extendqisi2 13385 .LVL1006: 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13386 .loc 1 2228 47 discriminator 13 view .LVU3999 13387 0048 C0B2 uxtb r0, r0 13388 .LVL1007: 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13389 .loc 1 2229 3 is_stmt 1 view .LVU4000 13390 004a 02E0 b .L993 13391 .LVL1008: 13392 .L985: 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13393 .loc 1 2228 47 is_stmt 0 discriminator 14 view .LVU4001 13394 004c 90F84300 ldrb r0, [r0, #67] @ zero_extendqisi2 13395 .LVL1009: 2228: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 2228 47 discriminator 14 view .LVU4002 13397 0050 C0B2 uxtb r0, r0 13398 .LVL1010: 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13399 .loc 1 2229 3 is_stmt 1 view .LVU4003 13400 .L993: 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13401 .loc 1 2229 61 is_stmt 0 discriminator 2 view .LVU4004 13402 0052 0429 cmp r1, #4 13403 0054 17D0 beq .L1023 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13404 .loc 1 2229 61 discriminator 5 view .LVU4005 ARM GAS /tmp/ccGjXOU1.s page 436 13405 0056 0829 cmp r1, #8 13406 0058 19D0 beq .L1024 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13407 .loc 1 2229 61 discriminator 8 view .LVU4006 13408 005a 94F84730 ldrb r3, [r4, #71] @ zero_extendqisi2 13409 005e DBB2 uxtb r3, r3 13410 .L992: 13411 .LVL1011: 2232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13412 .loc 1 2232 3 is_stmt 1 view .LVU4007 2235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_state != HAL_TIM_CHANNEL_STATE_READY)) 13413 .loc 1 2235 3 view .LVU4008 2235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_state != HAL_TIM_CHANNEL_STATE_READY)) 13414 .loc 1 2235 6 is_stmt 0 view .LVU4009 13415 0060 0128 cmp r0, #1 13416 0062 40F0A380 bne .L1015 2236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13417 .loc 1 2236 7 view .LVU4010 13418 0066 012B cmp r3, #1 13419 0068 40F0A180 bne .L996 2242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13420 .loc 1 2242 3 is_stmt 1 view .LVU4011 13421 006c 1029 cmp r1, #16 13422 006e 2DD8 bhi .L997 13423 0070 DFE801F0 tbb [pc, r1] 13424 .L999: 13425 0074 11 .byte (.L1003-.L999)/2 13426 0075 2C .byte (.L997-.L999)/2 13427 0076 2C .byte (.L997-.L999)/2 13428 0077 2C .byte (.L997-.L999)/2 13429 0078 1C .byte (.L1002-.L999)/2 13430 0079 2C .byte (.L997-.L999)/2 13431 007a 2C .byte (.L997-.L999)/2 13432 007b 2C .byte (.L997-.L999)/2 13433 007c 20 .byte (.L1001-.L999)/2 13434 007d 2C .byte (.L997-.L999)/2 13435 007e 2C .byte (.L997-.L999)/2 13436 007f 2C .byte (.L997-.L999)/2 13437 0080 24 .byte (.L1000-.L999)/2 13438 0081 2C .byte (.L997-.L999)/2 13439 0082 2C .byte (.L997-.L999)/2 13440 0083 2C .byte (.L997-.L999)/2 13441 0084 28 .byte (.L998-.L999)/2 13442 .LVL1012: 13443 0085 00 .p2align 1 13444 .L1023: 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13445 .loc 1 2229 61 is_stmt 0 discriminator 4 view .LVU4012 13446 0086 94F84530 ldrb r3, [r4, #69] @ zero_extendqisi2 13447 008a DBB2 uxtb r3, r3 13448 008c E8E7 b .L992 13449 .L1024: 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13450 .loc 1 2229 61 discriminator 7 view .LVU4013 13451 008e 94F84630 ldrb r3, [r4, #70] @ zero_extendqisi2 13452 0092 DBB2 uxtb r3, r3 13453 0094 E4E7 b .L992 ARM GAS /tmp/ccGjXOU1.s page 437 13454 .LVL1013: 13455 .L1003: 2242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13456 .loc 1 2242 3 discriminator 1 view .LVU4014 13457 0096 0223 movs r3, #2 13458 .LVL1014: 2242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13459 .loc 1 2242 3 discriminator 1 view .LVU4015 13460 0098 84F83E30 strb r3, [r4, #62] 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13461 .loc 1 2243 3 is_stmt 1 view .LVU4016 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13462 .loc 1 2243 3 is_stmt 0 discriminator 1 view .LVU4017 13463 009c 84F84430 strb r3, [r4, #68] 2245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13464 .loc 1 2245 3 is_stmt 1 view .LVU4018 13465 .L1004: 2250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13466 .loc 1 2250 7 view .LVU4019 13467 00a0 2268 ldr r2, [r4] 13468 00a2 D368 ldr r3, [r2, #12] 13469 00a4 43F00203 orr r3, r3, #2 13470 00a8 D360 str r3, [r2, #12] 2251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13471 .loc 1 2251 7 view .LVU4020 2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13472 .loc 1 2280 3 view .LVU4021 13473 00aa 41E0 b .L1012 13474 .LVL1015: 13475 .L1002: 2242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13476 .loc 1 2242 3 is_stmt 0 discriminator 3 view .LVU4022 13477 00ac 0222 movs r2, #2 13478 00ae 84F83F20 strb r2, [r4, #63] 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13479 .loc 1 2243 3 is_stmt 1 view .LVU4023 13480 00b2 0EE0 b .L1005 13481 .L1001: 2242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13482 .loc 1 2242 3 is_stmt 0 discriminator 6 view .LVU4024 13483 00b4 0222 movs r2, #2 13484 00b6 84F84020 strb r2, [r4, #64] 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13485 .loc 1 2243 3 is_stmt 1 view .LVU4025 13486 00ba 0AE0 b .L1005 13487 .L1000: 2242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13488 .loc 1 2242 3 is_stmt 0 discriminator 9 view .LVU4026 13489 00bc 0222 movs r2, #2 13490 00be 84F84120 strb r2, [r4, #65] 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13491 .loc 1 2243 3 is_stmt 1 view .LVU4027 13492 00c2 06E0 b .L1005 13493 .L998: 2242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13494 .loc 1 2242 3 is_stmt 0 discriminator 12 view .LVU4028 13495 00c4 0222 movs r2, #2 ARM GAS /tmp/ccGjXOU1.s page 438 13496 00c6 84F84220 strb r2, [r4, #66] 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13497 .loc 1 2243 3 is_stmt 1 view .LVU4029 13498 00ca 02E0 b .L1005 13499 .L997: 2242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13500 .loc 1 2242 3 is_stmt 0 discriminator 13 view .LVU4030 13501 00cc 0222 movs r2, #2 13502 00ce 84F84320 strb r2, [r4, #67] 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13503 .loc 1 2243 3 is_stmt 1 view .LVU4031 13504 .L1005: 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13505 .loc 1 2243 3 is_stmt 0 discriminator 2 view .LVU4032 13506 00d2 0429 cmp r1, #4 13507 00d4 24D0 beq .L1025 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13508 .loc 1 2243 3 discriminator 4 view .LVU4033 13509 00d6 0829 cmp r1, #8 13510 00d8 4BD0 beq .L1026 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13511 .loc 1 2243 3 discriminator 7 view .LVU4034 13512 00da 0222 movs r2, #2 13513 00dc 84F84720 strb r2, [r4, #71] 2245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13514 .loc 1 2245 3 is_stmt 1 view .LVU4035 13515 00e0 0C29 cmp r1, #12 13516 00e2 65D8 bhi .L1016 13517 00e4 01A2 adr r2, .L1011 13518 00e6 52F821F0 ldr pc, [r2, r1, lsl #2] 13519 00ea 00BF .p2align 2 13520 .L1011: 13521 00ec A1000000 .word .L1004+1 13522 00f0 B1010000 .word .L1016+1 13523 00f4 B1010000 .word .L1016+1 13524 00f8 B1010000 .word .L1016+1 13525 00fc 27010000 .word .L1007+1 13526 0100 B1010000 .word .L1016+1 13527 0104 B1010000 .word .L1016+1 13528 0108 B1010000 .word .L1016+1 13529 010c 79010000 .word .L1009+1 13530 0110 B1010000 .word .L1016+1 13531 0114 B1010000 .word .L1016+1 13532 0118 B1010000 .word .L1016+1 13533 011c 85010000 .word .L1010+1 13534 .p2align 1 13535 .L1025: 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13536 .loc 1 2243 3 is_stmt 0 discriminator 3 view .LVU4036 13537 0120 0223 movs r3, #2 13538 .LVL1016: 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13539 .loc 1 2243 3 discriminator 3 view .LVU4037 13540 0122 84F84530 strb r3, [r4, #69] 2245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13541 .loc 1 2245 3 is_stmt 1 view .LVU4038 13542 .L1007: ARM GAS /tmp/ccGjXOU1.s page 439 2257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13543 .loc 1 2257 7 view .LVU4039 13544 0126 2268 ldr r2, [r4] 13545 0128 D368 ldr r3, [r2, #12] 13546 012a 43F00403 orr r3, r3, #4 13547 012e D360 str r3, [r2, #12] 2258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13548 .loc 1 2258 7 view .LVU4040 2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13549 .loc 1 2280 3 view .LVU4041 13550 .L1012: 2283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13551 .loc 1 2283 5 view .LVU4042 13552 0130 0122 movs r2, #1 13553 0132 2068 ldr r0, [r4] 13554 .LVL1017: 2283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13555 .loc 1 2283 5 is_stmt 0 view .LVU4043 13556 0134 FFF7FEFF bl TIM_CCxChannelCmd 13557 .LVL1018: 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13558 .loc 1 2286 5 is_stmt 1 view .LVU4044 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13559 .loc 1 2286 9 is_stmt 0 view .LVU4045 13560 0138 2368 ldr r3, [r4] 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13561 .loc 1 2286 8 view .LVU4046 13562 013a 204A ldr r2, .L1027 13563 013c 9342 cmp r3, r2 13564 013e 27D0 beq .L1013 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13565 .loc 1 2286 9 discriminator 1 view .LVU4047 13566 0140 B3F1804F cmp r3, #1073741824 13567 0144 24D0 beq .L1013 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13568 .loc 1 2286 9 discriminator 2 view .LVU4048 13569 0146 A2F59432 sub r2, r2, #75776 13570 014a 9342 cmp r3, r2 13571 014c 20D0 beq .L1013 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13572 .loc 1 2286 9 discriminator 3 view .LVU4049 13573 014e 02F58062 add r2, r2, #1024 13574 0152 9342 cmp r3, r2 13575 0154 1CD0 beq .L1013 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13576 .loc 1 2286 9 discriminator 4 view .LVU4050 13577 0156 02F59632 add r2, r2, #76800 13578 015a 9342 cmp r3, r2 13579 015c 18D0 beq .L1013 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13580 .loc 1 2286 9 discriminator 5 view .LVU4051 13581 015e 02F54062 add r2, r2, #3072 13582 0162 9342 cmp r3, r2 13583 0164 14D0 beq .L1013 2296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13584 .loc 1 2296 7 is_stmt 1 view .LVU4052 13585 0166 1A68 ldr r2, [r3] ARM GAS /tmp/ccGjXOU1.s page 440 13586 0168 42F00102 orr r2, r2, #1 13587 016c 1A60 str r2, [r3] 13588 016e 0020 movs r0, #0 13589 0170 1DE0 b .L996 13590 .LVL1019: 13591 .L1026: 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13592 .loc 1 2243 3 is_stmt 0 discriminator 6 view .LVU4053 13593 0172 0223 movs r3, #2 13594 .LVL1020: 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13595 .loc 1 2243 3 discriminator 6 view .LVU4054 13596 0174 84F84630 strb r3, [r4, #70] 2245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13597 .loc 1 2245 3 is_stmt 1 view .LVU4055 13598 .L1009: 2264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13599 .loc 1 2264 7 view .LVU4056 13600 0178 2268 ldr r2, [r4] 13601 017a D368 ldr r3, [r2, #12] 13602 017c 43F00803 orr r3, r3, #8 13603 0180 D360 str r3, [r2, #12] 2265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13604 .loc 1 2265 7 view .LVU4057 2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13605 .loc 1 2280 3 view .LVU4058 13606 0182 D5E7 b .L1012 13607 .LVL1021: 13608 .L1010: 2271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13609 .loc 1 2271 7 view .LVU4059 13610 0184 2268 ldr r2, [r4] 13611 0186 D368 ldr r3, [r2, #12] 13612 .LVL1022: 2271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13613 .loc 1 2271 7 is_stmt 0 view .LVU4060 13614 0188 43F01003 orr r3, r3, #16 13615 018c D360 str r3, [r2, #12] 2272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13616 .loc 1 2272 7 is_stmt 1 view .LVU4061 2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13617 .loc 1 2280 3 view .LVU4062 13618 018e CFE7 b .L1012 13619 .LVL1023: 13620 .L1013: 2288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 13621 .loc 1 2288 7 view .LVU4063 2288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 13622 .loc 1 2288 31 is_stmt 0 view .LVU4064 13623 0190 9968 ldr r1, [r3, #8] 2288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 13624 .loc 1 2288 15 view .LVU4065 13625 0192 0B4A ldr r2, .L1027+4 13626 0194 0A40 ands r2, r2, r1 13627 .LVL1024: 2289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13628 .loc 1 2289 7 is_stmt 1 view .LVU4066 ARM GAS /tmp/ccGjXOU1.s page 441 2289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13629 .loc 1 2289 10 is_stmt 0 view .LVU4067 13630 0196 062A cmp r2, #6 13631 0198 0CD0 beq .L1017 2289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13632 .loc 1 2289 11 discriminator 1 view .LVU4068 13633 019a B2F5803F cmp r2, #65536 13634 019e 0BD0 beq .L1018 2291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13635 .loc 1 2291 9 is_stmt 1 view .LVU4069 13636 01a0 1A68 ldr r2, [r3] 13637 .LVL1025: 2291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13638 .loc 1 2291 9 is_stmt 0 view .LVU4070 13639 01a2 42F00102 orr r2, r2, #1 13640 01a6 1A60 str r2, [r3] 13641 01a8 0020 movs r0, #0 13642 01aa 00E0 b .L996 13643 .LVL1026: 13644 .L1015: 2238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13645 .loc 1 2238 12 view .LVU4071 13646 01ac 0120 movs r0, #1 13647 .LVL1027: 13648 .L996: 2302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13649 .loc 1 2302 1 view .LVU4072 13650 01ae 10BD pop {r4, pc} 13651 .LVL1028: 13652 .L1016: 2245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13653 .loc 1 2245 3 view .LVU4073 13654 01b0 1846 mov r0, r3 13655 .LVL1029: 2245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13656 .loc 1 2245 3 view .LVU4074 13657 01b2 FCE7 b .L996 13658 .LVL1030: 13659 .L1017: 2245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13660 .loc 1 2245 3 view .LVU4075 13661 01b4 0020 movs r0, #0 13662 01b6 FAE7 b .L996 13663 .L1018: 13664 01b8 0020 movs r0, #0 13665 01ba F8E7 b .L996 13666 .L1028: 13667 .align 2 13668 .L1027: 13669 01bc 002C0140 .word 1073818624 13670 01c0 07000100 .word 65543 13671 .cfi_endproc 13672 .LFE365: 13674 .section .text.HAL_TIM_IC_Stop_IT,"ax",%progbits 13675 .align 1 13676 .global HAL_TIM_IC_Stop_IT 13677 .syntax unified ARM GAS /tmp/ccGjXOU1.s page 442 13678 .thumb 13679 .thumb_func 13681 HAL_TIM_IC_Stop_IT: 13682 .LVL1031: 13683 .LFB366: 2316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 13684 .loc 1 2316 1 is_stmt 1 view -0 13685 .cfi_startproc 13686 @ args = 0, pretend = 0, frame = 0 13687 @ frame_needed = 0, uses_anonymous_args = 0 2316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 13688 .loc 1 2316 1 is_stmt 0 view .LVU4077 13689 0000 38B5 push {r3, r4, r5, lr} 13690 .LCFI100: 13691 .cfi_def_cfa_offset 16 13692 .cfi_offset 3, -16 13693 .cfi_offset 4, -12 13694 .cfi_offset 5, -8 13695 .cfi_offset 14, -4 13696 0002 0546 mov r5, r0 13697 0004 0C46 mov r4, r1 2317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13698 .loc 1 2317 3 is_stmt 1 view .LVU4078 13699 .LVL1032: 2320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13700 .loc 1 2320 3 view .LVU4079 2322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13701 .loc 1 2322 3 view .LVU4080 13702 0006 0C29 cmp r1, #12 13703 0008 6DD8 bhi .L1048 13704 000a DFE801F0 tbb [pc, r1] 13705 .L1032: 13706 000e 07 .byte (.L1035-.L1032)/2 13707 000f 6C .byte (.L1048-.L1032)/2 13708 0010 6C .byte (.L1048-.L1032)/2 13709 0011 6C .byte (.L1048-.L1032)/2 13710 0012 2D .byte (.L1034-.L1032)/2 13711 0013 6C .byte (.L1048-.L1032)/2 13712 0014 6C .byte (.L1048-.L1032)/2 13713 0015 6C .byte (.L1048-.L1032)/2 13714 0016 33 .byte (.L1033-.L1032)/2 13715 0017 6C .byte (.L1048-.L1032)/2 13716 0018 6C .byte (.L1048-.L1032)/2 13717 0019 6C .byte (.L1048-.L1032)/2 13718 001a 39 .byte (.L1031-.L1032)/2 13719 001b 00 .p2align 1 13720 .L1035: 2327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13721 .loc 1 2327 7 view .LVU4081 13722 001c 0268 ldr r2, [r0] 13723 001e D368 ldr r3, [r2, #12] 13724 0020 23F00203 bic r3, r3, #2 13725 0024 D360 str r3, [r2, #12] 2328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13726 .loc 1 2328 7 view .LVU4082 2357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13727 .loc 1 2357 3 view .LVU4083 ARM GAS /tmp/ccGjXOU1.s page 443 13728 .L1036: 2360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13729 .loc 1 2360 5 view .LVU4084 13730 0026 0022 movs r2, #0 13731 0028 2146 mov r1, r4 13732 .LVL1033: 2360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13733 .loc 1 2360 5 is_stmt 0 view .LVU4085 13734 002a 2868 ldr r0, [r5] 13735 .LVL1034: 2360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13736 .loc 1 2360 5 view .LVU4086 13737 002c FFF7FEFF bl TIM_CCxChannelCmd 13738 .LVL1035: 2363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13739 .loc 1 2363 5 is_stmt 1 view .LVU4087 2363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13740 .loc 1 2363 5 view .LVU4088 13741 0030 2B68 ldr r3, [r5] 13742 0032 196A ldr r1, [r3, #32] 13743 0034 41F21112 movw r2, #4369 13744 0038 1142 tst r1, r2 13745 003a 08D1 bne .L1037 2363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13746 .loc 1 2363 5 discriminator 1 view .LVU4089 13747 003c 196A ldr r1, [r3, #32] 13748 003e 44F24442 movw r2, #17476 13749 0042 1142 tst r1, r2 13750 0044 03D1 bne .L1037 2363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13751 .loc 1 2363 5 discriminator 3 view .LVU4090 13752 0046 1A68 ldr r2, [r3] 13753 0048 22F00102 bic r2, r2, #1 13754 004c 1A60 str r2, [r3] 13755 .L1037: 2363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13756 .loc 1 2363 5 discriminator 5 view .LVU4091 2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13757 .loc 1 2366 5 view .LVU4092 13758 004e 102C cmp r4, #16 13759 0050 33D8 bhi .L1038 13760 0052 DFE804F0 tbb [pc, r4] 13761 .L1040: 13762 0056 1B .byte (.L1044-.L1040)/2 13763 0057 32 .byte (.L1038-.L1040)/2 13764 0058 32 .byte (.L1038-.L1040)/2 13765 0059 32 .byte (.L1038-.L1040)/2 13766 005a 22 .byte (.L1043-.L1040)/2 13767 005b 32 .byte (.L1038-.L1040)/2 13768 005c 32 .byte (.L1038-.L1040)/2 13769 005d 32 .byte (.L1038-.L1040)/2 13770 005e 26 .byte (.L1042-.L1040)/2 13771 005f 32 .byte (.L1038-.L1040)/2 13772 0060 32 .byte (.L1038-.L1040)/2 13773 0061 32 .byte (.L1038-.L1040)/2 13774 0062 2A .byte (.L1041-.L1040)/2 13775 0063 32 .byte (.L1038-.L1040)/2 ARM GAS /tmp/ccGjXOU1.s page 444 13776 0064 32 .byte (.L1038-.L1040)/2 13777 0065 32 .byte (.L1038-.L1040)/2 13778 0066 2E .byte (.L1039-.L1040)/2 13779 .LVL1036: 13780 0067 00 .p2align 1 13781 .L1034: 2334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13782 .loc 1 2334 7 view .LVU4093 13783 0068 0268 ldr r2, [r0] 13784 006a D368 ldr r3, [r2, #12] 13785 006c 23F00403 bic r3, r3, #4 13786 0070 D360 str r3, [r2, #12] 2335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13787 .loc 1 2335 7 view .LVU4094 2357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13788 .loc 1 2357 3 view .LVU4095 13789 0072 D8E7 b .L1036 13790 .L1033: 2341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13791 .loc 1 2341 7 view .LVU4096 13792 0074 0268 ldr r2, [r0] 13793 0076 D368 ldr r3, [r2, #12] 13794 0078 23F00803 bic r3, r3, #8 13795 007c D360 str r3, [r2, #12] 2342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13796 .loc 1 2342 7 view .LVU4097 2357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13797 .loc 1 2357 3 view .LVU4098 13798 007e D2E7 b .L1036 13799 .L1031: 2348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13800 .loc 1 2348 7 view .LVU4099 13801 0080 0268 ldr r2, [r0] 13802 0082 D368 ldr r3, [r2, #12] 13803 0084 23F01003 bic r3, r3, #16 13804 0088 D360 str r3, [r2, #12] 2349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13805 .loc 1 2349 7 view .LVU4100 2357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13806 .loc 1 2357 3 view .LVU4101 13807 008a CCE7 b .L1036 13808 .LVL1037: 13809 .L1044: 2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13810 .loc 1 2366 5 is_stmt 0 discriminator 1 view .LVU4102 13811 008c 0123 movs r3, #1 13812 008e 85F83E30 strb r3, [r5, #62] 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13813 .loc 1 2367 5 is_stmt 1 view .LVU4103 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13814 .loc 1 2367 5 is_stmt 0 discriminator 1 view .LVU4104 13815 0092 85F84430 strb r3, [r5, #68] 13816 0096 0020 movs r0, #0 13817 0098 26E0 b .L1030 13818 .L1043: 2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13819 .loc 1 2366 5 discriminator 3 view .LVU4105 ARM GAS /tmp/ccGjXOU1.s page 445 13820 009a 0123 movs r3, #1 13821 009c 85F83F30 strb r3, [r5, #63] 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13822 .loc 1 2367 5 is_stmt 1 view .LVU4106 13823 00a0 0EE0 b .L1045 13824 .L1042: 2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13825 .loc 1 2366 5 is_stmt 0 discriminator 6 view .LVU4107 13826 00a2 0123 movs r3, #1 13827 00a4 85F84030 strb r3, [r5, #64] 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13828 .loc 1 2367 5 is_stmt 1 view .LVU4108 13829 00a8 0AE0 b .L1045 13830 .L1041: 2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13831 .loc 1 2366 5 is_stmt 0 discriminator 9 view .LVU4109 13832 00aa 0123 movs r3, #1 13833 00ac 85F84130 strb r3, [r5, #65] 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13834 .loc 1 2367 5 is_stmt 1 view .LVU4110 13835 00b0 06E0 b .L1045 13836 .L1039: 2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13837 .loc 1 2366 5 is_stmt 0 discriminator 12 view .LVU4111 13838 00b2 0123 movs r3, #1 13839 00b4 85F84230 strb r3, [r5, #66] 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13840 .loc 1 2367 5 is_stmt 1 view .LVU4112 13841 00b8 02E0 b .L1045 13842 .L1038: 2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13843 .loc 1 2366 5 is_stmt 0 discriminator 13 view .LVU4113 13844 00ba 0123 movs r3, #1 13845 00bc 85F84330 strb r3, [r5, #67] 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13846 .loc 1 2367 5 is_stmt 1 view .LVU4114 13847 .L1045: 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13848 .loc 1 2367 5 is_stmt 0 discriminator 2 view .LVU4115 13849 00c0 042C cmp r4, #4 13850 00c2 06D0 beq .L1050 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13851 .loc 1 2367 5 discriminator 4 view .LVU4116 13852 00c4 082C cmp r4, #8 13853 00c6 09D0 beq .L1051 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13854 .loc 1 2367 5 discriminator 7 view .LVU4117 13855 00c8 0123 movs r3, #1 13856 00ca 85F84730 strb r3, [r5, #71] 13857 00ce 0020 movs r0, #0 13858 00d0 0AE0 b .L1030 13859 .L1050: 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13860 .loc 1 2367 5 discriminator 3 view .LVU4118 13861 00d2 0123 movs r3, #1 13862 00d4 85F84530 strb r3, [r5, #69] 13863 00d8 0020 movs r0, #0 ARM GAS /tmp/ccGjXOU1.s page 446 13864 00da 05E0 b .L1030 13865 .L1051: 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13866 .loc 1 2367 5 discriminator 6 view .LVU4119 13867 00dc 0123 movs r3, #1 13868 00de 85F84630 strb r3, [r5, #70] 13869 00e2 0020 movs r0, #0 13870 00e4 00E0 b .L1030 13871 .LVL1038: 13872 .L1048: 2322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13873 .loc 1 2322 3 view .LVU4120 13874 00e6 0120 movs r0, #1 13875 .LVL1039: 13876 .L1030: 2371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13877 .loc 1 2371 3 is_stmt 1 view .LVU4121 2372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13878 .loc 1 2372 1 is_stmt 0 view .LVU4122 13879 00e8 38BD pop {r3, r4, r5, pc} 2372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13880 .loc 1 2372 1 view .LVU4123 13881 .cfi_endproc 13882 .LFE366: 13884 .section .text.HAL_TIM_IC_Start_DMA,"ax",%progbits 13885 .align 1 13886 .global HAL_TIM_IC_Start_DMA 13887 .syntax unified 13888 .thumb 13889 .thumb_func 13891 HAL_TIM_IC_Start_DMA: 13892 .LVL1040: 13893 .LFB367: 2388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 13894 .loc 1 2388 1 is_stmt 1 view -0 13895 .cfi_startproc 13896 @ args = 0, pretend = 0, frame = 0 13897 @ frame_needed = 0, uses_anonymous_args = 0 2388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 13898 .loc 1 2388 1 is_stmt 0 view .LVU4125 13899 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr} 13900 .LCFI101: 13901 .cfi_def_cfa_offset 24 13902 .cfi_offset 4, -24 13903 .cfi_offset 5, -20 13904 .cfi_offset 6, -16 13905 .cfi_offset 7, -12 13906 .cfi_offset 8, -8 13907 .cfi_offset 14, -4 13908 0004 0546 mov r5, r0 13909 0006 0C46 mov r4, r1 13910 0008 1646 mov r6, r2 13911 000a 1F46 mov r7, r3 2389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 13912 .loc 1 2389 3 is_stmt 1 view .LVU4126 13913 .LVL1041: 2390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 447 13914 .loc 1 2390 3 view .LVU4127 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13915 .loc 1 2392 3 view .LVU4128 13916 000c 1029 cmp r1, #16 13917 000e 22D8 bhi .L1053 13918 0010 DFE801F0 tbb [pc, r1] 13919 .LVL1042: 13920 .L1055: 13921 0014 09 .byte (.L1059-.L1055)/2 13922 0015 21 .byte (.L1053-.L1055)/2 13923 0016 21 .byte (.L1053-.L1055)/2 13924 0017 21 .byte (.L1053-.L1055)/2 13925 0018 11 .byte (.L1058-.L1055)/2 13926 0019 21 .byte (.L1053-.L1055)/2 13927 001a 21 .byte (.L1053-.L1055)/2 13928 001b 21 .byte (.L1053-.L1055)/2 13929 001c 15 .byte (.L1057-.L1055)/2 13930 001d 21 .byte (.L1053-.L1055)/2 13931 001e 21 .byte (.L1053-.L1055)/2 13932 001f 21 .byte (.L1053-.L1055)/2 13933 0020 19 .byte (.L1056-.L1055)/2 13934 0021 21 .byte (.L1053-.L1055)/2 13935 0022 21 .byte (.L1053-.L1055)/2 13936 0023 21 .byte (.L1053-.L1055)/2 13937 0024 1D .byte (.L1054-.L1055)/2 13938 0025 00 .p2align 1 13939 .L1059: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13940 .loc 1 2392 47 is_stmt 0 discriminator 1 view .LVU4129 13941 0026 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 13942 .LVL1043: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13943 .loc 1 2392 47 discriminator 1 view .LVU4130 13944 002a C0B2 uxtb r0, r0 13945 .LVL1044: 2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13946 .loc 1 2393 3 is_stmt 1 view .LVU4131 2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13947 .loc 1 2393 61 is_stmt 0 discriminator 1 view .LVU4132 13948 002c 95F84480 ldrb r8, [r5, #68] @ zero_extendqisi2 13949 0030 5FFA88F8 uxtb r8, r8 13950 0034 1AE0 b .L1060 13951 .LVL1045: 13952 .L1058: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13953 .loc 1 2392 47 discriminator 4 view .LVU4133 13954 0036 90F83F00 ldrb r0, [r0, #63] @ zero_extendqisi2 13955 .LVL1046: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13956 .loc 1 2392 47 discriminator 4 view .LVU4134 13957 003a C0B2 uxtb r0, r0 13958 .LVL1047: 2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13959 .loc 1 2393 3 is_stmt 1 view .LVU4135 13960 003c 0EE0 b .L1061 13961 .LVL1048: 13962 .L1057: ARM GAS /tmp/ccGjXOU1.s page 448 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13963 .loc 1 2392 47 is_stmt 0 discriminator 7 view .LVU4136 13964 003e 90F84000 ldrb r0, [r0, #64] @ zero_extendqisi2 13965 .LVL1049: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13966 .loc 1 2392 47 discriminator 7 view .LVU4137 13967 0042 C0B2 uxtb r0, r0 13968 .LVL1050: 2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13969 .loc 1 2393 3 is_stmt 1 view .LVU4138 13970 0044 0AE0 b .L1061 13971 .LVL1051: 13972 .L1056: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13973 .loc 1 2392 47 is_stmt 0 discriminator 10 view .LVU4139 13974 0046 90F84110 ldrb r1, [r0, #65] @ zero_extendqisi2 13975 .LVL1052: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13976 .loc 1 2392 47 discriminator 10 view .LVU4140 13977 004a C8B2 uxtb r0, r1 13978 .LVL1053: 2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13979 .loc 1 2393 3 is_stmt 1 view .LVU4141 13980 004c 06E0 b .L1061 13981 .LVL1054: 13982 .L1054: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13983 .loc 1 2392 47 is_stmt 0 discriminator 13 view .LVU4142 13984 004e 90F84210 ldrb r1, [r0, #66] @ zero_extendqisi2 13985 .LVL1055: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13986 .loc 1 2392 47 discriminator 13 view .LVU4143 13987 0052 C8B2 uxtb r0, r1 13988 .LVL1056: 2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13989 .loc 1 2393 3 is_stmt 1 view .LVU4144 13990 0054 02E0 b .L1061 13991 .LVL1057: 13992 .L1053: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13993 .loc 1 2392 47 is_stmt 0 discriminator 14 view .LVU4145 13994 0056 90F84310 ldrb r1, [r0, #67] @ zero_extendqisi2 13995 .LVL1058: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13996 .loc 1 2392 47 discriminator 14 view .LVU4146 13997 005a C8B2 uxtb r0, r1 13998 .LVL1059: 2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13999 .loc 1 2393 3 is_stmt 1 view .LVU4147 14000 .L1061: 2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14001 .loc 1 2393 61 is_stmt 0 discriminator 2 view .LVU4148 14002 005c 042C cmp r4, #4 14003 005e 26D0 beq .L1096 2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14004 .loc 1 2393 61 discriminator 5 view .LVU4149 14005 0060 082C cmp r4, #8 ARM GAS /tmp/ccGjXOU1.s page 449 14006 0062 29D0 beq .L1097 2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14007 .loc 1 2393 61 discriminator 8 view .LVU4150 14008 0064 95F84780 ldrb r8, [r5, #71] @ zero_extendqisi2 14009 0068 5FFA88F8 uxtb r8, r8 14010 .L1060: 14011 .LVL1060: 2396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_CC_INSTANCE(htim->Instance)); 14012 .loc 1 2396 3 is_stmt 1 view .LVU4151 2397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14013 .loc 1 2397 3 view .LVU4152 2400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_state == HAL_TIM_CHANNEL_STATE_BUSY)) 14014 .loc 1 2400 3 view .LVU4153 2400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_state == HAL_TIM_CHANNEL_STATE_BUSY)) 14015 .loc 1 2400 6 is_stmt 0 view .LVU4154 14016 006c 0228 cmp r0, #2 14017 006e 00F0F180 beq .L1064 2401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14018 .loc 1 2401 7 view .LVU4155 14019 0072 B8F1020F cmp r8, #2 14020 0076 00F0EA80 beq .L1084 2405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_state == HAL_TIM_CHANNEL_STATE_READY)) 14021 .loc 1 2405 8 is_stmt 1 view .LVU4156 2405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_state == HAL_TIM_CHANNEL_STATE_READY)) 14022 .loc 1 2405 11 is_stmt 0 view .LVU4157 14023 007a 0128 cmp r0, #1 14024 007c 40F0E980 bne .L1085 2406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14025 .loc 1 2406 12 view .LVU4158 14026 0080 B8F1010F cmp r8, #1 14027 0084 40F0E680 bne .L1064 2408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14028 .loc 1 2408 5 is_stmt 1 view .LVU4159 2408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14029 .loc 1 2408 8 is_stmt 0 view .LVU4160 14030 0088 002E cmp r6, #0 14031 008a 00F0E580 beq .L1086 2408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14032 .loc 1 2408 25 discriminator 1 view .LVU4161 14033 008e 002F cmp r7, #0 14034 0090 00F0E480 beq .L1087 2414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 14035 .loc 1 2414 7 is_stmt 1 view .LVU4162 14036 0094 102C cmp r4, #16 14037 0096 2AD8 bhi .L1065 14038 0098 DFE804F0 tbb [pc, r4] 14039 .L1067: 14040 009c 13 .byte (.L1071-.L1067)/2 14041 009d 29 .byte (.L1065-.L1067)/2 14042 009e 29 .byte (.L1065-.L1067)/2 14043 009f 29 .byte (.L1065-.L1067)/2 14044 00a0 19 .byte (.L1070-.L1067)/2 14045 00a1 29 .byte (.L1065-.L1067)/2 14046 00a2 29 .byte (.L1065-.L1067)/2 14047 00a3 29 .byte (.L1065-.L1067)/2 14048 00a4 1D .byte (.L1069-.L1067)/2 14049 00a5 29 .byte (.L1065-.L1067)/2 ARM GAS /tmp/ccGjXOU1.s page 450 14050 00a6 29 .byte (.L1065-.L1067)/2 14051 00a7 29 .byte (.L1065-.L1067)/2 14052 00a8 21 .byte (.L1068-.L1067)/2 14053 00a9 29 .byte (.L1065-.L1067)/2 14054 00aa 29 .byte (.L1065-.L1067)/2 14055 00ab 29 .byte (.L1065-.L1067)/2 14056 00ac 25 .byte (.L1066-.L1067)/2 14057 .LVL1061: 14058 00ad 00 .p2align 1 14059 .L1096: 2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14060 .loc 1 2393 61 is_stmt 0 discriminator 4 view .LVU4163 14061 00ae 95F84580 ldrb r8, [r5, #69] @ zero_extendqisi2 14062 00b2 5FFA88F8 uxtb r8, r8 14063 00b6 D9E7 b .L1060 14064 .L1097: 2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14065 .loc 1 2393 61 discriminator 7 view .LVU4164 14066 00b8 95F84680 ldrb r8, [r5, #70] @ zero_extendqisi2 14067 00bc 5FFA88F8 uxtb r8, r8 14068 00c0 D4E7 b .L1060 14069 .LVL1062: 14070 .L1071: 2414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 14071 .loc 1 2414 7 discriminator 1 view .LVU4165 14072 00c2 0223 movs r3, #2 14073 00c4 85F83E30 strb r3, [r5, #62] 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14074 .loc 1 2415 7 is_stmt 1 view .LVU4166 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14075 .loc 1 2415 7 is_stmt 0 discriminator 1 view .LVU4167 14076 00c8 85F84430 strb r3, [r5, #68] 14077 00cc 19E0 b .L1072 14078 .L1070: 2414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 14079 .loc 1 2414 7 discriminator 3 view .LVU4168 14080 00ce 0223 movs r3, #2 14081 00d0 85F83F30 strb r3, [r5, #63] 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14082 .loc 1 2415 7 is_stmt 1 view .LVU4169 14083 00d4 0EE0 b .L1073 14084 .L1069: 2414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 14085 .loc 1 2414 7 is_stmt 0 discriminator 6 view .LVU4170 14086 00d6 0223 movs r3, #2 14087 00d8 85F84030 strb r3, [r5, #64] 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14088 .loc 1 2415 7 is_stmt 1 view .LVU4171 14089 00dc 0AE0 b .L1073 14090 .L1068: 2414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 14091 .loc 1 2414 7 is_stmt 0 discriminator 9 view .LVU4172 14092 00de 0223 movs r3, #2 14093 00e0 85F84130 strb r3, [r5, #65] 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14094 .loc 1 2415 7 is_stmt 1 view .LVU4173 14095 00e4 06E0 b .L1073 ARM GAS /tmp/ccGjXOU1.s page 451 14096 .L1066: 2414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 14097 .loc 1 2414 7 is_stmt 0 discriminator 12 view .LVU4174 14098 00e6 0223 movs r3, #2 14099 00e8 85F84230 strb r3, [r5, #66] 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14100 .loc 1 2415 7 is_stmt 1 view .LVU4175 14101 00ec 02E0 b .L1073 14102 .L1065: 2414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 14103 .loc 1 2414 7 is_stmt 0 discriminator 13 view .LVU4176 14104 00ee 0223 movs r3, #2 14105 00f0 85F84330 strb r3, [r5, #67] 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14106 .loc 1 2415 7 is_stmt 1 view .LVU4177 14107 .L1073: 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14108 .loc 1 2415 7 is_stmt 0 discriminator 2 view .LVU4178 14109 00f4 042C cmp r4, #4 14110 00f6 14D0 beq .L1098 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14111 .loc 1 2415 7 discriminator 4 view .LVU4179 14112 00f8 082C cmp r4, #8 14113 00fa 16D0 beq .L1099 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14114 .loc 1 2415 7 discriminator 7 view .LVU4180 14115 00fc 0223 movs r3, #2 14116 00fe 85F84730 strb r3, [r5, #71] 14117 .L1072: 2424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14118 .loc 1 2424 3 is_stmt 1 view .LVU4181 14119 0102 0122 movs r2, #1 14120 .LVL1063: 2424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14121 .loc 1 2424 3 is_stmt 0 view .LVU4182 14122 0104 2146 mov r1, r4 14123 0106 2868 ldr r0, [r5] 14124 .LVL1064: 2424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14125 .loc 1 2424 3 view .LVU4183 14126 0108 FFF7FEFF bl TIM_CCxChannelCmd 14127 .LVL1065: 2426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14128 .loc 1 2426 3 is_stmt 1 view .LVU4184 14129 010c 0C2C cmp r4, #12 14130 010e 29D8 bhi .L1076 14131 0110 DFE804F0 tbb [pc, r4] 14132 .L1078: 14133 0114 0F .byte (.L1081-.L1078)/2 14134 0115 28 .byte (.L1076-.L1078)/2 14135 0116 28 .byte (.L1076-.L1078)/2 14136 0117 28 .byte (.L1076-.L1078)/2 14137 0118 45 .byte (.L1080-.L1078)/2 14138 0119 28 .byte (.L1076-.L1078)/2 14139 011a 28 .byte (.L1076-.L1078)/2 14140 011b 28 .byte (.L1076-.L1078)/2 14141 011c 5E .byte (.L1079-.L1078)/2 ARM GAS /tmp/ccGjXOU1.s page 452 14142 011d 28 .byte (.L1076-.L1078)/2 14143 011e 28 .byte (.L1076-.L1078)/2 14144 011f 28 .byte (.L1076-.L1078)/2 14145 0120 77 .byte (.L1077-.L1078)/2 14146 .LVL1066: 14147 0121 00 .p2align 1 14148 .L1098: 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14149 .loc 1 2415 7 is_stmt 0 discriminator 3 view .LVU4185 14150 0122 0223 movs r3, #2 14151 0124 85F84530 strb r3, [r5, #69] 14152 0128 EBE7 b .L1072 14153 .L1099: 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14154 .loc 1 2415 7 discriminator 6 view .LVU4186 14155 012a 0223 movs r3, #2 14156 012c 85F84630 strb r3, [r5, #70] 14157 0130 E7E7 b .L1072 14158 .LVL1067: 14159 .L1081: 2431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14160 .loc 1 2431 7 is_stmt 1 view .LVU4187 2431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14161 .loc 1 2431 17 is_stmt 0 view .LVU4188 14162 0132 6B6A ldr r3, [r5, #36] 2431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14163 .loc 1 2431 52 view .LVU4189 14164 0134 504A ldr r2, .L1100 14165 0136 DA62 str r2, [r3, #44] 2432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14166 .loc 1 2432 7 is_stmt 1 view .LVU4190 2432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14167 .loc 1 2432 17 is_stmt 0 view .LVU4191 14168 0138 6B6A ldr r3, [r5, #36] 2432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14169 .loc 1 2432 56 view .LVU4192 14170 013a 504A ldr r2, .L1100+4 14171 013c 1A63 str r2, [r3, #48] 2435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14172 .loc 1 2435 7 is_stmt 1 view .LVU4193 2435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14173 .loc 1 2435 17 is_stmt 0 view .LVU4194 14174 013e 6B6A ldr r3, [r5, #36] 2435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14175 .loc 1 2435 53 view .LVU4195 14176 0140 4F4A ldr r2, .L1100+8 14177 0142 5A63 str r2, [r3, #52] 2438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14178 .loc 1 2438 7 is_stmt 1 view .LVU4196 2438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14179 .loc 1 2438 71 is_stmt 0 view .LVU4197 14180 0144 2968 ldr r1, [r5] 2438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14181 .loc 1 2438 11 view .LVU4198 14182 0146 3B46 mov r3, r7 14183 0148 3246 mov r2, r6 14184 014a 3431 adds r1, r1, #52 ARM GAS /tmp/ccGjXOU1.s page 453 14185 014c 686A ldr r0, [r5, #36] 14186 014e FFF7FEFF bl HAL_DMA_Start_IT 14187 .LVL1068: 2438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14188 .loc 1 2438 10 discriminator 1 view .LVU4199 14189 0152 0028 cmp r0, #0 14190 0154 40F08480 bne .L1088 2445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14191 .loc 1 2445 7 is_stmt 1 view .LVU4200 14192 0158 2A68 ldr r2, [r5] 14193 015a D368 ldr r3, [r2, #12] 14194 015c 43F40073 orr r3, r3, #512 14195 0160 D360 str r3, [r2, #12] 2446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14196 .loc 1 2446 7 view .LVU4201 2389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 14197 .loc 1 2389 21 is_stmt 0 view .LVU4202 14198 0162 8046 mov r8, r0 14199 .LVL1069: 14200 .L1076: 2518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14201 .loc 1 2518 3 is_stmt 1 view .LVU4203 2518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14202 .loc 1 2518 7 is_stmt 0 view .LVU4204 14203 0164 2B68 ldr r3, [r5] 2518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14204 .loc 1 2518 6 view .LVU4205 14205 0166 474A ldr r2, .L1100+12 14206 0168 9342 cmp r3, r2 14207 016a 62D0 beq .L1082 2518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14208 .loc 1 2518 7 discriminator 1 view .LVU4206 14209 016c B3F1804F cmp r3, #1073741824 14210 0170 5FD0 beq .L1082 2518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14211 .loc 1 2518 7 discriminator 2 view .LVU4207 14212 0172 A2F59432 sub r2, r2, #75776 14213 0176 9342 cmp r3, r2 14214 0178 5BD0 beq .L1082 2518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14215 .loc 1 2518 7 discriminator 3 view .LVU4208 14216 017a 02F58062 add r2, r2, #1024 14217 017e 9342 cmp r3, r2 14218 0180 57D0 beq .L1082 2518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14219 .loc 1 2518 7 discriminator 4 view .LVU4209 14220 0182 02F59632 add r2, r2, #76800 14221 0186 9342 cmp r3, r2 14222 0188 53D0 beq .L1082 2518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14223 .loc 1 2518 7 discriminator 5 view .LVU4210 14224 018a 02F54062 add r2, r2, #3072 14225 018e 9342 cmp r3, r2 14226 0190 4FD0 beq .L1082 2528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14227 .loc 1 2528 5 is_stmt 1 view .LVU4211 14228 0192 1A68 ldr r2, [r3] ARM GAS /tmp/ccGjXOU1.s page 454 14229 0194 42F00102 orr r2, r2, #1 14230 0198 1A60 str r2, [r3] 2532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14231 .loc 1 2532 10 is_stmt 0 view .LVU4212 14232 019a 4046 mov r0, r8 14233 019c 5AE0 b .L1064 14234 .LVL1070: 14235 .L1080: 2452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14236 .loc 1 2452 7 is_stmt 1 view .LVU4213 2452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14237 .loc 1 2452 17 is_stmt 0 view .LVU4214 14238 019e AB6A ldr r3, [r5, #40] 2452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14239 .loc 1 2452 52 view .LVU4215 14240 01a0 354A ldr r2, .L1100 14241 01a2 DA62 str r2, [r3, #44] 2453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14242 .loc 1 2453 7 is_stmt 1 view .LVU4216 2453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14243 .loc 1 2453 17 is_stmt 0 view .LVU4217 14244 01a4 AB6A ldr r3, [r5, #40] 2453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14245 .loc 1 2453 56 view .LVU4218 14246 01a6 354A ldr r2, .L1100+4 14247 01a8 1A63 str r2, [r3, #48] 2456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14248 .loc 1 2456 7 is_stmt 1 view .LVU4219 2456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14249 .loc 1 2456 17 is_stmt 0 view .LVU4220 14250 01aa AB6A ldr r3, [r5, #40] 2456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14251 .loc 1 2456 53 view .LVU4221 14252 01ac 344A ldr r2, .L1100+8 14253 01ae 5A63 str r2, [r3, #52] 2459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14254 .loc 1 2459 7 is_stmt 1 view .LVU4222 2459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14255 .loc 1 2459 71 is_stmt 0 view .LVU4223 14256 01b0 2968 ldr r1, [r5] 2459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14257 .loc 1 2459 11 view .LVU4224 14258 01b2 3B46 mov r3, r7 14259 01b4 3246 mov r2, r6 14260 01b6 3831 adds r1, r1, #56 14261 01b8 A86A ldr r0, [r5, #40] 14262 01ba FFF7FEFF bl HAL_DMA_Start_IT 14263 .LVL1071: 2459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14264 .loc 1 2459 10 discriminator 1 view .LVU4225 14265 01be 0028 cmp r0, #0 14266 01c0 50D1 bne .L1089 2466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14267 .loc 1 2466 7 is_stmt 1 view .LVU4226 14268 01c2 2A68 ldr r2, [r5] 14269 01c4 D368 ldr r3, [r2, #12] 14270 01c6 43F48063 orr r3, r3, #1024 ARM GAS /tmp/ccGjXOU1.s page 455 14271 01ca D360 str r3, [r2, #12] 2467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14272 .loc 1 2467 7 view .LVU4227 2389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 14273 .loc 1 2389 21 is_stmt 0 view .LVU4228 14274 01cc 8046 mov r8, r0 14275 .LVL1072: 2467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14276 .loc 1 2467 7 view .LVU4229 14277 01ce C9E7 b .L1076 14278 .LVL1073: 14279 .L1079: 2473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14280 .loc 1 2473 7 is_stmt 1 view .LVU4230 2473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14281 .loc 1 2473 17 is_stmt 0 view .LVU4231 14282 01d0 EB6A ldr r3, [r5, #44] 2473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14283 .loc 1 2473 52 view .LVU4232 14284 01d2 294A ldr r2, .L1100 14285 01d4 DA62 str r2, [r3, #44] 2474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14286 .loc 1 2474 7 is_stmt 1 view .LVU4233 2474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14287 .loc 1 2474 17 is_stmt 0 view .LVU4234 14288 01d6 EB6A ldr r3, [r5, #44] 2474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14289 .loc 1 2474 56 view .LVU4235 14290 01d8 284A ldr r2, .L1100+4 14291 01da 1A63 str r2, [r3, #48] 2477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14292 .loc 1 2477 7 is_stmt 1 view .LVU4236 2477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14293 .loc 1 2477 17 is_stmt 0 view .LVU4237 14294 01dc EB6A ldr r3, [r5, #44] 2477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14295 .loc 1 2477 53 view .LVU4238 14296 01de 284A ldr r2, .L1100+8 14297 01e0 5A63 str r2, [r3, #52] 2480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14298 .loc 1 2480 7 is_stmt 1 view .LVU4239 2480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14299 .loc 1 2480 71 is_stmt 0 view .LVU4240 14300 01e2 2968 ldr r1, [r5] 2480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14301 .loc 1 2480 11 view .LVU4241 14302 01e4 3B46 mov r3, r7 14303 01e6 3246 mov r2, r6 14304 01e8 3C31 adds r1, r1, #60 14305 01ea E86A ldr r0, [r5, #44] 14306 01ec FFF7FEFF bl HAL_DMA_Start_IT 14307 .LVL1074: 2480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14308 .loc 1 2480 10 discriminator 1 view .LVU4242 14309 01f0 0028 cmp r0, #0 14310 01f2 39D1 bne .L1090 2487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; ARM GAS /tmp/ccGjXOU1.s page 456 14311 .loc 1 2487 7 is_stmt 1 view .LVU4243 14312 01f4 2A68 ldr r2, [r5] 14313 01f6 D368 ldr r3, [r2, #12] 14314 01f8 43F40063 orr r3, r3, #2048 14315 01fc D360 str r3, [r2, #12] 2488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14316 .loc 1 2488 7 view .LVU4244 2389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 14317 .loc 1 2389 21 is_stmt 0 view .LVU4245 14318 01fe 8046 mov r8, r0 14319 .LVL1075: 2488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14320 .loc 1 2488 7 view .LVU4246 14321 0200 B0E7 b .L1076 14322 .LVL1076: 14323 .L1077: 2494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14324 .loc 1 2494 7 is_stmt 1 view .LVU4247 2494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14325 .loc 1 2494 17 is_stmt 0 view .LVU4248 14326 0202 2B6B ldr r3, [r5, #48] 2494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14327 .loc 1 2494 52 view .LVU4249 14328 0204 1C4A ldr r2, .L1100 14329 0206 DA62 str r2, [r3, #44] 2495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14330 .loc 1 2495 7 is_stmt 1 view .LVU4250 2495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14331 .loc 1 2495 17 is_stmt 0 view .LVU4251 14332 0208 2B6B ldr r3, [r5, #48] 2495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14333 .loc 1 2495 56 view .LVU4252 14334 020a 1C4A ldr r2, .L1100+4 14335 020c 1A63 str r2, [r3, #48] 2498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14336 .loc 1 2498 7 is_stmt 1 view .LVU4253 2498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14337 .loc 1 2498 17 is_stmt 0 view .LVU4254 14338 020e 2B6B ldr r3, [r5, #48] 2498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14339 .loc 1 2498 53 view .LVU4255 14340 0210 1B4A ldr r2, .L1100+8 14341 0212 5A63 str r2, [r3, #52] 2501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14342 .loc 1 2501 7 is_stmt 1 view .LVU4256 2501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14343 .loc 1 2501 71 is_stmt 0 view .LVU4257 14344 0214 2968 ldr r1, [r5] 2501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14345 .loc 1 2501 11 view .LVU4258 14346 0216 3B46 mov r3, r7 14347 0218 3246 mov r2, r6 14348 021a 4031 adds r1, r1, #64 14349 021c 286B ldr r0, [r5, #48] 14350 021e FFF7FEFF bl HAL_DMA_Start_IT 14351 .LVL1077: 2501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) ARM GAS /tmp/ccGjXOU1.s page 457 14352 .loc 1 2501 10 discriminator 1 view .LVU4259 14353 0222 18BB cbnz r0, .L1091 2508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14354 .loc 1 2508 7 is_stmt 1 view .LVU4260 14355 0224 2A68 ldr r2, [r5] 14356 0226 D368 ldr r3, [r2, #12] 14357 0228 43F48053 orr r3, r3, #4096 14358 022c D360 str r3, [r2, #12] 2509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14359 .loc 1 2509 7 view .LVU4261 2389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 14360 .loc 1 2389 21 is_stmt 0 view .LVU4262 14361 022e 8046 mov r8, r0 14362 .LVL1078: 2509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14363 .loc 1 2509 7 view .LVU4263 14364 0230 98E7 b .L1076 14365 .LVL1079: 14366 .L1082: 2520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 14367 .loc 1 2520 5 is_stmt 1 view .LVU4264 2520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 14368 .loc 1 2520 29 is_stmt 0 view .LVU4265 14369 0232 9968 ldr r1, [r3, #8] 2520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 14370 .loc 1 2520 13 view .LVU4266 14371 0234 144A ldr r2, .L1100+16 14372 0236 0A40 ands r2, r2, r1 14373 .LVL1080: 2521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14374 .loc 1 2521 5 is_stmt 1 view .LVU4267 2521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14375 .loc 1 2521 8 is_stmt 0 view .LVU4268 14376 0238 062A cmp r2, #6 14377 023a 19D0 beq .L1092 2521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14378 .loc 1 2521 9 discriminator 1 view .LVU4269 14379 023c B2F5803F cmp r2, #65536 14380 0240 18D0 beq .L1093 2523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14381 .loc 1 2523 7 is_stmt 1 view .LVU4270 14382 0242 1A68 ldr r2, [r3] 14383 .LVL1081: 2523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14384 .loc 1 2523 7 is_stmt 0 view .LVU4271 14385 0244 42F00102 orr r2, r2, #1 14386 0248 1A60 str r2, [r3] 2532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14387 .loc 1 2532 10 view .LVU4272 14388 024a 4046 mov r0, r8 14389 024c 02E0 b .L1064 14390 .LVL1082: 14391 .L1084: 2403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14392 .loc 1 2403 12 view .LVU4273 14393 024e 4046 mov r0, r8 14394 .LVL1083: ARM GAS /tmp/ccGjXOU1.s page 458 2403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14395 .loc 1 2403 12 view .LVU4274 14396 0250 00E0 b .L1064 14397 .LVL1084: 14398 .L1085: 2420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14399 .loc 1 2420 12 view .LVU4275 14400 0252 0120 movs r0, #1 14401 .LVL1085: 14402 .L1064: 2533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14403 .loc 1 2533 1 view .LVU4276 14404 0254 BDE8F081 pop {r4, r5, r6, r7, r8, pc} 14405 .LVL1086: 14406 .L1086: 2410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14407 .loc 1 2410 14 view .LVU4277 14408 0258 4046 mov r0, r8 14409 .LVL1087: 2410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14410 .loc 1 2410 14 view .LVU4278 14411 025a FBE7 b .L1064 14412 .LVL1088: 14413 .L1087: 2410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14414 .loc 1 2410 14 view .LVU4279 14415 025c 4046 mov r0, r8 14416 .LVL1089: 2410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14417 .loc 1 2410 14 view .LVU4280 14418 025e F9E7 b .L1064 14419 .LVL1090: 14420 .L1088: 2442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14421 .loc 1 2442 16 view .LVU4281 14422 0260 4046 mov r0, r8 14423 0262 F7E7 b .L1064 14424 .L1089: 2463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14425 .loc 1 2463 16 view .LVU4282 14426 0264 4046 mov r0, r8 14427 0266 F5E7 b .L1064 14428 .L1090: 2484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14429 .loc 1 2484 16 view .LVU4283 14430 0268 4046 mov r0, r8 14431 026a F3E7 b .L1064 14432 .L1091: 2505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14433 .loc 1 2505 16 view .LVU4284 14434 026c 4046 mov r0, r8 14435 026e F1E7 b .L1064 14436 .LVL1091: 14437 .L1092: 2532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14438 .loc 1 2532 10 view .LVU4285 14439 0270 4046 mov r0, r8 ARM GAS /tmp/ccGjXOU1.s page 459 14440 0272 EFE7 b .L1064 14441 .L1093: 14442 0274 4046 mov r0, r8 14443 0276 EDE7 b .L1064 14444 .L1101: 14445 .align 2 14446 .L1100: 14447 0278 00000000 .word TIM_DMACaptureCplt 14448 027c 00000000 .word TIM_DMACaptureHalfCplt 14449 0280 00000000 .word TIM_DMAError 14450 0284 002C0140 .word 1073818624 14451 0288 07000100 .word 65543 14452 .cfi_endproc 14453 .LFE367: 14455 .section .text.HAL_TIM_IC_Stop_DMA,"ax",%progbits 14456 .align 1 14457 .global HAL_TIM_IC_Stop_DMA 14458 .syntax unified 14459 .thumb 14460 .thumb_func 14462 HAL_TIM_IC_Stop_DMA: 14463 .LVL1092: 14464 .LFB368: 2547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 14465 .loc 1 2547 1 is_stmt 1 view -0 14466 .cfi_startproc 14467 @ args = 0, pretend = 0, frame = 0 14468 @ frame_needed = 0, uses_anonymous_args = 0 2547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 14469 .loc 1 2547 1 is_stmt 0 view .LVU4287 14470 0000 38B5 push {r3, r4, r5, lr} 14471 .LCFI102: 14472 .cfi_def_cfa_offset 16 14473 .cfi_offset 3, -16 14474 .cfi_offset 4, -12 14475 .cfi_offset 5, -8 14476 .cfi_offset 14, -4 14477 0002 0546 mov r5, r0 14478 0004 0C46 mov r4, r1 2548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14479 .loc 1 2548 3 is_stmt 1 view .LVU4288 14480 .LVL1093: 2551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_CC_INSTANCE(htim->Instance)); 14481 .loc 1 2551 3 view .LVU4289 2552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14482 .loc 1 2552 3 view .LVU4290 2555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14483 .loc 1 2555 3 view .LVU4291 14484 0006 0022 movs r2, #0 14485 0008 0068 ldr r0, [r0] 14486 .LVL1094: 2555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14487 .loc 1 2555 3 is_stmt 0 view .LVU4292 14488 000a FFF7FEFF bl TIM_CCxChannelCmd 14489 .LVL1095: 2557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14490 .loc 1 2557 3 is_stmt 1 view .LVU4293 ARM GAS /tmp/ccGjXOU1.s page 460 14491 000e 0C2C cmp r4, #12 14492 0010 74D8 bhi .L1121 14493 0012 DFE804F0 tbb [pc, r4] 14494 .L1105: 14495 0016 07 .byte (.L1108-.L1105)/2 14496 0017 73 .byte (.L1121-.L1105)/2 14497 0018 73 .byte (.L1121-.L1105)/2 14498 0019 73 .byte (.L1121-.L1105)/2 14499 001a 2B .byte (.L1107-.L1105)/2 14500 001b 73 .byte (.L1121-.L1105)/2 14501 001c 73 .byte (.L1121-.L1105)/2 14502 001d 73 .byte (.L1121-.L1105)/2 14503 001e 34 .byte (.L1106-.L1105)/2 14504 001f 73 .byte (.L1121-.L1105)/2 14505 0020 73 .byte (.L1121-.L1105)/2 14506 0021 73 .byte (.L1121-.L1105)/2 14507 0022 3D .byte (.L1104-.L1105)/2 14508 0023 00 .p2align 1 14509 .L1108: 2562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 14510 .loc 1 2562 7 view .LVU4294 14511 0024 2A68 ldr r2, [r5] 14512 0026 D368 ldr r3, [r2, #12] 14513 0028 23F40073 bic r3, r3, #512 14514 002c D360 str r3, [r2, #12] 2563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14515 .loc 1 2563 7 view .LVU4295 2563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14516 .loc 1 2563 13 is_stmt 0 view .LVU4296 14517 002e 686A ldr r0, [r5, #36] 14518 0030 FFF7FEFF bl HAL_DMA_Abort_IT 14519 .LVL1096: 2564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14520 .loc 1 2564 7 is_stmt 1 view .LVU4297 2596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14521 .loc 1 2596 3 view .LVU4298 14522 .L1109: 2599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14523 .loc 1 2599 5 view .LVU4299 2599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14524 .loc 1 2599 5 view .LVU4300 14525 0034 2B68 ldr r3, [r5] 14526 0036 196A ldr r1, [r3, #32] 14527 0038 41F21112 movw r2, #4369 14528 003c 1142 tst r1, r2 14529 003e 08D1 bne .L1110 2599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14530 .loc 1 2599 5 discriminator 1 view .LVU4301 14531 0040 196A ldr r1, [r3, #32] 14532 0042 44F24442 movw r2, #17476 14533 0046 1142 tst r1, r2 14534 0048 03D1 bne .L1110 2599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14535 .loc 1 2599 5 discriminator 3 view .LVU4302 14536 004a 1A68 ldr r2, [r3] 14537 004c 22F00102 bic r2, r2, #1 14538 0050 1A60 str r2, [r3] ARM GAS /tmp/ccGjXOU1.s page 461 14539 .L1110: 2599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14540 .loc 1 2599 5 discriminator 5 view .LVU4303 2602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 14541 .loc 1 2602 5 view .LVU4304 14542 0052 102C cmp r4, #16 14543 0054 3CD8 bhi .L1111 14544 0056 DFE804F0 tbb [pc, r4] 14545 .L1113: 14546 005a 24 .byte (.L1117-.L1113)/2 14547 005b 3B .byte (.L1111-.L1113)/2 14548 005c 3B .byte (.L1111-.L1113)/2 14549 005d 3B .byte (.L1111-.L1113)/2 14550 005e 2B .byte (.L1116-.L1113)/2 14551 005f 3B .byte (.L1111-.L1113)/2 14552 0060 3B .byte (.L1111-.L1113)/2 14553 0061 3B .byte (.L1111-.L1113)/2 14554 0062 2F .byte (.L1115-.L1113)/2 14555 0063 3B .byte (.L1111-.L1113)/2 14556 0064 3B .byte (.L1111-.L1113)/2 14557 0065 3B .byte (.L1111-.L1113)/2 14558 0066 33 .byte (.L1114-.L1113)/2 14559 0067 3B .byte (.L1111-.L1113)/2 14560 0068 3B .byte (.L1111-.L1113)/2 14561 0069 3B .byte (.L1111-.L1113)/2 14562 006a 37 .byte (.L1112-.L1113)/2 14563 006b 00 .p2align 1 14564 .L1107: 2570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 14565 .loc 1 2570 7 view .LVU4305 14566 006c 2A68 ldr r2, [r5] 14567 006e D368 ldr r3, [r2, #12] 14568 0070 23F48063 bic r3, r3, #1024 14569 0074 D360 str r3, [r2, #12] 2571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14570 .loc 1 2571 7 view .LVU4306 2571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14571 .loc 1 2571 13 is_stmt 0 view .LVU4307 14572 0076 A86A ldr r0, [r5, #40] 14573 0078 FFF7FEFF bl HAL_DMA_Abort_IT 14574 .LVL1097: 2572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14575 .loc 1 2572 7 is_stmt 1 view .LVU4308 2596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14576 .loc 1 2596 3 view .LVU4309 14577 007c DAE7 b .L1109 14578 .L1106: 2578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 14579 .loc 1 2578 7 view .LVU4310 14580 007e 2A68 ldr r2, [r5] 14581 0080 D368 ldr r3, [r2, #12] 14582 0082 23F40063 bic r3, r3, #2048 14583 0086 D360 str r3, [r2, #12] 2579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14584 .loc 1 2579 7 view .LVU4311 2579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14585 .loc 1 2579 13 is_stmt 0 view .LVU4312 ARM GAS /tmp/ccGjXOU1.s page 462 14586 0088 E86A ldr r0, [r5, #44] 14587 008a FFF7FEFF bl HAL_DMA_Abort_IT 14588 .LVL1098: 2580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14589 .loc 1 2580 7 is_stmt 1 view .LVU4313 2596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14590 .loc 1 2596 3 view .LVU4314 14591 008e D1E7 b .L1109 14592 .L1104: 2586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 14593 .loc 1 2586 7 view .LVU4315 14594 0090 2A68 ldr r2, [r5] 14595 0092 D368 ldr r3, [r2, #12] 14596 0094 23F48053 bic r3, r3, #4096 14597 0098 D360 str r3, [r2, #12] 2587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14598 .loc 1 2587 7 view .LVU4316 2587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14599 .loc 1 2587 13 is_stmt 0 view .LVU4317 14600 009a 286B ldr r0, [r5, #48] 14601 009c FFF7FEFF bl HAL_DMA_Abort_IT 14602 .LVL1099: 2588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14603 .loc 1 2588 7 is_stmt 1 view .LVU4318 2596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14604 .loc 1 2596 3 view .LVU4319 14605 00a0 C8E7 b .L1109 14606 .L1117: 2602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 14607 .loc 1 2602 5 is_stmt 0 discriminator 1 view .LVU4320 14608 00a2 0123 movs r3, #1 14609 00a4 85F83E30 strb r3, [r5, #62] 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14610 .loc 1 2603 5 is_stmt 1 view .LVU4321 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14611 .loc 1 2603 5 is_stmt 0 discriminator 1 view .LVU4322 14612 00a8 85F84430 strb r3, [r5, #68] 14613 00ac 0020 movs r0, #0 14614 00ae 26E0 b .L1103 14615 .L1116: 2602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 14616 .loc 1 2602 5 discriminator 3 view .LVU4323 14617 00b0 0123 movs r3, #1 14618 00b2 85F83F30 strb r3, [r5, #63] 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14619 .loc 1 2603 5 is_stmt 1 view .LVU4324 14620 00b6 0EE0 b .L1118 14621 .L1115: 2602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 14622 .loc 1 2602 5 is_stmt 0 discriminator 6 view .LVU4325 14623 00b8 0123 movs r3, #1 14624 00ba 85F84030 strb r3, [r5, #64] 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14625 .loc 1 2603 5 is_stmt 1 view .LVU4326 14626 00be 0AE0 b .L1118 14627 .L1114: 2602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); ARM GAS /tmp/ccGjXOU1.s page 463 14628 .loc 1 2602 5 is_stmt 0 discriminator 9 view .LVU4327 14629 00c0 0123 movs r3, #1 14630 00c2 85F84130 strb r3, [r5, #65] 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14631 .loc 1 2603 5 is_stmt 1 view .LVU4328 14632 00c6 06E0 b .L1118 14633 .L1112: 2602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 14634 .loc 1 2602 5 is_stmt 0 discriminator 12 view .LVU4329 14635 00c8 0123 movs r3, #1 14636 00ca 85F84230 strb r3, [r5, #66] 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14637 .loc 1 2603 5 is_stmt 1 view .LVU4330 14638 00ce 02E0 b .L1118 14639 .L1111: 2602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 14640 .loc 1 2602 5 is_stmt 0 discriminator 13 view .LVU4331 14641 00d0 0123 movs r3, #1 14642 00d2 85F84330 strb r3, [r5, #67] 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14643 .loc 1 2603 5 is_stmt 1 view .LVU4332 14644 .L1118: 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14645 .loc 1 2603 5 is_stmt 0 discriminator 2 view .LVU4333 14646 00d6 042C cmp r4, #4 14647 00d8 06D0 beq .L1123 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14648 .loc 1 2603 5 discriminator 4 view .LVU4334 14649 00da 082C cmp r4, #8 14650 00dc 09D0 beq .L1124 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14651 .loc 1 2603 5 discriminator 7 view .LVU4335 14652 00de 0123 movs r3, #1 14653 00e0 85F84730 strb r3, [r5, #71] 14654 00e4 0020 movs r0, #0 14655 00e6 0AE0 b .L1103 14656 .L1123: 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14657 .loc 1 2603 5 discriminator 3 view .LVU4336 14658 00e8 0123 movs r3, #1 14659 00ea 85F84530 strb r3, [r5, #69] 14660 00ee 0020 movs r0, #0 14661 00f0 05E0 b .L1103 14662 .L1124: 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14663 .loc 1 2603 5 discriminator 6 view .LVU4337 14664 00f2 0123 movs r3, #1 14665 00f4 85F84630 strb r3, [r5, #70] 14666 00f8 0020 movs r0, #0 14667 00fa 00E0 b .L1103 14668 .L1121: 2557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14669 .loc 1 2557 3 view .LVU4338 14670 00fc 0120 movs r0, #1 14671 .L1103: 14672 .LVL1100: 2607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/ccGjXOU1.s page 464 14673 .loc 1 2607 3 is_stmt 1 view .LVU4339 2608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 14674 .loc 1 2608 1 is_stmt 0 view .LVU4340 14675 00fe 38BD pop {r3, r4, r5, pc} 2608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 14676 .loc 1 2608 1 view .LVU4341 14677 .cfi_endproc 14678 .LFE368: 14680 .section .text.HAL_TIM_OnePulse_Start,"ax",%progbits 14681 .align 1 14682 .global HAL_TIM_OnePulse_Start 14683 .syntax unified 14684 .thumb 14685 .thumb_func 14687 HAL_TIM_OnePulse_Start: 14688 .LVL1101: 14689 .LFB373: 2801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 14690 .loc 1 2801 1 is_stmt 1 view -0 14691 .cfi_startproc 14692 @ args = 0, pretend = 0, frame = 0 14693 @ frame_needed = 0, uses_anonymous_args = 0 2801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 14694 .loc 1 2801 1 is_stmt 0 view .LVU4343 14695 0000 10B5 push {r4, lr} 14696 .LCFI103: 14697 .cfi_def_cfa_offset 8 14698 .cfi_offset 4, -8 14699 .cfi_offset 14, -4 14700 0002 0446 mov r4, r0 2802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 14701 .loc 1 2802 3 is_stmt 1 view .LVU4344 2802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 14702 .loc 1 2802 31 is_stmt 0 view .LVU4345 14703 0004 90F83EC0 ldrb ip, [r0, #62] @ zero_extendqisi2 14704 .LVL1102: 2803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 14705 .loc 1 2803 3 is_stmt 1 view .LVU4346 2803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 14706 .loc 1 2803 31 is_stmt 0 view .LVU4347 14707 0008 90F83F30 ldrb r3, [r0, #63] @ zero_extendqisi2 14708 .LVL1103: 2804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 14709 .loc 1 2804 3 is_stmt 1 view .LVU4348 2804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 14710 .loc 1 2804 31 is_stmt 0 view .LVU4349 14711 000c 90F84420 ldrb r2, [r0, #68] @ zero_extendqisi2 14712 .LVL1104: 2805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14713 .loc 1 2805 3 is_stmt 1 view .LVU4350 2805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14714 .loc 1 2805 31 is_stmt 0 view .LVU4351 14715 0010 90F84510 ldrb r1, [r0, #69] @ zero_extendqisi2 14716 .LVL1105: 2808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14717 .loc 1 2808 3 is_stmt 1 view .LVU4352 2811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) ARM GAS /tmp/ccGjXOU1.s page 465 14718 .loc 1 2811 3 view .LVU4353 2811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 14719 .loc 1 2811 6 is_stmt 0 view .LVU4354 14720 0014 BCF1010F cmp ip, #1 14721 0018 3AD1 bne .L1128 14722 001a 5FFA8CF0 uxtb r0, ip 14723 .LVL1106: 2811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 14724 .loc 1 2811 6 view .LVU4355 14725 001e DBB2 uxtb r3, r3 2811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 14726 .loc 1 2811 6 view .LVU4356 14727 0020 D2B2 uxtb r2, r2 2811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 14728 .loc 1 2811 6 view .LVU4357 14729 0022 C9B2 uxtb r1, r1 2812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 14730 .loc 1 2812 7 view .LVU4358 14731 0024 012B cmp r3, #1 14732 0026 34D1 bne .L1126 2813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 14733 .loc 1 2813 7 view .LVU4359 14734 0028 012A cmp r2, #1 14735 002a 33D1 bne .L1129 2814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14736 .loc 1 2814 7 view .LVU4360 14737 002c 0129 cmp r1, #1 14738 002e 01D0 beq .L1133 2816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14739 .loc 1 2816 12 view .LVU4361 14740 0030 1046 mov r0, r2 14741 0032 2EE0 b .L1126 14742 .L1133: 2820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 14743 .loc 1 2820 3 is_stmt 1 view .LVU4362 14744 0034 0223 movs r3, #2 14745 .LVL1107: 2820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 14746 .loc 1 2820 3 is_stmt 0 view .LVU4363 14747 0036 84F83E30 strb r3, [r4, #62] 2821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 14748 .loc 1 2821 3 is_stmt 1 view .LVU4364 14749 003a 84F83F30 strb r3, [r4, #63] 2822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 14750 .loc 1 2822 3 view .LVU4365 14751 003e 84F84430 strb r3, [r4, #68] 2823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14752 .loc 1 2823 3 view .LVU4366 14753 0042 84F84530 strb r3, [r4, #69] 2834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 14754 .loc 1 2834 3 view .LVU4367 14755 0046 0021 movs r1, #0 14756 .LVL1108: 2834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 14757 .loc 1 2834 3 is_stmt 0 view .LVU4368 14758 0048 2068 ldr r0, [r4] 14759 004a FFF7FEFF bl TIM_CCxChannelCmd ARM GAS /tmp/ccGjXOU1.s page 466 14760 .LVL1109: 2835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14761 .loc 1 2835 3 is_stmt 1 view .LVU4369 14762 004e 0122 movs r2, #1 14763 0050 0421 movs r1, #4 14764 0052 2068 ldr r0, [r4] 14765 0054 FFF7FEFF bl TIM_CCxChannelCmd 14766 .LVL1110: 2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14767 .loc 1 2837 3 view .LVU4370 2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14768 .loc 1 2837 7 is_stmt 0 view .LVU4371 14769 0058 2368 ldr r3, [r4] 14770 005a 0F4A ldr r2, .L1134 14771 005c 9342 cmp r3, r2 14772 005e 11D0 beq .L1127 2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14773 .loc 1 2837 7 discriminator 2 view .LVU4372 14774 0060 02F50062 add r2, r2, #2048 14775 0064 9342 cmp r3, r2 14776 0066 0DD0 beq .L1127 2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14777 .loc 1 2837 7 discriminator 4 view .LVU4373 14778 0068 02F54062 add r2, r2, #3072 14779 006c 9342 cmp r3, r2 14780 006e 09D0 beq .L1127 2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14781 .loc 1 2837 7 discriminator 6 view .LVU4374 14782 0070 02F58062 add r2, r2, #1024 14783 0074 9342 cmp r3, r2 14784 0076 05D0 beq .L1127 2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14785 .loc 1 2837 7 discriminator 8 view .LVU4375 14786 0078 02F58062 add r2, r2, #1024 14787 007c 9342 cmp r3, r2 14788 007e 01D0 beq .L1127 2844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14789 .loc 1 2844 10 view .LVU4376 14790 0080 0020 movs r0, #0 14791 0082 06E0 b .L1126 14792 .L1127: 2840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14793 .loc 1 2840 5 is_stmt 1 view .LVU4377 14794 0084 5A6C ldr r2, [r3, #68] 14795 0086 42F40042 orr r2, r2, #32768 14796 008a 5A64 str r2, [r3, #68] 2844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14797 .loc 1 2844 10 is_stmt 0 view .LVU4378 14798 008c 0020 movs r0, #0 14799 008e 00E0 b .L1126 14800 .LVL1111: 14801 .L1128: 2816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14802 .loc 1 2816 12 view .LVU4379 14803 0090 0120 movs r0, #1 14804 .LVL1112: 14805 .L1126: ARM GAS /tmp/ccGjXOU1.s page 467 2845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14806 .loc 1 2845 1 view .LVU4380 14807 0092 10BD pop {r4, pc} 14808 .LVL1113: 14809 .L1129: 2816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14810 .loc 1 2816 12 view .LVU4381 14811 0094 1846 mov r0, r3 14812 0096 FCE7 b .L1126 14813 .L1135: 14814 .align 2 14815 .L1134: 14816 0098 002C0140 .word 1073818624 14817 .cfi_endproc 14818 .LFE373: 14820 .section .text.HAL_TIM_OnePulse_Stop,"ax",%progbits 14821 .align 1 14822 .global HAL_TIM_OnePulse_Stop 14823 .syntax unified 14824 .thumb 14825 .thumb_func 14827 HAL_TIM_OnePulse_Stop: 14828 .LVL1114: 14829 .LFB374: 2858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 14830 .loc 1 2858 1 is_stmt 1 view -0 14831 .cfi_startproc 14832 @ args = 0, pretend = 0, frame = 0 14833 @ frame_needed = 0, uses_anonymous_args = 0 2858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 14834 .loc 1 2858 1 is_stmt 0 view .LVU4383 14835 0000 10B5 push {r4, lr} 14836 .LCFI104: 14837 .cfi_def_cfa_offset 8 14838 .cfi_offset 4, -8 14839 .cfi_offset 14, -4 14840 0002 0446 mov r4, r0 2860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14841 .loc 1 2860 3 is_stmt 1 view .LVU4384 2868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 14842 .loc 1 2868 3 view .LVU4385 14843 0004 0022 movs r2, #0 14844 0006 1146 mov r1, r2 14845 .LVL1115: 2868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 14846 .loc 1 2868 3 is_stmt 0 view .LVU4386 14847 0008 0068 ldr r0, [r0] 14848 .LVL1116: 2868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 14849 .loc 1 2868 3 view .LVU4387 14850 000a FFF7FEFF bl TIM_CCxChannelCmd 14851 .LVL1117: 2869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14852 .loc 1 2869 3 is_stmt 1 view .LVU4388 14853 000e 0022 movs r2, #0 14854 0010 0421 movs r1, #4 14855 0012 2068 ldr r0, [r4] ARM GAS /tmp/ccGjXOU1.s page 468 14856 0014 FFF7FEFF bl TIM_CCxChannelCmd 14857 .LVL1118: 2871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14858 .loc 1 2871 3 view .LVU4389 2871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14859 .loc 1 2871 7 is_stmt 0 view .LVU4390 14860 0018 2368 ldr r3, [r4] 14861 001a 1D4A ldr r2, .L1141 14862 001c 9342 cmp r3, r2 14863 001e 0FD0 beq .L1137 2871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14864 .loc 1 2871 7 discriminator 2 view .LVU4391 14865 0020 02F50062 add r2, r2, #2048 14866 0024 9342 cmp r3, r2 14867 0026 0BD0 beq .L1137 2871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14868 .loc 1 2871 7 discriminator 4 view .LVU4392 14869 0028 02F54062 add r2, r2, #3072 14870 002c 9342 cmp r3, r2 14871 002e 07D0 beq .L1137 2871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14872 .loc 1 2871 7 discriminator 6 view .LVU4393 14873 0030 02F58062 add r2, r2, #1024 14874 0034 9342 cmp r3, r2 14875 0036 03D0 beq .L1137 2871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14876 .loc 1 2871 7 discriminator 8 view .LVU4394 14877 0038 02F58062 add r2, r2, #1024 14878 003c 9342 cmp r3, r2 14879 003e 0DD1 bne .L1138 14880 .L1137: 2874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14881 .loc 1 2874 5 is_stmt 1 view .LVU4395 2874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14882 .loc 1 2874 5 view .LVU4396 14883 0040 196A ldr r1, [r3, #32] 14884 0042 41F21112 movw r2, #4369 14885 0046 1142 tst r1, r2 14886 0048 08D1 bne .L1138 2874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14887 .loc 1 2874 5 discriminator 1 view .LVU4397 14888 004a 196A ldr r1, [r3, #32] 14889 004c 44F24442 movw r2, #17476 14890 0050 1142 tst r1, r2 14891 0052 03D1 bne .L1138 2874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14892 .loc 1 2874 5 discriminator 3 view .LVU4398 14893 0054 5A6C ldr r2, [r3, #68] 14894 0056 22F40042 bic r2, r2, #32768 14895 005a 5A64 str r2, [r3, #68] 14896 .L1138: 2874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14897 .loc 1 2874 5 discriminator 5 view .LVU4399 2878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14898 .loc 1 2878 3 view .LVU4400 2878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14899 .loc 1 2878 3 view .LVU4401 ARM GAS /tmp/ccGjXOU1.s page 469 14900 005c 2368 ldr r3, [r4] 14901 005e 196A ldr r1, [r3, #32] 14902 0060 41F21112 movw r2, #4369 14903 0064 1142 tst r1, r2 14904 0066 08D1 bne .L1139 2878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14905 .loc 1 2878 3 discriminator 1 view .LVU4402 14906 0068 196A ldr r1, [r3, #32] 14907 006a 44F24442 movw r2, #17476 14908 006e 1142 tst r1, r2 14909 0070 03D1 bne .L1139 2878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14910 .loc 1 2878 3 discriminator 3 view .LVU4403 14911 0072 1A68 ldr r2, [r3] 14912 0074 22F00102 bic r2, r2, #1 14913 0078 1A60 str r2, [r3] 14914 .L1139: 2878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14915 .loc 1 2878 3 discriminator 5 view .LVU4404 2881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 14916 .loc 1 2881 3 view .LVU4405 14917 007a 0123 movs r3, #1 14918 007c 84F83E30 strb r3, [r4, #62] 2882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 14919 .loc 1 2882 3 view .LVU4406 14920 0080 84F83F30 strb r3, [r4, #63] 2883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 14921 .loc 1 2883 3 view .LVU4407 14922 0084 84F84430 strb r3, [r4, #68] 2884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14923 .loc 1 2884 3 view .LVU4408 14924 0088 84F84530 strb r3, [r4, #69] 2887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14925 .loc 1 2887 3 view .LVU4409 2888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14926 .loc 1 2888 1 is_stmt 0 view .LVU4410 14927 008c 0020 movs r0, #0 14928 008e 10BD pop {r4, pc} 14929 .LVL1119: 14930 .L1142: 2888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14931 .loc 1 2888 1 view .LVU4411 14932 .align 2 14933 .L1141: 14934 0090 002C0140 .word 1073818624 14935 .cfi_endproc 14936 .LFE374: 14938 .section .text.HAL_TIM_OnePulse_Start_IT,"ax",%progbits 14939 .align 1 14940 .global HAL_TIM_OnePulse_Start_IT 14941 .syntax unified 14942 .thumb 14943 .thumb_func 14945 HAL_TIM_OnePulse_Start_IT: 14946 .LVL1120: 14947 .LFB375: 2901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); ARM GAS /tmp/ccGjXOU1.s page 470 14948 .loc 1 2901 1 is_stmt 1 view -0 14949 .cfi_startproc 14950 @ args = 0, pretend = 0, frame = 0 14951 @ frame_needed = 0, uses_anonymous_args = 0 2901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 14952 .loc 1 2901 1 is_stmt 0 view .LVU4413 14953 0000 10B5 push {r4, lr} 14954 .LCFI105: 14955 .cfi_def_cfa_offset 8 14956 .cfi_offset 4, -8 14957 .cfi_offset 14, -4 14958 0002 0446 mov r4, r0 2902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 14959 .loc 1 2902 3 is_stmt 1 view .LVU4414 2902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 14960 .loc 1 2902 31 is_stmt 0 view .LVU4415 14961 0004 90F83EC0 ldrb ip, [r0, #62] @ zero_extendqisi2 14962 .LVL1121: 2903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 14963 .loc 1 2903 3 is_stmt 1 view .LVU4416 2903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 14964 .loc 1 2903 31 is_stmt 0 view .LVU4417 14965 0008 90F83F30 ldrb r3, [r0, #63] @ zero_extendqisi2 14966 .LVL1122: 2904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 14967 .loc 1 2904 3 is_stmt 1 view .LVU4418 2904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 14968 .loc 1 2904 31 is_stmt 0 view .LVU4419 14969 000c 90F84420 ldrb r2, [r0, #68] @ zero_extendqisi2 14970 .LVL1123: 2905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14971 .loc 1 2905 3 is_stmt 1 view .LVU4420 2905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14972 .loc 1 2905 31 is_stmt 0 view .LVU4421 14973 0010 90F84510 ldrb r1, [r0, #69] @ zero_extendqisi2 14974 .LVL1124: 2908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14975 .loc 1 2908 3 is_stmt 1 view .LVU4422 2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 14976 .loc 1 2911 3 view .LVU4423 2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 14977 .loc 1 2911 6 is_stmt 0 view .LVU4424 14978 0014 BCF1010F cmp ip, #1 14979 0018 45D1 bne .L1146 14980 001a 5FFA8CF0 uxtb r0, ip 14981 .LVL1125: 2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 14982 .loc 1 2911 6 view .LVU4425 14983 001e DBB2 uxtb r3, r3 2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 14984 .loc 1 2911 6 view .LVU4426 14985 0020 D2B2 uxtb r2, r2 2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 14986 .loc 1 2911 6 view .LVU4427 14987 0022 C9B2 uxtb r1, r1 2912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 14988 .loc 1 2912 7 view .LVU4428 ARM GAS /tmp/ccGjXOU1.s page 471 14989 0024 012B cmp r3, #1 14990 0026 3FD1 bne .L1144 2913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 14991 .loc 1 2913 7 view .LVU4429 14992 0028 012A cmp r2, #1 14993 002a 3ED1 bne .L1147 2914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14994 .loc 1 2914 7 view .LVU4430 14995 002c 0129 cmp r1, #1 14996 002e 01D0 beq .L1151 2916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14997 .loc 1 2916 12 view .LVU4431 14998 0030 1046 mov r0, r2 14999 0032 39E0 b .L1144 15000 .L1151: 2920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15001 .loc 1 2920 3 is_stmt 1 view .LVU4432 15002 0034 0223 movs r3, #2 15003 .LVL1126: 2920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15004 .loc 1 2920 3 is_stmt 0 view .LVU4433 15005 0036 84F83E30 strb r3, [r4, #62] 2921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 15006 .loc 1 2921 3 is_stmt 1 view .LVU4434 15007 003a 84F83F30 strb r3, [r4, #63] 2922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15008 .loc 1 2922 3 view .LVU4435 15009 003e 84F84430 strb r3, [r4, #68] 2923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15010 .loc 1 2923 3 view .LVU4436 15011 0042 84F84530 strb r3, [r4, #69] 2935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15012 .loc 1 2935 3 view .LVU4437 15013 0046 2268 ldr r2, [r4] 15014 .LVL1127: 2935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15015 .loc 1 2935 3 is_stmt 0 view .LVU4438 15016 0048 D368 ldr r3, [r2, #12] 15017 004a 43F00203 orr r3, r3, #2 15018 004e D360 str r3, [r2, #12] 2938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15019 .loc 1 2938 3 is_stmt 1 view .LVU4439 15020 0050 2268 ldr r2, [r4] 15021 0052 D368 ldr r3, [r2, #12] 15022 0054 43F00403 orr r3, r3, #4 15023 0058 D360 str r3, [r2, #12] 2940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15024 .loc 1 2940 3 view .LVU4440 15025 005a 0122 movs r2, #1 15026 005c 0021 movs r1, #0 15027 .LVL1128: 2940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15028 .loc 1 2940 3 is_stmt 0 view .LVU4441 15029 005e 2068 ldr r0, [r4] 15030 0060 FFF7FEFF bl TIM_CCxChannelCmd 15031 .LVL1129: 2941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 472 15032 .loc 1 2941 3 is_stmt 1 view .LVU4442 15033 0064 0122 movs r2, #1 15034 0066 0421 movs r1, #4 15035 0068 2068 ldr r0, [r4] 15036 006a FFF7FEFF bl TIM_CCxChannelCmd 15037 .LVL1130: 2943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15038 .loc 1 2943 3 view .LVU4443 2943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15039 .loc 1 2943 7 is_stmt 0 view .LVU4444 15040 006e 2368 ldr r3, [r4] 15041 0070 0F4A ldr r2, .L1152 15042 0072 9342 cmp r3, r2 15043 0074 11D0 beq .L1145 2943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15044 .loc 1 2943 7 discriminator 2 view .LVU4445 15045 0076 02F50062 add r2, r2, #2048 15046 007a 9342 cmp r3, r2 15047 007c 0DD0 beq .L1145 2943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15048 .loc 1 2943 7 discriminator 4 view .LVU4446 15049 007e 02F54062 add r2, r2, #3072 15050 0082 9342 cmp r3, r2 15051 0084 09D0 beq .L1145 2943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15052 .loc 1 2943 7 discriminator 6 view .LVU4447 15053 0086 02F58062 add r2, r2, #1024 15054 008a 9342 cmp r3, r2 15055 008c 05D0 beq .L1145 2943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15056 .loc 1 2943 7 discriminator 8 view .LVU4448 15057 008e 02F58062 add r2, r2, #1024 15058 0092 9342 cmp r3, r2 15059 0094 01D0 beq .L1145 2950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15060 .loc 1 2950 10 view .LVU4449 15061 0096 0020 movs r0, #0 15062 0098 06E0 b .L1144 15063 .L1145: 2946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15064 .loc 1 2946 5 is_stmt 1 view .LVU4450 15065 009a 5A6C ldr r2, [r3, #68] 15066 009c 42F40042 orr r2, r2, #32768 15067 00a0 5A64 str r2, [r3, #68] 2950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15068 .loc 1 2950 10 is_stmt 0 view .LVU4451 15069 00a2 0020 movs r0, #0 15070 00a4 00E0 b .L1144 15071 .LVL1131: 15072 .L1146: 2916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15073 .loc 1 2916 12 view .LVU4452 15074 00a6 0120 movs r0, #1 15075 .LVL1132: 15076 .L1144: 2951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15077 .loc 1 2951 1 view .LVU4453 ARM GAS /tmp/ccGjXOU1.s page 473 15078 00a8 10BD pop {r4, pc} 15079 .LVL1133: 15080 .L1147: 2916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15081 .loc 1 2916 12 view .LVU4454 15082 00aa 1846 mov r0, r3 15083 00ac FCE7 b .L1144 15084 .L1153: 15085 00ae 00BF .align 2 15086 .L1152: 15087 00b0 002C0140 .word 1073818624 15088 .cfi_endproc 15089 .LFE375: 15091 .section .text.HAL_TIM_OnePulse_Stop_IT,"ax",%progbits 15092 .align 1 15093 .global HAL_TIM_OnePulse_Stop_IT 15094 .syntax unified 15095 .thumb 15096 .thumb_func 15098 HAL_TIM_OnePulse_Stop_IT: 15099 .LVL1134: 15100 .LFB376: 2964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 15101 .loc 1 2964 1 is_stmt 1 view -0 15102 .cfi_startproc 15103 @ args = 0, pretend = 0, frame = 0 15104 @ frame_needed = 0, uses_anonymous_args = 0 2964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 15105 .loc 1 2964 1 is_stmt 0 view .LVU4456 15106 0000 10B5 push {r4, lr} 15107 .LCFI106: 15108 .cfi_def_cfa_offset 8 15109 .cfi_offset 4, -8 15110 .cfi_offset 14, -4 15111 0002 0446 mov r4, r0 2966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15112 .loc 1 2966 3 is_stmt 1 view .LVU4457 2969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15113 .loc 1 2969 3 view .LVU4458 15114 0004 0268 ldr r2, [r0] 15115 0006 D368 ldr r3, [r2, #12] 15116 0008 23F00203 bic r3, r3, #2 15117 000c D360 str r3, [r2, #12] 2972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15118 .loc 1 2972 3 view .LVU4459 15119 000e 0268 ldr r2, [r0] 15120 0010 D368 ldr r3, [r2, #12] 15121 0012 23F00403 bic r3, r3, #4 15122 0016 D360 str r3, [r2, #12] 2979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15123 .loc 1 2979 3 view .LVU4460 15124 0018 0022 movs r2, #0 15125 001a 1146 mov r1, r2 15126 .LVL1135: 2979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15127 .loc 1 2979 3 is_stmt 0 view .LVU4461 15128 001c 0068 ldr r0, [r0] ARM GAS /tmp/ccGjXOU1.s page 474 15129 .LVL1136: 2979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15130 .loc 1 2979 3 view .LVU4462 15131 001e FFF7FEFF bl TIM_CCxChannelCmd 15132 .LVL1137: 2980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15133 .loc 1 2980 3 is_stmt 1 view .LVU4463 15134 0022 0022 movs r2, #0 15135 0024 0421 movs r1, #4 15136 0026 2068 ldr r0, [r4] 15137 0028 FFF7FEFF bl TIM_CCxChannelCmd 15138 .LVL1138: 2982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15139 .loc 1 2982 3 view .LVU4464 2982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15140 .loc 1 2982 7 is_stmt 0 view .LVU4465 15141 002c 2368 ldr r3, [r4] 15142 002e 1D4A ldr r2, .L1159 15143 0030 9342 cmp r3, r2 15144 0032 0FD0 beq .L1155 2982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15145 .loc 1 2982 7 discriminator 2 view .LVU4466 15146 0034 02F50062 add r2, r2, #2048 15147 0038 9342 cmp r3, r2 15148 003a 0BD0 beq .L1155 2982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15149 .loc 1 2982 7 discriminator 4 view .LVU4467 15150 003c 02F54062 add r2, r2, #3072 15151 0040 9342 cmp r3, r2 15152 0042 07D0 beq .L1155 2982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15153 .loc 1 2982 7 discriminator 6 view .LVU4468 15154 0044 02F58062 add r2, r2, #1024 15155 0048 9342 cmp r3, r2 15156 004a 03D0 beq .L1155 2982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15157 .loc 1 2982 7 discriminator 8 view .LVU4469 15158 004c 02F58062 add r2, r2, #1024 15159 0050 9342 cmp r3, r2 15160 0052 0DD1 bne .L1156 15161 .L1155: 2985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15162 .loc 1 2985 5 is_stmt 1 view .LVU4470 2985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15163 .loc 1 2985 5 view .LVU4471 15164 0054 196A ldr r1, [r3, #32] 15165 0056 41F21112 movw r2, #4369 15166 005a 1142 tst r1, r2 15167 005c 08D1 bne .L1156 2985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15168 .loc 1 2985 5 discriminator 1 view .LVU4472 15169 005e 196A ldr r1, [r3, #32] 15170 0060 44F24442 movw r2, #17476 15171 0064 1142 tst r1, r2 15172 0066 03D1 bne .L1156 2985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15173 .loc 1 2985 5 discriminator 3 view .LVU4473 ARM GAS /tmp/ccGjXOU1.s page 475 15174 0068 5A6C ldr r2, [r3, #68] 15175 006a 22F40042 bic r2, r2, #32768 15176 006e 5A64 str r2, [r3, #68] 15177 .L1156: 2985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15178 .loc 1 2985 5 discriminator 5 view .LVU4474 2989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15179 .loc 1 2989 3 view .LVU4475 2989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15180 .loc 1 2989 3 view .LVU4476 15181 0070 2368 ldr r3, [r4] 15182 0072 196A ldr r1, [r3, #32] 15183 0074 41F21112 movw r2, #4369 15184 0078 1142 tst r1, r2 15185 007a 08D1 bne .L1157 2989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15186 .loc 1 2989 3 discriminator 1 view .LVU4477 15187 007c 196A ldr r1, [r3, #32] 15188 007e 44F24442 movw r2, #17476 15189 0082 1142 tst r1, r2 15190 0084 03D1 bne .L1157 2989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15191 .loc 1 2989 3 discriminator 3 view .LVU4478 15192 0086 1A68 ldr r2, [r3] 15193 0088 22F00102 bic r2, r2, #1 15194 008c 1A60 str r2, [r3] 15195 .L1157: 2989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15196 .loc 1 2989 3 discriminator 5 view .LVU4479 2992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 15197 .loc 1 2992 3 view .LVU4480 15198 008e 0123 movs r3, #1 15199 0090 84F83E30 strb r3, [r4, #62] 2993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 15200 .loc 1 2993 3 view .LVU4481 15201 0094 84F83F30 strb r3, [r4, #63] 2994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 15202 .loc 1 2994 3 view .LVU4482 15203 0098 84F84430 strb r3, [r4, #68] 2995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15204 .loc 1 2995 3 view .LVU4483 15205 009c 84F84530 strb r3, [r4, #69] 2998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15206 .loc 1 2998 3 view .LVU4484 2999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15207 .loc 1 2999 1 is_stmt 0 view .LVU4485 15208 00a0 0020 movs r0, #0 15209 00a2 10BD pop {r4, pc} 15210 .LVL1139: 15211 .L1160: 2999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15212 .loc 1 2999 1 view .LVU4486 15213 .align 2 15214 .L1159: 15215 00a4 002C0140 .word 1073818624 15216 .cfi_endproc 15217 .LFE376: ARM GAS /tmp/ccGjXOU1.s page 476 15219 .section .text.HAL_TIM_Encoder_Start,"ax",%progbits 15220 .align 1 15221 .global HAL_TIM_Encoder_Start 15222 .syntax unified 15223 .thumb 15224 .thumb_func 15226 HAL_TIM_Encoder_Start: 15227 .LVL1140: 15228 .LFB381: 3238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 15229 .loc 1 3238 1 is_stmt 1 view -0 15230 .cfi_startproc 15231 @ args = 0, pretend = 0, frame = 0 15232 @ frame_needed = 0, uses_anonymous_args = 0 3238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 15233 .loc 1 3238 1 is_stmt 0 view .LVU4488 15234 0000 38B5 push {r3, r4, r5, lr} 15235 .LCFI107: 15236 .cfi_def_cfa_offset 16 15237 .cfi_offset 3, -16 15238 .cfi_offset 4, -12 15239 .cfi_offset 5, -8 15240 .cfi_offset 14, -4 15241 0002 0446 mov r4, r0 3239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 15242 .loc 1 3239 3 is_stmt 1 view .LVU4489 3239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 15243 .loc 1 3239 31 is_stmt 0 view .LVU4490 15244 0004 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 15245 .LVL1141: 3239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 15246 .loc 1 3239 31 view .LVU4491 15247 0008 C0B2 uxtb r0, r0 15248 .LVL1142: 3240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 15249 .loc 1 3240 3 is_stmt 1 view .LVU4492 3240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 15250 .loc 1 3240 31 is_stmt 0 view .LVU4493 15251 000a 94F83F30 ldrb r3, [r4, #63] @ zero_extendqisi2 15252 .LVL1143: 3241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 15253 .loc 1 3241 3 is_stmt 1 view .LVU4494 3241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 15254 .loc 1 3241 31 is_stmt 0 view .LVU4495 15255 000e 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2 15256 0012 D2B2 uxtb r2, r2 15257 .LVL1144: 3242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15258 .loc 1 3242 3 is_stmt 1 view .LVU4496 3242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15259 .loc 1 3242 31 is_stmt 0 view .LVU4497 15260 0014 94F845C0 ldrb ip, [r4, #69] @ zero_extendqisi2 15261 .LVL1145: 3245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15262 .loc 1 3245 3 is_stmt 1 view .LVU4498 3248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15263 .loc 1 3248 3 view .LVU4499 ARM GAS /tmp/ccGjXOU1.s page 477 3248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15264 .loc 1 3248 6 is_stmt 0 view .LVU4500 15265 0018 0D46 mov r5, r1 15266 001a B1B9 cbnz r1, .L1162 3250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)) 15267 .loc 1 3250 5 is_stmt 1 view .LVU4501 3250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)) 15268 .loc 1 3250 8 is_stmt 0 view .LVU4502 15269 001c 0128 cmp r0, #1 15270 001e 49D1 bne .L1170 3251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15271 .loc 1 3251 9 view .LVU4503 15272 0020 012A cmp r2, #1 15273 0022 48D1 bne .L1163 3257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 15274 .loc 1 3257 7 is_stmt 1 view .LVU4504 15275 0024 0223 movs r3, #2 15276 .LVL1146: 3257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 15277 .loc 1 3257 7 is_stmt 0 view .LVU4505 15278 0026 84F83E30 strb r3, [r4, #62] 3258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15279 .loc 1 3258 7 is_stmt 1 view .LVU4506 15280 002a 84F84430 strb r3, [r4, #68] 15281 .LVL1147: 15282 .L1164: 3293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15283 .loc 1 3293 3 view .LVU4507 15284 002e 7DB3 cbz r5, .L1166 15285 0030 042D cmp r5, #4 15286 0032 39D0 beq .L1167 3309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15287 .loc 1 3309 7 view .LVU4508 15288 0034 0122 movs r2, #1 15289 .LVL1148: 3309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15290 .loc 1 3309 7 is_stmt 0 view .LVU4509 15291 0036 0021 movs r1, #0 15292 .LVL1149: 3309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15293 .loc 1 3309 7 view .LVU4510 15294 0038 2068 ldr r0, [r4] 15295 .LVL1150: 3309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15296 .loc 1 3309 7 view .LVU4511 15297 003a FFF7FEFF bl TIM_CCxChannelCmd 15298 .LVL1151: 3310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15299 .loc 1 3310 7 is_stmt 1 view .LVU4512 15300 003e 0122 movs r2, #1 15301 0040 0421 movs r1, #4 15302 0042 2068 ldr r0, [r4] 15303 0044 FFF7FEFF bl TIM_CCxChannelCmd 15304 .LVL1152: 3311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15305 .loc 1 3311 7 view .LVU4513 15306 0048 27E0 b .L1169 ARM GAS /tmp/ccGjXOU1.s page 478 15307 .LVL1153: 15308 .L1162: 3311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15309 .loc 1 3311 7 is_stmt 0 view .LVU4514 15310 004a DBB2 uxtb r3, r3 3311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15311 .loc 1 3311 7 view .LVU4515 15312 004c 5FFA8CFC uxtb ip, ip 3261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15313 .loc 1 3261 8 is_stmt 1 view .LVU4516 3261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15314 .loc 1 3261 11 is_stmt 0 view .LVU4517 15315 0050 0429 cmp r1, #4 15316 0052 12D0 beq .L1178 3276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 15317 .loc 1 3276 5 is_stmt 1 view .LVU4518 3276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 15318 .loc 1 3276 8 is_stmt 0 view .LVU4519 15319 0054 0128 cmp r0, #1 15320 0056 33D1 bne .L1173 3277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 15321 .loc 1 3277 9 view .LVU4520 15322 0058 012B cmp r3, #1 15323 005a 2CD1 bne .L1163 3278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 15324 .loc 1 3278 9 view .LVU4521 15325 005c 012A cmp r2, #1 15326 005e 31D1 bne .L1174 3279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15327 .loc 1 3279 9 view .LVU4522 15328 0060 BCF1010F cmp ip, #1 15329 0064 30D1 bne .L1175 3285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15330 .loc 1 3285 7 is_stmt 1 view .LVU4523 15331 0066 0223 movs r3, #2 15332 .LVL1154: 3285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15333 .loc 1 3285 7 is_stmt 0 view .LVU4524 15334 0068 84F83E30 strb r3, [r4, #62] 3286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 15335 .loc 1 3286 7 is_stmt 1 view .LVU4525 15336 006c 84F83F30 strb r3, [r4, #63] 3287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15337 .loc 1 3287 7 view .LVU4526 15338 0070 84F84430 strb r3, [r4, #68] 3288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15339 .loc 1 3288 7 view .LVU4527 15340 0074 84F84530 strb r3, [r4, #69] 15341 0078 D9E7 b .L1164 15342 .LVL1155: 15343 .L1178: 3263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 15344 .loc 1 3263 5 view .LVU4528 3263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 15345 .loc 1 3263 8 is_stmt 0 view .LVU4529 15346 007a 012B cmp r3, #1 15347 007c 1CD1 bne .L1171 ARM GAS /tmp/ccGjXOU1.s page 479 3264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15348 .loc 1 3264 9 view .LVU4530 15349 007e BCF1010F cmp ip, #1 15350 0082 1BD1 bne .L1172 3270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15351 .loc 1 3270 7 is_stmt 1 view .LVU4531 15352 0084 0223 movs r3, #2 15353 .LVL1156: 3270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15354 .loc 1 3270 7 is_stmt 0 view .LVU4532 15355 0086 84F83F30 strb r3, [r4, #63] 3271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15356 .loc 1 3271 7 is_stmt 1 view .LVU4533 15357 008a 84F84530 strb r3, [r4, #69] 15358 008e CEE7 b .L1164 15359 .LVL1157: 15360 .L1166: 3297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15361 .loc 1 3297 7 view .LVU4534 15362 0090 0122 movs r2, #1 15363 .LVL1158: 3297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15364 .loc 1 3297 7 is_stmt 0 view .LVU4535 15365 0092 0021 movs r1, #0 15366 .LVL1159: 3297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15367 .loc 1 3297 7 view .LVU4536 15368 0094 2068 ldr r0, [r4] 15369 .LVL1160: 3297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15370 .loc 1 3297 7 view .LVU4537 15371 0096 FFF7FEFF bl TIM_CCxChannelCmd 15372 .LVL1161: 3298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15373 .loc 1 3298 7 is_stmt 1 view .LVU4538 15374 .L1169: 3315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15375 .loc 1 3315 3 view .LVU4539 15376 009a 2268 ldr r2, [r4] 15377 009c 1368 ldr r3, [r2] 15378 009e 43F00103 orr r3, r3, #1 15379 00a2 1360 str r3, [r2] 3318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15380 .loc 1 3318 3 view .LVU4540 3318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15381 .loc 1 3318 10 is_stmt 0 view .LVU4541 15382 00a4 0020 movs r0, #0 15383 00a6 06E0 b .L1163 15384 .LVL1162: 15385 .L1167: 3303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15386 .loc 1 3303 7 is_stmt 1 view .LVU4542 15387 00a8 0122 movs r2, #1 15388 .LVL1163: 3303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15389 .loc 1 3303 7 is_stmt 0 view .LVU4543 15390 00aa 0421 movs r1, #4 ARM GAS /tmp/ccGjXOU1.s page 480 15391 .LVL1164: 3303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15392 .loc 1 3303 7 view .LVU4544 15393 00ac 2068 ldr r0, [r4] 15394 .LVL1165: 3303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15395 .loc 1 3303 7 view .LVU4545 15396 00ae FFF7FEFF bl TIM_CCxChannelCmd 15397 .LVL1166: 3304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15398 .loc 1 3304 7 is_stmt 1 view .LVU4546 15399 00b2 F2E7 b .L1169 15400 .LVL1167: 15401 .L1170: 3253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15402 .loc 1 3253 14 is_stmt 0 view .LVU4547 15403 00b4 0120 movs r0, #1 15404 .LVL1168: 15405 .L1163: 3319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15406 .loc 1 3319 1 view .LVU4548 15407 00b6 38BD pop {r3, r4, r5, pc} 15408 .LVL1169: 15409 .L1171: 3266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15410 .loc 1 3266 14 view .LVU4549 15411 00b8 0120 movs r0, #1 15412 .LVL1170: 3266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15413 .loc 1 3266 14 view .LVU4550 15414 00ba FCE7 b .L1163 15415 .LVL1171: 15416 .L1172: 3266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15417 .loc 1 3266 14 view .LVU4551 15418 00bc 1846 mov r0, r3 15419 .LVL1172: 3266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15420 .loc 1 3266 14 view .LVU4552 15421 00be FAE7 b .L1163 15422 .LVL1173: 15423 .L1173: 3281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15424 .loc 1 3281 14 view .LVU4553 15425 00c0 0120 movs r0, #1 15426 .LVL1174: 3281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15427 .loc 1 3281 14 view .LVU4554 15428 00c2 F8E7 b .L1163 15429 .LVL1175: 15430 .L1174: 3281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15431 .loc 1 3281 14 view .LVU4555 15432 00c4 1846 mov r0, r3 15433 .LVL1176: 3281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15434 .loc 1 3281 14 view .LVU4556 ARM GAS /tmp/ccGjXOU1.s page 481 15435 00c6 F6E7 b .L1163 15436 .LVL1177: 15437 .L1175: 3281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15438 .loc 1 3281 14 view .LVU4557 15439 00c8 1046 mov r0, r2 15440 .LVL1178: 3281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15441 .loc 1 3281 14 view .LVU4558 15442 00ca F4E7 b .L1163 15443 .cfi_endproc 15444 .LFE381: 15446 .section .text.HAL_TIM_Encoder_Stop,"ax",%progbits 15447 .align 1 15448 .global HAL_TIM_Encoder_Stop 15449 .syntax unified 15450 .thumb 15451 .thumb_func 15453 HAL_TIM_Encoder_Stop: 15454 .LVL1179: 15455 .LFB382: 3332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 15456 .loc 1 3332 1 is_stmt 1 view -0 15457 .cfi_startproc 15458 @ args = 0, pretend = 0, frame = 0 15459 @ frame_needed = 0, uses_anonymous_args = 0 3332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 15460 .loc 1 3332 1 is_stmt 0 view .LVU4560 15461 0000 38B5 push {r3, r4, r5, lr} 15462 .LCFI108: 15463 .cfi_def_cfa_offset 16 15464 .cfi_offset 3, -16 15465 .cfi_offset 4, -12 15466 .cfi_offset 5, -8 15467 .cfi_offset 14, -4 15468 0002 0446 mov r4, r0 3334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15469 .loc 1 3334 3 is_stmt 1 view .LVU4561 3338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15470 .loc 1 3338 3 view .LVU4562 15471 0004 0D46 mov r5, r1 15472 0006 61B1 cbz r1, .L1180 15473 0008 0429 cmp r1, #4 15474 000a 2BD0 beq .L1181 3354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15475 .loc 1 3354 7 view .LVU4563 15476 000c 0022 movs r2, #0 15477 000e 1146 mov r1, r2 15478 .LVL1180: 3354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15479 .loc 1 3354 7 is_stmt 0 view .LVU4564 15480 0010 0068 ldr r0, [r0] 15481 .LVL1181: 3354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15482 .loc 1 3354 7 view .LVU4565 15483 0012 FFF7FEFF bl TIM_CCxChannelCmd 15484 .LVL1182: ARM GAS /tmp/ccGjXOU1.s page 482 3355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15485 .loc 1 3355 7 is_stmt 1 view .LVU4566 15486 0016 0022 movs r2, #0 15487 0018 0421 movs r1, #4 15488 001a 2068 ldr r0, [r4] 15489 001c FFF7FEFF bl TIM_CCxChannelCmd 15490 .LVL1183: 3356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15491 .loc 1 3356 7 view .LVU4567 15492 0020 04E0 b .L1183 15493 .LVL1184: 15494 .L1180: 3342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15495 .loc 1 3342 7 view .LVU4568 15496 0022 0022 movs r2, #0 15497 0024 1146 mov r1, r2 15498 .LVL1185: 3342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15499 .loc 1 3342 7 is_stmt 0 view .LVU4569 15500 0026 0068 ldr r0, [r0] 15501 .LVL1186: 3342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15502 .loc 1 3342 7 view .LVU4570 15503 0028 FFF7FEFF bl TIM_CCxChannelCmd 15504 .LVL1187: 3343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15505 .loc 1 3343 7 is_stmt 1 view .LVU4571 15506 .L1183: 3361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15507 .loc 1 3361 3 view .LVU4572 3361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15508 .loc 1 3361 3 view .LVU4573 15509 002c 2368 ldr r3, [r4] 15510 002e 196A ldr r1, [r3, #32] 15511 0030 41F21112 movw r2, #4369 15512 0034 1142 tst r1, r2 15513 0036 08D1 bne .L1184 3361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15514 .loc 1 3361 3 discriminator 1 view .LVU4574 15515 0038 196A ldr r1, [r3, #32] 15516 003a 44F24442 movw r2, #17476 15517 003e 1142 tst r1, r2 15518 0040 03D1 bne .L1184 3361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15519 .loc 1 3361 3 discriminator 3 view .LVU4575 15520 0042 1A68 ldr r2, [r3] 15521 0044 22F00102 bic r2, r2, #1 15522 0048 1A60 str r2, [r3] 15523 .L1184: 3361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15524 .loc 1 3361 3 discriminator 5 view .LVU4576 3364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15525 .loc 1 3364 3 view .LVU4577 3364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15526 .loc 1 3364 6 is_stmt 0 view .LVU4578 15527 004a 8DB1 cbz r5, .L1185 3364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 483 15528 .loc 1 3364 34 discriminator 1 view .LVU4579 15529 004c 042D cmp r5, #4 15530 004e 16D0 beq .L1192 3371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 15531 .loc 1 3371 5 is_stmt 1 view .LVU4580 15532 0050 0123 movs r3, #1 15533 0052 84F83E30 strb r3, [r4, #62] 3372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 15534 .loc 1 3372 5 view .LVU4581 15535 0056 84F83F30 strb r3, [r4, #63] 3373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 15536 .loc 1 3373 5 view .LVU4582 15537 005a 84F84430 strb r3, [r4, #68] 3374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15538 .loc 1 3374 5 view .LVU4583 15539 005e 84F84530 strb r3, [r4, #69] 15540 0062 0AE0 b .L1188 15541 .LVL1188: 15542 .L1181: 3348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15543 .loc 1 3348 7 view .LVU4584 15544 0064 0022 movs r2, #0 15545 0066 0421 movs r1, #4 15546 .LVL1189: 3348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15547 .loc 1 3348 7 is_stmt 0 view .LVU4585 15548 0068 0068 ldr r0, [r0] 15549 .LVL1190: 3348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15550 .loc 1 3348 7 view .LVU4586 15551 006a FFF7FEFF bl TIM_CCxChannelCmd 15552 .LVL1191: 3349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15553 .loc 1 3349 7 is_stmt 1 view .LVU4587 15554 006e DDE7 b .L1183 15555 .L1185: 3366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 15556 .loc 1 3366 5 view .LVU4588 3366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 15557 .loc 1 3366 5 is_stmt 0 discriminator 1 view .LVU4589 15558 0070 0123 movs r3, #1 15559 0072 84F83E30 strb r3, [r4, #62] 3367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15560 .loc 1 3367 5 is_stmt 1 view .LVU4590 3367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15561 .loc 1 3367 5 is_stmt 0 discriminator 1 view .LVU4591 15562 0076 84F84430 strb r3, [r4, #68] 15563 .L1188: 3378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15564 .loc 1 3378 3 is_stmt 1 view .LVU4592 3379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15565 .loc 1 3379 1 is_stmt 0 view .LVU4593 15566 007a 0020 movs r0, #0 15567 007c 38BD pop {r3, r4, r5, pc} 15568 .LVL1192: 15569 .L1192: 3366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); ARM GAS /tmp/ccGjXOU1.s page 484 15570 .loc 1 3366 5 is_stmt 1 view .LVU4594 3366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 15571 .loc 1 3366 5 is_stmt 0 discriminator 3 view .LVU4595 15572 007e 0123 movs r3, #1 15573 0080 84F83F30 strb r3, [r4, #63] 3367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15574 .loc 1 3367 5 is_stmt 1 view .LVU4596 3367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15575 .loc 1 3367 5 is_stmt 0 discriminator 3 view .LVU4597 15576 0084 84F84530 strb r3, [r4, #69] 15577 0088 F7E7 b .L1188 15578 .cfi_endproc 15579 .LFE382: 15581 .section .text.HAL_TIM_Encoder_Start_IT,"ax",%progbits 15582 .align 1 15583 .global HAL_TIM_Encoder_Start_IT 15584 .syntax unified 15585 .thumb 15586 .thumb_func 15588 HAL_TIM_Encoder_Start_IT: 15589 .LVL1193: 15590 .LFB383: 3392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 15591 .loc 1 3392 1 is_stmt 1 view -0 15592 .cfi_startproc 15593 @ args = 0, pretend = 0, frame = 0 15594 @ frame_needed = 0, uses_anonymous_args = 0 3392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 15595 .loc 1 3392 1 is_stmt 0 view .LVU4599 15596 0000 38B5 push {r3, r4, r5, lr} 15597 .LCFI109: 15598 .cfi_def_cfa_offset 16 15599 .cfi_offset 3, -16 15600 .cfi_offset 4, -12 15601 .cfi_offset 5, -8 15602 .cfi_offset 14, -4 15603 0002 0446 mov r4, r0 3393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 15604 .loc 1 3393 3 is_stmt 1 view .LVU4600 3393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 15605 .loc 1 3393 31 is_stmt 0 view .LVU4601 15606 0004 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 15607 .LVL1194: 3393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 15608 .loc 1 3393 31 view .LVU4602 15609 0008 C0B2 uxtb r0, r0 15610 .LVL1195: 3394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 15611 .loc 1 3394 3 is_stmt 1 view .LVU4603 3394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 15612 .loc 1 3394 31 is_stmt 0 view .LVU4604 15613 000a 94F83F30 ldrb r3, [r4, #63] @ zero_extendqisi2 15614 .LVL1196: 3395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 15615 .loc 1 3395 3 is_stmt 1 view .LVU4605 3395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 15616 .loc 1 3395 31 is_stmt 0 view .LVU4606 ARM GAS /tmp/ccGjXOU1.s page 485 15617 000e 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2 15618 0012 D2B2 uxtb r2, r2 15619 .LVL1197: 3396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15620 .loc 1 3396 3 is_stmt 1 view .LVU4607 3396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15621 .loc 1 3396 31 is_stmt 0 view .LVU4608 15622 0014 94F845C0 ldrb ip, [r4, #69] @ zero_extendqisi2 15623 .LVL1198: 3399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15624 .loc 1 3399 3 is_stmt 1 view .LVU4609 3402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15625 .loc 1 3402 3 view .LVU4610 3402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15626 .loc 1 3402 6 is_stmt 0 view .LVU4611 15627 0018 0D46 mov r5, r1 15628 001a 09BB cbnz r1, .L1194 3404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)) 15629 .loc 1 3404 5 is_stmt 1 view .LVU4612 3404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)) 15630 .loc 1 3404 8 is_stmt 0 view .LVU4613 15631 001c 0128 cmp r0, #1 15632 001e 5ED1 bne .L1202 3405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15633 .loc 1 3405 9 view .LVU4614 15634 0020 012A cmp r2, #1 15635 0022 5DD1 bne .L1195 3411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 15636 .loc 1 3411 7 is_stmt 1 view .LVU4615 15637 0024 0223 movs r3, #2 15638 .LVL1199: 3411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 15639 .loc 1 3411 7 is_stmt 0 view .LVU4616 15640 0026 84F83E30 strb r3, [r4, #62] 3412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15641 .loc 1 3412 7 is_stmt 1 view .LVU4617 15642 002a 84F84430 strb r3, [r4, #68] 15643 .LVL1200: 15644 .L1196: 3448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15645 .loc 1 3448 3 view .LVU4618 15646 002e 002D cmp r5, #0 15647 0030 39D0 beq .L1198 15648 0032 042D cmp r5, #4 15649 0034 48D0 beq .L1199 3466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15650 .loc 1 3466 7 view .LVU4619 15651 0036 0122 movs r2, #1 15652 .LVL1201: 3466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15653 .loc 1 3466 7 is_stmt 0 view .LVU4620 15654 0038 0021 movs r1, #0 15655 .LVL1202: 3466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15656 .loc 1 3466 7 view .LVU4621 15657 003a 2068 ldr r0, [r4] 15658 .LVL1203: ARM GAS /tmp/ccGjXOU1.s page 486 3466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15659 .loc 1 3466 7 view .LVU4622 15660 003c FFF7FEFF bl TIM_CCxChannelCmd 15661 .LVL1204: 3467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 15662 .loc 1 3467 7 is_stmt 1 view .LVU4623 15663 0040 0122 movs r2, #1 15664 0042 0421 movs r1, #4 15665 0044 2068 ldr r0, [r4] 15666 0046 FFF7FEFF bl TIM_CCxChannelCmd 15667 .LVL1205: 3468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 15668 .loc 1 3468 7 view .LVU4624 15669 004a 2268 ldr r2, [r4] 15670 004c D368 ldr r3, [r2, #12] 15671 004e 43F00203 orr r3, r3, #2 15672 0052 D360 str r3, [r2, #12] 3469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15673 .loc 1 3469 7 view .LVU4625 15674 0054 2268 ldr r2, [r4] 15675 0056 D368 ldr r3, [r2, #12] 15676 0058 43F00403 orr r3, r3, #4 15677 005c D360 str r3, [r2, #12] 3470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15678 .loc 1 3470 7 view .LVU4626 15679 005e 2CE0 b .L1201 15680 .LVL1206: 15681 .L1194: 3470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15682 .loc 1 3470 7 is_stmt 0 view .LVU4627 15683 0060 DBB2 uxtb r3, r3 3470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15684 .loc 1 3470 7 view .LVU4628 15685 0062 5FFA8CFC uxtb ip, ip 3415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15686 .loc 1 3415 8 is_stmt 1 view .LVU4629 3415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15687 .loc 1 3415 11 is_stmt 0 view .LVU4630 15688 0066 0429 cmp r1, #4 15689 0068 12D0 beq .L1210 3430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 15690 .loc 1 3430 5 is_stmt 1 view .LVU4631 3430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 15691 .loc 1 3430 8 is_stmt 0 view .LVU4632 15692 006a 0128 cmp r0, #1 15693 006c 3DD1 bne .L1205 3431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 15694 .loc 1 3431 9 view .LVU4633 15695 006e 012B cmp r3, #1 15696 0070 36D1 bne .L1195 3432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 15697 .loc 1 3432 9 view .LVU4634 15698 0072 012A cmp r2, #1 15699 0074 3BD1 bne .L1206 3433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15700 .loc 1 3433 9 view .LVU4635 15701 0076 BCF1010F cmp ip, #1 ARM GAS /tmp/ccGjXOU1.s page 487 15702 007a 3AD1 bne .L1207 3439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15703 .loc 1 3439 7 is_stmt 1 view .LVU4636 15704 007c 0223 movs r3, #2 15705 .LVL1207: 3439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15706 .loc 1 3439 7 is_stmt 0 view .LVU4637 15707 007e 84F83E30 strb r3, [r4, #62] 3440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 15708 .loc 1 3440 7 is_stmt 1 view .LVU4638 15709 0082 84F83F30 strb r3, [r4, #63] 3441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15710 .loc 1 3441 7 view .LVU4639 15711 0086 84F84430 strb r3, [r4, #68] 3442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15712 .loc 1 3442 7 view .LVU4640 15713 008a 84F84530 strb r3, [r4, #69] 15714 008e CEE7 b .L1196 15715 .LVL1208: 15716 .L1210: 3417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 15717 .loc 1 3417 5 view .LVU4641 3417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 15718 .loc 1 3417 8 is_stmt 0 view .LVU4642 15719 0090 012B cmp r3, #1 15720 0092 26D1 bne .L1203 3418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15721 .loc 1 3418 9 view .LVU4643 15722 0094 BCF1010F cmp ip, #1 15723 0098 25D1 bne .L1204 3424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15724 .loc 1 3424 7 is_stmt 1 view .LVU4644 15725 009a 0223 movs r3, #2 15726 .LVL1209: 3424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15727 .loc 1 3424 7 is_stmt 0 view .LVU4645 15728 009c 84F83F30 strb r3, [r4, #63] 3425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15729 .loc 1 3425 7 is_stmt 1 view .LVU4646 15730 00a0 84F84530 strb r3, [r4, #69] 15731 00a4 C3E7 b .L1196 15732 .LVL1210: 15733 .L1198: 3452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 15734 .loc 1 3452 7 view .LVU4647 15735 00a6 0122 movs r2, #1 15736 .LVL1211: 3452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 15737 .loc 1 3452 7 is_stmt 0 view .LVU4648 15738 00a8 0021 movs r1, #0 15739 .LVL1212: 3452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 15740 .loc 1 3452 7 view .LVU4649 15741 00aa 2068 ldr r0, [r4] 15742 .LVL1213: 3452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 15743 .loc 1 3452 7 view .LVU4650 ARM GAS /tmp/ccGjXOU1.s page 488 15744 00ac FFF7FEFF bl TIM_CCxChannelCmd 15745 .LVL1214: 3453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15746 .loc 1 3453 7 is_stmt 1 view .LVU4651 15747 00b0 2268 ldr r2, [r4] 15748 00b2 D368 ldr r3, [r2, #12] 15749 00b4 43F00203 orr r3, r3, #2 15750 00b8 D360 str r3, [r2, #12] 3454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15751 .loc 1 3454 7 view .LVU4652 15752 .L1201: 3475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15753 .loc 1 3475 3 view .LVU4653 15754 00ba 2268 ldr r2, [r4] 15755 00bc 1368 ldr r3, [r2] 15756 00be 43F00103 orr r3, r3, #1 15757 00c2 1360 str r3, [r2] 3478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15758 .loc 1 3478 3 view .LVU4654 3478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15759 .loc 1 3478 10 is_stmt 0 view .LVU4655 15760 00c4 0020 movs r0, #0 15761 00c6 0BE0 b .L1195 15762 .LVL1215: 15763 .L1199: 3459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 15764 .loc 1 3459 7 is_stmt 1 view .LVU4656 15765 00c8 0122 movs r2, #1 15766 .LVL1216: 3459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 15767 .loc 1 3459 7 is_stmt 0 view .LVU4657 15768 00ca 0421 movs r1, #4 15769 .LVL1217: 3459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 15770 .loc 1 3459 7 view .LVU4658 15771 00cc 2068 ldr r0, [r4] 15772 .LVL1218: 3459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 15773 .loc 1 3459 7 view .LVU4659 15774 00ce FFF7FEFF bl TIM_CCxChannelCmd 15775 .LVL1219: 3460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15776 .loc 1 3460 7 is_stmt 1 view .LVU4660 15777 00d2 2268 ldr r2, [r4] 15778 00d4 D368 ldr r3, [r2, #12] 15779 00d6 43F00403 orr r3, r3, #4 15780 00da D360 str r3, [r2, #12] 3461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15781 .loc 1 3461 7 view .LVU4661 15782 00dc EDE7 b .L1201 15783 .LVL1220: 15784 .L1202: 3407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15785 .loc 1 3407 14 is_stmt 0 view .LVU4662 15786 00de 0120 movs r0, #1 15787 .LVL1221: 15788 .L1195: ARM GAS /tmp/ccGjXOU1.s page 489 3479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15789 .loc 1 3479 1 view .LVU4663 15790 00e0 38BD pop {r3, r4, r5, pc} 15791 .LVL1222: 15792 .L1203: 3420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15793 .loc 1 3420 14 view .LVU4664 15794 00e2 0120 movs r0, #1 15795 .LVL1223: 3420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15796 .loc 1 3420 14 view .LVU4665 15797 00e4 FCE7 b .L1195 15798 .LVL1224: 15799 .L1204: 3420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15800 .loc 1 3420 14 view .LVU4666 15801 00e6 1846 mov r0, r3 15802 .LVL1225: 3420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15803 .loc 1 3420 14 view .LVU4667 15804 00e8 FAE7 b .L1195 15805 .LVL1226: 15806 .L1205: 3435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15807 .loc 1 3435 14 view .LVU4668 15808 00ea 0120 movs r0, #1 15809 .LVL1227: 3435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15810 .loc 1 3435 14 view .LVU4669 15811 00ec F8E7 b .L1195 15812 .LVL1228: 15813 .L1206: 3435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15814 .loc 1 3435 14 view .LVU4670 15815 00ee 1846 mov r0, r3 15816 .LVL1229: 3435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15817 .loc 1 3435 14 view .LVU4671 15818 00f0 F6E7 b .L1195 15819 .LVL1230: 15820 .L1207: 3435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15821 .loc 1 3435 14 view .LVU4672 15822 00f2 1046 mov r0, r2 15823 .LVL1231: 3435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15824 .loc 1 3435 14 view .LVU4673 15825 00f4 F4E7 b .L1195 15826 .cfi_endproc 15827 .LFE383: 15829 .section .text.HAL_TIM_Encoder_Stop_IT,"ax",%progbits 15830 .align 1 15831 .global HAL_TIM_Encoder_Stop_IT 15832 .syntax unified 15833 .thumb 15834 .thumb_func 15836 HAL_TIM_Encoder_Stop_IT: ARM GAS /tmp/ccGjXOU1.s page 490 15837 .LVL1232: 15838 .LFB384: 3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 15839 .loc 1 3492 1 is_stmt 1 view -0 15840 .cfi_startproc 15841 @ args = 0, pretend = 0, frame = 0 15842 @ frame_needed = 0, uses_anonymous_args = 0 3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 15843 .loc 1 3492 1 is_stmt 0 view .LVU4675 15844 0000 38B5 push {r3, r4, r5, lr} 15845 .LCFI110: 15846 .cfi_def_cfa_offset 16 15847 .cfi_offset 3, -16 15848 .cfi_offset 4, -12 15849 .cfi_offset 5, -8 15850 .cfi_offset 14, -4 15851 0002 0446 mov r4, r0 3494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15852 .loc 1 3494 3 is_stmt 1 view .LVU4676 3498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15853 .loc 1 3498 3 view .LVU4677 3498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15854 .loc 1 3498 6 is_stmt 0 view .LVU4678 15855 0004 0D46 mov r5, r1 15856 0006 0029 cmp r1, #0 15857 0008 31D0 beq .L1222 3505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15858 .loc 1 3505 8 is_stmt 1 view .LVU4679 3505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15859 .loc 1 3505 11 is_stmt 0 view .LVU4680 15860 000a 0429 cmp r1, #4 15861 000c 3AD0 beq .L1223 3514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15862 .loc 1 3514 5 is_stmt 1 view .LVU4681 15863 000e 0022 movs r2, #0 15864 0010 1146 mov r1, r2 15865 .LVL1233: 3514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15866 .loc 1 3514 5 is_stmt 0 view .LVU4682 15867 0012 0068 ldr r0, [r0] 15868 .LVL1234: 3514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15869 .loc 1 3514 5 view .LVU4683 15870 0014 FFF7FEFF bl TIM_CCxChannelCmd 15871 .LVL1235: 3515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15872 .loc 1 3515 5 is_stmt 1 view .LVU4684 15873 0018 0022 movs r2, #0 15874 001a 0421 movs r1, #4 15875 001c 2068 ldr r0, [r4] 15876 001e FFF7FEFF bl TIM_CCxChannelCmd 15877 .LVL1236: 3518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2); 15878 .loc 1 3518 5 view .LVU4685 15879 0022 2268 ldr r2, [r4] 15880 0024 D368 ldr r3, [r2, #12] 15881 0026 23F00203 bic r3, r3, #2 ARM GAS /tmp/ccGjXOU1.s page 491 15882 002a D360 str r3, [r2, #12] 3519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15883 .loc 1 3519 5 view .LVU4686 15884 002c 2268 ldr r2, [r4] 15885 002e D368 ldr r3, [r2, #12] 15886 0030 23F00403 bic r3, r3, #4 15887 0034 D360 str r3, [r2, #12] 15888 .L1213: 3523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15889 .loc 1 3523 3 view .LVU4687 3523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15890 .loc 1 3523 3 view .LVU4688 15891 0036 2368 ldr r3, [r4] 15892 0038 196A ldr r1, [r3, #32] 15893 003a 41F21112 movw r2, #4369 15894 003e 1142 tst r1, r2 15895 0040 08D1 bne .L1215 3523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15896 .loc 1 3523 3 discriminator 1 view .LVU4689 15897 0042 196A ldr r1, [r3, #32] 15898 0044 44F24442 movw r2, #17476 15899 0048 1142 tst r1, r2 15900 004a 03D1 bne .L1215 3523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15901 .loc 1 3523 3 discriminator 3 view .LVU4690 15902 004c 1A68 ldr r2, [r3] 15903 004e 22F00102 bic r2, r2, #1 15904 0052 1A60 str r2, [r3] 15905 .L1215: 3523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15906 .loc 1 3523 3 discriminator 5 view .LVU4691 3526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15907 .loc 1 3526 3 view .LVU4692 3526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15908 .loc 1 3526 6 is_stmt 0 view .LVU4693 15909 0054 0DB3 cbz r5, .L1216 3526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15910 .loc 1 3526 34 discriminator 1 view .LVU4694 15911 0056 042D cmp r5, #4 15912 0058 26D0 beq .L1224 3533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 15913 .loc 1 3533 5 is_stmt 1 view .LVU4695 15914 005a 0123 movs r3, #1 15915 005c 84F83E30 strb r3, [r4, #62] 3534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 15916 .loc 1 3534 5 view .LVU4696 15917 0060 84F83F30 strb r3, [r4, #63] 3535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 15918 .loc 1 3535 5 view .LVU4697 15919 0064 84F84430 strb r3, [r4, #68] 3536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15920 .loc 1 3536 5 view .LVU4698 15921 0068 84F84530 strb r3, [r4, #69] 15922 006c 1AE0 b .L1219 15923 .LVL1237: 15924 .L1222: 3500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 492 15925 .loc 1 3500 5 view .LVU4699 15926 006e 0022 movs r2, #0 15927 0070 1146 mov r1, r2 15928 .LVL1238: 3500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15929 .loc 1 3500 5 is_stmt 0 view .LVU4700 15930 0072 0068 ldr r0, [r0] 15931 .LVL1239: 3500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15932 .loc 1 3500 5 view .LVU4701 15933 0074 FFF7FEFF bl TIM_CCxChannelCmd 15934 .LVL1240: 3503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15935 .loc 1 3503 5 is_stmt 1 view .LVU4702 15936 0078 2268 ldr r2, [r4] 15937 007a D368 ldr r3, [r2, #12] 15938 007c 23F00203 bic r3, r3, #2 15939 0080 D360 str r3, [r2, #12] 15940 0082 D8E7 b .L1213 15941 .LVL1241: 15942 .L1223: 3507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15943 .loc 1 3507 5 view .LVU4703 15944 0084 0022 movs r2, #0 15945 0086 0421 movs r1, #4 15946 .LVL1242: 3507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15947 .loc 1 3507 5 is_stmt 0 view .LVU4704 15948 0088 0068 ldr r0, [r0] 15949 .LVL1243: 3507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15950 .loc 1 3507 5 view .LVU4705 15951 008a FFF7FEFF bl TIM_CCxChannelCmd 15952 .LVL1244: 3510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15953 .loc 1 3510 5 is_stmt 1 view .LVU4706 15954 008e 2268 ldr r2, [r4] 15955 0090 D368 ldr r3, [r2, #12] 15956 0092 23F00403 bic r3, r3, #4 15957 0096 D360 str r3, [r2, #12] 15958 0098 CDE7 b .L1213 15959 .L1216: 3528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 15960 .loc 1 3528 5 view .LVU4707 3528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 15961 .loc 1 3528 5 is_stmt 0 discriminator 1 view .LVU4708 15962 009a 0123 movs r3, #1 15963 009c 84F83E30 strb r3, [r4, #62] 3529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15964 .loc 1 3529 5 is_stmt 1 view .LVU4709 3529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15965 .loc 1 3529 5 is_stmt 0 discriminator 1 view .LVU4710 15966 00a0 84F84430 strb r3, [r4, #68] 15967 .L1219: 3540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15968 .loc 1 3540 3 is_stmt 1 view .LVU4711 3541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 493 15969 .loc 1 3541 1 is_stmt 0 view .LVU4712 15970 00a4 0020 movs r0, #0 15971 00a6 38BD pop {r3, r4, r5, pc} 15972 .LVL1245: 15973 .L1224: 3528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 15974 .loc 1 3528 5 is_stmt 1 view .LVU4713 3528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 15975 .loc 1 3528 5 is_stmt 0 discriminator 3 view .LVU4714 15976 00a8 0123 movs r3, #1 15977 00aa 84F83F30 strb r3, [r4, #63] 3529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15978 .loc 1 3529 5 is_stmt 1 view .LVU4715 3529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15979 .loc 1 3529 5 is_stmt 0 discriminator 3 view .LVU4716 15980 00ae 84F84530 strb r3, [r4, #69] 15981 00b2 F7E7 b .L1219 15982 .cfi_endproc 15983 .LFE384: 15985 .section .text.HAL_TIM_Encoder_Start_DMA,"ax",%progbits 15986 .align 1 15987 .global HAL_TIM_Encoder_Start_DMA 15988 .syntax unified 15989 .thumb 15990 .thumb_func 15992 HAL_TIM_Encoder_Start_DMA: 15993 .LVL1246: 15994 .LFB385: 3558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 15995 .loc 1 3558 1 is_stmt 1 view -0 15996 .cfi_startproc 15997 @ args = 4, pretend = 0, frame = 0 15998 @ frame_needed = 0, uses_anonymous_args = 0 3558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1); 15999 .loc 1 3558 1 is_stmt 0 view .LVU4718 16000 0000 F8B5 push {r3, r4, r5, r6, r7, lr} 16001 .LCFI111: 16002 .cfi_def_cfa_offset 24 16003 .cfi_offset 3, -24 16004 .cfi_offset 4, -20 16005 .cfi_offset 5, -16 16006 .cfi_offset 6, -12 16007 .cfi_offset 7, -8 16008 .cfi_offset 14, -4 16009 0002 0446 mov r4, r0 16010 0004 1E46 mov r6, r3 16011 0006 BDF81870 ldrh r7, [sp, #24] 3559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 16012 .loc 1 3559 3 is_stmt 1 view .LVU4719 3559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 16013 .loc 1 3559 31 is_stmt 0 view .LVU4720 16014 000a 90F83E50 ldrb r5, [r0, #62] @ zero_extendqisi2 16015 000e EDB2 uxtb r5, r5 16016 .LVL1247: 3560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 16017 .loc 1 3560 3 is_stmt 1 view .LVU4721 3560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA ARM GAS /tmp/ccGjXOU1.s page 494 16018 .loc 1 3560 31 is_stmt 0 view .LVU4722 16019 0010 90F83F00 ldrb r0, [r0, #63] @ zero_extendqisi2 16020 .LVL1248: 3560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 16021 .loc 1 3560 31 view .LVU4723 16022 0014 5FFA80FC uxtb ip, r0 16023 .LVL1249: 3561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 16024 .loc 1 3561 3 is_stmt 1 view .LVU4724 3561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA 16025 .loc 1 3561 31 is_stmt 0 view .LVU4725 16026 0018 94F84400 ldrb r0, [r4, #68] @ zero_extendqisi2 16027 001c C0B2 uxtb r0, r0 16028 .LVL1250: 3562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16029 .loc 1 3562 3 is_stmt 1 view .LVU4726 3562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16030 .loc 1 3562 31 is_stmt 0 view .LVU4727 16031 001e 94F84530 ldrb r3, [r4, #69] @ zero_extendqisi2 16032 .LVL1251: 3565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16033 .loc 1 3565 3 is_stmt 1 view .LVU4728 3568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16034 .loc 1 3568 3 view .LVU4729 3568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16035 .loc 1 3568 6 is_stmt 0 view .LVU4730 16036 0022 8E46 mov lr, r1 16037 0024 0029 cmp r1, #0 16038 0026 31D1 bne .L1226 3570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY)) 16039 .loc 1 3570 5 is_stmt 1 view .LVU4731 3570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY)) 16040 .loc 1 3570 8 is_stmt 0 view .LVU4732 16041 0028 022D cmp r5, #2 16042 002a 00F0F180 beq .L1227 3571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16043 .loc 1 3571 9 view .LVU4733 16044 002e 0228 cmp r0, #2 16045 0030 00F0EB80 beq .L1233 3575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY)) 16046 .loc 1 3575 10 is_stmt 1 view .LVU4734 3575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY)) 16047 .loc 1 3575 13 is_stmt 0 view .LVU4735 16048 0034 012D cmp r5, #1 16049 0036 40F0EA80 bne .L1234 3576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16050 .loc 1 3576 14 view .LVU4736 16051 003a 0128 cmp r0, #1 16052 003c 40F0E880 bne .L1227 3578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16053 .loc 1 3578 7 is_stmt 1 view .LVU4737 3578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16054 .loc 1 3578 10 is_stmt 0 view .LVU4738 16055 0040 002A cmp r2, #0 16056 0042 00F0E780 beq .L1235 3578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16057 .loc 1 3578 28 discriminator 1 view .LVU4739 ARM GAS /tmp/ccGjXOU1.s page 495 16058 0046 002F cmp r7, #0 16059 0048 00F0E680 beq .L1236 3584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 16060 .loc 1 3584 9 is_stmt 1 view .LVU4740 16061 004c 0223 movs r3, #2 16062 .LVL1252: 3584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 16063 .loc 1 3584 9 is_stmt 0 view .LVU4741 16064 004e 84F83E30 strb r3, [r4, #62] 3585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16065 .loc 1 3585 9 is_stmt 1 view .LVU4742 16066 0052 84F84430 strb r3, [r4, #68] 16067 .L1228: 3650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16068 .loc 1 3650 3 view .LVU4743 16069 0056 BEF1000F cmp lr, #0 16070 005a 61D0 beq .L1230 16071 005c BEF1040F cmp lr, #4 16072 0060 00F08180 beq .L1231 3710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16073 .loc 1 3710 7 view .LVU4744 3710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16074 .loc 1 3710 17 is_stmt 0 view .LVU4745 16075 0064 636A ldr r3, [r4, #36] 3710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16076 .loc 1 3710 52 view .LVU4746 16077 0066 7C49 ldr r1, .L1263 16078 .LVL1253: 3710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16079 .loc 1 3710 52 view .LVU4747 16080 0068 D962 str r1, [r3, #44] 3711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16081 .loc 1 3711 7 is_stmt 1 view .LVU4748 3711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16082 .loc 1 3711 17 is_stmt 0 view .LVU4749 16083 006a 636A ldr r3, [r4, #36] 3711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16084 .loc 1 3711 56 view .LVU4750 16085 006c 7B49 ldr r1, .L1263+4 16086 006e 1963 str r1, [r3, #48] 3714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16087 .loc 1 3714 7 is_stmt 1 view .LVU4751 3714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16088 .loc 1 3714 17 is_stmt 0 view .LVU4752 16089 0070 636A ldr r3, [r4, #36] 3714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16090 .loc 1 3714 53 view .LVU4753 16091 0072 7B49 ldr r1, .L1263+8 16092 0074 5963 str r1, [r3, #52] 3717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16093 .loc 1 3717 7 is_stmt 1 view .LVU4754 3717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16094 .loc 1 3717 71 is_stmt 0 view .LVU4755 16095 0076 2168 ldr r1, [r4] 3717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16096 .loc 1 3717 11 view .LVU4756 16097 0078 3B46 mov r3, r7 ARM GAS /tmp/ccGjXOU1.s page 496 16098 007a 3431 adds r1, r1, #52 16099 007c 606A ldr r0, [r4, #36] 16100 .LVL1254: 3717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16101 .loc 1 3717 11 view .LVU4757 16102 007e FFF7FEFF bl HAL_DMA_Start_IT 16103 .LVL1255: 3717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16104 .loc 1 3717 10 discriminator 1 view .LVU4758 16105 0082 0028 cmp r0, #0 16106 0084 00F09380 beq .L1258 3721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16107 .loc 1 3721 16 view .LVU4759 16108 0088 0125 movs r5, #1 16109 .LVL1256: 3721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16110 .loc 1 3721 16 view .LVU4760 16111 008a C1E0 b .L1227 16112 .LVL1257: 16113 .L1226: 3721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16114 .loc 1 3721 16 view .LVU4761 16115 008c DBB2 uxtb r3, r3 3593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16116 .loc 1 3593 8 is_stmt 1 view .LVU4762 3593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16117 .loc 1 3593 11 is_stmt 0 view .LVU4763 16118 008e 0429 cmp r1, #4 16119 0090 2CD0 beq .L1259 3620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY) 16120 .loc 1 3620 5 is_stmt 1 view .LVU4764 3620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY) 16121 .loc 1 3620 8 is_stmt 0 view .LVU4765 16122 0092 022D cmp r5, #2 16123 0094 00F0BC80 beq .L1227 3621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY) 16124 .loc 1 3621 9 view .LVU4766 16125 0098 BCF1020F cmp ip, #2 16126 009c 00F0CA80 beq .L1243 3622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY)) 16127 .loc 1 3622 9 view .LVU4767 16128 00a0 0228 cmp r0, #2 16129 00a2 00F0C980 beq .L1244 3623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16130 .loc 1 3623 9 view .LVU4768 16131 00a6 022B cmp r3, #2 16132 00a8 00F0C880 beq .L1245 3627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (channel_2_state == HAL_TIM_CHANNEL_STATE_READY) 16133 .loc 1 3627 10 is_stmt 1 view .LVU4769 3627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (channel_2_state == HAL_TIM_CHANNEL_STATE_READY) 16134 .loc 1 3627 13 is_stmt 0 view .LVU4770 16135 00ac 012D cmp r5, #1 16136 00ae 40F0C780 bne .L1246 3628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY) 16137 .loc 1 3628 14 view .LVU4771 16138 00b2 BCF1010F cmp ip, #1 16139 00b6 40F0AB80 bne .L1227 ARM GAS /tmp/ccGjXOU1.s page 497 3629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_READY)) 16140 .loc 1 3629 14 view .LVU4772 16141 00ba 0128 cmp r0, #1 16142 00bc 40F0C280 bne .L1247 3630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16143 .loc 1 3630 14 view .LVU4773 16144 00c0 012B cmp r3, #1 16145 00c2 40F0C180 bne .L1248 3632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16146 .loc 1 3632 7 is_stmt 1 view .LVU4774 3632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16147 .loc 1 3632 10 is_stmt 0 view .LVU4775 16148 00c6 002A cmp r2, #0 16149 00c8 00F0C080 beq .L1249 3632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16150 .loc 1 3632 30 discriminator 1 view .LVU4776 16151 00cc 002E cmp r6, #0 16152 00ce 00F0BF80 beq .L1250 3632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16153 .loc 1 3632 52 discriminator 2 view .LVU4777 16154 00d2 002F cmp r7, #0 16155 00d4 00F0BE80 beq .L1251 3638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 16156 .loc 1 3638 9 is_stmt 1 view .LVU4778 16157 00d8 0223 movs r3, #2 16158 .LVL1258: 3638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 16159 .loc 1 3638 9 is_stmt 0 view .LVU4779 16160 00da 84F83E30 strb r3, [r4, #62] 3639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 16161 .loc 1 3639 9 is_stmt 1 view .LVU4780 16162 00de 84F83F30 strb r3, [r4, #63] 3640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 16163 .loc 1 3640 9 view .LVU4781 16164 00e2 84F84430 strb r3, [r4, #68] 3641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16165 .loc 1 3641 9 view .LVU4782 16166 00e6 84F84530 strb r3, [r4, #69] 3632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16167 .loc 1 3632 10 is_stmt 0 view .LVU4783 16168 00ea B4E7 b .L1228 16169 .LVL1259: 16170 .L1259: 3595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY)) 16171 .loc 1 3595 5 is_stmt 1 view .LVU4784 3595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY)) 16172 .loc 1 3595 8 is_stmt 0 view .LVU4785 16173 00ec BCF1020F cmp ip, #2 16174 00f0 00F09480 beq .L1237 3596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16175 .loc 1 3596 9 view .LVU4786 16176 00f4 022B cmp r3, #2 16177 00f6 00F09380 beq .L1238 3600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_READY)) 16178 .loc 1 3600 10 is_stmt 1 view .LVU4787 3600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_READY)) 16179 .loc 1 3600 13 is_stmt 0 view .LVU4788 ARM GAS /tmp/ccGjXOU1.s page 498 16180 00fa BCF1010F cmp ip, #1 16181 00fe 40F09180 bne .L1239 3601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16182 .loc 1 3601 14 view .LVU4789 16183 0102 012B cmp r3, #1 16184 0104 40F09080 bne .L1240 3603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16185 .loc 1 3603 7 is_stmt 1 view .LVU4790 3603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16186 .loc 1 3603 10 is_stmt 0 view .LVU4791 16187 0108 002E cmp r6, #0 16188 010a 00F08F80 beq .L1241 3603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16189 .loc 1 3603 28 discriminator 1 view .LVU4792 16190 010e 002F cmp r7, #0 16191 0110 00F08E80 beq .L1242 3609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 16192 .loc 1 3609 9 is_stmt 1 view .LVU4793 16193 0114 0223 movs r3, #2 16194 .LVL1260: 3609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 16195 .loc 1 3609 9 is_stmt 0 view .LVU4794 16196 0116 84F83F30 strb r3, [r4, #63] 3610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16197 .loc 1 3610 9 is_stmt 1 view .LVU4795 16198 011a 84F84530 strb r3, [r4, #69] 16199 011e 9AE7 b .L1228 16200 .L1230: 3655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16201 .loc 1 3655 7 view .LVU4796 3655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16202 .loc 1 3655 17 is_stmt 0 view .LVU4797 16203 0120 636A ldr r3, [r4, #36] 3655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16204 .loc 1 3655 52 view .LVU4798 16205 0122 4D49 ldr r1, .L1263 16206 .LVL1261: 3655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16207 .loc 1 3655 52 view .LVU4799 16208 0124 D962 str r1, [r3, #44] 3656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16209 .loc 1 3656 7 is_stmt 1 view .LVU4800 3656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16210 .loc 1 3656 17 is_stmt 0 view .LVU4801 16211 0126 636A ldr r3, [r4, #36] 3656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16212 .loc 1 3656 56 view .LVU4802 16213 0128 4C49 ldr r1, .L1263+4 16214 012a 1963 str r1, [r3, #48] 3659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16215 .loc 1 3659 7 is_stmt 1 view .LVU4803 3659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16216 .loc 1 3659 17 is_stmt 0 view .LVU4804 16217 012c 636A ldr r3, [r4, #36] 3659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16218 .loc 1 3659 53 view .LVU4805 16219 012e 4C49 ldr r1, .L1263+8 ARM GAS /tmp/ccGjXOU1.s page 499 16220 0130 5963 str r1, [r3, #52] 3662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16221 .loc 1 3662 7 is_stmt 1 view .LVU4806 3662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16222 .loc 1 3662 71 is_stmt 0 view .LVU4807 16223 0132 2168 ldr r1, [r4] 3662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16224 .loc 1 3662 11 view .LVU4808 16225 0134 3B46 mov r3, r7 16226 0136 3431 adds r1, r1, #52 16227 0138 606A ldr r0, [r4, #36] 16228 .LVL1262: 3662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16229 .loc 1 3662 11 view .LVU4809 16230 013a FFF7FEFF bl HAL_DMA_Start_IT 16231 .LVL1263: 3662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16232 .loc 1 3662 10 discriminator 1 view .LVU4810 16233 013e 0546 mov r5, r0 16234 .LVL1264: 3662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16235 .loc 1 3662 10 discriminator 1 view .LVU4811 16236 0140 08B1 cbz r0, .L1260 3666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16237 .loc 1 3666 16 view .LVU4812 16238 0142 0125 movs r5, #1 16239 0144 64E0 b .L1227 16240 .L1260: 3669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16241 .loc 1 3669 7 is_stmt 1 view .LVU4813 16242 0146 2268 ldr r2, [r4] 16243 0148 D368 ldr r3, [r2, #12] 16244 014a 43F40073 orr r3, r3, #512 16245 014e D360 str r3, [r2, #12] 3672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16246 .loc 1 3672 7 view .LVU4814 16247 0150 0122 movs r2, #1 16248 0152 0021 movs r1, #0 16249 0154 2068 ldr r0, [r4] 16250 0156 FFF7FEFF bl TIM_CCxChannelCmd 16251 .LVL1265: 3675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16252 .loc 1 3675 7 view .LVU4815 16253 015a 2268 ldr r2, [r4] 16254 015c 1368 ldr r3, [r2] 16255 015e 43F00103 orr r3, r3, #1 16256 0162 1360 str r3, [r2] 3677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16257 .loc 1 3677 7 view .LVU4816 16258 0164 54E0 b .L1227 16259 .LVL1266: 16260 .L1231: 3683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16261 .loc 1 3683 7 view .LVU4817 3683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16262 .loc 1 3683 17 is_stmt 0 view .LVU4818 16263 0166 A36A ldr r3, [r4, #40] ARM GAS /tmp/ccGjXOU1.s page 500 3683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16264 .loc 1 3683 52 view .LVU4819 16265 0168 3B4A ldr r2, .L1263 16266 .LVL1267: 3683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16267 .loc 1 3683 52 view .LVU4820 16268 016a DA62 str r2, [r3, #44] 3684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16269 .loc 1 3684 7 is_stmt 1 view .LVU4821 3684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16270 .loc 1 3684 17 is_stmt 0 view .LVU4822 16271 016c A36A ldr r3, [r4, #40] 3684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16272 .loc 1 3684 56 view .LVU4823 16273 016e 3B4A ldr r2, .L1263+4 16274 0170 1A63 str r2, [r3, #48] 3687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 16275 .loc 1 3687 7 is_stmt 1 view .LVU4824 3687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 16276 .loc 1 3687 17 is_stmt 0 view .LVU4825 16277 0172 A36A ldr r3, [r4, #40] 3687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 16278 .loc 1 3687 53 view .LVU4826 16279 0174 3A4A ldr r2, .L1263+8 16280 0176 5A63 str r2, [r3, #52] 3689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16281 .loc 1 3689 7 is_stmt 1 view .LVU4827 3689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16282 .loc 1 3689 71 is_stmt 0 view .LVU4828 16283 0178 2168 ldr r1, [r4] 16284 .LVL1268: 3689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16285 .loc 1 3689 11 view .LVU4829 16286 017a 3B46 mov r3, r7 16287 017c 3246 mov r2, r6 16288 017e 3831 adds r1, r1, #56 16289 0180 A06A ldr r0, [r4, #40] 16290 .LVL1269: 3689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16291 .loc 1 3689 11 view .LVU4830 16292 0182 FFF7FEFF bl HAL_DMA_Start_IT 16293 .LVL1270: 3689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16294 .loc 1 3689 10 discriminator 1 view .LVU4831 16295 0186 0546 mov r5, r0 16296 .LVL1271: 3689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16297 .loc 1 3689 10 discriminator 1 view .LVU4832 16298 0188 08B1 cbz r0, .L1261 3693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16299 .loc 1 3693 16 view .LVU4833 16300 018a 0125 movs r5, #1 16301 018c 40E0 b .L1227 16302 .L1261: 3696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16303 .loc 1 3696 7 is_stmt 1 view .LVU4834 16304 018e 2268 ldr r2, [r4] ARM GAS /tmp/ccGjXOU1.s page 501 16305 0190 D368 ldr r3, [r2, #12] 16306 0192 43F48063 orr r3, r3, #1024 16307 0196 D360 str r3, [r2, #12] 3699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16308 .loc 1 3699 7 view .LVU4835 16309 0198 0122 movs r2, #1 16310 019a 0421 movs r1, #4 16311 019c 2068 ldr r0, [r4] 16312 019e FFF7FEFF bl TIM_CCxChannelCmd 16313 .LVL1272: 3702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16314 .loc 1 3702 7 view .LVU4836 16315 01a2 2268 ldr r2, [r4] 16316 01a4 1368 ldr r3, [r2] 16317 01a6 43F00103 orr r3, r3, #1 16318 01aa 1360 str r3, [r2] 3704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16319 .loc 1 3704 7 view .LVU4837 16320 01ac 30E0 b .L1227 16321 .LVL1273: 16322 .L1258: 3725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16323 .loc 1 3725 7 view .LVU4838 3725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16324 .loc 1 3725 17 is_stmt 0 view .LVU4839 16325 01ae A36A ldr r3, [r4, #40] 3725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16326 .loc 1 3725 52 view .LVU4840 16327 01b0 294A ldr r2, .L1263 16328 01b2 DA62 str r2, [r3, #44] 3726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16329 .loc 1 3726 7 is_stmt 1 view .LVU4841 3726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16330 .loc 1 3726 17 is_stmt 0 view .LVU4842 16331 01b4 A36A ldr r3, [r4, #40] 3726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16332 .loc 1 3726 56 view .LVU4843 16333 01b6 294A ldr r2, .L1263+4 16334 01b8 1A63 str r2, [r3, #48] 3729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16335 .loc 1 3729 7 is_stmt 1 view .LVU4844 3729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16336 .loc 1 3729 17 is_stmt 0 view .LVU4845 16337 01ba A36A ldr r3, [r4, #40] 3729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16338 .loc 1 3729 53 view .LVU4846 16339 01bc 284A ldr r2, .L1263+8 16340 01be 5A63 str r2, [r3, #52] 3732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16341 .loc 1 3732 7 is_stmt 1 view .LVU4847 3732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16342 .loc 1 3732 71 is_stmt 0 view .LVU4848 16343 01c0 2168 ldr r1, [r4] 3732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16344 .loc 1 3732 11 view .LVU4849 16345 01c2 3B46 mov r3, r7 16346 01c4 3246 mov r2, r6 ARM GAS /tmp/ccGjXOU1.s page 502 16347 01c6 3831 adds r1, r1, #56 16348 01c8 A06A ldr r0, [r4, #40] 16349 01ca FFF7FEFF bl HAL_DMA_Start_IT 16350 .LVL1274: 3732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16351 .loc 1 3732 10 discriminator 1 view .LVU4850 16352 01ce 0546 mov r5, r0 16353 .LVL1275: 3732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16354 .loc 1 3732 10 discriminator 1 view .LVU4851 16355 01d0 08B1 cbz r0, .L1262 3736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16356 .loc 1 3736 16 view .LVU4852 16357 01d2 0125 movs r5, #1 16358 01d4 1CE0 b .L1227 16359 .L1262: 3740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Input Capture DMA request */ 16360 .loc 1 3740 7 is_stmt 1 view .LVU4853 16361 01d6 2268 ldr r2, [r4] 16362 01d8 D368 ldr r3, [r2, #12] 16363 01da 43F40073 orr r3, r3, #512 16364 01de D360 str r3, [r2, #12] 3742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16365 .loc 1 3742 7 view .LVU4854 16366 01e0 2268 ldr r2, [r4] 16367 01e2 D368 ldr r3, [r2, #12] 16368 01e4 43F48063 orr r3, r3, #1024 16369 01e8 D360 str r3, [r2, #12] 3745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 16370 .loc 1 3745 7 view .LVU4855 16371 01ea 0122 movs r2, #1 16372 01ec 0021 movs r1, #0 16373 01ee 2068 ldr r0, [r4] 16374 01f0 FFF7FEFF bl TIM_CCxChannelCmd 16375 .LVL1276: 3746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16376 .loc 1 3746 7 view .LVU4856 16377 01f4 0122 movs r2, #1 16378 01f6 0421 movs r1, #4 16379 01f8 2068 ldr r0, [r4] 16380 01fa FFF7FEFF bl TIM_CCxChannelCmd 16381 .LVL1277: 3749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16382 .loc 1 3749 7 view .LVU4857 16383 01fe 2268 ldr r2, [r4] 16384 0200 1368 ldr r3, [r2] 16385 0202 43F00103 orr r3, r3, #1 16386 0206 1360 str r3, [r2] 3751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16387 .loc 1 3751 7 view .LVU4858 16388 0208 02E0 b .L1227 16389 .LVL1278: 16390 .L1233: 3573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16391 .loc 1 3573 14 is_stmt 0 view .LVU4859 16392 020a 0546 mov r5, r0 16393 .LVL1279: ARM GAS /tmp/ccGjXOU1.s page 503 3573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16394 .loc 1 3573 14 view .LVU4860 16395 020c 00E0 b .L1227 16396 .LVL1280: 16397 .L1234: 3590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16398 .loc 1 3590 14 view .LVU4861 16399 020e 0125 movs r5, #1 16400 .LVL1281: 16401 .L1227: 3757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16402 .loc 1 3757 1 view .LVU4862 16403 0210 2846 mov r0, r5 16404 0212 F8BD pop {r3, r4, r5, r6, r7, pc} 16405 .LVL1282: 16406 .L1235: 3580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16407 .loc 1 3580 16 view .LVU4863 16408 0214 0546 mov r5, r0 16409 .LVL1283: 3580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16410 .loc 1 3580 16 view .LVU4864 16411 0216 FBE7 b .L1227 16412 .LVL1284: 16413 .L1236: 3580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16414 .loc 1 3580 16 view .LVU4865 16415 0218 0546 mov r5, r0 16416 .LVL1285: 3580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16417 .loc 1 3580 16 view .LVU4866 16418 021a F9E7 b .L1227 16419 .LVL1286: 16420 .L1237: 3598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16421 .loc 1 3598 14 view .LVU4867 16422 021c 6546 mov r5, ip 16423 .LVL1287: 3598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16424 .loc 1 3598 14 view .LVU4868 16425 021e F7E7 b .L1227 16426 .LVL1288: 16427 .L1238: 3598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16428 .loc 1 3598 14 view .LVU4869 16429 0220 1D46 mov r5, r3 16430 .LVL1289: 3598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16431 .loc 1 3598 14 view .LVU4870 16432 0222 F5E7 b .L1227 16433 .LVL1290: 16434 .L1239: 3615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16435 .loc 1 3615 14 view .LVU4871 16436 0224 0125 movs r5, #1 16437 .LVL1291: 3615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/ccGjXOU1.s page 504 16438 .loc 1 3615 14 view .LVU4872 16439 0226 F3E7 b .L1227 16440 .LVL1292: 16441 .L1240: 3615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16442 .loc 1 3615 14 view .LVU4873 16443 0228 6546 mov r5, ip 16444 .LVL1293: 3615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16445 .loc 1 3615 14 view .LVU4874 16446 022a F1E7 b .L1227 16447 .LVL1294: 16448 .L1241: 3605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16449 .loc 1 3605 16 view .LVU4875 16450 022c 1D46 mov r5, r3 16451 .LVL1295: 3605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16452 .loc 1 3605 16 view .LVU4876 16453 022e EFE7 b .L1227 16454 .LVL1296: 16455 .L1242: 3605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16456 .loc 1 3605 16 view .LVU4877 16457 0230 1D46 mov r5, r3 16458 .LVL1297: 3605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16459 .loc 1 3605 16 view .LVU4878 16460 0232 EDE7 b .L1227 16461 .LVL1298: 16462 .L1243: 3625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16463 .loc 1 3625 14 view .LVU4879 16464 0234 6546 mov r5, ip 16465 .LVL1299: 3625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16466 .loc 1 3625 14 view .LVU4880 16467 0236 EBE7 b .L1227 16468 .LVL1300: 16469 .L1244: 3625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16470 .loc 1 3625 14 view .LVU4881 16471 0238 0546 mov r5, r0 16472 .LVL1301: 3625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16473 .loc 1 3625 14 view .LVU4882 16474 023a E9E7 b .L1227 16475 .LVL1302: 16476 .L1245: 3625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16477 .loc 1 3625 14 view .LVU4883 16478 023c 1D46 mov r5, r3 16479 .LVL1303: 3625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16480 .loc 1 3625 14 view .LVU4884 16481 023e E7E7 b .L1227 16482 .LVL1304: ARM GAS /tmp/ccGjXOU1.s page 505 16483 .L1246: 3646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16484 .loc 1 3646 14 view .LVU4885 16485 0240 0125 movs r5, #1 16486 .LVL1305: 3646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16487 .loc 1 3646 14 view .LVU4886 16488 0242 E5E7 b .L1227 16489 .LVL1306: 16490 .L1247: 3646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16491 .loc 1 3646 14 view .LVU4887 16492 0244 6546 mov r5, ip 16493 .LVL1307: 3646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16494 .loc 1 3646 14 view .LVU4888 16495 0246 E3E7 b .L1227 16496 .LVL1308: 16497 .L1248: 3646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16498 .loc 1 3646 14 view .LVU4889 16499 0248 0546 mov r5, r0 16500 .LVL1309: 3646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16501 .loc 1 3646 14 view .LVU4890 16502 024a E1E7 b .L1227 16503 .LVL1310: 16504 .L1249: 3634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16505 .loc 1 3634 16 view .LVU4891 16506 024c 1D46 mov r5, r3 16507 .LVL1311: 3634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16508 .loc 1 3634 16 view .LVU4892 16509 024e DFE7 b .L1227 16510 .LVL1312: 16511 .L1250: 3634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16512 .loc 1 3634 16 view .LVU4893 16513 0250 1D46 mov r5, r3 16514 .LVL1313: 3634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16515 .loc 1 3634 16 view .LVU4894 16516 0252 DDE7 b .L1227 16517 .LVL1314: 16518 .L1251: 3634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16519 .loc 1 3634 16 view .LVU4895 16520 0254 1D46 mov r5, r3 16521 .LVL1315: 3634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16522 .loc 1 3634 16 view .LVU4896 16523 0256 DBE7 b .L1227 16524 .L1264: 16525 .align 2 16526 .L1263: 16527 0258 00000000 .word TIM_DMACaptureCplt ARM GAS /tmp/ccGjXOU1.s page 506 16528 025c 00000000 .word TIM_DMACaptureHalfCplt 16529 0260 00000000 .word TIM_DMAError 16530 .cfi_endproc 16531 .LFE385: 16533 .section .text.HAL_TIM_Encoder_Stop_DMA,"ax",%progbits 16534 .align 1 16535 .global HAL_TIM_Encoder_Stop_DMA 16536 .syntax unified 16537 .thumb 16538 .thumb_func 16540 HAL_TIM_Encoder_Stop_DMA: 16541 .LVL1316: 16542 .LFB386: 3770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 16543 .loc 1 3770 1 is_stmt 1 view -0 16544 .cfi_startproc 16545 @ args = 0, pretend = 0, frame = 0 16546 @ frame_needed = 0, uses_anonymous_args = 0 3770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 16547 .loc 1 3770 1 is_stmt 0 view .LVU4898 16548 0000 38B5 push {r3, r4, r5, lr} 16549 .LCFI112: 16550 .cfi_def_cfa_offset 16 16551 .cfi_offset 3, -16 16552 .cfi_offset 4, -12 16553 .cfi_offset 5, -8 16554 .cfi_offset 14, -4 16555 0002 0446 mov r4, r0 3772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16556 .loc 1 3772 3 is_stmt 1 view .LVU4899 3776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16557 .loc 1 3776 3 view .LVU4900 3776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16558 .loc 1 3776 6 is_stmt 0 view .LVU4901 16559 0004 0D46 mov r5, r1 16560 0006 0029 cmp r1, #0 16561 0008 37D0 beq .L1276 3784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16562 .loc 1 3784 8 is_stmt 1 view .LVU4902 3784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16563 .loc 1 3784 11 is_stmt 0 view .LVU4903 16564 000a 0429 cmp r1, #4 16565 000c 43D0 beq .L1277 3794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 16566 .loc 1 3794 5 is_stmt 1 view .LVU4904 16567 000e 0022 movs r2, #0 16568 0010 1146 mov r1, r2 16569 .LVL1317: 3794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 16570 .loc 1 3794 5 is_stmt 0 view .LVU4905 16571 0012 0068 ldr r0, [r0] 16572 .LVL1318: 3794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 16573 .loc 1 3794 5 view .LVU4906 16574 0014 FFF7FEFF bl TIM_CCxChannelCmd 16575 .LVL1319: 3795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccGjXOU1.s page 507 16576 .loc 1 3795 5 is_stmt 1 view .LVU4907 16577 0018 0022 movs r2, #0 16578 001a 0421 movs r1, #4 16579 001c 2068 ldr r0, [r4] 16580 001e FFF7FEFF bl TIM_CCxChannelCmd 16581 .LVL1320: 3798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2); 16582 .loc 1 3798 5 view .LVU4908 16583 0022 2268 ldr r2, [r4] 16584 0024 D368 ldr r3, [r2, #12] 16585 0026 23F40073 bic r3, r3, #512 16586 002a D360 str r3, [r2, #12] 3799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 16587 .loc 1 3799 5 view .LVU4909 16588 002c 2268 ldr r2, [r4] 16589 002e D368 ldr r3, [r2, #12] 16590 0030 23F48063 bic r3, r3, #1024 16591 0034 D360 str r3, [r2, #12] 3800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 16592 .loc 1 3800 5 view .LVU4910 3800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 16593 .loc 1 3800 11 is_stmt 0 view .LVU4911 16594 0036 606A ldr r0, [r4, #36] 16595 0038 FFF7FEFF bl HAL_DMA_Abort_IT 16596 .LVL1321: 3801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16597 .loc 1 3801 5 is_stmt 1 view .LVU4912 3801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16598 .loc 1 3801 11 is_stmt 0 view .LVU4913 16599 003c A06A ldr r0, [r4, #40] 16600 003e FFF7FEFF bl HAL_DMA_Abort_IT 16601 .LVL1322: 16602 .L1267: 3805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16603 .loc 1 3805 3 is_stmt 1 view .LVU4914 3805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16604 .loc 1 3805 3 view .LVU4915 16605 0042 2368 ldr r3, [r4] 16606 0044 196A ldr r1, [r3, #32] 16607 0046 41F21112 movw r2, #4369 16608 004a 1142 tst r1, r2 16609 004c 08D1 bne .L1269 3805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16610 .loc 1 3805 3 discriminator 1 view .LVU4916 16611 004e 196A ldr r1, [r3, #32] 16612 0050 44F24442 movw r2, #17476 16613 0054 1142 tst r1, r2 16614 0056 03D1 bne .L1269 3805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16615 .loc 1 3805 3 discriminator 3 view .LVU4917 16616 0058 1A68 ldr r2, [r3] 16617 005a 22F00102 bic r2, r2, #1 16618 005e 1A60 str r2, [r3] 16619 .L1269: 3805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16620 .loc 1 3805 3 discriminator 5 view .LVU4918 3808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccGjXOU1.s page 508 16621 .loc 1 3808 3 view .LVU4919 3808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16622 .loc 1 3808 6 is_stmt 0 view .LVU4920 16623 0060 3DB3 cbz r5, .L1270 3808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16624 .loc 1 3808 34 discriminator 1 view .LVU4921 16625 0062 042D cmp r5, #4 16626 0064 2CD0 beq .L1278 3815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 16627 .loc 1 3815 5 is_stmt 1 view .LVU4922 16628 0066 0123 movs r3, #1 16629 0068 84F83E30 strb r3, [r4, #62] 3816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 16630 .loc 1 3816 5 view .LVU4923 16631 006c 84F83F30 strb r3, [r4, #63] 3817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 16632 .loc 1 3817 5 view .LVU4924 16633 0070 84F84430 strb r3, [r4, #68] 3818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16634 .loc 1 3818 5 view .LVU4925 16635 0074 84F84530 strb r3, [r4, #69] 16636 0078 20E0 b .L1273 16637 .LVL1323: 16638 .L1276: 3778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16639 .loc 1 3778 5 view .LVU4926 16640 007a 0022 movs r2, #0 16641 007c 1146 mov r1, r2 16642 .LVL1324: 3778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16643 .loc 1 3778 5 is_stmt 0 view .LVU4927 16644 007e 0068 ldr r0, [r0] 16645 .LVL1325: 3778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16646 .loc 1 3778 5 view .LVU4928 16647 0080 FFF7FEFF bl TIM_CCxChannelCmd 16648 .LVL1326: 3781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 16649 .loc 1 3781 5 is_stmt 1 view .LVU4929 16650 0084 2268 ldr r2, [r4] 16651 0086 D368 ldr r3, [r2, #12] 16652 0088 23F40073 bic r3, r3, #512 16653 008c D360 str r3, [r2, #12] 3782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16654 .loc 1 3782 5 view .LVU4930 3782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16655 .loc 1 3782 11 is_stmt 0 view .LVU4931 16656 008e 606A ldr r0, [r4, #36] 16657 0090 FFF7FEFF bl HAL_DMA_Abort_IT 16658 .LVL1327: 16659 0094 D5E7 b .L1267 16660 .LVL1328: 16661 .L1277: 3786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16662 .loc 1 3786 5 is_stmt 1 view .LVU4932 16663 0096 0022 movs r2, #0 16664 0098 0421 movs r1, #4 ARM GAS /tmp/ccGjXOU1.s page 509 16665 .LVL1329: 3786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16666 .loc 1 3786 5 is_stmt 0 view .LVU4933 16667 009a 0068 ldr r0, [r0] 16668 .LVL1330: 3786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16669 .loc 1 3786 5 view .LVU4934 16670 009c FFF7FEFF bl TIM_CCxChannelCmd 16671 .LVL1331: 3789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 16672 .loc 1 3789 5 is_stmt 1 view .LVU4935 16673 00a0 2268 ldr r2, [r4] 16674 00a2 D368 ldr r3, [r2, #12] 16675 00a4 23F48063 bic r3, r3, #1024 16676 00a8 D360 str r3, [r2, #12] 3790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16677 .loc 1 3790 5 view .LVU4936 3790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16678 .loc 1 3790 11 is_stmt 0 view .LVU4937 16679 00aa A06A ldr r0, [r4, #40] 16680 00ac FFF7FEFF bl HAL_DMA_Abort_IT 16681 .LVL1332: 16682 00b0 C7E7 b .L1267 16683 .L1270: 3810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 16684 .loc 1 3810 5 is_stmt 1 view .LVU4938 3810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 16685 .loc 1 3810 5 is_stmt 0 discriminator 1 view .LVU4939 16686 00b2 0123 movs r3, #1 16687 00b4 84F83E30 strb r3, [r4, #62] 3811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16688 .loc 1 3811 5 is_stmt 1 view .LVU4940 3811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16689 .loc 1 3811 5 is_stmt 0 discriminator 1 view .LVU4941 16690 00b8 84F84430 strb r3, [r4, #68] 16691 .L1273: 3822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16692 .loc 1 3822 3 is_stmt 1 view .LVU4942 3823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16693 .loc 1 3823 1 is_stmt 0 view .LVU4943 16694 00bc 0020 movs r0, #0 16695 00be 38BD pop {r3, r4, r5, pc} 16696 .LVL1333: 16697 .L1278: 3810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 16698 .loc 1 3810 5 is_stmt 1 view .LVU4944 3810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 16699 .loc 1 3810 5 is_stmt 0 discriminator 3 view .LVU4945 16700 00c0 0123 movs r3, #1 16701 00c2 84F83F30 strb r3, [r4, #63] 3811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16702 .loc 1 3811 5 is_stmt 1 view .LVU4946 3811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16703 .loc 1 3811 5 is_stmt 0 discriminator 3 view .LVU4947 16704 00c6 84F84530 strb r3, [r4, #69] 16705 00ca F7E7 b .L1273 16706 .cfi_endproc ARM GAS /tmp/ccGjXOU1.s page 510 16707 .LFE386: 16709 .text 16710 .Letext0: 16711 .file 2 "/home/fra/bin/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi/arm-none-eabi/include/mach 16712 .file 3 "/home/fra/bin/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi/arm-none-eabi/include/sys/ 16713 .file 4 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g431xx.h" 16714 .file 5 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g4xx.h" 16715 .file 6 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_def.h" 16716 .file 7 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_dma.h" 16717 .file 8 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_tim.h" 16718 .file 9 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_tim_ex.h" ARM GAS /tmp/ccGjXOU1.s page 511 DEFINED SYMBOLS *ABS*:00000000 stm32g4xx_hal_tim.c /tmp/ccGjXOU1.s:21 .text.TIM_OC1_SetConfig:00000000 $t /tmp/ccGjXOU1.s:26 .text.TIM_OC1_SetConfig:00000000 TIM_OC1_SetConfig /tmp/ccGjXOU1.s:192 .text.TIM_OC1_SetConfig:00000098 $d /tmp/ccGjXOU1.s:197 .text.TIM_OC3_SetConfig:00000000 $t /tmp/ccGjXOU1.s:202 .text.TIM_OC3_SetConfig:00000000 TIM_OC3_SetConfig /tmp/ccGjXOU1.s:356 .text.TIM_OC3_SetConfig:00000088 $d /tmp/ccGjXOU1.s:361 .text.TIM_OC4_SetConfig:00000000 $t /tmp/ccGjXOU1.s:366 .text.TIM_OC4_SetConfig:00000000 TIM_OC4_SetConfig /tmp/ccGjXOU1.s:522 .text.TIM_OC4_SetConfig:00000088 $d /tmp/ccGjXOU1.s:527 .text.TIM_OC5_SetConfig:00000000 $t /tmp/ccGjXOU1.s:532 .text.TIM_OC5_SetConfig:00000000 TIM_OC5_SetConfig /tmp/ccGjXOU1.s:649 .text.TIM_OC5_SetConfig:00000064 $d /tmp/ccGjXOU1.s:654 .text.TIM_OC6_SetConfig:00000000 $t /tmp/ccGjXOU1.s:659 .text.TIM_OC6_SetConfig:00000000 TIM_OC6_SetConfig /tmp/ccGjXOU1.s:778 .text.TIM_OC6_SetConfig:00000068 $d /tmp/ccGjXOU1.s:783 .text.TIM_TI1_ConfigInputStage:00000000 $t /tmp/ccGjXOU1.s:788 .text.TIM_TI1_ConfigInputStage:00000000 TIM_TI1_ConfigInputStage /tmp/ccGjXOU1.s:849 .text.TIM_TI2_SetConfig:00000000 $t /tmp/ccGjXOU1.s:854 .text.TIM_TI2_SetConfig:00000000 TIM_TI2_SetConfig /tmp/ccGjXOU1.s:935 .text.TIM_TI2_ConfigInputStage:00000000 $t /tmp/ccGjXOU1.s:940 .text.TIM_TI2_ConfigInputStage:00000000 TIM_TI2_ConfigInputStage /tmp/ccGjXOU1.s:1001 .text.TIM_TI3_SetConfig:00000000 $t /tmp/ccGjXOU1.s:1006 .text.TIM_TI3_SetConfig:00000000 TIM_TI3_SetConfig /tmp/ccGjXOU1.s:1087 .text.TIM_TI4_SetConfig:00000000 $t /tmp/ccGjXOU1.s:1092 .text.TIM_TI4_SetConfig:00000000 TIM_TI4_SetConfig /tmp/ccGjXOU1.s:1173 .text.TIM_ITRx_SetConfig:00000000 $t /tmp/ccGjXOU1.s:1178 .text.TIM_ITRx_SetConfig:00000000 TIM_ITRx_SetConfig /tmp/ccGjXOU1.s:1214 .text.HAL_TIM_Base_MspInit:00000000 $t /tmp/ccGjXOU1.s:1220 .text.HAL_TIM_Base_MspInit:00000000 HAL_TIM_Base_MspInit /tmp/ccGjXOU1.s:1235 .text.HAL_TIM_Base_MspDeInit:00000000 $t /tmp/ccGjXOU1.s:1241 .text.HAL_TIM_Base_MspDeInit:00000000 HAL_TIM_Base_MspDeInit /tmp/ccGjXOU1.s:1256 .text.HAL_TIM_Base_DeInit:00000000 $t /tmp/ccGjXOU1.s:1262 .text.HAL_TIM_Base_DeInit:00000000 HAL_TIM_Base_DeInit /tmp/ccGjXOU1.s:1348 .text.HAL_TIM_Base_Start:00000000 $t /tmp/ccGjXOU1.s:1354 .text.HAL_TIM_Base_Start:00000000 HAL_TIM_Base_Start /tmp/ccGjXOU1.s:1460 .text.HAL_TIM_Base_Start:00000070 $d /tmp/ccGjXOU1.s:1466 .text.HAL_TIM_Base_Stop:00000000 $t /tmp/ccGjXOU1.s:1472 .text.HAL_TIM_Base_Stop:00000000 HAL_TIM_Base_Stop /tmp/ccGjXOU1.s:1513 .text.HAL_TIM_Base_Start_IT:00000000 $t /tmp/ccGjXOU1.s:1519 .text.HAL_TIM_Base_Start_IT:00000000 HAL_TIM_Base_Start_IT /tmp/ccGjXOU1.s:1630 .text.HAL_TIM_Base_Start_IT:0000007c $d /tmp/ccGjXOU1.s:1636 .text.HAL_TIM_Base_Stop_IT:00000000 $t /tmp/ccGjXOU1.s:1642 .text.HAL_TIM_Base_Stop_IT:00000000 HAL_TIM_Base_Stop_IT /tmp/ccGjXOU1.s:1688 .text.HAL_TIM_Base_Start_DMA:00000000 $t /tmp/ccGjXOU1.s:1694 .text.HAL_TIM_Base_Start_DMA:00000000 HAL_TIM_Base_Start_DMA /tmp/ccGjXOU1.s:1853 .text.HAL_TIM_Base_Start_DMA:000000b8 $d /tmp/ccGjXOU1.s:3961 .text.TIM_DMAPeriodElapsedCplt:00000000 TIM_DMAPeriodElapsedCplt /tmp/ccGjXOU1.s:4025 .text.TIM_DMAPeriodElapsedHalfCplt:00000000 TIM_DMAPeriodElapsedHalfCplt /tmp/ccGjXOU1.s:5120 .text.TIM_DMAError:00000000 TIM_DMAError /tmp/ccGjXOU1.s:1862 .text.HAL_TIM_Base_Stop_DMA:00000000 $t /tmp/ccGjXOU1.s:1868 .text.HAL_TIM_Base_Stop_DMA:00000000 HAL_TIM_Base_Stop_DMA /tmp/ccGjXOU1.s:1926 .text.HAL_TIM_OC_MspInit:00000000 $t /tmp/ccGjXOU1.s:1932 .text.HAL_TIM_OC_MspInit:00000000 HAL_TIM_OC_MspInit /tmp/ccGjXOU1.s:1947 .text.HAL_TIM_OC_MspDeInit:00000000 $t /tmp/ccGjXOU1.s:1953 .text.HAL_TIM_OC_MspDeInit:00000000 HAL_TIM_OC_MspDeInit ARM GAS /tmp/ccGjXOU1.s page 512 /tmp/ccGjXOU1.s:1968 .text.HAL_TIM_OC_DeInit:00000000 $t /tmp/ccGjXOU1.s:1974 .text.HAL_TIM_OC_DeInit:00000000 HAL_TIM_OC_DeInit /tmp/ccGjXOU1.s:2060 .text.HAL_TIM_PWM_MspInit:00000000 $t /tmp/ccGjXOU1.s:2066 .text.HAL_TIM_PWM_MspInit:00000000 HAL_TIM_PWM_MspInit /tmp/ccGjXOU1.s:2081 .text.HAL_TIM_PWM_MspDeInit:00000000 $t /tmp/ccGjXOU1.s:2087 .text.HAL_TIM_PWM_MspDeInit:00000000 HAL_TIM_PWM_MspDeInit /tmp/ccGjXOU1.s:2102 .text.HAL_TIM_PWM_DeInit:00000000 $t /tmp/ccGjXOU1.s:2108 .text.HAL_TIM_PWM_DeInit:00000000 HAL_TIM_PWM_DeInit /tmp/ccGjXOU1.s:2194 .text.HAL_TIM_IC_MspInit:00000000 $t /tmp/ccGjXOU1.s:2200 .text.HAL_TIM_IC_MspInit:00000000 HAL_TIM_IC_MspInit /tmp/ccGjXOU1.s:2215 .text.HAL_TIM_IC_MspDeInit:00000000 $t /tmp/ccGjXOU1.s:2221 .text.HAL_TIM_IC_MspDeInit:00000000 HAL_TIM_IC_MspDeInit /tmp/ccGjXOU1.s:2236 .text.HAL_TIM_IC_DeInit:00000000 $t /tmp/ccGjXOU1.s:2242 .text.HAL_TIM_IC_DeInit:00000000 HAL_TIM_IC_DeInit /tmp/ccGjXOU1.s:2328 .text.HAL_TIM_OnePulse_MspInit:00000000 $t /tmp/ccGjXOU1.s:2334 .text.HAL_TIM_OnePulse_MspInit:00000000 HAL_TIM_OnePulse_MspInit /tmp/ccGjXOU1.s:2349 .text.HAL_TIM_OnePulse_MspDeInit:00000000 $t /tmp/ccGjXOU1.s:2355 .text.HAL_TIM_OnePulse_MspDeInit:00000000 HAL_TIM_OnePulse_MspDeInit /tmp/ccGjXOU1.s:2370 .text.HAL_TIM_OnePulse_DeInit:00000000 $t /tmp/ccGjXOU1.s:2376 .text.HAL_TIM_OnePulse_DeInit:00000000 HAL_TIM_OnePulse_DeInit /tmp/ccGjXOU1.s:2446 .text.HAL_TIM_Encoder_MspInit:00000000 $t /tmp/ccGjXOU1.s:2452 .text.HAL_TIM_Encoder_MspInit:00000000 HAL_TIM_Encoder_MspInit /tmp/ccGjXOU1.s:2467 .text.HAL_TIM_Encoder_MspDeInit:00000000 $t /tmp/ccGjXOU1.s:2473 .text.HAL_TIM_Encoder_MspDeInit:00000000 HAL_TIM_Encoder_MspDeInit /tmp/ccGjXOU1.s:2488 .text.HAL_TIM_Encoder_DeInit:00000000 $t /tmp/ccGjXOU1.s:2494 .text.HAL_TIM_Encoder_DeInit:00000000 HAL_TIM_Encoder_DeInit /tmp/ccGjXOU1.s:2564 .text.HAL_TIM_DMABurst_MultiWriteStart:00000000 $t /tmp/ccGjXOU1.s:2570 .text.HAL_TIM_DMABurst_MultiWriteStart:00000000 HAL_TIM_DMABurst_MultiWriteStart /tmp/ccGjXOU1.s:2937 .text.HAL_TIM_DMABurst_MultiWriteStart:00000198 $d /tmp/ccGjXOU1.s:4363 .text.TIM_DMADelayPulseCplt:00000000 TIM_DMADelayPulseCplt /tmp/ccGjXOU1.s:4510 .text.TIM_DMADelayPulseHalfCplt:00000000 TIM_DMADelayPulseHalfCplt /tmp/ccGjXOU1.s:5002 .text.TIM_DMATriggerCplt:00000000 TIM_DMATriggerCplt /tmp/ccGjXOU1.s:5066 .text.TIM_DMATriggerHalfCplt:00000000 TIM_DMATriggerHalfCplt /tmp/ccGjXOU1.s:2950 .text.HAL_TIM_DMABurst_WriteStart:00000000 $t /tmp/ccGjXOU1.s:2956 .text.HAL_TIM_DMABurst_WriteStart:00000000 HAL_TIM_DMABurst_WriteStart /tmp/ccGjXOU1.s:2996 .text.HAL_TIM_DMABurst_WriteStop:00000000 $t /tmp/ccGjXOU1.s:3002 .text.HAL_TIM_DMABurst_WriteStop:00000000 HAL_TIM_DMABurst_WriteStop /tmp/ccGjXOU1.s:3154 .text.HAL_TIM_DMABurst_MultiReadStart:00000000 $t /tmp/ccGjXOU1.s:3160 .text.HAL_TIM_DMABurst_MultiReadStart:00000000 HAL_TIM_DMABurst_MultiReadStart /tmp/ccGjXOU1.s:3526 .text.HAL_TIM_DMABurst_MultiReadStart:00000198 $d /tmp/ccGjXOU1.s:4100 .text.TIM_DMACaptureCplt:00000000 TIM_DMACaptureCplt /tmp/ccGjXOU1.s:4255 .text.TIM_DMACaptureHalfCplt:00000000 TIM_DMACaptureHalfCplt /tmp/ccGjXOU1.s:3539 .text.HAL_TIM_DMABurst_ReadStart:00000000 $t /tmp/ccGjXOU1.s:3545 .text.HAL_TIM_DMABurst_ReadStart:00000000 HAL_TIM_DMABurst_ReadStart /tmp/ccGjXOU1.s:3585 .text.HAL_TIM_DMABurst_ReadStop:00000000 $t /tmp/ccGjXOU1.s:3591 .text.HAL_TIM_DMABurst_ReadStop:00000000 HAL_TIM_DMABurst_ReadStop /tmp/ccGjXOU1.s:3743 .text.HAL_TIM_GenerateEvent:00000000 $t /tmp/ccGjXOU1.s:3749 .text.HAL_TIM_GenerateEvent:00000000 HAL_TIM_GenerateEvent /tmp/ccGjXOU1.s:3802 .text.HAL_TIM_ConfigTI1Input:00000000 $t /tmp/ccGjXOU1.s:3808 .text.HAL_TIM_ConfigTI1Input:00000000 HAL_TIM_ConfigTI1Input /tmp/ccGjXOU1.s:3846 .text.HAL_TIM_ReadCapturedValue:00000000 $t /tmp/ccGjXOU1.s:3852 .text.HAL_TIM_ReadCapturedValue:00000000 HAL_TIM_ReadCapturedValue /tmp/ccGjXOU1.s:3866 .text.HAL_TIM_ReadCapturedValue:00000008 $d /tmp/ccGjXOU1.s:3935 .text.HAL_TIM_PeriodElapsedCallback:00000000 $t /tmp/ccGjXOU1.s:3941 .text.HAL_TIM_PeriodElapsedCallback:00000000 HAL_TIM_PeriodElapsedCallback /tmp/ccGjXOU1.s:3956 .text.TIM_DMAPeriodElapsedCplt:00000000 $t /tmp/ccGjXOU1.s:3999 .text.HAL_TIM_PeriodElapsedHalfCpltCallback:00000000 $t ARM GAS /tmp/ccGjXOU1.s page 513 /tmp/ccGjXOU1.s:4005 .text.HAL_TIM_PeriodElapsedHalfCpltCallback:00000000 HAL_TIM_PeriodElapsedHalfCpltCallback /tmp/ccGjXOU1.s:4020 .text.TIM_DMAPeriodElapsedHalfCplt:00000000 $t /tmp/ccGjXOU1.s:4052 .text.HAL_TIM_OC_DelayElapsedCallback:00000000 $t /tmp/ccGjXOU1.s:4058 .text.HAL_TIM_OC_DelayElapsedCallback:00000000 HAL_TIM_OC_DelayElapsedCallback /tmp/ccGjXOU1.s:4073 .text.HAL_TIM_IC_CaptureCallback:00000000 $t /tmp/ccGjXOU1.s:4079 .text.HAL_TIM_IC_CaptureCallback:00000000 HAL_TIM_IC_CaptureCallback /tmp/ccGjXOU1.s:4094 .text.TIM_DMACaptureCplt:00000000 $t /tmp/ccGjXOU1.s:4228 .text.HAL_TIM_IC_CaptureHalfCpltCallback:00000000 $t /tmp/ccGjXOU1.s:4234 .text.HAL_TIM_IC_CaptureHalfCpltCallback:00000000 HAL_TIM_IC_CaptureHalfCpltCallback /tmp/ccGjXOU1.s:4249 .text.TIM_DMACaptureHalfCplt:00000000 $t /tmp/ccGjXOU1.s:4337 .text.HAL_TIM_PWM_PulseFinishedCallback:00000000 $t /tmp/ccGjXOU1.s:4343 .text.HAL_TIM_PWM_PulseFinishedCallback:00000000 HAL_TIM_PWM_PulseFinishedCallback /tmp/ccGjXOU1.s:4358 .text.TIM_DMADelayPulseCplt:00000000 $t /tmp/ccGjXOU1.s:4483 .text.HAL_TIM_PWM_PulseFinishedHalfCpltCallback:00000000 $t /tmp/ccGjXOU1.s:4489 .text.HAL_TIM_PWM_PulseFinishedHalfCpltCallback:00000000 HAL_TIM_PWM_PulseFinishedHalfCpltCallback /tmp/ccGjXOU1.s:4504 .text.TIM_DMADelayPulseHalfCplt:00000000 $t /tmp/ccGjXOU1.s:4592 .text.HAL_TIM_TriggerCallback:00000000 $t /tmp/ccGjXOU1.s:4598 .text.HAL_TIM_TriggerCallback:00000000 HAL_TIM_TriggerCallback /tmp/ccGjXOU1.s:4613 .text.HAL_TIM_IRQHandler:00000000 $t /tmp/ccGjXOU1.s:4619 .text.HAL_TIM_IRQHandler:00000000 HAL_TIM_IRQHandler /tmp/ccGjXOU1.s:4997 .text.TIM_DMATriggerCplt:00000000 $t /tmp/ccGjXOU1.s:5040 .text.HAL_TIM_TriggerHalfCpltCallback:00000000 $t /tmp/ccGjXOU1.s:5046 .text.HAL_TIM_TriggerHalfCpltCallback:00000000 HAL_TIM_TriggerHalfCpltCallback /tmp/ccGjXOU1.s:5061 .text.TIM_DMATriggerHalfCplt:00000000 $t /tmp/ccGjXOU1.s:5093 .text.HAL_TIM_ErrorCallback:00000000 $t /tmp/ccGjXOU1.s:5099 .text.HAL_TIM_ErrorCallback:00000000 HAL_TIM_ErrorCallback /tmp/ccGjXOU1.s:5114 .text.TIM_DMAError:00000000 $t /tmp/ccGjXOU1.s:5218 .text.HAL_TIM_Base_GetState:00000000 $t /tmp/ccGjXOU1.s:5224 .text.HAL_TIM_Base_GetState:00000000 HAL_TIM_Base_GetState /tmp/ccGjXOU1.s:5242 .text.HAL_TIM_OC_GetState:00000000 $t /tmp/ccGjXOU1.s:5248 .text.HAL_TIM_OC_GetState:00000000 HAL_TIM_OC_GetState /tmp/ccGjXOU1.s:5266 .text.HAL_TIM_PWM_GetState:00000000 $t /tmp/ccGjXOU1.s:5272 .text.HAL_TIM_PWM_GetState:00000000 HAL_TIM_PWM_GetState /tmp/ccGjXOU1.s:5290 .text.HAL_TIM_IC_GetState:00000000 $t /tmp/ccGjXOU1.s:5296 .text.HAL_TIM_IC_GetState:00000000 HAL_TIM_IC_GetState /tmp/ccGjXOU1.s:5314 .text.HAL_TIM_OnePulse_GetState:00000000 $t /tmp/ccGjXOU1.s:5320 .text.HAL_TIM_OnePulse_GetState:00000000 HAL_TIM_OnePulse_GetState /tmp/ccGjXOU1.s:5338 .text.HAL_TIM_Encoder_GetState:00000000 $t /tmp/ccGjXOU1.s:5344 .text.HAL_TIM_Encoder_GetState:00000000 HAL_TIM_Encoder_GetState /tmp/ccGjXOU1.s:5362 .text.HAL_TIM_GetActiveChannel:00000000 $t /tmp/ccGjXOU1.s:5368 .text.HAL_TIM_GetActiveChannel:00000000 HAL_TIM_GetActiveChannel /tmp/ccGjXOU1.s:5386 .text.HAL_TIM_GetChannelState:00000000 $t /tmp/ccGjXOU1.s:5392 .text.HAL_TIM_GetChannelState:00000000 HAL_TIM_GetChannelState /tmp/ccGjXOU1.s:5407 .text.HAL_TIM_GetChannelState:00000008 $d /tmp/ccGjXOU1.s:5479 .text.HAL_TIM_DMABurstState:00000000 $t /tmp/ccGjXOU1.s:5485 .text.HAL_TIM_DMABurstState:00000000 HAL_TIM_DMABurstState /tmp/ccGjXOU1.s:5504 .text.TIM_Base_SetConfig:00000000 $t /tmp/ccGjXOU1.s:5510 .text.TIM_Base_SetConfig:00000000 TIM_Base_SetConfig /tmp/ccGjXOU1.s:5669 .text.TIM_Base_SetConfig:000000c4 $d /tmp/ccGjXOU1.s:5674 .text.HAL_TIM_Base_Init:00000000 $t /tmp/ccGjXOU1.s:5680 .text.HAL_TIM_Base_Init:00000000 HAL_TIM_Base_Init /tmp/ccGjXOU1.s:5781 .text.HAL_TIM_OC_Init:00000000 $t /tmp/ccGjXOU1.s:5787 .text.HAL_TIM_OC_Init:00000000 HAL_TIM_OC_Init /tmp/ccGjXOU1.s:5888 .text.HAL_TIM_PWM_Init:00000000 $t /tmp/ccGjXOU1.s:5894 .text.HAL_TIM_PWM_Init:00000000 HAL_TIM_PWM_Init /tmp/ccGjXOU1.s:5995 .text.HAL_TIM_IC_Init:00000000 $t /tmp/ccGjXOU1.s:6001 .text.HAL_TIM_IC_Init:00000000 HAL_TIM_IC_Init ARM GAS /tmp/ccGjXOU1.s page 514 /tmp/ccGjXOU1.s:6102 .text.HAL_TIM_OnePulse_Init:00000000 $t /tmp/ccGjXOU1.s:6108 .text.HAL_TIM_OnePulse_Init:00000000 HAL_TIM_OnePulse_Init /tmp/ccGjXOU1.s:6215 .text.HAL_TIM_Encoder_Init:00000000 $t /tmp/ccGjXOU1.s:6221 .text.HAL_TIM_Encoder_Init:00000000 HAL_TIM_Encoder_Init /tmp/ccGjXOU1.s:6434 .text.TIM_OC2_SetConfig:00000000 $t /tmp/ccGjXOU1.s:6440 .text.TIM_OC2_SetConfig:00000000 TIM_OC2_SetConfig /tmp/ccGjXOU1.s:6596 .text.TIM_OC2_SetConfig:00000088 $d /tmp/ccGjXOU1.s:6601 .text.HAL_TIM_OC_ConfigChannel:00000000 $t /tmp/ccGjXOU1.s:6607 .text.HAL_TIM_OC_ConfigChannel:00000000 HAL_TIM_OC_ConfigChannel /tmp/ccGjXOU1.s:6639 .text.HAL_TIM_OC_ConfigChannel:0000001a $d /tmp/ccGjXOU1.s:6773 .text.HAL_TIM_PWM_ConfigChannel:00000000 $t /tmp/ccGjXOU1.s:6779 .text.HAL_TIM_PWM_ConfigChannel:00000000 HAL_TIM_PWM_ConfigChannel /tmp/ccGjXOU1.s:6816 .text.HAL_TIM_PWM_ConfigChannel:00000020 $d /tmp/ccGjXOU1.s:7104 .text.TIM_TI1_SetConfig:00000000 $t /tmp/ccGjXOU1.s:7110 .text.TIM_TI1_SetConfig:00000000 TIM_TI1_SetConfig /tmp/ccGjXOU1.s:7226 .text.TIM_TI1_SetConfig:00000064 $d /tmp/ccGjXOU1.s:7232 .text.HAL_TIM_IC_ConfigChannel:00000000 $t /tmp/ccGjXOU1.s:7238 .text.HAL_TIM_IC_ConfigChannel:00000000 HAL_TIM_IC_ConfigChannel /tmp/ccGjXOU1.s:7276 .text.HAL_TIM_IC_ConfigChannel:0000001c $d /tmp/ccGjXOU1.s:7463 .text.HAL_TIM_OnePulse_ConfigChannel:00000000 $t /tmp/ccGjXOU1.s:7469 .text.HAL_TIM_OnePulse_ConfigChannel:00000000 HAL_TIM_OnePulse_ConfigChannel /tmp/ccGjXOU1.s:7745 .text.TIM_ETR_SetConfig:00000000 $t /tmp/ccGjXOU1.s:7751 .text.TIM_ETR_SetConfig:00000000 TIM_ETR_SetConfig /tmp/ccGjXOU1.s:7795 .text.HAL_TIM_ConfigOCrefClear:00000000 $t /tmp/ccGjXOU1.s:7801 .text.HAL_TIM_ConfigOCrefClear:00000000 HAL_TIM_ConfigOCrefClear /tmp/ccGjXOU1.s:7967 .text.HAL_TIM_ConfigOCrefClear:000000f4 $d /tmp/ccGjXOU1.s:8236 .text.HAL_TIM_ConfigOCrefClear:00000248 $d /tmp/ccGjXOU1.s:8241 .text.HAL_TIM_ConfigClockSource:00000000 $t /tmp/ccGjXOU1.s:8247 .text.HAL_TIM_ConfigClockSource:00000000 HAL_TIM_ConfigClockSource /tmp/ccGjXOU1.s:8576 .text.HAL_TIM_ConfigClockSource:0000012c $d /tmp/ccGjXOU1.s:8583 .text.TIM_SlaveTimer_SetConfig:00000000 $t /tmp/ccGjXOU1.s:8588 .text.TIM_SlaveTimer_SetConfig:00000000 TIM_SlaveTimer_SetConfig /tmp/ccGjXOU1.s:8935 .text.TIM_SlaveTimer_SetConfig:0000010c $d /tmp/ccGjXOU1.s:8941 .text.HAL_TIM_SlaveConfigSynchro:00000000 $t /tmp/ccGjXOU1.s:8947 .text.HAL_TIM_SlaveConfigSynchro:00000000 HAL_TIM_SlaveConfigSynchro /tmp/ccGjXOU1.s:9035 .text.HAL_TIM_SlaveConfigSynchro_IT:00000000 $t /tmp/ccGjXOU1.s:9041 .text.HAL_TIM_SlaveConfigSynchro_IT:00000000 HAL_TIM_SlaveConfigSynchro_IT /tmp/ccGjXOU1.s:9129 .text.TIM_CCxChannelCmd:00000000 $t /tmp/ccGjXOU1.s:9135 .text.TIM_CCxChannelCmd:00000000 TIM_CCxChannelCmd /tmp/ccGjXOU1.s:9175 .text.HAL_TIM_OC_Start:00000000 $t /tmp/ccGjXOU1.s:9181 .text.HAL_TIM_OC_Start:00000000 HAL_TIM_OC_Start /tmp/ccGjXOU1.s:9202 .text.HAL_TIM_OC_Start:0000000c $d /tmp/ccGjXOU1.s:9276 .text.HAL_TIM_OC_Start:00000070 $d /tmp/ccGjXOU1.s:9435 .text.HAL_TIM_OC_Start:0000014c $d /tmp/ccGjXOU1.s:9441 .text.HAL_TIM_OC_Stop:00000000 $t /tmp/ccGjXOU1.s:9447 .text.HAL_TIM_OC_Stop:00000000 HAL_TIM_OC_Stop /tmp/ccGjXOU1.s:9535 .text.HAL_TIM_OC_Stop:00000078 $d /tmp/ccGjXOU1.s:9592 .text.HAL_TIM_OC_Stop:000000bc $d /tmp/ccGjXOU1.s:9597 .text.HAL_TIM_OC_Start_IT:00000000 $t /tmp/ccGjXOU1.s:9603 .text.HAL_TIM_OC_Start_IT:00000000 HAL_TIM_OC_Start_IT /tmp/ccGjXOU1.s:9626 .text.HAL_TIM_OC_Start_IT:0000000c $d /tmp/ccGjXOU1.s:9700 .text.HAL_TIM_OC_Start_IT:00000072 $d /tmp/ccGjXOU1.s:9864 .text.HAL_TIM_OC_Start_IT:00000158 $d /tmp/ccGjXOU1.s:9878 .text.HAL_TIM_OC_Start_IT:0000018c $t /tmp/ccGjXOU1.s:9928 .text.HAL_TIM_OC_Start_IT:000001b8 $d /tmp/ccGjXOU1.s:9934 .text.HAL_TIM_OC_Stop_IT:00000000 $t /tmp/ccGjXOU1.s:9940 .text.HAL_TIM_OC_Stop_IT:00000000 HAL_TIM_OC_Stop_IT ARM GAS /tmp/ccGjXOU1.s page 515 /tmp/ccGjXOU1.s:9965 .text.HAL_TIM_OC_Stop_IT:00000010 $d /tmp/ccGjXOU1.s:10061 .text.HAL_TIM_OC_Stop_IT:0000009c $d /tmp/ccGjXOU1.s:10158 .text.HAL_TIM_OC_Stop_IT:00000114 $d /tmp/ccGjXOU1.s:10163 .text.HAL_TIM_OC_Start_DMA:00000000 $t /tmp/ccGjXOU1.s:10169 .text.HAL_TIM_OC_Start_DMA:00000000 HAL_TIM_OC_Start_DMA /tmp/ccGjXOU1.s:10197 .text.HAL_TIM_OC_Start_DMA:00000010 $d /tmp/ccGjXOU1.s:10288 .text.HAL_TIM_OC_Start_DMA:00000082 $d /tmp/ccGjXOU1.s:10375 .text.HAL_TIM_OC_Start_DMA:00000102 $d /tmp/ccGjXOU1.s:10657 .text.HAL_TIM_OC_Start_DMA:00000270 $d /tmp/ccGjXOU1.s:10671 .text.HAL_TIM_OC_Start_DMA:000002a4 $t /tmp/ccGjXOU1.s:10747 .text.HAL_TIM_OC_Start_DMA:000002ec $d /tmp/ccGjXOU1.s:10756 .text.HAL_TIM_OC_Stop_DMA:00000000 $t /tmp/ccGjXOU1.s:10762 .text.HAL_TIM_OC_Stop_DMA:00000000 HAL_TIM_OC_Stop_DMA /tmp/ccGjXOU1.s:10787 .text.HAL_TIM_OC_Stop_DMA:00000010 $d /tmp/ccGjXOU1.s:10886 .text.HAL_TIM_OC_Stop_DMA:000000a2 $d /tmp/ccGjXOU1.s:11005 .text.HAL_TIM_OC_Stop_DMA:0000012c $d /tmp/ccGjXOU1.s:11010 .text.HAL_TIM_PWM_Start:00000000 $t /tmp/ccGjXOU1.s:11016 .text.HAL_TIM_PWM_Start:00000000 HAL_TIM_PWM_Start /tmp/ccGjXOU1.s:11037 .text.HAL_TIM_PWM_Start:0000000c $d /tmp/ccGjXOU1.s:11111 .text.HAL_TIM_PWM_Start:00000070 $d /tmp/ccGjXOU1.s:11270 .text.HAL_TIM_PWM_Start:0000014c $d /tmp/ccGjXOU1.s:11276 .text.HAL_TIM_PWM_Stop:00000000 $t /tmp/ccGjXOU1.s:11282 .text.HAL_TIM_PWM_Stop:00000000 HAL_TIM_PWM_Stop /tmp/ccGjXOU1.s:11370 .text.HAL_TIM_PWM_Stop:00000078 $d /tmp/ccGjXOU1.s:11427 .text.HAL_TIM_PWM_Stop:000000bc $d /tmp/ccGjXOU1.s:11432 .text.HAL_TIM_PWM_Start_IT:00000000 $t /tmp/ccGjXOU1.s:11438 .text.HAL_TIM_PWM_Start_IT:00000000 HAL_TIM_PWM_Start_IT /tmp/ccGjXOU1.s:11461 .text.HAL_TIM_PWM_Start_IT:0000000c $d /tmp/ccGjXOU1.s:11535 .text.HAL_TIM_PWM_Start_IT:00000072 $d /tmp/ccGjXOU1.s:11699 .text.HAL_TIM_PWM_Start_IT:00000158 $d /tmp/ccGjXOU1.s:11713 .text.HAL_TIM_PWM_Start_IT:0000018c $t /tmp/ccGjXOU1.s:11763 .text.HAL_TIM_PWM_Start_IT:000001b8 $d /tmp/ccGjXOU1.s:11769 .text.HAL_TIM_PWM_Stop_IT:00000000 $t /tmp/ccGjXOU1.s:11775 .text.HAL_TIM_PWM_Stop_IT:00000000 HAL_TIM_PWM_Stop_IT /tmp/ccGjXOU1.s:11800 .text.HAL_TIM_PWM_Stop_IT:00000010 $d /tmp/ccGjXOU1.s:11896 .text.HAL_TIM_PWM_Stop_IT:0000009c $d /tmp/ccGjXOU1.s:11993 .text.HAL_TIM_PWM_Stop_IT:00000114 $d /tmp/ccGjXOU1.s:11998 .text.HAL_TIM_PWM_Start_DMA:00000000 $t /tmp/ccGjXOU1.s:12004 .text.HAL_TIM_PWM_Start_DMA:00000000 HAL_TIM_PWM_Start_DMA /tmp/ccGjXOU1.s:12032 .text.HAL_TIM_PWM_Start_DMA:00000010 $d /tmp/ccGjXOU1.s:12123 .text.HAL_TIM_PWM_Start_DMA:00000082 $d /tmp/ccGjXOU1.s:12210 .text.HAL_TIM_PWM_Start_DMA:00000102 $d /tmp/ccGjXOU1.s:12492 .text.HAL_TIM_PWM_Start_DMA:00000270 $d /tmp/ccGjXOU1.s:12506 .text.HAL_TIM_PWM_Start_DMA:000002a4 $t /tmp/ccGjXOU1.s:12582 .text.HAL_TIM_PWM_Start_DMA:000002ec $d /tmp/ccGjXOU1.s:12591 .text.HAL_TIM_PWM_Stop_DMA:00000000 $t /tmp/ccGjXOU1.s:12597 .text.HAL_TIM_PWM_Stop_DMA:00000000 HAL_TIM_PWM_Stop_DMA /tmp/ccGjXOU1.s:12622 .text.HAL_TIM_PWM_Stop_DMA:00000010 $d /tmp/ccGjXOU1.s:12721 .text.HAL_TIM_PWM_Stop_DMA:000000a2 $d /tmp/ccGjXOU1.s:12840 .text.HAL_TIM_PWM_Stop_DMA:0000012c $d /tmp/ccGjXOU1.s:12845 .text.HAL_TIM_IC_Start:00000000 $t /tmp/ccGjXOU1.s:12851 .text.HAL_TIM_IC_Start:00000000 HAL_TIM_IC_Start /tmp/ccGjXOU1.s:12871 .text.HAL_TIM_IC_Start:0000000c $d /tmp/ccGjXOU1.s:12976 .text.HAL_TIM_IC_Start:00000070 $d /tmp/ccGjXOU1.s:13148 .text.HAL_TIM_IC_Start:0000014c $d /tmp/ccGjXOU1.s:13154 .text.HAL_TIM_IC_Stop:00000000 $t /tmp/ccGjXOU1.s:13160 .text.HAL_TIM_IC_Stop:00000000 HAL_TIM_IC_Stop ARM GAS /tmp/ccGjXOU1.s page 516 /tmp/ccGjXOU1.s:13208 .text.HAL_TIM_IC_Stop:00000034 $d /tmp/ccGjXOU1.s:13293 .text.HAL_TIM_IC_Start_IT:00000000 $t /tmp/ccGjXOU1.s:13299 .text.HAL_TIM_IC_Start_IT:00000000 HAL_TIM_IC_Start_IT /tmp/ccGjXOU1.s:13321 .text.HAL_TIM_IC_Start_IT:0000000c $d /tmp/ccGjXOU1.s:13425 .text.HAL_TIM_IC_Start_IT:00000074 $d /tmp/ccGjXOU1.s:13521 .text.HAL_TIM_IC_Start_IT:000000ec $d /tmp/ccGjXOU1.s:13534 .text.HAL_TIM_IC_Start_IT:00000120 $t /tmp/ccGjXOU1.s:13669 .text.HAL_TIM_IC_Start_IT:000001bc $d /tmp/ccGjXOU1.s:13675 .text.HAL_TIM_IC_Stop_IT:00000000 $t /tmp/ccGjXOU1.s:13681 .text.HAL_TIM_IC_Stop_IT:00000000 HAL_TIM_IC_Stop_IT /tmp/ccGjXOU1.s:13706 .text.HAL_TIM_IC_Stop_IT:0000000e $d /tmp/ccGjXOU1.s:13762 .text.HAL_TIM_IC_Stop_IT:00000056 $d /tmp/ccGjXOU1.s:13885 .text.HAL_TIM_IC_Start_DMA:00000000 $t /tmp/ccGjXOU1.s:13891 .text.HAL_TIM_IC_Start_DMA:00000000 HAL_TIM_IC_Start_DMA /tmp/ccGjXOU1.s:13921 .text.HAL_TIM_IC_Start_DMA:00000014 $d /tmp/ccGjXOU1.s:14040 .text.HAL_TIM_IC_Start_DMA:0000009c $d /tmp/ccGjXOU1.s:14133 .text.HAL_TIM_IC_Start_DMA:00000114 $d /tmp/ccGjXOU1.s:14447 .text.HAL_TIM_IC_Start_DMA:00000278 $d /tmp/ccGjXOU1.s:14456 .text.HAL_TIM_IC_Stop_DMA:00000000 $t /tmp/ccGjXOU1.s:14462 .text.HAL_TIM_IC_Stop_DMA:00000000 HAL_TIM_IC_Stop_DMA /tmp/ccGjXOU1.s:14495 .text.HAL_TIM_IC_Stop_DMA:00000016 $d /tmp/ccGjXOU1.s:14546 .text.HAL_TIM_IC_Stop_DMA:0000005a $d /tmp/ccGjXOU1.s:14681 .text.HAL_TIM_OnePulse_Start:00000000 $t /tmp/ccGjXOU1.s:14687 .text.HAL_TIM_OnePulse_Start:00000000 HAL_TIM_OnePulse_Start /tmp/ccGjXOU1.s:14816 .text.HAL_TIM_OnePulse_Start:00000098 $d /tmp/ccGjXOU1.s:14821 .text.HAL_TIM_OnePulse_Stop:00000000 $t /tmp/ccGjXOU1.s:14827 .text.HAL_TIM_OnePulse_Stop:00000000 HAL_TIM_OnePulse_Stop /tmp/ccGjXOU1.s:14934 .text.HAL_TIM_OnePulse_Stop:00000090 $d /tmp/ccGjXOU1.s:14939 .text.HAL_TIM_OnePulse_Start_IT:00000000 $t /tmp/ccGjXOU1.s:14945 .text.HAL_TIM_OnePulse_Start_IT:00000000 HAL_TIM_OnePulse_Start_IT /tmp/ccGjXOU1.s:15087 .text.HAL_TIM_OnePulse_Start_IT:000000b0 $d /tmp/ccGjXOU1.s:15092 .text.HAL_TIM_OnePulse_Stop_IT:00000000 $t /tmp/ccGjXOU1.s:15098 .text.HAL_TIM_OnePulse_Stop_IT:00000000 HAL_TIM_OnePulse_Stop_IT /tmp/ccGjXOU1.s:15215 .text.HAL_TIM_OnePulse_Stop_IT:000000a4 $d /tmp/ccGjXOU1.s:15220 .text.HAL_TIM_Encoder_Start:00000000 $t /tmp/ccGjXOU1.s:15226 .text.HAL_TIM_Encoder_Start:00000000 HAL_TIM_Encoder_Start /tmp/ccGjXOU1.s:15447 .text.HAL_TIM_Encoder_Stop:00000000 $t /tmp/ccGjXOU1.s:15453 .text.HAL_TIM_Encoder_Stop:00000000 HAL_TIM_Encoder_Stop /tmp/ccGjXOU1.s:15582 .text.HAL_TIM_Encoder_Start_IT:00000000 $t /tmp/ccGjXOU1.s:15588 .text.HAL_TIM_Encoder_Start_IT:00000000 HAL_TIM_Encoder_Start_IT /tmp/ccGjXOU1.s:15830 .text.HAL_TIM_Encoder_Stop_IT:00000000 $t /tmp/ccGjXOU1.s:15836 .text.HAL_TIM_Encoder_Stop_IT:00000000 HAL_TIM_Encoder_Stop_IT /tmp/ccGjXOU1.s:15986 .text.HAL_TIM_Encoder_Start_DMA:00000000 $t /tmp/ccGjXOU1.s:15992 .text.HAL_TIM_Encoder_Start_DMA:00000000 HAL_TIM_Encoder_Start_DMA /tmp/ccGjXOU1.s:16527 .text.HAL_TIM_Encoder_Start_DMA:00000258 $d /tmp/ccGjXOU1.s:16534 .text.HAL_TIM_Encoder_Stop_DMA:00000000 $t /tmp/ccGjXOU1.s:16540 .text.HAL_TIM_Encoder_Stop_DMA:00000000 HAL_TIM_Encoder_Stop_DMA /tmp/ccGjXOU1.s:3879 .text.HAL_TIM_ReadCapturedValue:00000015 $d /tmp/ccGjXOU1.s:3879 .text.HAL_TIM_ReadCapturedValue:00000016 $t /tmp/ccGjXOU1.s:5424 .text.HAL_TIM_GetChannelState:00000019 $d /tmp/ccGjXOU1.s:5424 .text.HAL_TIM_GetChannelState:0000001a $t /tmp/ccGjXOU1.s:6660 .text.HAL_TIM_OC_ConfigChannel:0000002f $d /tmp/ccGjXOU1.s:6660 .text.HAL_TIM_OC_ConfigChannel:00000030 $t /tmp/ccGjXOU1.s:6837 .text.HAL_TIM_PWM_ConfigChannel:00000035 $d /tmp/ccGjXOU1.s:6837 .text.HAL_TIM_PWM_ConfigChannel:00000036 $t /tmp/ccGjXOU1.s:7289 .text.HAL_TIM_IC_ConfigChannel:00000029 $d /tmp/ccGjXOU1.s:7289 .text.HAL_TIM_IC_ConfigChannel:0000002a $t ARM GAS /tmp/ccGjXOU1.s page 517 /tmp/ccGjXOU1.s:7989 .text.HAL_TIM_ConfigOCrefClear:00000109 $d /tmp/ccGjXOU1.s:7989 .text.HAL_TIM_ConfigOCrefClear:0000010a $t /tmp/ccGjXOU1.s:9219 .text.HAL_TIM_OC_Start:0000001d $d /tmp/ccGjXOU1.s:9219 .text.HAL_TIM_OC_Start:0000001e $t /tmp/ccGjXOU1.s:9293 .text.HAL_TIM_OC_Start:00000081 $d /tmp/ccGjXOU1.s:9293 .text.HAL_TIM_OC_Start:00000082 $t /tmp/ccGjXOU1.s:9552 .text.HAL_TIM_OC_Stop:00000089 $d /tmp/ccGjXOU1.s:9552 .text.HAL_TIM_OC_Stop:0000008a $t /tmp/ccGjXOU1.s:9643 .text.HAL_TIM_OC_Start_IT:0000001d $d /tmp/ccGjXOU1.s:9643 .text.HAL_TIM_OC_Start_IT:0000001e $t /tmp/ccGjXOU1.s:9717 .text.HAL_TIM_OC_Start_IT:00000083 $d /tmp/ccGjXOU1.s:9717 .text.HAL_TIM_OC_Start_IT:00000084 $t /tmp/ccGjXOU1.s:9978 .text.HAL_TIM_OC_Stop_IT:0000001d $d /tmp/ccGjXOU1.s:9978 .text.HAL_TIM_OC_Stop_IT:0000001e $t /tmp/ccGjXOU1.s:10079 .text.HAL_TIM_OC_Stop_IT:000000ad $d /tmp/ccGjXOU1.s:10079 .text.HAL_TIM_OC_Stop_IT:000000ae $t /tmp/ccGjXOU1.s:10214 .text.HAL_TIM_OC_Start_DMA:00000021 $d /tmp/ccGjXOU1.s:10214 .text.HAL_TIM_OC_Start_DMA:00000022 $t /tmp/ccGjXOU1.s:10305 .text.HAL_TIM_OC_Start_DMA:00000093 $d /tmp/ccGjXOU1.s:10305 .text.HAL_TIM_OC_Start_DMA:00000094 $t /tmp/ccGjXOU1.s:10392 .text.HAL_TIM_OC_Start_DMA:00000113 $d /tmp/ccGjXOU1.s:10392 .text.HAL_TIM_OC_Start_DMA:00000114 $t /tmp/ccGjXOU1.s:10800 .text.HAL_TIM_OC_Stop_DMA:0000001d $d /tmp/ccGjXOU1.s:10800 .text.HAL_TIM_OC_Stop_DMA:0000001e $t /tmp/ccGjXOU1.s:10904 .text.HAL_TIM_OC_Stop_DMA:000000b3 $d /tmp/ccGjXOU1.s:10904 .text.HAL_TIM_OC_Stop_DMA:000000b4 $t /tmp/ccGjXOU1.s:11054 .text.HAL_TIM_PWM_Start:0000001d $d /tmp/ccGjXOU1.s:11054 .text.HAL_TIM_PWM_Start:0000001e $t /tmp/ccGjXOU1.s:11128 .text.HAL_TIM_PWM_Start:00000081 $d /tmp/ccGjXOU1.s:11128 .text.HAL_TIM_PWM_Start:00000082 $t /tmp/ccGjXOU1.s:11387 .text.HAL_TIM_PWM_Stop:00000089 $d /tmp/ccGjXOU1.s:11387 .text.HAL_TIM_PWM_Stop:0000008a $t /tmp/ccGjXOU1.s:11478 .text.HAL_TIM_PWM_Start_IT:0000001d $d /tmp/ccGjXOU1.s:11478 .text.HAL_TIM_PWM_Start_IT:0000001e $t /tmp/ccGjXOU1.s:11552 .text.HAL_TIM_PWM_Start_IT:00000083 $d /tmp/ccGjXOU1.s:11552 .text.HAL_TIM_PWM_Start_IT:00000084 $t /tmp/ccGjXOU1.s:11813 .text.HAL_TIM_PWM_Stop_IT:0000001d $d /tmp/ccGjXOU1.s:11813 .text.HAL_TIM_PWM_Stop_IT:0000001e $t /tmp/ccGjXOU1.s:11914 .text.HAL_TIM_PWM_Stop_IT:000000ad $d /tmp/ccGjXOU1.s:11914 .text.HAL_TIM_PWM_Stop_IT:000000ae $t /tmp/ccGjXOU1.s:12049 .text.HAL_TIM_PWM_Start_DMA:00000021 $d /tmp/ccGjXOU1.s:12049 .text.HAL_TIM_PWM_Start_DMA:00000022 $t /tmp/ccGjXOU1.s:12140 .text.HAL_TIM_PWM_Start_DMA:00000093 $d /tmp/ccGjXOU1.s:12140 .text.HAL_TIM_PWM_Start_DMA:00000094 $t /tmp/ccGjXOU1.s:12227 .text.HAL_TIM_PWM_Start_DMA:00000113 $d /tmp/ccGjXOU1.s:12227 .text.HAL_TIM_PWM_Start_DMA:00000114 $t /tmp/ccGjXOU1.s:12635 .text.HAL_TIM_PWM_Stop_DMA:0000001d $d /tmp/ccGjXOU1.s:12635 .text.HAL_TIM_PWM_Stop_DMA:0000001e $t /tmp/ccGjXOU1.s:12739 .text.HAL_TIM_PWM_Stop_DMA:000000b3 $d /tmp/ccGjXOU1.s:12739 .text.HAL_TIM_PWM_Stop_DMA:000000b4 $t /tmp/ccGjXOU1.s:12888 .text.HAL_TIM_IC_Start:0000001d $d /tmp/ccGjXOU1.s:12888 .text.HAL_TIM_IC_Start:0000001e $t /tmp/ccGjXOU1.s:12993 .text.HAL_TIM_IC_Start:00000081 $d /tmp/ccGjXOU1.s:12993 .text.HAL_TIM_IC_Start:00000082 $t /tmp/ccGjXOU1.s:13225 .text.HAL_TIM_IC_Stop:00000045 $d /tmp/ccGjXOU1.s:13225 .text.HAL_TIM_IC_Stop:00000046 $t /tmp/ccGjXOU1.s:13338 .text.HAL_TIM_IC_Start_IT:0000001d $d ARM GAS /tmp/ccGjXOU1.s page 518 /tmp/ccGjXOU1.s:13338 .text.HAL_TIM_IC_Start_IT:0000001e $t /tmp/ccGjXOU1.s:13443 .text.HAL_TIM_IC_Start_IT:00000085 $d /tmp/ccGjXOU1.s:13443 .text.HAL_TIM_IC_Start_IT:00000086 $t /tmp/ccGjXOU1.s:13719 .text.HAL_TIM_IC_Stop_IT:0000001b $d /tmp/ccGjXOU1.s:13719 .text.HAL_TIM_IC_Stop_IT:0000001c $t /tmp/ccGjXOU1.s:13780 .text.HAL_TIM_IC_Stop_IT:00000067 $d /tmp/ccGjXOU1.s:13780 .text.HAL_TIM_IC_Stop_IT:00000068 $t /tmp/ccGjXOU1.s:13938 .text.HAL_TIM_IC_Start_DMA:00000025 $d /tmp/ccGjXOU1.s:13938 .text.HAL_TIM_IC_Start_DMA:00000026 $t /tmp/ccGjXOU1.s:14058 .text.HAL_TIM_IC_Start_DMA:000000ad $d /tmp/ccGjXOU1.s:14058 .text.HAL_TIM_IC_Start_DMA:000000ae $t /tmp/ccGjXOU1.s:14147 .text.HAL_TIM_IC_Start_DMA:00000121 $d /tmp/ccGjXOU1.s:14147 .text.HAL_TIM_IC_Start_DMA:00000122 $t /tmp/ccGjXOU1.s:14508 .text.HAL_TIM_IC_Stop_DMA:00000023 $d /tmp/ccGjXOU1.s:14508 .text.HAL_TIM_IC_Stop_DMA:00000024 $t /tmp/ccGjXOU1.s:14563 .text.HAL_TIM_IC_Stop_DMA:0000006b $d /tmp/ccGjXOU1.s:14563 .text.HAL_TIM_IC_Stop_DMA:0000006c $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