ARM GAS /tmp/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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/ccodHXtm.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 1367 0004 DBB2 uxtb r3, r3 423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1368 .loc 1 423 6 view .LVU496 1369 0006 012B cmp r3, #1 1370 0008 2DD1 bne .L57 429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1371 .loc 1 429 3 is_stmt 1 view .LVU497 429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 166 1372 .loc 1 429 15 is_stmt 0 view .LVU498 1373 000a 0223 movs r3, #2 1374 000c 80F83D30 strb r3, [r0, #61] 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1375 .loc 1 432 3 is_stmt 1 view .LVU499 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1376 .loc 1 432 7 is_stmt 0 view .LVU500 1377 0010 0368 ldr r3, [r0] 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1378 .loc 1 432 6 view .LVU501 1379 0012 184A ldr r2, .L60 1380 0014 9342 cmp r3, r2 1381 0016 18D0 beq .L55 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1382 .loc 1 432 7 discriminator 1 view .LVU502 1383 0018 B3F1804F cmp r3, #1073741824 1384 001c 15D0 beq .L55 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1385 .loc 1 432 7 discriminator 2 view .LVU503 1386 001e A2F59432 sub r2, r2, #75776 1387 0022 9342 cmp r3, r2 1388 0024 11D0 beq .L55 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1389 .loc 1 432 7 discriminator 3 view .LVU504 1390 0026 02F58062 add r2, r2, #1024 1391 002a 9342 cmp r3, r2 1392 002c 0DD0 beq .L55 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1393 .loc 1 432 7 discriminator 4 view .LVU505 1394 002e 02F59632 add r2, r2, #76800 1395 0032 9342 cmp r3, r2 1396 0034 09D0 beq .L55 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1397 .loc 1 432 7 discriminator 5 view .LVU506 1398 0036 02F54062 add r2, r2, #3072 1399 003a 9342 cmp r3, r2 1400 003c 05D0 beq .L55 442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1401 .loc 1 442 5 is_stmt 1 view .LVU507 1402 003e 1A68 ldr r2, [r3] 1403 0040 42F00102 orr r2, r2, #1 1404 0044 1A60 str r2, [r3] 446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1405 .loc 1 446 10 is_stmt 0 view .LVU508 1406 0046 0020 movs r0, #0 1407 .LVL138: 446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1408 .loc 1 446 10 view .LVU509 1409 0048 7047 bx lr 1410 .LVL139: 1411 .L55: 434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1412 .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)) 1413 .loc 1 434 29 is_stmt 0 view .LVU511 1414 004a 9968 ldr r1, [r3, #8] 434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) ARM GAS /tmp/ccodHXtm.s page 167 1415 .loc 1 434 13 view .LVU512 1416 004c 0A4A ldr r2, .L60+4 1417 004e 0A40 ands r2, r2, r1 1418 .LVL140: 435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1419 .loc 1 435 5 is_stmt 1 view .LVU513 435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1420 .loc 1 435 8 is_stmt 0 view .LVU514 1421 0050 062A cmp r2, #6 1422 0052 0AD0 beq .L58 435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1423 .loc 1 435 9 discriminator 1 view .LVU515 1424 0054 B2F5803F cmp r2, #65536 1425 0058 09D0 beq .L59 437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1426 .loc 1 437 7 is_stmt 1 view .LVU516 1427 005a 1A68 ldr r2, [r3] 1428 .LVL141: 437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1429 .loc 1 437 7 is_stmt 0 view .LVU517 1430 005c 42F00102 orr r2, r2, #1 1431 0060 1A60 str r2, [r3] 446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1432 .loc 1 446 10 view .LVU518 1433 0062 0020 movs r0, #0 1434 .LVL142: 446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1435 .loc 1 446 10 view .LVU519 1436 0064 7047 bx lr 1437 .LVL143: 1438 .L57: 425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1439 .loc 1 425 12 view .LVU520 1440 0066 0120 movs r0, #1 1441 .LVL144: 425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1442 .loc 1 425 12 view .LVU521 1443 0068 7047 bx lr 1444 .LVL145: 1445 .L58: 446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1446 .loc 1 446 10 view .LVU522 1447 006a 0020 movs r0, #0 1448 .LVL146: 446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1449 .loc 1 446 10 view .LVU523 1450 006c 7047 bx lr 1451 .LVL147: 1452 .L59: 446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1453 .loc 1 446 10 view .LVU524 1454 006e 0020 movs r0, #0 1455 .LVL148: 447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1456 .loc 1 447 1 view .LVU525 1457 0070 7047 bx lr 1458 .L61: ARM GAS /tmp/ccodHXtm.s page 168 1459 0072 00BF .align 2 1460 .L60: 1461 0074 002C0140 .word 1073818624 1462 0078 07000100 .word 65543 1463 .cfi_endproc 1464 .LFE333: 1466 .section .text.HAL_TIM_Base_Stop,"ax",%progbits 1467 .align 1 1468 .global HAL_TIM_Base_Stop 1469 .syntax unified 1470 .thumb 1471 .thumb_func 1473 HAL_TIM_Base_Stop: 1474 .LVL149: 1475 .LFB334: 455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1476 .loc 1 455 1 is_stmt 1 view -0 1477 .cfi_startproc 1478 @ args = 0, pretend = 0, frame = 0 1479 @ frame_needed = 0, uses_anonymous_args = 0 1480 @ link register save eliminated. 457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1481 .loc 1 457 3 view .LVU527 460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1482 .loc 1 460 3 view .LVU528 460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1483 .loc 1 460 3 view .LVU529 1484 0000 0368 ldr r3, [r0] 1485 0002 196A ldr r1, [r3, #32] 1486 0004 41F21112 movw r2, #4369 1487 0008 1142 tst r1, r2 1488 000a 08D1 bne .L63 460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1489 .loc 1 460 3 discriminator 1 view .LVU530 1490 000c 196A ldr r1, [r3, #32] 1491 000e 44F24442 movw r2, #17476 1492 0012 1142 tst r1, r2 1493 0014 03D1 bne .L63 460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1494 .loc 1 460 3 discriminator 3 view .LVU531 1495 0016 1A68 ldr r2, [r3] 1496 0018 22F00102 bic r2, r2, #1 1497 001c 1A60 str r2, [r3] 1498 .L63: 460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1499 .loc 1 460 3 discriminator 5 view .LVU532 463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1500 .loc 1 463 3 view .LVU533 463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1501 .loc 1 463 15 is_stmt 0 view .LVU534 1502 001e 0123 movs r3, #1 1503 0020 80F83D30 strb r3, [r0, #61] 466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1504 .loc 1 466 3 is_stmt 1 view .LVU535 467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1505 .loc 1 467 1 is_stmt 0 view .LVU536 1506 0024 0020 movs r0, #0 ARM GAS /tmp/ccodHXtm.s page 169 1507 .LVL150: 467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1508 .loc 1 467 1 view .LVU537 1509 0026 7047 bx lr 1510 .cfi_endproc 1511 .LFE334: 1513 .section .text.HAL_TIM_Base_Start_IT,"ax",%progbits 1514 .align 1 1515 .global HAL_TIM_Base_Start_IT 1516 .syntax unified 1517 .thumb 1518 .thumb_func 1520 HAL_TIM_Base_Start_IT: 1521 .LVL151: 1522 .LFB335: 475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 1523 .loc 1 475 1 is_stmt 1 view -0 1524 .cfi_startproc 1525 @ args = 0, pretend = 0, frame = 0 1526 @ frame_needed = 0, uses_anonymous_args = 0 1527 @ link register save eliminated. 476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1528 .loc 1 476 3 view .LVU539 479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1529 .loc 1 479 3 view .LVU540 482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1530 .loc 1 482 3 view .LVU541 482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1531 .loc 1 482 11 is_stmt 0 view .LVU542 1532 0000 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 1533 0004 DBB2 uxtb r3, r3 482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1534 .loc 1 482 6 view .LVU543 1535 0006 012B cmp r3, #1 1536 0008 32D1 bne .L68 488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1537 .loc 1 488 3 is_stmt 1 view .LVU544 488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1538 .loc 1 488 15 is_stmt 0 view .LVU545 1539 000a 0223 movs r3, #2 1540 000c 80F83D30 strb r3, [r0, #61] 491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1541 .loc 1 491 3 is_stmt 1 view .LVU546 1542 0010 0268 ldr r2, [r0] 1543 0012 D368 ldr r3, [r2, #12] 1544 0014 43F00103 orr r3, r3, #1 1545 0018 D360 str r3, [r2, #12] 494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1546 .loc 1 494 3 view .LVU547 494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1547 .loc 1 494 7 is_stmt 0 view .LVU548 1548 001a 0368 ldr r3, [r0] 494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1549 .loc 1 494 6 view .LVU549 1550 001c 174A ldr r2, .L71 1551 001e 9342 cmp r3, r2 1552 0020 18D0 beq .L66 ARM GAS /tmp/ccodHXtm.s page 170 494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1553 .loc 1 494 7 discriminator 1 view .LVU550 1554 0022 B3F1804F cmp r3, #1073741824 1555 0026 15D0 beq .L66 494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1556 .loc 1 494 7 discriminator 2 view .LVU551 1557 0028 A2F59432 sub r2, r2, #75776 1558 002c 9342 cmp r3, r2 1559 002e 11D0 beq .L66 494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1560 .loc 1 494 7 discriminator 3 view .LVU552 1561 0030 02F58062 add r2, r2, #1024 1562 0034 9342 cmp r3, r2 1563 0036 0DD0 beq .L66 494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1564 .loc 1 494 7 discriminator 4 view .LVU553 1565 0038 02F59632 add r2, r2, #76800 1566 003c 9342 cmp r3, r2 1567 003e 09D0 beq .L66 494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1568 .loc 1 494 7 discriminator 5 view .LVU554 1569 0040 02F54062 add r2, r2, #3072 1570 0044 9342 cmp r3, r2 1571 0046 05D0 beq .L66 504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1572 .loc 1 504 5 is_stmt 1 view .LVU555 1573 0048 1A68 ldr r2, [r3] 1574 004a 42F00102 orr r2, r2, #1 1575 004e 1A60 str r2, [r3] 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1576 .loc 1 508 10 is_stmt 0 view .LVU556 1577 0050 0020 movs r0, #0 1578 .LVL152: 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1579 .loc 1 508 10 view .LVU557 1580 0052 7047 bx lr 1581 .LVL153: 1582 .L66: 496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1583 .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)) 1584 .loc 1 496 29 is_stmt 0 view .LVU559 1585 0054 9968 ldr r1, [r3, #8] 496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1586 .loc 1 496 13 view .LVU560 1587 0056 0A4A ldr r2, .L71+4 1588 0058 0A40 ands r2, r2, r1 1589 .LVL154: 497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1590 .loc 1 497 5 is_stmt 1 view .LVU561 497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1591 .loc 1 497 8 is_stmt 0 view .LVU562 1592 005a 062A cmp r2, #6 1593 005c 0AD0 beq .L69 497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1594 .loc 1 497 9 discriminator 1 view .LVU563 1595 005e B2F5803F cmp r2, #65536 ARM GAS /tmp/ccodHXtm.s page 171 1596 0062 09D0 beq .L70 499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1597 .loc 1 499 7 is_stmt 1 view .LVU564 1598 0064 1A68 ldr r2, [r3] 1599 .LVL155: 499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1600 .loc 1 499 7 is_stmt 0 view .LVU565 1601 0066 42F00102 orr r2, r2, #1 1602 006a 1A60 str r2, [r3] 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1603 .loc 1 508 10 view .LVU566 1604 006c 0020 movs r0, #0 1605 .LVL156: 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1606 .loc 1 508 10 view .LVU567 1607 006e 7047 bx lr 1608 .LVL157: 1609 .L68: 484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1610 .loc 1 484 12 view .LVU568 1611 0070 0120 movs r0, #1 1612 .LVL158: 484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1613 .loc 1 484 12 view .LVU569 1614 0072 7047 bx lr 1615 .LVL159: 1616 .L69: 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1617 .loc 1 508 10 view .LVU570 1618 0074 0020 movs r0, #0 1619 .LVL160: 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1620 .loc 1 508 10 view .LVU571 1621 0076 7047 bx lr 1622 .LVL161: 1623 .L70: 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1624 .loc 1 508 10 view .LVU572 1625 0078 0020 movs r0, #0 1626 .LVL162: 509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1627 .loc 1 509 1 view .LVU573 1628 007a 7047 bx lr 1629 .L72: 1630 .align 2 1631 .L71: 1632 007c 002C0140 .word 1073818624 1633 0080 07000100 .word 65543 1634 .cfi_endproc 1635 .LFE335: 1637 .section .text.HAL_TIM_Base_Stop_IT,"ax",%progbits 1638 .align 1 1639 .global HAL_TIM_Base_Stop_IT 1640 .syntax unified 1641 .thumb 1642 .thumb_func 1644 HAL_TIM_Base_Stop_IT: ARM GAS /tmp/ccodHXtm.s page 172 1645 .LVL163: 1646 .LFB336: 517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1647 .loc 1 517 1 is_stmt 1 view -0 1648 .cfi_startproc 1649 @ args = 0, pretend = 0, frame = 0 1650 @ frame_needed = 0, uses_anonymous_args = 0 1651 @ link register save eliminated. 519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1652 .loc 1 519 3 view .LVU575 522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1653 .loc 1 522 3 view .LVU576 1654 0000 0268 ldr r2, [r0] 1655 0002 D368 ldr r3, [r2, #12] 1656 0004 23F00103 bic r3, r3, #1 1657 0008 D360 str r3, [r2, #12] 525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1658 .loc 1 525 3 view .LVU577 525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1659 .loc 1 525 3 view .LVU578 1660 000a 0368 ldr r3, [r0] 1661 000c 196A ldr r1, [r3, #32] 1662 000e 41F21112 movw r2, #4369 1663 0012 1142 tst r1, r2 1664 0014 08D1 bne .L74 525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1665 .loc 1 525 3 discriminator 1 view .LVU579 1666 0016 196A ldr r1, [r3, #32] 1667 0018 44F24442 movw r2, #17476 1668 001c 1142 tst r1, r2 1669 001e 03D1 bne .L74 525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1670 .loc 1 525 3 discriminator 3 view .LVU580 1671 0020 1A68 ldr r2, [r3] 1672 0022 22F00102 bic r2, r2, #1 1673 0026 1A60 str r2, [r3] 1674 .L74: 525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1675 .loc 1 525 3 discriminator 5 view .LVU581 528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1676 .loc 1 528 3 view .LVU582 528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1677 .loc 1 528 15 is_stmt 0 view .LVU583 1678 0028 0123 movs r3, #1 1679 002a 80F83D30 strb r3, [r0, #61] 531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1680 .loc 1 531 3 is_stmt 1 view .LVU584 532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1681 .loc 1 532 1 is_stmt 0 view .LVU585 1682 002e 0020 movs r0, #0 1683 .LVL164: 532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1684 .loc 1 532 1 view .LVU586 1685 0030 7047 bx lr 1686 .cfi_endproc 1687 .LFE336: 1689 .section .text.HAL_TIM_Base_Start_DMA,"ax",%progbits ARM GAS /tmp/ccodHXtm.s page 173 1690 .align 1 1691 .global HAL_TIM_Base_Start_DMA 1692 .syntax unified 1693 .thumb 1694 .thumb_func 1696 HAL_TIM_Base_Start_DMA: 1697 .LVL165: 1698 .LFB337: 542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 1699 .loc 1 542 1 is_stmt 1 view -0 1700 .cfi_startproc 1701 @ args = 0, pretend = 0, frame = 0 1702 @ frame_needed = 0, uses_anonymous_args = 0 542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 1703 .loc 1 542 1 is_stmt 0 view .LVU588 1704 0000 38B5 push {r3, r4, r5, lr} 1705 .LCFI21: 1706 .cfi_def_cfa_offset 16 1707 .cfi_offset 3, -16 1708 .cfi_offset 4, -12 1709 .cfi_offset 5, -8 1710 .cfi_offset 14, -4 543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1711 .loc 1 543 3 is_stmt 1 view .LVU589 546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1712 .loc 1 546 3 view .LVU590 549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1713 .loc 1 549 3 view .LVU591 549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1714 .loc 1 549 11 is_stmt 0 view .LVU592 1715 0002 90F83D40 ldrb r4, [r0, #61] @ zero_extendqisi2 1716 0006 E4B2 uxtb r4, r4 549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1717 .loc 1 549 6 view .LVU593 1718 0008 022C cmp r4, #2 1719 000a 4FD0 beq .L76 1720 000c 0546 mov r5, r0 553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1721 .loc 1 553 8 is_stmt 1 view .LVU594 553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1722 .loc 1 553 16 is_stmt 0 view .LVU595 1723 000e 90F83D40 ldrb r4, [r0, #61] @ zero_extendqisi2 1724 0012 E4B2 uxtb r4, r4 553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1725 .loc 1 553 11 view .LVU596 1726 0014 012C cmp r4, #1 1727 0016 48D1 bne .L79 555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1728 .loc 1 555 5 is_stmt 1 view .LVU597 555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1729 .loc 1 555 8 is_stmt 0 view .LVU598 1730 0018 0029 cmp r1, #0 1731 001a 47D0 beq .L76 555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1732 .loc 1 555 25 discriminator 1 view .LVU599 1733 001c 002A cmp r2, #0 1734 001e 45D0 beq .L76 ARM GAS /tmp/ccodHXtm.s page 174 561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1735 .loc 1 561 7 is_stmt 1 view .LVU600 561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1736 .loc 1 561 19 is_stmt 0 view .LVU601 1737 0020 0223 movs r3, #2 1738 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; 1739 .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; 1740 .loc 1 570 13 is_stmt 0 view .LVU603 1741 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; 1742 .loc 1 570 51 view .LVU604 1743 0028 2348 ldr r0, .L83 1744 .LVL166: 570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 1745 .loc 1 570 51 view .LVU605 1746 002a D862 str r0, [r3, #44] 571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1747 .loc 1 571 3 is_stmt 1 view .LVU606 571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1748 .loc 1 571 13 is_stmt 0 view .LVU607 1749 002c 2B6A ldr r3, [r5, #32] 571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1750 .loc 1 571 55 view .LVU608 1751 002e 2348 ldr r0, .L83+4 1752 0030 1863 str r0, [r3, #48] 574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1753 .loc 1 574 3 is_stmt 1 view .LVU609 574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1754 .loc 1 574 13 is_stmt 0 view .LVU610 1755 0032 2B6A ldr r3, [r5, #32] 574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1756 .loc 1 574 52 view .LVU611 1757 0034 2248 ldr r0, .L83+8 1758 0036 5863 str r0, [r3, #52] 577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1759 .loc 1 577 3 is_stmt 1 view .LVU612 577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1760 .loc 1 577 87 is_stmt 0 view .LVU613 1761 0038 2868 ldr r0, [r5] 577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1762 .loc 1 577 7 view .LVU614 1763 003a 1346 mov r3, r2 1764 003c 00F12C02 add r2, r0, #44 1765 .LVL167: 577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1766 .loc 1 577 7 view .LVU615 1767 0040 286A ldr r0, [r5, #32] 1768 0042 FFF7FEFF bl HAL_DMA_Start_IT 1769 .LVL168: 577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 1770 .loc 1 577 6 discriminator 1 view .LVU616 1771 0046 0146 mov r1, r0 1772 0048 80BB cbnz r0, .L76 585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1773 .loc 1 585 3 is_stmt 1 view .LVU617 ARM GAS /tmp/ccodHXtm.s page 175 1774 004a 2A68 ldr r2, [r5] 1775 004c D368 ldr r3, [r2, #12] 1776 004e 43F48073 orr r3, r3, #256 1777 0052 D360 str r3, [r2, #12] 588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1778 .loc 1 588 3 view .LVU618 588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1779 .loc 1 588 7 is_stmt 0 view .LVU619 1780 0054 2B68 ldr r3, [r5] 588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1781 .loc 1 588 6 view .LVU620 1782 0056 1B4A ldr r2, .L83+12 1783 0058 9342 cmp r3, r2 1784 005a 18D0 beq .L77 588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1785 .loc 1 588 7 discriminator 1 view .LVU621 1786 005c B3F1804F cmp r3, #1073741824 1787 0060 15D0 beq .L77 588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1788 .loc 1 588 7 discriminator 2 view .LVU622 1789 0062 A2F59432 sub r2, r2, #75776 1790 0066 9342 cmp r3, r2 1791 0068 11D0 beq .L77 588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1792 .loc 1 588 7 discriminator 3 view .LVU623 1793 006a 02F58062 add r2, r2, #1024 1794 006e 9342 cmp r3, r2 1795 0070 0DD0 beq .L77 588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1796 .loc 1 588 7 discriminator 4 view .LVU624 1797 0072 02F59632 add r2, r2, #76800 1798 0076 9342 cmp r3, r2 1799 0078 09D0 beq .L77 588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1800 .loc 1 588 7 discriminator 5 view .LVU625 1801 007a 02F54062 add r2, r2, #3072 1802 007e 9342 cmp r3, r2 1803 0080 05D0 beq .L77 598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1804 .loc 1 598 5 is_stmt 1 view .LVU626 1805 0082 1A68 ldr r2, [r3] 1806 0084 42F00102 orr r2, r2, #1 1807 0088 1A60 str r2, [r3] 602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1808 .loc 1 602 10 is_stmt 0 view .LVU627 1809 008a 0446 mov r4, r0 1810 008c 0EE0 b .L76 1811 .L77: 590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1812 .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)) 1813 .loc 1 590 29 is_stmt 0 view .LVU629 1814 008e 9868 ldr r0, [r3, #8] 590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 1815 .loc 1 590 13 view .LVU630 1816 0090 0D4A ldr r2, .L83+16 1817 0092 0240 ands r2, r2, r0 ARM GAS /tmp/ccodHXtm.s page 176 1818 .LVL169: 591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1819 .loc 1 591 5 is_stmt 1 view .LVU631 591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1820 .loc 1 591 8 is_stmt 0 view .LVU632 1821 0094 062A cmp r2, #6 1822 0096 0BD0 beq .L80 591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 1823 .loc 1 591 9 discriminator 1 view .LVU633 1824 0098 B2F5803F cmp r2, #65536 1825 009c 0AD0 beq .L81 593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1826 .loc 1 593 7 is_stmt 1 view .LVU634 1827 009e 1A68 ldr r2, [r3] 1828 .LVL170: 593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1829 .loc 1 593 7 is_stmt 0 view .LVU635 1830 00a0 42F00102 orr r2, r2, #1 1831 00a4 1A60 str r2, [r3] 602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1832 .loc 1 602 10 view .LVU636 1833 00a6 0C46 mov r4, r1 1834 00a8 00E0 b .L76 1835 .LVL171: 1836 .L79: 566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1837 .loc 1 566 12 view .LVU637 1838 00aa 0124 movs r4, #1 1839 .LVL172: 1840 .L76: 603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1841 .loc 1 603 1 view .LVU638 1842 00ac 2046 mov r0, r4 1843 00ae 38BD pop {r3, r4, r5, pc} 1844 .LVL173: 1845 .L80: 602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1846 .loc 1 602 10 view .LVU639 1847 00b0 0C46 mov r4, r1 1848 00b2 FBE7 b .L76 1849 .L81: 1850 00b4 0C46 mov r4, r1 1851 00b6 F9E7 b .L76 1852 .L84: 1853 .align 2 1854 .L83: 1855 00b8 00000000 .word TIM_DMAPeriodElapsedCplt 1856 00bc 00000000 .word TIM_DMAPeriodElapsedHalfCplt 1857 00c0 00000000 .word TIM_DMAError 1858 00c4 002C0140 .word 1073818624 1859 00c8 07000100 .word 65543 1860 .cfi_endproc 1861 .LFE337: 1863 .section .text.HAL_TIM_Base_Stop_DMA,"ax",%progbits 1864 .align 1 1865 .global HAL_TIM_Base_Stop_DMA 1866 .syntax unified ARM GAS /tmp/ccodHXtm.s page 177 1867 .thumb 1868 .thumb_func 1870 HAL_TIM_Base_Stop_DMA: 1871 .LVL174: 1872 .LFB338: 611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1873 .loc 1 611 1 is_stmt 1 view -0 1874 .cfi_startproc 1875 @ args = 0, pretend = 0, frame = 0 1876 @ frame_needed = 0, uses_anonymous_args = 0 611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1877 .loc 1 611 1 is_stmt 0 view .LVU641 1878 0000 10B5 push {r4, lr} 1879 .LCFI22: 1880 .cfi_def_cfa_offset 8 1881 .cfi_offset 4, -8 1882 .cfi_offset 14, -4 1883 0002 0446 mov r4, r0 613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1884 .loc 1 613 3 is_stmt 1 view .LVU642 616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1885 .loc 1 616 3 view .LVU643 1886 0004 0268 ldr r2, [r0] 1887 0006 D368 ldr r3, [r2, #12] 1888 0008 23F48073 bic r3, r3, #256 1889 000c D360 str r3, [r2, #12] 618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1890 .loc 1 618 3 view .LVU644 618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1891 .loc 1 618 9 is_stmt 0 view .LVU645 1892 000e 006A ldr r0, [r0, #32] 1893 .LVL175: 618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1894 .loc 1 618 9 view .LVU646 1895 0010 FFF7FEFF bl HAL_DMA_Abort_IT 1896 .LVL176: 621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1897 .loc 1 621 3 is_stmt 1 view .LVU647 621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1898 .loc 1 621 3 view .LVU648 1899 0014 2368 ldr r3, [r4] 1900 0016 196A ldr r1, [r3, #32] 1901 0018 41F21112 movw r2, #4369 1902 001c 1142 tst r1, r2 1903 001e 08D1 bne .L86 621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1904 .loc 1 621 3 discriminator 1 view .LVU649 1905 0020 196A ldr r1, [r3, #32] 1906 0022 44F24442 movw r2, #17476 1907 0026 1142 tst r1, r2 1908 0028 03D1 bne .L86 621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1909 .loc 1 621 3 discriminator 3 view .LVU650 1910 002a 1A68 ldr r2, [r3] 1911 002c 22F00102 bic r2, r2, #1 1912 0030 1A60 str r2, [r3] 1913 .L86: ARM GAS /tmp/ccodHXtm.s page 178 621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1914 .loc 1 621 3 discriminator 5 view .LVU651 624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1915 .loc 1 624 3 view .LVU652 624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1916 .loc 1 624 15 is_stmt 0 view .LVU653 1917 0032 0123 movs r3, #1 1918 0034 84F83D30 strb r3, [r4, #61] 627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 1919 .loc 1 627 3 is_stmt 1 view .LVU654 628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1920 .loc 1 628 1 is_stmt 0 view .LVU655 1921 0038 0020 movs r0, #0 1922 003a 10BD pop {r4, pc} 628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1923 .loc 1 628 1 view .LVU656 1924 .cfi_endproc 1925 .LFE338: 1927 .section .text.HAL_TIM_OC_MspInit,"ax",%progbits 1928 .align 1 1929 .weak HAL_TIM_OC_MspInit 1930 .syntax unified 1931 .thumb 1932 .thumb_func 1934 HAL_TIM_OC_MspInit: 1935 .LVL177: 1936 .LFB341: 769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 1937 .loc 1 769 1 is_stmt 1 view -0 1938 .cfi_startproc 1939 @ args = 0, pretend = 0, frame = 0 1940 @ frame_needed = 0, uses_anonymous_args = 0 1941 @ link register save eliminated. 771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1942 .loc 1 771 3 view .LVU658 776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1943 .loc 1 776 1 is_stmt 0 view .LVU659 1944 0000 7047 bx lr 1945 .cfi_endproc 1946 .LFE341: 1948 .section .text.HAL_TIM_OC_MspDeInit,"ax",%progbits 1949 .align 1 1950 .weak HAL_TIM_OC_MspDeInit 1951 .syntax unified 1952 .thumb 1953 .thumb_func 1955 HAL_TIM_OC_MspDeInit: 1956 .LVL178: 1957 .LFB342: 784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 1958 .loc 1 784 1 is_stmt 1 view -0 1959 .cfi_startproc 1960 @ args = 0, pretend = 0, frame = 0 1961 @ frame_needed = 0, uses_anonymous_args = 0 1962 @ link register save eliminated. 786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1963 .loc 1 786 3 view .LVU661 ARM GAS /tmp/ccodHXtm.s page 179 791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1964 .loc 1 791 1 is_stmt 0 view .LVU662 1965 0000 7047 bx lr 1966 .cfi_endproc 1967 .LFE342: 1969 .section .text.HAL_TIM_OC_DeInit,"ax",%progbits 1970 .align 1 1971 .global HAL_TIM_OC_DeInit 1972 .syntax unified 1973 .thumb 1974 .thumb_func 1976 HAL_TIM_OC_DeInit: 1977 .LVL179: 1978 .LFB340: 726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1979 .loc 1 726 1 is_stmt 1 view -0 1980 .cfi_startproc 1981 @ args = 0, pretend = 0, frame = 0 1982 @ frame_needed = 0, uses_anonymous_args = 0 726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 1983 .loc 1 726 1 is_stmt 0 view .LVU664 1984 0000 10B5 push {r4, lr} 1985 .LCFI23: 1986 .cfi_def_cfa_offset 8 1987 .cfi_offset 4, -8 1988 .cfi_offset 14, -4 1989 0002 0446 mov r4, r0 728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1990 .loc 1 728 3 is_stmt 1 view .LVU665 730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1991 .loc 1 730 3 view .LVU666 730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1992 .loc 1 730 15 is_stmt 0 view .LVU667 1993 0004 0223 movs r3, #2 1994 0006 80F83D30 strb r3, [r0, #61] 733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1995 .loc 1 733 3 is_stmt 1 view .LVU668 733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 1996 .loc 1 733 3 view .LVU669 1997 000a 0368 ldr r3, [r0] 1998 000c 196A ldr r1, [r3, #32] 1999 000e 41F21112 movw r2, #4369 2000 0012 1142 tst r1, r2 2001 0014 08D1 bne .L91 733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2002 .loc 1 733 3 discriminator 1 view .LVU670 2003 0016 196A ldr r1, [r3, #32] 2004 0018 44F24442 movw r2, #17476 2005 001c 1142 tst r1, r2 2006 001e 03D1 bne .L91 733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2007 .loc 1 733 3 discriminator 3 view .LVU671 2008 0020 1A68 ldr r2, [r3] 2009 0022 22F00102 bic r2, r2, #1 2010 0026 1A60 str r2, [r3] 2011 .L91: 733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 180 2012 .loc 1 733 3 discriminator 5 view .LVU672 744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2013 .loc 1 744 3 view .LVU673 2014 0028 2046 mov r0, r4 2015 .LVL180: 744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2016 .loc 1 744 3 is_stmt 0 view .LVU674 2017 002a FFF7FEFF bl HAL_TIM_OC_MspDeInit 2018 .LVL181: 748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2019 .loc 1 748 3 is_stmt 1 view .LVU675 748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2020 .loc 1 748 23 is_stmt 0 view .LVU676 2021 002e 0020 movs r0, #0 2022 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); 2023 .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); 2024 .loc 1 751 3 view .LVU678 2025 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); 2026 .loc 1 751 3 view .LVU679 2027 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); 2028 .loc 1 751 3 view .LVU680 2029 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); 2030 .loc 1 751 3 view .LVU681 2031 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); 2032 .loc 1 751 3 view .LVU682 2033 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); 2034 .loc 1 751 3 view .LVU683 2035 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); 2036 .loc 1 751 3 view .LVU684 752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2037 .loc 1 752 3 view .LVU685 752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2038 .loc 1 752 3 view .LVU686 2039 004c 84F84400 strb r0, [r4, #68] 752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2040 .loc 1 752 3 view .LVU687 2041 0050 84F84500 strb r0, [r4, #69] 752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2042 .loc 1 752 3 view .LVU688 2043 0054 84F84600 strb r0, [r4, #70] 752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2044 .loc 1 752 3 view .LVU689 2045 0058 84F84700 strb r0, [r4, #71] 752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2046 .loc 1 752 3 view .LVU690 755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2047 .loc 1 755 3 view .LVU691 755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2048 .loc 1 755 15 is_stmt 0 view .LVU692 ARM GAS /tmp/ccodHXtm.s page 181 2049 005c 84F83D00 strb r0, [r4, #61] 758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2050 .loc 1 758 3 is_stmt 1 view .LVU693 758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2051 .loc 1 758 3 view .LVU694 2052 0060 84F83C00 strb r0, [r4, #60] 758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2053 .loc 1 758 3 view .LVU695 760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2054 .loc 1 760 3 view .LVU696 761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2055 .loc 1 761 1 is_stmt 0 view .LVU697 2056 0064 10BD pop {r4, pc} 761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2057 .loc 1 761 1 view .LVU698 2058 .cfi_endproc 2059 .LFE340: 2061 .section .text.HAL_TIM_PWM_MspInit,"ax",%progbits 2062 .align 1 2063 .weak HAL_TIM_PWM_MspInit 2064 .syntax unified 2065 .thumb 2066 .thumb_func 2068 HAL_TIM_PWM_MspInit: 2069 .LVL182: 2070 .LFB351: 1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2071 .loc 1 1438 1 is_stmt 1 view -0 2072 .cfi_startproc 2073 @ args = 0, pretend = 0, frame = 0 2074 @ frame_needed = 0, uses_anonymous_args = 0 2075 @ link register save eliminated. 1440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2076 .loc 1 1440 3 view .LVU700 1445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2077 .loc 1 1445 1 is_stmt 0 view .LVU701 2078 0000 7047 bx lr 2079 .cfi_endproc 2080 .LFE351: 2082 .section .text.HAL_TIM_PWM_MspDeInit,"ax",%progbits 2083 .align 1 2084 .weak HAL_TIM_PWM_MspDeInit 2085 .syntax unified 2086 .thumb 2087 .thumb_func 2089 HAL_TIM_PWM_MspDeInit: 2090 .LVL183: 2091 .LFB352: 1453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2092 .loc 1 1453 1 is_stmt 1 view -0 2093 .cfi_startproc 2094 @ args = 0, pretend = 0, frame = 0 2095 @ frame_needed = 0, uses_anonymous_args = 0 2096 @ link register save eliminated. 1455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2097 .loc 1 1455 3 view .LVU703 1460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 182 2098 .loc 1 1460 1 is_stmt 0 view .LVU704 2099 0000 7047 bx lr 2100 .cfi_endproc 2101 .LFE352: 2103 .section .text.HAL_TIM_PWM_DeInit,"ax",%progbits 2104 .align 1 2105 .global HAL_TIM_PWM_DeInit 2106 .syntax unified 2107 .thumb 2108 .thumb_func 2110 HAL_TIM_PWM_DeInit: 2111 .LVL184: 2112 .LFB350: 1395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2113 .loc 1 1395 1 is_stmt 1 view -0 2114 .cfi_startproc 2115 @ args = 0, pretend = 0, frame = 0 2116 @ frame_needed = 0, uses_anonymous_args = 0 1395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2117 .loc 1 1395 1 is_stmt 0 view .LVU706 2118 0000 10B5 push {r4, lr} 2119 .LCFI24: 2120 .cfi_def_cfa_offset 8 2121 .cfi_offset 4, -8 2122 .cfi_offset 14, -4 2123 0002 0446 mov r4, r0 1397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2124 .loc 1 1397 3 is_stmt 1 view .LVU707 1399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2125 .loc 1 1399 3 view .LVU708 1399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2126 .loc 1 1399 15 is_stmt 0 view .LVU709 2127 0004 0223 movs r3, #2 2128 0006 80F83D30 strb r3, [r0, #61] 1402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2129 .loc 1 1402 3 is_stmt 1 view .LVU710 1402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2130 .loc 1 1402 3 view .LVU711 2131 000a 0368 ldr r3, [r0] 2132 000c 196A ldr r1, [r3, #32] 2133 000e 41F21112 movw r2, #4369 2134 0012 1142 tst r1, r2 2135 0014 08D1 bne .L96 1402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2136 .loc 1 1402 3 discriminator 1 view .LVU712 2137 0016 196A ldr r1, [r3, #32] 2138 0018 44F24442 movw r2, #17476 2139 001c 1142 tst r1, r2 2140 001e 03D1 bne .L96 1402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2141 .loc 1 1402 3 discriminator 3 view .LVU713 2142 0020 1A68 ldr r2, [r3] 2143 0022 22F00102 bic r2, r2, #1 2144 0026 1A60 str r2, [r3] 2145 .L96: 1402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2146 .loc 1 1402 3 discriminator 5 view .LVU714 ARM GAS /tmp/ccodHXtm.s page 183 1413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2147 .loc 1 1413 3 view .LVU715 2148 0028 2046 mov r0, r4 2149 .LVL185: 1413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2150 .loc 1 1413 3 is_stmt 0 view .LVU716 2151 002a FFF7FEFF bl HAL_TIM_PWM_MspDeInit 2152 .LVL186: 1417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2153 .loc 1 1417 3 is_stmt 1 view .LVU717 1417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2154 .loc 1 1417 23 is_stmt 0 view .LVU718 2155 002e 0020 movs r0, #0 2156 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); 2157 .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); 2158 .loc 1 1420 3 view .LVU720 2159 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); 2160 .loc 1 1420 3 view .LVU721 2161 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); 2162 .loc 1 1420 3 view .LVU722 2163 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); 2164 .loc 1 1420 3 view .LVU723 2165 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); 2166 .loc 1 1420 3 view .LVU724 2167 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); 2168 .loc 1 1420 3 view .LVU725 2169 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); 2170 .loc 1 1420 3 view .LVU726 1421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2171 .loc 1 1421 3 view .LVU727 1421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2172 .loc 1 1421 3 view .LVU728 2173 004c 84F84400 strb r0, [r4, #68] 1421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2174 .loc 1 1421 3 view .LVU729 2175 0050 84F84500 strb r0, [r4, #69] 1421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2176 .loc 1 1421 3 view .LVU730 2177 0054 84F84600 strb r0, [r4, #70] 1421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2178 .loc 1 1421 3 view .LVU731 2179 0058 84F84700 strb r0, [r4, #71] 1421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2180 .loc 1 1421 3 view .LVU732 1424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2181 .loc 1 1424 3 view .LVU733 1424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2182 .loc 1 1424 15 is_stmt 0 view .LVU734 2183 005c 84F83D00 strb r0, [r4, #61] ARM GAS /tmp/ccodHXtm.s page 184 1427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2184 .loc 1 1427 3 is_stmt 1 view .LVU735 1427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2185 .loc 1 1427 3 view .LVU736 2186 0060 84F83C00 strb r0, [r4, #60] 1427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2187 .loc 1 1427 3 view .LVU737 1429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2188 .loc 1 1429 3 view .LVU738 1430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2189 .loc 1 1430 1 is_stmt 0 view .LVU739 2190 0064 10BD pop {r4, pc} 1430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2191 .loc 1 1430 1 view .LVU740 2192 .cfi_endproc 2193 .LFE350: 2195 .section .text.HAL_TIM_IC_MspInit,"ax",%progbits 2196 .align 1 2197 .weak HAL_TIM_IC_MspInit 2198 .syntax unified 2199 .thumb 2200 .thumb_func 2202 HAL_TIM_IC_MspInit: 2203 .LVL187: 2204 .LFB361: 2106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2205 .loc 1 2106 1 is_stmt 1 view -0 2206 .cfi_startproc 2207 @ args = 0, pretend = 0, frame = 0 2208 @ frame_needed = 0, uses_anonymous_args = 0 2209 @ link register save eliminated. 2108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2210 .loc 1 2108 3 view .LVU742 2113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2211 .loc 1 2113 1 is_stmt 0 view .LVU743 2212 0000 7047 bx lr 2213 .cfi_endproc 2214 .LFE361: 2216 .section .text.HAL_TIM_IC_MspDeInit,"ax",%progbits 2217 .align 1 2218 .weak HAL_TIM_IC_MspDeInit 2219 .syntax unified 2220 .thumb 2221 .thumb_func 2223 HAL_TIM_IC_MspDeInit: 2224 .LVL188: 2225 .LFB362: 2121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2226 .loc 1 2121 1 is_stmt 1 view -0 2227 .cfi_startproc 2228 @ args = 0, pretend = 0, frame = 0 2229 @ frame_needed = 0, uses_anonymous_args = 0 2230 @ link register save eliminated. 2123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2231 .loc 1 2123 3 view .LVU745 2128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2232 .loc 1 2128 1 is_stmt 0 view .LVU746 ARM GAS /tmp/ccodHXtm.s page 185 2233 0000 7047 bx lr 2234 .cfi_endproc 2235 .LFE362: 2237 .section .text.HAL_TIM_IC_DeInit,"ax",%progbits 2238 .align 1 2239 .global HAL_TIM_IC_DeInit 2240 .syntax unified 2241 .thumb 2242 .thumb_func 2244 HAL_TIM_IC_DeInit: 2245 .LVL189: 2246 .LFB360: 2063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2247 .loc 1 2063 1 is_stmt 1 view -0 2248 .cfi_startproc 2249 @ args = 0, pretend = 0, frame = 0 2250 @ frame_needed = 0, uses_anonymous_args = 0 2063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2251 .loc 1 2063 1 is_stmt 0 view .LVU748 2252 0000 10B5 push {r4, lr} 2253 .LCFI25: 2254 .cfi_def_cfa_offset 8 2255 .cfi_offset 4, -8 2256 .cfi_offset 14, -4 2257 0002 0446 mov r4, r0 2065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2258 .loc 1 2065 3 is_stmt 1 view .LVU749 2067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2259 .loc 1 2067 3 view .LVU750 2067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2260 .loc 1 2067 15 is_stmt 0 view .LVU751 2261 0004 0223 movs r3, #2 2262 0006 80F83D30 strb r3, [r0, #61] 2070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2263 .loc 1 2070 3 is_stmt 1 view .LVU752 2070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2264 .loc 1 2070 3 view .LVU753 2265 000a 0368 ldr r3, [r0] 2266 000c 196A ldr r1, [r3, #32] 2267 000e 41F21112 movw r2, #4369 2268 0012 1142 tst r1, r2 2269 0014 08D1 bne .L101 2070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2270 .loc 1 2070 3 discriminator 1 view .LVU754 2271 0016 196A ldr r1, [r3, #32] 2272 0018 44F24442 movw r2, #17476 2273 001c 1142 tst r1, r2 2274 001e 03D1 bne .L101 2070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2275 .loc 1 2070 3 discriminator 3 view .LVU755 2276 0020 1A68 ldr r2, [r3] 2277 0022 22F00102 bic r2, r2, #1 2278 0026 1A60 str r2, [r3] 2279 .L101: 2070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2280 .loc 1 2070 3 discriminator 5 view .LVU756 2081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ ARM GAS /tmp/ccodHXtm.s page 186 2281 .loc 1 2081 3 view .LVU757 2282 0028 2046 mov r0, r4 2283 .LVL190: 2081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2284 .loc 1 2081 3 is_stmt 0 view .LVU758 2285 002a FFF7FEFF bl HAL_TIM_IC_MspDeInit 2286 .LVL191: 2085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2287 .loc 1 2085 3 is_stmt 1 view .LVU759 2085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2288 .loc 1 2085 23 is_stmt 0 view .LVU760 2289 002e 0020 movs r0, #0 2290 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); 2291 .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); 2292 .loc 1 2088 3 view .LVU762 2293 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); 2294 .loc 1 2088 3 view .LVU763 2295 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); 2296 .loc 1 2088 3 view .LVU764 2297 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); 2298 .loc 1 2088 3 view .LVU765 2299 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); 2300 .loc 1 2088 3 view .LVU766 2301 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); 2302 .loc 1 2088 3 view .LVU767 2303 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); 2304 .loc 1 2088 3 view .LVU768 2089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2305 .loc 1 2089 3 view .LVU769 2089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2306 .loc 1 2089 3 view .LVU770 2307 004c 84F84400 strb r0, [r4, #68] 2089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2308 .loc 1 2089 3 view .LVU771 2309 0050 84F84500 strb r0, [r4, #69] 2089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2310 .loc 1 2089 3 view .LVU772 2311 0054 84F84600 strb r0, [r4, #70] 2089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2312 .loc 1 2089 3 view .LVU773 2313 0058 84F84700 strb r0, [r4, #71] 2089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2314 .loc 1 2089 3 view .LVU774 2092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2315 .loc 1 2092 3 view .LVU775 2092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2316 .loc 1 2092 15 is_stmt 0 view .LVU776 2317 005c 84F83D00 strb r0, [r4, #61] 2095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 187 2318 .loc 1 2095 3 is_stmt 1 view .LVU777 2095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2319 .loc 1 2095 3 view .LVU778 2320 0060 84F83C00 strb r0, [r4, #60] 2095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2321 .loc 1 2095 3 view .LVU779 2097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2322 .loc 1 2097 3 view .LVU780 2098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2323 .loc 1 2098 1 is_stmt 0 view .LVU781 2324 0064 10BD pop {r4, pc} 2098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2325 .loc 1 2098 1 view .LVU782 2326 .cfi_endproc 2327 .LFE360: 2329 .section .text.HAL_TIM_OnePulse_MspInit,"ax",%progbits 2330 .align 1 2331 .weak HAL_TIM_OnePulse_MspInit 2332 .syntax unified 2333 .thumb 2334 .thumb_func 2336 HAL_TIM_OnePulse_MspInit: 2337 .LVL192: 2338 .LFB371: 2766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2339 .loc 1 2766 1 is_stmt 1 view -0 2340 .cfi_startproc 2341 @ args = 0, pretend = 0, frame = 0 2342 @ frame_needed = 0, uses_anonymous_args = 0 2343 @ link register save eliminated. 2768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2344 .loc 1 2768 3 view .LVU784 2773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2345 .loc 1 2773 1 is_stmt 0 view .LVU785 2346 0000 7047 bx lr 2347 .cfi_endproc 2348 .LFE371: 2350 .section .text.HAL_TIM_OnePulse_MspDeInit,"ax",%progbits 2351 .align 1 2352 .weak HAL_TIM_OnePulse_MspDeInit 2353 .syntax unified 2354 .thumb 2355 .thumb_func 2357 HAL_TIM_OnePulse_MspDeInit: 2358 .LVL193: 2359 .LFB372: 2781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2360 .loc 1 2781 1 is_stmt 1 view -0 2361 .cfi_startproc 2362 @ args = 0, pretend = 0, frame = 0 2363 @ frame_needed = 0, uses_anonymous_args = 0 2364 @ link register save eliminated. 2783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2365 .loc 1 2783 3 view .LVU787 2788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2366 .loc 1 2788 1 is_stmt 0 view .LVU788 2367 0000 7047 bx lr ARM GAS /tmp/ccodHXtm.s page 188 2368 .cfi_endproc 2369 .LFE372: 2371 .section .text.HAL_TIM_OnePulse_DeInit,"ax",%progbits 2372 .align 1 2373 .global HAL_TIM_OnePulse_DeInit 2374 .syntax unified 2375 .thumb 2376 .thumb_func 2378 HAL_TIM_OnePulse_DeInit: 2379 .LVL194: 2380 .LFB370: 2721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2381 .loc 1 2721 1 is_stmt 1 view -0 2382 .cfi_startproc 2383 @ args = 0, pretend = 0, frame = 0 2384 @ frame_needed = 0, uses_anonymous_args = 0 2721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2385 .loc 1 2721 1 is_stmt 0 view .LVU790 2386 0000 10B5 push {r4, lr} 2387 .LCFI26: 2388 .cfi_def_cfa_offset 8 2389 .cfi_offset 4, -8 2390 .cfi_offset 14, -4 2391 0002 0446 mov r4, r0 2723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2392 .loc 1 2723 3 is_stmt 1 view .LVU791 2725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2393 .loc 1 2725 3 view .LVU792 2725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2394 .loc 1 2725 15 is_stmt 0 view .LVU793 2395 0004 0223 movs r3, #2 2396 0006 80F83D30 strb r3, [r0, #61] 2728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2397 .loc 1 2728 3 is_stmt 1 view .LVU794 2728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2398 .loc 1 2728 3 view .LVU795 2399 000a 0368 ldr r3, [r0] 2400 000c 196A ldr r1, [r3, #32] 2401 000e 41F21112 movw r2, #4369 2402 0012 1142 tst r1, r2 2403 0014 08D1 bne .L106 2728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2404 .loc 1 2728 3 discriminator 1 view .LVU796 2405 0016 196A ldr r1, [r3, #32] 2406 0018 44F24442 movw r2, #17476 2407 001c 1142 tst r1, r2 2408 001e 03D1 bne .L106 2728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2409 .loc 1 2728 3 discriminator 3 view .LVU797 2410 0020 1A68 ldr r2, [r3] 2411 0022 22F00102 bic r2, r2, #1 2412 0026 1A60 str r2, [r3] 2413 .L106: 2728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2414 .loc 1 2728 3 discriminator 5 view .LVU798 2739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2415 .loc 1 2739 3 view .LVU799 ARM GAS /tmp/ccodHXtm.s page 189 2416 0028 2046 mov r0, r4 2417 .LVL195: 2739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2418 .loc 1 2739 3 is_stmt 0 view .LVU800 2419 002a FFF7FEFF bl HAL_TIM_OnePulse_MspDeInit 2420 .LVL196: 2743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2421 .loc 1 2743 3 is_stmt 1 view .LVU801 2743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2422 .loc 1 2743 23 is_stmt 0 view .LVU802 2423 002e 0020 movs r0, #0 2424 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); 2425 .loc 1 2746 3 is_stmt 1 view .LVU803 2426 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); 2427 .loc 1 2747 3 view .LVU804 2428 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); 2429 .loc 1 2748 3 view .LVU805 2430 003c 84F84400 strb r0, [r4, #68] 2749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2431 .loc 1 2749 3 view .LVU806 2432 0040 84F84500 strb r0, [r4, #69] 2752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2433 .loc 1 2752 3 view .LVU807 2752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2434 .loc 1 2752 15 is_stmt 0 view .LVU808 2435 0044 84F83D00 strb r0, [r4, #61] 2755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2436 .loc 1 2755 3 is_stmt 1 view .LVU809 2755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2437 .loc 1 2755 3 view .LVU810 2438 0048 84F83C00 strb r0, [r4, #60] 2755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2439 .loc 1 2755 3 view .LVU811 2757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2440 .loc 1 2757 3 view .LVU812 2758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2441 .loc 1 2758 1 is_stmt 0 view .LVU813 2442 004c 10BD pop {r4, pc} 2758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2443 .loc 1 2758 1 view .LVU814 2444 .cfi_endproc 2445 .LFE370: 2447 .section .text.HAL_TIM_Encoder_MspInit,"ax",%progbits 2448 .align 1 2449 .weak HAL_TIM_Encoder_MspInit 2450 .syntax unified 2451 .thumb 2452 .thumb_func 2454 HAL_TIM_Encoder_MspInit: 2455 .LVL197: 2456 .LFB379: 3203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2457 .loc 1 3203 1 is_stmt 1 view -0 2458 .cfi_startproc ARM GAS /tmp/ccodHXtm.s page 190 2459 @ args = 0, pretend = 0, frame = 0 2460 @ frame_needed = 0, uses_anonymous_args = 0 2461 @ link register save eliminated. 3205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2462 .loc 1 3205 3 view .LVU816 3210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2463 .loc 1 3210 1 is_stmt 0 view .LVU817 2464 0000 7047 bx lr 2465 .cfi_endproc 2466 .LFE379: 2468 .section .text.HAL_TIM_Encoder_MspDeInit,"ax",%progbits 2469 .align 1 2470 .weak HAL_TIM_Encoder_MspDeInit 2471 .syntax unified 2472 .thumb 2473 .thumb_func 2475 HAL_TIM_Encoder_MspDeInit: 2476 .LVL198: 2477 .LFB380: 3218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 2478 .loc 1 3218 1 is_stmt 1 view -0 2479 .cfi_startproc 2480 @ args = 0, pretend = 0, frame = 0 2481 @ frame_needed = 0, uses_anonymous_args = 0 2482 @ link register save eliminated. 3220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2483 .loc 1 3220 3 view .LVU819 3225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2484 .loc 1 3225 1 is_stmt 0 view .LVU820 2485 0000 7047 bx lr 2486 .cfi_endproc 2487 .LFE380: 2489 .section .text.HAL_TIM_Encoder_DeInit,"ax",%progbits 2490 .align 1 2491 .global HAL_TIM_Encoder_DeInit 2492 .syntax unified 2493 .thumb 2494 .thumb_func 2496 HAL_TIM_Encoder_DeInit: 2497 .LVL199: 2498 .LFB378: 3158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2499 .loc 1 3158 1 is_stmt 1 view -0 2500 .cfi_startproc 2501 @ args = 0, pretend = 0, frame = 0 2502 @ frame_needed = 0, uses_anonymous_args = 0 3158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 2503 .loc 1 3158 1 is_stmt 0 view .LVU822 2504 0000 10B5 push {r4, lr} 2505 .LCFI27: 2506 .cfi_def_cfa_offset 8 2507 .cfi_offset 4, -8 2508 .cfi_offset 14, -4 2509 0002 0446 mov r4, r0 3160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2510 .loc 1 3160 3 is_stmt 1 view .LVU823 3162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 191 2511 .loc 1 3162 3 view .LVU824 3162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2512 .loc 1 3162 15 is_stmt 0 view .LVU825 2513 0004 0223 movs r3, #2 2514 0006 80F83D30 strb r3, [r0, #61] 3165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2515 .loc 1 3165 3 is_stmt 1 view .LVU826 3165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2516 .loc 1 3165 3 view .LVU827 2517 000a 0368 ldr r3, [r0] 2518 000c 196A ldr r1, [r3, #32] 2519 000e 41F21112 movw r2, #4369 2520 0012 1142 tst r1, r2 2521 0014 08D1 bne .L111 3165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2522 .loc 1 3165 3 discriminator 1 view .LVU828 2523 0016 196A ldr r1, [r3, #32] 2524 0018 44F24442 movw r2, #17476 2525 001c 1142 tst r1, r2 2526 001e 03D1 bne .L111 3165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2527 .loc 1 3165 3 discriminator 3 view .LVU829 2528 0020 1A68 ldr r2, [r3] 2529 0022 22F00102 bic r2, r2, #1 2530 0026 1A60 str r2, [r3] 2531 .L111: 3165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2532 .loc 1 3165 3 discriminator 5 view .LVU830 3176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2533 .loc 1 3176 3 view .LVU831 2534 0028 2046 mov r0, r4 2535 .LVL200: 3176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 2536 .loc 1 3176 3 is_stmt 0 view .LVU832 2537 002a FFF7FEFF bl HAL_TIM_Encoder_MspDeInit 2538 .LVL201: 3180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2539 .loc 1 3180 3 is_stmt 1 view .LVU833 3180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2540 .loc 1 3180 23 is_stmt 0 view .LVU834 2541 002e 0020 movs r0, #0 2542 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); 2543 .loc 1 3183 3 is_stmt 1 view .LVU835 2544 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); 2545 .loc 1 3184 3 view .LVU836 2546 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); 2547 .loc 1 3185 3 view .LVU837 2548 003c 84F84400 strb r0, [r4, #68] 3186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2549 .loc 1 3186 3 view .LVU838 2550 0040 84F84500 strb r0, [r4, #69] 3189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2551 .loc 1 3189 3 view .LVU839 3189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 192 2552 .loc 1 3189 15 is_stmt 0 view .LVU840 2553 0044 84F83D00 strb r0, [r4, #61] 3192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2554 .loc 1 3192 3 is_stmt 1 view .LVU841 3192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2555 .loc 1 3192 3 view .LVU842 2556 0048 84F83C00 strb r0, [r4, #60] 3192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2557 .loc 1 3192 3 view .LVU843 3194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2558 .loc 1 3194 3 view .LVU844 3195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2559 .loc 1 3195 1 is_stmt 0 view .LVU845 2560 004c 10BD pop {r4, pc} 3195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2561 .loc 1 3195 1 view .LVU846 2562 .cfi_endproc 2563 .LFE378: 2565 .section .text.HAL_TIM_DMABurst_MultiWriteStart,"ax",%progbits 2566 .align 1 2567 .global HAL_TIM_DMABurst_MultiWriteStart 2568 .syntax unified 2569 .thumb 2570 .thumb_func 2572 HAL_TIM_DMABurst_MultiWriteStart: 2573 .LVL202: 2574 .LFB393: 4702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 2575 .loc 1 4702 1 is_stmt 1 view -0 2576 .cfi_startproc 2577 @ args = 8, pretend = 0, frame = 0 2578 @ frame_needed = 0, uses_anonymous_args = 0 4702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 2579 .loc 1 4702 1 is_stmt 0 view .LVU848 2580 0000 70B5 push {r4, r5, r6, lr} 2581 .LCFI28: 2582 .cfi_def_cfa_offset 16 2583 .cfi_offset 4, -16 2584 .cfi_offset 5, -12 2585 .cfi_offset 6, -8 2586 .cfi_offset 14, -4 2587 0002 0446 mov r4, r0 4703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2588 .loc 1 4703 3 is_stmt 1 view .LVU849 2589 .LVL203: 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/ccodHXtm.s page 193 4712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2596 .loc 1 4712 11 is_stmt 0 view .LVU856 2597 0004 90F84800 ldrb r0, [r0, #72] @ zero_extendqisi2 2598 .LVL204: 4712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2599 .loc 1 4712 11 view .LVU857 2600 0008 C0B2 uxtb r0, r0 4712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2601 .loc 1 4712 6 view .LVU858 2602 000a 0228 cmp r0, #2 2603 000c 31D0 beq .L114 2604 000e 0E46 mov r6, r1 2605 0010 1546 mov r5, r2 2606 0012 1946 mov r1, r3 2607 .LVL205: 4716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2608 .loc 1 4716 8 is_stmt 1 view .LVU859 4716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2609 .loc 1 4716 16 is_stmt 0 view .LVU860 2610 0014 94F84800 ldrb r0, [r4, #72] @ zero_extendqisi2 2611 0018 C0B2 uxtb r0, r0 4716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2612 .loc 1 4716 11 view .LVU861 2613 001a 0128 cmp r0, #1 2614 001c 2AD0 beq .L134 2615 .LVL206: 2616 .L115: 4730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2617 .loc 1 4730 3 is_stmt 1 view .LVU862 4732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2618 .loc 1 4732 3 view .LVU863 2619 001e B5F5006F cmp r5, #2048 2620 0022 79D0 beq .L117 2621 0024 31D8 bhi .L118 2622 0026 B5F5007F cmp r5, #512 2623 002a 4DD0 beq .L119 2624 002c B5F5806F cmp r5, #1024 2625 0030 5ED0 beq .L120 2626 0032 B5F5807F cmp r5, #256 2627 0036 26D1 bne .L135 4737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 2628 .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; 2629 .loc 1 4737 17 is_stmt 0 view .LVU865 2630 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; 2631 .loc 1 4737 55 view .LVU866 2632 003a 574A ldr r2, .L139 2633 .LVL207: 4737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 2634 .loc 1 4737 55 view .LVU867 2635 003c DA62 str r2, [r3, #44] 4738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2636 .loc 1 4738 7 is_stmt 1 view .LVU868 4738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2637 .loc 1 4738 17 is_stmt 0 view .LVU869 2638 003e 236A ldr r3, [r4, #32] ARM GAS /tmp/ccodHXtm.s page 194 4738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2639 .loc 1 4738 59 view .LVU870 2640 0040 564A ldr r2, .L139+4 2641 0042 1A63 str r2, [r3, #48] 4741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2642 .loc 1 4741 7 is_stmt 1 view .LVU871 4741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2643 .loc 1 4741 17 is_stmt 0 view .LVU872 2644 0044 236A ldr r3, [r4, #32] 4741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2645 .loc 1 4741 56 view .LVU873 2646 0046 564A ldr r2, .L139+8 2647 0048 5A63 str r2, [r3, #52] 4744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2648 .loc 1 4744 7 is_stmt 1 view .LVU874 4745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2649 .loc 1 4745 43 is_stmt 0 view .LVU875 2650 004a 2268 ldr r2, [r4] 4744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2651 .loc 1 4744 11 view .LVU876 2652 004c 059B ldr r3, [sp, #20] 2653 004e 02F57872 add r2, r2, #992 2654 0052 206A ldr r0, [r4, #32] 2655 0054 FFF7FEFF bl HAL_DMA_Start_IT 2656 .LVL208: 4744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2657 .loc 1 4744 10 discriminator 1 view .LVU877 2658 0058 0028 cmp r0, #0 2659 005a 40F09B80 bne .L136 2660 .L125: 2661 .LVL209: 4868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM DMA Request */ 2662 .loc 1 4868 5 is_stmt 1 view .LVU878 4868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM DMA Request */ 2663 .loc 1 4868 9 is_stmt 0 view .LVU879 2664 005e 2368 ldr r3, [r4] 4868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM DMA Request */ 2665 .loc 1 4868 45 view .LVU880 2666 0060 049A ldr r2, [sp, #16] 2667 0062 1643 orrs r6, r6, r2 2668 .LVL210: 4868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM DMA Request */ 2669 .loc 1 4868 25 view .LVU881 2670 0064 C3F8DC63 str r6, [r3, #988] 4870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2671 .loc 1 4870 5 is_stmt 1 view .LVU882 2672 0068 2268 ldr r2, [r4] 2673 006a D368 ldr r3, [r2, #12] 2674 006c 2B43 orrs r3, r3, r5 2675 006e D360 str r3, [r2, #12] 2676 0070 0020 movs r0, #0 2677 .LVL211: 2678 .L114: 4875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2679 .loc 1 4875 1 is_stmt 0 view .LVU883 2680 0072 70BD pop {r4, r5, r6, pc} 2681 .LVL212: ARM GAS /tmp/ccodHXtm.s page 195 2682 .L134: 4718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2683 .loc 1 4718 5 is_stmt 1 view .LVU884 4718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2684 .loc 1 4718 8 is_stmt 0 view .LVU885 2685 0074 1BB1 cbz r3, .L137 2686 .L116: 4724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2687 .loc 1 4724 7 is_stmt 1 view .LVU886 4724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2688 .loc 1 4724 27 is_stmt 0 view .LVU887 2689 0076 0223 movs r3, #2 2690 0078 84F84830 strb r3, [r4, #72] 2691 007c CFE7 b .L115 2692 .L137: 4718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2693 .loc 1 4718 31 discriminator 1 view .LVU888 2694 007e 049B ldr r3, [sp, #16] 2695 0080 002B cmp r3, #0 2696 0082 F8D0 beq .L116 2697 0084 F5E7 b .L114 2698 .L135: 4732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2699 .loc 1 4732 3 view .LVU889 2700 0086 0120 movs r0, #1 2701 0088 F3E7 b .L114 2702 .L118: 2703 008a B5F5005F cmp r5, #8192 2704 008e 57D0 beq .L122 2705 0090 B5F5804F cmp r5, #16384 2706 0094 69D0 beq .L123 2707 0096 B5F5805F cmp r5, #4096 2708 009a 13D1 bne .L138 4809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2709 .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; 2710 .loc 1 4809 17 is_stmt 0 view .LVU891 2711 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; 2712 .loc 1 4809 52 view .LVU892 2713 009e 414A ldr r2, .L139+12 2714 .LVL213: 4809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2715 .loc 1 4809 52 view .LVU893 2716 00a0 DA62 str r2, [r3, #44] 4810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2717 .loc 1 4810 7 is_stmt 1 view .LVU894 4810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2718 .loc 1 4810 17 is_stmt 0 view .LVU895 2719 00a2 236B ldr r3, [r4, #48] 4810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2720 .loc 1 4810 56 view .LVU896 2721 00a4 404A ldr r2, .L139+16 2722 00a6 1A63 str r2, [r3, #48] 4813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2723 .loc 1 4813 7 is_stmt 1 view .LVU897 4813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 196 2724 .loc 1 4813 17 is_stmt 0 view .LVU898 2725 00a8 236B ldr r3, [r4, #48] 4813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2726 .loc 1 4813 53 view .LVU899 2727 00aa 3D4A ldr r2, .L139+8 2728 00ac 5A63 str r2, [r3, #52] 4816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2729 .loc 1 4816 7 is_stmt 1 view .LVU900 4817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2730 .loc 1 4817 43 is_stmt 0 view .LVU901 2731 00ae 2268 ldr r2, [r4] 4816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2732 .loc 1 4816 11 view .LVU902 2733 00b0 059B ldr r3, [sp, #20] 2734 00b2 02F57872 add r2, r2, #992 2735 00b6 206B ldr r0, [r4, #48] 2736 00b8 FFF7FEFF bl HAL_DMA_Start_IT 2737 .LVL214: 4816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2738 .loc 1 4816 10 discriminator 1 view .LVU903 2739 00bc 0028 cmp r0, #0 2740 00be CED0 beq .L125 4820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2741 .loc 1 4820 16 view .LVU904 2742 00c0 0120 movs r0, #1 2743 00c2 D6E7 b .L114 2744 .LVL215: 2745 .L138: 4732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2746 .loc 1 4732 3 view .LVU905 2747 00c4 0120 movs r0, #1 2748 00c6 D4E7 b .L114 2749 .L119: 4755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2750 .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; 2751 .loc 1 4755 17 is_stmt 0 view .LVU907 2752 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; 2753 .loc 1 4755 52 view .LVU908 2754 00ca 364A ldr r2, .L139+12 2755 .LVL216: 4755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2756 .loc 1 4755 52 view .LVU909 2757 00cc DA62 str r2, [r3, #44] 4756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2758 .loc 1 4756 7 is_stmt 1 view .LVU910 4756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2759 .loc 1 4756 17 is_stmt 0 view .LVU911 2760 00ce 636A ldr r3, [r4, #36] 4756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2761 .loc 1 4756 56 view .LVU912 2762 00d0 354A ldr r2, .L139+16 2763 00d2 1A63 str r2, [r3, #48] 4759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2764 .loc 1 4759 7 is_stmt 1 view .LVU913 4759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 197 2765 .loc 1 4759 17 is_stmt 0 view .LVU914 2766 00d4 636A ldr r3, [r4, #36] 4759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2767 .loc 1 4759 53 view .LVU915 2768 00d6 324A ldr r2, .L139+8 2769 00d8 5A63 str r2, [r3, #52] 4762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2770 .loc 1 4762 7 is_stmt 1 view .LVU916 4763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2771 .loc 1 4763 43 is_stmt 0 view .LVU917 2772 00da 2268 ldr r2, [r4] 4762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2773 .loc 1 4762 11 view .LVU918 2774 00dc 059B ldr r3, [sp, #20] 2775 00de 02F57872 add r2, r2, #992 2776 00e2 606A ldr r0, [r4, #36] 2777 00e4 FFF7FEFF bl HAL_DMA_Start_IT 2778 .LVL217: 4762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2779 .loc 1 4762 10 discriminator 1 view .LVU919 2780 00e8 0028 cmp r0, #0 2781 00ea B8D0 beq .L125 4766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2782 .loc 1 4766 16 view .LVU920 2783 00ec 0120 movs r0, #1 2784 00ee C0E7 b .L114 2785 .LVL218: 2786 .L120: 4773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2787 .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; 2788 .loc 1 4773 17 is_stmt 0 view .LVU922 2789 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; 2790 .loc 1 4773 52 view .LVU923 2791 00f2 2C4A ldr r2, .L139+12 2792 .LVL219: 4773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2793 .loc 1 4773 52 view .LVU924 2794 00f4 DA62 str r2, [r3, #44] 4774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2795 .loc 1 4774 7 is_stmt 1 view .LVU925 4774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2796 .loc 1 4774 17 is_stmt 0 view .LVU926 2797 00f6 A36A ldr r3, [r4, #40] 4774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2798 .loc 1 4774 56 view .LVU927 2799 00f8 2B4A ldr r2, .L139+16 2800 00fa 1A63 str r2, [r3, #48] 4777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2801 .loc 1 4777 7 is_stmt 1 view .LVU928 4777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2802 .loc 1 4777 17 is_stmt 0 view .LVU929 2803 00fc A36A ldr r3, [r4, #40] 4777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2804 .loc 1 4777 53 view .LVU930 2805 00fe 284A ldr r2, .L139+8 ARM GAS /tmp/ccodHXtm.s page 198 2806 0100 5A63 str r2, [r3, #52] 4780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2807 .loc 1 4780 7 is_stmt 1 view .LVU931 4781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2808 .loc 1 4781 43 is_stmt 0 view .LVU932 2809 0102 2268 ldr r2, [r4] 4780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2810 .loc 1 4780 11 view .LVU933 2811 0104 059B ldr r3, [sp, #20] 2812 0106 02F57872 add r2, r2, #992 2813 010a A06A ldr r0, [r4, #40] 2814 010c FFF7FEFF bl HAL_DMA_Start_IT 2815 .LVL220: 4780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2816 .loc 1 4780 10 discriminator 1 view .LVU934 2817 0110 0028 cmp r0, #0 2818 0112 A4D0 beq .L125 4784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2819 .loc 1 4784 16 view .LVU935 2820 0114 0120 movs r0, #1 2821 0116 ACE7 b .L114 2822 .LVL221: 2823 .L117: 4791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2824 .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; 2825 .loc 1 4791 17 is_stmt 0 view .LVU937 2826 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; 2827 .loc 1 4791 52 view .LVU938 2828 011a 224A ldr r2, .L139+12 2829 .LVL222: 4791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 2830 .loc 1 4791 52 view .LVU939 2831 011c DA62 str r2, [r3, #44] 4792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2832 .loc 1 4792 7 is_stmt 1 view .LVU940 4792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2833 .loc 1 4792 17 is_stmt 0 view .LVU941 2834 011e E36A ldr r3, [r4, #44] 4792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2835 .loc 1 4792 56 view .LVU942 2836 0120 214A ldr r2, .L139+16 2837 0122 1A63 str r2, [r3, #48] 4795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2838 .loc 1 4795 7 is_stmt 1 view .LVU943 4795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2839 .loc 1 4795 17 is_stmt 0 view .LVU944 2840 0124 E36A ldr r3, [r4, #44] 4795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2841 .loc 1 4795 53 view .LVU945 2842 0126 1E4A ldr r2, .L139+8 2843 0128 5A63 str r2, [r3, #52] 4798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2844 .loc 1 4798 7 is_stmt 1 view .LVU946 4799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2845 .loc 1 4799 43 is_stmt 0 view .LVU947 ARM GAS /tmp/ccodHXtm.s page 199 2846 012a 2268 ldr r2, [r4] 4798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2847 .loc 1 4798 11 view .LVU948 2848 012c 059B ldr r3, [sp, #20] 2849 012e 02F57872 add r2, r2, #992 2850 0132 E06A ldr r0, [r4, #44] 2851 0134 FFF7FEFF bl HAL_DMA_Start_IT 2852 .LVL223: 4798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2853 .loc 1 4798 10 discriminator 1 view .LVU949 2854 0138 0028 cmp r0, #0 2855 013a 90D0 beq .L125 4802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2856 .loc 1 4802 16 view .LVU950 2857 013c 0120 movs r0, #1 2858 013e 98E7 b .L114 2859 .LVL224: 2860 .L122: 4827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 2861 .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; 2862 .loc 1 4827 17 is_stmt 0 view .LVU952 2863 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; 2864 .loc 1 4827 60 view .LVU953 2865 0142 1A4A ldr r2, .L139+20 2866 .LVL225: 4827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 2867 .loc 1 4827 60 view .LVU954 2868 0144 DA62 str r2, [r3, #44] 4828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2869 .loc 1 4828 7 is_stmt 1 view .LVU955 4828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2870 .loc 1 4828 17 is_stmt 0 view .LVU956 2871 0146 636B ldr r3, [r4, #52] 4828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2872 .loc 1 4828 64 view .LVU957 2873 0148 194A ldr r2, .L139+24 2874 014a 1A63 str r2, [r3, #48] 4831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2875 .loc 1 4831 7 is_stmt 1 view .LVU958 4831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2876 .loc 1 4831 17 is_stmt 0 view .LVU959 2877 014c 636B ldr r3, [r4, #52] 4831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2878 .loc 1 4831 61 view .LVU960 2879 014e 144A ldr r2, .L139+8 2880 0150 5A63 str r2, [r3, #52] 4834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2881 .loc 1 4834 7 is_stmt 1 view .LVU961 4835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2882 .loc 1 4835 43 is_stmt 0 view .LVU962 2883 0152 2268 ldr r2, [r4] 4834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2884 .loc 1 4834 11 view .LVU963 2885 0154 059B ldr r3, [sp, #20] 2886 0156 02F57872 add r2, r2, #992 ARM GAS /tmp/ccodHXtm.s page 200 2887 015a 606B ldr r0, [r4, #52] 2888 015c FFF7FEFF bl HAL_DMA_Start_IT 2889 .LVL226: 4834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2890 .loc 1 4834 10 discriminator 1 view .LVU964 2891 0160 0028 cmp r0, #0 2892 0162 3FF47CAF beq .L125 4838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2893 .loc 1 4838 16 view .LVU965 2894 0166 0120 movs r0, #1 2895 0168 83E7 b .L114 2896 .LVL227: 2897 .L123: 4845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt; 2898 .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; 2899 .loc 1 4845 17 is_stmt 0 view .LVU967 2900 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; 2901 .loc 1 4845 56 view .LVU968 2902 016c 114A ldr r2, .L139+28 2903 .LVL228: 4845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt; 2904 .loc 1 4845 56 view .LVU969 2905 016e DA62 str r2, [r3, #44] 4846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2906 .loc 1 4846 7 is_stmt 1 view .LVU970 4846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2907 .loc 1 4846 17 is_stmt 0 view .LVU971 2908 0170 A36B ldr r3, [r4, #56] 4846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2909 .loc 1 4846 60 view .LVU972 2910 0172 114A ldr r2, .L139+32 2911 0174 1A63 str r2, [r3, #48] 4849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2912 .loc 1 4849 7 is_stmt 1 view .LVU973 4849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2913 .loc 1 4849 17 is_stmt 0 view .LVU974 2914 0176 A36B ldr r3, [r4, #56] 4849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2915 .loc 1 4849 57 view .LVU975 2916 0178 094A ldr r2, .L139+8 2917 017a 5A63 str r2, [r3, #52] 4852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2918 .loc 1 4852 7 is_stmt 1 view .LVU976 4853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 2919 .loc 1 4853 43 is_stmt 0 view .LVU977 2920 017c 2268 ldr r2, [r4] 4852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2921 .loc 1 4852 11 view .LVU978 2922 017e 059B ldr r3, [sp, #20] 2923 0180 02F57872 add r2, r2, #992 2924 0184 A06B ldr r0, [r4, #56] 2925 0186 FFF7FEFF bl HAL_DMA_Start_IT 2926 .LVL229: 4852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) 2927 .loc 1 4852 10 discriminator 1 view .LVU979 ARM GAS /tmp/ccodHXtm.s page 201 2928 018a 0028 cmp r0, #0 2929 018c 3FF467AF beq .L125 4856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2930 .loc 1 4856 16 view .LVU980 2931 0190 0120 movs r0, #1 2932 0192 6EE7 b .L114 2933 .L136: 4748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2934 .loc 1 4748 16 view .LVU981 2935 0194 0120 movs r0, #1 2936 0196 6CE7 b .L114 2937 .L140: 2938 .align 2 2939 .L139: 2940 0198 00000000 .word TIM_DMAPeriodElapsedCplt 2941 019c 00000000 .word TIM_DMAPeriodElapsedHalfCplt 2942 01a0 00000000 .word TIM_DMAError 2943 01a4 00000000 .word TIM_DMADelayPulseCplt 2944 01a8 00000000 .word TIM_DMADelayPulseHalfCplt 2945 01ac 00000000 .word TIMEx_DMACommutationCplt 2946 01b0 00000000 .word TIMEx_DMACommutationHalfCplt 2947 01b4 00000000 .word TIM_DMATriggerCplt 2948 01b8 00000000 .word TIM_DMATriggerHalfCplt 2949 .cfi_endproc 2950 .LFE393: 2952 .section .text.HAL_TIM_DMABurst_WriteStart,"ax",%progbits 2953 .align 1 2954 .global HAL_TIM_DMABurst_WriteStart 2955 .syntax unified 2956 .thumb 2957 .thumb_func 2959 HAL_TIM_DMABurst_WriteStart: 2960 .LVL230: 2961 .LFB392: 4640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status; 2962 .loc 1 4640 1 is_stmt 1 view -0 2963 .cfi_startproc 2964 @ args = 4, pretend = 0, frame = 0 2965 @ frame_needed = 0, uses_anonymous_args = 0 4640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status; 2966 .loc 1 4640 1 is_stmt 0 view .LVU983 2967 0000 30B5 push {r4, r5, lr} 2968 .LCFI29: 2969 .cfi_def_cfa_offset 12 2970 .cfi_offset 4, -12 2971 .cfi_offset 5, -8 2972 .cfi_offset 14, -4 2973 0002 83B0 sub sp, sp, #12 2974 .LCFI30: 2975 .cfi_def_cfa_offset 24 2976 0004 069D ldr r5, [sp, #24] 4641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2977 .loc 1 4641 3 is_stmt 1 view .LVU984 4643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ((BurstLength) >> 8U) + 1U); 2978 .loc 1 4643 3 view .LVU985 4644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2979 .loc 1 4644 60 is_stmt 0 view .LVU986 ARM GAS /tmp/ccodHXtm.s page 202 2980 0006 2C0A lsrs r4, r5, #8 4643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ((BurstLength) >> 8U) + 1U); 2981 .loc 1 4643 12 view .LVU987 2982 0008 0134 adds r4, r4, #1 2983 000a 0194 str r4, [sp, #4] 2984 000c 0095 str r5, [sp] 2985 000e FFF7FEFF bl HAL_TIM_DMABurst_MultiWriteStart 2986 .LVL231: 4648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 2987 .loc 1 4648 3 is_stmt 1 view .LVU988 4649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2988 .loc 1 4649 1 is_stmt 0 view .LVU989 2989 0012 03B0 add sp, sp, #12 2990 .LCFI31: 2991 .cfi_def_cfa_offset 12 2992 @ sp needed 2993 0014 30BD pop {r4, r5, pc} 4649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 2994 .loc 1 4649 1 view .LVU990 2995 .cfi_endproc 2996 .LFE392: 2998 .section .text.HAL_TIM_DMABurst_WriteStop,"ax",%progbits 2999 .align 1 3000 .global HAL_TIM_DMABurst_WriteStop 3001 .syntax unified 3002 .thumb 3003 .thumb_func 3005 HAL_TIM_DMABurst_WriteStop: 3006 .LVL232: 3007 .LFB394: 4884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 3008 .loc 1 4884 1 is_stmt 1 view -0 3009 .cfi_startproc 3010 @ args = 0, pretend = 0, frame = 0 3011 @ frame_needed = 0, uses_anonymous_args = 0 4884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 3012 .loc 1 4884 1 is_stmt 0 view .LVU992 3013 0000 38B5 push {r3, r4, r5, lr} 3014 .LCFI32: 3015 .cfi_def_cfa_offset 16 3016 .cfi_offset 3, -16 3017 .cfi_offset 4, -12 3018 .cfi_offset 5, -8 3019 .cfi_offset 14, -4 3020 0002 0546 mov r5, r0 3021 0004 0C46 mov r4, r1 4885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3022 .loc 1 4885 3 is_stmt 1 view .LVU993 3023 .LVL233: 4888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3024 .loc 1 4888 3 view .LVU994 4891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3025 .loc 1 4891 3 view .LVU995 3026 0006 B1F5006F cmp r1, #2048 3027 000a 2FD0 beq .L144 3028 000c 17D8 bhi .L145 3029 000e B1F5007F cmp r1, #512 ARM GAS /tmp/ccodHXtm.s page 203 3030 0012 23D0 beq .L146 3031 0014 B1F5806F cmp r1, #1024 3032 0018 24D0 beq .L147 3033 001a B1F5807F cmp r1, #256 3034 001e 0CD1 bne .L155 4895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3035 .loc 1 4895 7 view .LVU996 4895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3036 .loc 1 4895 13 is_stmt 0 view .LVU997 3037 0020 006A ldr r0, [r0, #32] 3038 .LVL234: 4895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3039 .loc 1 4895 13 view .LVU998 3040 0022 FFF7FEFF bl HAL_DMA_Abort_IT 3041 .LVL235: 4896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3042 .loc 1 4896 7 is_stmt 1 view .LVU999 4933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3043 .loc 1 4933 3 view .LVU1000 3044 .L153: 4936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3045 .loc 1 4936 5 view .LVU1001 3046 0026 2A68 ldr r2, [r5] 3047 0028 D368 ldr r3, [r2, #12] 3048 002a 23EA0403 bic r3, r3, r4 3049 002e D360 str r3, [r2, #12] 4939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3050 .loc 1 4939 5 view .LVU1002 4939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3051 .loc 1 4939 25 is_stmt 0 view .LVU1003 3052 0030 0123 movs r3, #1 3053 0032 85F84830 strb r3, [r5, #72] 3054 0036 0020 movs r0, #0 3055 .L149: 3056 .LVL236: 4943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3057 .loc 1 4943 3 is_stmt 1 view .LVU1004 4944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3058 .loc 1 4944 1 is_stmt 0 view .LVU1005 3059 0038 38BD pop {r3, r4, r5, pc} 3060 .LVL237: 3061 .L155: 4891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3062 .loc 1 4891 3 view .LVU1006 3063 003a 0120 movs r0, #1 3064 .LVL238: 4891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3065 .loc 1 4891 3 view .LVU1007 3066 003c FCE7 b .L149 3067 .LVL239: 3068 .L145: 4891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3069 .loc 1 4891 3 view .LVU1008 3070 003e B1F5005F cmp r1, #8192 3071 0042 17D0 beq .L150 3072 0044 B1F5804F cmp r1, #16384 3073 0048 18D0 beq .L151 ARM GAS /tmp/ccodHXtm.s page 204 3074 004a B1F5805F cmp r1, #4096 3075 004e 03D1 bne .L156 4915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3076 .loc 1 4915 7 is_stmt 1 view .LVU1009 4915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3077 .loc 1 4915 13 is_stmt 0 view .LVU1010 3078 0050 006B ldr r0, [r0, #48] 3079 .LVL240: 4915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3080 .loc 1 4915 13 view .LVU1011 3081 0052 FFF7FEFF bl HAL_DMA_Abort_IT 3082 .LVL241: 4916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3083 .loc 1 4916 7 is_stmt 1 view .LVU1012 4933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3084 .loc 1 4933 3 view .LVU1013 3085 0056 E6E7 b .L153 3086 .LVL242: 3087 .L156: 4891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3088 .loc 1 4891 3 is_stmt 0 view .LVU1014 3089 0058 0120 movs r0, #1 3090 .LVL243: 4891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3091 .loc 1 4891 3 view .LVU1015 3092 005a EDE7 b .L149 3093 .LVL244: 3094 .L146: 4900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3095 .loc 1 4900 7 is_stmt 1 view .LVU1016 4900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3096 .loc 1 4900 13 is_stmt 0 view .LVU1017 3097 005c 406A ldr r0, [r0, #36] 3098 .LVL245: 4900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3099 .loc 1 4900 13 view .LVU1018 3100 005e FFF7FEFF bl HAL_DMA_Abort_IT 3101 .LVL246: 4901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3102 .loc 1 4901 7 is_stmt 1 view .LVU1019 4933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3103 .loc 1 4933 3 view .LVU1020 3104 0062 E0E7 b .L153 3105 .LVL247: 3106 .L147: 4905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3107 .loc 1 4905 7 view .LVU1021 4905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3108 .loc 1 4905 13 is_stmt 0 view .LVU1022 3109 0064 806A ldr r0, [r0, #40] 3110 .LVL248: 4905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3111 .loc 1 4905 13 view .LVU1023 3112 0066 FFF7FEFF bl HAL_DMA_Abort_IT 3113 .LVL249: 4906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3114 .loc 1 4906 7 is_stmt 1 view .LVU1024 ARM GAS /tmp/ccodHXtm.s page 205 4933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3115 .loc 1 4933 3 view .LVU1025 3116 006a DCE7 b .L153 3117 .LVL250: 3118 .L144: 4910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3119 .loc 1 4910 7 view .LVU1026 4910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3120 .loc 1 4910 13 is_stmt 0 view .LVU1027 3121 006c C06A ldr r0, [r0, #44] 3122 .LVL251: 4910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3123 .loc 1 4910 13 view .LVU1028 3124 006e FFF7FEFF bl HAL_DMA_Abort_IT 3125 .LVL252: 4911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3126 .loc 1 4911 7 is_stmt 1 view .LVU1029 4933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3127 .loc 1 4933 3 view .LVU1030 3128 0072 D8E7 b .L153 3129 .LVL253: 3130 .L150: 4920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3131 .loc 1 4920 7 view .LVU1031 4920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3132 .loc 1 4920 13 is_stmt 0 view .LVU1032 3133 0074 406B ldr r0, [r0, #52] 3134 .LVL254: 4920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3135 .loc 1 4920 13 view .LVU1033 3136 0076 FFF7FEFF bl HAL_DMA_Abort_IT 3137 .LVL255: 4921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3138 .loc 1 4921 7 is_stmt 1 view .LVU1034 4933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3139 .loc 1 4933 3 view .LVU1035 3140 007a D4E7 b .L153 3141 .LVL256: 3142 .L151: 4925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3143 .loc 1 4925 7 view .LVU1036 4925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3144 .loc 1 4925 13 is_stmt 0 view .LVU1037 3145 007c 806B ldr r0, [r0, #56] 3146 .LVL257: 4925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3147 .loc 1 4925 13 view .LVU1038 3148 007e FFF7FEFF bl HAL_DMA_Abort_IT 3149 .LVL258: 4926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3150 .loc 1 4926 7 is_stmt 1 view .LVU1039 4933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3151 .loc 1 4933 3 view .LVU1040 3152 0082 D0E7 b .L153 3153 .cfi_endproc 3154 .LFE394: 3156 .section .text.HAL_TIM_DMABurst_MultiReadStart,"ax",%progbits ARM GAS /tmp/ccodHXtm.s page 206 3157 .align 1 3158 .global HAL_TIM_DMABurst_MultiReadStart 3159 .syntax unified 3160 .thumb 3161 .thumb_func 3163 HAL_TIM_DMABurst_MultiReadStart: 3164 .LVL259: 3165 .LFB396: 5056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 3166 .loc 1 5056 1 view -0 3167 .cfi_startproc 3168 @ args = 8, pretend = 0, frame = 0 3169 @ frame_needed = 0, uses_anonymous_args = 0 5056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 3170 .loc 1 5056 1 is_stmt 0 view .LVU1042 3171 0000 70B5 push {r4, r5, r6, lr} 3172 .LCFI33: 3173 .cfi_def_cfa_offset 16 3174 .cfi_offset 4, -16 3175 .cfi_offset 5, -12 3176 .cfi_offset 6, -8 3177 .cfi_offset 14, -4 3178 0002 0446 mov r4, r0 5057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3179 .loc 1 5057 3 is_stmt 1 view .LVU1043 3180 .LVL260: 5060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_BASE(BurstBaseAddress)); 3181 .loc 1 5060 3 view .LVU1044 5061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_SOURCE(BurstRequestSrc)); 3182 .loc 1 5061 3 view .LVU1045 5062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_LENGTH(BurstLength)); 3183 .loc 1 5062 3 view .LVU1046 5063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_DATA_LENGTH(DataLength)); 3184 .loc 1 5063 3 view .LVU1047 5064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3185 .loc 1 5064 3 view .LVU1048 5066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3186 .loc 1 5066 3 view .LVU1049 5066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3187 .loc 1 5066 11 is_stmt 0 view .LVU1050 3188 0004 90F84800 ldrb r0, [r0, #72] @ zero_extendqisi2 3189 .LVL261: 5066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3190 .loc 1 5066 11 view .LVU1051 3191 0008 C0B2 uxtb r0, r0 5066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3192 .loc 1 5066 6 view .LVU1052 3193 000a 0228 cmp r0, #2 3194 000c 31D0 beq .L158 3195 000e 0E46 mov r6, r1 3196 0010 1546 mov r5, r2 3197 0012 1A46 mov r2, r3 3198 .LVL262: 5070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3199 .loc 1 5070 8 is_stmt 1 view .LVU1053 5070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3200 .loc 1 5070 16 is_stmt 0 view .LVU1054 ARM GAS /tmp/ccodHXtm.s page 207 3201 0014 94F84800 ldrb r0, [r4, #72] @ zero_extendqisi2 3202 0018 C0B2 uxtb r0, r0 5070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3203 .loc 1 5070 11 view .LVU1055 3204 001a 0128 cmp r0, #1 3205 001c 2AD0 beq .L178 3206 .LVL263: 3207 .L159: 5084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** switch (BurstRequestSrc) 3208 .loc 1 5084 3 is_stmt 1 view .LVU1056 5085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3209 .loc 1 5085 3 view .LVU1057 3210 001e B5F5006F cmp r5, #2048 3211 0022 79D0 beq .L161 3212 0024 31D8 bhi .L162 3213 0026 B5F5007F cmp r5, #512 3214 002a 4DD0 beq .L163 3215 002c B5F5806F cmp r5, #1024 3216 0030 5ED0 beq .L164 3217 0032 B5F5807F cmp r5, #256 3218 0036 26D1 bne .L179 5090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 3219 .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; 3220 .loc 1 5090 17 is_stmt 0 view .LVU1059 3221 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; 3222 .loc 1 5090 55 view .LVU1060 3223 003a 5749 ldr r1, .L183 3224 .LVL264: 5090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt; 3225 .loc 1 5090 55 view .LVU1061 3226 003c D962 str r1, [r3, #44] 5091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3227 .loc 1 5091 7 is_stmt 1 view .LVU1062 5091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3228 .loc 1 5091 17 is_stmt 0 view .LVU1063 3229 003e 236A ldr r3, [r4, #32] 5091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3230 .loc 1 5091 59 view .LVU1064 3231 0040 5649 ldr r1, .L183+4 3232 0042 1963 str r1, [r3, #48] 5094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3233 .loc 1 5094 7 is_stmt 1 view .LVU1065 5094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3234 .loc 1 5094 17 is_stmt 0 view .LVU1066 3235 0044 236A ldr r3, [r4, #32] 5094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3236 .loc 1 5094 56 view .LVU1067 3237 0046 5649 ldr r1, .L183+8 3238 0048 5963 str r1, [r3, #52] 5097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3239 .loc 1 5097 7 is_stmt 1 view .LVU1068 5097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3240 .loc 1 5097 74 is_stmt 0 view .LVU1069 3241 004a 2168 ldr r1, [r4] 5097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) ARM GAS /tmp/ccodHXtm.s page 208 3242 .loc 1 5097 11 view .LVU1070 3243 004c 059B ldr r3, [sp, #20] 3244 004e 01F57871 add r1, r1, #992 3245 0052 206A ldr r0, [r4, #32] 3246 0054 FFF7FEFF bl HAL_DMA_Start_IT 3247 .LVL265: 5097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3248 .loc 1 5097 10 discriminator 1 view .LVU1071 3249 0058 0028 cmp r0, #0 3250 005a 40F09B80 bne .L180 3251 .L169: 3252 .LVL266: 5221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3253 .loc 1 5221 5 is_stmt 1 view .LVU1072 5221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3254 .loc 1 5221 9 is_stmt 0 view .LVU1073 3255 005e 2368 ldr r3, [r4] 5221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3256 .loc 1 5221 45 view .LVU1074 3257 0060 049A ldr r2, [sp, #16] 3258 0062 1643 orrs r6, r6, r2 3259 .LVL267: 5221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3260 .loc 1 5221 25 view .LVU1075 3261 0064 C3F8DC63 str r6, [r3, #988] 5224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3262 .loc 1 5224 5 is_stmt 1 view .LVU1076 3263 0068 2268 ldr r2, [r4] 3264 006a D368 ldr r3, [r2, #12] 3265 006c 2B43 orrs r3, r3, r5 3266 006e D360 str r3, [r2, #12] 3267 0070 0020 movs r0, #0 3268 .LVL268: 3269 .L158: 5229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3270 .loc 1 5229 1 is_stmt 0 view .LVU1077 3271 0072 70BD pop {r4, r5, r6, pc} 3272 .LVL269: 3273 .L178: 5072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3274 .loc 1 5072 5 is_stmt 1 view .LVU1078 5072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3275 .loc 1 5072 8 is_stmt 0 view .LVU1079 3276 0074 1BB1 cbz r3, .L181 3277 .L160: 5078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3278 .loc 1 5078 7 is_stmt 1 view .LVU1080 5078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3279 .loc 1 5078 27 is_stmt 0 view .LVU1081 3280 0076 0223 movs r3, #2 3281 0078 84F84830 strb r3, [r4, #72] 3282 007c CFE7 b .L159 3283 .L181: 5072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3284 .loc 1 5072 31 discriminator 1 view .LVU1082 3285 007e 049B ldr r3, [sp, #16] 3286 0080 002B cmp r3, #0 ARM GAS /tmp/ccodHXtm.s page 209 3287 0082 F8D0 beq .L160 3288 0084 F5E7 b .L158 3289 .L179: 5085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3290 .loc 1 5085 3 view .LVU1083 3291 0086 0120 movs r0, #1 3292 0088 F3E7 b .L158 3293 .L162: 3294 008a B5F5005F cmp r5, #8192 3295 008e 57D0 beq .L166 3296 0090 B5F5804F cmp r5, #16384 3297 0094 69D0 beq .L167 3298 0096 B5F5805F cmp r5, #4096 3299 009a 13D1 bne .L182 5162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3300 .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; 3301 .loc 1 5162 17 is_stmt 0 view .LVU1085 3302 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; 3303 .loc 1 5162 52 view .LVU1086 3304 009e 4149 ldr r1, .L183+12 3305 .LVL270: 5162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3306 .loc 1 5162 52 view .LVU1087 3307 00a0 D962 str r1, [r3, #44] 5163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3308 .loc 1 5163 7 is_stmt 1 view .LVU1088 5163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3309 .loc 1 5163 17 is_stmt 0 view .LVU1089 3310 00a2 236B ldr r3, [r4, #48] 5163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3311 .loc 1 5163 56 view .LVU1090 3312 00a4 4049 ldr r1, .L183+16 3313 00a6 1963 str r1, [r3, #48] 5166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3314 .loc 1 5166 7 is_stmt 1 view .LVU1091 5166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3315 .loc 1 5166 17 is_stmt 0 view .LVU1092 3316 00a8 236B ldr r3, [r4, #48] 5166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3317 .loc 1 5166 53 view .LVU1093 3318 00aa 3D49 ldr r1, .L183+8 3319 00ac 5963 str r1, [r3, #52] 5169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3320 .loc 1 5169 7 is_stmt 1 view .LVU1094 5169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3321 .loc 1 5169 71 is_stmt 0 view .LVU1095 3322 00ae 2168 ldr r1, [r4] 5169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3323 .loc 1 5169 11 view .LVU1096 3324 00b0 059B ldr r3, [sp, #20] 3325 00b2 01F57871 add r1, r1, #992 3326 00b6 206B ldr r0, [r4, #48] 3327 00b8 FFF7FEFF bl HAL_DMA_Start_IT 3328 .LVL271: 5169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) ARM GAS /tmp/ccodHXtm.s page 210 3329 .loc 1 5169 10 discriminator 1 view .LVU1097 3330 00bc 0028 cmp r0, #0 3331 00be CED0 beq .L169 5173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3332 .loc 1 5173 16 view .LVU1098 3333 00c0 0120 movs r0, #1 3334 00c2 D6E7 b .L158 3335 .LVL272: 3336 .L182: 5085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3337 .loc 1 5085 3 view .LVU1099 3338 00c4 0120 movs r0, #1 3339 00c6 D4E7 b .L158 3340 .L163: 5108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3341 .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; 3342 .loc 1 5108 17 is_stmt 0 view .LVU1101 3343 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; 3344 .loc 1 5108 52 view .LVU1102 3345 00ca 3649 ldr r1, .L183+12 3346 .LVL273: 5108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3347 .loc 1 5108 52 view .LVU1103 3348 00cc D962 str r1, [r3, #44] 5109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3349 .loc 1 5109 7 is_stmt 1 view .LVU1104 5109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3350 .loc 1 5109 17 is_stmt 0 view .LVU1105 3351 00ce 636A ldr r3, [r4, #36] 5109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3352 .loc 1 5109 56 view .LVU1106 3353 00d0 3549 ldr r1, .L183+16 3354 00d2 1963 str r1, [r3, #48] 5112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3355 .loc 1 5112 7 is_stmt 1 view .LVU1107 5112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3356 .loc 1 5112 17 is_stmt 0 view .LVU1108 3357 00d4 636A ldr r3, [r4, #36] 5112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3358 .loc 1 5112 53 view .LVU1109 3359 00d6 3249 ldr r1, .L183+8 3360 00d8 5963 str r1, [r3, #52] 5115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3361 .loc 1 5115 7 is_stmt 1 view .LVU1110 5115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3362 .loc 1 5115 71 is_stmt 0 view .LVU1111 3363 00da 2168 ldr r1, [r4] 5115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3364 .loc 1 5115 11 view .LVU1112 3365 00dc 059B ldr r3, [sp, #20] 3366 00de 01F57871 add r1, r1, #992 3367 00e2 606A ldr r0, [r4, #36] 3368 00e4 FFF7FEFF bl HAL_DMA_Start_IT 3369 .LVL274: 5115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) ARM GAS /tmp/ccodHXtm.s page 211 3370 .loc 1 5115 10 discriminator 1 view .LVU1113 3371 00e8 0028 cmp r0, #0 3372 00ea B8D0 beq .L169 5119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3373 .loc 1 5119 16 view .LVU1114 3374 00ec 0120 movs r0, #1 3375 00ee C0E7 b .L158 3376 .LVL275: 3377 .L164: 5126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3378 .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; 3379 .loc 1 5126 17 is_stmt 0 view .LVU1116 3380 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; 3381 .loc 1 5126 52 view .LVU1117 3382 00f2 2C49 ldr r1, .L183+12 3383 .LVL276: 5126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3384 .loc 1 5126 52 view .LVU1118 3385 00f4 D962 str r1, [r3, #44] 5127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3386 .loc 1 5127 7 is_stmt 1 view .LVU1119 5127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3387 .loc 1 5127 17 is_stmt 0 view .LVU1120 3388 00f6 A36A ldr r3, [r4, #40] 5127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3389 .loc 1 5127 56 view .LVU1121 3390 00f8 2B49 ldr r1, .L183+16 3391 00fa 1963 str r1, [r3, #48] 5130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3392 .loc 1 5130 7 is_stmt 1 view .LVU1122 5130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3393 .loc 1 5130 17 is_stmt 0 view .LVU1123 3394 00fc A36A ldr r3, [r4, #40] 5130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3395 .loc 1 5130 53 view .LVU1124 3396 00fe 2849 ldr r1, .L183+8 3397 0100 5963 str r1, [r3, #52] 5133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3398 .loc 1 5133 7 is_stmt 1 view .LVU1125 5133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3399 .loc 1 5133 71 is_stmt 0 view .LVU1126 3400 0102 2168 ldr r1, [r4] 5133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3401 .loc 1 5133 11 view .LVU1127 3402 0104 059B ldr r3, [sp, #20] 3403 0106 01F57871 add r1, r1, #992 3404 010a A06A ldr r0, [r4, #40] 3405 010c FFF7FEFF bl HAL_DMA_Start_IT 3406 .LVL277: 5133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3407 .loc 1 5133 10 discriminator 1 view .LVU1128 3408 0110 0028 cmp r0, #0 3409 0112 A4D0 beq .L169 5137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3410 .loc 1 5137 16 view .LVU1129 ARM GAS /tmp/ccodHXtm.s page 212 3411 0114 0120 movs r0, #1 3412 0116 ACE7 b .L158 3413 .LVL278: 3414 .L161: 5144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3415 .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; 3416 .loc 1 5144 17 is_stmt 0 view .LVU1131 3417 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; 3418 .loc 1 5144 52 view .LVU1132 3419 011a 2249 ldr r1, .L183+12 3420 .LVL279: 5144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 3421 .loc 1 5144 52 view .LVU1133 3422 011c D962 str r1, [r3, #44] 5145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3423 .loc 1 5145 7 is_stmt 1 view .LVU1134 5145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3424 .loc 1 5145 17 is_stmt 0 view .LVU1135 3425 011e E36A ldr r3, [r4, #44] 5145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3426 .loc 1 5145 56 view .LVU1136 3427 0120 2149 ldr r1, .L183+16 3428 0122 1963 str r1, [r3, #48] 5148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3429 .loc 1 5148 7 is_stmt 1 view .LVU1137 5148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3430 .loc 1 5148 17 is_stmt 0 view .LVU1138 3431 0124 E36A ldr r3, [r4, #44] 5148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3432 .loc 1 5148 53 view .LVU1139 3433 0126 1E49 ldr r1, .L183+8 3434 0128 5963 str r1, [r3, #52] 5151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3435 .loc 1 5151 7 is_stmt 1 view .LVU1140 5151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3436 .loc 1 5151 71 is_stmt 0 view .LVU1141 3437 012a 2168 ldr r1, [r4] 5151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3438 .loc 1 5151 11 view .LVU1142 3439 012c 059B ldr r3, [sp, #20] 3440 012e 01F57871 add r1, r1, #992 3441 0132 E06A ldr r0, [r4, #44] 3442 0134 FFF7FEFF bl HAL_DMA_Start_IT 3443 .LVL280: 5151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3444 .loc 1 5151 10 discriminator 1 view .LVU1143 3445 0138 0028 cmp r0, #0 3446 013a 90D0 beq .L169 5155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3447 .loc 1 5155 16 view .LVU1144 3448 013c 0120 movs r0, #1 3449 013e 98E7 b .L158 3450 .LVL281: 3451 .L166: 5180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; ARM GAS /tmp/ccodHXtm.s page 213 3452 .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; 3453 .loc 1 5180 17 is_stmt 0 view .LVU1146 3454 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; 3455 .loc 1 5180 60 view .LVU1147 3456 0142 1A49 ldr r1, .L183+20 3457 .LVL282: 5180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt; 3458 .loc 1 5180 60 view .LVU1148 3459 0144 D962 str r1, [r3, #44] 5181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3460 .loc 1 5181 7 is_stmt 1 view .LVU1149 5181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3461 .loc 1 5181 17 is_stmt 0 view .LVU1150 3462 0146 636B ldr r3, [r4, #52] 5181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3463 .loc 1 5181 64 view .LVU1151 3464 0148 1949 ldr r1, .L183+24 3465 014a 1963 str r1, [r3, #48] 5184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3466 .loc 1 5184 7 is_stmt 1 view .LVU1152 5184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3467 .loc 1 5184 17 is_stmt 0 view .LVU1153 3468 014c 636B ldr r3, [r4, #52] 5184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3469 .loc 1 5184 61 view .LVU1154 3470 014e 1449 ldr r1, .L183+8 3471 0150 5963 str r1, [r3, #52] 5187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3472 .loc 1 5187 7 is_stmt 1 view .LVU1155 5187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3473 .loc 1 5187 79 is_stmt 0 view .LVU1156 3474 0152 2168 ldr r1, [r4] 5187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3475 .loc 1 5187 11 view .LVU1157 3476 0154 059B ldr r3, [sp, #20] 3477 0156 01F57871 add r1, r1, #992 3478 015a 606B ldr r0, [r4, #52] 3479 015c FFF7FEFF bl HAL_DMA_Start_IT 3480 .LVL283: 5187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3481 .loc 1 5187 10 discriminator 1 view .LVU1158 3482 0160 0028 cmp r0, #0 3483 0162 3FF47CAF beq .L169 5191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3484 .loc 1 5191 16 view .LVU1159 3485 0166 0120 movs r0, #1 3486 0168 83E7 b .L158 3487 .LVL284: 3488 .L167: 5198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt; 3489 .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; 3490 .loc 1 5198 17 is_stmt 0 view .LVU1161 3491 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; ARM GAS /tmp/ccodHXtm.s page 214 3492 .loc 1 5198 56 view .LVU1162 3493 016c 1149 ldr r1, .L183+28 3494 .LVL285: 5198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt; 3495 .loc 1 5198 56 view .LVU1163 3496 016e D962 str r1, [r3, #44] 5199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3497 .loc 1 5199 7 is_stmt 1 view .LVU1164 5199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3498 .loc 1 5199 17 is_stmt 0 view .LVU1165 3499 0170 A36B ldr r3, [r4, #56] 5199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3500 .loc 1 5199 60 view .LVU1166 3501 0172 1149 ldr r1, .L183+32 3502 0174 1963 str r1, [r3, #48] 5202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3503 .loc 1 5202 7 is_stmt 1 view .LVU1167 5202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3504 .loc 1 5202 17 is_stmt 0 view .LVU1168 3505 0176 A36B ldr r3, [r4, #56] 5202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3506 .loc 1 5202 57 view .LVU1169 3507 0178 0949 ldr r1, .L183+8 3508 017a 5963 str r1, [r3, #52] 5205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3509 .loc 1 5205 7 is_stmt 1 view .LVU1170 5205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3510 .loc 1 5205 75 is_stmt 0 view .LVU1171 3511 017c 2168 ldr r1, [r4] 5205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3512 .loc 1 5205 11 view .LVU1172 3513 017e 059B ldr r3, [sp, #20] 3514 0180 01F57871 add r1, r1, #992 3515 0184 A06B ldr r0, [r4, #56] 3516 0186 FFF7FEFF bl HAL_DMA_Start_IT 3517 .LVL286: 5205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** DataLength) != HAL_OK) 3518 .loc 1 5205 10 discriminator 1 view .LVU1173 3519 018a 0028 cmp r0, #0 3520 018c 3FF467AF beq .L169 5209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3521 .loc 1 5209 16 view .LVU1174 3522 0190 0120 movs r0, #1 3523 0192 6EE7 b .L158 3524 .L180: 5101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3525 .loc 1 5101 16 view .LVU1175 3526 0194 0120 movs r0, #1 3527 0196 6CE7 b .L158 3528 .L184: 3529 .align 2 3530 .L183: 3531 0198 00000000 .word TIM_DMAPeriodElapsedCplt 3532 019c 00000000 .word TIM_DMAPeriodElapsedHalfCplt 3533 01a0 00000000 .word TIM_DMAError 3534 01a4 00000000 .word TIM_DMACaptureCplt 3535 01a8 00000000 .word TIM_DMACaptureHalfCplt ARM GAS /tmp/ccodHXtm.s page 215 3536 01ac 00000000 .word TIMEx_DMACommutationCplt 3537 01b0 00000000 .word TIMEx_DMACommutationHalfCplt 3538 01b4 00000000 .word TIM_DMATriggerCplt 3539 01b8 00000000 .word TIM_DMATriggerHalfCplt 3540 .cfi_endproc 3541 .LFE396: 3543 .section .text.HAL_TIM_DMABurst_ReadStart,"ax",%progbits 3544 .align 1 3545 .global HAL_TIM_DMABurst_ReadStart 3546 .syntax unified 3547 .thumb 3548 .thumb_func 3550 HAL_TIM_DMABurst_ReadStart: 3551 .LVL287: 3552 .LFB395: 4995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status; 3553 .loc 1 4995 1 is_stmt 1 view -0 3554 .cfi_startproc 3555 @ args = 4, pretend = 0, frame = 0 3556 @ frame_needed = 0, uses_anonymous_args = 0 4995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status; 3557 .loc 1 4995 1 is_stmt 0 view .LVU1177 3558 0000 30B5 push {r4, r5, lr} 3559 .LCFI34: 3560 .cfi_def_cfa_offset 12 3561 .cfi_offset 4, -12 3562 .cfi_offset 5, -8 3563 .cfi_offset 14, -4 3564 0002 83B0 sub sp, sp, #12 3565 .LCFI35: 3566 .cfi_def_cfa_offset 24 3567 0004 069D ldr r5, [sp, #24] 4996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3568 .loc 1 4996 3 is_stmt 1 view .LVU1178 4998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ((BurstLength) >> 8U) + 1U); 3569 .loc 1 4998 3 view .LVU1179 4999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3570 .loc 1 4999 59 is_stmt 0 view .LVU1180 3571 0006 2C0A lsrs r4, r5, #8 4998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ((BurstLength) >> 8U) + 1U); 3572 .loc 1 4998 12 view .LVU1181 3573 0008 0134 adds r4, r4, #1 3574 000a 0194 str r4, [sp, #4] 3575 000c 0095 str r5, [sp] 3576 000e FFF7FEFF bl HAL_TIM_DMABurst_MultiReadStart 3577 .LVL288: 5002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3578 .loc 1 5002 3 is_stmt 1 view .LVU1182 5003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3579 .loc 1 5003 1 is_stmt 0 view .LVU1183 3580 0012 03B0 add sp, sp, #12 3581 .LCFI36: 3582 .cfi_def_cfa_offset 12 3583 @ sp needed 3584 0014 30BD pop {r4, r5, pc} 5003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3585 .loc 1 5003 1 view .LVU1184 ARM GAS /tmp/ccodHXtm.s page 216 3586 .cfi_endproc 3587 .LFE395: 3589 .section .text.HAL_TIM_DMABurst_ReadStop,"ax",%progbits 3590 .align 1 3591 .global HAL_TIM_DMABurst_ReadStop 3592 .syntax unified 3593 .thumb 3594 .thumb_func 3596 HAL_TIM_DMABurst_ReadStop: 3597 .LVL289: 3598 .LFB397: 5238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 3599 .loc 1 5238 1 is_stmt 1 view -0 3600 .cfi_startproc 3601 @ args = 0, pretend = 0, frame = 0 3602 @ frame_needed = 0, uses_anonymous_args = 0 5238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 3603 .loc 1 5238 1 is_stmt 0 view .LVU1186 3604 0000 38B5 push {r3, r4, r5, lr} 3605 .LCFI37: 3606 .cfi_def_cfa_offset 16 3607 .cfi_offset 3, -16 3608 .cfi_offset 4, -12 3609 .cfi_offset 5, -8 3610 .cfi_offset 14, -4 3611 0002 0546 mov r5, r0 3612 0004 0C46 mov r4, r1 5239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3613 .loc 1 5239 3 is_stmt 1 view .LVU1187 3614 .LVL290: 5242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3615 .loc 1 5242 3 view .LVU1188 5245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3616 .loc 1 5245 3 view .LVU1189 3617 0006 B1F5006F cmp r1, #2048 3618 000a 2FD0 beq .L188 3619 000c 17D8 bhi .L189 3620 000e B1F5007F cmp r1, #512 3621 0012 23D0 beq .L190 3622 0014 B1F5806F cmp r1, #1024 3623 0018 24D0 beq .L191 3624 001a B1F5807F cmp r1, #256 3625 001e 0CD1 bne .L199 5249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3626 .loc 1 5249 7 view .LVU1190 5249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3627 .loc 1 5249 13 is_stmt 0 view .LVU1191 3628 0020 006A ldr r0, [r0, #32] 3629 .LVL291: 5249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3630 .loc 1 5249 13 view .LVU1192 3631 0022 FFF7FEFF bl HAL_DMA_Abort_IT 3632 .LVL292: 5250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3633 .loc 1 5250 7 is_stmt 1 view .LVU1193 5287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3634 .loc 1 5287 3 view .LVU1194 ARM GAS /tmp/ccodHXtm.s page 217 3635 .L197: 5290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3636 .loc 1 5290 5 view .LVU1195 3637 0026 2A68 ldr r2, [r5] 3638 0028 D368 ldr r3, [r2, #12] 3639 002a 23EA0403 bic r3, r3, r4 3640 002e D360 str r3, [r2, #12] 5293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3641 .loc 1 5293 5 view .LVU1196 5293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3642 .loc 1 5293 25 is_stmt 0 view .LVU1197 3643 0030 0123 movs r3, #1 3644 0032 85F84830 strb r3, [r5, #72] 3645 0036 0020 movs r0, #0 3646 .L193: 3647 .LVL293: 5297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3648 .loc 1 5297 3 is_stmt 1 view .LVU1198 5298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3649 .loc 1 5298 1 is_stmt 0 view .LVU1199 3650 0038 38BD pop {r3, r4, r5, pc} 3651 .LVL294: 3652 .L199: 5245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3653 .loc 1 5245 3 view .LVU1200 3654 003a 0120 movs r0, #1 3655 .LVL295: 5245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3656 .loc 1 5245 3 view .LVU1201 3657 003c FCE7 b .L193 3658 .LVL296: 3659 .L189: 5245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3660 .loc 1 5245 3 view .LVU1202 3661 003e B1F5005F cmp r1, #8192 3662 0042 17D0 beq .L194 3663 0044 B1F5804F cmp r1, #16384 3664 0048 18D0 beq .L195 3665 004a B1F5805F cmp r1, #4096 3666 004e 03D1 bne .L200 5269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3667 .loc 1 5269 7 is_stmt 1 view .LVU1203 5269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3668 .loc 1 5269 13 is_stmt 0 view .LVU1204 3669 0050 006B ldr r0, [r0, #48] 3670 .LVL297: 5269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3671 .loc 1 5269 13 view .LVU1205 3672 0052 FFF7FEFF bl HAL_DMA_Abort_IT 3673 .LVL298: 5270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3674 .loc 1 5270 7 is_stmt 1 view .LVU1206 5287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3675 .loc 1 5287 3 view .LVU1207 3676 0056 E6E7 b .L197 3677 .LVL299: 3678 .L200: ARM GAS /tmp/ccodHXtm.s page 218 5245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3679 .loc 1 5245 3 is_stmt 0 view .LVU1208 3680 0058 0120 movs r0, #1 3681 .LVL300: 5245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3682 .loc 1 5245 3 view .LVU1209 3683 005a EDE7 b .L193 3684 .LVL301: 3685 .L190: 5254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3686 .loc 1 5254 7 is_stmt 1 view .LVU1210 5254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3687 .loc 1 5254 13 is_stmt 0 view .LVU1211 3688 005c 406A ldr r0, [r0, #36] 3689 .LVL302: 5254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3690 .loc 1 5254 13 view .LVU1212 3691 005e FFF7FEFF bl HAL_DMA_Abort_IT 3692 .LVL303: 5255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3693 .loc 1 5255 7 is_stmt 1 view .LVU1213 5287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3694 .loc 1 5287 3 view .LVU1214 3695 0062 E0E7 b .L197 3696 .LVL304: 3697 .L191: 5259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3698 .loc 1 5259 7 view .LVU1215 5259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3699 .loc 1 5259 13 is_stmt 0 view .LVU1216 3700 0064 806A ldr r0, [r0, #40] 3701 .LVL305: 5259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3702 .loc 1 5259 13 view .LVU1217 3703 0066 FFF7FEFF bl HAL_DMA_Abort_IT 3704 .LVL306: 5260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3705 .loc 1 5260 7 is_stmt 1 view .LVU1218 5287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3706 .loc 1 5287 3 view .LVU1219 3707 006a DCE7 b .L197 3708 .LVL307: 3709 .L188: 5264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3710 .loc 1 5264 7 view .LVU1220 5264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3711 .loc 1 5264 13 is_stmt 0 view .LVU1221 3712 006c C06A ldr r0, [r0, #44] 3713 .LVL308: 5264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3714 .loc 1 5264 13 view .LVU1222 3715 006e FFF7FEFF bl HAL_DMA_Abort_IT 3716 .LVL309: 5265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3717 .loc 1 5265 7 is_stmt 1 view .LVU1223 5287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3718 .loc 1 5287 3 view .LVU1224 ARM GAS /tmp/ccodHXtm.s page 219 3719 0072 D8E7 b .L197 3720 .LVL310: 3721 .L194: 5274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3722 .loc 1 5274 7 view .LVU1225 5274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3723 .loc 1 5274 13 is_stmt 0 view .LVU1226 3724 0074 406B ldr r0, [r0, #52] 3725 .LVL311: 5274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3726 .loc 1 5274 13 view .LVU1227 3727 0076 FFF7FEFF bl HAL_DMA_Abort_IT 3728 .LVL312: 5275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3729 .loc 1 5275 7 is_stmt 1 view .LVU1228 5287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3730 .loc 1 5287 3 view .LVU1229 3731 007a D4E7 b .L197 3732 .LVL313: 3733 .L195: 5279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3734 .loc 1 5279 7 view .LVU1230 5279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3735 .loc 1 5279 13 is_stmt 0 view .LVU1231 3736 007c 806B ldr r0, [r0, #56] 3737 .LVL314: 5279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 3738 .loc 1 5279 13 view .LVU1232 3739 007e FFF7FEFF bl HAL_DMA_Abort_IT 3740 .LVL315: 5280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3741 .loc 1 5280 7 is_stmt 1 view .LVU1233 5287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3742 .loc 1 5287 3 view .LVU1234 3743 0082 D0E7 b .L197 3744 .cfi_endproc 3745 .LFE397: 3747 .section .text.HAL_TIM_GenerateEvent,"ax",%progbits 3748 .align 1 3749 .global HAL_TIM_GenerateEvent 3750 .syntax unified 3751 .thumb 3752 .thumb_func 3754 HAL_TIM_GenerateEvent: 3755 .LVL316: 3756 .LFB398: 5322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 3757 .loc 1 5322 1 view -0 3758 .cfi_startproc 3759 @ args = 0, pretend = 0, frame = 0 3760 @ frame_needed = 0, uses_anonymous_args = 0 3761 @ link register save eliminated. 5324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_EVENT_SOURCE(EventSource)); 3762 .loc 1 5324 3 view .LVU1236 5325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3763 .loc 1 5325 3 view .LVU1237 5328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 220 3764 .loc 1 5328 3 view .LVU1238 5328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3765 .loc 1 5328 3 view .LVU1239 3766 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 3767 0004 012B cmp r3, #1 3768 0006 0ED0 beq .L203 5328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3769 .loc 1 5328 3 discriminator 2 view .LVU1240 3770 0008 0123 movs r3, #1 3771 000a 80F83C30 strb r3, [r0, #60] 5328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3772 .loc 1 5328 3 discriminator 2 view .LVU1241 5331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3773 .loc 1 5331 3 view .LVU1242 5331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3774 .loc 1 5331 15 is_stmt 0 view .LVU1243 3775 000e 0222 movs r2, #2 3776 0010 80F83D20 strb r2, [r0, #61] 5334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3777 .loc 1 5334 3 is_stmt 1 view .LVU1244 5334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3778 .loc 1 5334 7 is_stmt 0 view .LVU1245 3779 0014 0268 ldr r2, [r0] 5334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3780 .loc 1 5334 23 view .LVU1246 3781 0016 5161 str r1, [r2, #20] 5337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3782 .loc 1 5337 3 is_stmt 1 view .LVU1247 5337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3783 .loc 1 5337 15 is_stmt 0 view .LVU1248 3784 0018 80F83D30 strb r3, [r0, #61] 5339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3785 .loc 1 5339 3 is_stmt 1 view .LVU1249 5339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3786 .loc 1 5339 3 view .LVU1250 3787 001c 0023 movs r3, #0 3788 001e 80F83C30 strb r3, [r0, #60] 5339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3789 .loc 1 5339 3 view .LVU1251 5342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3790 .loc 1 5342 3 view .LVU1252 5342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3791 .loc 1 5342 10 is_stmt 0 view .LVU1253 3792 0022 1846 mov r0, r3 3793 .LVL317: 5342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3794 .loc 1 5342 10 view .LVU1254 3795 0024 7047 bx lr 3796 .LVL318: 3797 .L203: 5328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3798 .loc 1 5328 3 discriminator 1 view .LVU1255 3799 0026 0220 movs r0, #2 3800 .LVL319: 5343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3801 .loc 1 5343 1 view .LVU1256 3802 0028 7047 bx lr ARM GAS /tmp/ccodHXtm.s page 221 3803 .cfi_endproc 3804 .LFE398: 3806 .section .text.HAL_TIM_ConfigTI1Input,"ax",%progbits 3807 .align 1 3808 .global HAL_TIM_ConfigTI1Input 3809 .syntax unified 3810 .thumb 3811 .thumb_func 3813 HAL_TIM_ConfigTI1Input: 3814 .LVL320: 3815 .LFB401: 5731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpcr2; 3816 .loc 1 5731 1 is_stmt 1 view -0 3817 .cfi_startproc 3818 @ args = 0, pretend = 0, frame = 0 3819 @ frame_needed = 0, uses_anonymous_args = 0 3820 @ link register save eliminated. 5732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3821 .loc 1 5732 3 view .LVU1258 5735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TI1SELECTION(TI1_Selection)); 3822 .loc 1 5735 3 view .LVU1259 5736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3823 .loc 1 5736 3 view .LVU1260 5739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3824 .loc 1 5739 3 view .LVU1261 5739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3825 .loc 1 5739 16 is_stmt 0 view .LVU1262 3826 0000 0268 ldr r2, [r0] 5739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3827 .loc 1 5739 10 view .LVU1263 3828 0002 5368 ldr r3, [r2, #4] 3829 .LVL321: 5742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3830 .loc 1 5742 3 is_stmt 1 view .LVU1264 5742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3831 .loc 1 5742 10 is_stmt 0 view .LVU1265 3832 0004 23F08003 bic r3, r3, #128 3833 .LVL322: 5745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3834 .loc 1 5745 3 is_stmt 1 view .LVU1266 5745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3835 .loc 1 5745 10 is_stmt 0 view .LVU1267 3836 0008 0B43 orrs r3, r3, r1 3837 .LVL323: 5748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3838 .loc 1 5748 3 is_stmt 1 view .LVU1268 5748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3839 .loc 1 5748 23 is_stmt 0 view .LVU1269 3840 000a 5360 str r3, [r2, #4] 5750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3841 .loc 1 5750 3 is_stmt 1 view .LVU1270 5751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3842 .loc 1 5751 1 is_stmt 0 view .LVU1271 3843 000c 0020 movs r0, #0 3844 .LVL324: 5751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3845 .loc 1 5751 1 view .LVU1272 ARM GAS /tmp/ccodHXtm.s page 222 3846 000e 7047 bx lr 3847 .cfi_endproc 3848 .LFE401: 3850 .section .text.HAL_TIM_ReadCapturedValue,"ax",%progbits 3851 .align 1 3852 .global HAL_TIM_ReadCapturedValue 3853 .syntax unified 3854 .thumb 3855 .thumb_func 3857 HAL_TIM_ReadCapturedValue: 3858 .LVL325: 3859 .LFB404: 5846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpreg = 0U; 3860 .loc 1 5846 1 is_stmt 1 view -0 3861 .cfi_startproc 3862 @ args = 0, pretend = 0, frame = 0 3863 @ frame_needed = 0, uses_anonymous_args = 0 3864 @ link register save eliminated. 5847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3865 .loc 1 5847 3 view .LVU1274 5849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3866 .loc 1 5849 3 view .LVU1275 3867 0000 0C29 cmp r1, #12 3868 0002 14D8 bhi .L212 3869 0004 DFE801F0 tbb [pc, r1] 3870 .L208: 3871 0008 07 .byte (.L211-.L208)/2 3872 0009 13 .byte (.L212-.L208)/2 3873 000a 13 .byte (.L212-.L208)/2 3874 000b 13 .byte (.L212-.L208)/2 3875 000c 0A .byte (.L210-.L208)/2 3876 000d 13 .byte (.L212-.L208)/2 3877 000e 13 .byte (.L212-.L208)/2 3878 000f 13 .byte (.L212-.L208)/2 3879 0010 0D .byte (.L209-.L208)/2 3880 0011 13 .byte (.L212-.L208)/2 3881 0012 13 .byte (.L212-.L208)/2 3882 0013 13 .byte (.L212-.L208)/2 3883 0014 10 .byte (.L207-.L208)/2 3884 0015 00 .p2align 1 3885 .L211: 5854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3886 .loc 1 5854 7 view .LVU1276 5857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3887 .loc 1 5857 7 view .LVU1277 5857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3888 .loc 1 5857 21 is_stmt 0 view .LVU1278 3889 0016 0368 ldr r3, [r0] 5857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3890 .loc 1 5857 14 view .LVU1279 3891 0018 586B ldr r0, [r3, #52] 3892 .LVL326: 5859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3893 .loc 1 5859 7 is_stmt 1 view .LVU1280 3894 001a 7047 bx lr 3895 .LVL327: 3896 .L210: ARM GAS /tmp/ccodHXtm.s page 223 5864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3897 .loc 1 5864 7 view .LVU1281 5867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3898 .loc 1 5867 7 view .LVU1282 5867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3899 .loc 1 5867 22 is_stmt 0 view .LVU1283 3900 001c 0368 ldr r3, [r0] 5867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3901 .loc 1 5867 14 view .LVU1284 3902 001e 986B ldr r0, [r3, #56] 3903 .LVL328: 5869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3904 .loc 1 5869 7 is_stmt 1 view .LVU1285 3905 0020 7047 bx lr 3906 .LVL329: 3907 .L209: 5875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3908 .loc 1 5875 7 view .LVU1286 5878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3909 .loc 1 5878 7 view .LVU1287 5878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3910 .loc 1 5878 22 is_stmt 0 view .LVU1288 3911 0022 0368 ldr r3, [r0] 5878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3912 .loc 1 5878 14 view .LVU1289 3913 0024 D86B ldr r0, [r3, #60] 3914 .LVL330: 5880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3915 .loc 1 5880 7 is_stmt 1 view .LVU1290 3916 0026 7047 bx lr 3917 .LVL331: 3918 .L207: 5886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3919 .loc 1 5886 7 view .LVU1291 5889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3920 .loc 1 5889 7 view .LVU1292 5889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3921 .loc 1 5889 22 is_stmt 0 view .LVU1293 3922 0028 0368 ldr r3, [r0] 5889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3923 .loc 1 5889 14 view .LVU1294 3924 002a 186C ldr r0, [r3, #64] 3925 .LVL332: 5891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3926 .loc 1 5891 7 is_stmt 1 view .LVU1295 3927 002c 7047 bx lr 3928 .LVL333: 3929 .L212: 5849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3930 .loc 1 5849 3 is_stmt 0 view .LVU1296 3931 002e 0020 movs r0, #0 3932 .LVL334: 5898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3933 .loc 1 5898 3 is_stmt 1 view .LVU1297 5899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3934 .loc 1 5899 1 is_stmt 0 view .LVU1298 3935 0030 7047 bx lr ARM GAS /tmp/ccodHXtm.s page 224 3936 .cfi_endproc 3937 .LFE404: 3939 .section .text.HAL_TIM_PeriodElapsedCallback,"ax",%progbits 3940 .align 1 3941 .weak HAL_TIM_PeriodElapsedCallback 3942 .syntax unified 3943 .thumb 3944 .thumb_func 3946 HAL_TIM_PeriodElapsedCallback: 3947 .LVL335: 3948 .LFB405: 5934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 3949 .loc 1 5934 1 is_stmt 1 view -0 3950 .cfi_startproc 3951 @ args = 0, pretend = 0, frame = 0 3952 @ frame_needed = 0, uses_anonymous_args = 0 3953 @ link register save eliminated. 5936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3954 .loc 1 5936 3 view .LVU1300 5941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3955 .loc 1 5941 1 is_stmt 0 view .LVU1301 3956 0000 7047 bx lr 3957 .cfi_endproc 3958 .LFE405: 3960 .section .text.TIM_DMAPeriodElapsedCplt,"ax",%progbits 3961 .align 1 3962 .syntax unified 3963 .thumb 3964 .thumb_func 3966 TIM_DMAPeriodElapsedCplt: 3967 .LVL336: 3968 .LFB429: 7034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 3969 .loc 1 7034 1 is_stmt 1 view -0 3970 .cfi_startproc 3971 @ args = 0, pretend = 0, frame = 0 3972 @ 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; 3973 .loc 1 7034 1 is_stmt 0 view .LVU1303 3974 0000 08B5 push {r3, lr} 3975 .LCFI38: 3976 .cfi_def_cfa_offset 8 3977 .cfi_offset 3, -8 3978 .cfi_offset 14, -4 7035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3979 .loc 1 7035 3 is_stmt 1 view .LVU1304 7035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3980 .loc 1 7035 22 is_stmt 0 view .LVU1305 3981 0002 806A ldr r0, [r0, #40] 3982 .LVL337: 7037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3983 .loc 1 7037 3 is_stmt 1 view .LVU1306 7037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3984 .loc 1 7037 17 is_stmt 0 view .LVU1307 3985 0004 036A ldr r3, [r0, #32] 7037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3986 .loc 1 7037 42 view .LVU1308 ARM GAS /tmp/ccodHXtm.s page 225 3987 0006 DB69 ldr r3, [r3, #28] 7037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 3988 .loc 1 7037 6 view .LVU1309 3989 0008 13B9 cbnz r3, .L215 7039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3990 .loc 1 7039 5 is_stmt 1 view .LVU1310 7039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 3991 .loc 1 7039 17 is_stmt 0 view .LVU1311 3992 000a 0123 movs r3, #1 3993 000c 80F83D30 strb r3, [r0, #61] 3994 .L215: 7045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 3995 .loc 1 7045 3 is_stmt 1 view .LVU1312 3996 0010 FFF7FEFF bl HAL_TIM_PeriodElapsedCallback 3997 .LVL338: 7047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 3998 .loc 1 7047 1 is_stmt 0 view .LVU1313 3999 0014 08BD pop {r3, pc} 4000 .cfi_endproc 4001 .LFE429: 4003 .section .text.HAL_TIM_PeriodElapsedHalfCpltCallback,"ax",%progbits 4004 .align 1 4005 .weak HAL_TIM_PeriodElapsedHalfCpltCallback 4006 .syntax unified 4007 .thumb 4008 .thumb_func 4010 HAL_TIM_PeriodElapsedHalfCpltCallback: 4011 .LVL339: 4012 .LFB406: 5949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 4013 .loc 1 5949 1 is_stmt 1 view -0 4014 .cfi_startproc 4015 @ args = 0, pretend = 0, frame = 0 4016 @ frame_needed = 0, uses_anonymous_args = 0 4017 @ link register save eliminated. 5951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4018 .loc 1 5951 3 view .LVU1315 5956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4019 .loc 1 5956 1 is_stmt 0 view .LVU1316 4020 0000 7047 bx lr 4021 .cfi_endproc 4022 .LFE406: 4024 .section .text.TIM_DMAPeriodElapsedHalfCplt,"ax",%progbits 4025 .align 1 4026 .syntax unified 4027 .thumb 4028 .thumb_func 4030 TIM_DMAPeriodElapsedHalfCplt: 4031 .LVL340: 4032 .LFB430: 7055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 4033 .loc 1 7055 1 is_stmt 1 view -0 4034 .cfi_startproc 4035 @ args = 0, pretend = 0, frame = 0 4036 @ 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; 4037 .loc 1 7055 1 is_stmt 0 view .LVU1318 ARM GAS /tmp/ccodHXtm.s page 226 4038 0000 08B5 push {r3, lr} 4039 .LCFI39: 4040 .cfi_def_cfa_offset 8 4041 .cfi_offset 3, -8 4042 .cfi_offset 14, -4 7056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4043 .loc 1 7056 3 is_stmt 1 view .LVU1319 4044 .LVL341: 7061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4045 .loc 1 7061 3 view .LVU1320 4046 0002 806A ldr r0, [r0, #40] 4047 .LVL342: 7061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4048 .loc 1 7061 3 is_stmt 0 view .LVU1321 4049 0004 FFF7FEFF bl HAL_TIM_PeriodElapsedHalfCpltCallback 4050 .LVL343: 7063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4051 .loc 1 7063 1 view .LVU1322 4052 0008 08BD pop {r3, pc} 4053 .cfi_endproc 4054 .LFE430: 4056 .section .text.HAL_TIM_OC_DelayElapsedCallback,"ax",%progbits 4057 .align 1 4058 .weak HAL_TIM_OC_DelayElapsedCallback 4059 .syntax unified 4060 .thumb 4061 .thumb_func 4063 HAL_TIM_OC_DelayElapsedCallback: 4064 .LVL344: 4065 .LFB407: 5964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 4066 .loc 1 5964 1 is_stmt 1 view -0 4067 .cfi_startproc 4068 @ args = 0, pretend = 0, frame = 0 4069 @ frame_needed = 0, uses_anonymous_args = 0 4070 @ link register save eliminated. 5966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4071 .loc 1 5966 3 view .LVU1324 5971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4072 .loc 1 5971 1 is_stmt 0 view .LVU1325 4073 0000 7047 bx lr 4074 .cfi_endproc 4075 .LFE407: 4077 .section .text.HAL_TIM_IC_CaptureCallback,"ax",%progbits 4078 .align 1 4079 .weak HAL_TIM_IC_CaptureCallback 4080 .syntax unified 4081 .thumb 4082 .thumb_func 4084 HAL_TIM_IC_CaptureCallback: 4085 .LVL345: 4086 .LFB408: 5979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 4087 .loc 1 5979 1 is_stmt 1 view -0 4088 .cfi_startproc 4089 @ args = 0, pretend = 0, frame = 0 4090 @ frame_needed = 0, uses_anonymous_args = 0 ARM GAS /tmp/ccodHXtm.s page 227 4091 @ link register save eliminated. 5981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4092 .loc 1 5981 3 view .LVU1327 5986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4093 .loc 1 5986 1 is_stmt 0 view .LVU1328 4094 0000 7047 bx lr 4095 .cfi_endproc 4096 .LFE408: 4098 .section .text.TIM_DMACaptureCplt,"ax",%progbits 4099 .align 1 4100 .global TIM_DMACaptureCplt 4101 .syntax unified 4102 .thumb 4103 .thumb_func 4105 TIM_DMACaptureCplt: 4106 .LVL346: 4107 .LFB427: 6932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 4108 .loc 1 6932 1 is_stmt 1 view -0 4109 .cfi_startproc 4110 @ args = 0, pretend = 0, frame = 0 4111 @ 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; 4112 .loc 1 6932 1 is_stmt 0 view .LVU1330 4113 0000 10B5 push {r4, lr} 4114 .LCFI40: 4115 .cfi_def_cfa_offset 8 4116 .cfi_offset 4, -8 4117 .cfi_offset 14, -4 6933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4118 .loc 1 6933 3 is_stmt 1 view .LVU1331 6933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4119 .loc 1 6933 22 is_stmt 0 view .LVU1332 4120 0002 846A ldr r4, [r0, #40] 4121 .LVL347: 6935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4122 .loc 1 6935 3 is_stmt 1 view .LVU1333 6935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4123 .loc 1 6935 25 is_stmt 0 view .LVU1334 4124 0004 636A ldr r3, [r4, #36] 6935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4125 .loc 1 6935 6 view .LVU1335 4126 0006 8342 cmp r3, r0 4127 0008 0ED0 beq .L228 6945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4128 .loc 1 6945 8 is_stmt 1 view .LVU1336 6945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4129 .loc 1 6945 30 is_stmt 0 view .LVU1337 4130 000a A36A ldr r3, [r4, #40] 6945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4131 .loc 1 6945 11 view .LVU1338 4132 000c 8342 cmp r3, r0 4133 000e 16D0 beq .L229 6955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4134 .loc 1 6955 8 is_stmt 1 view .LVU1339 6955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4135 .loc 1 6955 30 is_stmt 0 view .LVU1340 ARM GAS /tmp/ccodHXtm.s page 228 4136 0010 E36A ldr r3, [r4, #44] 6955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4137 .loc 1 6955 11 view .LVU1341 4138 0012 8342 cmp r3, r0 4139 0014 1ED0 beq .L230 6965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4140 .loc 1 6965 8 is_stmt 1 view .LVU1342 6965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4141 .loc 1 6965 30 is_stmt 0 view .LVU1343 4142 0016 236B ldr r3, [r4, #48] 6965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4143 .loc 1 6965 11 view .LVU1344 4144 0018 8342 cmp r3, r0 4145 001a 26D0 beq .L231 4146 .L224: 6978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4147 .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 */ 4148 .loc 1 6983 3 view .LVU1346 4149 001c 2046 mov r0, r4 4150 .LVL348: 6983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4151 .loc 1 6983 3 is_stmt 0 view .LVU1347 4152 001e FFF7FEFF bl HAL_TIM_IC_CaptureCallback 4153 .LVL349: 6986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4154 .loc 1 6986 3 is_stmt 1 view .LVU1348 6986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4155 .loc 1 6986 17 is_stmt 0 view .LVU1349 4156 0022 0023 movs r3, #0 4157 0024 2377 strb r3, [r4, #28] 6987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4158 .loc 1 6987 1 view .LVU1350 4159 0026 10BD pop {r4, pc} 4160 .LVL350: 4161 .L228: 6937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4162 .loc 1 6937 5 is_stmt 1 view .LVU1351 6937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4163 .loc 1 6937 19 is_stmt 0 view .LVU1352 4164 0028 0123 movs r3, #1 4165 002a 2377 strb r3, [r4, #28] 6939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4166 .loc 1 6939 5 is_stmt 1 view .LVU1353 6939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4167 .loc 1 6939 19 is_stmt 0 view .LVU1354 4168 002c C369 ldr r3, [r0, #28] 6939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4169 .loc 1 6939 8 view .LVU1355 4170 002e 002B cmp r3, #0 4171 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); 4172 .loc 1 6941 7 is_stmt 1 view .LVU1356 4173 0032 0123 movs r3, #1 4174 0034 84F83E30 strb r3, [r4, #62] 6942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4175 .loc 1 6942 7 view .LVU1357 ARM GAS /tmp/ccodHXtm.s page 229 4176 0038 84F84430 strb r3, [r4, #68] 4177 003c EEE7 b .L224 4178 .L229: 6947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4179 .loc 1 6947 5 view .LVU1358 6947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4180 .loc 1 6947 19 is_stmt 0 view .LVU1359 4181 003e 0223 movs r3, #2 4182 0040 2377 strb r3, [r4, #28] 6949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4183 .loc 1 6949 5 is_stmt 1 view .LVU1360 6949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4184 .loc 1 6949 19 is_stmt 0 view .LVU1361 4185 0042 C369 ldr r3, [r0, #28] 6949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4186 .loc 1 6949 8 view .LVU1362 4187 0044 002B cmp r3, #0 4188 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); 4189 .loc 1 6951 7 is_stmt 1 view .LVU1363 4190 0048 0123 movs r3, #1 4191 004a 84F83F30 strb r3, [r4, #63] 6952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4192 .loc 1 6952 7 view .LVU1364 4193 004e 84F84530 strb r3, [r4, #69] 4194 0052 E3E7 b .L224 4195 .L230: 6957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4196 .loc 1 6957 5 view .LVU1365 6957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4197 .loc 1 6957 19 is_stmt 0 view .LVU1366 4198 0054 0423 movs r3, #4 4199 0056 2377 strb r3, [r4, #28] 6959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4200 .loc 1 6959 5 is_stmt 1 view .LVU1367 6959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4201 .loc 1 6959 19 is_stmt 0 view .LVU1368 4202 0058 C369 ldr r3, [r0, #28] 6959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4203 .loc 1 6959 8 view .LVU1369 4204 005a 002B cmp r3, #0 4205 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); 4206 .loc 1 6961 7 is_stmt 1 view .LVU1370 4207 005e 0123 movs r3, #1 4208 0060 84F84030 strb r3, [r4, #64] 6962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4209 .loc 1 6962 7 view .LVU1371 4210 0064 84F84630 strb r3, [r4, #70] 4211 0068 D8E7 b .L224 4212 .L231: 6967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4213 .loc 1 6967 5 view .LVU1372 6967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4214 .loc 1 6967 19 is_stmt 0 view .LVU1373 4215 006a 0823 movs r3, #8 4216 006c 2377 strb r3, [r4, #28] ARM GAS /tmp/ccodHXtm.s page 230 6969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4217 .loc 1 6969 5 is_stmt 1 view .LVU1374 6969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4218 .loc 1 6969 19 is_stmt 0 view .LVU1375 4219 006e C369 ldr r3, [r0, #28] 6969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4220 .loc 1 6969 8 view .LVU1376 4221 0070 002B cmp r3, #0 4222 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); 4223 .loc 1 6971 7 is_stmt 1 view .LVU1377 4224 0074 0123 movs r3, #1 4225 0076 84F84130 strb r3, [r4, #65] 6972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4226 .loc 1 6972 7 view .LVU1378 4227 007a 84F84730 strb r3, [r4, #71] 4228 007e CDE7 b .L224 4229 .cfi_endproc 4230 .LFE427: 4232 .section .text.HAL_TIM_IC_CaptureHalfCpltCallback,"ax",%progbits 4233 .align 1 4234 .weak HAL_TIM_IC_CaptureHalfCpltCallback 4235 .syntax unified 4236 .thumb 4237 .thumb_func 4239 HAL_TIM_IC_CaptureHalfCpltCallback: 4240 .LVL351: 4241 .LFB409: 5994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 4242 .loc 1 5994 1 view -0 4243 .cfi_startproc 4244 @ args = 0, pretend = 0, frame = 0 4245 @ frame_needed = 0, uses_anonymous_args = 0 4246 @ link register save eliminated. 5996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4247 .loc 1 5996 3 view .LVU1380 6001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4248 .loc 1 6001 1 is_stmt 0 view .LVU1381 4249 0000 7047 bx lr 4250 .cfi_endproc 4251 .LFE409: 4253 .section .text.TIM_DMACaptureHalfCplt,"ax",%progbits 4254 .align 1 4255 .global TIM_DMACaptureHalfCplt 4256 .syntax unified 4257 .thumb 4258 .thumb_func 4260 TIM_DMACaptureHalfCplt: 4261 .LVL352: 4262 .LFB428: 6995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 4263 .loc 1 6995 1 is_stmt 1 view -0 4264 .cfi_startproc 4265 @ args = 0, pretend = 0, frame = 0 4266 @ 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; 4267 .loc 1 6995 1 is_stmt 0 view .LVU1383 ARM GAS /tmp/ccodHXtm.s page 231 4268 0000 10B5 push {r4, lr} 4269 .LCFI41: 4270 .cfi_def_cfa_offset 8 4271 .cfi_offset 4, -8 4272 .cfi_offset 14, -4 6996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4273 .loc 1 6996 3 is_stmt 1 view .LVU1384 6996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4274 .loc 1 6996 22 is_stmt 0 view .LVU1385 4275 0002 846A ldr r4, [r0, #40] 4276 .LVL353: 6998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4277 .loc 1 6998 3 is_stmt 1 view .LVU1386 6998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4278 .loc 1 6998 25 is_stmt 0 view .LVU1387 4279 0004 636A ldr r3, [r4, #36] 6998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4280 .loc 1 6998 6 view .LVU1388 4281 0006 8342 cmp r3, r0 4282 0008 0BD0 beq .L239 7002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4283 .loc 1 7002 8 is_stmt 1 view .LVU1389 7002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4284 .loc 1 7002 30 is_stmt 0 view .LVU1390 4285 000a A36A ldr r3, [r4, #40] 7002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4286 .loc 1 7002 11 view .LVU1391 4287 000c 8342 cmp r3, r0 4288 000e 10D0 beq .L240 7006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4289 .loc 1 7006 8 is_stmt 1 view .LVU1392 7006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4290 .loc 1 7006 30 is_stmt 0 view .LVU1393 4291 0010 E36A ldr r3, [r4, #44] 7006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4292 .loc 1 7006 11 view .LVU1394 4293 0012 8342 cmp r3, r0 4294 0014 10D0 beq .L241 7010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4295 .loc 1 7010 8 is_stmt 1 view .LVU1395 7010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4296 .loc 1 7010 30 is_stmt 0 view .LVU1396 4297 0016 236B ldr r3, [r4, #48] 7010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4298 .loc 1 7010 11 view .LVU1397 4299 0018 8342 cmp r3, r0 4300 001a 04D1 bne .L235 7012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4301 .loc 1 7012 5 is_stmt 1 view .LVU1398 7012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4302 .loc 1 7012 19 is_stmt 0 view .LVU1399 4303 001c 0823 movs r3, #8 4304 001e 2377 strb r3, [r4, #28] 4305 0020 01E0 b .L235 4306 .L239: 7000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4307 .loc 1 7000 5 is_stmt 1 view .LVU1400 ARM GAS /tmp/ccodHXtm.s page 232 7000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4308 .loc 1 7000 19 is_stmt 0 view .LVU1401 4309 0022 0123 movs r3, #1 4310 0024 2377 strb r3, [r4, #28] 4311 .L235: 7017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4312 .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 */ 4313 .loc 1 7022 3 view .LVU1403 4314 0026 2046 mov r0, r4 4315 .LVL354: 7022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4316 .loc 1 7022 3 is_stmt 0 view .LVU1404 4317 0028 FFF7FEFF bl HAL_TIM_IC_CaptureHalfCpltCallback 4318 .LVL355: 7025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4319 .loc 1 7025 3 is_stmt 1 view .LVU1405 7025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4320 .loc 1 7025 17 is_stmt 0 view .LVU1406 4321 002c 0023 movs r3, #0 4322 002e 2377 strb r3, [r4, #28] 7026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4323 .loc 1 7026 1 view .LVU1407 4324 0030 10BD pop {r4, pc} 4325 .LVL356: 4326 .L240: 7004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4327 .loc 1 7004 5 is_stmt 1 view .LVU1408 7004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4328 .loc 1 7004 19 is_stmt 0 view .LVU1409 4329 0032 0223 movs r3, #2 4330 0034 2377 strb r3, [r4, #28] 4331 0036 F6E7 b .L235 4332 .L241: 7008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4333 .loc 1 7008 5 is_stmt 1 view .LVU1410 7008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4334 .loc 1 7008 19 is_stmt 0 view .LVU1411 4335 0038 0423 movs r3, #4 4336 003a 2377 strb r3, [r4, #28] 4337 003c F3E7 b .L235 4338 .cfi_endproc 4339 .LFE428: 4341 .section .text.HAL_TIM_PWM_PulseFinishedCallback,"ax",%progbits 4342 .align 1 4343 .weak HAL_TIM_PWM_PulseFinishedCallback 4344 .syntax unified 4345 .thumb 4346 .thumb_func 4348 HAL_TIM_PWM_PulseFinishedCallback: 4349 .LVL357: 4350 .LFB410: 6009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 4351 .loc 1 6009 1 is_stmt 1 view -0 4352 .cfi_startproc 4353 @ args = 0, pretend = 0, frame = 0 4354 @ frame_needed = 0, uses_anonymous_args = 0 ARM GAS /tmp/ccodHXtm.s page 233 4355 @ link register save eliminated. 6011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4356 .loc 1 6011 3 view .LVU1413 6016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4357 .loc 1 6016 1 is_stmt 0 view .LVU1414 4358 0000 7047 bx lr 4359 .cfi_endproc 4360 .LFE410: 4362 .section .text.TIM_DMADelayPulseCplt,"ax",%progbits 4363 .align 1 4364 .syntax unified 4365 .thumb 4366 .thumb_func 4368 TIM_DMADelayPulseCplt: 4369 .LVL358: 4370 .LFB425: 6834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 4371 .loc 1 6834 1 is_stmt 1 view -0 4372 .cfi_startproc 4373 @ args = 0, pretend = 0, frame = 0 4374 @ 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; 4375 .loc 1 6834 1 is_stmt 0 view .LVU1416 4376 0000 10B5 push {r4, lr} 4377 .LCFI42: 4378 .cfi_def_cfa_offset 8 4379 .cfi_offset 4, -8 4380 .cfi_offset 14, -4 6835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4381 .loc 1 6835 3 is_stmt 1 view .LVU1417 6835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4382 .loc 1 6835 22 is_stmt 0 view .LVU1418 4383 0002 846A ldr r4, [r0, #40] 4384 .LVL359: 6837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4385 .loc 1 6837 3 is_stmt 1 view .LVU1419 6837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4386 .loc 1 6837 25 is_stmt 0 view .LVU1420 4387 0004 636A ldr r3, [r4, #36] 6837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4388 .loc 1 6837 6 view .LVU1421 4389 0006 8342 cmp r3, r0 4390 0008 0ED0 beq .L249 6846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4391 .loc 1 6846 8 is_stmt 1 view .LVU1422 6846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4392 .loc 1 6846 30 is_stmt 0 view .LVU1423 4393 000a A36A ldr r3, [r4, #40] 6846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4394 .loc 1 6846 11 view .LVU1424 4395 000c 8342 cmp r3, r0 4396 000e 14D0 beq .L250 6855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4397 .loc 1 6855 8 is_stmt 1 view .LVU1425 6855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4398 .loc 1 6855 30 is_stmt 0 view .LVU1426 4399 0010 E36A ldr r3, [r4, #44] ARM GAS /tmp/ccodHXtm.s page 234 6855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4400 .loc 1 6855 11 view .LVU1427 4401 0012 8342 cmp r3, r0 4402 0014 1AD0 beq .L251 6864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4403 .loc 1 6864 8 is_stmt 1 view .LVU1428 6864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4404 .loc 1 6864 30 is_stmt 0 view .LVU1429 4405 0016 236B ldr r3, [r4, #48] 6864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4406 .loc 1 6864 11 view .LVU1430 4407 0018 8342 cmp r3, r0 4408 001a 20D0 beq .L252 4409 .L245: 6876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4410 .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 */ 4411 .loc 1 6881 3 view .LVU1432 4412 001c 2046 mov r0, r4 4413 .LVL360: 6881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4414 .loc 1 6881 3 is_stmt 0 view .LVU1433 4415 001e FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback 4416 .LVL361: 6884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4417 .loc 1 6884 3 is_stmt 1 view .LVU1434 6884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4418 .loc 1 6884 17 is_stmt 0 view .LVU1435 4419 0022 0023 movs r3, #0 4420 0024 2377 strb r3, [r4, #28] 6885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4421 .loc 1 6885 1 view .LVU1436 4422 0026 10BD pop {r4, pc} 4423 .LVL362: 4424 .L249: 6839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4425 .loc 1 6839 5 is_stmt 1 view .LVU1437 6839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4426 .loc 1 6839 19 is_stmt 0 view .LVU1438 4427 0028 0123 movs r3, #1 4428 002a 2377 strb r3, [r4, #28] 6841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4429 .loc 1 6841 5 is_stmt 1 view .LVU1439 6841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4430 .loc 1 6841 19 is_stmt 0 view .LVU1440 4431 002c C369 ldr r3, [r0, #28] 6841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4432 .loc 1 6841 8 view .LVU1441 4433 002e 002B cmp r3, #0 4434 0030 F4D1 bne .L245 6843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4435 .loc 1 6843 7 is_stmt 1 view .LVU1442 4436 0032 0123 movs r3, #1 4437 0034 84F83E30 strb r3, [r4, #62] 4438 0038 F0E7 b .L245 4439 .L250: 6848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 235 4440 .loc 1 6848 5 view .LVU1443 6848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4441 .loc 1 6848 19 is_stmt 0 view .LVU1444 4442 003a 0223 movs r3, #2 4443 003c 2377 strb r3, [r4, #28] 6850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4444 .loc 1 6850 5 is_stmt 1 view .LVU1445 6850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4445 .loc 1 6850 19 is_stmt 0 view .LVU1446 4446 003e C369 ldr r3, [r0, #28] 6850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4447 .loc 1 6850 8 view .LVU1447 4448 0040 002B cmp r3, #0 4449 0042 EBD1 bne .L245 6852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4450 .loc 1 6852 7 is_stmt 1 view .LVU1448 4451 0044 0123 movs r3, #1 4452 0046 84F83F30 strb r3, [r4, #63] 4453 004a E7E7 b .L245 4454 .L251: 6857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4455 .loc 1 6857 5 view .LVU1449 6857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4456 .loc 1 6857 19 is_stmt 0 view .LVU1450 4457 004c 0423 movs r3, #4 4458 004e 2377 strb r3, [r4, #28] 6859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4459 .loc 1 6859 5 is_stmt 1 view .LVU1451 6859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4460 .loc 1 6859 19 is_stmt 0 view .LVU1452 4461 0050 C369 ldr r3, [r0, #28] 6859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4462 .loc 1 6859 8 view .LVU1453 4463 0052 002B cmp r3, #0 4464 0054 E2D1 bne .L245 6861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4465 .loc 1 6861 7 is_stmt 1 view .LVU1454 4466 0056 0123 movs r3, #1 4467 0058 84F84030 strb r3, [r4, #64] 4468 005c DEE7 b .L245 4469 .L252: 6866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4470 .loc 1 6866 5 view .LVU1455 6866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4471 .loc 1 6866 19 is_stmt 0 view .LVU1456 4472 005e 0823 movs r3, #8 4473 0060 2377 strb r3, [r4, #28] 6868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4474 .loc 1 6868 5 is_stmt 1 view .LVU1457 6868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4475 .loc 1 6868 19 is_stmt 0 view .LVU1458 4476 0062 C369 ldr r3, [r0, #28] 6868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4477 .loc 1 6868 8 view .LVU1459 4478 0064 002B cmp r3, #0 4479 0066 D9D1 bne .L245 6870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/ccodHXtm.s page 236 4480 .loc 1 6870 7 is_stmt 1 view .LVU1460 4481 0068 0123 movs r3, #1 4482 006a 84F84130 strb r3, [r4, #65] 4483 006e D5E7 b .L245 4484 .cfi_endproc 4485 .LFE425: 4487 .section .text.HAL_TIM_PWM_PulseFinishedHalfCpltCallback,"ax",%progbits 4488 .align 1 4489 .weak HAL_TIM_PWM_PulseFinishedHalfCpltCallback 4490 .syntax unified 4491 .thumb 4492 .thumb_func 4494 HAL_TIM_PWM_PulseFinishedHalfCpltCallback: 4495 .LVL363: 4496 .LFB411: 6024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 4497 .loc 1 6024 1 view -0 4498 .cfi_startproc 4499 @ args = 0, pretend = 0, frame = 0 4500 @ frame_needed = 0, uses_anonymous_args = 0 4501 @ link register save eliminated. 6026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4502 .loc 1 6026 3 view .LVU1462 6031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4503 .loc 1 6031 1 is_stmt 0 view .LVU1463 4504 0000 7047 bx lr 4505 .cfi_endproc 4506 .LFE411: 4508 .section .text.TIM_DMADelayPulseHalfCplt,"ax",%progbits 4509 .align 1 4510 .global TIM_DMADelayPulseHalfCplt 4511 .syntax unified 4512 .thumb 4513 .thumb_func 4515 TIM_DMADelayPulseHalfCplt: 4516 .LVL364: 4517 .LFB426: 6893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 4518 .loc 1 6893 1 is_stmt 1 view -0 4519 .cfi_startproc 4520 @ args = 0, pretend = 0, frame = 0 4521 @ 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; 4522 .loc 1 6893 1 is_stmt 0 view .LVU1465 4523 0000 10B5 push {r4, lr} 4524 .LCFI43: 4525 .cfi_def_cfa_offset 8 4526 .cfi_offset 4, -8 4527 .cfi_offset 14, -4 6894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4528 .loc 1 6894 3 is_stmt 1 view .LVU1466 6894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4529 .loc 1 6894 22 is_stmt 0 view .LVU1467 4530 0002 846A ldr r4, [r0, #40] 4531 .LVL365: 6896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4532 .loc 1 6896 3 is_stmt 1 view .LVU1468 ARM GAS /tmp/ccodHXtm.s page 237 6896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4533 .loc 1 6896 25 is_stmt 0 view .LVU1469 4534 0004 636A ldr r3, [r4, #36] 6896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4535 .loc 1 6896 6 view .LVU1470 4536 0006 8342 cmp r3, r0 4537 0008 0BD0 beq .L260 6900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4538 .loc 1 6900 8 is_stmt 1 view .LVU1471 6900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4539 .loc 1 6900 30 is_stmt 0 view .LVU1472 4540 000a A36A ldr r3, [r4, #40] 6900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4541 .loc 1 6900 11 view .LVU1473 4542 000c 8342 cmp r3, r0 4543 000e 10D0 beq .L261 6904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4544 .loc 1 6904 8 is_stmt 1 view .LVU1474 6904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4545 .loc 1 6904 30 is_stmt 0 view .LVU1475 4546 0010 E36A ldr r3, [r4, #44] 6904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4547 .loc 1 6904 11 view .LVU1476 4548 0012 8342 cmp r3, r0 4549 0014 10D0 beq .L262 6908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4550 .loc 1 6908 8 is_stmt 1 view .LVU1477 6908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4551 .loc 1 6908 30 is_stmt 0 view .LVU1478 4552 0016 236B ldr r3, [r4, #48] 6908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4553 .loc 1 6908 11 view .LVU1479 4554 0018 8342 cmp r3, r0 4555 001a 04D1 bne .L256 6910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4556 .loc 1 6910 5 is_stmt 1 view .LVU1480 6910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4557 .loc 1 6910 19 is_stmt 0 view .LVU1481 4558 001c 0823 movs r3, #8 4559 001e 2377 strb r3, [r4, #28] 4560 0020 01E0 b .L256 4561 .L260: 6898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4562 .loc 1 6898 5 is_stmt 1 view .LVU1482 6898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4563 .loc 1 6898 19 is_stmt 0 view .LVU1483 4564 0022 0123 movs r3, #1 4565 0024 2377 strb r3, [r4, #28] 4566 .L256: 6915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4567 .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 */ 4568 .loc 1 6920 3 view .LVU1485 4569 0026 2046 mov r0, r4 4570 .LVL366: 6920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4571 .loc 1 6920 3 is_stmt 0 view .LVU1486 ARM GAS /tmp/ccodHXtm.s page 238 4572 0028 FFF7FEFF bl HAL_TIM_PWM_PulseFinishedHalfCpltCallback 4573 .LVL367: 6923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4574 .loc 1 6923 3 is_stmt 1 view .LVU1487 6923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4575 .loc 1 6923 17 is_stmt 0 view .LVU1488 4576 002c 0023 movs r3, #0 4577 002e 2377 strb r3, [r4, #28] 6924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4578 .loc 1 6924 1 view .LVU1489 4579 0030 10BD pop {r4, pc} 4580 .LVL368: 4581 .L261: 6902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4582 .loc 1 6902 5 is_stmt 1 view .LVU1490 6902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4583 .loc 1 6902 19 is_stmt 0 view .LVU1491 4584 0032 0223 movs r3, #2 4585 0034 2377 strb r3, [r4, #28] 4586 0036 F6E7 b .L256 4587 .L262: 6906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4588 .loc 1 6906 5 is_stmt 1 view .LVU1492 6906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4589 .loc 1 6906 19 is_stmt 0 view .LVU1493 4590 0038 0423 movs r3, #4 4591 003a 2377 strb r3, [r4, #28] 4592 003c F3E7 b .L256 4593 .cfi_endproc 4594 .LFE426: 4596 .section .text.HAL_TIM_TriggerCallback,"ax",%progbits 4597 .align 1 4598 .weak HAL_TIM_TriggerCallback 4599 .syntax unified 4600 .thumb 4601 .thumb_func 4603 HAL_TIM_TriggerCallback: 4604 .LVL369: 4605 .LFB412: 6039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 4606 .loc 1 6039 1 is_stmt 1 view -0 4607 .cfi_startproc 4608 @ args = 0, pretend = 0, frame = 0 4609 @ frame_needed = 0, uses_anonymous_args = 0 4610 @ link register save eliminated. 6041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4611 .loc 1 6041 3 view .LVU1495 6046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4612 .loc 1 6046 1 is_stmt 0 view .LVU1496 4613 0000 7047 bx lr 4614 .cfi_endproc 4615 .LFE412: 4617 .section .text.HAL_TIM_IRQHandler,"ax",%progbits 4618 .align 1 4619 .global HAL_TIM_IRQHandler 4620 .syntax unified 4621 .thumb ARM GAS /tmp/ccodHXtm.s page 239 4622 .thumb_func 4624 HAL_TIM_IRQHandler: 4625 .LVL370: 4626 .LFB387: 3847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t itsource = htim->Instance->DIER; 4627 .loc 1 3847 1 is_stmt 1 view -0 4628 .cfi_startproc 4629 @ args = 0, pretend = 0, frame = 0 4630 @ frame_needed = 0, uses_anonymous_args = 0 3847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t itsource = htim->Instance->DIER; 4631 .loc 1 3847 1 is_stmt 0 view .LVU1498 4632 0000 70B5 push {r4, r5, r6, lr} 4633 .LCFI44: 4634 .cfi_def_cfa_offset 16 4635 .cfi_offset 4, -16 4636 .cfi_offset 5, -12 4637 .cfi_offset 6, -8 4638 .cfi_offset 14, -4 4639 0002 0546 mov r5, r0 3848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t itflag = htim->Instance->SR; 4640 .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; 4641 .loc 1 3848 27 is_stmt 0 view .LVU1500 4642 0004 0368 ldr r3, [r0] 3848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t itflag = htim->Instance->SR; 4643 .loc 1 3848 12 view .LVU1501 4644 0006 DE68 ldr r6, [r3, #12] 4645 .LVL371: 3849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4646 .loc 1 3849 3 is_stmt 1 view .LVU1502 3849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4647 .loc 1 3849 12 is_stmt 0 view .LVU1503 4648 0008 1C69 ldr r4, [r3, #16] 4649 .LVL372: 3852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4650 .loc 1 3852 3 is_stmt 1 view .LVU1504 3852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4651 .loc 1 3852 6 is_stmt 0 view .LVU1505 4652 000a 14F0020F tst r4, #2 4653 000e 10D0 beq .L265 3854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4654 .loc 1 3854 5 is_stmt 1 view .LVU1506 3854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4655 .loc 1 3854 8 is_stmt 0 view .LVU1507 4656 0010 16F0020F tst r6, #2 4657 0014 0DD0 beq .L265 3857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1; 4658 .loc 1 3857 9 is_stmt 1 view .LVU1508 4659 0016 6FF00202 mvn r2, #2 4660 001a 1A61 str r2, [r3, #16] 3858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4661 .loc 1 3858 9 view .LVU1509 3858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4662 .loc 1 3858 23 is_stmt 0 view .LVU1510 4663 001c 0123 movs r3, #1 4664 001e 0377 strb r3, [r0, #28] 3861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccodHXtm.s page 240 4665 .loc 1 3861 9 is_stmt 1 view .LVU1511 3861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4666 .loc 1 3861 18 is_stmt 0 view .LVU1512 4667 0020 0368 ldr r3, [r0] 3861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4668 .loc 1 3861 28 view .LVU1513 4669 0022 9B69 ldr r3, [r3, #24] 3861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4670 .loc 1 3861 12 view .LVU1514 4671 0024 13F0030F tst r3, #3 4672 0028 7CD0 beq .L266 3866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4673 .loc 1 3866 11 is_stmt 1 view .LVU1515 4674 002a FFF7FEFF bl HAL_TIM_IC_CaptureCallback 4675 .LVL373: 4676 .L267: 3880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4677 .loc 1 3880 9 view .LVU1516 3880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4678 .loc 1 3880 23 is_stmt 0 view .LVU1517 4679 002e 0023 movs r3, #0 4680 0030 2B77 strb r3, [r5, #28] 4681 .L265: 3885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4682 .loc 1 3885 3 is_stmt 1 view .LVU1518 3885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4683 .loc 1 3885 6 is_stmt 0 view .LVU1519 4684 0032 14F0040F tst r4, #4 4685 0036 12D0 beq .L268 3887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4686 .loc 1 3887 5 is_stmt 1 view .LVU1520 3887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4687 .loc 1 3887 8 is_stmt 0 view .LVU1521 4688 0038 16F0040F tst r6, #4 4689 003c 0FD0 beq .L268 3889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2; 4690 .loc 1 3889 7 is_stmt 1 view .LVU1522 4691 003e 2B68 ldr r3, [r5] 4692 0040 6FF00402 mvn r2, #4 4693 0044 1A61 str r2, [r3, #16] 3890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ 4694 .loc 1 3890 7 view .LVU1523 3890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ 4695 .loc 1 3890 21 is_stmt 0 view .LVU1524 4696 0046 0223 movs r3, #2 4697 0048 2B77 strb r3, [r5, #28] 3892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4698 .loc 1 3892 7 is_stmt 1 view .LVU1525 3892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4699 .loc 1 3892 16 is_stmt 0 view .LVU1526 4700 004a 2B68 ldr r3, [r5] 3892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4701 .loc 1 3892 26 view .LVU1527 4702 004c 9B69 ldr r3, [r3, #24] 3892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4703 .loc 1 3892 10 view .LVU1528 4704 004e 13F4407F tst r3, #768 ARM GAS /tmp/ccodHXtm.s page 241 4705 0052 6DD0 beq .L269 3897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4706 .loc 1 3897 9 is_stmt 1 view .LVU1529 4707 0054 2846 mov r0, r5 4708 0056 FFF7FEFF bl HAL_TIM_IC_CaptureCallback 4709 .LVL374: 4710 .L270: 3911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4711 .loc 1 3911 7 view .LVU1530 3911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4712 .loc 1 3911 21 is_stmt 0 view .LVU1531 4713 005a 0023 movs r3, #0 4714 005c 2B77 strb r3, [r5, #28] 4715 .L268: 3915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4716 .loc 1 3915 3 is_stmt 1 view .LVU1532 3915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4717 .loc 1 3915 6 is_stmt 0 view .LVU1533 4718 005e 14F0080F tst r4, #8 4719 0062 12D0 beq .L271 3917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4720 .loc 1 3917 5 is_stmt 1 view .LVU1534 3917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4721 .loc 1 3917 8 is_stmt 0 view .LVU1535 4722 0064 16F0080F tst r6, #8 4723 0068 0FD0 beq .L271 3919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3; 4724 .loc 1 3919 7 is_stmt 1 view .LVU1536 4725 006a 2B68 ldr r3, [r5] 4726 006c 6FF00802 mvn r2, #8 4727 0070 1A61 str r2, [r3, #16] 3920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ 4728 .loc 1 3920 7 view .LVU1537 3920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ 4729 .loc 1 3920 21 is_stmt 0 view .LVU1538 4730 0072 0423 movs r3, #4 4731 0074 2B77 strb r3, [r5, #28] 3922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4732 .loc 1 3922 7 is_stmt 1 view .LVU1539 3922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4733 .loc 1 3922 16 is_stmt 0 view .LVU1540 4734 0076 2B68 ldr r3, [r5] 3922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4735 .loc 1 3922 26 view .LVU1541 4736 0078 DB69 ldr r3, [r3, #28] 3922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4737 .loc 1 3922 10 view .LVU1542 4738 007a 13F0030F tst r3, #3 4739 007e 5ED0 beq .L272 3927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4740 .loc 1 3927 9 is_stmt 1 view .LVU1543 4741 0080 2846 mov r0, r5 4742 0082 FFF7FEFF bl HAL_TIM_IC_CaptureCallback 4743 .LVL375: 4744 .L273: 3941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4745 .loc 1 3941 7 view .LVU1544 ARM GAS /tmp/ccodHXtm.s page 242 3941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4746 .loc 1 3941 21 is_stmt 0 view .LVU1545 4747 0086 0023 movs r3, #0 4748 0088 2B77 strb r3, [r5, #28] 4749 .L271: 3945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4750 .loc 1 3945 3 is_stmt 1 view .LVU1546 3945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4751 .loc 1 3945 6 is_stmt 0 view .LVU1547 4752 008a 14F0100F tst r4, #16 4753 008e 12D0 beq .L274 3947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4754 .loc 1 3947 5 is_stmt 1 view .LVU1548 3947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4755 .loc 1 3947 8 is_stmt 0 view .LVU1549 4756 0090 16F0100F tst r6, #16 4757 0094 0FD0 beq .L274 3949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4; 4758 .loc 1 3949 7 is_stmt 1 view .LVU1550 4759 0096 2B68 ldr r3, [r5] 4760 0098 6FF01002 mvn r2, #16 4761 009c 1A61 str r2, [r3, #16] 3950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ 4762 .loc 1 3950 7 view .LVU1551 3950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Input capture event */ 4763 .loc 1 3950 21 is_stmt 0 view .LVU1552 4764 009e 0823 movs r3, #8 4765 00a0 2B77 strb r3, [r5, #28] 3952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4766 .loc 1 3952 7 is_stmt 1 view .LVU1553 3952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4767 .loc 1 3952 16 is_stmt 0 view .LVU1554 4768 00a2 2B68 ldr r3, [r5] 3952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4769 .loc 1 3952 26 view .LVU1555 4770 00a4 DB69 ldr r3, [r3, #28] 3952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4771 .loc 1 3952 10 view .LVU1556 4772 00a6 13F4407F tst r3, #768 4773 00aa 4FD0 beq .L275 3957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4774 .loc 1 3957 9 is_stmt 1 view .LVU1557 4775 00ac 2846 mov r0, r5 4776 00ae FFF7FEFF bl HAL_TIM_IC_CaptureCallback 4777 .LVL376: 4778 .L276: 3971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4779 .loc 1 3971 7 view .LVU1558 3971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 4780 .loc 1 3971 21 is_stmt 0 view .LVU1559 4781 00b2 0023 movs r3, #0 4782 00b4 2B77 strb r3, [r5, #28] 4783 .L274: 3975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4784 .loc 1 3975 3 is_stmt 1 view .LVU1560 3975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4785 .loc 1 3975 6 is_stmt 0 view .LVU1561 ARM GAS /tmp/ccodHXtm.s page 243 4786 00b6 14F0010F tst r4, #1 4787 00ba 02D0 beq .L277 3977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4788 .loc 1 3977 5 is_stmt 1 view .LVU1562 3977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4789 .loc 1 3977 8 is_stmt 0 view .LVU1563 4790 00bc 16F0010F tst r6, #1 4791 00c0 4BD1 bne .L287 4792 .L277: 3988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ((itflag & (TIM_FLAG_SYSTEM_BREAK)) == (TIM_FLAG_SYSTEM_BREAK))) 4793 .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))) 4794 .loc 1 3988 6 is_stmt 0 view .LVU1565 4795 00c2 14F4025F tst r4, #8320 4796 00c6 02D0 beq .L278 3991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4797 .loc 1 3991 5 is_stmt 1 view .LVU1566 3991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4798 .loc 1 3991 8 is_stmt 0 view .LVU1567 4799 00c8 16F0800F tst r6, #128 4800 00cc 4DD1 bne .L288 4801 .L278: 4002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4802 .loc 1 4002 3 is_stmt 1 view .LVU1568 4002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4803 .loc 1 4002 6 is_stmt 0 view .LVU1569 4804 00ce 14F4807F tst r4, #256 4805 00d2 02D0 beq .L279 4004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4806 .loc 1 4004 5 is_stmt 1 view .LVU1570 4004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4807 .loc 1 4004 8 is_stmt 0 view .LVU1571 4808 00d4 16F0800F tst r6, #128 4809 00d8 4FD1 bne .L289 4810 .L279: 4015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4811 .loc 1 4015 3 is_stmt 1 view .LVU1572 4015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4812 .loc 1 4015 6 is_stmt 0 view .LVU1573 4813 00da 14F0400F tst r4, #64 4814 00de 02D0 beq .L280 4017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4815 .loc 1 4017 5 is_stmt 1 view .LVU1574 4017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4816 .loc 1 4017 8 is_stmt 0 view .LVU1575 4817 00e0 16F0400F tst r6, #64 4818 00e4 51D1 bne .L290 4819 .L280: 4028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4820 .loc 1 4028 3 is_stmt 1 view .LVU1576 4028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4821 .loc 1 4028 6 is_stmt 0 view .LVU1577 4822 00e6 14F0200F tst r4, #32 4823 00ea 02D0 beq .L281 4030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4824 .loc 1 4030 5 is_stmt 1 view .LVU1578 4030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccodHXtm.s page 244 4825 .loc 1 4030 8 is_stmt 0 view .LVU1579 4826 00ec 16F0200F tst r6, #32 4827 00f0 53D1 bne .L291 4828 .L281: 4041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4829 .loc 1 4041 3 is_stmt 1 view .LVU1580 4041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4830 .loc 1 4041 6 is_stmt 0 view .LVU1581 4831 00f2 14F4801F tst r4, #1048576 4832 00f6 02D0 beq .L282 4043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4833 .loc 1 4043 5 is_stmt 1 view .LVU1582 4043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4834 .loc 1 4043 8 is_stmt 0 view .LVU1583 4835 00f8 16F4801F tst r6, #1048576 4836 00fc 55D1 bne .L292 4837 .L282: 4054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4838 .loc 1 4054 3 is_stmt 1 view .LVU1584 4054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4839 .loc 1 4054 6 is_stmt 0 view .LVU1585 4840 00fe 14F4001F tst r4, #2097152 4841 0102 02D0 beq .L283 4056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4842 .loc 1 4056 5 is_stmt 1 view .LVU1586 4056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4843 .loc 1 4056 8 is_stmt 0 view .LVU1587 4844 0104 16F4001F tst r6, #2097152 4845 0108 57D1 bne .L293 4846 .L283: 4067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4847 .loc 1 4067 3 is_stmt 1 view .LVU1588 4067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4848 .loc 1 4067 6 is_stmt 0 view .LVU1589 4849 010a 14F4800F tst r4, #4194304 4850 010e 02D0 beq .L284 4069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4851 .loc 1 4069 5 is_stmt 1 view .LVU1590 4069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4852 .loc 1 4069 8 is_stmt 0 view .LVU1591 4853 0110 16F4800F tst r6, #4194304 4854 0114 59D1 bne .L294 4855 .L284: 4080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4856 .loc 1 4080 3 is_stmt 1 view .LVU1592 4080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4857 .loc 1 4080 6 is_stmt 0 view .LVU1593 4858 0116 14F4000F tst r4, #8388608 4859 011a 02D0 beq .L264 4082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4860 .loc 1 4082 5 is_stmt 1 view .LVU1594 4082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 4861 .loc 1 4082 8 is_stmt 0 view .LVU1595 4862 011c 16F4000F tst r6, #8388608 4863 0120 5BD1 bne .L295 4864 .L264: 4092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 245 4865 .loc 1 4092 1 view .LVU1596 4866 0122 70BD pop {r4, r5, r6, pc} 4867 .LVL377: 4868 .L266: 3876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim); 4869 .loc 1 3876 11 is_stmt 1 view .LVU1597 4870 0124 FFF7FEFF bl HAL_TIM_OC_DelayElapsedCallback 4871 .LVL378: 3877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4872 .loc 1 3877 11 view .LVU1598 4873 0128 2846 mov r0, r5 4874 012a FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback 4875 .LVL379: 4876 012e 7EE7 b .L267 4877 .L269: 3907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim); 4878 .loc 1 3907 9 view .LVU1599 4879 0130 2846 mov r0, r5 4880 0132 FFF7FEFF bl HAL_TIM_OC_DelayElapsedCallback 4881 .LVL380: 3908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4882 .loc 1 3908 9 view .LVU1600 4883 0136 2846 mov r0, r5 4884 0138 FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback 4885 .LVL381: 4886 013c 8DE7 b .L270 4887 .L272: 3937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim); 4888 .loc 1 3937 9 view .LVU1601 4889 013e 2846 mov r0, r5 4890 0140 FFF7FEFF bl HAL_TIM_OC_DelayElapsedCallback 4891 .LVL382: 3938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4892 .loc 1 3938 9 view .LVU1602 4893 0144 2846 mov r0, r5 4894 0146 FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback 4895 .LVL383: 4896 014a 9CE7 b .L273 4897 .L275: 3967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim); 4898 .loc 1 3967 9 view .LVU1603 4899 014c 2846 mov r0, r5 4900 014e FFF7FEFF bl HAL_TIM_OC_DelayElapsedCallback 4901 .LVL384: 3968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4902 .loc 1 3968 9 view .LVU1604 4903 0152 2846 mov r0, r5 4904 0154 FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback 4905 .LVL385: 4906 0158 ABE7 b .L276 4907 .L287: 3979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4908 .loc 1 3979 7 view .LVU1605 4909 015a 2B68 ldr r3, [r5] 4910 015c 6FF00102 mvn r2, #1 4911 0160 1A61 str r2, [r3, #16] 3983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ ARM GAS /tmp/ccodHXtm.s page 246 4912 .loc 1 3983 7 view .LVU1606 4913 0162 2846 mov r0, r5 4914 0164 FFF7FEFF bl HAL_TIM_PeriodElapsedCallback 4915 .LVL386: 4916 0168 ABE7 b .L277 4917 .L288: 3993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4918 .loc 1 3993 7 view .LVU1607 4919 016a 2B68 ldr r3, [r5] 4920 016c 6FF40252 mvn r2, #8320 4921 0170 1A61 str r2, [r3, #16] 3997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4922 .loc 1 3997 7 view .LVU1608 4923 0172 2846 mov r0, r5 4924 0174 FFF7FEFF bl HAL_TIMEx_BreakCallback 4925 .LVL387: 4926 0178 A9E7 b .L278 4927 .L289: 4006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4928 .loc 1 4006 7 view .LVU1609 4929 017a 2B68 ldr r3, [r5] 4930 017c 6FF48072 mvn r2, #256 4931 0180 1A61 str r2, [r3, #16] 4010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4932 .loc 1 4010 7 view .LVU1610 4933 0182 2846 mov r0, r5 4934 0184 FFF7FEFF bl HAL_TIMEx_Break2Callback 4935 .LVL388: 4936 0188 A7E7 b .L279 4937 .L290: 4019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4938 .loc 1 4019 7 view .LVU1611 4939 018a 2B68 ldr r3, [r5] 4940 018c 6FF04002 mvn r2, #64 4941 0190 1A61 str r2, [r3, #16] 4023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4942 .loc 1 4023 7 view .LVU1612 4943 0192 2846 mov r0, r5 4944 0194 FFF7FEFF bl HAL_TIM_TriggerCallback 4945 .LVL389: 4946 0198 A5E7 b .L280 4947 .L291: 4032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4948 .loc 1 4032 7 view .LVU1613 4949 019a 2B68 ldr r3, [r5] 4950 019c 6FF02002 mvn r2, #32 4951 01a0 1A61 str r2, [r3, #16] 4036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4952 .loc 1 4036 7 view .LVU1614 4953 01a2 2846 mov r0, r5 4954 01a4 FFF7FEFF bl HAL_TIMEx_CommutCallback 4955 .LVL390: 4956 01a8 A3E7 b .L281 4957 .L292: 4045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4958 .loc 1 4045 7 view .LVU1615 4959 01aa 2B68 ldr r3, [r5] ARM GAS /tmp/ccodHXtm.s page 247 4960 01ac 6FF48012 mvn r2, #1048576 4961 01b0 1A61 str r2, [r3, #16] 4049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4962 .loc 1 4049 7 view .LVU1616 4963 01b2 2846 mov r0, r5 4964 01b4 FFF7FEFF bl HAL_TIMEx_EncoderIndexCallback 4965 .LVL391: 4966 01b8 A1E7 b .L282 4967 .L293: 4058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4968 .loc 1 4058 7 view .LVU1617 4969 01ba 2B68 ldr r3, [r5] 4970 01bc 6FF40012 mvn r2, #2097152 4971 01c0 1A61 str r2, [r3, #16] 4062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4972 .loc 1 4062 7 view .LVU1618 4973 01c2 2846 mov r0, r5 4974 01c4 FFF7FEFF bl HAL_TIMEx_DirectionChangeCallback 4975 .LVL392: 4976 01c8 9FE7 b .L283 4977 .L294: 4071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4978 .loc 1 4071 7 view .LVU1619 4979 01ca 2B68 ldr r3, [r5] 4980 01cc 6FF48002 mvn r2, #4194304 4981 01d0 1A61 str r2, [r3, #16] 4075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4982 .loc 1 4075 7 view .LVU1620 4983 01d2 2846 mov r0, r5 4984 01d4 FFF7FEFF bl HAL_TIMEx_IndexErrorCallback 4985 .LVL393: 4986 01d8 9DE7 b .L284 4987 .L295: 4084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) 4988 .loc 1 4084 7 view .LVU1621 4989 01da 2B68 ldr r3, [r5] 4990 01dc 6FF40002 mvn r2, #8388608 4991 01e0 1A61 str r2, [r3, #16] 4088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 4992 .loc 1 4088 7 view .LVU1622 4993 01e2 2846 mov r0, r5 4994 01e4 FFF7FEFF bl HAL_TIMEx_TransitionErrorCallback 4995 .LVL394: 4092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 4996 .loc 1 4092 1 is_stmt 0 view .LVU1623 4997 01e8 9BE7 b .L264 4998 .cfi_endproc 4999 .LFE387: 5001 .section .text.TIM_DMATriggerCplt,"ax",%progbits 5002 .align 1 5003 .syntax unified 5004 .thumb 5005 .thumb_func 5007 TIM_DMATriggerCplt: 5008 .LVL395: 5009 .LFB431: 7071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; ARM GAS /tmp/ccodHXtm.s page 248 5010 .loc 1 7071 1 is_stmt 1 view -0 5011 .cfi_startproc 5012 @ args = 0, pretend = 0, frame = 0 5013 @ 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; 5014 .loc 1 7071 1 is_stmt 0 view .LVU1625 5015 0000 08B5 push {r3, lr} 5016 .LCFI45: 5017 .cfi_def_cfa_offset 8 5018 .cfi_offset 3, -8 5019 .cfi_offset 14, -4 7072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5020 .loc 1 7072 3 is_stmt 1 view .LVU1626 7072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5021 .loc 1 7072 22 is_stmt 0 view .LVU1627 5022 0002 806A ldr r0, [r0, #40] 5023 .LVL396: 7074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5024 .loc 1 7074 3 is_stmt 1 view .LVU1628 7074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5025 .loc 1 7074 17 is_stmt 0 view .LVU1629 5026 0004 836B ldr r3, [r0, #56] 7074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5027 .loc 1 7074 43 view .LVU1630 5028 0006 DB69 ldr r3, [r3, #28] 7074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5029 .loc 1 7074 6 view .LVU1631 5030 0008 13B9 cbnz r3, .L297 7076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5031 .loc 1 7076 5 is_stmt 1 view .LVU1632 7076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5032 .loc 1 7076 17 is_stmt 0 view .LVU1633 5033 000a 0123 movs r3, #1 5034 000c 80F83D30 strb r3, [r0, #61] 5035 .L297: 7082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5036 .loc 1 7082 3 is_stmt 1 view .LVU1634 5037 0010 FFF7FEFF bl HAL_TIM_TriggerCallback 5038 .LVL397: 7084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5039 .loc 1 7084 1 is_stmt 0 view .LVU1635 5040 0014 08BD pop {r3, pc} 5041 .cfi_endproc 5042 .LFE431: 5044 .section .text.HAL_TIM_TriggerHalfCpltCallback,"ax",%progbits 5045 .align 1 5046 .weak HAL_TIM_TriggerHalfCpltCallback 5047 .syntax unified 5048 .thumb 5049 .thumb_func 5051 HAL_TIM_TriggerHalfCpltCallback: 5052 .LVL398: 5053 .LFB413: 6054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 5054 .loc 1 6054 1 is_stmt 1 view -0 5055 .cfi_startproc 5056 @ args = 0, pretend = 0, frame = 0 ARM GAS /tmp/ccodHXtm.s page 249 5057 @ frame_needed = 0, uses_anonymous_args = 0 5058 @ link register save eliminated. 6056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5059 .loc 1 6056 3 view .LVU1637 6061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5060 .loc 1 6061 1 is_stmt 0 view .LVU1638 5061 0000 7047 bx lr 5062 .cfi_endproc 5063 .LFE413: 5065 .section .text.TIM_DMATriggerHalfCplt,"ax",%progbits 5066 .align 1 5067 .syntax unified 5068 .thumb 5069 .thumb_func 5071 TIM_DMATriggerHalfCplt: 5072 .LVL399: 5073 .LFB432: 7092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 5074 .loc 1 7092 1 is_stmt 1 view -0 5075 .cfi_startproc 5076 @ args = 0, pretend = 0, frame = 0 5077 @ 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; 5078 .loc 1 7092 1 is_stmt 0 view .LVU1640 5079 0000 08B5 push {r3, lr} 5080 .LCFI46: 5081 .cfi_def_cfa_offset 8 5082 .cfi_offset 3, -8 5083 .cfi_offset 14, -4 7093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5084 .loc 1 7093 3 is_stmt 1 view .LVU1641 5085 .LVL400: 7098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5086 .loc 1 7098 3 view .LVU1642 5087 0002 806A ldr r0, [r0, #40] 5088 .LVL401: 7098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5089 .loc 1 7098 3 is_stmt 0 view .LVU1643 5090 0004 FFF7FEFF bl HAL_TIM_TriggerHalfCpltCallback 5091 .LVL402: 7100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5092 .loc 1 7100 1 view .LVU1644 5093 0008 08BD pop {r3, pc} 5094 .cfi_endproc 5095 .LFE432: 5097 .section .text.HAL_TIM_ErrorCallback,"ax",%progbits 5098 .align 1 5099 .weak HAL_TIM_ErrorCallback 5100 .syntax unified 5101 .thumb 5102 .thumb_func 5104 HAL_TIM_ErrorCallback: 5105 .LVL403: 5106 .LFB414: 6069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 5107 .loc 1 6069 1 is_stmt 1 view -0 5108 .cfi_startproc ARM GAS /tmp/ccodHXtm.s page 250 5109 @ args = 0, pretend = 0, frame = 0 5110 @ frame_needed = 0, uses_anonymous_args = 0 5111 @ link register save eliminated. 6071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5112 .loc 1 6071 3 view .LVU1646 6076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5113 .loc 1 6076 1 is_stmt 0 view .LVU1647 5114 0000 7047 bx lr 5115 .cfi_endproc 5116 .LFE414: 5118 .section .text.TIM_DMAError,"ax",%progbits 5119 .align 1 5120 .global TIM_DMAError 5121 .syntax unified 5122 .thumb 5123 .thumb_func 5125 TIM_DMAError: 5126 .LVL404: 5127 .LFB424: 6791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; 5128 .loc 1 6791 1 is_stmt 1 view -0 5129 .cfi_startproc 5130 @ args = 0, pretend = 0, frame = 0 5131 @ 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; 5132 .loc 1 6791 1 is_stmt 0 view .LVU1649 5133 0000 10B5 push {r4, lr} 5134 .LCFI47: 5135 .cfi_def_cfa_offset 8 5136 .cfi_offset 4, -8 5137 .cfi_offset 14, -4 6792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5138 .loc 1 6792 3 is_stmt 1 view .LVU1650 6792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5139 .loc 1 6792 22 is_stmt 0 view .LVU1651 5140 0002 846A ldr r4, [r0, #40] 5141 .LVL405: 6794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5142 .loc 1 6794 3 is_stmt 1 view .LVU1652 6794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5143 .loc 1 6794 25 is_stmt 0 view .LVU1653 5144 0004 636A ldr r3, [r4, #36] 6794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5145 .loc 1 6794 6 view .LVU1654 5146 0006 8342 cmp r3, r0 5147 0008 0CD0 beq .L310 6799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5148 .loc 1 6799 8 is_stmt 1 view .LVU1655 6799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5149 .loc 1 6799 30 is_stmt 0 view .LVU1656 5150 000a A36A ldr r3, [r4, #40] 6799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5151 .loc 1 6799 11 view .LVU1657 5152 000c 8342 cmp r3, r0 5153 000e 13D0 beq .L311 6804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5154 .loc 1 6804 8 is_stmt 1 view .LVU1658 ARM GAS /tmp/ccodHXtm.s page 251 6804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5155 .loc 1 6804 30 is_stmt 0 view .LVU1659 5156 0010 E36A ldr r3, [r4, #44] 6804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5157 .loc 1 6804 11 view .LVU1660 5158 0012 8342 cmp r3, r0 5159 0014 16D0 beq .L312 6809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5160 .loc 1 6809 8 is_stmt 1 view .LVU1661 6809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5161 .loc 1 6809 30 is_stmt 0 view .LVU1662 5162 0016 236B ldr r3, [r4, #48] 6809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5163 .loc 1 6809 11 view .LVU1663 5164 0018 8342 cmp r3, r0 5165 001a 19D0 beq .L313 6816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5166 .loc 1 6816 5 is_stmt 1 view .LVU1664 6816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5167 .loc 1 6816 17 is_stmt 0 view .LVU1665 5168 001c 0123 movs r3, #1 5169 001e 84F83D30 strb r3, [r4, #61] 5170 0022 03E0 b .L305 5171 .L310: 6796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); 5172 .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); 5173 .loc 1 6796 19 is_stmt 0 view .LVU1667 5174 0024 0123 movs r3, #1 5175 0026 2377 strb r3, [r4, #28] 6797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5176 .loc 1 6797 5 is_stmt 1 view .LVU1668 5177 0028 84F83E30 strb r3, [r4, #62] 5178 .L305: 6822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5179 .loc 1 6822 3 view .LVU1669 5180 002c 2046 mov r0, r4 5181 .LVL406: 6822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5182 .loc 1 6822 3 is_stmt 0 view .LVU1670 5183 002e FFF7FEFF bl HAL_TIM_ErrorCallback 5184 .LVL407: 6825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5185 .loc 1 6825 3 is_stmt 1 view .LVU1671 6825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5186 .loc 1 6825 17 is_stmt 0 view .LVU1672 5187 0032 0023 movs r3, #0 5188 0034 2377 strb r3, [r4, #28] 6826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5189 .loc 1 6826 1 view .LVU1673 5190 0036 10BD pop {r4, pc} 5191 .LVL408: 5192 .L311: 6801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 5193 .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); 5194 .loc 1 6801 19 is_stmt 0 view .LVU1675 ARM GAS /tmp/ccodHXtm.s page 252 5195 0038 0223 movs r3, #2 5196 003a 2377 strb r3, [r4, #28] 6802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5197 .loc 1 6802 5 is_stmt 1 view .LVU1676 5198 003c 0123 movs r3, #1 5199 003e 84F83F30 strb r3, [r4, #63] 5200 0042 F3E7 b .L305 5201 .L312: 6806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY); 5202 .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); 5203 .loc 1 6806 19 is_stmt 0 view .LVU1678 5204 0044 0423 movs r3, #4 5205 0046 2377 strb r3, [r4, #28] 6807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5206 .loc 1 6807 5 is_stmt 1 view .LVU1679 5207 0048 0123 movs r3, #1 5208 004a 84F84030 strb r3, [r4, #64] 5209 004e EDE7 b .L305 5210 .L313: 6811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY); 5211 .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); 5212 .loc 1 6811 19 is_stmt 0 view .LVU1681 5213 0050 0823 movs r3, #8 5214 0052 2377 strb r3, [r4, #28] 6812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5215 .loc 1 6812 5 is_stmt 1 view .LVU1682 5216 0054 0123 movs r3, #1 5217 0056 84F84130 strb r3, [r4, #65] 5218 005a E7E7 b .L305 5219 .cfi_endproc 5220 .LFE424: 5222 .section .text.HAL_TIM_Base_GetState,"ax",%progbits 5223 .align 1 5224 .global HAL_TIM_Base_GetState 5225 .syntax unified 5226 .thumb 5227 .thumb_func 5229 HAL_TIM_Base_GetState: 5230 .LVL409: 5231 .LFB415: 6671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 5232 .loc 1 6671 1 view -0 5233 .cfi_startproc 5234 @ args = 0, pretend = 0, frame = 0 5235 @ frame_needed = 0, uses_anonymous_args = 0 5236 @ link register save eliminated. 6672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5237 .loc 1 6672 3 view .LVU1684 6672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5238 .loc 1 6672 14 is_stmt 0 view .LVU1685 5239 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2 5240 .LVL410: 6673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5241 .loc 1 6673 1 view .LVU1686 5242 0004 7047 bx lr ARM GAS /tmp/ccodHXtm.s page 253 5243 .cfi_endproc 5244 .LFE415: 5246 .section .text.HAL_TIM_OC_GetState,"ax",%progbits 5247 .align 1 5248 .global HAL_TIM_OC_GetState 5249 .syntax unified 5250 .thumb 5251 .thumb_func 5253 HAL_TIM_OC_GetState: 5254 .LVL411: 5255 .LFB416: 6681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 5256 .loc 1 6681 1 is_stmt 1 view -0 5257 .cfi_startproc 5258 @ args = 0, pretend = 0, frame = 0 5259 @ frame_needed = 0, uses_anonymous_args = 0 5260 @ link register save eliminated. 6682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5261 .loc 1 6682 3 view .LVU1688 6682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5262 .loc 1 6682 14 is_stmt 0 view .LVU1689 5263 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2 5264 .LVL412: 6683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5265 .loc 1 6683 1 view .LVU1690 5266 0004 7047 bx lr 5267 .cfi_endproc 5268 .LFE416: 5270 .section .text.HAL_TIM_PWM_GetState,"ax",%progbits 5271 .align 1 5272 .global HAL_TIM_PWM_GetState 5273 .syntax unified 5274 .thumb 5275 .thumb_func 5277 HAL_TIM_PWM_GetState: 5278 .LVL413: 5279 .LFB417: 6691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 5280 .loc 1 6691 1 is_stmt 1 view -0 5281 .cfi_startproc 5282 @ args = 0, pretend = 0, frame = 0 5283 @ frame_needed = 0, uses_anonymous_args = 0 5284 @ link register save eliminated. 6692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5285 .loc 1 6692 3 view .LVU1692 6692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5286 .loc 1 6692 14 is_stmt 0 view .LVU1693 5287 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2 5288 .LVL414: 6693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5289 .loc 1 6693 1 view .LVU1694 5290 0004 7047 bx lr 5291 .cfi_endproc 5292 .LFE417: 5294 .section .text.HAL_TIM_IC_GetState,"ax",%progbits 5295 .align 1 5296 .global HAL_TIM_IC_GetState ARM GAS /tmp/ccodHXtm.s page 254 5297 .syntax unified 5298 .thumb 5299 .thumb_func 5301 HAL_TIM_IC_GetState: 5302 .LVL415: 5303 .LFB418: 6701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 5304 .loc 1 6701 1 is_stmt 1 view -0 5305 .cfi_startproc 5306 @ args = 0, pretend = 0, frame = 0 5307 @ frame_needed = 0, uses_anonymous_args = 0 5308 @ link register save eliminated. 6702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5309 .loc 1 6702 3 view .LVU1696 6702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5310 .loc 1 6702 14 is_stmt 0 view .LVU1697 5311 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2 5312 .LVL416: 6703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5313 .loc 1 6703 1 view .LVU1698 5314 0004 7047 bx lr 5315 .cfi_endproc 5316 .LFE418: 5318 .section .text.HAL_TIM_OnePulse_GetState,"ax",%progbits 5319 .align 1 5320 .global HAL_TIM_OnePulse_GetState 5321 .syntax unified 5322 .thumb 5323 .thumb_func 5325 HAL_TIM_OnePulse_GetState: 5326 .LVL417: 5327 .LFB419: 6711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 5328 .loc 1 6711 1 is_stmt 1 view -0 5329 .cfi_startproc 5330 @ args = 0, pretend = 0, frame = 0 5331 @ frame_needed = 0, uses_anonymous_args = 0 5332 @ link register save eliminated. 6712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5333 .loc 1 6712 3 view .LVU1700 6712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5334 .loc 1 6712 14 is_stmt 0 view .LVU1701 5335 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2 5336 .LVL418: 6713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5337 .loc 1 6713 1 view .LVU1702 5338 0004 7047 bx lr 5339 .cfi_endproc 5340 .LFE419: 5342 .section .text.HAL_TIM_Encoder_GetState,"ax",%progbits 5343 .align 1 5344 .global HAL_TIM_Encoder_GetState 5345 .syntax unified 5346 .thumb 5347 .thumb_func 5349 HAL_TIM_Encoder_GetState: 5350 .LVL419: ARM GAS /tmp/ccodHXtm.s page 255 5351 .LFB420: 6721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->State; 5352 .loc 1 6721 1 is_stmt 1 view -0 5353 .cfi_startproc 5354 @ args = 0, pretend = 0, frame = 0 5355 @ frame_needed = 0, uses_anonymous_args = 0 5356 @ link register save eliminated. 6722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5357 .loc 1 6722 3 view .LVU1704 6722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5358 .loc 1 6722 14 is_stmt 0 view .LVU1705 5359 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2 5360 .LVL420: 6723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5361 .loc 1 6723 1 view .LVU1706 5362 0004 7047 bx lr 5363 .cfi_endproc 5364 .LFE420: 5366 .section .text.HAL_TIM_GetActiveChannel,"ax",%progbits 5367 .align 1 5368 .global HAL_TIM_GetActiveChannel 5369 .syntax unified 5370 .thumb 5371 .thumb_func 5373 HAL_TIM_GetActiveChannel: 5374 .LVL421: 5375 .LFB421: 6731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return htim->Channel; 5376 .loc 1 6731 1 is_stmt 1 view -0 5377 .cfi_startproc 5378 @ args = 0, pretend = 0, frame = 0 5379 @ frame_needed = 0, uses_anonymous_args = 0 5380 @ link register save eliminated. 6732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5381 .loc 1 6732 3 view .LVU1708 6733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5382 .loc 1 6733 1 is_stmt 0 view .LVU1709 5383 0000 007F ldrb r0, [r0, #28] @ zero_extendqisi2 5384 .LVL422: 6733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5385 .loc 1 6733 1 view .LVU1710 5386 0002 7047 bx lr 5387 .cfi_endproc 5388 .LFE421: 5390 .section .text.HAL_TIM_GetChannelState,"ax",%progbits 5391 .align 1 5392 .global HAL_TIM_GetChannelState 5393 .syntax unified 5394 .thumb 5395 .thumb_func 5397 HAL_TIM_GetChannelState: 5398 .LVL423: 5399 .LFB422: 6749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_state; 5400 .loc 1 6749 1 is_stmt 1 view -0 5401 .cfi_startproc 5402 @ args = 0, pretend = 0, frame = 0 ARM GAS /tmp/ccodHXtm.s page 256 5403 @ frame_needed = 0, uses_anonymous_args = 0 5404 @ link register save eliminated. 6750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5405 .loc 1 6750 3 view .LVU1712 6753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5406 .loc 1 6753 3 view .LVU1713 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5407 .loc 1 6755 3 view .LVU1714 5408 0000 1029 cmp r1, #16 5409 0002 1ED8 bhi .L322 5410 0004 DFE801F0 tbb [pc, r1] 5411 .L324: 5412 0008 09 .byte (.L328-.L324)/2 5413 0009 1D .byte (.L322-.L324)/2 5414 000a 1D .byte (.L322-.L324)/2 5415 000b 1D .byte (.L322-.L324)/2 5416 000c 0D .byte (.L327-.L324)/2 5417 000d 1D .byte (.L322-.L324)/2 5418 000e 1D .byte (.L322-.L324)/2 5419 000f 1D .byte (.L322-.L324)/2 5420 0010 11 .byte (.L326-.L324)/2 5421 0011 1D .byte (.L322-.L324)/2 5422 0012 1D .byte (.L322-.L324)/2 5423 0013 1D .byte (.L322-.L324)/2 5424 0014 15 .byte (.L325-.L324)/2 5425 0015 1D .byte (.L322-.L324)/2 5426 0016 1D .byte (.L322-.L324)/2 5427 0017 1D .byte (.L322-.L324)/2 5428 0018 19 .byte (.L323-.L324)/2 5429 0019 00 .p2align 1 5430 .L328: 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5431 .loc 1 6755 19 is_stmt 0 discriminator 1 view .LVU1715 5432 001a 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 5433 .LVL424: 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5434 .loc 1 6755 19 discriminator 1 view .LVU1716 5435 001e C0B2 uxtb r0, r0 5436 0020 7047 bx lr 5437 .LVL425: 5438 .L327: 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5439 .loc 1 6755 19 discriminator 4 view .LVU1717 5440 0022 90F83F00 ldrb r0, [r0, #63] @ zero_extendqisi2 5441 .LVL426: 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5442 .loc 1 6755 19 discriminator 4 view .LVU1718 5443 0026 C0B2 uxtb r0, r0 5444 0028 7047 bx lr 5445 .LVL427: 5446 .L326: 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5447 .loc 1 6755 19 discriminator 7 view .LVU1719 5448 002a 90F84000 ldrb r0, [r0, #64] @ zero_extendqisi2 5449 .LVL428: 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5450 .loc 1 6755 19 discriminator 7 view .LVU1720 ARM GAS /tmp/ccodHXtm.s page 257 5451 002e C0B2 uxtb r0, r0 5452 0030 7047 bx lr 5453 .LVL429: 5454 .L325: 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5455 .loc 1 6755 19 discriminator 10 view .LVU1721 5456 0032 90F84100 ldrb r0, [r0, #65] @ zero_extendqisi2 5457 .LVL430: 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5458 .loc 1 6755 19 discriminator 10 view .LVU1722 5459 0036 C0B2 uxtb r0, r0 5460 0038 7047 bx lr 5461 .LVL431: 5462 .L323: 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5463 .loc 1 6755 19 discriminator 13 view .LVU1723 5464 003a 90F84200 ldrb r0, [r0, #66] @ zero_extendqisi2 5465 .LVL432: 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5466 .loc 1 6755 19 discriminator 13 view .LVU1724 5467 003e C0B2 uxtb r0, r0 5468 0040 7047 bx lr 5469 .LVL433: 5470 .L322: 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5471 .loc 1 6755 19 discriminator 14 view .LVU1725 5472 0042 90F84300 ldrb r0, [r0, #67] @ zero_extendqisi2 5473 .LVL434: 6755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5474 .loc 1 6755 19 discriminator 14 view .LVU1726 5475 0046 C0B2 uxtb r0, r0 5476 .LVL435: 6757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5477 .loc 1 6757 3 is_stmt 1 view .LVU1727 6758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5478 .loc 1 6758 1 is_stmt 0 view .LVU1728 5479 0048 7047 bx lr 5480 .cfi_endproc 5481 .LFE422: 5483 .section .text.HAL_TIM_DMABurstState,"ax",%progbits 5484 .align 1 5485 .global HAL_TIM_DMABurstState 5486 .syntax unified 5487 .thumb 5488 .thumb_func 5490 HAL_TIM_DMABurstState: 5491 .LVL436: 5492 .LFB423: 6766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 5493 .loc 1 6766 1 is_stmt 1 view -0 5494 .cfi_startproc 5495 @ args = 0, pretend = 0, frame = 0 5496 @ frame_needed = 0, uses_anonymous_args = 0 5497 @ link register save eliminated. 6768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5498 .loc 1 6768 3 view .LVU1730 6770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/ccodHXtm.s page 258 5499 .loc 1 6770 3 view .LVU1731 6770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5500 .loc 1 6770 14 is_stmt 0 view .LVU1732 5501 0000 90F84800 ldrb r0, [r0, #72] @ zero_extendqisi2 5502 .LVL437: 6771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5503 .loc 1 6771 1 view .LVU1733 5504 0004 7047 bx lr 5505 .cfi_endproc 5506 .LFE423: 5508 .section .text.TIM_Base_SetConfig,"ax",%progbits 5509 .align 1 5510 .global TIM_Base_SetConfig 5511 .syntax unified 5512 .thumb 5513 .thumb_func 5515 TIM_Base_SetConfig: 5516 .LVL438: 5517 .LFB433: 7109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpcr1; 5518 .loc 1 7109 1 is_stmt 1 view -0 5519 .cfi_startproc 5520 @ args = 0, pretend = 0, frame = 0 5521 @ frame_needed = 0, uses_anonymous_args = 0 5522 @ link register save eliminated. 7110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr1 = TIMx->CR1; 5523 .loc 1 7110 3 view .LVU1735 7111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5524 .loc 1 7111 3 view .LVU1736 7111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5525 .loc 1 7111 10 is_stmt 0 view .LVU1737 5526 0000 0368 ldr r3, [r0] 5527 .LVL439: 7114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5528 .loc 1 7114 3 is_stmt 1 view .LVU1738 7114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5529 .loc 1 7114 6 is_stmt 0 view .LVU1739 5530 0002 304A ldr r2, .L339 5531 0004 9042 cmp r0, r2 5532 0006 0ED0 beq .L332 7114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5533 .loc 1 7114 7 discriminator 1 view .LVU1740 5534 0008 B0F1804F cmp r0, #1073741824 5535 000c 0BD0 beq .L332 7114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5536 .loc 1 7114 7 discriminator 2 view .LVU1741 5537 000e A2F59432 sub r2, r2, #75776 5538 0012 9042 cmp r0, r2 5539 0014 07D0 beq .L332 7114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5540 .loc 1 7114 7 discriminator 3 view .LVU1742 5541 0016 02F58062 add r2, r2, #1024 5542 001a 9042 cmp r0, r2 5543 001c 03D0 beq .L332 7114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5544 .loc 1 7114 7 discriminator 4 view .LVU1743 5545 001e 02F59632 add r2, r2, #76800 ARM GAS /tmp/ccodHXtm.s page 259 5546 0022 9042 cmp r0, r2 5547 0024 03D1 bne .L333 5548 .L332: 7117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr1 |= Structure->CounterMode; 5549 .loc 1 7117 5 is_stmt 1 view .LVU1744 7117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr1 |= Structure->CounterMode; 5550 .loc 1 7117 12 is_stmt 0 view .LVU1745 5551 0026 23F07003 bic r3, r3, #112 5552 .LVL440: 7118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5553 .loc 1 7118 5 is_stmt 1 view .LVU1746 7118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5554 .loc 1 7118 24 is_stmt 0 view .LVU1747 5555 002a 4A68 ldr r2, [r1, #4] 7118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5556 .loc 1 7118 12 view .LVU1748 5557 002c 1343 orrs r3, r3, r2 5558 .LVL441: 5559 .L333: 7121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5560 .loc 1 7121 3 is_stmt 1 view .LVU1749 7121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5561 .loc 1 7121 6 is_stmt 0 view .LVU1750 5562 002e 254A ldr r2, .L339 5563 0030 9042 cmp r0, r2 5564 0032 1AD0 beq .L334 7121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5565 .loc 1 7121 7 discriminator 1 view .LVU1751 5566 0034 B0F1804F cmp r0, #1073741824 5567 0038 17D0 beq .L334 7121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5568 .loc 1 7121 7 discriminator 2 view .LVU1752 5569 003a A2F59432 sub r2, r2, #75776 5570 003e 9042 cmp r0, r2 5571 0040 13D0 beq .L334 7121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5572 .loc 1 7121 7 discriminator 3 view .LVU1753 5573 0042 02F58062 add r2, r2, #1024 5574 0046 9042 cmp r0, r2 5575 0048 0FD0 beq .L334 7121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5576 .loc 1 7121 7 discriminator 4 view .LVU1754 5577 004a 02F59632 add r2, r2, #76800 5578 004e 9042 cmp r0, r2 5579 0050 0BD0 beq .L334 7121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5580 .loc 1 7121 7 discriminator 5 view .LVU1755 5581 0052 02F54062 add r2, r2, #3072 5582 0056 9042 cmp r0, r2 5583 0058 07D0 beq .L334 7121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5584 .loc 1 7121 7 discriminator 6 view .LVU1756 5585 005a 02F58062 add r2, r2, #1024 5586 005e 9042 cmp r0, r2 5587 0060 03D0 beq .L334 7121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5588 .loc 1 7121 7 discriminator 7 view .LVU1757 ARM GAS /tmp/ccodHXtm.s page 260 5589 0062 02F58062 add r2, r2, #1024 5590 0066 9042 cmp r0, r2 5591 0068 03D1 bne .L335 5592 .L334: 7124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr1 |= (uint32_t)Structure->ClockDivision; 5593 .loc 1 7124 5 is_stmt 1 view .LVU1758 7124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr1 |= (uint32_t)Structure->ClockDivision; 5594 .loc 1 7124 12 is_stmt 0 view .LVU1759 5595 006a 23F44073 bic r3, r3, #768 5596 .LVL442: 7125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5597 .loc 1 7125 5 is_stmt 1 view .LVU1760 7125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5598 .loc 1 7125 34 is_stmt 0 view .LVU1761 5599 006e CA68 ldr r2, [r1, #12] 7125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5600 .loc 1 7125 12 view .LVU1762 5601 0070 1343 orrs r3, r3, r2 5602 .LVL443: 5603 .L335: 7129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5604 .loc 1 7129 3 is_stmt 1 view .LVU1763 5605 0072 23F08003 bic r3, r3, #128 5606 .LVL444: 7129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5607 .loc 1 7129 3 is_stmt 0 view .LVU1764 5608 0076 4A69 ldr r2, [r1, #20] 5609 0078 1343 orrs r3, r3, r2 5610 .LVL445: 7131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5611 .loc 1 7131 3 is_stmt 1 view .LVU1765 7131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5612 .loc 1 7131 13 is_stmt 0 view .LVU1766 5613 007a 0360 str r3, [r0] 7134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5614 .loc 1 7134 3 is_stmt 1 view .LVU1767 7134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5615 .loc 1 7134 34 is_stmt 0 view .LVU1768 5616 007c 8B68 ldr r3, [r1, #8] 5617 .LVL446: 7134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5618 .loc 1 7134 13 view .LVU1769 5619 007e C362 str r3, [r0, #44] 5620 .LVL447: 7137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5621 .loc 1 7137 3 is_stmt 1 view .LVU1770 7137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5622 .loc 1 7137 24 is_stmt 0 view .LVU1771 5623 0080 0B68 ldr r3, [r1] 7137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5624 .loc 1 7137 13 view .LVU1772 5625 0082 8362 str r3, [r0, #40] 7139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5626 .loc 1 7139 3 is_stmt 1 view .LVU1773 7139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5627 .loc 1 7139 6 is_stmt 0 view .LVU1774 5628 0084 0F4B ldr r3, .L339 ARM GAS /tmp/ccodHXtm.s page 261 5629 0086 9842 cmp r0, r3 5630 0088 0FD0 beq .L336 7139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5631 .loc 1 7139 7 discriminator 1 view .LVU1775 5632 008a 03F50063 add r3, r3, #2048 5633 008e 9842 cmp r0, r3 5634 0090 0BD0 beq .L336 7139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5635 .loc 1 7139 7 discriminator 2 view .LVU1776 5636 0092 03F54063 add r3, r3, #3072 5637 0096 9842 cmp r0, r3 5638 0098 07D0 beq .L336 7139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5639 .loc 1 7139 7 discriminator 3 view .LVU1777 5640 009a 03F58063 add r3, r3, #1024 5641 009e 9842 cmp r0, r3 5642 00a0 03D0 beq .L336 7139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5643 .loc 1 7139 7 discriminator 4 view .LVU1778 5644 00a2 03F58063 add r3, r3, #1024 5645 00a6 9842 cmp r0, r3 5646 00a8 01D1 bne .L337 5647 .L336: 7142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5648 .loc 1 7142 5 is_stmt 1 view .LVU1779 7142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5649 .loc 1 7142 26 is_stmt 0 view .LVU1780 5650 00aa 0B69 ldr r3, [r1, #16] 7142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5651 .loc 1 7142 15 view .LVU1781 5652 00ac 0363 str r3, [r0, #48] 5653 .L337: 7147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5654 .loc 1 7147 3 is_stmt 1 view .LVU1782 7147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5655 .loc 1 7147 13 is_stmt 0 view .LVU1783 5656 00ae 0123 movs r3, #1 5657 00b0 4361 str r3, [r0, #20] 7150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5658 .loc 1 7150 3 is_stmt 1 view .LVU1784 7150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5659 .loc 1 7150 7 is_stmt 0 view .LVU1785 5660 00b2 0369 ldr r3, [r0, #16] 7150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5661 .loc 1 7150 6 view .LVU1786 5662 00b4 13F0010F tst r3, #1 5663 00b8 03D0 beq .L331 7153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5664 .loc 1 7153 5 is_stmt 1 view .LVU1787 5665 00ba 0369 ldr r3, [r0, #16] 5666 00bc 23F00103 bic r3, r3, #1 5667 00c0 0361 str r3, [r0, #16] 5668 .L331: 7155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5669 .loc 1 7155 1 is_stmt 0 view .LVU1788 5670 00c2 7047 bx lr 5671 .L340: ARM GAS /tmp/ccodHXtm.s page 262 5672 .align 2 5673 .L339: 5674 00c4 002C0140 .word 1073818624 5675 .cfi_endproc 5676 .LFE433: 5678 .section .text.HAL_TIM_Base_Init,"ax",%progbits 5679 .align 1 5680 .global HAL_TIM_Base_Init 5681 .syntax unified 5682 .thumb 5683 .thumb_func 5685 HAL_TIM_Base_Init: 5686 .LVL448: 5687 .LFB329: 282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 5688 .loc 1 282 1 is_stmt 1 view -0 5689 .cfi_startproc 5690 @ args = 0, pretend = 0, frame = 0 5691 @ frame_needed = 0, uses_anonymous_args = 0 284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5692 .loc 1 284 3 view .LVU1790 284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5693 .loc 1 284 6 is_stmt 0 view .LVU1791 5694 0000 60B3 cbz r0, .L344 282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 5695 .loc 1 282 1 view .LVU1792 5696 0002 10B5 push {r4, lr} 5697 .LCFI48: 5698 .cfi_def_cfa_offset 8 5699 .cfi_offset 4, -8 5700 .cfi_offset 14, -4 5701 0004 0446 mov r4, r0 290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 5702 .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)); 5703 .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)); 5704 .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)); 5705 .loc 1 293 3 view .LVU1796 294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5706 .loc 1 294 3 view .LVU1797 296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5707 .loc 1 296 3 view .LVU1798 296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5708 .loc 1 296 11 is_stmt 0 view .LVU1799 5709 0006 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5710 .loc 1 296 6 view .LVU1800 5711 000a 13B3 cbz r3, .L349 5712 .LVL449: 5713 .L343: 318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5714 .loc 1 318 3 is_stmt 1 view .LVU1801 318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5715 .loc 1 318 15 is_stmt 0 view .LVU1802 5716 000c 0223 movs r3, #2 ARM GAS /tmp/ccodHXtm.s page 263 5717 000e 84F83D30 strb r3, [r4, #61] 321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5718 .loc 1 321 3 is_stmt 1 view .LVU1803 321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5719 .loc 1 321 38 is_stmt 0 view .LVU1804 5720 0012 2146 mov r1, r4 321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5721 .loc 1 321 3 view .LVU1805 5722 0014 51F8040B ldr r0, [r1], #4 5723 0018 FFF7FEFF bl TIM_Base_SetConfig 5724 .LVL450: 324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5725 .loc 1 324 3 is_stmt 1 view .LVU1806 324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5726 .loc 1 324 23 is_stmt 0 view .LVU1807 5727 001c 0123 movs r3, #1 5728 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); 5729 .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); 5730 .loc 1 327 3 view .LVU1809 5731 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); 5732 .loc 1 327 3 view .LVU1810 5733 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); 5734 .loc 1 327 3 view .LVU1811 5735 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); 5736 .loc 1 327 3 view .LVU1812 5737 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); 5738 .loc 1 327 3 view .LVU1813 5739 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); 5740 .loc 1 327 3 view .LVU1814 5741 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); 5742 .loc 1 327 3 view .LVU1815 328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5743 .loc 1 328 3 view .LVU1816 328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5744 .loc 1 328 3 view .LVU1817 5745 003a 84F84430 strb r3, [r4, #68] 328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5746 .loc 1 328 3 view .LVU1818 5747 003e 84F84530 strb r3, [r4, #69] 328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5748 .loc 1 328 3 view .LVU1819 5749 0042 84F84630 strb r3, [r4, #70] 328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5750 .loc 1 328 3 view .LVU1820 5751 0046 84F84730 strb r3, [r4, #71] 328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5752 .loc 1 328 3 view .LVU1821 331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5753 .loc 1 331 3 view .LVU1822 ARM GAS /tmp/ccodHXtm.s page 264 331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5754 .loc 1 331 15 is_stmt 0 view .LVU1823 5755 004a 84F83D30 strb r3, [r4, #61] 333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5756 .loc 1 333 3 is_stmt 1 view .LVU1824 333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5757 .loc 1 333 10 is_stmt 0 view .LVU1825 5758 004e 0020 movs r0, #0 334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5759 .loc 1 334 1 view .LVU1826 5760 0050 10BD pop {r4, pc} 5761 .LVL451: 5762 .L349: 299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5763 .loc 1 299 5 is_stmt 1 view .LVU1827 299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5764 .loc 1 299 16 is_stmt 0 view .LVU1828 5765 0052 80F83C30 strb r3, [r0, #60] 313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5766 .loc 1 313 5 is_stmt 1 view .LVU1829 5767 0056 FFF7FEFF bl HAL_TIM_Base_MspInit 5768 .LVL452: 313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5769 .loc 1 313 5 is_stmt 0 view .LVU1830 5770 005a D7E7 b .L343 5771 .LVL453: 5772 .L344: 5773 .LCFI49: 5774 .cfi_def_cfa_offset 0 5775 .cfi_restore 4 5776 .cfi_restore 14 286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5777 .loc 1 286 12 view .LVU1831 5778 005c 0120 movs r0, #1 5779 .LVL454: 334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5780 .loc 1 334 1 view .LVU1832 5781 005e 7047 bx lr 5782 .cfi_endproc 5783 .LFE329: 5785 .section .text.HAL_TIM_OC_Init,"ax",%progbits 5786 .align 1 5787 .global HAL_TIM_OC_Init 5788 .syntax unified 5789 .thumb 5790 .thumb_func 5792 HAL_TIM_OC_Init: 5793 .LVL455: 5794 .LFB339: 666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 5795 .loc 1 666 1 is_stmt 1 view -0 5796 .cfi_startproc 5797 @ args = 0, pretend = 0, frame = 0 5798 @ frame_needed = 0, uses_anonymous_args = 0 668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5799 .loc 1 668 3 view .LVU1834 668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccodHXtm.s page 265 5800 .loc 1 668 6 is_stmt 0 view .LVU1835 5801 0000 60B3 cbz r0, .L353 666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 5802 .loc 1 666 1 view .LVU1836 5803 0002 10B5 push {r4, lr} 5804 .LCFI50: 5805 .cfi_def_cfa_offset 8 5806 .cfi_offset 4, -8 5807 .cfi_offset 14, -4 5808 0004 0446 mov r4, r0 674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 5809 .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)); 5810 .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)); 5811 .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)); 5812 .loc 1 677 3 view .LVU1840 678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5813 .loc 1 678 3 view .LVU1841 680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5814 .loc 1 680 3 view .LVU1842 680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5815 .loc 1 680 11 is_stmt 0 view .LVU1843 5816 0006 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5817 .loc 1 680 6 view .LVU1844 5818 000a 13B3 cbz r3, .L358 5819 .LVL456: 5820 .L352: 702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5821 .loc 1 702 3 is_stmt 1 view .LVU1845 702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5822 .loc 1 702 15 is_stmt 0 view .LVU1846 5823 000c 0223 movs r3, #2 5824 000e 84F83D30 strb r3, [r4, #61] 705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5825 .loc 1 705 3 is_stmt 1 view .LVU1847 705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5826 .loc 1 705 39 is_stmt 0 view .LVU1848 5827 0012 2146 mov r1, r4 705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5828 .loc 1 705 3 view .LVU1849 5829 0014 51F8040B ldr r0, [r1], #4 5830 0018 FFF7FEFF bl TIM_Base_SetConfig 5831 .LVL457: 708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5832 .loc 1 708 3 is_stmt 1 view .LVU1850 708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5833 .loc 1 708 23 is_stmt 0 view .LVU1851 5834 001c 0123 movs r3, #1 5835 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); 5836 .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); 5837 .loc 1 711 3 view .LVU1853 5838 0022 84F83E30 strb r3, [r4, #62] ARM GAS /tmp/ccodHXtm.s page 266 711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); 5839 .loc 1 711 3 view .LVU1854 5840 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); 5841 .loc 1 711 3 view .LVU1855 5842 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); 5843 .loc 1 711 3 view .LVU1856 5844 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); 5845 .loc 1 711 3 view .LVU1857 5846 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); 5847 .loc 1 711 3 view .LVU1858 5848 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); 5849 .loc 1 711 3 view .LVU1859 712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5850 .loc 1 712 3 view .LVU1860 712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5851 .loc 1 712 3 view .LVU1861 5852 003a 84F84430 strb r3, [r4, #68] 712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5853 .loc 1 712 3 view .LVU1862 5854 003e 84F84530 strb r3, [r4, #69] 712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5855 .loc 1 712 3 view .LVU1863 5856 0042 84F84630 strb r3, [r4, #70] 712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5857 .loc 1 712 3 view .LVU1864 5858 0046 84F84730 strb r3, [r4, #71] 712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5859 .loc 1 712 3 view .LVU1865 715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5860 .loc 1 715 3 view .LVU1866 715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5861 .loc 1 715 15 is_stmt 0 view .LVU1867 5862 004a 84F83D30 strb r3, [r4, #61] 717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5863 .loc 1 717 3 is_stmt 1 view .LVU1868 717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5864 .loc 1 717 10 is_stmt 0 view .LVU1869 5865 004e 0020 movs r0, #0 718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5866 .loc 1 718 1 view .LVU1870 5867 0050 10BD pop {r4, pc} 5868 .LVL458: 5869 .L358: 683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5870 .loc 1 683 5 is_stmt 1 view .LVU1871 683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5871 .loc 1 683 16 is_stmt 0 view .LVU1872 5872 0052 80F83C30 strb r3, [r0, #60] 697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5873 .loc 1 697 5 is_stmt 1 view .LVU1873 5874 0056 FFF7FEFF bl HAL_TIM_OC_MspInit 5875 .LVL459: ARM GAS /tmp/ccodHXtm.s page 267 697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5876 .loc 1 697 5 is_stmt 0 view .LVU1874 5877 005a D7E7 b .L352 5878 .LVL460: 5879 .L353: 5880 .LCFI51: 5881 .cfi_def_cfa_offset 0 5882 .cfi_restore 4 5883 .cfi_restore 14 670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5884 .loc 1 670 12 view .LVU1875 5885 005c 0120 movs r0, #1 5886 .LVL461: 718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5887 .loc 1 718 1 view .LVU1876 5888 005e 7047 bx lr 5889 .cfi_endproc 5890 .LFE339: 5892 .section .text.HAL_TIM_PWM_Init,"ax",%progbits 5893 .align 1 5894 .global HAL_TIM_PWM_Init 5895 .syntax unified 5896 .thumb 5897 .thumb_func 5899 HAL_TIM_PWM_Init: 5900 .LVL462: 5901 .LFB349: 1335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 5902 .loc 1 1335 1 is_stmt 1 view -0 5903 .cfi_startproc 5904 @ args = 0, pretend = 0, frame = 0 5905 @ frame_needed = 0, uses_anonymous_args = 0 1337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5906 .loc 1 1337 3 view .LVU1878 1337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5907 .loc 1 1337 6 is_stmt 0 view .LVU1879 5908 0000 60B3 cbz r0, .L362 1335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 5909 .loc 1 1335 1 view .LVU1880 5910 0002 10B5 push {r4, lr} 5911 .LCFI52: 5912 .cfi_def_cfa_offset 8 5913 .cfi_offset 4, -8 5914 .cfi_offset 14, -4 5915 0004 0446 mov r4, r0 1343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 5916 .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)); 5917 .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)); 5918 .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)); 5919 .loc 1 1346 3 view .LVU1884 1347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5920 .loc 1 1347 3 view .LVU1885 1349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5921 .loc 1 1349 3 view .LVU1886 ARM GAS /tmp/ccodHXtm.s page 268 1349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5922 .loc 1 1349 11 is_stmt 0 view .LVU1887 5923 0006 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 1349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 5924 .loc 1 1349 6 view .LVU1888 5925 000a 13B3 cbz r3, .L367 5926 .LVL463: 5927 .L361: 1371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5928 .loc 1 1371 3 is_stmt 1 view .LVU1889 1371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5929 .loc 1 1371 15 is_stmt 0 view .LVU1890 5930 000c 0223 movs r3, #2 5931 000e 84F83D30 strb r3, [r4, #61] 1374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5932 .loc 1 1374 3 is_stmt 1 view .LVU1891 1374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5933 .loc 1 1374 38 is_stmt 0 view .LVU1892 5934 0012 2146 mov r1, r4 1374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5935 .loc 1 1374 3 view .LVU1893 5936 0014 51F8040B ldr r0, [r1], #4 5937 0018 FFF7FEFF bl TIM_Base_SetConfig 5938 .LVL464: 1377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5939 .loc 1 1377 3 is_stmt 1 view .LVU1894 1377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5940 .loc 1 1377 23 is_stmt 0 view .LVU1895 5941 001c 0123 movs r3, #1 5942 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); 5943 .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); 5944 .loc 1 1380 3 view .LVU1897 5945 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); 5946 .loc 1 1380 3 view .LVU1898 5947 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); 5948 .loc 1 1380 3 view .LVU1899 5949 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); 5950 .loc 1 1380 3 view .LVU1900 5951 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); 5952 .loc 1 1380 3 view .LVU1901 5953 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); 5954 .loc 1 1380 3 view .LVU1902 5955 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); 5956 .loc 1 1380 3 view .LVU1903 1381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5957 .loc 1 1381 3 view .LVU1904 1381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5958 .loc 1 1381 3 view .LVU1905 5959 003a 84F84430 strb r3, [r4, #68] ARM GAS /tmp/ccodHXtm.s page 269 1381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5960 .loc 1 1381 3 view .LVU1906 5961 003e 84F84530 strb r3, [r4, #69] 1381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5962 .loc 1 1381 3 view .LVU1907 5963 0042 84F84630 strb r3, [r4, #70] 1381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5964 .loc 1 1381 3 view .LVU1908 5965 0046 84F84730 strb r3, [r4, #71] 1381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5966 .loc 1 1381 3 view .LVU1909 1384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5967 .loc 1 1384 3 view .LVU1910 1384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5968 .loc 1 1384 15 is_stmt 0 view .LVU1911 5969 004a 84F83D30 strb r3, [r4, #61] 1386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5970 .loc 1 1386 3 is_stmt 1 view .LVU1912 1386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5971 .loc 1 1386 10 is_stmt 0 view .LVU1913 5972 004e 0020 movs r0, #0 1387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5973 .loc 1 1387 1 view .LVU1914 5974 0050 10BD pop {r4, pc} 5975 .LVL465: 5976 .L367: 1352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5977 .loc 1 1352 5 is_stmt 1 view .LVU1915 1352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5978 .loc 1 1352 16 is_stmt 0 view .LVU1916 5979 0052 80F83C30 strb r3, [r0, #60] 1366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5980 .loc 1 1366 5 is_stmt 1 view .LVU1917 5981 0056 FFF7FEFF bl HAL_TIM_PWM_MspInit 5982 .LVL466: 1366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 5983 .loc 1 1366 5 is_stmt 0 view .LVU1918 5984 005a D7E7 b .L361 5985 .LVL467: 5986 .L362: 5987 .LCFI53: 5988 .cfi_def_cfa_offset 0 5989 .cfi_restore 4 5990 .cfi_restore 14 1339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 5991 .loc 1 1339 12 view .LVU1919 5992 005c 0120 movs r0, #1 5993 .LVL468: 1387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 5994 .loc 1 1387 1 view .LVU1920 5995 005e 7047 bx lr 5996 .cfi_endproc 5997 .LFE349: 5999 .section .text.HAL_TIM_IC_Init,"ax",%progbits 6000 .align 1 6001 .global HAL_TIM_IC_Init 6002 .syntax unified ARM GAS /tmp/ccodHXtm.s page 270 6003 .thumb 6004 .thumb_func 6006 HAL_TIM_IC_Init: 6007 .LVL469: 6008 .LFB359: 2003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 6009 .loc 1 2003 1 is_stmt 1 view -0 6010 .cfi_startproc 6011 @ args = 0, pretend = 0, frame = 0 6012 @ frame_needed = 0, uses_anonymous_args = 0 2005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6013 .loc 1 2005 3 view .LVU1922 2005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6014 .loc 1 2005 6 is_stmt 0 view .LVU1923 6015 0000 60B3 cbz r0, .L371 2003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 6016 .loc 1 2003 1 view .LVU1924 6017 0002 10B5 push {r4, lr} 6018 .LCFI54: 6019 .cfi_def_cfa_offset 8 6020 .cfi_offset 4, -8 6021 .cfi_offset 14, -4 6022 0004 0446 mov r4, r0 2011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 6023 .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)); 6024 .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)); 6025 .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)); 6026 .loc 1 2014 3 view .LVU1928 2015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6027 .loc 1 2015 3 view .LVU1929 2017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6028 .loc 1 2017 3 view .LVU1930 2017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6029 .loc 1 2017 11 is_stmt 0 view .LVU1931 6030 0006 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 2017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6031 .loc 1 2017 6 view .LVU1932 6032 000a 13B3 cbz r3, .L376 6033 .LVL470: 6034 .L370: 2039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6035 .loc 1 2039 3 is_stmt 1 view .LVU1933 2039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6036 .loc 1 2039 15 is_stmt 0 view .LVU1934 6037 000c 0223 movs r3, #2 6038 000e 84F83D30 strb r3, [r4, #61] 2042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6039 .loc 1 2042 3 is_stmt 1 view .LVU1935 2042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6040 .loc 1 2042 38 is_stmt 0 view .LVU1936 6041 0012 2146 mov r1, r4 2042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6042 .loc 1 2042 3 view .LVU1937 6043 0014 51F8040B ldr r0, [r1], #4 ARM GAS /tmp/ccodHXtm.s page 271 6044 0018 FFF7FEFF bl TIM_Base_SetConfig 6045 .LVL471: 2045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6046 .loc 1 2045 3 is_stmt 1 view .LVU1938 2045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6047 .loc 1 2045 23 is_stmt 0 view .LVU1939 6048 001c 0123 movs r3, #1 6049 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); 6050 .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); 6051 .loc 1 2048 3 view .LVU1941 6052 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); 6053 .loc 1 2048 3 view .LVU1942 6054 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); 6055 .loc 1 2048 3 view .LVU1943 6056 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); 6057 .loc 1 2048 3 view .LVU1944 6058 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); 6059 .loc 1 2048 3 view .LVU1945 6060 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); 6061 .loc 1 2048 3 view .LVU1946 6062 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); 6063 .loc 1 2048 3 view .LVU1947 2049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6064 .loc 1 2049 3 view .LVU1948 2049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6065 .loc 1 2049 3 view .LVU1949 6066 003a 84F84430 strb r3, [r4, #68] 2049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6067 .loc 1 2049 3 view .LVU1950 6068 003e 84F84530 strb r3, [r4, #69] 2049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6069 .loc 1 2049 3 view .LVU1951 6070 0042 84F84630 strb r3, [r4, #70] 2049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6071 .loc 1 2049 3 view .LVU1952 6072 0046 84F84730 strb r3, [r4, #71] 2049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6073 .loc 1 2049 3 view .LVU1953 2052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6074 .loc 1 2052 3 view .LVU1954 2052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6075 .loc 1 2052 15 is_stmt 0 view .LVU1955 6076 004a 84F83D30 strb r3, [r4, #61] 2054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6077 .loc 1 2054 3 is_stmt 1 view .LVU1956 2054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6078 .loc 1 2054 10 is_stmt 0 view .LVU1957 6079 004e 0020 movs r0, #0 2055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 272 6080 .loc 1 2055 1 view .LVU1958 6081 0050 10BD pop {r4, pc} 6082 .LVL472: 6083 .L376: 2020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6084 .loc 1 2020 5 is_stmt 1 view .LVU1959 2020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6085 .loc 1 2020 16 is_stmt 0 view .LVU1960 6086 0052 80F83C30 strb r3, [r0, #60] 2034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6087 .loc 1 2034 5 is_stmt 1 view .LVU1961 6088 0056 FFF7FEFF bl HAL_TIM_IC_MspInit 6089 .LVL473: 2034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6090 .loc 1 2034 5 is_stmt 0 view .LVU1962 6091 005a D7E7 b .L370 6092 .LVL474: 6093 .L371: 6094 .LCFI55: 6095 .cfi_def_cfa_offset 0 6096 .cfi_restore 4 6097 .cfi_restore 14 2007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6098 .loc 1 2007 12 view .LVU1963 6099 005c 0120 movs r0, #1 6100 .LVL475: 2055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6101 .loc 1 2055 1 view .LVU1964 6102 005e 7047 bx lr 6103 .cfi_endproc 6104 .LFE359: 6106 .section .text.HAL_TIM_OnePulse_Init,"ax",%progbits 6107 .align 1 6108 .global HAL_TIM_OnePulse_Init 6109 .syntax unified 6110 .thumb 6111 .thumb_func 6113 HAL_TIM_OnePulse_Init: 6114 .LVL476: 6115 .LFB369: 2652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 6116 .loc 1 2652 1 is_stmt 1 view -0 6117 .cfi_startproc 6118 @ args = 0, pretend = 0, frame = 0 6119 @ frame_needed = 0, uses_anonymous_args = 0 2654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6120 .loc 1 2654 3 view .LVU1966 2654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6121 .loc 1 2654 6 is_stmt 0 view .LVU1967 6122 0000 50B3 cbz r0, .L380 2652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the TIM handle allocation */ 6123 .loc 1 2652 1 view .LVU1968 6124 0002 38B5 push {r3, r4, r5, lr} 6125 .LCFI56: 6126 .cfi_def_cfa_offset 16 6127 .cfi_offset 3, -16 6128 .cfi_offset 4, -12 ARM GAS /tmp/ccodHXtm.s page 273 6129 .cfi_offset 5, -8 6130 .cfi_offset 14, -4 6131 0004 0D46 mov r5, r1 6132 0006 0446 mov r4, r0 2660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 6133 .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)); 6134 .loc 1 2661 3 view .LVU1970 2662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OPM_MODE(OnePulseMode)); 6135 .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)); 6136 .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)); 6137 .loc 1 2664 3 view .LVU1973 2665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6138 .loc 1 2665 3 view .LVU1974 2667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6139 .loc 1 2667 3 view .LVU1975 2667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6140 .loc 1 2667 11 is_stmt 0 view .LVU1976 6141 0008 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 2667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6142 .loc 1 2667 6 view .LVU1977 6143 000c FBB1 cbz r3, .L385 6144 .LVL477: 6145 .L379: 2689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6146 .loc 1 2689 3 is_stmt 1 view .LVU1978 2689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6147 .loc 1 2689 15 is_stmt 0 view .LVU1979 6148 000e 0223 movs r3, #2 6149 0010 84F83D30 strb r3, [r4, #61] 2692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6150 .loc 1 2692 3 is_stmt 1 view .LVU1980 2692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6151 .loc 1 2692 38 is_stmt 0 view .LVU1981 6152 0014 2146 mov r1, r4 2692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6153 .loc 1 2692 3 view .LVU1982 6154 0016 51F8040B ldr r0, [r1], #4 6155 001a FFF7FEFF bl TIM_Base_SetConfig 6156 .LVL478: 2695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6157 .loc 1 2695 3 is_stmt 1 view .LVU1983 2695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6158 .loc 1 2695 7 is_stmt 0 view .LVU1984 6159 001e 2268 ldr r2, [r4] 2695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6160 .loc 1 2695 17 view .LVU1985 6161 0020 1368 ldr r3, [r2] 2695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6162 .loc 1 2695 23 view .LVU1986 6163 0022 23F00803 bic r3, r3, #8 6164 0026 1360 str r3, [r2] 2698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6165 .loc 1 2698 3 is_stmt 1 view .LVU1987 2698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 274 6166 .loc 1 2698 7 is_stmt 0 view .LVU1988 6167 0028 2268 ldr r2, [r4] 2698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6168 .loc 1 2698 17 view .LVU1989 6169 002a 1368 ldr r3, [r2] 2698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6170 .loc 1 2698 23 view .LVU1990 6171 002c 2B43 orrs r3, r3, r5 6172 002e 1360 str r3, [r2] 2701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6173 .loc 1 2701 3 is_stmt 1 view .LVU1991 2701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6174 .loc 1 2701 23 is_stmt 0 view .LVU1992 6175 0030 0123 movs r3, #1 6176 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); 6177 .loc 1 2704 3 is_stmt 1 view .LVU1993 6178 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); 6179 .loc 1 2705 3 view .LVU1994 6180 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); 6181 .loc 1 2706 3 view .LVU1995 6182 003e 84F84430 strb r3, [r4, #68] 2707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6183 .loc 1 2707 3 view .LVU1996 6184 0042 84F84530 strb r3, [r4, #69] 2710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6185 .loc 1 2710 3 view .LVU1997 2710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6186 .loc 1 2710 15 is_stmt 0 view .LVU1998 6187 0046 84F83D30 strb r3, [r4, #61] 2712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6188 .loc 1 2712 3 is_stmt 1 view .LVU1999 2712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6189 .loc 1 2712 10 is_stmt 0 view .LVU2000 6190 004a 0020 movs r0, #0 2713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6191 .loc 1 2713 1 view .LVU2001 6192 004c 38BD pop {r3, r4, r5, pc} 6193 .LVL479: 6194 .L385: 2670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6195 .loc 1 2670 5 is_stmt 1 view .LVU2002 2670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6196 .loc 1 2670 16 is_stmt 0 view .LVU2003 6197 004e 80F83C30 strb r3, [r0, #60] 2684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6198 .loc 1 2684 5 is_stmt 1 view .LVU2004 6199 0052 FFF7FEFF bl HAL_TIM_OnePulse_MspInit 6200 .LVL480: 2684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6201 .loc 1 2684 5 is_stmt 0 view .LVU2005 6202 0056 DAE7 b .L379 6203 .LVL481: 6204 .L380: 6205 .LCFI57: ARM GAS /tmp/ccodHXtm.s page 275 6206 .cfi_def_cfa_offset 0 6207 .cfi_restore 3 6208 .cfi_restore 4 6209 .cfi_restore 5 6210 .cfi_restore 14 2656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6211 .loc 1 2656 12 view .LVU2006 6212 0058 0120 movs r0, #1 6213 .LVL482: 2713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6214 .loc 1 2713 1 view .LVU2007 6215 005a 7047 bx lr 6216 .cfi_endproc 6217 .LFE369: 6219 .section .text.HAL_TIM_Encoder_Init,"ax",%progbits 6220 .align 1 6221 .global HAL_TIM_Encoder_Init 6222 .syntax unified 6223 .thumb 6224 .thumb_func 6226 HAL_TIM_Encoder_Init: 6227 .LVL483: 6228 .LFB377: 3043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 6229 .loc 1 3043 1 is_stmt 1 view -0 6230 .cfi_startproc 6231 @ args = 0, pretend = 0, frame = 0 6232 @ frame_needed = 0, uses_anonymous_args = 0 3044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr1; 6233 .loc 1 3044 3 view .LVU2009 3045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 6234 .loc 1 3045 3 view .LVU2010 3046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6235 .loc 1 3046 3 view .LVU2011 3049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6236 .loc 1 3049 3 view .LVU2012 3049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6237 .loc 1 3049 6 is_stmt 0 view .LVU2013 6238 0000 0028 cmp r0, #0 6239 0002 53D0 beq .L389 3043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 6240 .loc 1 3043 1 view .LVU2014 6241 0004 F8B5 push {r3, r4, r5, r6, r7, lr} 6242 .LCFI58: 6243 .cfi_def_cfa_offset 24 6244 .cfi_offset 3, -24 6245 .cfi_offset 4, -20 6246 .cfi_offset 5, -16 6247 .cfi_offset 6, -12 6248 .cfi_offset 7, -8 6249 .cfi_offset 14, -4 6250 0006 0D46 mov r5, r1 6251 0008 0446 mov r4, r0 3055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); 6252 .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)); 6253 .loc 1 3056 3 view .LVU2016 ARM GAS /tmp/ccodHXtm.s page 276 3057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); 6254 .loc 1 3057 3 view .LVU2017 3058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_MODE(sConfig->EncoderMode)); 6255 .loc 1 3058 3 view .LVU2018 3059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_SELECTION(sConfig->IC1Selection)); 6256 .loc 1 3059 3 view .LVU2019 3060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_SELECTION(sConfig->IC2Selection)); 6257 .loc 1 3060 3 view .LVU2020 3061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODERINPUT_POLARITY(sConfig->IC1Polarity)); 6258 .loc 1 3061 3 view .LVU2021 3062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_ENCODERINPUT_POLARITY(sConfig->IC2Polarity)); 6259 .loc 1 3062 3 view .LVU2022 3063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->IC1Prescaler)); 6260 .loc 1 3063 3 view .LVU2023 3064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->IC2Prescaler)); 6261 .loc 1 3064 3 view .LVU2024 3065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_FILTER(sConfig->IC1Filter)); 6262 .loc 1 3065 3 view .LVU2025 3066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_FILTER(sConfig->IC2Filter)); 6263 .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)); 6264 .loc 1 3067 3 view .LVU2027 3068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6265 .loc 1 3068 3 view .LVU2028 3070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6266 .loc 1 3070 3 view .LVU2029 3070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6267 .loc 1 3070 11 is_stmt 0 view .LVU2030 6268 000a 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2 3070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6269 .loc 1 3070 6 view .LVU2031 6270 000e 002B cmp r3, #0 6271 0010 47D0 beq .L394 6272 .LVL484: 6273 .L388: 3092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6274 .loc 1 3092 3 is_stmt 1 view .LVU2032 3092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6275 .loc 1 3092 15 is_stmt 0 view .LVU2033 6276 0012 0223 movs r3, #2 6277 0014 84F83D30 strb r3, [r4, #61] 3095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6278 .loc 1 3095 3 is_stmt 1 view .LVU2034 3095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6279 .loc 1 3095 7 is_stmt 0 view .LVU2035 6280 0018 2268 ldr r2, [r4] 3095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6281 .loc 1 3095 17 view .LVU2036 6282 001a 9368 ldr r3, [r2, #8] 3095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6283 .loc 1 3095 24 view .LVU2037 6284 001c 23F4A033 bic r3, r3, #81920 6285 0020 23F00703 bic r3, r3, #7 6286 0024 9360 str r3, [r2, #8] 3098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6287 .loc 1 3098 3 is_stmt 1 view .LVU2038 3098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 277 6288 .loc 1 3098 38 is_stmt 0 view .LVU2039 6289 0026 2146 mov r1, r4 3098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6290 .loc 1 3098 3 view .LVU2040 6291 0028 51F8040B ldr r0, [r1], #4 6292 002c FFF7FEFF bl TIM_Base_SetConfig 6293 .LVL485: 3101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6294 .loc 1 3101 3 is_stmt 1 view .LVU2041 3101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6295 .loc 1 3101 17 is_stmt 0 view .LVU2042 6296 0030 2168 ldr r1, [r4] 3101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6297 .loc 1 3101 11 view .LVU2043 6298 0032 8B68 ldr r3, [r1, #8] 6299 .LVL486: 3104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6300 .loc 1 3104 3 is_stmt 1 view .LVU2044 3104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6301 .loc 1 3104 12 is_stmt 0 view .LVU2045 6302 0034 8A69 ldr r2, [r1, #24] 6303 .LVL487: 3107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6304 .loc 1 3107 3 is_stmt 1 view .LVU2046 3107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6305 .loc 1 3107 11 is_stmt 0 view .LVU2047 6306 0036 0E6A ldr r6, [r1, #32] 6307 .LVL488: 3110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6308 .loc 1 3110 3 is_stmt 1 view .LVU2048 3110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6309 .loc 1 3110 21 is_stmt 0 view .LVU2049 6310 0038 2868 ldr r0, [r5] 3110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6311 .loc 1 3110 11 view .LVU2050 6312 003a 1843 orrs r0, r0, r3 6313 .LVL489: 3113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Selection | (sConfig->IC2Selection << 8U)); 6314 .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)); 6315 .loc 1 3113 12 is_stmt 0 view .LVU2052 6316 003c 22F44072 bic r2, r2, #768 6317 .LVL490: 3113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Selection | (sConfig->IC2Selection << 8U)); 6318 .loc 1 3113 12 view .LVU2053 6319 0040 22F00302 bic r2, r2, #3 6320 .LVL491: 3114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6321 .loc 1 3114 3 is_stmt 1 view .LVU2054 3114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6322 .loc 1 3114 23 is_stmt 0 view .LVU2055 6323 0044 AB68 ldr r3, [r5, #8] 3114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6324 .loc 1 3114 38 view .LVU2056 6325 0046 AF69 ldr r7, [r5, #24] 6326 0048 43EA0723 orr r3, r3, r7, lsl #8 3114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 278 6327 .loc 1 3114 12 view .LVU2057 6328 004c 1343 orrs r3, r3, r2 6329 .LVL492: 3117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 &= ~(TIM_CCMR1_IC1F | TIM_CCMR1_IC2F); 6330 .loc 1 3117 3 is_stmt 1 view .LVU2058 3118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= sConfig->IC1Prescaler | (sConfig->IC2Prescaler << 8U); 6331 .loc 1 3118 3 view .LVU2059 3118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= sConfig->IC1Prescaler | (sConfig->IC2Prescaler << 8U); 6332 .loc 1 3118 12 is_stmt 0 view .LVU2060 6333 004e 23F47C43 bic r3, r3, #64512 6334 .LVL493: 3118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= sConfig->IC1Prescaler | (sConfig->IC2Prescaler << 8U); 6335 .loc 1 3118 12 view .LVU2061 6336 0052 23F0FC03 bic r3, r3, #252 6337 .LVL494: 3119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Filter << 4U) | (sConfig->IC2Filter << 12U); 6338 .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); 6339 .loc 1 3119 22 is_stmt 0 view .LVU2063 6340 0056 EA68 ldr r2, [r5, #12] 3119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Filter << 4U) | (sConfig->IC2Filter << 12U); 6341 .loc 1 3119 37 view .LVU2064 6342 0058 EF69 ldr r7, [r5, #28] 6343 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); 6344 .loc 1 3119 12 view .LVU2065 6345 005e 1A43 orrs r2, r2, r3 6346 .LVL495: 3120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6347 .loc 1 3120 3 is_stmt 1 view .LVU2066 3120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6348 .loc 1 3120 52 is_stmt 0 view .LVU2067 6349 0060 2B6A ldr r3, [r5, #32] 3120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6350 .loc 1 3120 64 view .LVU2068 6351 0062 1B03 lsls r3, r3, #12 3120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6352 .loc 1 3120 42 view .LVU2069 6353 0064 2F69 ldr r7, [r5, #16] 6354 0066 43EA0713 orr r3, r3, r7, lsl #4 3120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6355 .loc 1 3120 12 view .LVU2070 6356 006a 1343 orrs r3, r3, r2 6357 .LVL496: 3123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC1NP | TIM_CCER_CC2NP); 6358 .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); 6359 .loc 1 3124 3 view .LVU2072 3124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= sConfig->IC1Polarity | (sConfig->IC2Polarity << 4U); 6360 .loc 1 3124 11 is_stmt 0 view .LVU2073 6361 006c 26F0AA06 bic r6, r6, #170 6362 .LVL497: 3125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6363 .loc 1 3125 3 is_stmt 1 view .LVU2074 3125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6364 .loc 1 3125 21 is_stmt 0 view .LVU2075 6365 0070 6A68 ldr r2, [r5, #4] ARM GAS /tmp/ccodHXtm.s page 279 3125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6366 .loc 1 3125 45 view .LVU2076 6367 0072 6D69 ldr r5, [r5, #20] 6368 .LVL498: 3125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6369 .loc 1 3125 35 view .LVU2077 6370 0074 42EA0512 orr r2, r2, r5, lsl #4 3125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6371 .loc 1 3125 11 view .LVU2078 6372 0078 3243 orrs r2, r2, r6 6373 .LVL499: 3128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6374 .loc 1 3128 3 is_stmt 1 view .LVU2079 3128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6375 .loc 1 3128 24 is_stmt 0 view .LVU2080 6376 007a 8860 str r0, [r1, #8] 3131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6377 .loc 1 3131 3 is_stmt 1 view .LVU2081 3131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6378 .loc 1 3131 7 is_stmt 0 view .LVU2082 6379 007c 2168 ldr r1, [r4] 3131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6380 .loc 1 3131 25 view .LVU2083 6381 007e 8B61 str r3, [r1, #24] 3134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6382 .loc 1 3134 3 is_stmt 1 view .LVU2084 3134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6383 .loc 1 3134 7 is_stmt 0 view .LVU2085 6384 0080 2368 ldr r3, [r4] 6385 .LVL500: 3134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6386 .loc 1 3134 24 view .LVU2086 6387 0082 1A62 str r2, [r3, #32] 6388 .LVL501: 3137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6389 .loc 1 3137 3 is_stmt 1 view .LVU2087 3137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6390 .loc 1 3137 23 is_stmt 0 view .LVU2088 6391 0084 0123 movs r3, #1 6392 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); 6393 .loc 1 3140 3 is_stmt 1 view .LVU2089 6394 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); 6395 .loc 1 3141 3 view .LVU2090 6396 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); 6397 .loc 1 3142 3 view .LVU2091 6398 0092 84F84430 strb r3, [r4, #68] 3143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6399 .loc 1 3143 3 view .LVU2092 6400 0096 84F84530 strb r3, [r4, #69] 3146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6401 .loc 1 3146 3 view .LVU2093 3146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6402 .loc 1 3146 15 is_stmt 0 view .LVU2094 6403 009a 84F83D30 strb r3, [r4, #61] ARM GAS /tmp/ccodHXtm.s page 280 3148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6404 .loc 1 3148 3 is_stmt 1 view .LVU2095 3148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6405 .loc 1 3148 10 is_stmt 0 view .LVU2096 6406 009e 0020 movs r0, #0 6407 .LVL502: 3149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6408 .loc 1 3149 1 view .LVU2097 6409 00a0 F8BD pop {r3, r4, r5, r6, r7, pc} 6410 .LVL503: 6411 .L394: 3073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6412 .loc 1 3073 5 is_stmt 1 view .LVU2098 3073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6413 .loc 1 3073 16 is_stmt 0 view .LVU2099 6414 00a2 80F83C30 strb r3, [r0, #60] 3087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6415 .loc 1 3087 5 is_stmt 1 view .LVU2100 6416 00a6 FFF7FEFF bl HAL_TIM_Encoder_MspInit 6417 .LVL504: 3087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ 6418 .loc 1 3087 5 is_stmt 0 view .LVU2101 6419 00aa B2E7 b .L388 6420 .LVL505: 6421 .L389: 6422 .LCFI59: 6423 .cfi_def_cfa_offset 0 6424 .cfi_restore 3 6425 .cfi_restore 4 6426 .cfi_restore 5 6427 .cfi_restore 6 6428 .cfi_restore 7 6429 .cfi_restore 14 3051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6430 .loc 1 3051 12 view .LVU2102 6431 00ac 0120 movs r0, #1 6432 .LVL506: 3149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6433 .loc 1 3149 1 view .LVU2103 6434 00ae 7047 bx lr 6435 .cfi_endproc 6436 .LFE377: 6438 .section .text.TIM_OC2_SetConfig,"ax",%progbits 6439 .align 1 6440 .global TIM_OC2_SetConfig 6441 .syntax unified 6442 .thumb 6443 .thumb_func 6445 TIM_OC2_SetConfig: 6446 .LVL507: 6447 .LFB435: 7240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmrx; 6448 .loc 1 7240 1 is_stmt 1 view -0 6449 .cfi_startproc 6450 @ args = 0, pretend = 0, frame = 0 6451 @ frame_needed = 0, uses_anonymous_args = 0 6452 @ link register save eliminated. ARM GAS /tmp/ccodHXtm.s page 281 7240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmrx; 6453 .loc 1 7240 1 is_stmt 0 view .LVU2105 6454 0000 30B4 push {r4, r5} 6455 .LCFI60: 6456 .cfi_def_cfa_offset 8 6457 .cfi_offset 4, -8 6458 .cfi_offset 5, -4 7241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 6459 .loc 1 7241 3 is_stmt 1 view .LVU2106 7242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpcr2; 6460 .loc 1 7242 3 view .LVU2107 7243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6461 .loc 1 7243 3 view .LVU2108 7246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6462 .loc 1 7246 3 view .LVU2109 7246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6463 .loc 1 7246 11 is_stmt 0 view .LVU2110 6464 0002 036A ldr r3, [r0, #32] 6465 .LVL508: 7249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6466 .loc 1 7249 3 is_stmt 1 view .LVU2111 7249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6467 .loc 1 7249 7 is_stmt 0 view .LVU2112 6468 0004 026A ldr r2, [r0, #32] 7249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6469 .loc 1 7249 14 view .LVU2113 6470 0006 22F01002 bic r2, r2, #16 6471 000a 0262 str r2, [r0, #32] 7252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6472 .loc 1 7252 3 is_stmt 1 view .LVU2114 7252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6473 .loc 1 7252 10 is_stmt 0 view .LVU2115 6474 000c 4468 ldr r4, [r0, #4] 6475 .LVL509: 7255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6476 .loc 1 7255 3 is_stmt 1 view .LVU2116 7255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6477 .loc 1 7255 12 is_stmt 0 view .LVU2117 6478 000e 8269 ldr r2, [r0, #24] 6479 .LVL510: 7258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR1_CC2S; 6480 .loc 1 7258 3 is_stmt 1 view .LVU2118 7259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6481 .loc 1 7259 3 view .LVU2119 7259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6482 .loc 1 7259 12 is_stmt 0 view .LVU2120 6483 0010 22F08072 bic r2, r2, #16777216 6484 .LVL511: 7259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6485 .loc 1 7259 12 view .LVU2121 6486 0014 22F4E642 bic r2, r2, #29440 6487 .LVL512: 7262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6488 .loc 1 7262 3 is_stmt 1 view .LVU2122 7262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6489 .loc 1 7262 25 is_stmt 0 view .LVU2123 6490 0018 0D68 ldr r5, [r1] ARM GAS /tmp/ccodHXtm.s page 282 7262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6491 .loc 1 7262 12 view .LVU2124 6492 001a 42EA0522 orr r2, r2, r5, lsl #8 6493 .LVL513: 7265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Compare Polarity */ 6494 .loc 1 7265 3 is_stmt 1 view .LVU2125 7265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Compare Polarity */ 6495 .loc 1 7265 11 is_stmt 0 view .LVU2126 6496 001e 23F02003 bic r3, r3, #32 6497 .LVL514: 7267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6498 .loc 1 7267 3 is_stmt 1 view .LVU2127 7267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6499 .loc 1 7267 24 is_stmt 0 view .LVU2128 6500 0022 8D68 ldr r5, [r1, #8] 7267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6501 .loc 1 7267 11 view .LVU2129 6502 0024 43EA0513 orr r3, r3, r5, lsl #4 6503 .LVL515: 7269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6504 .loc 1 7269 3 is_stmt 1 view .LVU2130 7269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6505 .loc 1 7269 6 is_stmt 0 view .LVU2131 6506 0028 174D ldr r5, .L401 6507 002a A842 cmp r0, r5 6508 002c 03D0 beq .L396 7269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6509 .loc 1 7269 7 discriminator 1 view .LVU2132 6510 002e 05F50065 add r5, r5, #2048 6511 0032 A842 cmp r0, r5 6512 0034 06D1 bne .L397 6513 .L396: 7271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6514 .loc 1 7271 5 is_stmt 1 view .LVU2133 7274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Polarity */ 6515 .loc 1 7274 5 view .LVU2134 7274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Polarity */ 6516 .loc 1 7274 13 is_stmt 0 view .LVU2135 6517 0036 23F08003 bic r3, r3, #128 6518 .LVL516: 7276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output N State */ 6519 .loc 1 7276 5 is_stmt 1 view .LVU2136 7276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output N State */ 6520 .loc 1 7276 26 is_stmt 0 view .LVU2137 6521 003a CD68 ldr r5, [r1, #12] 7276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Reset the Output N State */ 6522 .loc 1 7276 13 view .LVU2138 6523 003c 43EA0513 orr r3, r3, r5, lsl #4 6524 .LVL517: 7278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6525 .loc 1 7278 5 is_stmt 1 view .LVU2139 7278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6526 .loc 1 7278 13 is_stmt 0 view .LVU2140 6527 0040 23F04003 bic r3, r3, #64 6528 .LVL518: 6529 .L397: 7281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccodHXtm.s page 283 6530 .loc 1 7281 3 is_stmt 1 view .LVU2141 7281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6531 .loc 1 7281 6 is_stmt 0 view .LVU2142 6532 0044 104D ldr r5, .L401 6533 0046 A842 cmp r0, r5 6534 0048 0FD0 beq .L398 7281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6535 .loc 1 7281 7 discriminator 1 view .LVU2143 6536 004a 05F50065 add r5, r5, #2048 6537 004e A842 cmp r0, r5 6538 0050 0BD0 beq .L398 7281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6539 .loc 1 7281 7 discriminator 2 view .LVU2144 6540 0052 05F54065 add r5, r5, #3072 6541 0056 A842 cmp r0, r5 6542 0058 07D0 beq .L398 7281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6543 .loc 1 7281 7 discriminator 3 view .LVU2145 6544 005a 05F58065 add r5, r5, #1024 6545 005e A842 cmp r0, r5 6546 0060 03D0 beq .L398 7281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6547 .loc 1 7281 7 discriminator 4 view .LVU2146 6548 0062 05F58065 add r5, r5, #1024 6549 0066 A842 cmp r0, r5 6550 0068 07D1 bne .L399 6551 .L398: 7284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState)); 6552 .loc 1 7284 5 is_stmt 1 view .LVU2147 7285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6553 .loc 1 7285 5 view .LVU2148 7288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS2N; 6554 .loc 1 7288 5 view .LVU2149 6555 .LVL519: 7289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Idle state */ 6556 .loc 1 7289 5 view .LVU2150 7289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output Idle state */ 6557 .loc 1 7289 12 is_stmt 0 view .LVU2151 6558 006a 24F4406C bic ip, r4, #3072 6559 .LVL520: 7291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Idle state */ 6560 .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 */ 6561 .loc 1 7291 25 is_stmt 0 view .LVU2153 6562 006e 4C69 ldr r4, [r1, #20] 7291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Output N Idle state */ 6563 .loc 1 7291 12 view .LVU2154 6564 0070 4CEA840C orr ip, ip, r4, lsl #2 6565 .LVL521: 7293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6566 .loc 1 7293 5 is_stmt 1 view .LVU2155 7293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6567 .loc 1 7293 25 is_stmt 0 view .LVU2156 6568 0074 8C69 ldr r4, [r1, #24] 7293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6569 .loc 1 7293 12 view .LVU2157 6570 0076 4CEA8404 orr r4, ip, r4, lsl #2 ARM GAS /tmp/ccodHXtm.s page 284 6571 .LVL522: 6572 .L399: 7297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6573 .loc 1 7297 3 is_stmt 1 view .LVU2158 7297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6574 .loc 1 7297 13 is_stmt 0 view .LVU2159 6575 007a 4460 str r4, [r0, #4] 7300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6576 .loc 1 7300 3 is_stmt 1 view .LVU2160 7300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6577 .loc 1 7300 15 is_stmt 0 view .LVU2161 6578 007c 8261 str r2, [r0, #24] 7303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6579 .loc 1 7303 3 is_stmt 1 view .LVU2162 7303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6580 .loc 1 7303 25 is_stmt 0 view .LVU2163 6581 007e 4A68 ldr r2, [r1, #4] 6582 .LVL523: 7303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6583 .loc 1 7303 14 view .LVU2164 6584 0080 8263 str r2, [r0, #56] 6585 .LVL524: 7306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6586 .loc 1 7306 3 is_stmt 1 view .LVU2165 7306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6587 .loc 1 7306 14 is_stmt 0 view .LVU2166 6588 0082 0362 str r3, [r0, #32] 7307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6589 .loc 1 7307 1 view .LVU2167 6590 0084 30BC pop {r4, r5} 6591 .LCFI61: 6592 .cfi_restore 5 6593 .cfi_restore 4 6594 .cfi_def_cfa_offset 0 6595 .LVL525: 7307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6596 .loc 1 7307 1 view .LVU2168 6597 0086 7047 bx lr 6598 .L402: 6599 .align 2 6600 .L401: 6601 0088 002C0140 .word 1073818624 6602 .cfi_endproc 6603 .LFE435: 6605 .section .text.HAL_TIM_OC_ConfigChannel,"ax",%progbits 6606 .align 1 6607 .global HAL_TIM_OC_ConfigChannel 6608 .syntax unified 6609 .thumb 6610 .thumb_func 6612 HAL_TIM_OC_ConfigChannel: 6613 .LVL526: 6614 .LFB388: 4135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 6615 .loc 1 4135 1 is_stmt 1 view -0 6616 .cfi_startproc 6617 @ args = 0, pretend = 0, frame = 0 ARM GAS /tmp/ccodHXtm.s page 285 6618 @ frame_needed = 0, uses_anonymous_args = 0 4136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6619 .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)); 6620 .loc 1 4139 3 view .LVU2171 4140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OC_POLARITY(sConfig->OCPolarity)); 6621 .loc 1 4140 3 view .LVU2172 4141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6622 .loc 1 4141 3 view .LVU2173 4144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6623 .loc 1 4144 3 view .LVU2174 4144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6624 .loc 1 4144 3 view .LVU2175 6625 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 6626 0004 012B cmp r3, #1 6627 0006 36D0 beq .L413 4135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 6628 .loc 1 4135 1 is_stmt 0 view .LVU2176 6629 0008 10B5 push {r4, lr} 6630 .LCFI62: 6631 .cfi_def_cfa_offset 8 6632 .cfi_offset 4, -8 6633 .cfi_offset 14, -4 6634 000a 0446 mov r4, r0 4144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6635 .loc 1 4144 3 is_stmt 1 discriminator 2 view .LVU2177 6636 000c 0123 movs r3, #1 6637 000e 80F83C30 strb r3, [r0, #60] 4144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6638 .loc 1 4144 3 discriminator 2 view .LVU2178 4146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6639 .loc 1 4146 3 view .LVU2179 6640 0012 142A cmp r2, #20 6641 0014 2AD8 bhi .L414 6642 0016 DFE802F0 tbb [pc, r2] 6643 .L407: 6644 001a 0B .byte (.L412-.L407)/2 6645 001b 29 .byte (.L414-.L407)/2 6646 001c 29 .byte (.L414-.L407)/2 6647 001d 29 .byte (.L414-.L407)/2 6648 001e 10 .byte (.L411-.L407)/2 6649 001f 29 .byte (.L414-.L407)/2 6650 0020 29 .byte (.L414-.L407)/2 6651 0021 29 .byte (.L414-.L407)/2 6652 0022 15 .byte (.L410-.L407)/2 6653 0023 29 .byte (.L414-.L407)/2 6654 0024 29 .byte (.L414-.L407)/2 6655 0025 29 .byte (.L414-.L407)/2 6656 0026 1A .byte (.L409-.L407)/2 6657 0027 29 .byte (.L414-.L407)/2 6658 0028 29 .byte (.L414-.L407)/2 6659 0029 29 .byte (.L414-.L407)/2 6660 002a 1F .byte (.L408-.L407)/2 6661 002b 29 .byte (.L414-.L407)/2 6662 002c 29 .byte (.L414-.L407)/2 6663 002d 29 .byte (.L414-.L407)/2 6664 002e 24 .byte (.L406-.L407)/2 ARM GAS /tmp/ccodHXtm.s page 286 6665 002f 00 .p2align 1 6666 .L412: 4151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6667 .loc 1 4151 7 view .LVU2180 4154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6668 .loc 1 4154 7 view .LVU2181 6669 0030 0068 ldr r0, [r0] 6670 .LVL527: 4154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6671 .loc 1 4154 7 is_stmt 0 view .LVU2182 6672 0032 FFF7FEFF bl TIM_OC1_SetConfig 6673 .LVL528: 4155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6674 .loc 1 4155 7 is_stmt 1 view .LVU2183 4136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6675 .loc 1 4136 21 is_stmt 0 view .LVU2184 6676 0036 0020 movs r0, #0 4155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6677 .loc 1 4155 7 view .LVU2185 6678 0038 19E0 b .L405 6679 .LVL529: 6680 .L411: 4161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6681 .loc 1 4161 7 is_stmt 1 view .LVU2186 4164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6682 .loc 1 4164 7 view .LVU2187 6683 003a 0068 ldr r0, [r0] 6684 .LVL530: 4164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6685 .loc 1 4164 7 is_stmt 0 view .LVU2188 6686 003c FFF7FEFF bl TIM_OC2_SetConfig 6687 .LVL531: 4165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6688 .loc 1 4165 7 is_stmt 1 view .LVU2189 4136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6689 .loc 1 4136 21 is_stmt 0 view .LVU2190 6690 0040 0020 movs r0, #0 4165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6691 .loc 1 4165 7 view .LVU2191 6692 0042 14E0 b .L405 6693 .LVL532: 6694 .L410: 4171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6695 .loc 1 4171 7 is_stmt 1 view .LVU2192 4174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6696 .loc 1 4174 7 view .LVU2193 6697 0044 0068 ldr r0, [r0] 6698 .LVL533: 4174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6699 .loc 1 4174 7 is_stmt 0 view .LVU2194 6700 0046 FFF7FEFF bl TIM_OC3_SetConfig 6701 .LVL534: 4175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6702 .loc 1 4175 7 is_stmt 1 view .LVU2195 4136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6703 .loc 1 4136 21 is_stmt 0 view .LVU2196 6704 004a 0020 movs r0, #0 ARM GAS /tmp/ccodHXtm.s page 287 4175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6705 .loc 1 4175 7 view .LVU2197 6706 004c 0FE0 b .L405 6707 .LVL535: 6708 .L409: 4181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6709 .loc 1 4181 7 is_stmt 1 view .LVU2198 4184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6710 .loc 1 4184 7 view .LVU2199 6711 004e 0068 ldr r0, [r0] 6712 .LVL536: 4184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6713 .loc 1 4184 7 is_stmt 0 view .LVU2200 6714 0050 FFF7FEFF bl TIM_OC4_SetConfig 6715 .LVL537: 4185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6716 .loc 1 4185 7 is_stmt 1 view .LVU2201 4136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6717 .loc 1 4136 21 is_stmt 0 view .LVU2202 6718 0054 0020 movs r0, #0 4185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6719 .loc 1 4185 7 view .LVU2203 6720 0056 0AE0 b .L405 6721 .LVL538: 6722 .L408: 4191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6723 .loc 1 4191 7 is_stmt 1 view .LVU2204 4194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6724 .loc 1 4194 7 view .LVU2205 6725 0058 0068 ldr r0, [r0] 6726 .LVL539: 4194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6727 .loc 1 4194 7 is_stmt 0 view .LVU2206 6728 005a FFF7FEFF bl TIM_OC5_SetConfig 6729 .LVL540: 4195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6730 .loc 1 4195 7 is_stmt 1 view .LVU2207 4136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6731 .loc 1 4136 21 is_stmt 0 view .LVU2208 6732 005e 0020 movs r0, #0 4195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6733 .loc 1 4195 7 view .LVU2209 6734 0060 05E0 b .L405 6735 .LVL541: 6736 .L406: 4201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6737 .loc 1 4201 7 is_stmt 1 view .LVU2210 4204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6738 .loc 1 4204 7 view .LVU2211 6739 0062 0068 ldr r0, [r0] 6740 .LVL542: 4204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6741 .loc 1 4204 7 is_stmt 0 view .LVU2212 6742 0064 FFF7FEFF bl TIM_OC6_SetConfig 6743 .LVL543: 4205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6744 .loc 1 4205 7 is_stmt 1 view .LVU2213 ARM GAS /tmp/ccodHXtm.s page 288 4136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6745 .loc 1 4136 21 is_stmt 0 view .LVU2214 6746 0068 0020 movs r0, #0 4205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6747 .loc 1 4205 7 view .LVU2215 6748 006a 00E0 b .L405 6749 .LVL544: 6750 .L414: 4146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6751 .loc 1 4146 3 view .LVU2216 6752 006c 0120 movs r0, #1 6753 .LVL545: 6754 .L405: 4213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6755 .loc 1 4213 3 is_stmt 1 view .LVU2217 4213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6756 .loc 1 4213 3 view .LVU2218 6757 006e 0023 movs r3, #0 6758 0070 84F83C30 strb r3, [r4, #60] 4213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6759 .loc 1 4213 3 view .LVU2219 4215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6760 .loc 1 4215 3 view .LVU2220 4216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6761 .loc 1 4216 1 is_stmt 0 view .LVU2221 6762 0074 10BD pop {r4, pc} 6763 .LVL546: 6764 .L413: 6765 .LCFI63: 6766 .cfi_def_cfa_offset 0 6767 .cfi_restore 4 6768 .cfi_restore 14 4144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6769 .loc 1 4144 3 discriminator 1 view .LVU2222 6770 0076 0220 movs r0, #2 6771 .LVL547: 4216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6772 .loc 1 4216 1 view .LVU2223 6773 0078 7047 bx lr 6774 .cfi_endproc 6775 .LFE388: 6777 .section .text.HAL_TIM_PWM_ConfigChannel,"ax",%progbits 6778 .align 1 6779 .global HAL_TIM_PWM_ConfigChannel 6780 .syntax unified 6781 .thumb 6782 .thumb_func 6784 HAL_TIM_PWM_ConfigChannel: 6785 .LVL548: 6786 .LFB390: 4335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 6787 .loc 1 4335 1 is_stmt 1 view -0 6788 .cfi_startproc 6789 @ args = 0, pretend = 0, frame = 0 6790 @ frame_needed = 0, uses_anonymous_args = 0 4335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 6791 .loc 1 4335 1 is_stmt 0 view .LVU2225 ARM GAS /tmp/ccodHXtm.s page 289 6792 0000 38B5 push {r3, r4, r5, lr} 6793 .LCFI64: 6794 .cfi_def_cfa_offset 16 6795 .cfi_offset 3, -16 6796 .cfi_offset 4, -12 6797 .cfi_offset 5, -8 6798 .cfi_offset 14, -4 4336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6799 .loc 1 4336 3 is_stmt 1 view .LVU2226 6800 .LVL549: 4339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_PWM_MODE(sConfig->OCMode)); 6801 .loc 1 4339 3 view .LVU2227 4340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OC_POLARITY(sConfig->OCPolarity)); 6802 .loc 1 4340 3 view .LVU2228 4341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_FAST_STATE(sConfig->OCFastMode)); 6803 .loc 1 4341 3 view .LVU2229 4342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6804 .loc 1 4342 3 view .LVU2230 4345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6805 .loc 1 4345 3 view .LVU2231 4345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6806 .loc 1 4345 3 view .LVU2232 6807 0002 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 6808 0006 012B cmp r3, #1 6809 0008 00F09580 beq .L429 6810 000c 0446 mov r4, r0 6811 000e 0D46 mov r5, r1 4345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6812 .loc 1 4345 3 discriminator 2 view .LVU2233 6813 0010 0123 movs r3, #1 6814 0012 80F83C30 strb r3, [r0, #60] 4345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6815 .loc 1 4345 3 discriminator 2 view .LVU2234 4347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 6816 .loc 1 4347 3 view .LVU2235 6817 0016 142A cmp r2, #20 6818 0018 00F28880 bhi .L430 6819 001c DFE802F0 tbb [pc, r2] 6820 .L423: 6821 0020 0B .byte (.L428-.L423)/2 6822 0021 86 .byte (.L430-.L423)/2 6823 0022 86 .byte (.L430-.L423)/2 6824 0023 86 .byte (.L430-.L423)/2 6825 0024 1F .byte (.L427-.L423)/2 6826 0025 86 .byte (.L430-.L423)/2 6827 0026 86 .byte (.L430-.L423)/2 6828 0027 86 .byte (.L430-.L423)/2 6829 0028 34 .byte (.L426-.L423)/2 6830 0029 86 .byte (.L430-.L423)/2 6831 002a 86 .byte (.L430-.L423)/2 6832 002b 86 .byte (.L430-.L423)/2 6833 002c 48 .byte (.L425-.L423)/2 6834 002d 86 .byte (.L430-.L423)/2 6835 002e 86 .byte (.L430-.L423)/2 6836 002f 86 .byte (.L430-.L423)/2 6837 0030 5D .byte (.L424-.L423)/2 6838 0031 86 .byte (.L430-.L423)/2 ARM GAS /tmp/ccodHXtm.s page 290 6839 0032 86 .byte (.L430-.L423)/2 6840 0033 86 .byte (.L430-.L423)/2 6841 0034 71 .byte (.L422-.L423)/2 6842 0035 00 .p2align 1 6843 .L428: 4352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6844 .loc 1 4352 7 view .LVU2236 4355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6845 .loc 1 4355 7 view .LVU2237 6846 0036 0068 ldr r0, [r0] 6847 .LVL550: 4355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6848 .loc 1 4355 7 is_stmt 0 view .LVU2238 6849 0038 FFF7FEFF bl TIM_OC1_SetConfig 6850 .LVL551: 4358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6851 .loc 1 4358 7 is_stmt 1 view .LVU2239 4358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6852 .loc 1 4358 11 is_stmt 0 view .LVU2240 6853 003c 2268 ldr r2, [r4] 4358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6854 .loc 1 4358 21 view .LVU2241 6855 003e 9369 ldr r3, [r2, #24] 4358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6856 .loc 1 4358 29 view .LVU2242 6857 0040 43F00803 orr r3, r3, #8 6858 0044 9361 str r3, [r2, #24] 4361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode; 6859 .loc 1 4361 7 is_stmt 1 view .LVU2243 4361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode; 6860 .loc 1 4361 11 is_stmt 0 view .LVU2244 6861 0046 2268 ldr r2, [r4] 4361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode; 6862 .loc 1 4361 21 view .LVU2245 6863 0048 9369 ldr r3, [r2, #24] 4361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode; 6864 .loc 1 4361 29 view .LVU2246 6865 004a 23F00403 bic r3, r3, #4 6866 004e 9361 str r3, [r2, #24] 4362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6867 .loc 1 4362 7 is_stmt 1 view .LVU2247 4362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6868 .loc 1 4362 11 is_stmt 0 view .LVU2248 6869 0050 2268 ldr r2, [r4] 4362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6870 .loc 1 4362 21 view .LVU2249 6871 0052 9369 ldr r3, [r2, #24] 4362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6872 .loc 1 4362 39 view .LVU2250 6873 0054 2969 ldr r1, [r5, #16] 4362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6874 .loc 1 4362 29 view .LVU2251 6875 0056 0B43 orrs r3, r3, r1 6876 0058 9361 str r3, [r2, #24] 4363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6877 .loc 1 4363 7 is_stmt 1 view .LVU2252 4336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 291 6878 .loc 1 4336 21 is_stmt 0 view .LVU2253 6879 005a 0020 movs r0, #0 4363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6880 .loc 1 4363 7 view .LVU2254 6881 005c 67E0 b .L421 6882 .LVL552: 6883 .L427: 4369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6884 .loc 1 4369 7 is_stmt 1 view .LVU2255 4372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6885 .loc 1 4372 7 view .LVU2256 6886 005e 0068 ldr r0, [r0] 6887 .LVL553: 4372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6888 .loc 1 4372 7 is_stmt 0 view .LVU2257 6889 0060 FFF7FEFF bl TIM_OC2_SetConfig 6890 .LVL554: 4375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6891 .loc 1 4375 7 is_stmt 1 view .LVU2258 4375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6892 .loc 1 4375 11 is_stmt 0 view .LVU2259 6893 0064 2268 ldr r2, [r4] 4375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6894 .loc 1 4375 21 view .LVU2260 6895 0066 9369 ldr r3, [r2, #24] 4375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6896 .loc 1 4375 29 view .LVU2261 6897 0068 43F40063 orr r3, r3, #2048 6898 006c 9361 str r3, [r2, #24] 4378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode << 8U; 6899 .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; 6900 .loc 1 4378 11 is_stmt 0 view .LVU2263 6901 006e 2268 ldr r2, [r4] 4378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode << 8U; 6902 .loc 1 4378 21 view .LVU2264 6903 0070 9369 ldr r3, [r2, #24] 4378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode << 8U; 6904 .loc 1 4378 29 view .LVU2265 6905 0072 23F48063 bic r3, r3, #1024 6906 0076 9361 str r3, [r2, #24] 4379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6907 .loc 1 4379 7 is_stmt 1 view .LVU2266 4379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6908 .loc 1 4379 11 is_stmt 0 view .LVU2267 6909 0078 2268 ldr r2, [r4] 4379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6910 .loc 1 4379 21 view .LVU2268 6911 007a 9369 ldr r3, [r2, #24] 4379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6912 .loc 1 4379 39 view .LVU2269 6913 007c 2969 ldr r1, [r5, #16] 4379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6914 .loc 1 4379 29 view .LVU2270 6915 007e 43EA0123 orr r3, r3, r1, lsl #8 6916 0082 9361 str r3, [r2, #24] 4380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/ccodHXtm.s page 292 6917 .loc 1 4380 7 is_stmt 1 view .LVU2271 4336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6918 .loc 1 4336 21 is_stmt 0 view .LVU2272 6919 0084 0020 movs r0, #0 4380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6920 .loc 1 4380 7 view .LVU2273 6921 0086 52E0 b .L421 6922 .LVL555: 6923 .L426: 4386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6924 .loc 1 4386 7 is_stmt 1 view .LVU2274 4389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6925 .loc 1 4389 7 view .LVU2275 6926 0088 0068 ldr r0, [r0] 6927 .LVL556: 4389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6928 .loc 1 4389 7 is_stmt 0 view .LVU2276 6929 008a FFF7FEFF bl TIM_OC3_SetConfig 6930 .LVL557: 4392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6931 .loc 1 4392 7 is_stmt 1 view .LVU2277 4392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6932 .loc 1 4392 11 is_stmt 0 view .LVU2278 6933 008e 2268 ldr r2, [r4] 4392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6934 .loc 1 4392 21 view .LVU2279 6935 0090 D369 ldr r3, [r2, #28] 4392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6936 .loc 1 4392 29 view .LVU2280 6937 0092 43F00803 orr r3, r3, #8 6938 0096 D361 str r3, [r2, #28] 4395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode; 6939 .loc 1 4395 7 is_stmt 1 view .LVU2281 4395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode; 6940 .loc 1 4395 11 is_stmt 0 view .LVU2282 6941 0098 2268 ldr r2, [r4] 4395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode; 6942 .loc 1 4395 21 view .LVU2283 6943 009a D369 ldr r3, [r2, #28] 4395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode; 6944 .loc 1 4395 29 view .LVU2284 6945 009c 23F00403 bic r3, r3, #4 6946 00a0 D361 str r3, [r2, #28] 4396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6947 .loc 1 4396 7 is_stmt 1 view .LVU2285 4396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6948 .loc 1 4396 11 is_stmt 0 view .LVU2286 6949 00a2 2268 ldr r2, [r4] 4396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6950 .loc 1 4396 21 view .LVU2287 6951 00a4 D369 ldr r3, [r2, #28] 4396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6952 .loc 1 4396 39 view .LVU2288 6953 00a6 2969 ldr r1, [r5, #16] 4396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6954 .loc 1 4396 29 view .LVU2289 6955 00a8 0B43 orrs r3, r3, r1 ARM GAS /tmp/ccodHXtm.s page 293 6956 00aa D361 str r3, [r2, #28] 4397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6957 .loc 1 4397 7 is_stmt 1 view .LVU2290 4336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6958 .loc 1 4336 21 is_stmt 0 view .LVU2291 6959 00ac 0020 movs r0, #0 4397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6960 .loc 1 4397 7 view .LVU2292 6961 00ae 3EE0 b .L421 6962 .LVL558: 6963 .L425: 4403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6964 .loc 1 4403 7 is_stmt 1 view .LVU2293 4406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6965 .loc 1 4406 7 view .LVU2294 6966 00b0 0068 ldr r0, [r0] 6967 .LVL559: 4406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6968 .loc 1 4406 7 is_stmt 0 view .LVU2295 6969 00b2 FFF7FEFF bl TIM_OC4_SetConfig 6970 .LVL560: 4409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6971 .loc 1 4409 7 is_stmt 1 view .LVU2296 4409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6972 .loc 1 4409 11 is_stmt 0 view .LVU2297 6973 00b6 2268 ldr r2, [r4] 4409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6974 .loc 1 4409 21 view .LVU2298 6975 00b8 D369 ldr r3, [r2, #28] 4409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6976 .loc 1 4409 29 view .LVU2299 6977 00ba 43F40063 orr r3, r3, #2048 6978 00be D361 str r3, [r2, #28] 4412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode << 8U; 6979 .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; 6980 .loc 1 4412 11 is_stmt 0 view .LVU2301 6981 00c0 2268 ldr r2, [r4] 4412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode << 8U; 6982 .loc 1 4412 21 view .LVU2302 6983 00c2 D369 ldr r3, [r2, #28] 4412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode << 8U; 6984 .loc 1 4412 29 view .LVU2303 6985 00c4 23F48063 bic r3, r3, #1024 6986 00c8 D361 str r3, [r2, #28] 4413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6987 .loc 1 4413 7 is_stmt 1 view .LVU2304 4413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6988 .loc 1 4413 11 is_stmt 0 view .LVU2305 6989 00ca 2268 ldr r2, [r4] 4413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6990 .loc 1 4413 21 view .LVU2306 6991 00cc D369 ldr r3, [r2, #28] 4413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 6992 .loc 1 4413 39 view .LVU2307 6993 00ce 2969 ldr r1, [r5, #16] 4413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; ARM GAS /tmp/ccodHXtm.s page 294 6994 .loc 1 4413 29 view .LVU2308 6995 00d0 43EA0123 orr r3, r3, r1, lsl #8 6996 00d4 D361 str r3, [r2, #28] 4414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 6997 .loc 1 4414 7 is_stmt 1 view .LVU2309 4336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 6998 .loc 1 4336 21 is_stmt 0 view .LVU2310 6999 00d6 0020 movs r0, #0 4414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7000 .loc 1 4414 7 view .LVU2311 7001 00d8 29E0 b .L421 7002 .LVL561: 7003 .L424: 4420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7004 .loc 1 4420 7 is_stmt 1 view .LVU2312 4423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7005 .loc 1 4423 7 view .LVU2313 7006 00da 0068 ldr r0, [r0] 7007 .LVL562: 4423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7008 .loc 1 4423 7 is_stmt 0 view .LVU2314 7009 00dc FFF7FEFF bl TIM_OC5_SetConfig 7010 .LVL563: 4426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7011 .loc 1 4426 7 is_stmt 1 view .LVU2315 4426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7012 .loc 1 4426 11 is_stmt 0 view .LVU2316 7013 00e0 2268 ldr r2, [r4] 4426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7014 .loc 1 4426 21 view .LVU2317 7015 00e2 136D ldr r3, [r2, #80] 4426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7016 .loc 1 4426 29 view .LVU2318 7017 00e4 43F00803 orr r3, r3, #8 7018 00e8 1365 str r3, [r2, #80] 4429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode; 7019 .loc 1 4429 7 is_stmt 1 view .LVU2319 4429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode; 7020 .loc 1 4429 11 is_stmt 0 view .LVU2320 7021 00ea 2268 ldr r2, [r4] 4429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode; 7022 .loc 1 4429 21 view .LVU2321 7023 00ec 136D ldr r3, [r2, #80] 4429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode; 7024 .loc 1 4429 29 view .LVU2322 7025 00ee 23F00403 bic r3, r3, #4 7026 00f2 1365 str r3, [r2, #80] 4430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7027 .loc 1 4430 7 is_stmt 1 view .LVU2323 4430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7028 .loc 1 4430 11 is_stmt 0 view .LVU2324 7029 00f4 2268 ldr r2, [r4] 4430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7030 .loc 1 4430 21 view .LVU2325 7031 00f6 136D ldr r3, [r2, #80] 4430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7032 .loc 1 4430 39 view .LVU2326 ARM GAS /tmp/ccodHXtm.s page 295 7033 00f8 2969 ldr r1, [r5, #16] 4430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7034 .loc 1 4430 29 view .LVU2327 7035 00fa 0B43 orrs r3, r3, r1 7036 00fc 1365 str r3, [r2, #80] 4431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7037 .loc 1 4431 7 is_stmt 1 view .LVU2328 4336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7038 .loc 1 4336 21 is_stmt 0 view .LVU2329 7039 00fe 0020 movs r0, #0 4431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7040 .loc 1 4431 7 view .LVU2330 7041 0100 15E0 b .L421 7042 .LVL564: 7043 .L422: 4437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7044 .loc 1 4437 7 is_stmt 1 view .LVU2331 4440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7045 .loc 1 4440 7 view .LVU2332 7046 0102 0068 ldr r0, [r0] 7047 .LVL565: 4440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7048 .loc 1 4440 7 is_stmt 0 view .LVU2333 7049 0104 FFF7FEFF bl TIM_OC6_SetConfig 7050 .LVL566: 4443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7051 .loc 1 4443 7 is_stmt 1 view .LVU2334 4443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7052 .loc 1 4443 11 is_stmt 0 view .LVU2335 7053 0108 2268 ldr r2, [r4] 4443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7054 .loc 1 4443 21 view .LVU2336 7055 010a 136D ldr r3, [r2, #80] 4443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7056 .loc 1 4443 29 view .LVU2337 7057 010c 43F40063 orr r3, r3, #2048 7058 0110 1365 str r3, [r2, #80] 4446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode << 8U; 7059 .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; 7060 .loc 1 4446 11 is_stmt 0 view .LVU2339 7061 0112 2268 ldr r2, [r4] 4446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode << 8U; 7062 .loc 1 4446 21 view .LVU2340 7063 0114 136D ldr r3, [r2, #80] 4446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCMR3 |= sConfig->OCFastMode << 8U; 7064 .loc 1 4446 29 view .LVU2341 7065 0116 23F48063 bic r3, r3, #1024 7066 011a 1365 str r3, [r2, #80] 4447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7067 .loc 1 4447 7 is_stmt 1 view .LVU2342 4447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7068 .loc 1 4447 11 is_stmt 0 view .LVU2343 7069 011c 2268 ldr r2, [r4] 4447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7070 .loc 1 4447 21 view .LVU2344 7071 011e 136D ldr r3, [r2, #80] ARM GAS /tmp/ccodHXtm.s page 296 4447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7072 .loc 1 4447 39 view .LVU2345 7073 0120 2969 ldr r1, [r5, #16] 4447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7074 .loc 1 4447 29 view .LVU2346 7075 0122 43EA0123 orr r3, r3, r1, lsl #8 7076 0126 1365 str r3, [r2, #80] 4448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7077 .loc 1 4448 7 is_stmt 1 view .LVU2347 4336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7078 .loc 1 4336 21 is_stmt 0 view .LVU2348 7079 0128 0020 movs r0, #0 4448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7080 .loc 1 4448 7 view .LVU2349 7081 012a 00E0 b .L421 7082 .LVL567: 7083 .L430: 4347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7084 .loc 1 4347 3 view .LVU2350 7085 012c 0120 movs r0, #1 7086 .LVL568: 7087 .L421: 4456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7088 .loc 1 4456 3 is_stmt 1 view .LVU2351 4456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7089 .loc 1 4456 3 view .LVU2352 7090 012e 0023 movs r3, #0 7091 0130 84F83C30 strb r3, [r4, #60] 4456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7092 .loc 1 4456 3 view .LVU2353 4458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7093 .loc 1 4458 3 view .LVU2354 7094 .LVL569: 7095 .L420: 4459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7096 .loc 1 4459 1 is_stmt 0 view .LVU2355 7097 0134 38BD pop {r3, r4, r5, pc} 7098 .LVL570: 7099 .L429: 4345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7100 .loc 1 4345 3 discriminator 1 view .LVU2356 7101 0136 0220 movs r0, #2 7102 .LVL571: 4345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7103 .loc 1 4345 3 discriminator 1 view .LVU2357 7104 0138 FCE7 b .L420 7105 .cfi_endproc 7106 .LFE390: 7108 .section .text.TIM_TI1_SetConfig,"ax",%progbits 7109 .align 1 7110 .global TIM_TI1_SetConfig 7111 .syntax unified 7112 .thumb 7113 .thumb_func 7115 TIM_TI1_SetConfig: 7116 .LVL572: 7117 .LFB441: ARM GAS /tmp/ccodHXtm.s page 297 7728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr1; 7118 .loc 1 7728 1 is_stmt 1 view -0 7119 .cfi_startproc 7120 @ args = 0, pretend = 0, frame = 0 7121 @ frame_needed = 0, uses_anonymous_args = 0 7122 @ link register save eliminated. 7728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr1; 7123 .loc 1 7728 1 is_stmt 0 view .LVU2359 7124 0000 70B4 push {r4, r5, r6} 7125 .LCFI65: 7126 .cfi_def_cfa_offset 12 7127 .cfi_offset 4, -12 7128 .cfi_offset 5, -8 7129 .cfi_offset 6, -4 7130 0002 9446 mov ip, r2 7729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 7131 .loc 1 7729 3 is_stmt 1 view .LVU2360 7730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7132 .loc 1 7730 3 view .LVU2361 7733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC1E; 7133 .loc 1 7733 3 view .LVU2362 7733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC1E; 7134 .loc 1 7733 11 is_stmt 0 view .LVU2363 7135 0004 066A ldr r6, [r0, #32] 7136 .LVL573: 7734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = TIMx->CCMR1; 7137 .loc 1 7734 3 is_stmt 1 view .LVU2364 7734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = TIMx->CCMR1; 7138 .loc 1 7734 7 is_stmt 0 view .LVU2365 7139 0006 046A ldr r4, [r0, #32] 7734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = TIMx->CCMR1; 7140 .loc 1 7734 14 view .LVU2366 7141 0008 24F00104 bic r4, r4, #1 7142 000c 0462 str r4, [r0, #32] 7735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7143 .loc 1 7735 3 is_stmt 1 view .LVU2367 7735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7144 .loc 1 7735 12 is_stmt 0 view .LVU2368 7145 000e 8469 ldr r4, [r0, #24] 7146 .LVL574: 7738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7147 .loc 1 7738 3 is_stmt 1 view .LVU2369 7738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7148 .loc 1 7738 7 is_stmt 0 view .LVU2370 7149 0010 144D ldr r5, .L436 7150 0012 A842 cmp r0, r5 7151 0014 14D0 beq .L433 7738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7152 .loc 1 7738 7 discriminator 2 view .LVU2371 7153 0016 B0F1804F cmp r0, #1073741824 7154 001a 11D0 beq .L433 7738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7155 .loc 1 7738 7 discriminator 4 view .LVU2372 7156 001c 124A ldr r2, .L436+4 7157 .LVL575: 7738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7158 .loc 1 7738 7 discriminator 4 view .LVU2373 ARM GAS /tmp/ccodHXtm.s page 298 7159 001e 9042 cmp r0, r2 7160 0020 0ED0 beq .L433 7738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7161 .loc 1 7738 7 discriminator 6 view .LVU2374 7162 0022 02F58062 add r2, r2, #1024 7163 0026 9042 cmp r0, r2 7164 0028 0AD0 beq .L433 7738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7165 .loc 1 7738 7 discriminator 8 view .LVU2375 7166 002a 02F59632 add r2, r2, #76800 7167 002e 9042 cmp r0, r2 7168 0030 06D0 beq .L433 7738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7169 .loc 1 7738 7 discriminator 10 view .LVU2376 7170 0032 02F54062 add r2, r2, #3072 7171 0036 9042 cmp r0, r2 7172 0038 02D0 beq .L433 7745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7173 .loc 1 7745 5 is_stmt 1 view .LVU2377 7745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7174 .loc 1 7745 14 is_stmt 0 view .LVU2378 7175 003a 44F00102 orr r2, r4, #1 7176 .LVL576: 7745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7177 .loc 1 7745 14 view .LVU2379 7178 003e 03E0 b .L434 7179 .LVL577: 7180 .L433: 7740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= TIM_ICSelection; 7181 .loc 1 7740 5 is_stmt 1 view .LVU2380 7740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= TIM_ICSelection; 7182 .loc 1 7740 14 is_stmt 0 view .LVU2381 7183 0040 24F00302 bic r2, r4, #3 7184 .LVL578: 7741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7185 .loc 1 7741 5 is_stmt 1 view .LVU2382 7741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7186 .loc 1 7741 14 is_stmt 0 view .LVU2383 7187 0044 42EA0C02 orr r2, r2, ip 7188 .LVL579: 7189 .L434: 7749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= ((TIM_ICFilter << 4U) & TIM_CCMR1_IC1F); 7190 .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); 7191 .loc 1 7749 12 is_stmt 0 view .LVU2385 7192 0048 22F0F002 bic r2, r2, #240 7193 .LVL580: 7750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7194 .loc 1 7750 3 is_stmt 1 view .LVU2386 7750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7195 .loc 1 7750 30 is_stmt 0 view .LVU2387 7196 004c 1B01 lsls r3, r3, #4 7197 .LVL581: 7750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7198 .loc 1 7750 37 view .LVU2388 7199 004e DBB2 uxtb r3, r3 7750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 299 7200 .loc 1 7750 12 view .LVU2389 7201 0050 1343 orrs r3, r3, r2 7202 .LVL582: 7753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (TIM_ICPolarity & (TIM_CCER_CC1P | TIM_CCER_CC1NP)); 7203 .loc 1 7753 3 is_stmt 1 view .LVU2390 7753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccer |= (TIM_ICPolarity & (TIM_CCER_CC1P | TIM_CCER_CC1NP)); 7204 .loc 1 7753 11 is_stmt 0 view .LVU2391 7205 0052 26F00A02 bic r2, r6, #10 7206 .LVL583: 7754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7207 .loc 1 7754 3 is_stmt 1 view .LVU2392 7754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7208 .loc 1 7754 30 is_stmt 0 view .LVU2393 7209 0056 01F00A01 and r1, r1, #10 7210 .LVL584: 7754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7211 .loc 1 7754 11 view .LVU2394 7212 005a 1143 orrs r1, r1, r2 7213 .LVL585: 7757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 7214 .loc 1 7757 3 is_stmt 1 view .LVU2395 7757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIMx->CCER = tmpccer; 7215 .loc 1 7757 15 is_stmt 0 view .LVU2396 7216 005c 8361 str r3, [r0, #24] 7758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7217 .loc 1 7758 3 is_stmt 1 view .LVU2397 7758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7218 .loc 1 7758 14 is_stmt 0 view .LVU2398 7219 005e 0162 str r1, [r0, #32] 7759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7220 .loc 1 7759 1 view .LVU2399 7221 0060 70BC pop {r4, r5, r6} 7222 .LCFI66: 7223 .cfi_restore 6 7224 .cfi_restore 5 7225 .cfi_restore 4 7226 .cfi_def_cfa_offset 0 7227 0062 7047 bx lr 7228 .L437: 7229 .align 2 7230 .L436: 7231 0064 002C0140 .word 1073818624 7232 0068 00040040 .word 1073742848 7233 .cfi_endproc 7234 .LFE441: 7236 .section .text.HAL_TIM_IC_ConfigChannel,"ax",%progbits 7237 .align 1 7238 .global HAL_TIM_IC_ConfigChannel 7239 .syntax unified 7240 .thumb 7241 .thumb_func 7243 HAL_TIM_IC_ConfigChannel: 7244 .LVL586: 7245 .LFB389: 4232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 7246 .loc 1 4232 1 is_stmt 1 view -0 7247 .cfi_startproc ARM GAS /tmp/ccodHXtm.s page 300 7248 @ args = 0, pretend = 0, frame = 0 7249 @ frame_needed = 0, uses_anonymous_args = 0 4232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 7250 .loc 1 4232 1 is_stmt 0 view .LVU2401 7251 0000 38B5 push {r3, r4, r5, lr} 7252 .LCFI67: 7253 .cfi_def_cfa_offset 16 7254 .cfi_offset 3, -16 7255 .cfi_offset 4, -12 7256 .cfi_offset 5, -8 7257 .cfi_offset 14, -4 4233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7258 .loc 1 4233 3 is_stmt 1 view .LVU2402 7259 .LVL587: 4236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_POLARITY(sConfig->ICPolarity)); 7260 .loc 1 4236 3 view .LVU2403 4237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_SELECTION(sConfig->ICSelection)); 7261 .loc 1 4237 3 view .LVU2404 4238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->ICPrescaler)); 7262 .loc 1 4238 3 view .LVU2405 4239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_IC_FILTER(sConfig->ICFilter)); 7263 .loc 1 4239 3 view .LVU2406 4240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7264 .loc 1 4240 3 view .LVU2407 4243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7265 .loc 1 4243 3 view .LVU2408 4243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7266 .loc 1 4243 3 view .LVU2409 7267 0002 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 7268 0006 012B cmp r3, #1 7269 0008 5ED0 beq .L446 7270 000a 0446 mov r4, r0 7271 000c 0D46 mov r5, r1 4243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7272 .loc 1 4243 3 discriminator 2 view .LVU2410 7273 000e 0123 movs r3, #1 7274 0010 80F83C30 strb r3, [r0, #60] 4243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7275 .loc 1 4243 3 discriminator 2 view .LVU2411 4245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7276 .loc 1 4245 3 view .LVU2412 7277 0014 0C2A cmp r2, #12 7278 0016 52D8 bhi .L447 7279 0018 DFE802F0 tbb [pc, r2] 7280 .L442: 7281 001c 07 .byte (.L445-.L442)/2 7282 001d 51 .byte (.L447-.L442)/2 7283 001e 51 .byte (.L447-.L442)/2 7284 001f 51 .byte (.L447-.L442)/2 7285 0020 19 .byte (.L444-.L442)/2 7286 0021 51 .byte (.L447-.L442)/2 7287 0022 51 .byte (.L447-.L442)/2 7288 0023 51 .byte (.L447-.L442)/2 7289 0024 2C .byte (.L443-.L442)/2 7290 0025 51 .byte (.L447-.L442)/2 7291 0026 51 .byte (.L447-.L442)/2 7292 0027 51 .byte (.L447-.L442)/2 ARM GAS /tmp/ccodHXtm.s page 301 7293 0028 3E .byte (.L441-.L442)/2 7294 0029 00 .p2align 1 7295 .L445: 4248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7296 .loc 1 4248 5 view .LVU2413 7297 002a CB68 ldr r3, [r1, #12] 7298 002c 4A68 ldr r2, [r1, #4] 7299 .LVL588: 4248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7300 .loc 1 4248 5 is_stmt 0 view .LVU2414 7301 002e 0968 ldr r1, [r1] 7302 .LVL589: 4248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7303 .loc 1 4248 5 view .LVU2415 7304 0030 0068 ldr r0, [r0] 7305 .LVL590: 4248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7306 .loc 1 4248 5 view .LVU2416 7307 0032 FFF7FEFF bl TIM_TI1_SetConfig 7308 .LVL591: 4254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7309 .loc 1 4254 5 is_stmt 1 view .LVU2417 4254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7310 .loc 1 4254 9 is_stmt 0 view .LVU2418 7311 0036 2268 ldr r2, [r4] 4254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7312 .loc 1 4254 19 view .LVU2419 7313 0038 9369 ldr r3, [r2, #24] 4254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7314 .loc 1 4254 27 view .LVU2420 7315 003a 23F00C03 bic r3, r3, #12 7316 003e 9361 str r3, [r2, #24] 4257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7317 .loc 1 4257 5 is_stmt 1 view .LVU2421 4257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7318 .loc 1 4257 9 is_stmt 0 view .LVU2422 7319 0040 2268 ldr r2, [r4] 4257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7320 .loc 1 4257 19 view .LVU2423 7321 0042 9369 ldr r3, [r2, #24] 4257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7322 .loc 1 4257 37 view .LVU2424 7323 0044 A968 ldr r1, [r5, #8] 4257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7324 .loc 1 4257 27 view .LVU2425 7325 0046 0B43 orrs r3, r3, r1 7326 0048 9361 str r3, [r2, #24] 4233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7327 .loc 1 4233 21 view .LVU2426 7328 004a 0020 movs r0, #0 7329 004c 38E0 b .L440 7330 .LVL592: 7331 .L444: 4262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7332 .loc 1 4262 5 is_stmt 1 view .LVU2427 4264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7333 .loc 1 4264 5 view .LVU2428 ARM GAS /tmp/ccodHXtm.s page 302 7334 004e CB68 ldr r3, [r1, #12] 7335 0050 4A68 ldr r2, [r1, #4] 7336 .LVL593: 4264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7337 .loc 1 4264 5 is_stmt 0 view .LVU2429 7338 0052 0968 ldr r1, [r1] 7339 .LVL594: 4264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7340 .loc 1 4264 5 view .LVU2430 7341 0054 0068 ldr r0, [r0] 7342 .LVL595: 4264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7343 .loc 1 4264 5 view .LVU2431 7344 0056 FFF7FEFF bl TIM_TI2_SetConfig 7345 .LVL596: 4270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7346 .loc 1 4270 5 is_stmt 1 view .LVU2432 4270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7347 .loc 1 4270 9 is_stmt 0 view .LVU2433 7348 005a 2268 ldr r2, [r4] 4270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7349 .loc 1 4270 19 view .LVU2434 7350 005c 9369 ldr r3, [r2, #24] 4270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7351 .loc 1 4270 27 view .LVU2435 7352 005e 23F44063 bic r3, r3, #3072 7353 0062 9361 str r3, [r2, #24] 4273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7354 .loc 1 4273 5 is_stmt 1 view .LVU2436 4273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7355 .loc 1 4273 9 is_stmt 0 view .LVU2437 7356 0064 2268 ldr r2, [r4] 4273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7357 .loc 1 4273 19 view .LVU2438 7358 0066 9369 ldr r3, [r2, #24] 4273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7359 .loc 1 4273 38 view .LVU2439 7360 0068 A968 ldr r1, [r5, #8] 4273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7361 .loc 1 4273 27 view .LVU2440 7362 006a 43EA0123 orr r3, r3, r1, lsl #8 7363 006e 9361 str r3, [r2, #24] 4233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7364 .loc 1 4233 21 view .LVU2441 7365 0070 0020 movs r0, #0 7366 0072 25E0 b .L440 7367 .LVL597: 7368 .L443: 4278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7369 .loc 1 4278 5 is_stmt 1 view .LVU2442 4280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7370 .loc 1 4280 5 view .LVU2443 7371 0074 CB68 ldr r3, [r1, #12] 7372 0076 4A68 ldr r2, [r1, #4] 7373 .LVL598: 4280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7374 .loc 1 4280 5 is_stmt 0 view .LVU2444 ARM GAS /tmp/ccodHXtm.s page 303 7375 0078 0968 ldr r1, [r1] 7376 .LVL599: 4280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7377 .loc 1 4280 5 view .LVU2445 7378 007a 0068 ldr r0, [r0] 7379 .LVL600: 4280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7380 .loc 1 4280 5 view .LVU2446 7381 007c FFF7FEFF bl TIM_TI3_SetConfig 7382 .LVL601: 4286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7383 .loc 1 4286 5 is_stmt 1 view .LVU2447 4286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7384 .loc 1 4286 9 is_stmt 0 view .LVU2448 7385 0080 2268 ldr r2, [r4] 4286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7386 .loc 1 4286 19 view .LVU2449 7387 0082 D369 ldr r3, [r2, #28] 4286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7388 .loc 1 4286 27 view .LVU2450 7389 0084 23F00C03 bic r3, r3, #12 7390 0088 D361 str r3, [r2, #28] 4289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7391 .loc 1 4289 5 is_stmt 1 view .LVU2451 4289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7392 .loc 1 4289 9 is_stmt 0 view .LVU2452 7393 008a 2268 ldr r2, [r4] 4289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7394 .loc 1 4289 19 view .LVU2453 7395 008c D369 ldr r3, [r2, #28] 4289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7396 .loc 1 4289 37 view .LVU2454 7397 008e A968 ldr r1, [r5, #8] 4289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7398 .loc 1 4289 27 view .LVU2455 7399 0090 0B43 orrs r3, r3, r1 7400 0092 D361 str r3, [r2, #28] 4233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7401 .loc 1 4233 21 view .LVU2456 7402 0094 0020 movs r0, #0 7403 0096 13E0 b .L440 7404 .LVL602: 7405 .L441: 4294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7406 .loc 1 4294 5 is_stmt 1 view .LVU2457 4296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7407 .loc 1 4296 5 view .LVU2458 7408 0098 CB68 ldr r3, [r1, #12] 7409 009a 4A68 ldr r2, [r1, #4] 7410 .LVL603: 4296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7411 .loc 1 4296 5 is_stmt 0 view .LVU2459 7412 009c 0968 ldr r1, [r1] 7413 .LVL604: 4296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7414 .loc 1 4296 5 view .LVU2460 7415 009e 0068 ldr r0, [r0] ARM GAS /tmp/ccodHXtm.s page 304 7416 .LVL605: 4296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICPolarity, 7417 .loc 1 4296 5 view .LVU2461 7418 00a0 FFF7FEFF bl TIM_TI4_SetConfig 7419 .LVL606: 4302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7420 .loc 1 4302 5 is_stmt 1 view .LVU2462 4302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7421 .loc 1 4302 9 is_stmt 0 view .LVU2463 7422 00a4 2268 ldr r2, [r4] 4302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7423 .loc 1 4302 19 view .LVU2464 7424 00a6 D369 ldr r3, [r2, #28] 4302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7425 .loc 1 4302 27 view .LVU2465 7426 00a8 23F44063 bic r3, r3, #3072 7427 00ac D361 str r3, [r2, #28] 4305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7428 .loc 1 4305 5 is_stmt 1 view .LVU2466 4305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7429 .loc 1 4305 9 is_stmt 0 view .LVU2467 7430 00ae 2268 ldr r2, [r4] 4305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7431 .loc 1 4305 19 view .LVU2468 7432 00b0 D369 ldr r3, [r2, #28] 4305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7433 .loc 1 4305 38 view .LVU2469 7434 00b2 A968 ldr r1, [r5, #8] 4305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7435 .loc 1 4305 27 view .LVU2470 7436 00b4 43EA0123 orr r3, r3, r1, lsl #8 7437 00b8 D361 str r3, [r2, #28] 4233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7438 .loc 1 4233 21 view .LVU2471 7439 00ba 0020 movs r0, #0 7440 00bc 00E0 b .L440 7441 .LVL607: 7442 .L447: 4243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7443 .loc 1 4243 3 discriminator 2 view .LVU2472 7444 00be 0120 movs r0, #1 7445 .LVL608: 7446 .L440: 4312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7447 .loc 1 4312 3 is_stmt 1 view .LVU2473 4312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7448 .loc 1 4312 3 view .LVU2474 7449 00c0 0023 movs r3, #0 7450 00c2 84F83C30 strb r3, [r4, #60] 4312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7451 .loc 1 4312 3 view .LVU2475 4314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7452 .loc 1 4314 3 view .LVU2476 7453 .LVL609: 7454 .L439: 4315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7455 .loc 1 4315 1 is_stmt 0 view .LVU2477 ARM GAS /tmp/ccodHXtm.s page 305 7456 00c6 38BD pop {r3, r4, r5, pc} 7457 .LVL610: 7458 .L446: 4243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7459 .loc 1 4243 3 discriminator 1 view .LVU2478 7460 00c8 0220 movs r0, #2 7461 .LVL611: 4243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7462 .loc 1 4243 3 discriminator 1 view .LVU2479 7463 00ca FCE7 b .L439 7464 .cfi_endproc 7465 .LFE389: 7467 .section .text.HAL_TIM_OnePulse_ConfigChannel,"ax",%progbits 7468 .align 1 7469 .global HAL_TIM_OnePulse_ConfigChannel 7470 .syntax unified 7471 .thumb 7472 .thumb_func 7474 HAL_TIM_OnePulse_ConfigChannel: 7475 .LVL612: 7476 .LFB391: 4482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 7477 .loc 1 4482 1 is_stmt 1 view -0 7478 .cfi_startproc 7479 @ args = 0, pretend = 0, frame = 32 7480 @ frame_needed = 0, uses_anonymous_args = 0 4483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_OC_InitTypeDef temp1; 7481 .loc 1 4483 3 view .LVU2481 4484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7482 .loc 1 4484 3 view .LVU2482 4487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_OPM_CHANNELS(InputChannel)); 7483 .loc 1 4487 3 view .LVU2483 4488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7484 .loc 1 4488 3 view .LVU2484 4490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7485 .loc 1 4490 3 view .LVU2485 4490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7486 .loc 1 4490 6 is_stmt 0 view .LVU2486 7487 0000 9A42 cmp r2, r3 7488 0002 7ED0 beq .L457 4482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 7489 .loc 1 4482 1 view .LVU2487 7490 0004 70B5 push {r4, r5, r6, lr} 7491 .LCFI68: 7492 .cfi_def_cfa_offset 16 7493 .cfi_offset 4, -16 7494 .cfi_offset 5, -12 7495 .cfi_offset 6, -8 7496 .cfi_offset 14, -4 7497 0006 88B0 sub sp, sp, #32 7498 .LCFI69: 7499 .cfi_def_cfa_offset 48 7500 0008 0446 mov r4, r0 7501 000a 0D46 mov r5, r1 7502 000c 1E46 mov r6, r3 4493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7503 .loc 1 4493 5 is_stmt 1 view .LVU2488 ARM GAS /tmp/ccodHXtm.s page 306 4493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7504 .loc 1 4493 5 view .LVU2489 7505 000e 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 7506 .LVL613: 4493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7507 .loc 1 4493 5 is_stmt 0 view .LVU2490 7508 0012 012B cmp r3, #1 7509 0014 77D0 beq .L458 4493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7510 .loc 1 4493 5 is_stmt 1 discriminator 2 view .LVU2491 7511 0016 0123 movs r3, #1 7512 0018 80F83C30 strb r3, [r0, #60] 4493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7513 .loc 1 4493 5 discriminator 2 view .LVU2492 4495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7514 .loc 1 4495 5 view .LVU2493 4495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7515 .loc 1 4495 17 is_stmt 0 view .LVU2494 7516 001c 0223 movs r3, #2 7517 001e 80F83D30 strb r3, [r0, #61] 4498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.Pulse = sConfig->Pulse; 7518 .loc 1 4498 5 is_stmt 1 view .LVU2495 4498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.Pulse = sConfig->Pulse; 7519 .loc 1 4498 27 is_stmt 0 view .LVU2496 7520 0022 0B68 ldr r3, [r1] 4498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.Pulse = sConfig->Pulse; 7521 .loc 1 4498 18 view .LVU2497 7522 0024 0193 str r3, [sp, #4] 4499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCPolarity = sConfig->OCPolarity; 7523 .loc 1 4499 5 is_stmt 1 view .LVU2498 4499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCPolarity = sConfig->OCPolarity; 7524 .loc 1 4499 26 is_stmt 0 view .LVU2499 7525 0026 4B68 ldr r3, [r1, #4] 4499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCPolarity = sConfig->OCPolarity; 7526 .loc 1 4499 17 view .LVU2500 7527 0028 0293 str r3, [sp, #8] 4500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCNPolarity = sConfig->OCNPolarity; 7528 .loc 1 4500 5 is_stmt 1 view .LVU2501 4500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCNPolarity = sConfig->OCNPolarity; 7529 .loc 1 4500 31 is_stmt 0 view .LVU2502 7530 002a 8B68 ldr r3, [r1, #8] 4500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCNPolarity = sConfig->OCNPolarity; 7531 .loc 1 4500 22 view .LVU2503 7532 002c 0393 str r3, [sp, #12] 4501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCIdleState = sConfig->OCIdleState; 7533 .loc 1 4501 5 is_stmt 1 view .LVU2504 4501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCIdleState = sConfig->OCIdleState; 7534 .loc 1 4501 32 is_stmt 0 view .LVU2505 7535 002e CB68 ldr r3, [r1, #12] 4501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCIdleState = sConfig->OCIdleState; 7536 .loc 1 4501 23 view .LVU2506 7537 0030 0493 str r3, [sp, #16] 4502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCNIdleState = sConfig->OCNIdleState; 7538 .loc 1 4502 5 is_stmt 1 view .LVU2507 4502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCNIdleState = sConfig->OCNIdleState; 7539 .loc 1 4502 32 is_stmt 0 view .LVU2508 7540 0032 0B69 ldr r3, [r1, #16] ARM GAS /tmp/ccodHXtm.s page 307 4502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** temp1.OCNIdleState = sConfig->OCNIdleState; 7541 .loc 1 4502 23 view .LVU2509 7542 0034 0693 str r3, [sp, #24] 4503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7543 .loc 1 4503 5 is_stmt 1 view .LVU2510 4503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7544 .loc 1 4503 33 is_stmt 0 view .LVU2511 7545 0036 4B69 ldr r3, [r1, #20] 4503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7546 .loc 1 4503 24 view .LVU2512 7547 0038 0793 str r3, [sp, #28] 4505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7548 .loc 1 4505 5 is_stmt 1 view .LVU2513 7549 003a 52B1 cbz r2, .L451 7550 003c 042A cmp r2, #4 7551 003e 11D0 beq .L452 7552 0040 0120 movs r0, #1 7553 .LVL614: 7554 .L453: 4578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7555 .loc 1 4578 5 view .LVU2514 4578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7556 .loc 1 4578 17 is_stmt 0 view .LVU2515 7557 0042 0123 movs r3, #1 7558 0044 84F83D30 strb r3, [r4, #61] 4580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7559 .loc 1 4580 5 is_stmt 1 view .LVU2516 4580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7560 .loc 1 4580 5 view .LVU2517 7561 0048 0023 movs r3, #0 7562 004a 84F83C30 strb r3, [r4, #60] 4580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7563 .loc 1 4580 5 view .LVU2518 4582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7564 .loc 1 4582 5 view .LVU2519 7565 .LVL615: 7566 .L450: 4588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7567 .loc 1 4588 1 is_stmt 0 view .LVU2520 7568 004e 08B0 add sp, sp, #32 7569 .LCFI70: 7570 .cfi_remember_state 7571 .cfi_def_cfa_offset 16 7572 @ sp needed 7573 0050 70BD pop {r4, r5, r6, pc} 7574 .LVL616: 7575 .L451: 7576 .LCFI71: 7577 .cfi_restore_state 4509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7578 .loc 1 4509 9 is_stmt 1 view .LVU2521 4511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7579 .loc 1 4511 9 view .LVU2522 7580 0052 01A9 add r1, sp, #4 7581 .LVL617: 4511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7582 .loc 1 4511 9 is_stmt 0 view .LVU2523 ARM GAS /tmp/ccodHXtm.s page 308 7583 0054 0068 ldr r0, [r0] 7584 .LVL618: 4511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7585 .loc 1 4511 9 view .LVU2524 7586 0056 FFF7FEFF bl TIM_OC1_SetConfig 7587 .LVL619: 4512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7588 .loc 1 4512 9 is_stmt 1 view .LVU2525 4528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7589 .loc 1 4528 5 view .LVU2526 7590 .L454: 4530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7591 .loc 1 4530 7 view .LVU2527 7592 005a 46B1 cbz r6, .L455 7593 005c 042E cmp r6, #4 7594 005e 2BD0 beq .L456 7595 0060 0120 movs r0, #1 7596 0062 EEE7 b .L453 7597 .LVL620: 7598 .L452: 4517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7599 .loc 1 4517 9 view .LVU2528 4519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7600 .loc 1 4519 9 view .LVU2529 7601 0064 01A9 add r1, sp, #4 7602 .LVL621: 4519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7603 .loc 1 4519 9 is_stmt 0 view .LVU2530 7604 0066 0068 ldr r0, [r0] 7605 .LVL622: 4519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7606 .loc 1 4519 9 view .LVU2531 7607 0068 FFF7FEFF bl TIM_OC2_SetConfig 7608 .LVL623: 4520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7609 .loc 1 4520 9 is_stmt 1 view .LVU2532 4528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7610 .loc 1 4528 5 view .LVU2533 7611 006c F5E7 b .L454 7612 .L455: 4534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7613 .loc 1 4534 11 view .LVU2534 4536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICSelection, sConfig->ICFilter); 7614 .loc 1 4536 11 view .LVU2535 7615 006e 2B6A ldr r3, [r5, #32] 7616 0070 EA69 ldr r2, [r5, #28] 7617 0072 A969 ldr r1, [r5, #24] 7618 0074 2068 ldr r0, [r4] 7619 0076 FFF7FEFF bl TIM_TI1_SetConfig 7620 .LVL624: 4540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7621 .loc 1 4540 11 view .LVU2536 4540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7622 .loc 1 4540 15 is_stmt 0 view .LVU2537 7623 007a 2268 ldr r2, [r4] 4540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7624 .loc 1 4540 25 view .LVU2538 ARM GAS /tmp/ccodHXtm.s page 309 7625 007c 9369 ldr r3, [r2, #24] 4540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7626 .loc 1 4540 33 view .LVU2539 7627 007e 23F00C03 bic r3, r3, #12 7628 0082 9361 str r3, [r2, #24] 4543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI1FP1; 7629 .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; 7630 .loc 1 4543 15 is_stmt 0 view .LVU2541 7631 0084 2268 ldr r2, [r4] 4543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI1FP1; 7632 .loc 1 4543 25 view .LVU2542 7633 0086 9368 ldr r3, [r2, #8] 4543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI1FP1; 7634 .loc 1 4543 32 view .LVU2543 7635 0088 23F44013 bic r3, r3, #3145728 7636 008c 23F07003 bic r3, r3, #112 7637 0090 9360 str r3, [r2, #8] 4544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7638 .loc 1 4544 11 is_stmt 1 view .LVU2544 4544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7639 .loc 1 4544 15 is_stmt 0 view .LVU2545 7640 0092 2268 ldr r2, [r4] 4544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7641 .loc 1 4544 25 view .LVU2546 7642 0094 9368 ldr r3, [r2, #8] 4544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7643 .loc 1 4544 32 view .LVU2547 7644 0096 43F05003 orr r3, r3, #80 7645 009a 9360 str r3, [r2, #8] 4547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 7646 .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; 7647 .loc 1 4547 15 is_stmt 0 view .LVU2549 7648 009c 2268 ldr r2, [r4] 4547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 7649 .loc 1 4547 25 view .LVU2550 7650 009e 9368 ldr r3, [r2, #8] 4547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 7651 .loc 1 4547 32 view .LVU2551 7652 00a0 23F48033 bic r3, r3, #65536 7653 00a4 23F00703 bic r3, r3, #7 7654 00a8 9360 str r3, [r2, #8] 4548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7655 .loc 1 4548 11 is_stmt 1 view .LVU2552 4548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7656 .loc 1 4548 15 is_stmt 0 view .LVU2553 7657 00aa 2268 ldr r2, [r4] 4548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7658 .loc 1 4548 25 view .LVU2554 7659 00ac 9368 ldr r3, [r2, #8] 4548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7660 .loc 1 4548 32 view .LVU2555 7661 00ae 43F00603 orr r3, r3, #6 7662 00b2 9360 str r3, [r2, #8] 4549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7663 .loc 1 4549 11 is_stmt 1 view .LVU2556 ARM GAS /tmp/ccodHXtm.s page 310 7664 00b4 0020 movs r0, #0 7665 00b6 C4E7 b .L453 7666 .L456: 4554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7667 .loc 1 4554 11 view .LVU2557 4556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sConfig->ICSelection, sConfig->ICFilter); 7668 .loc 1 4556 11 view .LVU2558 7669 00b8 2B6A ldr r3, [r5, #32] 7670 00ba EA69 ldr r2, [r5, #28] 7671 00bc A969 ldr r1, [r5, #24] 7672 00be 2068 ldr r0, [r4] 7673 00c0 FFF7FEFF bl TIM_TI2_SetConfig 7674 .LVL625: 4560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7675 .loc 1 4560 11 view .LVU2559 4560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7676 .loc 1 4560 15 is_stmt 0 view .LVU2560 7677 00c4 2268 ldr r2, [r4] 4560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7678 .loc 1 4560 25 view .LVU2561 7679 00c6 9369 ldr r3, [r2, #24] 4560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7680 .loc 1 4560 33 view .LVU2562 7681 00c8 23F44063 bic r3, r3, #3072 7682 00cc 9361 str r3, [r2, #24] 4563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI2FP2; 7683 .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; 7684 .loc 1 4563 15 is_stmt 0 view .LVU2564 7685 00ce 2268 ldr r2, [r4] 4563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI2FP2; 7686 .loc 1 4563 25 view .LVU2565 7687 00d0 9368 ldr r3, [r2, #8] 4563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI2FP2; 7688 .loc 1 4563 32 view .LVU2566 7689 00d2 23F44013 bic r3, r3, #3145728 7690 00d6 23F07003 bic r3, r3, #112 7691 00da 9360 str r3, [r2, #8] 4564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7692 .loc 1 4564 11 is_stmt 1 view .LVU2567 4564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7693 .loc 1 4564 15 is_stmt 0 view .LVU2568 7694 00dc 2268 ldr r2, [r4] 4564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7695 .loc 1 4564 25 view .LVU2569 7696 00de 9368 ldr r3, [r2, #8] 4564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7697 .loc 1 4564 32 view .LVU2570 7698 00e0 43F06003 orr r3, r3, #96 7699 00e4 9360 str r3, [r2, #8] 4567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 7700 .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; 7701 .loc 1 4567 15 is_stmt 0 view .LVU2572 7702 00e6 2268 ldr r2, [r4] 4567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 7703 .loc 1 4567 25 view .LVU2573 ARM GAS /tmp/ccodHXtm.s page 311 7704 00e8 9368 ldr r3, [r2, #8] 4567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; 7705 .loc 1 4567 32 view .LVU2574 7706 00ea 23F48033 bic r3, r3, #65536 7707 00ee 23F00703 bic r3, r3, #7 7708 00f2 9360 str r3, [r2, #8] 4568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7709 .loc 1 4568 11 is_stmt 1 view .LVU2575 4568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7710 .loc 1 4568 15 is_stmt 0 view .LVU2576 7711 00f4 2268 ldr r2, [r4] 4568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7712 .loc 1 4568 25 view .LVU2577 7713 00f6 9368 ldr r3, [r2, #8] 4568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7714 .loc 1 4568 32 view .LVU2578 7715 00f8 43F00603 orr r3, r3, #6 7716 00fc 9360 str r3, [r2, #8] 4569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7717 .loc 1 4569 11 is_stmt 1 view .LVU2579 7718 00fe 0020 movs r0, #0 7719 0100 9FE7 b .L453 7720 .LVL626: 7721 .L457: 7722 .LCFI72: 7723 .cfi_def_cfa_offset 0 7724 .cfi_restore 4 7725 .cfi_restore 5 7726 .cfi_restore 6 7727 .cfi_restore 14 4586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7728 .loc 1 4586 12 is_stmt 0 view .LVU2580 7729 0102 0120 movs r0, #1 7730 .LVL627: 4588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7731 .loc 1 4588 1 view .LVU2581 7732 0104 7047 bx lr 7733 .LVL628: 7734 .L458: 7735 .LCFI73: 7736 .cfi_def_cfa_offset 48 7737 .cfi_offset 4, -16 7738 .cfi_offset 5, -12 7739 .cfi_offset 6, -8 7740 .cfi_offset 14, -4 4493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7741 .loc 1 4493 5 discriminator 1 view .LVU2582 7742 0106 0220 movs r0, #2 7743 .LVL629: 4493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7744 .loc 1 4493 5 discriminator 1 view .LVU2583 7745 0108 A1E7 b .L450 7746 .cfi_endproc 7747 .LFE391: 7749 .section .text.TIM_ETR_SetConfig,"ax",%progbits 7750 .align 1 7751 .global TIM_ETR_SetConfig ARM GAS /tmp/ccodHXtm.s page 312 7752 .syntax unified 7753 .thumb 7754 .thumb_func 7756 TIM_ETR_SetConfig: 7757 .LVL630: 7758 .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 **** { 7759 .loc 1 8033 1 is_stmt 1 view -0 7760 .cfi_startproc 7761 @ args = 0, pretend = 0, frame = 0 7762 @ frame_needed = 0, uses_anonymous_args = 0 7763 @ link register save eliminated. 7764 .loc 1 8033 1 is_stmt 0 view .LVU2585 7765 0000 10B4 push {r4} 7766 .LCFI74: 7767 .cfi_def_cfa_offset 4 7768 .cfi_offset 4, -4 8034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 7769 .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; 7770 .loc 1 8036 3 view .LVU2587 7771 .loc 1 8036 11 is_stmt 0 view .LVU2588 7772 0002 8468 ldr r4, [r0, #8] 7773 .LVL631: 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); 7774 .loc 1 8039 3 is_stmt 1 view .LVU2589 7775 .loc 1 8039 11 is_stmt 0 view .LVU2590 7776 0004 24F47F4C bic ip, r4, #65280 7777 .LVL632: 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))); 7778 .loc 1 8042 3 is_stmt 1 view .LVU2591 7779 .loc 1 8042 67 is_stmt 0 view .LVU2592 7780 0008 42EA0322 orr r2, r2, r3, lsl #8 ARM GAS /tmp/ccodHXtm.s page 313 7781 .LVL633: 7782 .loc 1 8042 45 view .LVU2593 7783 000c 0A43 orrs r2, r2, r1 7784 .loc 1 8042 11 view .LVU2594 7785 000e 42EA0C02 orr r2, r2, ip 7786 .LVL634: 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; 7787 .loc 1 8045 3 is_stmt 1 view .LVU2595 7788 .loc 1 8045 14 is_stmt 0 view .LVU2596 7789 0012 8260 str r2, [r0, #8] 8046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7790 .loc 1 8046 1 view .LVU2597 7791 0014 5DF8044B ldr r4, [sp], #4 7792 .LCFI75: 7793 .cfi_restore 4 7794 .cfi_def_cfa_offset 0 7795 0018 7047 bx lr 7796 .cfi_endproc 7797 .LFE448: 7799 .section .text.HAL_TIM_ConfigOCrefClear,"ax",%progbits 7800 .align 1 7801 .global HAL_TIM_ConfigOCrefClear 7802 .syntax unified 7803 .thumb 7804 .thumb_func 7806 HAL_TIM_ConfigOCrefClear: 7807 .LVL635: 7808 .LFB399: 5363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 7809 .loc 1 5363 1 is_stmt 1 view -0 7810 .cfi_startproc 7811 @ args = 0, pretend = 0, frame = 0 7812 @ frame_needed = 0, uses_anonymous_args = 0 5364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7813 .loc 1 5364 3 view .LVU2599 5367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLEARINPUT_SOURCE(sClearInputConfig->ClearInputSource)); 7814 .loc 1 5367 3 view .LVU2600 5368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7815 .loc 1 5368 3 view .LVU2601 5371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7816 .loc 1 5371 3 view .LVU2602 5371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7817 .loc 1 5371 3 view .LVU2603 7818 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 7819 0004 012B cmp r3, #1 7820 0006 00F01D81 beq .L491 5363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 7821 .loc 1 5363 1 is_stmt 0 view .LVU2604 7822 000a 70B5 push {r4, r5, r6, lr} 7823 .LCFI76: 7824 .cfi_def_cfa_offset 16 7825 .cfi_offset 4, -16 7826 .cfi_offset 5, -12 7827 .cfi_offset 6, -8 7828 .cfi_offset 14, -4 ARM GAS /tmp/ccodHXtm.s page 314 7829 000c 0446 mov r4, r0 7830 000e 0D46 mov r5, r1 7831 0010 1646 mov r6, r2 5371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7832 .loc 1 5371 3 is_stmt 1 discriminator 2 view .LVU2605 7833 0012 0123 movs r3, #1 7834 0014 80F83C30 strb r3, [r0, #60] 5371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7835 .loc 1 5371 3 discriminator 2 view .LVU2606 5373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7836 .loc 1 5373 3 view .LVU2607 5373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7837 .loc 1 5373 15 is_stmt 0 view .LVU2608 7838 0018 0223 movs r3, #2 7839 001a 80F83D30 strb r3, [r0, #61] 5375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7840 .loc 1 5375 3 is_stmt 1 view .LVU2609 5375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7841 .loc 1 5375 28 is_stmt 0 view .LVU2610 7842 001e 4B68 ldr r3, [r1, #4] 5375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7843 .loc 1 5375 3 view .LVU2611 7844 0020 B3F5003F cmp r3, #131072 7845 0024 3BD0 beq .L467 7846 0026 07D8 bhi .L468 7847 0028 012B cmp r3, #1 7848 002a 6ED0 beq .L469 7849 002c B3F5803F cmp r3, #65536 7850 0030 35D0 beq .L467 7851 0032 A3B3 cbz r3, .L467 7852 0034 0120 movs r0, #1 7853 .LVL636: 5375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7854 .loc 1 5375 3 view .LVU2612 7855 0036 FEE0 b .L470 7856 .LVL637: 7857 .L468: 5375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7858 .loc 1 5375 3 view .LVU2613 7859 0038 B3F5403F cmp r3, #196608 7860 003c 2FD0 beq .L467 7861 003e B3F1FF3F cmp r3, #-1 7862 0042 40F0F580 bne .L492 5380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7863 .loc 1 5380 7 is_stmt 1 view .LVU2614 5380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7864 .loc 1 5380 11 is_stmt 0 view .LVU2615 7865 0046 0368 ldr r3, [r0] 5380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7866 .loc 1 5380 10 view .LVU2616 7867 0048 7F4A ldr r2, .L498 7868 .LVL638: 5380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7869 .loc 1 5380 10 view .LVU2617 7870 004a 9342 cmp r3, r2 7871 004c 1BD0 beq .L471 5380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccodHXtm.s page 315 7872 .loc 1 5380 11 discriminator 1 view .LVU2618 7873 004e B3F1804F cmp r3, #1073741824 7874 0052 18D0 beq .L471 5380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7875 .loc 1 5380 11 discriminator 2 view .LVU2619 7876 0054 A2F59432 sub r2, r2, #75776 7877 0058 9342 cmp r3, r2 7878 005a 14D0 beq .L471 5380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7879 .loc 1 5380 11 discriminator 3 view .LVU2620 7880 005c 02F59832 add r2, r2, #77824 7881 0060 9342 cmp r3, r2 7882 0062 10D0 beq .L471 5380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7883 .loc 1 5380 11 discriminator 4 view .LVU2621 7884 0064 02F54062 add r2, r2, #3072 7885 0068 9342 cmp r3, r2 7886 006a 0CD0 beq .L471 5380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7887 .loc 1 5380 11 discriminator 5 view .LVU2622 7888 006c 02F58062 add r2, r2, #1024 7889 0070 9342 cmp r3, r2 7890 0072 08D0 beq .L471 5380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7891 .loc 1 5380 11 discriminator 6 view .LVU2623 7892 0074 02F58062 add r2, r2, #1024 7893 0078 9342 cmp r3, r2 7894 007a 04D0 beq .L471 5389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7895 .loc 1 5389 9 is_stmt 1 view .LVU2624 7896 007c 9A68 ldr r2, [r3, #8] 7897 007e 22F47F42 bic r2, r2, #65280 7898 0082 9A60 str r2, [r3, #8] 5455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7899 .loc 1 5455 3 view .LVU2625 7900 0084 31E0 b .L473 7901 .L471: 5382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7902 .loc 1 5382 9 view .LVU2626 7903 0086 9A68 ldr r2, [r3, #8] 7904 0088 22F47F42 bic r2, r2, #65280 7905 008c 22F00802 bic r2, r2, #8 7906 0090 9A60 str r2, [r3, #8] 5385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7907 .loc 1 5385 9 view .LVU2627 7908 0092 2268 ldr r2, [r4] 7909 0094 536E ldr r3, [r2, #100] 7910 0096 23F4E023 bic r3, r3, #458752 7911 009a 5366 str r3, [r2, #100] 5455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7912 .loc 1 5455 3 view .LVU2628 7913 009c 25E0 b .L473 7914 .LVL639: 7915 .L467: 5408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7916 .loc 1 5408 7 view .LVU2629 5408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccodHXtm.s page 316 7917 .loc 1 5408 11 is_stmt 0 view .LVU2630 7918 009e 2368 ldr r3, [r4] 5408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7919 .loc 1 5408 10 view .LVU2631 7920 00a0 694A ldr r2, .L498 7921 .LVL640: 5408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7922 .loc 1 5408 10 view .LVU2632 7923 00a2 9342 cmp r3, r2 7924 00a4 16D0 beq .L474 5408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7925 .loc 1 5408 11 discriminator 1 view .LVU2633 7926 00a6 B3F1804F cmp r3, #1073741824 7927 00aa 13D0 beq .L474 5408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7928 .loc 1 5408 11 discriminator 2 view .LVU2634 7929 00ac A2F59432 sub r2, r2, #75776 7930 00b0 9342 cmp r3, r2 7931 00b2 0FD0 beq .L474 5408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7932 .loc 1 5408 11 discriminator 3 view .LVU2635 7933 00b4 02F59832 add r2, r2, #77824 7934 00b8 9342 cmp r3, r2 7935 00ba 0BD0 beq .L474 5408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7936 .loc 1 5408 11 discriminator 4 view .LVU2636 7937 00bc 02F54062 add r2, r2, #3072 7938 00c0 9342 cmp r3, r2 7939 00c2 07D0 beq .L474 5408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7940 .loc 1 5408 11 discriminator 5 view .LVU2637 7941 00c4 02F58062 add r2, r2, #1024 7942 00c8 9342 cmp r3, r2 7943 00ca 03D0 beq .L474 5408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7944 .loc 1 5408 11 discriminator 6 view .LVU2638 7945 00cc 02F58062 add r2, r2, #1024 7946 00d0 9342 cmp r3, r2 7947 00d2 03D1 bne .L475 7948 .L474: 5411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7949 .loc 1 5411 9 is_stmt 1 view .LVU2639 7950 00d4 9A68 ldr r2, [r3, #8] 7951 00d6 22F00802 bic r2, r2, #8 7952 00da 9A60 str r2, [r3, #8] 7953 .L475: 5415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7954 .loc 1 5415 7 view .LVU2640 7955 00dc 2268 ldr r2, [r4] 7956 00de 536E ldr r3, [r2, #100] 7957 00e0 23F4E023 bic r3, r3, #458752 7958 00e4 6968 ldr r1, [r5, #4] 7959 .LVL641: 5415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 7960 .loc 1 5415 7 is_stmt 0 view .LVU2641 7961 00e6 0B43 orrs r3, r3, r1 7962 00e8 5366 str r3, [r2, #100] ARM GAS /tmp/ccodHXtm.s page 317 5416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 7963 .loc 1 5416 7 is_stmt 1 view .LVU2642 5455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7964 .loc 1 5455 3 view .LVU2643 7965 .LVL642: 7966 .L473: 5457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7967 .loc 1 5457 5 view .LVU2644 7968 00ea 142E cmp r6, #20 7969 00ec 00F2A280 bhi .L493 7970 00f0 DFE806F0 tbb [pc, r6] 7971 .L479: 7972 00f4 3E .byte (.L484-.L479)/2 7973 00f5 A0 .byte (.L493-.L479)/2 7974 00f6 A0 .byte (.L493-.L479)/2 7975 00f7 A0 .byte (.L493-.L479)/2 7976 00f8 4E .byte (.L483-.L479)/2 7977 00f9 A0 .byte (.L493-.L479)/2 7978 00fa A0 .byte (.L493-.L479)/2 7979 00fb A0 .byte (.L493-.L479)/2 7980 00fc 5E .byte (.L482-.L479)/2 7981 00fd A0 .byte (.L493-.L479)/2 7982 00fe A0 .byte (.L493-.L479)/2 7983 00ff A0 .byte (.L493-.L479)/2 7984 0100 6E .byte (.L481-.L479)/2 7985 0101 A0 .byte (.L493-.L479)/2 7986 0102 A0 .byte (.L493-.L479)/2 7987 0103 A0 .byte (.L493-.L479)/2 7988 0104 7E .byte (.L480-.L479)/2 7989 0105 A0 .byte (.L493-.L479)/2 7990 0106 A0 .byte (.L493-.L479)/2 7991 0107 A0 .byte (.L493-.L479)/2 7992 0108 8E .byte (.L478-.L479)/2 7993 .LVL643: 7994 0109 00 .p2align 1 7995 .L469: 5422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLEARINPUT_PRESCALER(sClearInputConfig->ClearInputPrescaler)); 7996 .loc 1 5422 7 view .LVU2645 5423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLEARINPUT_FILTER(sClearInputConfig->ClearInputFilter)); 7997 .loc 1 5423 7 view .LVU2646 5424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 7998 .loc 1 5424 7 view .LVU2647 5427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 7999 .loc 1 5427 7 view .LVU2648 5427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8000 .loc 1 5427 28 is_stmt 0 view .LVU2649 8001 010a C968 ldr r1, [r1, #12] 8002 .LVL644: 5427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8003 .loc 1 5427 10 view .LVU2650 8004 010c 31B1 cbz r1, .L476 5429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 8005 .loc 1 5429 9 is_stmt 1 view .LVU2651 5429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 8006 .loc 1 5429 21 is_stmt 0 view .LVU2652 8007 010e 0120 movs r0, #1 8008 .LVL645: ARM GAS /tmp/ccodHXtm.s page 318 5429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 8009 .loc 1 5429 21 view .LVU2653 8010 0110 84F83D00 strb r0, [r4, #61] 5430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 8011 .loc 1 5430 9 is_stmt 1 view .LVU2654 5430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 8012 .loc 1 5430 9 view .LVU2655 8013 0114 0023 movs r3, #0 8014 0116 84F83C30 strb r3, [r4, #60] 5430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 8015 .loc 1 5430 9 view .LVU2656 5431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8016 .loc 1 5431 9 view .LVU2657 5431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8017 .loc 1 5431 16 is_stmt 0 view .LVU2658 8018 011a 92E0 b .L466 8019 .LVL646: 8020 .L476: 5434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClearInputConfig->ClearInputPrescaler, 8021 .loc 1 5434 7 is_stmt 1 view .LVU2659 8022 011c 2B69 ldr r3, [r5, #16] 8023 011e AA68 ldr r2, [r5, #8] 8024 .LVL647: 5434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClearInputConfig->ClearInputPrescaler, 8025 .loc 1 5434 7 is_stmt 0 view .LVU2660 8026 0120 0068 ldr r0, [r0] 8027 .LVL648: 5434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClearInputConfig->ClearInputPrescaler, 8028 .loc 1 5434 7 view .LVU2661 8029 0122 FFF7FEFF bl TIM_ETR_SetConfig 8030 .LVL649: 5439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8031 .loc 1 5439 7 is_stmt 1 view .LVU2662 5439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8032 .loc 1 5439 11 is_stmt 0 view .LVU2663 8033 0126 2368 ldr r3, [r4] 5439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8034 .loc 1 5439 10 view .LVU2664 8035 0128 474A ldr r2, .L498 8036 012a 9342 cmp r3, r2 8037 012c 16D0 beq .L477 5439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8038 .loc 1 5439 11 discriminator 1 view .LVU2665 8039 012e B3F1804F cmp r3, #1073741824 8040 0132 13D0 beq .L477 5439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8041 .loc 1 5439 11 discriminator 2 view .LVU2666 8042 0134 A2F59432 sub r2, r2, #75776 8043 0138 9342 cmp r3, r2 8044 013a 0FD0 beq .L477 5439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8045 .loc 1 5439 11 discriminator 3 view .LVU2667 8046 013c 02F59832 add r2, r2, #77824 8047 0140 9342 cmp r3, r2 8048 0142 0BD0 beq .L477 5439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8049 .loc 1 5439 11 discriminator 4 view .LVU2668 ARM GAS /tmp/ccodHXtm.s page 319 8050 0144 02F54062 add r2, r2, #3072 8051 0148 9342 cmp r3, r2 8052 014a 07D0 beq .L477 5439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8053 .loc 1 5439 11 discriminator 5 view .LVU2669 8054 014c 02F58062 add r2, r2, #1024 8055 0150 9342 cmp r3, r2 8056 0152 03D0 beq .L477 5439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8057 .loc 1 5439 11 discriminator 6 view .LVU2670 8058 0154 02F58062 add r2, r2, #1024 8059 0158 9342 cmp r3, r2 8060 015a C6D1 bne .L473 8061 .L477: 5442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8062 .loc 1 5442 9 is_stmt 1 view .LVU2671 8063 015c 9A68 ldr r2, [r3, #8] 8064 015e 42F00802 orr r2, r2, #8 8065 0162 9A60 str r2, [r3, #8] 5445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8066 .loc 1 5445 9 view .LVU2672 8067 0164 2268 ldr r2, [r4] 8068 0166 536E ldr r3, [r2, #100] 8069 0168 23F4E023 bic r3, r3, #458752 8070 016c 5366 str r3, [r2, #100] 5455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8071 .loc 1 5455 3 view .LVU2673 8072 016e BCE7 b .L473 8073 .LVL650: 8074 .L484: 5461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8075 .loc 1 5461 9 view .LVU2674 5461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8076 .loc 1 5461 30 is_stmt 0 view .LVU2675 8077 0170 2B68 ldr r3, [r5] 5461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8078 .loc 1 5461 12 view .LVU2676 8079 0172 33B1 cbz r3, .L485 5464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8080 .loc 1 5464 11 is_stmt 1 view .LVU2677 8081 0174 2268 ldr r2, [r4] 8082 0176 9369 ldr r3, [r2, #24] 8083 0178 43F08003 orr r3, r3, #128 8084 017c 9361 str r3, [r2, #24] 8085 017e 0020 movs r0, #0 8086 0180 59E0 b .L470 8087 .L485: 5469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8088 .loc 1 5469 11 view .LVU2678 8089 0182 2268 ldr r2, [r4] 8090 0184 9369 ldr r3, [r2, #24] 8091 0186 23F08003 bic r3, r3, #128 8092 018a 9361 str r3, [r2, #24] 8093 018c 0020 movs r0, #0 8094 018e 52E0 b .L470 8095 .L483: 5475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccodHXtm.s page 320 8096 .loc 1 5475 9 view .LVU2679 5475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8097 .loc 1 5475 30 is_stmt 0 view .LVU2680 8098 0190 2B68 ldr r3, [r5] 5475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8099 .loc 1 5475 12 view .LVU2681 8100 0192 33B1 cbz r3, .L486 5478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8101 .loc 1 5478 11 is_stmt 1 view .LVU2682 8102 0194 2268 ldr r2, [r4] 8103 0196 9369 ldr r3, [r2, #24] 8104 0198 43F40043 orr r3, r3, #32768 8105 019c 9361 str r3, [r2, #24] 8106 019e 0020 movs r0, #0 8107 01a0 49E0 b .L470 8108 .L486: 5483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8109 .loc 1 5483 11 view .LVU2683 8110 01a2 2268 ldr r2, [r4] 8111 01a4 9369 ldr r3, [r2, #24] 8112 01a6 23F40043 bic r3, r3, #32768 8113 01aa 9361 str r3, [r2, #24] 8114 01ac 0020 movs r0, #0 8115 01ae 42E0 b .L470 8116 .L482: 5489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8117 .loc 1 5489 9 view .LVU2684 5489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8118 .loc 1 5489 30 is_stmt 0 view .LVU2685 8119 01b0 2B68 ldr r3, [r5] 5489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8120 .loc 1 5489 12 view .LVU2686 8121 01b2 33B1 cbz r3, .L487 5492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8122 .loc 1 5492 11 is_stmt 1 view .LVU2687 8123 01b4 2268 ldr r2, [r4] 8124 01b6 D369 ldr r3, [r2, #28] 8125 01b8 43F08003 orr r3, r3, #128 8126 01bc D361 str r3, [r2, #28] 8127 01be 0020 movs r0, #0 8128 01c0 39E0 b .L470 8129 .L487: 5497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8130 .loc 1 5497 11 view .LVU2688 8131 01c2 2268 ldr r2, [r4] 8132 01c4 D369 ldr r3, [r2, #28] 8133 01c6 23F08003 bic r3, r3, #128 8134 01ca D361 str r3, [r2, #28] 8135 01cc 0020 movs r0, #0 8136 01ce 32E0 b .L470 8137 .L481: 5503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8138 .loc 1 5503 9 view .LVU2689 5503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8139 .loc 1 5503 30 is_stmt 0 view .LVU2690 8140 01d0 2B68 ldr r3, [r5] 5503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccodHXtm.s page 321 8141 .loc 1 5503 12 view .LVU2691 8142 01d2 33B1 cbz r3, .L488 5506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8143 .loc 1 5506 11 is_stmt 1 view .LVU2692 8144 01d4 2268 ldr r2, [r4] 8145 01d6 D369 ldr r3, [r2, #28] 8146 01d8 43F40043 orr r3, r3, #32768 8147 01dc D361 str r3, [r2, #28] 8148 01de 0020 movs r0, #0 8149 01e0 29E0 b .L470 8150 .L488: 5511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8151 .loc 1 5511 11 view .LVU2693 8152 01e2 2268 ldr r2, [r4] 8153 01e4 D369 ldr r3, [r2, #28] 8154 01e6 23F40043 bic r3, r3, #32768 8155 01ea D361 str r3, [r2, #28] 8156 01ec 0020 movs r0, #0 8157 01ee 22E0 b .L470 8158 .L480: 5517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8159 .loc 1 5517 9 view .LVU2694 5517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8160 .loc 1 5517 30 is_stmt 0 view .LVU2695 8161 01f0 2B68 ldr r3, [r5] 5517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8162 .loc 1 5517 12 view .LVU2696 8163 01f2 33B1 cbz r3, .L489 5520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8164 .loc 1 5520 11 is_stmt 1 view .LVU2697 8165 01f4 2268 ldr r2, [r4] 8166 01f6 136D ldr r3, [r2, #80] 8167 01f8 43F08003 orr r3, r3, #128 8168 01fc 1365 str r3, [r2, #80] 8169 01fe 0020 movs r0, #0 8170 0200 19E0 b .L470 8171 .L489: 5525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8172 .loc 1 5525 11 view .LVU2698 8173 0202 2268 ldr r2, [r4] 8174 0204 136D ldr r3, [r2, #80] 8175 0206 23F08003 bic r3, r3, #128 8176 020a 1365 str r3, [r2, #80] 8177 020c 0020 movs r0, #0 8178 020e 12E0 b .L470 8179 .L478: 5531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8180 .loc 1 5531 9 view .LVU2699 5531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8181 .loc 1 5531 30 is_stmt 0 view .LVU2700 8182 0210 2B68 ldr r3, [r5] 5531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8183 .loc 1 5531 12 view .LVU2701 8184 0212 33B1 cbz r3, .L490 5534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8185 .loc 1 5534 11 is_stmt 1 view .LVU2702 8186 0214 2268 ldr r2, [r4] ARM GAS /tmp/ccodHXtm.s page 322 8187 0216 136D ldr r3, [r2, #80] 8188 0218 43F40043 orr r3, r3, #32768 8189 021c 1365 str r3, [r2, #80] 8190 021e 0020 movs r0, #0 8191 0220 09E0 b .L470 8192 .L490: 5539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8193 .loc 1 5539 11 view .LVU2703 8194 0222 2268 ldr r2, [r4] 8195 0224 136D ldr r3, [r2, #80] 8196 0226 23F40043 bic r3, r3, #32768 8197 022a 1365 str r3, [r2, #80] 8198 022c 0020 movs r0, #0 8199 022e 02E0 b .L470 8200 .LVL651: 8201 .L492: 5375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8202 .loc 1 5375 3 is_stmt 0 view .LVU2704 8203 0230 0120 movs r0, #1 8204 .LVL652: 5375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8205 .loc 1 5375 3 view .LVU2705 8206 0232 00E0 b .L470 8207 .LVL653: 8208 .L493: 5457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8209 .loc 1 5457 5 view .LVU2706 8210 0234 0020 movs r0, #0 8211 .L470: 5548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8212 .loc 1 5548 3 is_stmt 1 view .LVU2707 5548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8213 .loc 1 5548 15 is_stmt 0 view .LVU2708 8214 0236 0123 movs r3, #1 8215 0238 84F83D30 strb r3, [r4, #61] 5550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8216 .loc 1 5550 3 is_stmt 1 view .LVU2709 5550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8217 .loc 1 5550 3 view .LVU2710 8218 023c 0023 movs r3, #0 8219 023e 84F83C30 strb r3, [r4, #60] 5550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8220 .loc 1 5550 3 view .LVU2711 5552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8221 .loc 1 5552 3 view .LVU2712 8222 .L466: 5553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8223 .loc 1 5553 1 is_stmt 0 view .LVU2713 8224 0242 70BD pop {r4, r5, r6, pc} 8225 .LVL654: 8226 .L491: 8227 .LCFI77: 8228 .cfi_def_cfa_offset 0 8229 .cfi_restore 4 8230 .cfi_restore 5 8231 .cfi_restore 6 8232 .cfi_restore 14 ARM GAS /tmp/ccodHXtm.s page 323 5371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8233 .loc 1 5371 3 discriminator 1 view .LVU2714 8234 0244 0220 movs r0, #2 8235 .LVL655: 5553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8236 .loc 1 5553 1 view .LVU2715 8237 0246 7047 bx lr 8238 .L499: 8239 .align 2 8240 .L498: 8241 0248 002C0140 .word 1073818624 8242 .cfi_endproc 8243 .LFE399: 8245 .section .text.HAL_TIM_ConfigClockSource,"ax",%progbits 8246 .align 1 8247 .global HAL_TIM_ConfigClockSource 8248 .syntax unified 8249 .thumb 8250 .thumb_func 8252 HAL_TIM_ConfigClockSource: 8253 .LVL656: 8254 .LFB400: 5563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 8255 .loc 1 5563 1 is_stmt 1 view -0 8256 .cfi_startproc 8257 @ args = 0, pretend = 0, frame = 0 8258 @ frame_needed = 0, uses_anonymous_args = 0 5564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8259 .loc 1 5564 3 view .LVU2717 5565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8260 .loc 1 5565 3 view .LVU2718 5568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8261 .loc 1 5568 3 view .LVU2719 5568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8262 .loc 1 5568 3 view .LVU2720 8263 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 8264 0004 012B cmp r3, #1 8265 0006 00F08F80 beq .L514 5563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 8266 .loc 1 5563 1 is_stmt 0 view .LVU2721 8267 000a 10B5 push {r4, lr} 8268 .LCFI78: 8269 .cfi_def_cfa_offset 8 8270 .cfi_offset 4, -8 8271 .cfi_offset 14, -4 8272 000c 0446 mov r4, r0 5568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8273 .loc 1 5568 3 is_stmt 1 discriminator 2 view .LVU2722 8274 000e 0123 movs r3, #1 8275 0010 80F83C30 strb r3, [r0, #60] 5568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8276 .loc 1 5568 3 discriminator 2 view .LVU2723 5570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8277 .loc 1 5570 3 view .LVU2724 5570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8278 .loc 1 5570 15 is_stmt 0 view .LVU2725 8279 0014 0223 movs r3, #2 ARM GAS /tmp/ccodHXtm.s page 324 8280 0016 80F83D30 strb r3, [r0, #61] 5573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8281 .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); 8282 .loc 1 5576 3 view .LVU2727 5576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr &= ~(TIM_SMCR_SMS | TIM_SMCR_TS); 8283 .loc 1 5576 17 is_stmt 0 view .LVU2728 8284 001a 0268 ldr r2, [r0] 5576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr &= ~(TIM_SMCR_SMS | TIM_SMCR_TS); 8285 .loc 1 5576 11 view .LVU2729 8286 001c 9068 ldr r0, [r2, #8] 8287 .LVL657: 5577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr &= ~(TIM_SMCR_ETF | TIM_SMCR_ETPS | TIM_SMCR_ECE | TIM_SMCR_ETP); 8288 .loc 1 5577 3 is_stmt 1 view .LVU2730 5578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR = tmpsmcr; 8289 .loc 1 5578 3 view .LVU2731 5578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->SMCR = tmpsmcr; 8290 .loc 1 5578 11 is_stmt 0 view .LVU2732 8291 001e 434B ldr r3, .L524 8292 0020 0340 ands r3, r3, r0 8293 .LVL658: 5579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8294 .loc 1 5579 3 is_stmt 1 view .LVU2733 5579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8295 .loc 1 5579 24 is_stmt 0 view .LVU2734 8296 0022 9360 str r3, [r2, #8] 5581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8297 .loc 1 5581 3 is_stmt 1 view .LVU2735 5581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8298 .loc 1 5581 29 is_stmt 0 view .LVU2736 8299 0024 0B68 ldr r3, [r1] 8300 .LVL659: 5581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8301 .loc 1 5581 3 view .LVU2737 8302 0026 702B cmp r3, #112 8303 0028 55D0 beq .L502 8304 002a 31D8 bhi .L503 8305 002c 502B cmp r3, #80 8306 002e 6CD0 beq .L504 8307 0030 1FD8 bhi .L505 8308 0032 402B cmp r3, #64 8309 0034 0AD1 bne .L521 5668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8310 .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)); 8311 .loc 1 5671 7 view .LVU2739 5672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8312 .loc 1 5672 7 view .LVU2740 5674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8313 .loc 1 5674 7 view .LVU2741 8314 0036 CA68 ldr r2, [r1, #12] 8315 .LVL660: 5674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8316 .loc 1 5674 7 is_stmt 0 view .LVU2742 8317 0038 4968 ldr r1, [r1, #4] 8318 .LVL661: 5674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, ARM GAS /tmp/ccodHXtm.s page 325 8319 .loc 1 5674 7 view .LVU2743 8320 003a 2068 ldr r0, [r4] 8321 .LVL662: 5674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8322 .loc 1 5674 7 view .LVU2744 8323 003c FFF7FEFF bl TIM_TI1_ConfigInputStage 8324 .LVL663: 5677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8325 .loc 1 5677 7 is_stmt 1 view .LVU2745 8326 0040 4021 movs r1, #64 8327 0042 2068 ldr r0, [r4] 8328 0044 FFF7FEFF bl TIM_ITRx_SetConfig 8329 .LVL664: 5678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8330 .loc 1 5678 7 view .LVU2746 5564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8331 .loc 1 5564 21 is_stmt 0 view .LVU2747 8332 0048 0020 movs r0, #0 5678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8333 .loc 1 5678 7 view .LVU2748 8334 004a 29E0 b .L507 8335 .LVL665: 8336 .L521: 5581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8337 .loc 1 5581 3 view .LVU2749 8338 004c 68D8 bhi .L515 8339 004e 202B cmp r3, #32 8340 0050 03D0 beq .L508 8341 0052 0AD8 bhi .L509 8342 0054 0BB1 cbz r3, .L508 8343 0056 102B cmp r3, #16 8344 0058 05D1 bne .L522 8345 .LVL666: 8346 .L508: 5701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8347 .loc 1 5701 7 is_stmt 1 view .LVU2750 5703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8348 .loc 1 5703 7 view .LVU2751 8349 005a 1946 mov r1, r3 8350 .LVL667: 5703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8351 .loc 1 5703 7 is_stmt 0 view .LVU2752 8352 005c 2068 ldr r0, [r4] 8353 .LVL668: 5703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8354 .loc 1 5703 7 view .LVU2753 8355 005e FFF7FEFF bl TIM_ITRx_SetConfig 8356 .LVL669: 5704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8357 .loc 1 5704 7 is_stmt 1 view .LVU2754 5564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8358 .loc 1 5564 21 is_stmt 0 view .LVU2755 8359 0062 0020 movs r0, #0 5704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8360 .loc 1 5704 7 view .LVU2756 8361 0064 1CE0 b .L507 8362 .LVL670: ARM GAS /tmp/ccodHXtm.s page 326 8363 .L522: 5708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8364 .loc 1 5708 14 view .LVU2757 8365 0066 0120 movs r0, #1 8366 0068 1AE0 b .L507 8367 .L509: 5581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8368 .loc 1 5581 3 view .LVU2758 8369 006a 302B cmp r3, #48 8370 006c F5D0 beq .L508 5708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8371 .loc 1 5708 14 view .LVU2759 8372 006e 0120 movs r0, #1 8373 0070 16E0 b .L507 8374 .L505: 5581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8375 .loc 1 5581 3 view .LVU2760 8376 0072 602B cmp r3, #96 8377 0074 0AD1 bne .L523 5652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8378 .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)); 8379 .loc 1 5655 7 view .LVU2762 5656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8380 .loc 1 5656 7 view .LVU2763 5658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8381 .loc 1 5658 7 view .LVU2764 8382 0076 CA68 ldr r2, [r1, #12] 8383 .LVL671: 5658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8384 .loc 1 5658 7 is_stmt 0 view .LVU2765 8385 0078 4968 ldr r1, [r1, #4] 8386 .LVL672: 5658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8387 .loc 1 5658 7 view .LVU2766 8388 007a 2068 ldr r0, [r4] 8389 .LVL673: 5658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8390 .loc 1 5658 7 view .LVU2767 8391 007c FFF7FEFF bl TIM_TI2_ConfigInputStage 8392 .LVL674: 5661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8393 .loc 1 5661 7 is_stmt 1 view .LVU2768 8394 0080 6021 movs r1, #96 8395 0082 2068 ldr r0, [r4] 8396 0084 FFF7FEFF bl TIM_ITRx_SetConfig 8397 .LVL675: 5662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8398 .loc 1 5662 7 view .LVU2769 5564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8399 .loc 1 5564 21 is_stmt 0 view .LVU2770 8400 0088 0020 movs r0, #0 5662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8401 .loc 1 5662 7 view .LVU2771 8402 008a 09E0 b .L507 8403 .LVL676: 8404 .L523: ARM GAS /tmp/ccodHXtm.s page 327 5708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8405 .loc 1 5708 14 view .LVU2772 8406 008c 0120 movs r0, #1 8407 008e 07E0 b .L507 8408 .L503: 5581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8409 .loc 1 5581 3 view .LVU2773 8410 0090 B3F5005F cmp r3, #8192 8411 0094 2CD0 beq .L511 8412 0096 0AD8 bhi .L512 8413 0098 B3F5805F cmp r3, #4096 8414 009c 42D1 bne .L516 8415 009e 0020 movs r0, #0 8416 .LVL677: 8417 .L507: 5711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8418 .loc 1 5711 3 is_stmt 1 view .LVU2774 5711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8419 .loc 1 5711 15 is_stmt 0 view .LVU2775 8420 00a0 0123 movs r3, #1 8421 00a2 84F83D30 strb r3, [r4, #61] 5713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8422 .loc 1 5713 3 is_stmt 1 view .LVU2776 5713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8423 .loc 1 5713 3 view .LVU2777 8424 00a6 0023 movs r3, #0 8425 00a8 84F83C30 strb r3, [r4, #60] 5713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8426 .loc 1 5713 3 view .LVU2778 5715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8427 .loc 1 5715 3 view .LVU2779 5716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8428 .loc 1 5716 1 is_stmt 0 view .LVU2780 8429 00ac 10BD pop {r4, pc} 8430 .LVL678: 8431 .L512: 5581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8432 .loc 1 5581 3 view .LVU2781 8433 00ae 204A ldr r2, .L524+4 8434 .LVL679: 5581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8435 .loc 1 5581 3 view .LVU2782 8436 00b0 9342 cmp r3, r2 8437 00b2 D2D0 beq .L508 8438 00b4 07D8 bhi .L513 8439 00b6 B3F1101F cmp r3, #1048592 8440 00ba CED0 beq .L508 8441 00bc 103A subs r2, r2, #16 8442 00be 9342 cmp r3, r2 8443 00c0 CBD0 beq .L508 5708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8444 .loc 1 5708 14 view .LVU2783 8445 00c2 0120 movs r0, #1 8446 .LVL680: 5708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8447 .loc 1 5708 14 view .LVU2784 8448 00c4 ECE7 b .L507 ARM GAS /tmp/ccodHXtm.s page 328 8449 .LVL681: 8450 .L513: 5581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8451 .loc 1 5581 3 view .LVU2785 8452 00c6 1B4A ldr r2, .L524+8 8453 00c8 9342 cmp r3, r2 8454 00ca C6D0 beq .L508 8455 00cc 3032 adds r2, r2, #48 8456 00ce 9342 cmp r3, r2 8457 00d0 C3D0 beq .L508 5708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8458 .loc 1 5708 14 view .LVU2786 8459 00d2 0120 movs r0, #1 8460 .LVL682: 5708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8461 .loc 1 5708 14 view .LVU2787 8462 00d4 E4E7 b .L507 8463 .LVL683: 8464 .L502: 5592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8465 .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)); 8466 .loc 1 5595 7 view .LVU2789 5596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); 8467 .loc 1 5596 7 view .LVU2790 5597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8468 .loc 1 5597 7 view .LVU2791 5600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 8469 .loc 1 5600 7 view .LVU2792 8470 00d6 CB68 ldr r3, [r1, #12] 8471 00d8 4A68 ldr r2, [r1, #4] 8472 .LVL684: 5600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 8473 .loc 1 5600 7 is_stmt 0 view .LVU2793 8474 00da 8968 ldr r1, [r1, #8] 8475 .LVL685: 5600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 8476 .loc 1 5600 7 view .LVU2794 8477 00dc 2068 ldr r0, [r4] 8478 .LVL686: 5600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 8479 .loc 1 5600 7 view .LVU2795 8480 00de FFF7FEFF bl TIM_ETR_SetConfig 8481 .LVL687: 5606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr |= (TIM_SLAVEMODE_EXTERNAL1 | TIM_CLOCKSOURCE_ETRMODE1); 8482 .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); 8483 .loc 1 5606 21 is_stmt 0 view .LVU2797 8484 00e2 2268 ldr r2, [r4] 5606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpsmcr |= (TIM_SLAVEMODE_EXTERNAL1 | TIM_CLOCKSOURCE_ETRMODE1); 8485 .loc 1 5606 15 view .LVU2798 8486 00e4 9368 ldr r3, [r2, #8] 8487 .LVL688: 5607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx SMCR */ 8488 .loc 1 5607 7 is_stmt 1 view .LVU2799 5607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Write to TIMx SMCR */ 8489 .loc 1 5607 15 is_stmt 0 view .LVU2800 ARM GAS /tmp/ccodHXtm.s page 329 8490 00e6 43F07703 orr r3, r3, #119 8491 .LVL689: 5609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8492 .loc 1 5609 7 is_stmt 1 view .LVU2801 5609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8493 .loc 1 5609 28 is_stmt 0 view .LVU2802 8494 00ea 9360 str r3, [r2, #8] 5610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8495 .loc 1 5610 7 is_stmt 1 view .LVU2803 5564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8496 .loc 1 5564 21 is_stmt 0 view .LVU2804 8497 00ec 0020 movs r0, #0 5610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8498 .loc 1 5610 7 view .LVU2805 8499 00ee D7E7 b .L507 8500 .LVL690: 8501 .L511: 5616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8502 .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)); 8503 .loc 1 5619 7 view .LVU2807 5620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter)); 8504 .loc 1 5620 7 view .LVU2808 5621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8505 .loc 1 5621 7 view .LVU2809 5624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 8506 .loc 1 5624 7 view .LVU2810 8507 00f0 CB68 ldr r3, [r1, #12] 8508 00f2 4A68 ldr r2, [r1, #4] 8509 .LVL691: 5624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 8510 .loc 1 5624 7 is_stmt 0 view .LVU2811 8511 00f4 8968 ldr r1, [r1, #8] 8512 .LVL692: 5624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 8513 .loc 1 5624 7 view .LVU2812 8514 00f6 2068 ldr r0, [r4] 8515 .LVL693: 5624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler, 8516 .loc 1 5624 7 view .LVU2813 8517 00f8 FFF7FEFF bl TIM_ETR_SetConfig 8518 .LVL694: 5629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8519 .loc 1 5629 7 is_stmt 1 view .LVU2814 5629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8520 .loc 1 5629 11 is_stmt 0 view .LVU2815 8521 00fc 2268 ldr r2, [r4] 5629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8522 .loc 1 5629 21 view .LVU2816 8523 00fe 9368 ldr r3, [r2, #8] 5629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8524 .loc 1 5629 28 view .LVU2817 8525 0100 43F48043 orr r3, r3, #16384 8526 0104 9360 str r3, [r2, #8] 5630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8527 .loc 1 5630 7 is_stmt 1 view .LVU2818 5564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; ARM GAS /tmp/ccodHXtm.s page 330 8528 .loc 1 5564 21 is_stmt 0 view .LVU2819 8529 0106 0020 movs r0, #0 5630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8530 .loc 1 5630 7 view .LVU2820 8531 0108 CAE7 b .L507 8532 .LVL695: 8533 .L504: 5636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8534 .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)); 8535 .loc 1 5639 7 view .LVU2822 5640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8536 .loc 1 5640 7 view .LVU2823 5642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8537 .loc 1 5642 7 view .LVU2824 8538 010a CA68 ldr r2, [r1, #12] 8539 .LVL696: 5642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8540 .loc 1 5642 7 is_stmt 0 view .LVU2825 8541 010c 4968 ldr r1, [r1, #4] 8542 .LVL697: 5642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8543 .loc 1 5642 7 view .LVU2826 8544 010e 2068 ldr r0, [r4] 8545 .LVL698: 5642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sClockSourceConfig->ClockPolarity, 8546 .loc 1 5642 7 view .LVU2827 8547 0110 FFF7FEFF bl TIM_TI1_ConfigInputStage 8548 .LVL699: 5645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8549 .loc 1 5645 7 is_stmt 1 view .LVU2828 8550 0114 5021 movs r1, #80 8551 0116 2068 ldr r0, [r4] 8552 0118 FFF7FEFF bl TIM_ITRx_SetConfig 8553 .LVL700: 5646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8554 .loc 1 5646 7 view .LVU2829 5564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8555 .loc 1 5564 21 is_stmt 0 view .LVU2830 8556 011c 0020 movs r0, #0 5646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8557 .loc 1 5646 7 view .LVU2831 8558 011e BFE7 b .L507 8559 .LVL701: 8560 .L515: 5708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8561 .loc 1 5708 14 view .LVU2832 8562 0120 0120 movs r0, #1 8563 0122 BDE7 b .L507 8564 .L516: 8565 0124 0120 movs r0, #1 8566 0126 BBE7 b .L507 8567 .LVL702: 8568 .L514: 8569 .LCFI79: 8570 .cfi_def_cfa_offset 0 8571 .cfi_restore 4 ARM GAS /tmp/ccodHXtm.s page 331 8572 .cfi_restore 14 5568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8573 .loc 1 5568 3 discriminator 1 view .LVU2833 8574 0128 0220 movs r0, #2 8575 .LVL703: 5716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8576 .loc 1 5716 1 view .LVU2834 8577 012a 7047 bx lr 8578 .L525: 8579 .align 2 8580 .L524: 8581 012c 8800CEFF .word -3276664 8582 0130 30001000 .word 1048624 8583 0134 40001000 .word 1048640 8584 .cfi_endproc 8585 .LFE400: 8587 .section .text.TIM_SlaveTimer_SetConfig,"ax",%progbits 8588 .align 1 8589 .syntax unified 8590 .thumb 8591 .thumb_func 8593 TIM_SlaveTimer_SetConfig: 8594 .LVL704: 8595 .LFB440: 7579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 8596 .loc 1 7579 1 is_stmt 1 view -0 8597 .cfi_startproc 8598 @ args = 0, pretend = 0, frame = 0 8599 @ frame_needed = 0, uses_anonymous_args = 0 7579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 8600 .loc 1 7579 1 is_stmt 0 view .LVU2836 8601 0000 10B5 push {r4, lr} 8602 .LCFI80: 8603 .cfi_def_cfa_offset 8 8604 .cfi_offset 4, -8 8605 .cfi_offset 14, -4 7580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8606 .loc 1 7580 3 is_stmt 1 view .LVU2837 8607 .LVL705: 7581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccmr1; 8608 .loc 1 7581 3 view .LVU2838 7582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpccer; 8609 .loc 1 7582 3 view .LVU2839 7583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8610 .loc 1 7583 3 view .LVU2840 7586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8611 .loc 1 7586 3 view .LVU2841 7586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8612 .loc 1 7586 17 is_stmt 0 view .LVU2842 8613 0002 0468 ldr r4, [r0] 7586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8614 .loc 1 7586 11 view .LVU2843 8615 0004 A268 ldr r2, [r4, #8] 8616 .LVL706: 7589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Input Trigger source */ 8617 .loc 1 7589 3 is_stmt 1 view .LVU2844 7589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Input Trigger source */ ARM GAS /tmp/ccodHXtm.s page 332 8618 .loc 1 7589 11 is_stmt 0 view .LVU2845 8619 0006 22F44012 bic r2, r2, #3145728 8620 .LVL707: 7589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the Input Trigger source */ 8621 .loc 1 7589 11 view .LVU2846 8622 000a 22F07002 bic r2, r2, #112 8623 .LVL708: 7591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8624 .loc 1 7591 3 is_stmt 1 view .LVU2847 7591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8625 .loc 1 7591 26 is_stmt 0 view .LVU2848 8626 000e 4B68 ldr r3, [r1, #4] 7591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8627 .loc 1 7591 11 view .LVU2849 8628 0010 1343 orrs r3, r3, r2 8629 .LVL709: 7594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the slave mode */ 8630 .loc 1 7594 3 is_stmt 1 view .LVU2850 7594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the slave mode */ 8631 .loc 1 7594 11 is_stmt 0 view .LVU2851 8632 0012 23F48033 bic r3, r3, #65536 8633 .LVL710: 7594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Set the slave mode */ 8634 .loc 1 7594 11 view .LVU2852 8635 0016 23F00703 bic r3, r3, #7 8636 .LVL711: 7596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8637 .loc 1 7596 3 is_stmt 1 view .LVU2853 7596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8638 .loc 1 7596 26 is_stmt 0 view .LVU2854 8639 001a 0A68 ldr r2, [r1] 7596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8640 .loc 1 7596 11 view .LVU2855 8641 001c 1A43 orrs r2, r2, r3 8642 .LVL712: 7599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8643 .loc 1 7599 3 is_stmt 1 view .LVU2856 7599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8644 .loc 1 7599 24 is_stmt 0 view .LVU2857 8645 001e A260 str r2, [r4, #8] 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8646 .loc 1 7602 3 is_stmt 1 view .LVU2858 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8647 .loc 1 7602 23 is_stmt 0 view .LVU2859 8648 0020 4B68 ldr r3, [r1, #4] 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8649 .loc 1 7602 3 view .LVU2860 8650 0022 602B cmp r3, #96 8651 0024 5AD0 beq .L527 8652 0026 1ED8 bhi .L528 8653 0028 402B cmp r3, #64 8654 002a 3FD0 beq .L529 8655 002c 08D9 bls .L549 8656 002e 502B cmp r3, #80 8657 0030 17D1 bne .L550 7649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERPOLARITY(sSlaveConfig->TriggerPolarity)); 8658 .loc 1 7649 7 is_stmt 1 view .LVU2861 ARM GAS /tmp/ccodHXtm.s page 333 7650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERFILTER(sSlaveConfig->TriggerFilter)); 8659 .loc 1 7650 7 view .LVU2862 7651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8660 .loc 1 7651 7 view .LVU2863 7654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 8661 .loc 1 7654 7 view .LVU2864 8662 0032 0A69 ldr r2, [r1, #16] 8663 .LVL713: 7654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 8664 .loc 1 7654 7 is_stmt 0 view .LVU2865 8665 0034 8968 ldr r1, [r1, #8] 8666 .LVL714: 7654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 8667 .loc 1 7654 7 view .LVU2866 8668 0036 0068 ldr r0, [r0] 8669 .LVL715: 7654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 8670 .loc 1 7654 7 view .LVU2867 8671 0038 FFF7FEFF bl TIM_TI1_ConfigInputStage 8672 .LVL716: 7657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8673 .loc 1 7657 7 is_stmt 1 view .LVU2868 7580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8674 .loc 1 7580 21 is_stmt 0 view .LVU2869 8675 003c 0020 movs r0, #0 7657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8676 .loc 1 7657 7 view .LVU2870 8677 003e 34E0 b .L531 8678 .LVL717: 8679 .L549: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8680 .loc 1 7602 3 view .LVU2871 8681 0040 202B cmp r3, #32 8682 0042 52D0 beq .L536 8683 0044 07D8 bhi .L532 8684 0046 002B cmp r3, #0 8685 0048 51D0 beq .L537 8686 004a 102B cmp r3, #16 8687 004c 01D0 beq .L551 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8688 .loc 1 7699 14 view .LVU2872 8689 004e 0120 movs r0, #1 8690 .LVL718: 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8691 .loc 1 7699 14 view .LVU2873 8692 0050 2BE0 b .L531 8693 .LVL719: 8694 .L551: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8695 .loc 1 7602 3 view .LVU2874 8696 0052 0020 movs r0, #0 8697 .LVL720: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8698 .loc 1 7602 3 view .LVU2875 8699 0054 29E0 b .L531 8700 .LVL721: 8701 .L532: ARM GAS /tmp/ccodHXtm.s page 334 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8702 .loc 1 7602 3 view .LVU2876 8703 0056 302B cmp r3, #48 8704 0058 01D0 beq .L552 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8705 .loc 1 7699 14 view .LVU2877 8706 005a 0120 movs r0, #1 8707 .LVL722: 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8708 .loc 1 7699 14 view .LVU2878 8709 005c 25E0 b .L531 8710 .LVL723: 8711 .L552: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8712 .loc 1 7602 3 view .LVU2879 8713 005e 0020 movs r0, #0 8714 .LVL724: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8715 .loc 1 7602 3 view .LVU2880 8716 0060 23E0 b .L531 8717 .LVL725: 8718 .L550: 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8719 .loc 1 7699 14 view .LVU2881 8720 0062 0120 movs r0, #1 8721 .LVL726: 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8722 .loc 1 7699 14 view .LVU2882 8723 0064 21E0 b .L531 8724 .LVL727: 8725 .L528: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8726 .loc 1 7602 3 view .LVU2883 8727 0066 702B cmp r3, #112 8728 0068 18D0 beq .L534 8729 006a 42D3 bcc .L540 8730 006c 274A ldr r2, .L555 8731 .LVL728: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8732 .loc 1 7602 3 view .LVU2884 8733 006e 9342 cmp r3, r2 8734 0070 41D0 beq .L541 8735 0072 09D8 bhi .L535 8736 0074 B3F1101F cmp r3, #1048592 8737 0078 3FD0 beq .L542 8738 007a 103A subs r2, r2, #16 8739 007c 9342 cmp r3, r2 8740 007e 01D0 beq .L553 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8741 .loc 1 7699 14 view .LVU2885 8742 0080 0120 movs r0, #1 8743 .LVL729: 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8744 .loc 1 7699 14 view .LVU2886 8745 0082 12E0 b .L531 8746 .LVL730: 8747 .L553: ARM GAS /tmp/ccodHXtm.s page 335 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8748 .loc 1 7602 3 view .LVU2887 8749 0084 0020 movs r0, #0 8750 .LVL731: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8751 .loc 1 7602 3 view .LVU2888 8752 0086 10E0 b .L531 8753 .LVL732: 8754 .L535: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8755 .loc 1 7602 3 view .LVU2889 8756 0088 214A ldr r2, .L555+4 8757 008a 9342 cmp r3, r2 8758 008c 37D0 beq .L544 8759 008e 3032 adds r2, r2, #48 8760 0090 9342 cmp r3, r2 8761 0092 01D0 beq .L554 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8762 .loc 1 7699 14 view .LVU2890 8763 0094 0120 movs r0, #1 8764 .LVL733: 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8765 .loc 1 7699 14 view .LVU2891 8766 0096 08E0 b .L531 8767 .LVL734: 8768 .L554: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8769 .loc 1 7602 3 view .LVU2892 8770 0098 0020 movs r0, #0 8771 .LVL735: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8772 .loc 1 7602 3 view .LVU2893 8773 009a 06E0 b .L531 8774 .LVL736: 8775 .L534: 7607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERPRESCALER(sSlaveConfig->TriggerPrescaler)); 8776 .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)); 8777 .loc 1 7608 7 view .LVU2895 7609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERFILTER(sSlaveConfig->TriggerFilter)); 8778 .loc 1 7609 7 view .LVU2896 7610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Configure the ETR Trigger source */ 8779 .loc 1 7610 7 view .LVU2897 7612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPrescaler, 8780 .loc 1 7612 7 view .LVU2898 8781 009c 0B69 ldr r3, [r1, #16] 8782 009e 8A68 ldr r2, [r1, #8] 8783 .LVL737: 7612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPrescaler, 8784 .loc 1 7612 7 is_stmt 0 view .LVU2899 8785 00a0 C968 ldr r1, [r1, #12] 8786 .LVL738: 7612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPrescaler, 8787 .loc 1 7612 7 view .LVU2900 8788 00a2 0068 ldr r0, [r0] 8789 .LVL739: 7612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPrescaler, ARM GAS /tmp/ccodHXtm.s page 336 8790 .loc 1 7612 7 view .LVU2901 8791 00a4 FFF7FEFF bl TIM_ETR_SetConfig 8792 .LVL740: 7616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8793 .loc 1 7616 7 is_stmt 1 view .LVU2902 7580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8794 .loc 1 7580 21 is_stmt 0 view .LVU2903 8795 00a8 0020 movs r0, #0 8796 .L531: 8797 .LVL741: 7704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8798 .loc 1 7704 1 view .LVU2904 8799 00aa 10BD pop {r4, pc} 8800 .LVL742: 8801 .L529: 7622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERFILTER(sSlaveConfig->TriggerFilter)); 8802 .loc 1 7622 7 is_stmt 1 view .LVU2905 7623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8803 .loc 1 7623 7 view .LVU2906 7625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (sSlaveConfig->SlaveMode == TIM_SLAVEMODE_COMBINED_GATEDRESET)) 8804 .loc 1 7625 7 view .LVU2907 7625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (sSlaveConfig->SlaveMode == TIM_SLAVEMODE_COMBINED_GATEDRESET)) 8805 .loc 1 7625 24 is_stmt 0 view .LVU2908 8806 00ac 0B68 ldr r3, [r1] 7625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (sSlaveConfig->SlaveMode == TIM_SLAVEMODE_COMBINED_GATEDRESET)) 8807 .loc 1 7625 10 view .LVU2909 8808 00ae 052B cmp r3, #5 8809 00b0 27D0 beq .L546 7625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (sSlaveConfig->SlaveMode == TIM_SLAVEMODE_COMBINED_GATEDRESET)) 8810 .loc 1 7625 60 discriminator 1 view .LVU2910 8811 00b2 B3F1011F cmp r3, #65537 8812 00b6 26D0 beq .L547 7632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCER &= ~TIM_CCER_CC1E; 8813 .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; 8814 .loc 1 7632 21 is_stmt 0 view .LVU2912 8815 00b8 0368 ldr r3, [r0] 7632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCER &= ~TIM_CCER_CC1E; 8816 .loc 1 7632 15 view .LVU2913 8817 00ba 1C6A ldr r4, [r3, #32] 8818 .LVL743: 7633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = htim->Instance->CCMR1; 8819 .loc 1 7633 7 is_stmt 1 view .LVU2914 7633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = htim->Instance->CCMR1; 8820 .loc 1 7633 21 is_stmt 0 view .LVU2915 8821 00bc 1A6A ldr r2, [r3, #32] 8822 .LVL744: 7633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 = htim->Instance->CCMR1; 8823 .loc 1 7633 28 view .LVU2916 8824 00be 22F00102 bic r2, r2, #1 8825 00c2 1A62 str r2, [r3, #32] 7634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8826 .loc 1 7634 7 is_stmt 1 view .LVU2917 7634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8827 .loc 1 7634 22 is_stmt 0 view .LVU2918 8828 00c4 0268 ldr r2, [r0] 7634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 337 8829 .loc 1 7634 16 view .LVU2919 8830 00c6 9369 ldr r3, [r2, #24] 8831 .LVL745: 7637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= ((sSlaveConfig->TriggerFilter) << 4U); 8832 .loc 1 7637 7 is_stmt 1 view .LVU2920 7637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** tmpccmr1 |= ((sSlaveConfig->TriggerFilter) << 4U); 8833 .loc 1 7637 16 is_stmt 0 view .LVU2921 8834 00c8 23F0F003 bic r3, r3, #240 8835 .LVL746: 7638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8836 .loc 1 7638 7 is_stmt 1 view .LVU2922 7638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8837 .loc 1 7638 33 is_stmt 0 view .LVU2923 8838 00cc 0969 ldr r1, [r1, #16] 8839 .LVL747: 7638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8840 .loc 1 7638 16 view .LVU2924 8841 00ce 43EA0113 orr r3, r3, r1, lsl #4 8842 .LVL748: 7641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCER = tmpccer; 8843 .loc 1 7641 7 is_stmt 1 view .LVU2925 7641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->Instance->CCER = tmpccer; 8844 .loc 1 7641 29 is_stmt 0 view .LVU2926 8845 00d2 9361 str r3, [r2, #24] 7642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8846 .loc 1 7642 7 is_stmt 1 view .LVU2927 7642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8847 .loc 1 7642 11 is_stmt 0 view .LVU2928 8848 00d4 0368 ldr r3, [r0] 8849 .LVL749: 7642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8850 .loc 1 7642 28 view .LVU2929 8851 00d6 1C62 str r4, [r3, #32] 8852 .LVL750: 7643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8853 .loc 1 7643 7 is_stmt 1 view .LVU2930 7580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8854 .loc 1 7580 21 is_stmt 0 view .LVU2931 8855 00d8 0020 movs r0, #0 8856 .LVL751: 7643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8857 .loc 1 7643 7 view .LVU2932 8858 00da E6E7 b .L531 8859 .LVL752: 8860 .L527: 7663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERPOLARITY(sSlaveConfig->TriggerPolarity)); 8861 .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)); 8862 .loc 1 7664 7 view .LVU2934 7665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8863 .loc 1 7665 7 view .LVU2935 7668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 8864 .loc 1 7668 7 view .LVU2936 8865 00dc 0A69 ldr r2, [r1, #16] 8866 .LVL753: 7668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 8867 .loc 1 7668 7 is_stmt 0 view .LVU2937 ARM GAS /tmp/ccodHXtm.s page 338 8868 00de 8968 ldr r1, [r1, #8] 8869 .LVL754: 7668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 8870 .loc 1 7668 7 view .LVU2938 8871 00e0 0068 ldr r0, [r0] 8872 .LVL755: 7668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** sSlaveConfig->TriggerPolarity, 8873 .loc 1 7668 7 view .LVU2939 8874 00e2 FFF7FEFF bl TIM_TI2_ConfigInputStage 8875 .LVL756: 7671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8876 .loc 1 7671 7 is_stmt 1 view .LVU2940 7580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 8877 .loc 1 7580 21 is_stmt 0 view .LVU2941 8878 00e6 0020 movs r0, #0 7671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8879 .loc 1 7671 7 view .LVU2942 8880 00e8 DFE7 b .L531 8881 .LVL757: 8882 .L536: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8883 .loc 1 7602 3 view .LVU2943 8884 00ea 0020 movs r0, #0 8885 .LVL758: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8886 .loc 1 7602 3 view .LVU2944 8887 00ec DDE7 b .L531 8888 .LVL759: 8889 .L537: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8890 .loc 1 7602 3 view .LVU2945 8891 00ee 0020 movs r0, #0 8892 .LVL760: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8893 .loc 1 7602 3 view .LVU2946 8894 00f0 DBE7 b .L531 8895 .LVL761: 8896 .L540: 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8897 .loc 1 7699 14 view .LVU2947 8898 00f2 0120 movs r0, #1 8899 .LVL762: 7699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 8900 .loc 1 7699 14 view .LVU2948 8901 00f4 D9E7 b .L531 8902 .LVL763: 8903 .L541: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8904 .loc 1 7602 3 view .LVU2949 8905 00f6 0020 movs r0, #0 8906 .LVL764: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8907 .loc 1 7602 3 view .LVU2950 8908 00f8 D7E7 b .L531 8909 .LVL765: 8910 .L542: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccodHXtm.s page 339 8911 .loc 1 7602 3 view .LVU2951 8912 00fa 0020 movs r0, #0 8913 .LVL766: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8914 .loc 1 7602 3 view .LVU2952 8915 00fc D5E7 b .L531 8916 .LVL767: 8917 .L544: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8918 .loc 1 7602 3 view .LVU2953 8919 00fe 0020 movs r0, #0 8920 .LVL768: 7602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8921 .loc 1 7602 3 view .LVU2954 8922 0100 D3E7 b .L531 8923 .LVL769: 8924 .L546: 7628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8925 .loc 1 7628 16 view .LVU2955 8926 0102 0120 movs r0, #1 8927 .LVL770: 7628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8928 .loc 1 7628 16 view .LVU2956 8929 0104 D1E7 b .L531 8930 .LVL771: 8931 .L547: 7628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8932 .loc 1 7628 16 view .LVU2957 8933 0106 0120 movs r0, #1 8934 .LVL772: 7628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 8935 .loc 1 7628 16 view .LVU2958 8936 0108 CFE7 b .L531 8937 .L556: 8938 010a 00BF .align 2 8939 .L555: 8940 010c 30001000 .word 1048624 8941 0110 40001000 .word 1048640 8942 .cfi_endproc 8943 .LFE440: 8945 .section .text.HAL_TIM_SlaveConfigSynchro,"ax",%progbits 8946 .align 1 8947 .global HAL_TIM_SlaveConfigSynchro 8948 .syntax unified 8949 .thumb 8950 .thumb_func 8952 HAL_TIM_SlaveConfigSynchro: 8953 .LVL773: 8954 .LFB402: 5763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 8955 .loc 1 5763 1 is_stmt 1 view -0 8956 .cfi_startproc 8957 @ args = 0, pretend = 0, frame = 0 8958 @ 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)); 8959 .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)); ARM GAS /tmp/ccodHXtm.s page 340 8960 .loc 1 5766 3 view .LVU2961 5767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8961 .loc 1 5767 3 view .LVU2962 5769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8962 .loc 1 5769 3 view .LVU2963 5769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8963 .loc 1 5769 3 view .LVU2964 8964 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 8965 0004 012B cmp r3, #1 8966 0006 22D0 beq .L560 5763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 8967 .loc 1 5763 1 is_stmt 0 view .LVU2965 8968 0008 10B5 push {r4, lr} 8969 .LCFI81: 8970 .cfi_def_cfa_offset 8 8971 .cfi_offset 4, -8 8972 .cfi_offset 14, -4 8973 000a 0446 mov r4, r0 5769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8974 .loc 1 5769 3 is_stmt 1 discriminator 2 view .LVU2966 8975 000c 0123 movs r3, #1 8976 000e 80F83C30 strb r3, [r0, #60] 5769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8977 .loc 1 5769 3 discriminator 2 view .LVU2967 5771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8978 .loc 1 5771 3 view .LVU2968 5771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8979 .loc 1 5771 15 is_stmt 0 view .LVU2969 8980 0012 0223 movs r3, #2 8981 0014 80F83D30 strb r3, [r0, #61] 5773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8982 .loc 1 5773 3 is_stmt 1 view .LVU2970 5773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8983 .loc 1 5773 7 is_stmt 0 view .LVU2971 8984 0018 FFF7FEFF bl TIM_SlaveTimer_SetConfig 8985 .LVL774: 5773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 8986 .loc 1 5773 6 discriminator 1 view .LVU2972 8987 001c 80B9 cbnz r0, .L565 5781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8988 .loc 1 5781 3 is_stmt 1 view .LVU2973 8989 001e 2268 ldr r2, [r4] 8990 0020 D368 ldr r3, [r2, #12] 8991 0022 23F04003 bic r3, r3, #64 8992 0026 D360 str r3, [r2, #12] 5784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8993 .loc 1 5784 3 view .LVU2974 8994 0028 2268 ldr r2, [r4] 8995 002a D368 ldr r3, [r2, #12] 8996 002c 23F48043 bic r3, r3, #16384 8997 0030 D360 str r3, [r2, #12] 5786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8998 .loc 1 5786 3 view .LVU2975 5786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 8999 .loc 1 5786 15 is_stmt 0 view .LVU2976 9000 0032 0123 movs r3, #1 9001 0034 84F83D30 strb r3, [r4, #61] ARM GAS /tmp/ccodHXtm.s page 341 5788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9002 .loc 1 5788 3 is_stmt 1 view .LVU2977 5788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9003 .loc 1 5788 3 view .LVU2978 9004 0038 0023 movs r3, #0 9005 003a 84F83C30 strb r3, [r4, #60] 5788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9006 .loc 1 5788 3 view .LVU2979 5790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9007 .loc 1 5790 3 view .LVU2980 9008 .L558: 5791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9009 .loc 1 5791 1 is_stmt 0 view .LVU2981 9010 003e 10BD pop {r4, pc} 9011 .LVL775: 9012 .L565: 5775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 9013 .loc 1 5775 5 is_stmt 1 view .LVU2982 5775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 9014 .loc 1 5775 17 is_stmt 0 view .LVU2983 9015 0040 0120 movs r0, #1 9016 0042 84F83D00 strb r0, [r4, #61] 5776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 9017 .loc 1 5776 5 is_stmt 1 view .LVU2984 5776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 9018 .loc 1 5776 5 view .LVU2985 9019 0046 0023 movs r3, #0 9020 0048 84F83C30 strb r3, [r4, #60] 5776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 9021 .loc 1 5776 5 view .LVU2986 5777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9022 .loc 1 5777 5 view .LVU2987 5777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9023 .loc 1 5777 12 is_stmt 0 view .LVU2988 9024 004c F7E7 b .L558 9025 .LVL776: 9026 .L560: 9027 .LCFI82: 9028 .cfi_def_cfa_offset 0 9029 .cfi_restore 4 9030 .cfi_restore 14 5769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9031 .loc 1 5769 3 discriminator 1 view .LVU2989 9032 004e 0220 movs r0, #2 9033 .LVL777: 5791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9034 .loc 1 5791 1 view .LVU2990 9035 0050 7047 bx lr 9036 .cfi_endproc 9037 .LFE402: 9039 .section .text.HAL_TIM_SlaveConfigSynchro_IT,"ax",%progbits 9040 .align 1 9041 .global HAL_TIM_SlaveConfigSynchro_IT 9042 .syntax unified 9043 .thumb 9044 .thumb_func 9046 HAL_TIM_SlaveConfigSynchro_IT: ARM GAS /tmp/ccodHXtm.s page 342 9047 .LVL778: 9048 .LFB403: 5804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 9049 .loc 1 5804 1 is_stmt 1 view -0 9050 .cfi_startproc 9051 @ args = 0, pretend = 0, frame = 0 9052 @ 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)); 9053 .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)); 9054 .loc 1 5807 3 view .LVU2993 5808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9055 .loc 1 5808 3 view .LVU2994 5810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9056 .loc 1 5810 3 view .LVU2995 5810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9057 .loc 1 5810 3 view .LVU2996 9058 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2 9059 0004 012B cmp r3, #1 9060 0006 22D0 beq .L569 5804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 9061 .loc 1 5804 1 is_stmt 0 view .LVU2997 9062 0008 10B5 push {r4, lr} 9063 .LCFI83: 9064 .cfi_def_cfa_offset 8 9065 .cfi_offset 4, -8 9066 .cfi_offset 14, -4 9067 000a 0446 mov r4, r0 5810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9068 .loc 1 5810 3 is_stmt 1 discriminator 2 view .LVU2998 9069 000c 0123 movs r3, #1 9070 000e 80F83C30 strb r3, [r0, #60] 5810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9071 .loc 1 5810 3 discriminator 2 view .LVU2999 5812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9072 .loc 1 5812 3 view .LVU3000 5812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9073 .loc 1 5812 15 is_stmt 0 view .LVU3001 9074 0012 0223 movs r3, #2 9075 0014 80F83D30 strb r3, [r0, #61] 5814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9076 .loc 1 5814 3 is_stmt 1 view .LVU3002 5814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9077 .loc 1 5814 7 is_stmt 0 view .LVU3003 9078 0018 FFF7FEFF bl TIM_SlaveTimer_SetConfig 9079 .LVL779: 5814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9080 .loc 1 5814 6 discriminator 1 view .LVU3004 9081 001c 80B9 cbnz r0, .L574 5822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9082 .loc 1 5822 3 is_stmt 1 view .LVU3005 9083 001e 2268 ldr r2, [r4] 9084 0020 D368 ldr r3, [r2, #12] 9085 0022 43F04003 orr r3, r3, #64 9086 0026 D360 str r3, [r2, #12] 5825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9087 .loc 1 5825 3 view .LVU3006 ARM GAS /tmp/ccodHXtm.s page 343 9088 0028 2268 ldr r2, [r4] 9089 002a D368 ldr r3, [r2, #12] 9090 002c 23F48043 bic r3, r3, #16384 9091 0030 D360 str r3, [r2, #12] 5827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9092 .loc 1 5827 3 view .LVU3007 5827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9093 .loc 1 5827 15 is_stmt 0 view .LVU3008 9094 0032 0123 movs r3, #1 9095 0034 84F83D30 strb r3, [r4, #61] 5829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9096 .loc 1 5829 3 is_stmt 1 view .LVU3009 5829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9097 .loc 1 5829 3 view .LVU3010 9098 0038 0023 movs r3, #0 9099 003a 84F83C30 strb r3, [r4, #60] 5829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9100 .loc 1 5829 3 view .LVU3011 5831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9101 .loc 1 5831 3 view .LVU3012 9102 .L567: 5832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9103 .loc 1 5832 1 is_stmt 0 view .LVU3013 9104 003e 10BD pop {r4, pc} 9105 .LVL780: 9106 .L574: 5816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 9107 .loc 1 5816 5 is_stmt 1 view .LVU3014 5816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_UNLOCK(htim); 9108 .loc 1 5816 17 is_stmt 0 view .LVU3015 9109 0040 0120 movs r0, #1 9110 0042 84F83D00 strb r0, [r4, #61] 5817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 9111 .loc 1 5817 5 is_stmt 1 view .LVU3016 5817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 9112 .loc 1 5817 5 view .LVU3017 9113 0046 0023 movs r3, #0 9114 0048 84F83C30 strb r3, [r4, #60] 5817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** return HAL_ERROR; 9115 .loc 1 5817 5 view .LVU3018 5818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9116 .loc 1 5818 5 view .LVU3019 5818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9117 .loc 1 5818 12 is_stmt 0 view .LVU3020 9118 004c F7E7 b .L567 9119 .LVL781: 9120 .L569: 9121 .LCFI84: 9122 .cfi_def_cfa_offset 0 9123 .cfi_restore 4 9124 .cfi_restore 14 5810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9125 .loc 1 5810 3 discriminator 1 view .LVU3021 9126 004e 0220 movs r0, #2 9127 .LVL782: 5832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9128 .loc 1 5832 1 view .LVU3022 ARM GAS /tmp/ccodHXtm.s page 344 9129 0050 7047 bx lr 9130 .cfi_endproc 9131 .LFE403: 9133 .section .text.TIM_CCxChannelCmd,"ax",%progbits 9134 .align 1 9135 .global TIM_CCxChannelCmd 9136 .syntax unified 9137 .thumb 9138 .thumb_func 9140 TIM_CCxChannelCmd: 9141 .LVL783: 9142 .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 **** { 9143 .loc 1 8064 1 is_stmt 1 view -0 9144 .cfi_startproc 9145 @ args = 0, pretend = 0, frame = 0 9146 @ frame_needed = 0, uses_anonymous_args = 0 9147 @ link register save eliminated. 8065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmp; 9148 .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)); 9149 .loc 1 8068 3 view .LVU3025 8069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_CHANNELS(Channel)); 9150 .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 */ 9151 .loc 1 8071 3 view .LVU3027 9152 .loc 1 8071 35 is_stmt 0 view .LVU3028 9153 0000 01F01F01 and r1, r1, #31 9154 .LVL784: 9155 .loc 1 8071 7 view .LVU3029 9156 0004 4FF0010C mov ip, #1 9157 0008 0CFA01FC lsl ip, ip, r1 9158 .LVL785: 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; 9159 .loc 1 8074 3 is_stmt 1 view .LVU3030 ARM GAS /tmp/ccodHXtm.s page 345 9160 .loc 1 8074 7 is_stmt 0 view .LVU3031 9161 000c 036A ldr r3, [r0, #32] 9162 .loc 1 8074 14 view .LVU3032 9163 000e 23EA0C03 bic r3, r3, ip 9164 0012 0362 str r3, [r0, #32] 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 */ 9165 .loc 1 8077 3 is_stmt 1 view .LVU3033 9166 .loc 1 8077 7 is_stmt 0 view .LVU3034 9167 0014 036A ldr r3, [r0, #32] 9168 .loc 1 8077 41 view .LVU3035 9169 0016 8A40 lsls r2, r2, r1 9170 .LVL786: 9171 .loc 1 8077 14 view .LVU3036 9172 0018 1343 orrs r3, r3, r2 9173 001a 0362 str r3, [r0, #32] 8078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9174 .loc 1 8078 1 view .LVU3037 9175 001c 7047 bx lr 9176 .cfi_endproc 9177 .LFE449: 9179 .section .text.HAL_TIM_OC_Start,"ax",%progbits 9180 .align 1 9181 .global HAL_TIM_OC_Start 9182 .syntax unified 9183 .thumb 9184 .thumb_func 9186 HAL_TIM_OC_Start: 9187 .LVL787: 9188 .LFB343: 807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 9189 .loc 1 807 1 is_stmt 1 view -0 9190 .cfi_startproc 9191 @ args = 0, pretend = 0, frame = 0 9192 @ frame_needed = 0, uses_anonymous_args = 0 807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 9193 .loc 1 807 1 is_stmt 0 view .LVU3039 9194 0000 10B5 push {r4, lr} 9195 .LCFI85: 9196 .cfi_def_cfa_offset 8 9197 .cfi_offset 4, -8 9198 .cfi_offset 14, -4 9199 0002 0446 mov r4, r0 808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9200 .loc 1 808 3 is_stmt 1 view .LVU3040 811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9201 .loc 1 811 3 view .LVU3041 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9202 .loc 1 814 3 view .LVU3042 9203 0004 1029 cmp r1, #16 9204 0006 3CD8 bhi .L577 9205 0008 DFE801F0 tbb [pc, r1] 9206 .L579: 9207 000c 09 .byte (.L583-.L579)/2 9208 000d 3B .byte (.L577-.L579)/2 9209 000e 3B .byte (.L577-.L579)/2 ARM GAS /tmp/ccodHXtm.s page 346 9210 000f 3B .byte (.L577-.L579)/2 9211 0010 1F .byte (.L582-.L579)/2 9212 0011 3B .byte (.L577-.L579)/2 9213 0012 3B .byte (.L577-.L579)/2 9214 0013 3B .byte (.L577-.L579)/2 9215 0014 26 .byte (.L581-.L579)/2 9216 0015 3B .byte (.L577-.L579)/2 9217 0016 3B .byte (.L577-.L579)/2 9218 0017 3B .byte (.L577-.L579)/2 9219 0018 2D .byte (.L580-.L579)/2 9220 0019 3B .byte (.L577-.L579)/2 9221 001a 3B .byte (.L577-.L579)/2 9222 001b 3B .byte (.L577-.L579)/2 9223 001c 34 .byte (.L578-.L579)/2 9224 001d 00 .p2align 1 9225 .L583: 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9226 .loc 1 814 7 is_stmt 0 discriminator 1 view .LVU3043 9227 001e 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2 9228 0022 DBB2 uxtb r3, r3 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9229 .loc 1 814 44 discriminator 1 view .LVU3044 9230 0024 013B subs r3, r3, #1 9231 0026 18BF it ne 9232 0028 0123 movne r3, #1 9233 .L584: 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9234 .loc 1 814 6 discriminator 20 view .LVU3045 9235 002a 002B cmp r3, #0 9236 002c 40F08E80 bne .L598 820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9237 .loc 1 820 3 is_stmt 1 view .LVU3046 9238 0030 1029 cmp r1, #16 9239 0032 79D8 bhi .L586 9240 0034 DFE801F0 tbb [pc, r1] 9241 .L588: 9242 0038 2C .byte (.L592-.L588)/2 9243 0039 78 .byte (.L586-.L588)/2 9244 003a 78 .byte (.L586-.L588)/2 9245 003b 78 .byte (.L586-.L588)/2 9246 003c 68 .byte (.L591-.L588)/2 9247 003d 78 .byte (.L586-.L588)/2 9248 003e 78 .byte (.L586-.L588)/2 9249 003f 78 .byte (.L586-.L588)/2 9250 0040 6C .byte (.L590-.L588)/2 9251 0041 78 .byte (.L586-.L588)/2 9252 0042 78 .byte (.L586-.L588)/2 9253 0043 78 .byte (.L586-.L588)/2 9254 0044 70 .byte (.L589-.L588)/2 9255 0045 78 .byte (.L586-.L588)/2 9256 0046 78 .byte (.L586-.L588)/2 9257 0047 78 .byte (.L586-.L588)/2 9258 0048 74 .byte (.L587-.L588)/2 9259 0049 00 .p2align 1 9260 .L582: 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9261 .loc 1 814 7 is_stmt 0 discriminator 4 view .LVU3047 ARM GAS /tmp/ccodHXtm.s page 347 9262 004a 90F83F30 ldrb r3, [r0, #63] @ zero_extendqisi2 9263 004e DBB2 uxtb r3, r3 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9264 .loc 1 814 44 discriminator 4 view .LVU3048 9265 0050 013B subs r3, r3, #1 9266 0052 18BF it ne 9267 0054 0123 movne r3, #1 9268 0056 E8E7 b .L584 9269 .L581: 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9270 .loc 1 814 7 discriminator 7 view .LVU3049 9271 0058 90F84030 ldrb r3, [r0, #64] @ zero_extendqisi2 9272 005c DBB2 uxtb r3, r3 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9273 .loc 1 814 44 discriminator 7 view .LVU3050 9274 005e 013B subs r3, r3, #1 9275 0060 18BF it ne 9276 0062 0123 movne r3, #1 9277 0064 E1E7 b .L584 9278 .L580: 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9279 .loc 1 814 7 discriminator 10 view .LVU3051 9280 0066 90F84130 ldrb r3, [r0, #65] @ zero_extendqisi2 9281 006a DBB2 uxtb r3, r3 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9282 .loc 1 814 44 discriminator 10 view .LVU3052 9283 006c 013B subs r3, r3, #1 9284 006e 18BF it ne 9285 0070 0123 movne r3, #1 9286 0072 DAE7 b .L584 9287 .L578: 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9288 .loc 1 814 7 discriminator 13 view .LVU3053 9289 0074 90F84230 ldrb r3, [r0, #66] @ zero_extendqisi2 9290 0078 DBB2 uxtb r3, r3 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9291 .loc 1 814 44 discriminator 13 view .LVU3054 9292 007a 013B subs r3, r3, #1 9293 007c 18BF it ne 9294 007e 0123 movne r3, #1 9295 0080 D3E7 b .L584 9296 .L577: 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9297 .loc 1 814 7 discriminator 14 view .LVU3055 9298 0082 90F84330 ldrb r3, [r0, #67] @ zero_extendqisi2 9299 0086 DBB2 uxtb r3, r3 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9300 .loc 1 814 44 discriminator 14 view .LVU3056 9301 0088 013B subs r3, r3, #1 9302 008a 18BF it ne 9303 008c 0123 movne r3, #1 9304 008e CCE7 b .L584 9305 .L592: 820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9306 .loc 1 820 3 discriminator 1 view .LVU3057 9307 0090 0223 movs r3, #2 9308 0092 84F83E30 strb r3, [r4, #62] ARM GAS /tmp/ccodHXtm.s page 348 9309 .L593: 823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9310 .loc 1 823 3 is_stmt 1 view .LVU3058 9311 0096 0122 movs r2, #1 9312 0098 2068 ldr r0, [r4] 9313 .LVL788: 823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9314 .loc 1 823 3 is_stmt 0 view .LVU3059 9315 009a FFF7FEFF bl TIM_CCxChannelCmd 9316 .LVL789: 825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9317 .loc 1 825 3 is_stmt 1 view .LVU3060 825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9318 .loc 1 825 7 is_stmt 0 view .LVU3061 9319 009e 2368 ldr r3, [r4] 9320 00a0 2D4A ldr r2, .L602 9321 00a2 9342 cmp r3, r2 9322 00a4 0FD0 beq .L594 825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9323 .loc 1 825 7 discriminator 2 view .LVU3062 9324 00a6 02F50062 add r2, r2, #2048 9325 00aa 9342 cmp r3, r2 9326 00ac 0BD0 beq .L594 825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9327 .loc 1 825 7 discriminator 4 view .LVU3063 9328 00ae 02F54062 add r2, r2, #3072 9329 00b2 9342 cmp r3, r2 9330 00b4 07D0 beq .L594 825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9331 .loc 1 825 7 discriminator 6 view .LVU3064 9332 00b6 02F58062 add r2, r2, #1024 9333 00ba 9342 cmp r3, r2 9334 00bc 03D0 beq .L594 825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9335 .loc 1 825 7 discriminator 8 view .LVU3065 9336 00be 02F58062 add r2, r2, #1024 9337 00c2 9342 cmp r3, r2 9338 00c4 03D1 bne .L595 9339 .L594: 828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9340 .loc 1 828 5 is_stmt 1 view .LVU3066 9341 00c6 5A6C ldr r2, [r3, #68] 9342 00c8 42F40042 orr r2, r2, #32768 9343 00cc 5A64 str r2, [r3, #68] 9344 .L595: 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9345 .loc 1 832 3 view .LVU3067 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9346 .loc 1 832 7 is_stmt 0 view .LVU3068 9347 00ce 2368 ldr r3, [r4] 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9348 .loc 1 832 6 view .LVU3069 9349 00d0 214A ldr r2, .L602 9350 00d2 9342 cmp r3, r2 9351 00d4 2CD0 beq .L596 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9352 .loc 1 832 7 discriminator 1 view .LVU3070 ARM GAS /tmp/ccodHXtm.s page 349 9353 00d6 B3F1804F cmp r3, #1073741824 9354 00da 29D0 beq .L596 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9355 .loc 1 832 7 discriminator 2 view .LVU3071 9356 00dc A2F59432 sub r2, r2, #75776 9357 00e0 9342 cmp r3, r2 9358 00e2 25D0 beq .L596 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9359 .loc 1 832 7 discriminator 3 view .LVU3072 9360 00e4 02F58062 add r2, r2, #1024 9361 00e8 9342 cmp r3, r2 9362 00ea 21D0 beq .L596 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9363 .loc 1 832 7 discriminator 4 view .LVU3073 9364 00ec 02F59632 add r2, r2, #76800 9365 00f0 9342 cmp r3, r2 9366 00f2 1DD0 beq .L596 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9367 .loc 1 832 7 discriminator 5 view .LVU3074 9368 00f4 02F54062 add r2, r2, #3072 9369 00f8 9342 cmp r3, r2 9370 00fa 19D0 beq .L596 842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9371 .loc 1 842 5 is_stmt 1 view .LVU3075 9372 00fc 1A68 ldr r2, [r3] 9373 00fe 42F00102 orr r2, r2, #1 9374 0102 1A60 str r2, [r3] 846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9375 .loc 1 846 10 is_stmt 0 view .LVU3076 9376 0104 0020 movs r0, #0 9377 0106 22E0 b .L585 9378 .LVL790: 9379 .L591: 820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9380 .loc 1 820 3 discriminator 3 view .LVU3077 9381 0108 0223 movs r3, #2 9382 010a 84F83F30 strb r3, [r4, #63] 9383 010e C2E7 b .L593 9384 .L590: 820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9385 .loc 1 820 3 discriminator 6 view .LVU3078 9386 0110 0223 movs r3, #2 9387 0112 84F84030 strb r3, [r4, #64] 9388 0116 BEE7 b .L593 9389 .L589: 820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9390 .loc 1 820 3 discriminator 9 view .LVU3079 9391 0118 0223 movs r3, #2 9392 011a 84F84130 strb r3, [r4, #65] 9393 011e BAE7 b .L593 9394 .L587: 820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9395 .loc 1 820 3 discriminator 12 view .LVU3080 9396 0120 0223 movs r3, #2 9397 0122 84F84230 strb r3, [r4, #66] 9398 0126 B6E7 b .L593 9399 .L586: ARM GAS /tmp/ccodHXtm.s page 350 820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9400 .loc 1 820 3 discriminator 13 view .LVU3081 9401 0128 0223 movs r3, #2 9402 012a 84F84330 strb r3, [r4, #67] 9403 012e B2E7 b .L593 9404 .LVL791: 9405 .L596: 834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 9406 .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)) 9407 .loc 1 834 29 is_stmt 0 view .LVU3083 9408 0130 9968 ldr r1, [r3, #8] 834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 9409 .loc 1 834 13 view .LVU3084 9410 0132 0A4A ldr r2, .L602+4 9411 0134 0A40 ands r2, r2, r1 9412 .LVL792: 835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9413 .loc 1 835 5 is_stmt 1 view .LVU3085 835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9414 .loc 1 835 8 is_stmt 0 view .LVU3086 9415 0136 062A cmp r2, #6 9416 0138 0AD0 beq .L599 835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9417 .loc 1 835 9 discriminator 1 view .LVU3087 9418 013a B2F5803F cmp r2, #65536 9419 013e 09D0 beq .L600 837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9420 .loc 1 837 7 is_stmt 1 view .LVU3088 9421 0140 1A68 ldr r2, [r3] 9422 .LVL793: 837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9423 .loc 1 837 7 is_stmt 0 view .LVU3089 9424 0142 42F00102 orr r2, r2, #1 9425 0146 1A60 str r2, [r3] 846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9426 .loc 1 846 10 view .LVU3090 9427 0148 0020 movs r0, #0 9428 014a 00E0 b .L585 9429 .LVL794: 9430 .L598: 816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9431 .loc 1 816 12 view .LVU3091 9432 014c 0120 movs r0, #1 9433 .LVL795: 9434 .L585: 847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9435 .loc 1 847 1 view .LVU3092 9436 014e 10BD pop {r4, pc} 9437 .LVL796: 9438 .L599: 846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9439 .loc 1 846 10 view .LVU3093 9440 0150 0020 movs r0, #0 9441 0152 FCE7 b .L585 9442 .L600: 9443 0154 0020 movs r0, #0 ARM GAS /tmp/ccodHXtm.s page 351 9444 0156 FAE7 b .L585 9445 .L603: 9446 .align 2 9447 .L602: 9448 0158 002C0140 .word 1073818624 9449 015c 07000100 .word 65543 9450 .cfi_endproc 9451 .LFE343: 9453 .section .text.HAL_TIM_OC_Stop,"ax",%progbits 9454 .align 1 9455 .global HAL_TIM_OC_Stop 9456 .syntax unified 9457 .thumb 9458 .thumb_func 9460 HAL_TIM_OC_Stop: 9461 .LVL797: 9462 .LFB344: 863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 9463 .loc 1 863 1 is_stmt 1 view -0 9464 .cfi_startproc 9465 @ args = 0, pretend = 0, frame = 0 9466 @ frame_needed = 0, uses_anonymous_args = 0 863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 9467 .loc 1 863 1 is_stmt 0 view .LVU3095 9468 0000 38B5 push {r3, r4, r5, lr} 9469 .LCFI86: 9470 .cfi_def_cfa_offset 16 9471 .cfi_offset 3, -16 9472 .cfi_offset 4, -12 9473 .cfi_offset 5, -8 9474 .cfi_offset 14, -4 9475 0002 0446 mov r4, r0 9476 0004 0D46 mov r5, r1 865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9477 .loc 1 865 3 is_stmt 1 view .LVU3096 868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9478 .loc 1 868 3 view .LVU3097 9479 0006 0022 movs r2, #0 9480 0008 0068 ldr r0, [r0] 9481 .LVL798: 868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9482 .loc 1 868 3 is_stmt 0 view .LVU3098 9483 000a FFF7FEFF bl TIM_CCxChannelCmd 9484 .LVL799: 870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9485 .loc 1 870 3 is_stmt 1 view .LVU3099 870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9486 .loc 1 870 7 is_stmt 0 view .LVU3100 9487 000e 2368 ldr r3, [r4] 9488 0010 2A4A ldr r2, .L617 9489 0012 9342 cmp r3, r2 9490 0014 0FD0 beq .L605 870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9491 .loc 1 870 7 discriminator 2 view .LVU3101 9492 0016 02F50062 add r2, r2, #2048 9493 001a 9342 cmp r3, r2 9494 001c 0BD0 beq .L605 ARM GAS /tmp/ccodHXtm.s page 352 870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9495 .loc 1 870 7 discriminator 4 view .LVU3102 9496 001e 02F54062 add r2, r2, #3072 9497 0022 9342 cmp r3, r2 9498 0024 07D0 beq .L605 870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9499 .loc 1 870 7 discriminator 6 view .LVU3103 9500 0026 02F58062 add r2, r2, #1024 9501 002a 9342 cmp r3, r2 9502 002c 03D0 beq .L605 870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9503 .loc 1 870 7 discriminator 8 view .LVU3104 9504 002e 02F58062 add r2, r2, #1024 9505 0032 9342 cmp r3, r2 9506 0034 0DD1 bne .L606 9507 .L605: 873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9508 .loc 1 873 5 is_stmt 1 view .LVU3105 873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9509 .loc 1 873 5 view .LVU3106 9510 0036 196A ldr r1, [r3, #32] 9511 0038 41F21112 movw r2, #4369 9512 003c 1142 tst r1, r2 9513 003e 08D1 bne .L606 873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9514 .loc 1 873 5 discriminator 1 view .LVU3107 9515 0040 196A ldr r1, [r3, #32] 9516 0042 44F24442 movw r2, #17476 9517 0046 1142 tst r1, r2 9518 0048 03D1 bne .L606 873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9519 .loc 1 873 5 discriminator 3 view .LVU3108 9520 004a 5A6C ldr r2, [r3, #68] 9521 004c 22F40042 bic r2, r2, #32768 9522 0050 5A64 str r2, [r3, #68] 9523 .L606: 873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9524 .loc 1 873 5 discriminator 5 view .LVU3109 877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9525 .loc 1 877 3 view .LVU3110 877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9526 .loc 1 877 3 view .LVU3111 9527 0052 2368 ldr r3, [r4] 9528 0054 196A ldr r1, [r3, #32] 9529 0056 41F21112 movw r2, #4369 9530 005a 1142 tst r1, r2 9531 005c 08D1 bne .L607 877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9532 .loc 1 877 3 discriminator 1 view .LVU3112 9533 005e 196A ldr r1, [r3, #32] 9534 0060 44F24442 movw r2, #17476 9535 0064 1142 tst r1, r2 9536 0066 03D1 bne .L607 877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9537 .loc 1 877 3 discriminator 3 view .LVU3113 9538 0068 1A68 ldr r2, [r3] 9539 006a 22F00102 bic r2, r2, #1 ARM GAS /tmp/ccodHXtm.s page 353 9540 006e 1A60 str r2, [r3] 9541 .L607: 877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9542 .loc 1 877 3 discriminator 5 view .LVU3114 880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9543 .loc 1 880 3 view .LVU3115 9544 0070 102D cmp r5, #16 9545 0072 1FD8 bhi .L608 9546 0074 DFE805F0 tbb [pc, r5] 9547 .L610: 9548 0078 09 .byte (.L614-.L610)/2 9549 0079 1E .byte (.L608-.L610)/2 9550 007a 1E .byte (.L608-.L610)/2 9551 007b 1E .byte (.L608-.L610)/2 9552 007c 0E .byte (.L613-.L610)/2 9553 007d 1E .byte (.L608-.L610)/2 9554 007e 1E .byte (.L608-.L610)/2 9555 007f 1E .byte (.L608-.L610)/2 9556 0080 12 .byte (.L612-.L610)/2 9557 0081 1E .byte (.L608-.L610)/2 9558 0082 1E .byte (.L608-.L610)/2 9559 0083 1E .byte (.L608-.L610)/2 9560 0084 16 .byte (.L611-.L610)/2 9561 0085 1E .byte (.L608-.L610)/2 9562 0086 1E .byte (.L608-.L610)/2 9563 0087 1E .byte (.L608-.L610)/2 9564 0088 1A .byte (.L609-.L610)/2 9565 0089 00 .p2align 1 9566 .L614: 880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9567 .loc 1 880 3 is_stmt 0 discriminator 1 view .LVU3116 9568 008a 0123 movs r3, #1 9569 008c 84F83E30 strb r3, [r4, #62] 9570 .L615: 883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9571 .loc 1 883 3 is_stmt 1 view .LVU3117 884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9572 .loc 1 884 1 is_stmt 0 view .LVU3118 9573 0090 0020 movs r0, #0 9574 0092 38BD pop {r3, r4, r5, pc} 9575 .LVL800: 9576 .L613: 880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9577 .loc 1 880 3 discriminator 3 view .LVU3119 9578 0094 0123 movs r3, #1 9579 0096 84F83F30 strb r3, [r4, #63] 9580 009a F9E7 b .L615 9581 .L612: 880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9582 .loc 1 880 3 discriminator 6 view .LVU3120 9583 009c 0123 movs r3, #1 9584 009e 84F84030 strb r3, [r4, #64] 9585 00a2 F5E7 b .L615 9586 .L611: 880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9587 .loc 1 880 3 discriminator 9 view .LVU3121 9588 00a4 0123 movs r3, #1 ARM GAS /tmp/ccodHXtm.s page 354 9589 00a6 84F84130 strb r3, [r4, #65] 9590 00aa F1E7 b .L615 9591 .L609: 880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9592 .loc 1 880 3 discriminator 12 view .LVU3122 9593 00ac 0123 movs r3, #1 9594 00ae 84F84230 strb r3, [r4, #66] 9595 00b2 EDE7 b .L615 9596 .L608: 880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9597 .loc 1 880 3 discriminator 13 view .LVU3123 9598 00b4 0123 movs r3, #1 9599 00b6 84F84330 strb r3, [r4, #67] 9600 00ba E9E7 b .L615 9601 .L618: 9602 .align 2 9603 .L617: 9604 00bc 002C0140 .word 1073818624 9605 .cfi_endproc 9606 .LFE344: 9608 .section .text.HAL_TIM_OC_Start_IT,"ax",%progbits 9609 .align 1 9610 .global HAL_TIM_OC_Start_IT 9611 .syntax unified 9612 .thumb 9613 .thumb_func 9615 HAL_TIM_OC_Start_IT: 9616 .LVL801: 9617 .LFB345: 898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 9618 .loc 1 898 1 is_stmt 1 view -0 9619 .cfi_startproc 9620 @ args = 0, pretend = 0, frame = 0 9621 @ frame_needed = 0, uses_anonymous_args = 0 898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 9622 .loc 1 898 1 is_stmt 0 view .LVU3125 9623 0000 10B5 push {r4, lr} 9624 .LCFI87: 9625 .cfi_def_cfa_offset 8 9626 .cfi_offset 4, -8 9627 .cfi_offset 14, -4 9628 0002 0446 mov r4, r0 899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 9629 .loc 1 899 3 is_stmt 1 view .LVU3126 9630 .LVL802: 900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9631 .loc 1 900 3 view .LVU3127 903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9632 .loc 1 903 3 view .LVU3128 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9633 .loc 1 906 3 view .LVU3129 9634 0004 1029 cmp r1, #16 9635 0006 3DD8 bhi .L620 9636 0008 DFE801F0 tbb [pc, r1] 9637 .L622: 9638 000c 09 .byte (.L626-.L622)/2 9639 000d 3C .byte (.L620-.L622)/2 ARM GAS /tmp/ccodHXtm.s page 355 9640 000e 3C .byte (.L620-.L622)/2 9641 000f 3C .byte (.L620-.L622)/2 9642 0010 20 .byte (.L625-.L622)/2 9643 0011 3C .byte (.L620-.L622)/2 9644 0012 3C .byte (.L620-.L622)/2 9645 0013 3C .byte (.L620-.L622)/2 9646 0014 27 .byte (.L624-.L622)/2 9647 0015 3C .byte (.L620-.L622)/2 9648 0016 3C .byte (.L620-.L622)/2 9649 0017 3C .byte (.L620-.L622)/2 9650 0018 2E .byte (.L623-.L622)/2 9651 0019 3C .byte (.L620-.L622)/2 9652 001a 3C .byte (.L620-.L622)/2 9653 001b 3C .byte (.L620-.L622)/2 9654 001c 35 .byte (.L621-.L622)/2 9655 001d 00 .p2align 1 9656 .L626: 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9657 .loc 1 906 7 is_stmt 0 discriminator 1 view .LVU3130 9658 001e 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2 9659 0022 DBB2 uxtb r3, r3 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9660 .loc 1 906 44 discriminator 1 view .LVU3131 9661 0024 013B subs r3, r3, #1 9662 0026 18BF it ne 9663 0028 0123 movne r3, #1 9664 .L627: 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9665 .loc 1 906 6 discriminator 20 view .LVU3132 9666 002a 002B cmp r3, #0 9667 002c 40F0C280 bne .L646 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9668 .loc 1 912 3 is_stmt 1 view .LVU3133 9669 0030 1029 cmp r1, #16 9670 0032 00F28F80 bhi .L629 9671 0036 DFE801F0 tbb [pc, r1] 9672 .L631: 9673 003a 2C .byte (.L635-.L631)/2 9674 003b 8D .byte (.L629-.L631)/2 9675 003c 8D .byte (.L629-.L631)/2 9676 003d 8D .byte (.L629-.L631)/2 9677 003e 6D .byte (.L634-.L631)/2 9678 003f 8D .byte (.L629-.L631)/2 9679 0040 8D .byte (.L629-.L631)/2 9680 0041 8D .byte (.L629-.L631)/2 9681 0042 76 .byte (.L633-.L631)/2 9682 0043 8D .byte (.L629-.L631)/2 9683 0044 8D .byte (.L629-.L631)/2 9684 0045 8D .byte (.L629-.L631)/2 9685 0046 7F .byte (.L632-.L631)/2 9686 0047 8D .byte (.L629-.L631)/2 9687 0048 8D .byte (.L629-.L631)/2 9688 0049 8D .byte (.L629-.L631)/2 9689 004a 88 .byte (.L630-.L631)/2 9690 004b 00 .p2align 1 9691 .L625: 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccodHXtm.s page 356 9692 .loc 1 906 7 is_stmt 0 discriminator 4 view .LVU3134 9693 004c 90F83F30 ldrb r3, [r0, #63] @ zero_extendqisi2 9694 0050 DBB2 uxtb r3, r3 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9695 .loc 1 906 44 discriminator 4 view .LVU3135 9696 0052 013B subs r3, r3, #1 9697 0054 18BF it ne 9698 0056 0123 movne r3, #1 9699 0058 E7E7 b .L627 9700 .L624: 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9701 .loc 1 906 7 discriminator 7 view .LVU3136 9702 005a 90F84030 ldrb r3, [r0, #64] @ zero_extendqisi2 9703 005e DBB2 uxtb r3, r3 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9704 .loc 1 906 44 discriminator 7 view .LVU3137 9705 0060 013B subs r3, r3, #1 9706 0062 18BF it ne 9707 0064 0123 movne r3, #1 9708 0066 E0E7 b .L627 9709 .L623: 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9710 .loc 1 906 7 discriminator 10 view .LVU3138 9711 0068 90F84130 ldrb r3, [r0, #65] @ zero_extendqisi2 9712 006c DBB2 uxtb r3, r3 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9713 .loc 1 906 44 discriminator 10 view .LVU3139 9714 006e 013B subs r3, r3, #1 9715 0070 18BF it ne 9716 0072 0123 movne r3, #1 9717 0074 D9E7 b .L627 9718 .L621: 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9719 .loc 1 906 7 discriminator 13 view .LVU3140 9720 0076 90F84230 ldrb r3, [r0, #66] @ zero_extendqisi2 9721 007a DBB2 uxtb r3, r3 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9722 .loc 1 906 44 discriminator 13 view .LVU3141 9723 007c 013B subs r3, r3, #1 9724 007e 18BF it ne 9725 0080 0123 movne r3, #1 9726 0082 D2E7 b .L627 9727 .L620: 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9728 .loc 1 906 7 discriminator 14 view .LVU3142 9729 0084 90F84330 ldrb r3, [r0, #67] @ zero_extendqisi2 9730 0088 DBB2 uxtb r3, r3 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9731 .loc 1 906 44 discriminator 14 view .LVU3143 9732 008a 013B subs r3, r3, #1 9733 008c 18BF it ne 9734 008e 0123 movne r3, #1 9735 0090 CBE7 b .L627 9736 .L635: 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9737 .loc 1 912 3 discriminator 1 view .LVU3144 9738 0092 0223 movs r3, #2 ARM GAS /tmp/ccodHXtm.s page 357 9739 0094 84F83E30 strb r3, [r4, #62] 914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9740 .loc 1 914 3 is_stmt 1 view .LVU3145 9741 .L636: 919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 9742 .loc 1 919 7 view .LVU3146 9743 0098 2268 ldr r2, [r4] 9744 009a D368 ldr r3, [r2, #12] 9745 009c 43F00203 orr r3, r3, #2 9746 00a0 D360 str r3, [r2, #12] 920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9747 .loc 1 920 7 view .LVU3147 949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9748 .loc 1 949 3 view .LVU3148 9749 .L641: 952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9750 .loc 1 952 5 view .LVU3149 9751 00a2 0122 movs r2, #1 9752 00a4 2068 ldr r0, [r4] 9753 .LVL803: 952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9754 .loc 1 952 5 is_stmt 0 view .LVU3150 9755 00a6 FFF7FEFF bl TIM_CCxChannelCmd 9756 .LVL804: 954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9757 .loc 1 954 5 is_stmt 1 view .LVU3151 954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9758 .loc 1 954 9 is_stmt 0 view .LVU3152 9759 00aa 2368 ldr r3, [r4] 9760 00ac 454A ldr r2, .L655 9761 00ae 9342 cmp r3, r2 9762 00b0 0FD0 beq .L642 954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9763 .loc 1 954 9 discriminator 2 view .LVU3153 9764 00b2 02F50062 add r2, r2, #2048 9765 00b6 9342 cmp r3, r2 9766 00b8 0BD0 beq .L642 954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9767 .loc 1 954 9 discriminator 4 view .LVU3154 9768 00ba 02F54062 add r2, r2, #3072 9769 00be 9342 cmp r3, r2 9770 00c0 07D0 beq .L642 954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9771 .loc 1 954 9 discriminator 6 view .LVU3155 9772 00c2 02F58062 add r2, r2, #1024 9773 00c6 9342 cmp r3, r2 9774 00c8 03D0 beq .L642 954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9775 .loc 1 954 9 discriminator 8 view .LVU3156 9776 00ca 02F58062 add r2, r2, #1024 9777 00ce 9342 cmp r3, r2 9778 00d0 03D1 bne .L643 9779 .L642: 957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9780 .loc 1 957 7 is_stmt 1 view .LVU3157 9781 00d2 5A6C ldr r2, [r3, #68] 9782 00d4 42F40042 orr r2, r2, #32768 ARM GAS /tmp/ccodHXtm.s page 358 9783 00d8 5A64 str r2, [r3, #68] 9784 .L643: 961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9785 .loc 1 961 5 view .LVU3158 961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9786 .loc 1 961 9 is_stmt 0 view .LVU3159 9787 00da 2368 ldr r3, [r4] 961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9788 .loc 1 961 8 view .LVU3160 9789 00dc 394A ldr r2, .L655 9790 00de 9342 cmp r3, r2 9791 00e0 5AD0 beq .L644 961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9792 .loc 1 961 9 discriminator 1 view .LVU3161 9793 00e2 B3F1804F cmp r3, #1073741824 9794 00e6 57D0 beq .L644 961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9795 .loc 1 961 9 discriminator 2 view .LVU3162 9796 00e8 A2F59432 sub r2, r2, #75776 9797 00ec 9342 cmp r3, r2 9798 00ee 53D0 beq .L644 961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9799 .loc 1 961 9 discriminator 3 view .LVU3163 9800 00f0 02F58062 add r2, r2, #1024 9801 00f4 9342 cmp r3, r2 9802 00f6 4FD0 beq .L644 961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9803 .loc 1 961 9 discriminator 4 view .LVU3164 9804 00f8 02F59632 add r2, r2, #76800 9805 00fc 9342 cmp r3, r2 9806 00fe 4BD0 beq .L644 961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9807 .loc 1 961 9 discriminator 5 view .LVU3165 9808 0100 02F54062 add r2, r2, #3072 9809 0104 9342 cmp r3, r2 9810 0106 47D0 beq .L644 971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9811 .loc 1 971 7 is_stmt 1 view .LVU3166 9812 0108 1A68 ldr r2, [r3] 9813 010a 42F00102 orr r2, r2, #1 9814 010e 1A60 str r2, [r3] 9815 0110 0020 movs r0, #0 9816 0112 50E0 b .L628 9817 .LVL805: 9818 .L634: 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9819 .loc 1 912 3 is_stmt 0 discriminator 3 view .LVU3167 9820 0114 0223 movs r3, #2 9821 0116 84F83F30 strb r3, [r4, #63] 914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9822 .loc 1 914 3 is_stmt 1 view .LVU3168 9823 .L637: 926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 9824 .loc 1 926 7 view .LVU3169 9825 011a 2268 ldr r2, [r4] 9826 011c D368 ldr r3, [r2, #12] 9827 011e 43F00403 orr r3, r3, #4 ARM GAS /tmp/ccodHXtm.s page 359 9828 0122 D360 str r3, [r2, #12] 927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9829 .loc 1 927 7 view .LVU3170 949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9830 .loc 1 949 3 view .LVU3171 9831 0124 BDE7 b .L641 9832 .L633: 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9833 .loc 1 912 3 is_stmt 0 discriminator 6 view .LVU3172 9834 0126 0223 movs r3, #2 9835 0128 84F84030 strb r3, [r4, #64] 914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9836 .loc 1 914 3 is_stmt 1 view .LVU3173 9837 .L638: 933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 9838 .loc 1 933 7 view .LVU3174 9839 012c 2268 ldr r2, [r4] 9840 012e D368 ldr r3, [r2, #12] 9841 0130 43F00803 orr r3, r3, #8 9842 0134 D360 str r3, [r2, #12] 934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9843 .loc 1 934 7 view .LVU3175 949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9844 .loc 1 949 3 view .LVU3176 9845 0136 B4E7 b .L641 9846 .L632: 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9847 .loc 1 912 3 is_stmt 0 discriminator 9 view .LVU3177 9848 0138 0223 movs r3, #2 9849 013a 84F84130 strb r3, [r4, #65] 914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9850 .loc 1 914 3 is_stmt 1 view .LVU3178 9851 .L639: 940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 9852 .loc 1 940 7 view .LVU3179 9853 013e 2268 ldr r2, [r4] 9854 0140 D368 ldr r3, [r2, #12] 9855 0142 43F01003 orr r3, r3, #16 9856 0146 D360 str r3, [r2, #12] 941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9857 .loc 1 941 7 view .LVU3180 949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9858 .loc 1 949 3 view .LVU3181 9859 0148 ABE7 b .L641 9860 .L630: 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9861 .loc 1 912 3 is_stmt 0 discriminator 12 view .LVU3182 9862 014a 0223 movs r3, #2 9863 014c 84F84230 strb r3, [r4, #66] 914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9864 .loc 1 914 3 is_stmt 1 view .LVU3183 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9865 .loc 1 912 3 is_stmt 0 discriminator 12 view .LVU3184 9866 0150 0120 movs r0, #1 9867 .LVL806: 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9868 .loc 1 912 3 discriminator 12 view .LVU3185 ARM GAS /tmp/ccodHXtm.s page 360 9869 0152 30E0 b .L628 9870 .LVL807: 9871 .L629: 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9872 .loc 1 912 3 discriminator 13 view .LVU3186 9873 0154 0223 movs r3, #2 9874 0156 84F84330 strb r3, [r4, #67] 914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9875 .loc 1 914 3 is_stmt 1 view .LVU3187 9876 015a 0C29 cmp r1, #12 9877 015c 2CD8 bhi .L647 9878 015e 01A3 adr r3, .L640 9879 0160 53F821F0 ldr pc, [r3, r1, lsl #2] 9880 .p2align 2 9881 .L640: 9882 0164 99000000 .word .L636+1 9883 0168 B9010000 .word .L647+1 9884 016c B9010000 .word .L647+1 9885 0170 B9010000 .word .L647+1 9886 0174 1B010000 .word .L637+1 9887 0178 B9010000 .word .L647+1 9888 017c B9010000 .word .L647+1 9889 0180 B9010000 .word .L647+1 9890 0184 2D010000 .word .L638+1 9891 0188 B9010000 .word .L647+1 9892 018c B9010000 .word .L647+1 9893 0190 B9010000 .word .L647+1 9894 0194 3F010000 .word .L639+1 9895 .LVL808: 9896 .p2align 1 9897 .L644: 963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 9898 .loc 1 963 7 view .LVU3188 963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 9899 .loc 1 963 31 is_stmt 0 view .LVU3189 9900 0198 9968 ldr r1, [r3, #8] 963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 9901 .loc 1 963 15 view .LVU3190 9902 019a 0B4A ldr r2, .L655+4 9903 019c 0A40 ands r2, r2, r1 9904 .LVL809: 964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9905 .loc 1 964 7 is_stmt 1 view .LVU3191 964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9906 .loc 1 964 10 is_stmt 0 view .LVU3192 9907 019e 062A cmp r2, #6 9908 01a0 0CD0 beq .L648 964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9909 .loc 1 964 11 discriminator 1 view .LVU3193 9910 01a2 B2F5803F cmp r2, #65536 9911 01a6 0BD0 beq .L649 966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9912 .loc 1 966 9 is_stmt 1 view .LVU3194 9913 01a8 1A68 ldr r2, [r3] 9914 .LVL810: 966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9915 .loc 1 966 9 is_stmt 0 view .LVU3195 ARM GAS /tmp/ccodHXtm.s page 361 9916 01aa 42F00102 orr r2, r2, #1 9917 01ae 1A60 str r2, [r3] 9918 01b0 0020 movs r0, #0 9919 01b2 00E0 b .L628 9920 .LVL811: 9921 .L646: 908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 9922 .loc 1 908 12 view .LVU3196 9923 01b4 0120 movs r0, #1 9924 .LVL812: 9925 .L628: 977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9926 .loc 1 977 1 view .LVU3197 9927 01b6 10BD pop {r4, pc} 9928 .LVL813: 9929 .L647: 914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9930 .loc 1 914 3 view .LVU3198 9931 01b8 0120 movs r0, #1 9932 .LVL814: 914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9933 .loc 1 914 3 view .LVU3199 9934 01ba FCE7 b .L628 9935 .LVL815: 9936 .L648: 914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9937 .loc 1 914 3 view .LVU3200 9938 01bc 0020 movs r0, #0 9939 01be FAE7 b .L628 9940 .L649: 9941 01c0 0020 movs r0, #0 9942 01c2 F8E7 b .L628 9943 .L656: 9944 .align 2 9945 .L655: 9946 01c4 002C0140 .word 1073818624 9947 01c8 07000100 .word 65543 9948 .cfi_endproc 9949 .LFE345: 9951 .section .text.HAL_TIM_OC_Stop_IT,"ax",%progbits 9952 .align 1 9953 .global HAL_TIM_OC_Stop_IT 9954 .syntax unified 9955 .thumb 9956 .thumb_func 9958 HAL_TIM_OC_Stop_IT: 9959 .LVL816: 9960 .LFB346: 991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 9961 .loc 1 991 1 is_stmt 1 view -0 9962 .cfi_startproc 9963 @ args = 0, pretend = 0, frame = 0 9964 @ frame_needed = 0, uses_anonymous_args = 0 991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 9965 .loc 1 991 1 is_stmt 0 view .LVU3202 9966 0000 38B5 push {r3, r4, r5, lr} 9967 .LCFI88: ARM GAS /tmp/ccodHXtm.s page 362 9968 .cfi_def_cfa_offset 16 9969 .cfi_offset 3, -16 9970 .cfi_offset 4, -12 9971 .cfi_offset 5, -8 9972 .cfi_offset 14, -4 9973 0002 0546 mov r5, r0 9974 0004 0C46 mov r4, r1 992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9975 .loc 1 992 3 is_stmt 1 view .LVU3203 9976 .LVL817: 995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 9977 .loc 1 995 3 view .LVU3204 997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 9978 .loc 1 997 3 view .LVU3205 9979 0006 0C29 cmp r1, #12 9980 0008 00F28180 bhi .L675 9981 000c DFE801F0 tbb [pc, r1] 9982 .L660: 9983 0010 07 .byte (.L663-.L660)/2 9984 0011 7F .byte (.L675-.L660)/2 9985 0012 7F .byte (.L675-.L660)/2 9986 0013 7F .byte (.L675-.L660)/2 9987 0014 4F .byte (.L662-.L660)/2 9988 0015 7F .byte (.L675-.L660)/2 9989 0016 7F .byte (.L675-.L660)/2 9990 0017 7F .byte (.L675-.L660)/2 9991 0018 55 .byte (.L661-.L660)/2 9992 0019 7F .byte (.L675-.L660)/2 9993 001a 7F .byte (.L675-.L660)/2 9994 001b 7F .byte (.L675-.L660)/2 9995 001c 5B .byte (.L659-.L660)/2 9996 001d 00 .p2align 1 9997 .L663: 1002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 9998 .loc 1 1002 7 view .LVU3206 9999 001e 0268 ldr r2, [r0] 10000 0020 D368 ldr r3, [r2, #12] 10001 0022 23F00203 bic r3, r3, #2 10002 0026 D360 str r3, [r2, #12] 1003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10003 .loc 1 1003 7 view .LVU3207 1032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10004 .loc 1 1032 3 view .LVU3208 10005 .L664: 1035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10006 .loc 1 1035 5 view .LVU3209 10007 0028 0022 movs r2, #0 10008 002a 2146 mov r1, r4 10009 .LVL818: 1035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10010 .loc 1 1035 5 is_stmt 0 view .LVU3210 10011 002c 2868 ldr r0, [r5] 10012 .LVL819: 1035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10013 .loc 1 1035 5 view .LVU3211 10014 002e FFF7FEFF bl TIM_CCxChannelCmd 10015 .LVL820: ARM GAS /tmp/ccodHXtm.s page 363 1037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10016 .loc 1 1037 5 is_stmt 1 view .LVU3212 1037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10017 .loc 1 1037 9 is_stmt 0 view .LVU3213 10018 0032 2B68 ldr r3, [r5] 10019 0034 374A ldr r2, .L677 10020 0036 9342 cmp r3, r2 10021 0038 0FD0 beq .L665 1037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10022 .loc 1 1037 9 discriminator 2 view .LVU3214 10023 003a 02F50062 add r2, r2, #2048 10024 003e 9342 cmp r3, r2 10025 0040 0BD0 beq .L665 1037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10026 .loc 1 1037 9 discriminator 4 view .LVU3215 10027 0042 02F54062 add r2, r2, #3072 10028 0046 9342 cmp r3, r2 10029 0048 07D0 beq .L665 1037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10030 .loc 1 1037 9 discriminator 6 view .LVU3216 10031 004a 02F58062 add r2, r2, #1024 10032 004e 9342 cmp r3, r2 10033 0050 03D0 beq .L665 1037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10034 .loc 1 1037 9 discriminator 8 view .LVU3217 10035 0052 02F58062 add r2, r2, #1024 10036 0056 9342 cmp r3, r2 10037 0058 0DD1 bne .L666 10038 .L665: 1040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10039 .loc 1 1040 7 is_stmt 1 view .LVU3218 1040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10040 .loc 1 1040 7 view .LVU3219 10041 005a 196A ldr r1, [r3, #32] 10042 005c 41F21112 movw r2, #4369 10043 0060 1142 tst r1, r2 10044 0062 08D1 bne .L666 1040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10045 .loc 1 1040 7 discriminator 1 view .LVU3220 10046 0064 196A ldr r1, [r3, #32] 10047 0066 44F24442 movw r2, #17476 10048 006a 1142 tst r1, r2 10049 006c 03D1 bne .L666 1040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10050 .loc 1 1040 7 discriminator 3 view .LVU3221 10051 006e 5A6C ldr r2, [r3, #68] 10052 0070 22F40042 bic r2, r2, #32768 10053 0074 5A64 str r2, [r3, #68] 10054 .L666: 1040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10055 .loc 1 1040 7 discriminator 5 view .LVU3222 1044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10056 .loc 1 1044 5 view .LVU3223 1044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10057 .loc 1 1044 5 view .LVU3224 10058 0076 2B68 ldr r3, [r5] 10059 0078 196A ldr r1, [r3, #32] ARM GAS /tmp/ccodHXtm.s page 364 10060 007a 41F21112 movw r2, #4369 10061 007e 1142 tst r1, r2 10062 0080 08D1 bne .L667 1044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10063 .loc 1 1044 5 discriminator 1 view .LVU3225 10064 0082 196A ldr r1, [r3, #32] 10065 0084 44F24442 movw r2, #17476 10066 0088 1142 tst r1, r2 10067 008a 03D1 bne .L667 1044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10068 .loc 1 1044 5 discriminator 3 view .LVU3226 10069 008c 1A68 ldr r2, [r3] 10070 008e 22F00102 bic r2, r2, #1 10071 0092 1A60 str r2, [r3] 10072 .L667: 1044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10073 .loc 1 1044 5 discriminator 5 view .LVU3227 1047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10074 .loc 1 1047 5 view .LVU3228 10075 0094 102C cmp r4, #16 10076 0096 35D8 bhi .L668 10077 0098 DFE804F0 tbb [pc, r4] 10078 .L670: 10079 009c 1B .byte (.L674-.L670)/2 10080 009d 34 .byte (.L668-.L670)/2 10081 009e 34 .byte (.L668-.L670)/2 10082 009f 34 .byte (.L668-.L670)/2 10083 00a0 20 .byte (.L673-.L670)/2 10084 00a1 34 .byte (.L668-.L670)/2 10085 00a2 34 .byte (.L668-.L670)/2 10086 00a3 34 .byte (.L668-.L670)/2 10087 00a4 25 .byte (.L672-.L670)/2 10088 00a5 34 .byte (.L668-.L670)/2 10089 00a6 34 .byte (.L668-.L670)/2 10090 00a7 34 .byte (.L668-.L670)/2 10091 00a8 2A .byte (.L671-.L670)/2 10092 00a9 34 .byte (.L668-.L670)/2 10093 00aa 34 .byte (.L668-.L670)/2 10094 00ab 34 .byte (.L668-.L670)/2 10095 00ac 2F .byte (.L669-.L670)/2 10096 .LVL821: 10097 00ad 00 .p2align 1 10098 .L662: 1009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10099 .loc 1 1009 7 view .LVU3229 10100 00ae 0268 ldr r2, [r0] 10101 00b0 D368 ldr r3, [r2, #12] 10102 00b2 23F00403 bic r3, r3, #4 10103 00b6 D360 str r3, [r2, #12] 1010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10104 .loc 1 1010 7 view .LVU3230 1032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10105 .loc 1 1032 3 view .LVU3231 10106 00b8 B6E7 b .L664 10107 .L661: 1016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10108 .loc 1 1016 7 view .LVU3232 ARM GAS /tmp/ccodHXtm.s page 365 10109 00ba 0268 ldr r2, [r0] 10110 00bc D368 ldr r3, [r2, #12] 10111 00be 23F00803 bic r3, r3, #8 10112 00c2 D360 str r3, [r2, #12] 1017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10113 .loc 1 1017 7 view .LVU3233 1032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10114 .loc 1 1032 3 view .LVU3234 10115 00c4 B0E7 b .L664 10116 .L659: 1023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10117 .loc 1 1023 7 view .LVU3235 10118 00c6 0268 ldr r2, [r0] 10119 00c8 D368 ldr r3, [r2, #12] 10120 00ca 23F01003 bic r3, r3, #16 10121 00ce D360 str r3, [r2, #12] 1024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10122 .loc 1 1024 7 view .LVU3236 1032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10123 .loc 1 1032 3 view .LVU3237 10124 00d0 AAE7 b .L664 10125 .LVL822: 10126 .L674: 1047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10127 .loc 1 1047 5 is_stmt 0 discriminator 1 view .LVU3238 10128 00d2 0123 movs r3, #1 10129 00d4 85F83E30 strb r3, [r5, #62] 10130 00d8 0020 movs r0, #0 10131 00da 19E0 b .L658 10132 .L673: 1047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10133 .loc 1 1047 5 discriminator 3 view .LVU3239 10134 00dc 0123 movs r3, #1 10135 00de 85F83F30 strb r3, [r5, #63] 10136 00e2 0020 movs r0, #0 10137 00e4 14E0 b .L658 10138 .L672: 1047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10139 .loc 1 1047 5 discriminator 6 view .LVU3240 10140 00e6 0123 movs r3, #1 10141 00e8 85F84030 strb r3, [r5, #64] 10142 00ec 0020 movs r0, #0 10143 00ee 0FE0 b .L658 10144 .L671: 1047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10145 .loc 1 1047 5 discriminator 9 view .LVU3241 10146 00f0 0123 movs r3, #1 10147 00f2 85F84130 strb r3, [r5, #65] 10148 00f6 0020 movs r0, #0 10149 00f8 0AE0 b .L658 10150 .L669: 1047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10151 .loc 1 1047 5 discriminator 12 view .LVU3242 10152 00fa 0123 movs r3, #1 10153 00fc 85F84230 strb r3, [r5, #66] 10154 0100 0020 movs r0, #0 10155 0102 05E0 b .L658 ARM GAS /tmp/ccodHXtm.s page 366 10156 .L668: 1047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10157 .loc 1 1047 5 discriminator 13 view .LVU3243 10158 0104 0123 movs r3, #1 10159 0106 85F84330 strb r3, [r5, #67] 10160 010a 0020 movs r0, #0 10161 010c 00E0 b .L658 10162 .LVL823: 10163 .L675: 997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10164 .loc 1 997 3 view .LVU3244 10165 010e 0120 movs r0, #1 10166 .LVL824: 10167 .L658: 1051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10168 .loc 1 1051 3 is_stmt 1 view .LVU3245 1052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10169 .loc 1 1052 1 is_stmt 0 view .LVU3246 10170 0110 38BD pop {r3, r4, r5, pc} 10171 .LVL825: 10172 .L678: 1052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10173 .loc 1 1052 1 view .LVU3247 10174 0112 00BF .align 2 10175 .L677: 10176 0114 002C0140 .word 1073818624 10177 .cfi_endproc 10178 .LFE346: 10180 .section .text.HAL_TIM_OC_Start_DMA,"ax",%progbits 10181 .align 1 10182 .global HAL_TIM_OC_Start_DMA 10183 .syntax unified 10184 .thumb 10185 .thumb_func 10187 HAL_TIM_OC_Start_DMA: 10188 .LVL826: 10189 .LFB347: 1069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 10190 .loc 1 1069 1 is_stmt 1 view -0 10191 .cfi_startproc 10192 @ args = 0, pretend = 0, frame = 0 10193 @ frame_needed = 0, uses_anonymous_args = 0 1069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 10194 .loc 1 1069 1 is_stmt 0 view .LVU3249 10195 0000 38B5 push {r3, r4, r5, lr} 10196 .LCFI89: 10197 .cfi_def_cfa_offset 16 10198 .cfi_offset 3, -16 10199 .cfi_offset 4, -12 10200 .cfi_offset 5, -8 10201 .cfi_offset 14, -4 10202 0002 0546 mov r5, r0 10203 0004 0C46 mov r4, r1 10204 0006 1146 mov r1, r2 10205 .LVL827: 1070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 10206 .loc 1 1070 3 is_stmt 1 view .LVU3250 ARM GAS /tmp/ccodHXtm.s page 367 1071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10207 .loc 1 1071 3 view .LVU3251 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10208 .loc 1 1074 3 view .LVU3252 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10209 .loc 1 1077 3 view .LVU3253 10210 0008 102C cmp r4, #16 10211 000a 41D8 bhi .L680 10212 000c DFE804F0 tbb [pc, r4] 10213 .LVL828: 10214 .L682: 10215 0010 09 .byte (.L686-.L682)/2 10216 0011 40 .byte (.L680-.L682)/2 10217 0012 40 .byte (.L680-.L682)/2 10218 0013 40 .byte (.L680-.L682)/2 10219 0014 20 .byte (.L685-.L682)/2 10220 0015 40 .byte (.L680-.L682)/2 10221 0016 40 .byte (.L680-.L682)/2 10222 0017 40 .byte (.L680-.L682)/2 10223 0018 28 .byte (.L684-.L682)/2 10224 0019 40 .byte (.L680-.L682)/2 10225 001a 40 .byte (.L680-.L682)/2 10226 001b 40 .byte (.L680-.L682)/2 10227 001c 30 .byte (.L683-.L682)/2 10228 001d 40 .byte (.L680-.L682)/2 10229 001e 40 .byte (.L680-.L682)/2 10230 001f 40 .byte (.L680-.L682)/2 10231 0020 38 .byte (.L681-.L682)/2 10232 0021 00 .p2align 1 10233 .L686: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10234 .loc 1 1077 7 is_stmt 0 discriminator 1 view .LVU3254 10235 0022 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 10236 .LVL829: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10237 .loc 1 1077 7 discriminator 1 view .LVU3255 10238 0026 C0B2 uxtb r0, r0 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10239 .loc 1 1077 44 discriminator 1 view .LVU3256 10240 0028 0228 cmp r0, #2 10241 002a 14BF ite ne 10242 002c 0020 movne r0, #0 10243 002e 0120 moveq r0, #1 10244 .L687: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10245 .loc 1 1077 6 discriminator 20 view .LVU3257 10246 0030 0028 cmp r0, #0 10247 0032 40F05981 bne .L714 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10248 .loc 1 1081 8 is_stmt 1 view .LVU3258 10249 0036 102C cmp r4, #16 10250 0038 78D8 bhi .L689 10251 003a DFE804F0 tbb [pc, r4] 10252 .L691: 10253 003e 31 .byte (.L695-.L691)/2 10254 003f 77 .byte (.L689-.L691)/2 10255 0040 77 .byte (.L689-.L691)/2 ARM GAS /tmp/ccodHXtm.s page 368 10256 0041 77 .byte (.L689-.L691)/2 10257 0042 57 .byte (.L694-.L691)/2 10258 0043 77 .byte (.L689-.L691)/2 10259 0044 77 .byte (.L689-.L691)/2 10260 0045 77 .byte (.L689-.L691)/2 10261 0046 5F .byte (.L693-.L691)/2 10262 0047 77 .byte (.L689-.L691)/2 10263 0048 77 .byte (.L689-.L691)/2 10264 0049 77 .byte (.L689-.L691)/2 10265 004a 67 .byte (.L692-.L691)/2 10266 004b 77 .byte (.L689-.L691)/2 10267 004c 77 .byte (.L689-.L691)/2 10268 004d 77 .byte (.L689-.L691)/2 10269 004e 6F .byte (.L690-.L691)/2 10270 .LVL830: 10271 004f 00 .p2align 1 10272 .L685: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10273 .loc 1 1077 7 is_stmt 0 discriminator 4 view .LVU3259 10274 0050 90F83F00 ldrb r0, [r0, #63] @ zero_extendqisi2 10275 .LVL831: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10276 .loc 1 1077 7 discriminator 4 view .LVU3260 10277 0054 C0B2 uxtb r0, r0 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10278 .loc 1 1077 44 discriminator 4 view .LVU3261 10279 0056 0228 cmp r0, #2 10280 0058 14BF ite ne 10281 005a 0020 movne r0, #0 10282 005c 0120 moveq r0, #1 10283 005e E7E7 b .L687 10284 .LVL832: 10285 .L684: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10286 .loc 1 1077 7 discriminator 7 view .LVU3262 10287 0060 90F84000 ldrb r0, [r0, #64] @ zero_extendqisi2 10288 .LVL833: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10289 .loc 1 1077 7 discriminator 7 view .LVU3263 10290 0064 C0B2 uxtb r0, r0 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10291 .loc 1 1077 44 discriminator 7 view .LVU3264 10292 0066 0228 cmp r0, #2 10293 0068 14BF ite ne 10294 006a 0020 movne r0, #0 10295 006c 0120 moveq r0, #1 10296 006e DFE7 b .L687 10297 .LVL834: 10298 .L683: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10299 .loc 1 1077 7 discriminator 10 view .LVU3265 10300 0070 90F84100 ldrb r0, [r0, #65] @ zero_extendqisi2 10301 .LVL835: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10302 .loc 1 1077 7 discriminator 10 view .LVU3266 10303 0074 C0B2 uxtb r0, r0 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccodHXtm.s page 369 10304 .loc 1 1077 44 discriminator 10 view .LVU3267 10305 0076 0228 cmp r0, #2 10306 0078 14BF ite ne 10307 007a 0020 movne r0, #0 10308 007c 0120 moveq r0, #1 10309 007e D7E7 b .L687 10310 .LVL836: 10311 .L681: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10312 .loc 1 1077 7 discriminator 13 view .LVU3268 10313 0080 90F84200 ldrb r0, [r0, #66] @ zero_extendqisi2 10314 .LVL837: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10315 .loc 1 1077 7 discriminator 13 view .LVU3269 10316 0084 C0B2 uxtb r0, r0 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10317 .loc 1 1077 44 discriminator 13 view .LVU3270 10318 0086 0228 cmp r0, #2 10319 0088 14BF ite ne 10320 008a 0020 movne r0, #0 10321 008c 0120 moveq r0, #1 10322 008e CFE7 b .L687 10323 .LVL838: 10324 .L680: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10325 .loc 1 1077 7 discriminator 14 view .LVU3271 10326 0090 90F84300 ldrb r0, [r0, #67] @ zero_extendqisi2 10327 .LVL839: 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10328 .loc 1 1077 7 discriminator 14 view .LVU3272 10329 0094 C0B2 uxtb r0, r0 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10330 .loc 1 1077 44 discriminator 14 view .LVU3273 10331 0096 0228 cmp r0, #2 10332 0098 14BF ite ne 10333 009a 0020 movne r0, #0 10334 009c 0120 moveq r0, #1 10335 009e C7E7 b .L687 10336 .L695: 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10337 .loc 1 1081 12 discriminator 1 view .LVU3274 10338 00a0 95F83E20 ldrb r2, [r5, #62] @ zero_extendqisi2 10339 00a4 D2B2 uxtb r2, r2 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10340 .loc 1 1081 49 discriminator 1 view .LVU3275 10341 00a6 012A cmp r2, #1 10342 00a8 14BF ite ne 10343 00aa 0022 movne r2, #0 10344 00ac 0122 moveq r2, #1 10345 .L696: 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10346 .loc 1 1081 11 discriminator 20 view .LVU3276 10347 00ae 002A cmp r2, #0 10348 00b0 00F01C81 beq .L715 1083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10349 .loc 1 1083 5 is_stmt 1 view .LVU3277 1083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccodHXtm.s page 370 10350 .loc 1 1083 8 is_stmt 0 view .LVU3278 10351 00b4 0029 cmp r1, #0 10352 00b6 00F01B81 beq .L716 1083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10353 .loc 1 1083 25 discriminator 1 view .LVU3279 10354 00ba 002B cmp r3, #0 10355 00bc 00F01A81 beq .L717 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10356 .loc 1 1089 7 is_stmt 1 view .LVU3280 10357 00c0 102C cmp r4, #16 10358 00c2 00F2E180 bhi .L697 10359 00c6 DFE814F0 tbh [pc, r4, lsl #1] 10360 .L699: 10361 00ca 3900 .2byte (.L703-.L699)/2 10362 00cc DF00 .2byte (.L697-.L699)/2 10363 00ce DF00 .2byte (.L697-.L699)/2 10364 00d0 DF00 .2byte (.L697-.L699)/2 10365 00d2 8F00 .2byte (.L702-.L699)/2 10366 00d4 DF00 .2byte (.L697-.L699)/2 10367 00d6 DF00 .2byte (.L697-.L699)/2 10368 00d8 DF00 .2byte (.L697-.L699)/2 10369 00da A800 .2byte (.L701-.L699)/2 10370 00dc DF00 .2byte (.L697-.L699)/2 10371 00de DF00 .2byte (.L697-.L699)/2 10372 00e0 DF00 .2byte (.L697-.L699)/2 10373 00e2 C100 .2byte (.L700-.L699)/2 10374 00e4 DF00 .2byte (.L697-.L699)/2 10375 00e6 DF00 .2byte (.L697-.L699)/2 10376 00e8 DF00 .2byte (.L697-.L699)/2 10377 00ea DA00 .2byte (.L698-.L699)/2 10378 .p2align 1 10379 .L694: 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10380 .loc 1 1081 12 is_stmt 0 discriminator 4 view .LVU3281 10381 00ec 95F83F20 ldrb r2, [r5, #63] @ zero_extendqisi2 10382 00f0 D2B2 uxtb r2, r2 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10383 .loc 1 1081 49 discriminator 4 view .LVU3282 10384 00f2 012A cmp r2, #1 10385 00f4 14BF ite ne 10386 00f6 0022 movne r2, #0 10387 00f8 0122 moveq r2, #1 10388 00fa D8E7 b .L696 10389 .L693: 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10390 .loc 1 1081 12 discriminator 7 view .LVU3283 10391 00fc 95F84020 ldrb r2, [r5, #64] @ zero_extendqisi2 10392 0100 D2B2 uxtb r2, r2 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10393 .loc 1 1081 49 discriminator 7 view .LVU3284 10394 0102 012A cmp r2, #1 10395 0104 14BF ite ne 10396 0106 0022 movne r2, #0 10397 0108 0122 moveq r2, #1 10398 010a D0E7 b .L696 10399 .L692: 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccodHXtm.s page 371 10400 .loc 1 1081 12 discriminator 10 view .LVU3285 10401 010c 95F84120 ldrb r2, [r5, #65] @ zero_extendqisi2 10402 0110 D2B2 uxtb r2, r2 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10403 .loc 1 1081 49 discriminator 10 view .LVU3286 10404 0112 012A cmp r2, #1 10405 0114 14BF ite ne 10406 0116 0022 movne r2, #0 10407 0118 0122 moveq r2, #1 10408 011a C8E7 b .L696 10409 .L690: 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10410 .loc 1 1081 12 discriminator 13 view .LVU3287 10411 011c 95F84220 ldrb r2, [r5, #66] @ zero_extendqisi2 10412 0120 D2B2 uxtb r2, r2 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10413 .loc 1 1081 49 discriminator 13 view .LVU3288 10414 0122 012A cmp r2, #1 10415 0124 14BF ite ne 10416 0126 0022 movne r2, #0 10417 0128 0122 moveq r2, #1 10418 012a C0E7 b .L696 10419 .L689: 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10420 .loc 1 1081 12 discriminator 14 view .LVU3289 10421 012c 95F84320 ldrb r2, [r5, #67] @ zero_extendqisi2 10422 0130 D2B2 uxtb r2, r2 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10423 .loc 1 1081 49 discriminator 14 view .LVU3290 10424 0132 012A cmp r2, #1 10425 0134 14BF ite ne 10426 0136 0022 movne r2, #0 10427 0138 0122 moveq r2, #1 10428 013a B8E7 b .L696 10429 .L703: 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10430 .loc 1 1089 7 discriminator 1 view .LVU3291 10431 013c 0222 movs r2, #2 10432 013e 85F83E20 strb r2, [r5, #62] 1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10433 .loc 1 1097 3 is_stmt 1 view .LVU3292 10434 .L704: 1102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10435 .loc 1 1102 7 view .LVU3293 1102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10436 .loc 1 1102 17 is_stmt 0 view .LVU3294 10437 0142 6A6A ldr r2, [r5, #36] 1102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10438 .loc 1 1102 52 view .LVU3295 10439 0144 7348 ldr r0, .L730 10440 0146 D062 str r0, [r2, #44] 1103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10441 .loc 1 1103 7 is_stmt 1 view .LVU3296 1103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10442 .loc 1 1103 17 is_stmt 0 view .LVU3297 10443 0148 6A6A ldr r2, [r5, #36] 1103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 372 10444 .loc 1 1103 56 view .LVU3298 10445 014a 7348 ldr r0, .L730+4 10446 014c 1063 str r0, [r2, #48] 1106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10447 .loc 1 1106 7 is_stmt 1 view .LVU3299 1106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10448 .loc 1 1106 17 is_stmt 0 view .LVU3300 10449 014e 6A6A ldr r2, [r5, #36] 1106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10450 .loc 1 1106 53 view .LVU3301 10451 0150 7248 ldr r0, .L730+8 10452 0152 5063 str r0, [r2, #52] 1109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10453 .loc 1 1109 7 is_stmt 1 view .LVU3302 1109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10454 .loc 1 1109 88 is_stmt 0 view .LVU3303 10455 0154 2A68 ldr r2, [r5] 1109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10456 .loc 1 1109 11 view .LVU3304 10457 0156 3432 adds r2, r2, #52 10458 0158 686A ldr r0, [r5, #36] 10459 015a FFF7FEFF bl HAL_DMA_Start_IT 10460 .LVL840: 1109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10461 .loc 1 1109 10 discriminator 1 view .LVU3305 10462 015e 0028 cmp r0, #0 10463 0160 40F0CC80 bne .L719 1117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10464 .loc 1 1117 7 is_stmt 1 view .LVU3306 10465 0164 2A68 ldr r2, [r5] 10466 0166 D368 ldr r3, [r2, #12] 10467 0168 43F40073 orr r3, r3, #512 10468 016c D360 str r3, [r2, #12] 1118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10469 .loc 1 1118 7 view .LVU3307 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10470 .loc 1 1190 3 view .LVU3308 10471 .L709: 1193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10472 .loc 1 1193 5 view .LVU3309 10473 016e 0122 movs r2, #1 10474 0170 2146 mov r1, r4 10475 0172 2868 ldr r0, [r5] 10476 0174 FFF7FEFF bl TIM_CCxChannelCmd 10477 .LVL841: 1195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10478 .loc 1 1195 5 view .LVU3310 1195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10479 .loc 1 1195 9 is_stmt 0 view .LVU3311 10480 0178 2B68 ldr r3, [r5] 10481 017a 694A ldr r2, .L730+12 10482 017c 9342 cmp r3, r2 10483 017e 0FD0 beq .L710 1195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10484 .loc 1 1195 9 discriminator 2 view .LVU3312 10485 0180 02F50062 add r2, r2, #2048 10486 0184 9342 cmp r3, r2 ARM GAS /tmp/ccodHXtm.s page 373 10487 0186 0BD0 beq .L710 1195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10488 .loc 1 1195 9 discriminator 4 view .LVU3313 10489 0188 02F54062 add r2, r2, #3072 10490 018c 9342 cmp r3, r2 10491 018e 07D0 beq .L710 1195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10492 .loc 1 1195 9 discriminator 6 view .LVU3314 10493 0190 02F58062 add r2, r2, #1024 10494 0194 9342 cmp r3, r2 10495 0196 03D0 beq .L710 1195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10496 .loc 1 1195 9 discriminator 8 view .LVU3315 10497 0198 02F58062 add r2, r2, #1024 10498 019c 9342 cmp r3, r2 10499 019e 03D1 bne .L711 10500 .L710: 1198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10501 .loc 1 1198 7 is_stmt 1 view .LVU3316 10502 01a0 5A6C ldr r2, [r3, #68] 10503 01a2 42F40042 orr r2, r2, #32768 10504 01a6 5A64 str r2, [r3, #68] 10505 .L711: 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10506 .loc 1 1202 5 view .LVU3317 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10507 .loc 1 1202 9 is_stmt 0 view .LVU3318 10508 01a8 2B68 ldr r3, [r5] 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10509 .loc 1 1202 8 view .LVU3319 10510 01aa 5D4A ldr r2, .L730+12 10511 01ac 9342 cmp r3, r2 10512 01ae 00F08D80 beq .L712 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10513 .loc 1 1202 9 discriminator 1 view .LVU3320 10514 01b2 B3F1804F cmp r3, #1073741824 10515 01b6 00F08980 beq .L712 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10516 .loc 1 1202 9 discriminator 2 view .LVU3321 10517 01ba A2F59432 sub r2, r2, #75776 10518 01be 9342 cmp r3, r2 10519 01c0 00F08480 beq .L712 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10520 .loc 1 1202 9 discriminator 3 view .LVU3322 10521 01c4 02F58062 add r2, r2, #1024 10522 01c8 9342 cmp r3, r2 10523 01ca 7FD0 beq .L712 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10524 .loc 1 1202 9 discriminator 4 view .LVU3323 10525 01cc 02F59632 add r2, r2, #76800 10526 01d0 9342 cmp r3, r2 10527 01d2 7BD0 beq .L712 1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10528 .loc 1 1202 9 discriminator 5 view .LVU3324 10529 01d4 02F54062 add r2, r2, #3072 10530 01d8 9342 cmp r3, r2 10531 01da 77D0 beq .L712 ARM GAS /tmp/ccodHXtm.s page 374 1212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10532 .loc 1 1212 7 is_stmt 1 view .LVU3325 10533 01dc 1A68 ldr r2, [r3] 10534 01de 42F00102 orr r2, r2, #1 10535 01e2 1A60 str r2, [r3] 10536 01e4 0020 movs r0, #0 10537 01e6 82E0 b .L688 10538 .LVL842: 10539 .L702: 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10540 .loc 1 1089 7 is_stmt 0 discriminator 3 view .LVU3326 10541 01e8 0222 movs r2, #2 10542 01ea 85F83F20 strb r2, [r5, #63] 1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10543 .loc 1 1097 3 is_stmt 1 view .LVU3327 10544 .L705: 1124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10545 .loc 1 1124 7 view .LVU3328 1124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10546 .loc 1 1124 17 is_stmt 0 view .LVU3329 10547 01ee AA6A ldr r2, [r5, #40] 1124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10548 .loc 1 1124 52 view .LVU3330 10549 01f0 4848 ldr r0, .L730 10550 01f2 D062 str r0, [r2, #44] 1125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10551 .loc 1 1125 7 is_stmt 1 view .LVU3331 1125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10552 .loc 1 1125 17 is_stmt 0 view .LVU3332 10553 01f4 AA6A ldr r2, [r5, #40] 1125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10554 .loc 1 1125 56 view .LVU3333 10555 01f6 4848 ldr r0, .L730+4 10556 01f8 1063 str r0, [r2, #48] 1128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10557 .loc 1 1128 7 is_stmt 1 view .LVU3334 1128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10558 .loc 1 1128 17 is_stmt 0 view .LVU3335 10559 01fa AA6A ldr r2, [r5, #40] 1128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10560 .loc 1 1128 53 view .LVU3336 10561 01fc 4748 ldr r0, .L730+8 10562 01fe 5063 str r0, [r2, #52] 1131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10563 .loc 1 1131 7 is_stmt 1 view .LVU3337 1131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10564 .loc 1 1131 88 is_stmt 0 view .LVU3338 10565 0200 2A68 ldr r2, [r5] 1131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10566 .loc 1 1131 11 view .LVU3339 10567 0202 3832 adds r2, r2, #56 10568 0204 A86A ldr r0, [r5, #40] 10569 0206 FFF7FEFF bl HAL_DMA_Start_IT 10570 .LVL843: 1131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10571 .loc 1 1131 10 discriminator 1 view .LVU3340 10572 020a 0028 cmp r0, #0 ARM GAS /tmp/ccodHXtm.s page 375 10573 020c 78D1 bne .L720 1139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10574 .loc 1 1139 7 is_stmt 1 view .LVU3341 10575 020e 2A68 ldr r2, [r5] 10576 0210 D368 ldr r3, [r2, #12] 10577 0212 43F48063 orr r3, r3, #1024 10578 0216 D360 str r3, [r2, #12] 1140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10579 .loc 1 1140 7 view .LVU3342 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10580 .loc 1 1190 3 view .LVU3343 10581 0218 A9E7 b .L709 10582 .LVL844: 10583 .L701: 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10584 .loc 1 1089 7 is_stmt 0 discriminator 6 view .LVU3344 10585 021a 0222 movs r2, #2 10586 021c 85F84020 strb r2, [r5, #64] 1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10587 .loc 1 1097 3 is_stmt 1 view .LVU3345 10588 .L706: 1146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10589 .loc 1 1146 7 view .LVU3346 1146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10590 .loc 1 1146 17 is_stmt 0 view .LVU3347 10591 0220 EA6A ldr r2, [r5, #44] 1146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10592 .loc 1 1146 52 view .LVU3348 10593 0222 3C48 ldr r0, .L730 10594 0224 D062 str r0, [r2, #44] 1147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10595 .loc 1 1147 7 is_stmt 1 view .LVU3349 1147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10596 .loc 1 1147 17 is_stmt 0 view .LVU3350 10597 0226 EA6A ldr r2, [r5, #44] 1147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10598 .loc 1 1147 56 view .LVU3351 10599 0228 3B48 ldr r0, .L730+4 10600 022a 1063 str r0, [r2, #48] 1150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10601 .loc 1 1150 7 is_stmt 1 view .LVU3352 1150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10602 .loc 1 1150 17 is_stmt 0 view .LVU3353 10603 022c EA6A ldr r2, [r5, #44] 1150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10604 .loc 1 1150 53 view .LVU3354 10605 022e 3B48 ldr r0, .L730+8 10606 0230 5063 str r0, [r2, #52] 1153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10607 .loc 1 1153 7 is_stmt 1 view .LVU3355 1153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10608 .loc 1 1153 88 is_stmt 0 view .LVU3356 10609 0232 2A68 ldr r2, [r5] 1153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10610 .loc 1 1153 11 view .LVU3357 10611 0234 3C32 adds r2, r2, #60 10612 0236 E86A ldr r0, [r5, #44] ARM GAS /tmp/ccodHXtm.s page 376 10613 0238 FFF7FEFF bl HAL_DMA_Start_IT 10614 .LVL845: 1153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10615 .loc 1 1153 10 discriminator 1 view .LVU3358 10616 023c 0028 cmp r0, #0 10617 023e 61D1 bne .L721 1160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10618 .loc 1 1160 7 is_stmt 1 view .LVU3359 10619 0240 2A68 ldr r2, [r5] 10620 0242 D368 ldr r3, [r2, #12] 10621 0244 43F40063 orr r3, r3, #2048 10622 0248 D360 str r3, [r2, #12] 1161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10623 .loc 1 1161 7 view .LVU3360 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10624 .loc 1 1190 3 view .LVU3361 10625 024a 90E7 b .L709 10626 .LVL846: 10627 .L700: 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10628 .loc 1 1089 7 is_stmt 0 discriminator 9 view .LVU3362 10629 024c 0222 movs r2, #2 10630 024e 85F84120 strb r2, [r5, #65] 1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10631 .loc 1 1097 3 is_stmt 1 view .LVU3363 10632 .L707: 1167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10633 .loc 1 1167 7 view .LVU3364 1167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10634 .loc 1 1167 17 is_stmt 0 view .LVU3365 10635 0252 2A6B ldr r2, [r5, #48] 1167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 10636 .loc 1 1167 52 view .LVU3366 10637 0254 2F48 ldr r0, .L730 10638 0256 D062 str r0, [r2, #44] 1168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10639 .loc 1 1168 7 is_stmt 1 view .LVU3367 1168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10640 .loc 1 1168 17 is_stmt 0 view .LVU3368 10641 0258 2A6B ldr r2, [r5, #48] 1168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10642 .loc 1 1168 56 view .LVU3369 10643 025a 2F48 ldr r0, .L730+4 10644 025c 1063 str r0, [r2, #48] 1171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10645 .loc 1 1171 7 is_stmt 1 view .LVU3370 1171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10646 .loc 1 1171 17 is_stmt 0 view .LVU3371 10647 025e 2A6B ldr r2, [r5, #48] 1171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10648 .loc 1 1171 53 view .LVU3372 10649 0260 2E48 ldr r0, .L730+8 10650 0262 5063 str r0, [r2, #52] 1174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10651 .loc 1 1174 7 is_stmt 1 view .LVU3373 1174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10652 .loc 1 1174 88 is_stmt 0 view .LVU3374 ARM GAS /tmp/ccodHXtm.s page 377 10653 0264 2A68 ldr r2, [r5] 1174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10654 .loc 1 1174 11 view .LVU3375 10655 0266 4032 adds r2, r2, #64 10656 0268 286B ldr r0, [r5, #48] 10657 026a FFF7FEFF bl HAL_DMA_Start_IT 10658 .LVL847: 1174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 10659 .loc 1 1174 10 discriminator 1 view .LVU3376 10660 026e 0028 cmp r0, #0 10661 0270 4AD1 bne .L722 1181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10662 .loc 1 1181 7 is_stmt 1 view .LVU3377 10663 0272 2A68 ldr r2, [r5] 10664 0274 D368 ldr r3, [r2, #12] 10665 0276 43F48053 orr r3, r3, #4096 10666 027a D360 str r3, [r2, #12] 1182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10667 .loc 1 1182 7 view .LVU3378 1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10668 .loc 1 1190 3 view .LVU3379 10669 027c 77E7 b .L709 10670 .LVL848: 10671 .L698: 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10672 .loc 1 1089 7 is_stmt 0 discriminator 12 view .LVU3380 10673 027e 0223 movs r3, #2 10674 .LVL849: 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10675 .loc 1 1089 7 discriminator 12 view .LVU3381 10676 0280 85F84230 strb r3, [r5, #66] 1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10677 .loc 1 1097 3 is_stmt 1 view .LVU3382 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10678 .loc 1 1089 7 is_stmt 0 discriminator 12 view .LVU3383 10679 0284 0120 movs r0, #1 10680 0286 32E0 b .L688 10681 .LVL850: 10682 .L697: 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10683 .loc 1 1089 7 discriminator 13 view .LVU3384 10684 0288 0222 movs r2, #2 10685 028a 85F84320 strb r2, [r5, #67] 1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10686 .loc 1 1097 3 is_stmt 1 view .LVU3385 10687 028e 0C2C cmp r4, #12 10688 0290 32D8 bhi .L718 10689 0292 01A2 adr r2, .L708 10690 0294 52F824F0 ldr pc, [r2, r4, lsl #2] 10691 .p2align 2 10692 .L708: 10693 0298 43010000 .word .L704+1 10694 029c F9020000 .word .L718+1 10695 02a0 F9020000 .word .L718+1 10696 02a4 F9020000 .word .L718+1 10697 02a8 EF010000 .word .L705+1 10698 02ac F9020000 .word .L718+1 ARM GAS /tmp/ccodHXtm.s page 378 10699 02b0 F9020000 .word .L718+1 10700 02b4 F9020000 .word .L718+1 10701 02b8 21020000 .word .L706+1 10702 02bc F9020000 .word .L718+1 10703 02c0 F9020000 .word .L718+1 10704 02c4 F9020000 .word .L718+1 10705 02c8 53020000 .word .L707+1 10706 .LVL851: 10707 .p2align 1 10708 .L712: 1204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 10709 .loc 1 1204 7 view .LVU3386 1204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 10710 .loc 1 1204 31 is_stmt 0 view .LVU3387 10711 02cc 9968 ldr r1, [r3, #8] 1204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 10712 .loc 1 1204 15 view .LVU3388 10713 02ce 154A ldr r2, .L730+16 10714 02d0 0A40 ands r2, r2, r1 10715 .LVL852: 1205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10716 .loc 1 1205 7 is_stmt 1 view .LVU3389 1205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10717 .loc 1 1205 10 is_stmt 0 view .LVU3390 10718 02d2 062A cmp r2, #6 10719 02d4 1AD0 beq .L723 1205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10720 .loc 1 1205 11 discriminator 1 view .LVU3391 10721 02d6 B2F5803F cmp r2, #65536 10722 02da 19D0 beq .L724 1207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10723 .loc 1 1207 9 is_stmt 1 view .LVU3392 10724 02dc 1A68 ldr r2, [r3] 10725 .LVL853: 1207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10726 .loc 1 1207 9 is_stmt 0 view .LVU3393 10727 02de 42F00102 orr r2, r2, #1 10728 02e2 1A60 str r2, [r3] 10729 02e4 0020 movs r0, #0 10730 02e6 02E0 b .L688 10731 .LVL854: 10732 .L714: 1079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10733 .loc 1 1079 12 view .LVU3394 10734 02e8 0220 movs r0, #2 10735 02ea 00E0 b .L688 10736 .L715: 1094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10737 .loc 1 1094 12 view .LVU3395 10738 02ec 0120 movs r0, #1 10739 .LVL855: 10740 .L688: 1218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10741 .loc 1 1218 1 view .LVU3396 10742 02ee 38BD pop {r3, r4, r5, pc} 10743 .LVL856: 10744 .L716: ARM GAS /tmp/ccodHXtm.s page 379 1085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10745 .loc 1 1085 14 view .LVU3397 10746 02f0 0120 movs r0, #1 10747 02f2 FCE7 b .L688 10748 .L717: 10749 02f4 0120 movs r0, #1 10750 02f6 FAE7 b .L688 10751 .L718: 1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10752 .loc 1 1097 3 view .LVU3398 10753 02f8 0120 movs r0, #1 10754 02fa F8E7 b .L688 10755 .LVL857: 10756 .L719: 1113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10757 .loc 1 1113 16 view .LVU3399 10758 02fc 0120 movs r0, #1 10759 02fe F6E7 b .L688 10760 .L720: 1135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10761 .loc 1 1135 16 view .LVU3400 10762 0300 0120 movs r0, #1 10763 0302 F4E7 b .L688 10764 .L721: 1157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10765 .loc 1 1157 16 view .LVU3401 10766 0304 0120 movs r0, #1 10767 0306 F2E7 b .L688 10768 .L722: 1178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10769 .loc 1 1178 16 view .LVU3402 10770 0308 0120 movs r0, #1 10771 030a F0E7 b .L688 10772 .LVL858: 10773 .L723: 1178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10774 .loc 1 1178 16 view .LVU3403 10775 030c 0020 movs r0, #0 10776 030e EEE7 b .L688 10777 .L724: 10778 0310 0020 movs r0, #0 10779 0312 ECE7 b .L688 10780 .L731: 10781 .align 2 10782 .L730: 10783 0314 00000000 .word TIM_DMADelayPulseCplt 10784 0318 00000000 .word TIM_DMADelayPulseHalfCplt 10785 031c 00000000 .word TIM_DMAError 10786 0320 002C0140 .word 1073818624 10787 0324 07000100 .word 65543 10788 .cfi_endproc 10789 .LFE347: 10791 .section .text.HAL_TIM_OC_Stop_DMA,"ax",%progbits 10792 .align 1 10793 .global HAL_TIM_OC_Stop_DMA 10794 .syntax unified 10795 .thumb ARM GAS /tmp/ccodHXtm.s page 380 10796 .thumb_func 10798 HAL_TIM_OC_Stop_DMA: 10799 .LVL859: 10800 .LFB348: 1232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 10801 .loc 1 1232 1 is_stmt 1 view -0 10802 .cfi_startproc 10803 @ args = 0, pretend = 0, frame = 0 10804 @ frame_needed = 0, uses_anonymous_args = 0 1232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 10805 .loc 1 1232 1 is_stmt 0 view .LVU3405 10806 0000 38B5 push {r3, r4, r5, lr} 10807 .LCFI90: 10808 .cfi_def_cfa_offset 16 10809 .cfi_offset 3, -16 10810 .cfi_offset 4, -12 10811 .cfi_offset 5, -8 10812 .cfi_offset 14, -4 10813 0002 0446 mov r4, r0 10814 0004 0D46 mov r5, r1 1233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10815 .loc 1 1233 3 is_stmt 1 view .LVU3406 10816 .LVL860: 1236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10817 .loc 1 1236 3 view .LVU3407 1238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10818 .loc 1 1238 3 view .LVU3408 10819 0006 0C29 cmp r1, #12 10820 0008 00F28D80 bhi .L750 10821 000c DFE801F0 tbb [pc, r1] 10822 .L735: 10823 0010 07 .byte (.L738-.L735)/2 10824 0011 8B .byte (.L750-.L735)/2 10825 0012 8B .byte (.L750-.L735)/2 10826 0013 8B .byte (.L750-.L735)/2 10827 0014 52 .byte (.L737-.L735)/2 10828 0015 8B .byte (.L750-.L735)/2 10829 0016 8B .byte (.L750-.L735)/2 10830 0017 8B .byte (.L750-.L735)/2 10831 0018 5B .byte (.L736-.L735)/2 10832 0019 8B .byte (.L750-.L735)/2 10833 001a 8B .byte (.L750-.L735)/2 10834 001b 8B .byte (.L750-.L735)/2 10835 001c 64 .byte (.L734-.L735)/2 10836 001d 00 .p2align 1 10837 .L738: 1243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 10838 .loc 1 1243 7 view .LVU3409 10839 001e 0268 ldr r2, [r0] 10840 0020 D368 ldr r3, [r2, #12] 10841 0022 23F40073 bic r3, r3, #512 10842 0026 D360 str r3, [r2, #12] 1244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10843 .loc 1 1244 7 view .LVU3410 1244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10844 .loc 1 1244 13 is_stmt 0 view .LVU3411 10845 0028 406A ldr r0, [r0, #36] ARM GAS /tmp/ccodHXtm.s page 381 10846 .LVL861: 1244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10847 .loc 1 1244 13 view .LVU3412 10848 002a FFF7FEFF bl HAL_DMA_Abort_IT 10849 .LVL862: 1245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10850 .loc 1 1245 7 is_stmt 1 view .LVU3413 1277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10851 .loc 1 1277 3 view .LVU3414 10852 .L739: 1280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10853 .loc 1 1280 5 view .LVU3415 10854 002e 0022 movs r2, #0 10855 0030 2946 mov r1, r5 10856 0032 2068 ldr r0, [r4] 10857 0034 FFF7FEFF bl TIM_CCxChannelCmd 10858 .LVL863: 1282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10859 .loc 1 1282 5 view .LVU3416 1282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10860 .loc 1 1282 9 is_stmt 0 view .LVU3417 10861 0038 2368 ldr r3, [r4] 10862 003a 3C4A ldr r2, .L752 10863 003c 9342 cmp r3, r2 10864 003e 0FD0 beq .L740 1282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10865 .loc 1 1282 9 discriminator 2 view .LVU3418 10866 0040 02F50062 add r2, r2, #2048 10867 0044 9342 cmp r3, r2 10868 0046 0BD0 beq .L740 1282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10869 .loc 1 1282 9 discriminator 4 view .LVU3419 10870 0048 02F54062 add r2, r2, #3072 10871 004c 9342 cmp r3, r2 10872 004e 07D0 beq .L740 1282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10873 .loc 1 1282 9 discriminator 6 view .LVU3420 10874 0050 02F58062 add r2, r2, #1024 10875 0054 9342 cmp r3, r2 10876 0056 03D0 beq .L740 1282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10877 .loc 1 1282 9 discriminator 8 view .LVU3421 10878 0058 02F58062 add r2, r2, #1024 10879 005c 9342 cmp r3, r2 10880 005e 0DD1 bne .L741 10881 .L740: 1285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10882 .loc 1 1285 7 is_stmt 1 view .LVU3422 1285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10883 .loc 1 1285 7 view .LVU3423 10884 0060 196A ldr r1, [r3, #32] 10885 0062 41F21112 movw r2, #4369 10886 0066 1142 tst r1, r2 10887 0068 08D1 bne .L741 1285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10888 .loc 1 1285 7 discriminator 1 view .LVU3424 10889 006a 196A ldr r1, [r3, #32] ARM GAS /tmp/ccodHXtm.s page 382 10890 006c 44F24442 movw r2, #17476 10891 0070 1142 tst r1, r2 10892 0072 03D1 bne .L741 1285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10893 .loc 1 1285 7 discriminator 3 view .LVU3425 10894 0074 5A6C ldr r2, [r3, #68] 10895 0076 22F40042 bic r2, r2, #32768 10896 007a 5A64 str r2, [r3, #68] 10897 .L741: 1285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10898 .loc 1 1285 7 discriminator 5 view .LVU3426 1289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10899 .loc 1 1289 5 view .LVU3427 1289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10900 .loc 1 1289 5 view .LVU3428 10901 007c 2368 ldr r3, [r4] 10902 007e 196A ldr r1, [r3, #32] 10903 0080 41F21112 movw r2, #4369 10904 0084 1142 tst r1, r2 10905 0086 08D1 bne .L742 1289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10906 .loc 1 1289 5 discriminator 1 view .LVU3429 10907 0088 196A ldr r1, [r3, #32] 10908 008a 44F24442 movw r2, #17476 10909 008e 1142 tst r1, r2 10910 0090 03D1 bne .L742 1289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10911 .loc 1 1289 5 discriminator 3 view .LVU3430 10912 0092 1A68 ldr r2, [r3] 10913 0094 22F00102 bic r2, r2, #1 10914 0098 1A60 str r2, [r3] 10915 .L742: 1289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 10916 .loc 1 1289 5 discriminator 5 view .LVU3431 1292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10917 .loc 1 1292 5 view .LVU3432 10918 009a 102D cmp r5, #16 10919 009c 3ED8 bhi .L743 10920 009e DFE805F0 tbb [pc, r5] 10921 .L745: 10922 00a2 24 .byte (.L749-.L745)/2 10923 00a3 3D .byte (.L743-.L745)/2 10924 00a4 3D .byte (.L743-.L745)/2 10925 00a5 3D .byte (.L743-.L745)/2 10926 00a6 29 .byte (.L748-.L745)/2 10927 00a7 3D .byte (.L743-.L745)/2 10928 00a8 3D .byte (.L743-.L745)/2 10929 00a9 3D .byte (.L743-.L745)/2 10930 00aa 2E .byte (.L747-.L745)/2 10931 00ab 3D .byte (.L743-.L745)/2 10932 00ac 3D .byte (.L743-.L745)/2 10933 00ad 3D .byte (.L743-.L745)/2 10934 00ae 33 .byte (.L746-.L745)/2 10935 00af 3D .byte (.L743-.L745)/2 10936 00b0 3D .byte (.L743-.L745)/2 10937 00b1 3D .byte (.L743-.L745)/2 10938 00b2 38 .byte (.L744-.L745)/2 ARM GAS /tmp/ccodHXtm.s page 383 10939 .LVL864: 10940 00b3 00 .p2align 1 10941 .L737: 1251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 10942 .loc 1 1251 7 view .LVU3433 10943 00b4 0268 ldr r2, [r0] 10944 00b6 D368 ldr r3, [r2, #12] 10945 00b8 23F48063 bic r3, r3, #1024 10946 00bc D360 str r3, [r2, #12] 1252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10947 .loc 1 1252 7 view .LVU3434 1252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10948 .loc 1 1252 13 is_stmt 0 view .LVU3435 10949 00be 806A ldr r0, [r0, #40] 10950 .LVL865: 1252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10951 .loc 1 1252 13 view .LVU3436 10952 00c0 FFF7FEFF bl HAL_DMA_Abort_IT 10953 .LVL866: 1253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10954 .loc 1 1253 7 is_stmt 1 view .LVU3437 1277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10955 .loc 1 1277 3 view .LVU3438 10956 00c4 B3E7 b .L739 10957 .LVL867: 10958 .L736: 1259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 10959 .loc 1 1259 7 view .LVU3439 10960 00c6 0268 ldr r2, [r0] 10961 00c8 D368 ldr r3, [r2, #12] 10962 00ca 23F40063 bic r3, r3, #2048 10963 00ce D360 str r3, [r2, #12] 1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10964 .loc 1 1260 7 view .LVU3440 1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10965 .loc 1 1260 13 is_stmt 0 view .LVU3441 10966 00d0 C06A ldr r0, [r0, #44] 10967 .LVL868: 1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10968 .loc 1 1260 13 view .LVU3442 10969 00d2 FFF7FEFF bl HAL_DMA_Abort_IT 10970 .LVL869: 1261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10971 .loc 1 1261 7 is_stmt 1 view .LVU3443 1277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10972 .loc 1 1277 3 view .LVU3444 10973 00d6 AAE7 b .L739 10974 .LVL870: 10975 .L734: 1267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 10976 .loc 1 1267 7 view .LVU3445 10977 00d8 0268 ldr r2, [r0] 10978 00da D368 ldr r3, [r2, #12] 10979 00dc 23F48053 bic r3, r3, #4096 10980 00e0 D360 str r3, [r2, #12] 1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10981 .loc 1 1268 7 view .LVU3446 ARM GAS /tmp/ccodHXtm.s page 384 1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10982 .loc 1 1268 13 is_stmt 0 view .LVU3447 10983 00e2 006B ldr r0, [r0, #48] 10984 .LVL871: 1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 10985 .loc 1 1268 13 view .LVU3448 10986 00e4 FFF7FEFF bl HAL_DMA_Abort_IT 10987 .LVL872: 1269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10988 .loc 1 1269 7 is_stmt 1 view .LVU3449 1277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 10989 .loc 1 1277 3 view .LVU3450 10990 00e8 A1E7 b .L739 10991 .L749: 1292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10992 .loc 1 1292 5 is_stmt 0 discriminator 1 view .LVU3451 10993 00ea 0123 movs r3, #1 10994 00ec 84F83E30 strb r3, [r4, #62] 10995 00f0 0020 movs r0, #0 10996 00f2 19E0 b .L733 10997 .L748: 1292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 10998 .loc 1 1292 5 discriminator 3 view .LVU3452 10999 00f4 0123 movs r3, #1 11000 00f6 84F83F30 strb r3, [r4, #63] 11001 00fa 0020 movs r0, #0 11002 00fc 14E0 b .L733 11003 .L747: 1292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11004 .loc 1 1292 5 discriminator 6 view .LVU3453 11005 00fe 0123 movs r3, #1 11006 0100 84F84030 strb r3, [r4, #64] 11007 0104 0020 movs r0, #0 11008 0106 0FE0 b .L733 11009 .L746: 1292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11010 .loc 1 1292 5 discriminator 9 view .LVU3454 11011 0108 0123 movs r3, #1 11012 010a 84F84130 strb r3, [r4, #65] 11013 010e 0020 movs r0, #0 11014 0110 0AE0 b .L733 11015 .L744: 1292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11016 .loc 1 1292 5 discriminator 12 view .LVU3455 11017 0112 0123 movs r3, #1 11018 0114 84F84230 strb r3, [r4, #66] 11019 0118 0020 movs r0, #0 11020 011a 05E0 b .L733 11021 .L743: 1292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11022 .loc 1 1292 5 discriminator 13 view .LVU3456 11023 011c 0123 movs r3, #1 11024 011e 84F84330 strb r3, [r4, #67] 11025 0122 0020 movs r0, #0 11026 0124 00E0 b .L733 11027 .LVL873: 11028 .L750: ARM GAS /tmp/ccodHXtm.s page 385 1238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11029 .loc 1 1238 3 view .LVU3457 11030 0126 0120 movs r0, #1 11031 .LVL874: 11032 .L733: 1296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11033 .loc 1 1296 3 is_stmt 1 view .LVU3458 1297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11034 .loc 1 1297 1 is_stmt 0 view .LVU3459 11035 0128 38BD pop {r3, r4, r5, pc} 11036 .LVL875: 11037 .L753: 1297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11038 .loc 1 1297 1 view .LVU3460 11039 012a 00BF .align 2 11040 .L752: 11041 012c 002C0140 .word 1073818624 11042 .cfi_endproc 11043 .LFE348: 11045 .section .text.HAL_TIM_PWM_Start,"ax",%progbits 11046 .align 1 11047 .global HAL_TIM_PWM_Start 11048 .syntax unified 11049 .thumb 11050 .thumb_func 11052 HAL_TIM_PWM_Start: 11053 .LVL876: 11054 .LFB353: 1476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 11055 .loc 1 1476 1 is_stmt 1 view -0 11056 .cfi_startproc 11057 @ args = 0, pretend = 0, frame = 0 11058 @ frame_needed = 0, uses_anonymous_args = 0 1476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 11059 .loc 1 1476 1 is_stmt 0 view .LVU3462 11060 0000 10B5 push {r4, lr} 11061 .LCFI91: 11062 .cfi_def_cfa_offset 8 11063 .cfi_offset 4, -8 11064 .cfi_offset 14, -4 11065 0002 0446 mov r4, r0 1477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11066 .loc 1 1477 3 is_stmt 1 view .LVU3463 1480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11067 .loc 1 1480 3 view .LVU3464 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11068 .loc 1 1483 3 view .LVU3465 11069 0004 1029 cmp r1, #16 11070 0006 3CD8 bhi .L755 11071 0008 DFE801F0 tbb [pc, r1] 11072 .L757: 11073 000c 09 .byte (.L761-.L757)/2 11074 000d 3B .byte (.L755-.L757)/2 11075 000e 3B .byte (.L755-.L757)/2 11076 000f 3B .byte (.L755-.L757)/2 11077 0010 1F .byte (.L760-.L757)/2 11078 0011 3B .byte (.L755-.L757)/2 ARM GAS /tmp/ccodHXtm.s page 386 11079 0012 3B .byte (.L755-.L757)/2 11080 0013 3B .byte (.L755-.L757)/2 11081 0014 26 .byte (.L759-.L757)/2 11082 0015 3B .byte (.L755-.L757)/2 11083 0016 3B .byte (.L755-.L757)/2 11084 0017 3B .byte (.L755-.L757)/2 11085 0018 2D .byte (.L758-.L757)/2 11086 0019 3B .byte (.L755-.L757)/2 11087 001a 3B .byte (.L755-.L757)/2 11088 001b 3B .byte (.L755-.L757)/2 11089 001c 34 .byte (.L756-.L757)/2 11090 001d 00 .p2align 1 11091 .L761: 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11092 .loc 1 1483 7 is_stmt 0 discriminator 1 view .LVU3466 11093 001e 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2 11094 0022 DBB2 uxtb r3, r3 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11095 .loc 1 1483 44 discriminator 1 view .LVU3467 11096 0024 013B subs r3, r3, #1 11097 0026 18BF it ne 11098 0028 0123 movne r3, #1 11099 .L762: 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11100 .loc 1 1483 6 discriminator 20 view .LVU3468 11101 002a 002B cmp r3, #0 11102 002c 40F08E80 bne .L776 1489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11103 .loc 1 1489 3 is_stmt 1 view .LVU3469 11104 0030 1029 cmp r1, #16 11105 0032 79D8 bhi .L764 11106 0034 DFE801F0 tbb [pc, r1] 11107 .L766: 11108 0038 2C .byte (.L770-.L766)/2 11109 0039 78 .byte (.L764-.L766)/2 11110 003a 78 .byte (.L764-.L766)/2 11111 003b 78 .byte (.L764-.L766)/2 11112 003c 68 .byte (.L769-.L766)/2 11113 003d 78 .byte (.L764-.L766)/2 11114 003e 78 .byte (.L764-.L766)/2 11115 003f 78 .byte (.L764-.L766)/2 11116 0040 6C .byte (.L768-.L766)/2 11117 0041 78 .byte (.L764-.L766)/2 11118 0042 78 .byte (.L764-.L766)/2 11119 0043 78 .byte (.L764-.L766)/2 11120 0044 70 .byte (.L767-.L766)/2 11121 0045 78 .byte (.L764-.L766)/2 11122 0046 78 .byte (.L764-.L766)/2 11123 0047 78 .byte (.L764-.L766)/2 11124 0048 74 .byte (.L765-.L766)/2 11125 0049 00 .p2align 1 11126 .L760: 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11127 .loc 1 1483 7 is_stmt 0 discriminator 4 view .LVU3470 11128 004a 90F83F30 ldrb r3, [r0, #63] @ zero_extendqisi2 11129 004e DBB2 uxtb r3, r3 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccodHXtm.s page 387 11130 .loc 1 1483 44 discriminator 4 view .LVU3471 11131 0050 013B subs r3, r3, #1 11132 0052 18BF it ne 11133 0054 0123 movne r3, #1 11134 0056 E8E7 b .L762 11135 .L759: 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11136 .loc 1 1483 7 discriminator 7 view .LVU3472 11137 0058 90F84030 ldrb r3, [r0, #64] @ zero_extendqisi2 11138 005c DBB2 uxtb r3, r3 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11139 .loc 1 1483 44 discriminator 7 view .LVU3473 11140 005e 013B subs r3, r3, #1 11141 0060 18BF it ne 11142 0062 0123 movne r3, #1 11143 0064 E1E7 b .L762 11144 .L758: 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11145 .loc 1 1483 7 discriminator 10 view .LVU3474 11146 0066 90F84130 ldrb r3, [r0, #65] @ zero_extendqisi2 11147 006a DBB2 uxtb r3, r3 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11148 .loc 1 1483 44 discriminator 10 view .LVU3475 11149 006c 013B subs r3, r3, #1 11150 006e 18BF it ne 11151 0070 0123 movne r3, #1 11152 0072 DAE7 b .L762 11153 .L756: 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11154 .loc 1 1483 7 discriminator 13 view .LVU3476 11155 0074 90F84230 ldrb r3, [r0, #66] @ zero_extendqisi2 11156 0078 DBB2 uxtb r3, r3 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11157 .loc 1 1483 44 discriminator 13 view .LVU3477 11158 007a 013B subs r3, r3, #1 11159 007c 18BF it ne 11160 007e 0123 movne r3, #1 11161 0080 D3E7 b .L762 11162 .L755: 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11163 .loc 1 1483 7 discriminator 14 view .LVU3478 11164 0082 90F84330 ldrb r3, [r0, #67] @ zero_extendqisi2 11165 0086 DBB2 uxtb r3, r3 1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11166 .loc 1 1483 44 discriminator 14 view .LVU3479 11167 0088 013B subs r3, r3, #1 11168 008a 18BF it ne 11169 008c 0123 movne r3, #1 11170 008e CCE7 b .L762 11171 .L770: 1489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11172 .loc 1 1489 3 discriminator 1 view .LVU3480 11173 0090 0223 movs r3, #2 11174 0092 84F83E30 strb r3, [r4, #62] 11175 .L771: 1492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11176 .loc 1 1492 3 is_stmt 1 view .LVU3481 ARM GAS /tmp/ccodHXtm.s page 388 11177 0096 0122 movs r2, #1 11178 0098 2068 ldr r0, [r4] 11179 .LVL877: 1492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11180 .loc 1 1492 3 is_stmt 0 view .LVU3482 11181 009a FFF7FEFF bl TIM_CCxChannelCmd 11182 .LVL878: 1494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11183 .loc 1 1494 3 is_stmt 1 view .LVU3483 1494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11184 .loc 1 1494 7 is_stmt 0 view .LVU3484 11185 009e 2368 ldr r3, [r4] 11186 00a0 2D4A ldr r2, .L780 11187 00a2 9342 cmp r3, r2 11188 00a4 0FD0 beq .L772 1494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11189 .loc 1 1494 7 discriminator 2 view .LVU3485 11190 00a6 02F50062 add r2, r2, #2048 11191 00aa 9342 cmp r3, r2 11192 00ac 0BD0 beq .L772 1494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11193 .loc 1 1494 7 discriminator 4 view .LVU3486 11194 00ae 02F54062 add r2, r2, #3072 11195 00b2 9342 cmp r3, r2 11196 00b4 07D0 beq .L772 1494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11197 .loc 1 1494 7 discriminator 6 view .LVU3487 11198 00b6 02F58062 add r2, r2, #1024 11199 00ba 9342 cmp r3, r2 11200 00bc 03D0 beq .L772 1494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11201 .loc 1 1494 7 discriminator 8 view .LVU3488 11202 00be 02F58062 add r2, r2, #1024 11203 00c2 9342 cmp r3, r2 11204 00c4 03D1 bne .L773 11205 .L772: 1497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11206 .loc 1 1497 5 is_stmt 1 view .LVU3489 11207 00c6 5A6C ldr r2, [r3, #68] 11208 00c8 42F40042 orr r2, r2, #32768 11209 00cc 5A64 str r2, [r3, #68] 11210 .L773: 1501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11211 .loc 1 1501 3 view .LVU3490 1501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11212 .loc 1 1501 7 is_stmt 0 view .LVU3491 11213 00ce 2368 ldr r3, [r4] 1501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11214 .loc 1 1501 6 view .LVU3492 11215 00d0 214A ldr r2, .L780 11216 00d2 9342 cmp r3, r2 11217 00d4 2CD0 beq .L774 1501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11218 .loc 1 1501 7 discriminator 1 view .LVU3493 11219 00d6 B3F1804F cmp r3, #1073741824 11220 00da 29D0 beq .L774 1501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccodHXtm.s page 389 11221 .loc 1 1501 7 discriminator 2 view .LVU3494 11222 00dc A2F59432 sub r2, r2, #75776 11223 00e0 9342 cmp r3, r2 11224 00e2 25D0 beq .L774 1501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11225 .loc 1 1501 7 discriminator 3 view .LVU3495 11226 00e4 02F58062 add r2, r2, #1024 11227 00e8 9342 cmp r3, r2 11228 00ea 21D0 beq .L774 1501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11229 .loc 1 1501 7 discriminator 4 view .LVU3496 11230 00ec 02F59632 add r2, r2, #76800 11231 00f0 9342 cmp r3, r2 11232 00f2 1DD0 beq .L774 1501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11233 .loc 1 1501 7 discriminator 5 view .LVU3497 11234 00f4 02F54062 add r2, r2, #3072 11235 00f8 9342 cmp r3, r2 11236 00fa 19D0 beq .L774 1511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11237 .loc 1 1511 5 is_stmt 1 view .LVU3498 11238 00fc 1A68 ldr r2, [r3] 11239 00fe 42F00102 orr r2, r2, #1 11240 0102 1A60 str r2, [r3] 1515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11241 .loc 1 1515 10 is_stmt 0 view .LVU3499 11242 0104 0020 movs r0, #0 11243 0106 22E0 b .L763 11244 .LVL879: 11245 .L769: 1489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11246 .loc 1 1489 3 discriminator 3 view .LVU3500 11247 0108 0223 movs r3, #2 11248 010a 84F83F30 strb r3, [r4, #63] 11249 010e C2E7 b .L771 11250 .L768: 1489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11251 .loc 1 1489 3 discriminator 6 view .LVU3501 11252 0110 0223 movs r3, #2 11253 0112 84F84030 strb r3, [r4, #64] 11254 0116 BEE7 b .L771 11255 .L767: 1489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11256 .loc 1 1489 3 discriminator 9 view .LVU3502 11257 0118 0223 movs r3, #2 11258 011a 84F84130 strb r3, [r4, #65] 11259 011e BAE7 b .L771 11260 .L765: 1489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11261 .loc 1 1489 3 discriminator 12 view .LVU3503 11262 0120 0223 movs r3, #2 11263 0122 84F84230 strb r3, [r4, #66] 11264 0126 B6E7 b .L771 11265 .L764: 1489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11266 .loc 1 1489 3 discriminator 13 view .LVU3504 11267 0128 0223 movs r3, #2 ARM GAS /tmp/ccodHXtm.s page 390 11268 012a 84F84330 strb r3, [r4, #67] 11269 012e B2E7 b .L771 11270 .LVL880: 11271 .L774: 1503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 11272 .loc 1 1503 5 is_stmt 1 view .LVU3505 1503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 11273 .loc 1 1503 29 is_stmt 0 view .LVU3506 11274 0130 9968 ldr r1, [r3, #8] 1503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 11275 .loc 1 1503 13 view .LVU3507 11276 0132 0A4A ldr r2, .L780+4 11277 0134 0A40 ands r2, r2, r1 11278 .LVL881: 1504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11279 .loc 1 1504 5 is_stmt 1 view .LVU3508 1504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11280 .loc 1 1504 8 is_stmt 0 view .LVU3509 11281 0136 062A cmp r2, #6 11282 0138 0AD0 beq .L777 1504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11283 .loc 1 1504 9 discriminator 1 view .LVU3510 11284 013a B2F5803F cmp r2, #65536 11285 013e 09D0 beq .L778 1506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11286 .loc 1 1506 7 is_stmt 1 view .LVU3511 11287 0140 1A68 ldr r2, [r3] 11288 .LVL882: 1506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11289 .loc 1 1506 7 is_stmt 0 view .LVU3512 11290 0142 42F00102 orr r2, r2, #1 11291 0146 1A60 str r2, [r3] 1515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11292 .loc 1 1515 10 view .LVU3513 11293 0148 0020 movs r0, #0 11294 014a 00E0 b .L763 11295 .LVL883: 11296 .L776: 1485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11297 .loc 1 1485 12 view .LVU3514 11298 014c 0120 movs r0, #1 11299 .LVL884: 11300 .L763: 1516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11301 .loc 1 1516 1 view .LVU3515 11302 014e 10BD pop {r4, pc} 11303 .LVL885: 11304 .L777: 1515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11305 .loc 1 1515 10 view .LVU3516 11306 0150 0020 movs r0, #0 11307 0152 FCE7 b .L763 11308 .L778: 11309 0154 0020 movs r0, #0 11310 0156 FAE7 b .L763 11311 .L781: 11312 .align 2 ARM GAS /tmp/ccodHXtm.s page 391 11313 .L780: 11314 0158 002C0140 .word 1073818624 11315 015c 07000100 .word 65543 11316 .cfi_endproc 11317 .LFE353: 11319 .section .text.HAL_TIM_PWM_Stop,"ax",%progbits 11320 .align 1 11321 .global HAL_TIM_PWM_Stop 11322 .syntax unified 11323 .thumb 11324 .thumb_func 11326 HAL_TIM_PWM_Stop: 11327 .LVL886: 11328 .LFB354: 1532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 11329 .loc 1 1532 1 is_stmt 1 view -0 11330 .cfi_startproc 11331 @ args = 0, pretend = 0, frame = 0 11332 @ frame_needed = 0, uses_anonymous_args = 0 1532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 11333 .loc 1 1532 1 is_stmt 0 view .LVU3518 11334 0000 38B5 push {r3, r4, r5, lr} 11335 .LCFI92: 11336 .cfi_def_cfa_offset 16 11337 .cfi_offset 3, -16 11338 .cfi_offset 4, -12 11339 .cfi_offset 5, -8 11340 .cfi_offset 14, -4 11341 0002 0446 mov r4, r0 11342 0004 0D46 mov r5, r1 1534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11343 .loc 1 1534 3 is_stmt 1 view .LVU3519 1537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11344 .loc 1 1537 3 view .LVU3520 11345 0006 0022 movs r2, #0 11346 0008 0068 ldr r0, [r0] 11347 .LVL887: 1537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11348 .loc 1 1537 3 is_stmt 0 view .LVU3521 11349 000a FFF7FEFF bl TIM_CCxChannelCmd 11350 .LVL888: 1539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11351 .loc 1 1539 3 is_stmt 1 view .LVU3522 1539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11352 .loc 1 1539 7 is_stmt 0 view .LVU3523 11353 000e 2368 ldr r3, [r4] 11354 0010 2A4A ldr r2, .L795 11355 0012 9342 cmp r3, r2 11356 0014 0FD0 beq .L783 1539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11357 .loc 1 1539 7 discriminator 2 view .LVU3524 11358 0016 02F50062 add r2, r2, #2048 11359 001a 9342 cmp r3, r2 11360 001c 0BD0 beq .L783 1539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11361 .loc 1 1539 7 discriminator 4 view .LVU3525 11362 001e 02F54062 add r2, r2, #3072 ARM GAS /tmp/ccodHXtm.s page 392 11363 0022 9342 cmp r3, r2 11364 0024 07D0 beq .L783 1539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11365 .loc 1 1539 7 discriminator 6 view .LVU3526 11366 0026 02F58062 add r2, r2, #1024 11367 002a 9342 cmp r3, r2 11368 002c 03D0 beq .L783 1539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11369 .loc 1 1539 7 discriminator 8 view .LVU3527 11370 002e 02F58062 add r2, r2, #1024 11371 0032 9342 cmp r3, r2 11372 0034 0DD1 bne .L784 11373 .L783: 1542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11374 .loc 1 1542 5 is_stmt 1 view .LVU3528 1542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11375 .loc 1 1542 5 view .LVU3529 11376 0036 196A ldr r1, [r3, #32] 11377 0038 41F21112 movw r2, #4369 11378 003c 1142 tst r1, r2 11379 003e 08D1 bne .L784 1542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11380 .loc 1 1542 5 discriminator 1 view .LVU3530 11381 0040 196A ldr r1, [r3, #32] 11382 0042 44F24442 movw r2, #17476 11383 0046 1142 tst r1, r2 11384 0048 03D1 bne .L784 1542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11385 .loc 1 1542 5 discriminator 3 view .LVU3531 11386 004a 5A6C ldr r2, [r3, #68] 11387 004c 22F40042 bic r2, r2, #32768 11388 0050 5A64 str r2, [r3, #68] 11389 .L784: 1542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11390 .loc 1 1542 5 discriminator 5 view .LVU3532 1546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11391 .loc 1 1546 3 view .LVU3533 1546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11392 .loc 1 1546 3 view .LVU3534 11393 0052 2368 ldr r3, [r4] 11394 0054 196A ldr r1, [r3, #32] 11395 0056 41F21112 movw r2, #4369 11396 005a 1142 tst r1, r2 11397 005c 08D1 bne .L785 1546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11398 .loc 1 1546 3 discriminator 1 view .LVU3535 11399 005e 196A ldr r1, [r3, #32] 11400 0060 44F24442 movw r2, #17476 11401 0064 1142 tst r1, r2 11402 0066 03D1 bne .L785 1546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11403 .loc 1 1546 3 discriminator 3 view .LVU3536 11404 0068 1A68 ldr r2, [r3] 11405 006a 22F00102 bic r2, r2, #1 11406 006e 1A60 str r2, [r3] 11407 .L785: 1546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 393 11408 .loc 1 1546 3 discriminator 5 view .LVU3537 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11409 .loc 1 1549 3 view .LVU3538 11410 0070 102D cmp r5, #16 11411 0072 1FD8 bhi .L786 11412 0074 DFE805F0 tbb [pc, r5] 11413 .L788: 11414 0078 09 .byte (.L792-.L788)/2 11415 0079 1E .byte (.L786-.L788)/2 11416 007a 1E .byte (.L786-.L788)/2 11417 007b 1E .byte (.L786-.L788)/2 11418 007c 0E .byte (.L791-.L788)/2 11419 007d 1E .byte (.L786-.L788)/2 11420 007e 1E .byte (.L786-.L788)/2 11421 007f 1E .byte (.L786-.L788)/2 11422 0080 12 .byte (.L790-.L788)/2 11423 0081 1E .byte (.L786-.L788)/2 11424 0082 1E .byte (.L786-.L788)/2 11425 0083 1E .byte (.L786-.L788)/2 11426 0084 16 .byte (.L789-.L788)/2 11427 0085 1E .byte (.L786-.L788)/2 11428 0086 1E .byte (.L786-.L788)/2 11429 0087 1E .byte (.L786-.L788)/2 11430 0088 1A .byte (.L787-.L788)/2 11431 0089 00 .p2align 1 11432 .L792: 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11433 .loc 1 1549 3 is_stmt 0 discriminator 1 view .LVU3539 11434 008a 0123 movs r3, #1 11435 008c 84F83E30 strb r3, [r4, #62] 11436 .L793: 1552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11437 .loc 1 1552 3 is_stmt 1 view .LVU3540 1553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11438 .loc 1 1553 1 is_stmt 0 view .LVU3541 11439 0090 0020 movs r0, #0 11440 0092 38BD pop {r3, r4, r5, pc} 11441 .LVL889: 11442 .L791: 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11443 .loc 1 1549 3 discriminator 3 view .LVU3542 11444 0094 0123 movs r3, #1 11445 0096 84F83F30 strb r3, [r4, #63] 11446 009a F9E7 b .L793 11447 .L790: 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11448 .loc 1 1549 3 discriminator 6 view .LVU3543 11449 009c 0123 movs r3, #1 11450 009e 84F84030 strb r3, [r4, #64] 11451 00a2 F5E7 b .L793 11452 .L789: 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11453 .loc 1 1549 3 discriminator 9 view .LVU3544 11454 00a4 0123 movs r3, #1 11455 00a6 84F84130 strb r3, [r4, #65] 11456 00aa F1E7 b .L793 11457 .L787: ARM GAS /tmp/ccodHXtm.s page 394 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11458 .loc 1 1549 3 discriminator 12 view .LVU3545 11459 00ac 0123 movs r3, #1 11460 00ae 84F84230 strb r3, [r4, #66] 11461 00b2 EDE7 b .L793 11462 .L786: 1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11463 .loc 1 1549 3 discriminator 13 view .LVU3546 11464 00b4 0123 movs r3, #1 11465 00b6 84F84330 strb r3, [r4, #67] 11466 00ba E9E7 b .L793 11467 .L796: 11468 .align 2 11469 .L795: 11470 00bc 002C0140 .word 1073818624 11471 .cfi_endproc 11472 .LFE354: 11474 .section .text.HAL_TIM_PWM_Start_IT,"ax",%progbits 11475 .align 1 11476 .global HAL_TIM_PWM_Start_IT 11477 .syntax unified 11478 .thumb 11479 .thumb_func 11481 HAL_TIM_PWM_Start_IT: 11482 .LVL890: 11483 .LFB355: 1567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 11484 .loc 1 1567 1 is_stmt 1 view -0 11485 .cfi_startproc 11486 @ args = 0, pretend = 0, frame = 0 11487 @ frame_needed = 0, uses_anonymous_args = 0 1567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 11488 .loc 1 1567 1 is_stmt 0 view .LVU3548 11489 0000 10B5 push {r4, lr} 11490 .LCFI93: 11491 .cfi_def_cfa_offset 8 11492 .cfi_offset 4, -8 11493 .cfi_offset 14, -4 11494 0002 0446 mov r4, r0 1568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 11495 .loc 1 1568 3 is_stmt 1 view .LVU3549 11496 .LVL891: 1569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11497 .loc 1 1569 3 view .LVU3550 1572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11498 .loc 1 1572 3 view .LVU3551 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11499 .loc 1 1575 3 view .LVU3552 11500 0004 1029 cmp r1, #16 11501 0006 3DD8 bhi .L798 11502 0008 DFE801F0 tbb [pc, r1] 11503 .L800: 11504 000c 09 .byte (.L804-.L800)/2 11505 000d 3C .byte (.L798-.L800)/2 11506 000e 3C .byte (.L798-.L800)/2 11507 000f 3C .byte (.L798-.L800)/2 11508 0010 20 .byte (.L803-.L800)/2 ARM GAS /tmp/ccodHXtm.s page 395 11509 0011 3C .byte (.L798-.L800)/2 11510 0012 3C .byte (.L798-.L800)/2 11511 0013 3C .byte (.L798-.L800)/2 11512 0014 27 .byte (.L802-.L800)/2 11513 0015 3C .byte (.L798-.L800)/2 11514 0016 3C .byte (.L798-.L800)/2 11515 0017 3C .byte (.L798-.L800)/2 11516 0018 2E .byte (.L801-.L800)/2 11517 0019 3C .byte (.L798-.L800)/2 11518 001a 3C .byte (.L798-.L800)/2 11519 001b 3C .byte (.L798-.L800)/2 11520 001c 35 .byte (.L799-.L800)/2 11521 001d 00 .p2align 1 11522 .L804: 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11523 .loc 1 1575 7 is_stmt 0 discriminator 1 view .LVU3553 11524 001e 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2 11525 0022 DBB2 uxtb r3, r3 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11526 .loc 1 1575 44 discriminator 1 view .LVU3554 11527 0024 013B subs r3, r3, #1 11528 0026 18BF it ne 11529 0028 0123 movne r3, #1 11530 .L805: 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11531 .loc 1 1575 6 discriminator 20 view .LVU3555 11532 002a 002B cmp r3, #0 11533 002c 40F0C280 bne .L824 1581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11534 .loc 1 1581 3 is_stmt 1 view .LVU3556 11535 0030 1029 cmp r1, #16 11536 0032 00F28F80 bhi .L807 11537 0036 DFE801F0 tbb [pc, r1] 11538 .L809: 11539 003a 2C .byte (.L813-.L809)/2 11540 003b 8D .byte (.L807-.L809)/2 11541 003c 8D .byte (.L807-.L809)/2 11542 003d 8D .byte (.L807-.L809)/2 11543 003e 6D .byte (.L812-.L809)/2 11544 003f 8D .byte (.L807-.L809)/2 11545 0040 8D .byte (.L807-.L809)/2 11546 0041 8D .byte (.L807-.L809)/2 11547 0042 76 .byte (.L811-.L809)/2 11548 0043 8D .byte (.L807-.L809)/2 11549 0044 8D .byte (.L807-.L809)/2 11550 0045 8D .byte (.L807-.L809)/2 11551 0046 7F .byte (.L810-.L809)/2 11552 0047 8D .byte (.L807-.L809)/2 11553 0048 8D .byte (.L807-.L809)/2 11554 0049 8D .byte (.L807-.L809)/2 11555 004a 88 .byte (.L808-.L809)/2 11556 004b 00 .p2align 1 11557 .L803: 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11558 .loc 1 1575 7 is_stmt 0 discriminator 4 view .LVU3557 11559 004c 90F83F30 ldrb r3, [r0, #63] @ zero_extendqisi2 11560 0050 DBB2 uxtb r3, r3 ARM GAS /tmp/ccodHXtm.s page 396 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11561 .loc 1 1575 44 discriminator 4 view .LVU3558 11562 0052 013B subs r3, r3, #1 11563 0054 18BF it ne 11564 0056 0123 movne r3, #1 11565 0058 E7E7 b .L805 11566 .L802: 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11567 .loc 1 1575 7 discriminator 7 view .LVU3559 11568 005a 90F84030 ldrb r3, [r0, #64] @ zero_extendqisi2 11569 005e DBB2 uxtb r3, r3 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11570 .loc 1 1575 44 discriminator 7 view .LVU3560 11571 0060 013B subs r3, r3, #1 11572 0062 18BF it ne 11573 0064 0123 movne r3, #1 11574 0066 E0E7 b .L805 11575 .L801: 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11576 .loc 1 1575 7 discriminator 10 view .LVU3561 11577 0068 90F84130 ldrb r3, [r0, #65] @ zero_extendqisi2 11578 006c DBB2 uxtb r3, r3 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11579 .loc 1 1575 44 discriminator 10 view .LVU3562 11580 006e 013B subs r3, r3, #1 11581 0070 18BF it ne 11582 0072 0123 movne r3, #1 11583 0074 D9E7 b .L805 11584 .L799: 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11585 .loc 1 1575 7 discriminator 13 view .LVU3563 11586 0076 90F84230 ldrb r3, [r0, #66] @ zero_extendqisi2 11587 007a DBB2 uxtb r3, r3 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11588 .loc 1 1575 44 discriminator 13 view .LVU3564 11589 007c 013B subs r3, r3, #1 11590 007e 18BF it ne 11591 0080 0123 movne r3, #1 11592 0082 D2E7 b .L805 11593 .L798: 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11594 .loc 1 1575 7 discriminator 14 view .LVU3565 11595 0084 90F84330 ldrb r3, [r0, #67] @ zero_extendqisi2 11596 0088 DBB2 uxtb r3, r3 1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11597 .loc 1 1575 44 discriminator 14 view .LVU3566 11598 008a 013B subs r3, r3, #1 11599 008c 18BF it ne 11600 008e 0123 movne r3, #1 11601 0090 CBE7 b .L805 11602 .L813: 1581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11603 .loc 1 1581 3 discriminator 1 view .LVU3567 11604 0092 0223 movs r3, #2 11605 0094 84F83E30 strb r3, [r4, #62] 1583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11606 .loc 1 1583 3 is_stmt 1 view .LVU3568 ARM GAS /tmp/ccodHXtm.s page 397 11607 .L814: 1588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 11608 .loc 1 1588 7 view .LVU3569 11609 0098 2268 ldr r2, [r4] 11610 009a D368 ldr r3, [r2, #12] 11611 009c 43F00203 orr r3, r3, #2 11612 00a0 D360 str r3, [r2, #12] 1589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11613 .loc 1 1589 7 view .LVU3570 1618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11614 .loc 1 1618 3 view .LVU3571 11615 .L819: 1621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11616 .loc 1 1621 5 view .LVU3572 11617 00a2 0122 movs r2, #1 11618 00a4 2068 ldr r0, [r4] 11619 .LVL892: 1621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11620 .loc 1 1621 5 is_stmt 0 view .LVU3573 11621 00a6 FFF7FEFF bl TIM_CCxChannelCmd 11622 .LVL893: 1623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11623 .loc 1 1623 5 is_stmt 1 view .LVU3574 1623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11624 .loc 1 1623 9 is_stmt 0 view .LVU3575 11625 00aa 2368 ldr r3, [r4] 11626 00ac 454A ldr r2, .L833 11627 00ae 9342 cmp r3, r2 11628 00b0 0FD0 beq .L820 1623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11629 .loc 1 1623 9 discriminator 2 view .LVU3576 11630 00b2 02F50062 add r2, r2, #2048 11631 00b6 9342 cmp r3, r2 11632 00b8 0BD0 beq .L820 1623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11633 .loc 1 1623 9 discriminator 4 view .LVU3577 11634 00ba 02F54062 add r2, r2, #3072 11635 00be 9342 cmp r3, r2 11636 00c0 07D0 beq .L820 1623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11637 .loc 1 1623 9 discriminator 6 view .LVU3578 11638 00c2 02F58062 add r2, r2, #1024 11639 00c6 9342 cmp r3, r2 11640 00c8 03D0 beq .L820 1623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11641 .loc 1 1623 9 discriminator 8 view .LVU3579 11642 00ca 02F58062 add r2, r2, #1024 11643 00ce 9342 cmp r3, r2 11644 00d0 03D1 bne .L821 11645 .L820: 1626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11646 .loc 1 1626 7 is_stmt 1 view .LVU3580 11647 00d2 5A6C ldr r2, [r3, #68] 11648 00d4 42F40042 orr r2, r2, #32768 11649 00d8 5A64 str r2, [r3, #68] 11650 .L821: 1630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccodHXtm.s page 398 11651 .loc 1 1630 5 view .LVU3581 1630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11652 .loc 1 1630 9 is_stmt 0 view .LVU3582 11653 00da 2368 ldr r3, [r4] 1630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11654 .loc 1 1630 8 view .LVU3583 11655 00dc 394A ldr r2, .L833 11656 00de 9342 cmp r3, r2 11657 00e0 5AD0 beq .L822 1630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11658 .loc 1 1630 9 discriminator 1 view .LVU3584 11659 00e2 B3F1804F cmp r3, #1073741824 11660 00e6 57D0 beq .L822 1630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11661 .loc 1 1630 9 discriminator 2 view .LVU3585 11662 00e8 A2F59432 sub r2, r2, #75776 11663 00ec 9342 cmp r3, r2 11664 00ee 53D0 beq .L822 1630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11665 .loc 1 1630 9 discriminator 3 view .LVU3586 11666 00f0 02F58062 add r2, r2, #1024 11667 00f4 9342 cmp r3, r2 11668 00f6 4FD0 beq .L822 1630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11669 .loc 1 1630 9 discriminator 4 view .LVU3587 11670 00f8 02F59632 add r2, r2, #76800 11671 00fc 9342 cmp r3, r2 11672 00fe 4BD0 beq .L822 1630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11673 .loc 1 1630 9 discriminator 5 view .LVU3588 11674 0100 02F54062 add r2, r2, #3072 11675 0104 9342 cmp r3, r2 11676 0106 47D0 beq .L822 1640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11677 .loc 1 1640 7 is_stmt 1 view .LVU3589 11678 0108 1A68 ldr r2, [r3] 11679 010a 42F00102 orr r2, r2, #1 11680 010e 1A60 str r2, [r3] 11681 0110 0020 movs r0, #0 11682 0112 50E0 b .L806 11683 .LVL894: 11684 .L812: 1581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11685 .loc 1 1581 3 is_stmt 0 discriminator 3 view .LVU3590 11686 0114 0223 movs r3, #2 11687 0116 84F83F30 strb r3, [r4, #63] 1583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11688 .loc 1 1583 3 is_stmt 1 view .LVU3591 11689 .L815: 1595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 11690 .loc 1 1595 7 view .LVU3592 11691 011a 2268 ldr r2, [r4] 11692 011c D368 ldr r3, [r2, #12] 11693 011e 43F00403 orr r3, r3, #4 11694 0122 D360 str r3, [r2, #12] 1596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11695 .loc 1 1596 7 view .LVU3593 ARM GAS /tmp/ccodHXtm.s page 399 1618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11696 .loc 1 1618 3 view .LVU3594 11697 0124 BDE7 b .L819 11698 .L811: 1581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11699 .loc 1 1581 3 is_stmt 0 discriminator 6 view .LVU3595 11700 0126 0223 movs r3, #2 11701 0128 84F84030 strb r3, [r4, #64] 1583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11702 .loc 1 1583 3 is_stmt 1 view .LVU3596 11703 .L816: 1602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 11704 .loc 1 1602 7 view .LVU3597 11705 012c 2268 ldr r2, [r4] 11706 012e D368 ldr r3, [r2, #12] 11707 0130 43F00803 orr r3, r3, #8 11708 0134 D360 str r3, [r2, #12] 1603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11709 .loc 1 1603 7 view .LVU3598 1618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11710 .loc 1 1618 3 view .LVU3599 11711 0136 B4E7 b .L819 11712 .L810: 1581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11713 .loc 1 1581 3 is_stmt 0 discriminator 9 view .LVU3600 11714 0138 0223 movs r3, #2 11715 013a 84F84130 strb r3, [r4, #65] 1583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11716 .loc 1 1583 3 is_stmt 1 view .LVU3601 11717 .L817: 1609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 11718 .loc 1 1609 7 view .LVU3602 11719 013e 2268 ldr r2, [r4] 11720 0140 D368 ldr r3, [r2, #12] 11721 0142 43F01003 orr r3, r3, #16 11722 0146 D360 str r3, [r2, #12] 1610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11723 .loc 1 1610 7 view .LVU3603 1618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11724 .loc 1 1618 3 view .LVU3604 11725 0148 ABE7 b .L819 11726 .L808: 1581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11727 .loc 1 1581 3 is_stmt 0 discriminator 12 view .LVU3605 11728 014a 0223 movs r3, #2 11729 014c 84F84230 strb r3, [r4, #66] 1583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11730 .loc 1 1583 3 is_stmt 1 view .LVU3606 1581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11731 .loc 1 1581 3 is_stmt 0 discriminator 12 view .LVU3607 11732 0150 0120 movs r0, #1 11733 .LVL895: 1581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11734 .loc 1 1581 3 discriminator 12 view .LVU3608 11735 0152 30E0 b .L806 11736 .LVL896: 11737 .L807: ARM GAS /tmp/ccodHXtm.s page 400 1581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11738 .loc 1 1581 3 discriminator 13 view .LVU3609 11739 0154 0223 movs r3, #2 11740 0156 84F84330 strb r3, [r4, #67] 1583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11741 .loc 1 1583 3 is_stmt 1 view .LVU3610 11742 015a 0C29 cmp r1, #12 11743 015c 2CD8 bhi .L825 11744 015e 01A3 adr r3, .L818 11745 0160 53F821F0 ldr pc, [r3, r1, lsl #2] 11746 .p2align 2 11747 .L818: 11748 0164 99000000 .word .L814+1 11749 0168 B9010000 .word .L825+1 11750 016c B9010000 .word .L825+1 11751 0170 B9010000 .word .L825+1 11752 0174 1B010000 .word .L815+1 11753 0178 B9010000 .word .L825+1 11754 017c B9010000 .word .L825+1 11755 0180 B9010000 .word .L825+1 11756 0184 2D010000 .word .L816+1 11757 0188 B9010000 .word .L825+1 11758 018c B9010000 .word .L825+1 11759 0190 B9010000 .word .L825+1 11760 0194 3F010000 .word .L817+1 11761 .LVL897: 11762 .p2align 1 11763 .L822: 1632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 11764 .loc 1 1632 7 view .LVU3611 1632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 11765 .loc 1 1632 31 is_stmt 0 view .LVU3612 11766 0198 9968 ldr r1, [r3, #8] 1632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 11767 .loc 1 1632 15 view .LVU3613 11768 019a 0B4A ldr r2, .L833+4 11769 019c 0A40 ands r2, r2, r1 11770 .LVL898: 1633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11771 .loc 1 1633 7 is_stmt 1 view .LVU3614 1633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11772 .loc 1 1633 10 is_stmt 0 view .LVU3615 11773 019e 062A cmp r2, #6 11774 01a0 0CD0 beq .L826 1633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11775 .loc 1 1633 11 discriminator 1 view .LVU3616 11776 01a2 B2F5803F cmp r2, #65536 11777 01a6 0BD0 beq .L827 1635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11778 .loc 1 1635 9 is_stmt 1 view .LVU3617 11779 01a8 1A68 ldr r2, [r3] 11780 .LVL899: 1635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11781 .loc 1 1635 9 is_stmt 0 view .LVU3618 11782 01aa 42F00102 orr r2, r2, #1 11783 01ae 1A60 str r2, [r3] 11784 01b0 0020 movs r0, #0 ARM GAS /tmp/ccodHXtm.s page 401 11785 01b2 00E0 b .L806 11786 .LVL900: 11787 .L824: 1577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11788 .loc 1 1577 12 view .LVU3619 11789 01b4 0120 movs r0, #1 11790 .LVL901: 11791 .L806: 1646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11792 .loc 1 1646 1 view .LVU3620 11793 01b6 10BD pop {r4, pc} 11794 .LVL902: 11795 .L825: 1583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11796 .loc 1 1583 3 view .LVU3621 11797 01b8 0120 movs r0, #1 11798 .LVL903: 1583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11799 .loc 1 1583 3 view .LVU3622 11800 01ba FCE7 b .L806 11801 .LVL904: 11802 .L826: 1583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11803 .loc 1 1583 3 view .LVU3623 11804 01bc 0020 movs r0, #0 11805 01be FAE7 b .L806 11806 .L827: 11807 01c0 0020 movs r0, #0 11808 01c2 F8E7 b .L806 11809 .L834: 11810 .align 2 11811 .L833: 11812 01c4 002C0140 .word 1073818624 11813 01c8 07000100 .word 65543 11814 .cfi_endproc 11815 .LFE355: 11817 .section .text.HAL_TIM_PWM_Stop_IT,"ax",%progbits 11818 .align 1 11819 .global HAL_TIM_PWM_Stop_IT 11820 .syntax unified 11821 .thumb 11822 .thumb_func 11824 HAL_TIM_PWM_Stop_IT: 11825 .LVL905: 11826 .LFB356: 1660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 11827 .loc 1 1660 1 is_stmt 1 view -0 11828 .cfi_startproc 11829 @ args = 0, pretend = 0, frame = 0 11830 @ frame_needed = 0, uses_anonymous_args = 0 1660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 11831 .loc 1 1660 1 is_stmt 0 view .LVU3625 11832 0000 38B5 push {r3, r4, r5, lr} 11833 .LCFI94: 11834 .cfi_def_cfa_offset 16 11835 .cfi_offset 3, -16 11836 .cfi_offset 4, -12 ARM GAS /tmp/ccodHXtm.s page 402 11837 .cfi_offset 5, -8 11838 .cfi_offset 14, -4 11839 0002 0546 mov r5, r0 11840 0004 0C46 mov r4, r1 1661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11841 .loc 1 1661 3 is_stmt 1 view .LVU3626 11842 .LVL906: 1664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11843 .loc 1 1664 3 view .LVU3627 1666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11844 .loc 1 1666 3 view .LVU3628 11845 0006 0C29 cmp r1, #12 11846 0008 00F28180 bhi .L853 11847 000c DFE801F0 tbb [pc, r1] 11848 .L838: 11849 0010 07 .byte (.L841-.L838)/2 11850 0011 7F .byte (.L853-.L838)/2 11851 0012 7F .byte (.L853-.L838)/2 11852 0013 7F .byte (.L853-.L838)/2 11853 0014 4F .byte (.L840-.L838)/2 11854 0015 7F .byte (.L853-.L838)/2 11855 0016 7F .byte (.L853-.L838)/2 11856 0017 7F .byte (.L853-.L838)/2 11857 0018 55 .byte (.L839-.L838)/2 11858 0019 7F .byte (.L853-.L838)/2 11859 001a 7F .byte (.L853-.L838)/2 11860 001b 7F .byte (.L853-.L838)/2 11861 001c 5B .byte (.L837-.L838)/2 11862 001d 00 .p2align 1 11863 .L841: 1671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 11864 .loc 1 1671 7 view .LVU3629 11865 001e 0268 ldr r2, [r0] 11866 0020 D368 ldr r3, [r2, #12] 11867 0022 23F00203 bic r3, r3, #2 11868 0026 D360 str r3, [r2, #12] 1672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11869 .loc 1 1672 7 view .LVU3630 1701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11870 .loc 1 1701 3 view .LVU3631 11871 .L842: 1704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11872 .loc 1 1704 5 view .LVU3632 11873 0028 0022 movs r2, #0 11874 002a 2146 mov r1, r4 11875 .LVL907: 1704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11876 .loc 1 1704 5 is_stmt 0 view .LVU3633 11877 002c 2868 ldr r0, [r5] 11878 .LVL908: 1704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11879 .loc 1 1704 5 view .LVU3634 11880 002e FFF7FEFF bl TIM_CCxChannelCmd 11881 .LVL909: 1706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11882 .loc 1 1706 5 is_stmt 1 view .LVU3635 1706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccodHXtm.s page 403 11883 .loc 1 1706 9 is_stmt 0 view .LVU3636 11884 0032 2B68 ldr r3, [r5] 11885 0034 374A ldr r2, .L855 11886 0036 9342 cmp r3, r2 11887 0038 0FD0 beq .L843 1706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11888 .loc 1 1706 9 discriminator 2 view .LVU3637 11889 003a 02F50062 add r2, r2, #2048 11890 003e 9342 cmp r3, r2 11891 0040 0BD0 beq .L843 1706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11892 .loc 1 1706 9 discriminator 4 view .LVU3638 11893 0042 02F54062 add r2, r2, #3072 11894 0046 9342 cmp r3, r2 11895 0048 07D0 beq .L843 1706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11896 .loc 1 1706 9 discriminator 6 view .LVU3639 11897 004a 02F58062 add r2, r2, #1024 11898 004e 9342 cmp r3, r2 11899 0050 03D0 beq .L843 1706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11900 .loc 1 1706 9 discriminator 8 view .LVU3640 11901 0052 02F58062 add r2, r2, #1024 11902 0056 9342 cmp r3, r2 11903 0058 0DD1 bne .L844 11904 .L843: 1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11905 .loc 1 1709 7 is_stmt 1 view .LVU3641 1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11906 .loc 1 1709 7 view .LVU3642 11907 005a 196A ldr r1, [r3, #32] 11908 005c 41F21112 movw r2, #4369 11909 0060 1142 tst r1, r2 11910 0062 08D1 bne .L844 1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11911 .loc 1 1709 7 discriminator 1 view .LVU3643 11912 0064 196A ldr r1, [r3, #32] 11913 0066 44F24442 movw r2, #17476 11914 006a 1142 tst r1, r2 11915 006c 03D1 bne .L844 1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11916 .loc 1 1709 7 discriminator 3 view .LVU3644 11917 006e 5A6C ldr r2, [r3, #68] 11918 0070 22F40042 bic r2, r2, #32768 11919 0074 5A64 str r2, [r3, #68] 11920 .L844: 1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11921 .loc 1 1709 7 discriminator 5 view .LVU3645 1713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11922 .loc 1 1713 5 view .LVU3646 1713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11923 .loc 1 1713 5 view .LVU3647 11924 0076 2B68 ldr r3, [r5] 11925 0078 196A ldr r1, [r3, #32] 11926 007a 41F21112 movw r2, #4369 11927 007e 1142 tst r1, r2 11928 0080 08D1 bne .L845 ARM GAS /tmp/ccodHXtm.s page 404 1713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11929 .loc 1 1713 5 discriminator 1 view .LVU3648 11930 0082 196A ldr r1, [r3, #32] 11931 0084 44F24442 movw r2, #17476 11932 0088 1142 tst r1, r2 11933 008a 03D1 bne .L845 1713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11934 .loc 1 1713 5 discriminator 3 view .LVU3649 11935 008c 1A68 ldr r2, [r3] 11936 008e 22F00102 bic r2, r2, #1 11937 0092 1A60 str r2, [r3] 11938 .L845: 1713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 11939 .loc 1 1713 5 discriminator 5 view .LVU3650 1716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11940 .loc 1 1716 5 view .LVU3651 11941 0094 102C cmp r4, #16 11942 0096 35D8 bhi .L846 11943 0098 DFE804F0 tbb [pc, r4] 11944 .L848: 11945 009c 1B .byte (.L852-.L848)/2 11946 009d 34 .byte (.L846-.L848)/2 11947 009e 34 .byte (.L846-.L848)/2 11948 009f 34 .byte (.L846-.L848)/2 11949 00a0 20 .byte (.L851-.L848)/2 11950 00a1 34 .byte (.L846-.L848)/2 11951 00a2 34 .byte (.L846-.L848)/2 11952 00a3 34 .byte (.L846-.L848)/2 11953 00a4 25 .byte (.L850-.L848)/2 11954 00a5 34 .byte (.L846-.L848)/2 11955 00a6 34 .byte (.L846-.L848)/2 11956 00a7 34 .byte (.L846-.L848)/2 11957 00a8 2A .byte (.L849-.L848)/2 11958 00a9 34 .byte (.L846-.L848)/2 11959 00aa 34 .byte (.L846-.L848)/2 11960 00ab 34 .byte (.L846-.L848)/2 11961 00ac 2F .byte (.L847-.L848)/2 11962 .LVL910: 11963 00ad 00 .p2align 1 11964 .L840: 1678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 11965 .loc 1 1678 7 view .LVU3652 11966 00ae 0268 ldr r2, [r0] 11967 00b0 D368 ldr r3, [r2, #12] 11968 00b2 23F00403 bic r3, r3, #4 11969 00b6 D360 str r3, [r2, #12] 1679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11970 .loc 1 1679 7 view .LVU3653 1701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11971 .loc 1 1701 3 view .LVU3654 11972 00b8 B6E7 b .L842 11973 .L839: 1685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 11974 .loc 1 1685 7 view .LVU3655 11975 00ba 0268 ldr r2, [r0] 11976 00bc D368 ldr r3, [r2, #12] 11977 00be 23F00803 bic r3, r3, #8 ARM GAS /tmp/ccodHXtm.s page 405 11978 00c2 D360 str r3, [r2, #12] 1686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11979 .loc 1 1686 7 view .LVU3656 1701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11980 .loc 1 1701 3 view .LVU3657 11981 00c4 B0E7 b .L842 11982 .L837: 1692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 11983 .loc 1 1692 7 view .LVU3658 11984 00c6 0268 ldr r2, [r0] 11985 00c8 D368 ldr r3, [r2, #12] 11986 00ca 23F01003 bic r3, r3, #16 11987 00ce D360 str r3, [r2, #12] 1693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11988 .loc 1 1693 7 view .LVU3659 1701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 11989 .loc 1 1701 3 view .LVU3660 11990 00d0 AAE7 b .L842 11991 .LVL911: 11992 .L852: 1716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11993 .loc 1 1716 5 is_stmt 0 discriminator 1 view .LVU3661 11994 00d2 0123 movs r3, #1 11995 00d4 85F83E30 strb r3, [r5, #62] 11996 00d8 0020 movs r0, #0 11997 00da 19E0 b .L836 11998 .L851: 1716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 11999 .loc 1 1716 5 discriminator 3 view .LVU3662 12000 00dc 0123 movs r3, #1 12001 00de 85F83F30 strb r3, [r5, #63] 12002 00e2 0020 movs r0, #0 12003 00e4 14E0 b .L836 12004 .L850: 1716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12005 .loc 1 1716 5 discriminator 6 view .LVU3663 12006 00e6 0123 movs r3, #1 12007 00e8 85F84030 strb r3, [r5, #64] 12008 00ec 0020 movs r0, #0 12009 00ee 0FE0 b .L836 12010 .L849: 1716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12011 .loc 1 1716 5 discriminator 9 view .LVU3664 12012 00f0 0123 movs r3, #1 12013 00f2 85F84130 strb r3, [r5, #65] 12014 00f6 0020 movs r0, #0 12015 00f8 0AE0 b .L836 12016 .L847: 1716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12017 .loc 1 1716 5 discriminator 12 view .LVU3665 12018 00fa 0123 movs r3, #1 12019 00fc 85F84230 strb r3, [r5, #66] 12020 0100 0020 movs r0, #0 12021 0102 05E0 b .L836 12022 .L846: 1716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12023 .loc 1 1716 5 discriminator 13 view .LVU3666 ARM GAS /tmp/ccodHXtm.s page 406 12024 0104 0123 movs r3, #1 12025 0106 85F84330 strb r3, [r5, #67] 12026 010a 0020 movs r0, #0 12027 010c 00E0 b .L836 12028 .LVL912: 12029 .L853: 1666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12030 .loc 1 1666 3 view .LVU3667 12031 010e 0120 movs r0, #1 12032 .LVL913: 12033 .L836: 1720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12034 .loc 1 1720 3 is_stmt 1 view .LVU3668 1721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12035 .loc 1 1721 1 is_stmt 0 view .LVU3669 12036 0110 38BD pop {r3, r4, r5, pc} 12037 .LVL914: 12038 .L856: 1721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12039 .loc 1 1721 1 view .LVU3670 12040 0112 00BF .align 2 12041 .L855: 12042 0114 002C0140 .word 1073818624 12043 .cfi_endproc 12044 .LFE356: 12046 .section .text.HAL_TIM_PWM_Start_DMA,"ax",%progbits 12047 .align 1 12048 .global HAL_TIM_PWM_Start_DMA 12049 .syntax unified 12050 .thumb 12051 .thumb_func 12053 HAL_TIM_PWM_Start_DMA: 12054 .LVL915: 12055 .LFB357: 1738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 12056 .loc 1 1738 1 is_stmt 1 view -0 12057 .cfi_startproc 12058 @ args = 0, pretend = 0, frame = 0 12059 @ frame_needed = 0, uses_anonymous_args = 0 1738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 12060 .loc 1 1738 1 is_stmt 0 view .LVU3672 12061 0000 38B5 push {r3, r4, r5, lr} 12062 .LCFI95: 12063 .cfi_def_cfa_offset 16 12064 .cfi_offset 3, -16 12065 .cfi_offset 4, -12 12066 .cfi_offset 5, -8 12067 .cfi_offset 14, -4 12068 0002 0546 mov r5, r0 12069 0004 0C46 mov r4, r1 12070 0006 1146 mov r1, r2 12071 .LVL916: 1739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 12072 .loc 1 1739 3 is_stmt 1 view .LVU3673 1740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12073 .loc 1 1740 3 view .LVU3674 1743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 407 12074 .loc 1 1743 3 view .LVU3675 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12075 .loc 1 1746 3 view .LVU3676 12076 0008 102C cmp r4, #16 12077 000a 41D8 bhi .L858 12078 000c DFE804F0 tbb [pc, r4] 12079 .LVL917: 12080 .L860: 12081 0010 09 .byte (.L864-.L860)/2 12082 0011 40 .byte (.L858-.L860)/2 12083 0012 40 .byte (.L858-.L860)/2 12084 0013 40 .byte (.L858-.L860)/2 12085 0014 20 .byte (.L863-.L860)/2 12086 0015 40 .byte (.L858-.L860)/2 12087 0016 40 .byte (.L858-.L860)/2 12088 0017 40 .byte (.L858-.L860)/2 12089 0018 28 .byte (.L862-.L860)/2 12090 0019 40 .byte (.L858-.L860)/2 12091 001a 40 .byte (.L858-.L860)/2 12092 001b 40 .byte (.L858-.L860)/2 12093 001c 30 .byte (.L861-.L860)/2 12094 001d 40 .byte (.L858-.L860)/2 12095 001e 40 .byte (.L858-.L860)/2 12096 001f 40 .byte (.L858-.L860)/2 12097 0020 38 .byte (.L859-.L860)/2 12098 0021 00 .p2align 1 12099 .L864: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12100 .loc 1 1746 7 is_stmt 0 discriminator 1 view .LVU3677 12101 0022 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 12102 .LVL918: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12103 .loc 1 1746 7 discriminator 1 view .LVU3678 12104 0026 C0B2 uxtb r0, r0 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12105 .loc 1 1746 44 discriminator 1 view .LVU3679 12106 0028 0228 cmp r0, #2 12107 002a 14BF ite ne 12108 002c 0020 movne r0, #0 12109 002e 0120 moveq r0, #1 12110 .L865: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12111 .loc 1 1746 6 discriminator 20 view .LVU3680 12112 0030 0028 cmp r0, #0 12113 0032 40F05981 bne .L892 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12114 .loc 1 1750 8 is_stmt 1 view .LVU3681 12115 0036 102C cmp r4, #16 12116 0038 78D8 bhi .L867 12117 003a DFE804F0 tbb [pc, r4] 12118 .L869: 12119 003e 31 .byte (.L873-.L869)/2 12120 003f 77 .byte (.L867-.L869)/2 12121 0040 77 .byte (.L867-.L869)/2 12122 0041 77 .byte (.L867-.L869)/2 12123 0042 57 .byte (.L872-.L869)/2 12124 0043 77 .byte (.L867-.L869)/2 ARM GAS /tmp/ccodHXtm.s page 408 12125 0044 77 .byte (.L867-.L869)/2 12126 0045 77 .byte (.L867-.L869)/2 12127 0046 5F .byte (.L871-.L869)/2 12128 0047 77 .byte (.L867-.L869)/2 12129 0048 77 .byte (.L867-.L869)/2 12130 0049 77 .byte (.L867-.L869)/2 12131 004a 67 .byte (.L870-.L869)/2 12132 004b 77 .byte (.L867-.L869)/2 12133 004c 77 .byte (.L867-.L869)/2 12134 004d 77 .byte (.L867-.L869)/2 12135 004e 6F .byte (.L868-.L869)/2 12136 .LVL919: 12137 004f 00 .p2align 1 12138 .L863: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12139 .loc 1 1746 7 is_stmt 0 discriminator 4 view .LVU3682 12140 0050 90F83F00 ldrb r0, [r0, #63] @ zero_extendqisi2 12141 .LVL920: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12142 .loc 1 1746 7 discriminator 4 view .LVU3683 12143 0054 C0B2 uxtb r0, r0 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12144 .loc 1 1746 44 discriminator 4 view .LVU3684 12145 0056 0228 cmp r0, #2 12146 0058 14BF ite ne 12147 005a 0020 movne r0, #0 12148 005c 0120 moveq r0, #1 12149 005e E7E7 b .L865 12150 .LVL921: 12151 .L862: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12152 .loc 1 1746 7 discriminator 7 view .LVU3685 12153 0060 90F84000 ldrb r0, [r0, #64] @ zero_extendqisi2 12154 .LVL922: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12155 .loc 1 1746 7 discriminator 7 view .LVU3686 12156 0064 C0B2 uxtb r0, r0 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12157 .loc 1 1746 44 discriminator 7 view .LVU3687 12158 0066 0228 cmp r0, #2 12159 0068 14BF ite ne 12160 006a 0020 movne r0, #0 12161 006c 0120 moveq r0, #1 12162 006e DFE7 b .L865 12163 .LVL923: 12164 .L861: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12165 .loc 1 1746 7 discriminator 10 view .LVU3688 12166 0070 90F84100 ldrb r0, [r0, #65] @ zero_extendqisi2 12167 .LVL924: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12168 .loc 1 1746 7 discriminator 10 view .LVU3689 12169 0074 C0B2 uxtb r0, r0 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12170 .loc 1 1746 44 discriminator 10 view .LVU3690 12171 0076 0228 cmp r0, #2 12172 0078 14BF ite ne ARM GAS /tmp/ccodHXtm.s page 409 12173 007a 0020 movne r0, #0 12174 007c 0120 moveq r0, #1 12175 007e D7E7 b .L865 12176 .LVL925: 12177 .L859: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12178 .loc 1 1746 7 discriminator 13 view .LVU3691 12179 0080 90F84200 ldrb r0, [r0, #66] @ zero_extendqisi2 12180 .LVL926: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12181 .loc 1 1746 7 discriminator 13 view .LVU3692 12182 0084 C0B2 uxtb r0, r0 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12183 .loc 1 1746 44 discriminator 13 view .LVU3693 12184 0086 0228 cmp r0, #2 12185 0088 14BF ite ne 12186 008a 0020 movne r0, #0 12187 008c 0120 moveq r0, #1 12188 008e CFE7 b .L865 12189 .LVL927: 12190 .L858: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12191 .loc 1 1746 7 discriminator 14 view .LVU3694 12192 0090 90F84300 ldrb r0, [r0, #67] @ zero_extendqisi2 12193 .LVL928: 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12194 .loc 1 1746 7 discriminator 14 view .LVU3695 12195 0094 C0B2 uxtb r0, r0 1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12196 .loc 1 1746 44 discriminator 14 view .LVU3696 12197 0096 0228 cmp r0, #2 12198 0098 14BF ite ne 12199 009a 0020 movne r0, #0 12200 009c 0120 moveq r0, #1 12201 009e C7E7 b .L865 12202 .L873: 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12203 .loc 1 1750 12 discriminator 1 view .LVU3697 12204 00a0 95F83E20 ldrb r2, [r5, #62] @ zero_extendqisi2 12205 00a4 D2B2 uxtb r2, r2 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12206 .loc 1 1750 49 discriminator 1 view .LVU3698 12207 00a6 012A cmp r2, #1 12208 00a8 14BF ite ne 12209 00aa 0022 movne r2, #0 12210 00ac 0122 moveq r2, #1 12211 .L874: 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12212 .loc 1 1750 11 discriminator 20 view .LVU3699 12213 00ae 002A cmp r2, #0 12214 00b0 00F01C81 beq .L893 1752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12215 .loc 1 1752 5 is_stmt 1 view .LVU3700 1752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12216 .loc 1 1752 8 is_stmt 0 view .LVU3701 12217 00b4 0029 cmp r1, #0 12218 00b6 00F01B81 beq .L894 ARM GAS /tmp/ccodHXtm.s page 410 1752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12219 .loc 1 1752 25 discriminator 1 view .LVU3702 12220 00ba 002B cmp r3, #0 12221 00bc 00F01A81 beq .L895 1758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12222 .loc 1 1758 7 is_stmt 1 view .LVU3703 12223 00c0 102C cmp r4, #16 12224 00c2 00F2E180 bhi .L875 12225 00c6 DFE814F0 tbh [pc, r4, lsl #1] 12226 .L877: 12227 00ca 3900 .2byte (.L881-.L877)/2 12228 00cc DF00 .2byte (.L875-.L877)/2 12229 00ce DF00 .2byte (.L875-.L877)/2 12230 00d0 DF00 .2byte (.L875-.L877)/2 12231 00d2 8F00 .2byte (.L880-.L877)/2 12232 00d4 DF00 .2byte (.L875-.L877)/2 12233 00d6 DF00 .2byte (.L875-.L877)/2 12234 00d8 DF00 .2byte (.L875-.L877)/2 12235 00da A800 .2byte (.L879-.L877)/2 12236 00dc DF00 .2byte (.L875-.L877)/2 12237 00de DF00 .2byte (.L875-.L877)/2 12238 00e0 DF00 .2byte (.L875-.L877)/2 12239 00e2 C100 .2byte (.L878-.L877)/2 12240 00e4 DF00 .2byte (.L875-.L877)/2 12241 00e6 DF00 .2byte (.L875-.L877)/2 12242 00e8 DF00 .2byte (.L875-.L877)/2 12243 00ea DA00 .2byte (.L876-.L877)/2 12244 .p2align 1 12245 .L872: 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12246 .loc 1 1750 12 is_stmt 0 discriminator 4 view .LVU3704 12247 00ec 95F83F20 ldrb r2, [r5, #63] @ zero_extendqisi2 12248 00f0 D2B2 uxtb r2, r2 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12249 .loc 1 1750 49 discriminator 4 view .LVU3705 12250 00f2 012A cmp r2, #1 12251 00f4 14BF ite ne 12252 00f6 0022 movne r2, #0 12253 00f8 0122 moveq r2, #1 12254 00fa D8E7 b .L874 12255 .L871: 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12256 .loc 1 1750 12 discriminator 7 view .LVU3706 12257 00fc 95F84020 ldrb r2, [r5, #64] @ zero_extendqisi2 12258 0100 D2B2 uxtb r2, r2 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12259 .loc 1 1750 49 discriminator 7 view .LVU3707 12260 0102 012A cmp r2, #1 12261 0104 14BF ite ne 12262 0106 0022 movne r2, #0 12263 0108 0122 moveq r2, #1 12264 010a D0E7 b .L874 12265 .L870: 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12266 .loc 1 1750 12 discriminator 10 view .LVU3708 12267 010c 95F84120 ldrb r2, [r5, #65] @ zero_extendqisi2 12268 0110 D2B2 uxtb r2, r2 ARM GAS /tmp/ccodHXtm.s page 411 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12269 .loc 1 1750 49 discriminator 10 view .LVU3709 12270 0112 012A cmp r2, #1 12271 0114 14BF ite ne 12272 0116 0022 movne r2, #0 12273 0118 0122 moveq r2, #1 12274 011a C8E7 b .L874 12275 .L868: 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12276 .loc 1 1750 12 discriminator 13 view .LVU3710 12277 011c 95F84220 ldrb r2, [r5, #66] @ zero_extendqisi2 12278 0120 D2B2 uxtb r2, r2 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12279 .loc 1 1750 49 discriminator 13 view .LVU3711 12280 0122 012A cmp r2, #1 12281 0124 14BF ite ne 12282 0126 0022 movne r2, #0 12283 0128 0122 moveq r2, #1 12284 012a C0E7 b .L874 12285 .L867: 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12286 .loc 1 1750 12 discriminator 14 view .LVU3712 12287 012c 95F84320 ldrb r2, [r5, #67] @ zero_extendqisi2 12288 0130 D2B2 uxtb r2, r2 1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12289 .loc 1 1750 49 discriminator 14 view .LVU3713 12290 0132 012A cmp r2, #1 12291 0134 14BF ite ne 12292 0136 0022 movne r2, #0 12293 0138 0122 moveq r2, #1 12294 013a B8E7 b .L874 12295 .L881: 1758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12296 .loc 1 1758 7 discriminator 1 view .LVU3714 12297 013c 0222 movs r2, #2 12298 013e 85F83E20 strb r2, [r5, #62] 1766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12299 .loc 1 1766 3 is_stmt 1 view .LVU3715 12300 .L882: 1771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12301 .loc 1 1771 7 view .LVU3716 1771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12302 .loc 1 1771 17 is_stmt 0 view .LVU3717 12303 0142 6A6A ldr r2, [r5, #36] 1771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12304 .loc 1 1771 52 view .LVU3718 12305 0144 7348 ldr r0, .L908 12306 0146 D062 str r0, [r2, #44] 1772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12307 .loc 1 1772 7 is_stmt 1 view .LVU3719 1772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12308 .loc 1 1772 17 is_stmt 0 view .LVU3720 12309 0148 6A6A ldr r2, [r5, #36] 1772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12310 .loc 1 1772 56 view .LVU3721 12311 014a 7348 ldr r0, .L908+4 12312 014c 1063 str r0, [r2, #48] ARM GAS /tmp/ccodHXtm.s page 412 1775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12313 .loc 1 1775 7 is_stmt 1 view .LVU3722 1775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12314 .loc 1 1775 17 is_stmt 0 view .LVU3723 12315 014e 6A6A ldr r2, [r5, #36] 1775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12316 .loc 1 1775 53 view .LVU3724 12317 0150 7248 ldr r0, .L908+8 12318 0152 5063 str r0, [r2, #52] 1778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12319 .loc 1 1778 7 is_stmt 1 view .LVU3725 1778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12320 .loc 1 1778 88 is_stmt 0 view .LVU3726 12321 0154 2A68 ldr r2, [r5] 1778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12322 .loc 1 1778 11 view .LVU3727 12323 0156 3432 adds r2, r2, #52 12324 0158 686A ldr r0, [r5, #36] 12325 015a FFF7FEFF bl HAL_DMA_Start_IT 12326 .LVL929: 1778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12327 .loc 1 1778 10 discriminator 1 view .LVU3728 12328 015e 0028 cmp r0, #0 12329 0160 40F0CC80 bne .L897 1786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12330 .loc 1 1786 7 is_stmt 1 view .LVU3729 12331 0164 2A68 ldr r2, [r5] 12332 0166 D368 ldr r3, [r2, #12] 12333 0168 43F40073 orr r3, r3, #512 12334 016c D360 str r3, [r2, #12] 1787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12335 .loc 1 1787 7 view .LVU3730 1858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12336 .loc 1 1858 3 view .LVU3731 12337 .L887: 1861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12338 .loc 1 1861 5 view .LVU3732 12339 016e 0122 movs r2, #1 12340 0170 2146 mov r1, r4 12341 0172 2868 ldr r0, [r5] 12342 0174 FFF7FEFF bl TIM_CCxChannelCmd 12343 .LVL930: 1863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12344 .loc 1 1863 5 view .LVU3733 1863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12345 .loc 1 1863 9 is_stmt 0 view .LVU3734 12346 0178 2B68 ldr r3, [r5] 12347 017a 694A ldr r2, .L908+12 12348 017c 9342 cmp r3, r2 12349 017e 0FD0 beq .L888 1863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12350 .loc 1 1863 9 discriminator 2 view .LVU3735 12351 0180 02F50062 add r2, r2, #2048 12352 0184 9342 cmp r3, r2 12353 0186 0BD0 beq .L888 1863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12354 .loc 1 1863 9 discriminator 4 view .LVU3736 ARM GAS /tmp/ccodHXtm.s page 413 12355 0188 02F54062 add r2, r2, #3072 12356 018c 9342 cmp r3, r2 12357 018e 07D0 beq .L888 1863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12358 .loc 1 1863 9 discriminator 6 view .LVU3737 12359 0190 02F58062 add r2, r2, #1024 12360 0194 9342 cmp r3, r2 12361 0196 03D0 beq .L888 1863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12362 .loc 1 1863 9 discriminator 8 view .LVU3738 12363 0198 02F58062 add r2, r2, #1024 12364 019c 9342 cmp r3, r2 12365 019e 03D1 bne .L889 12366 .L888: 1866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12367 .loc 1 1866 7 is_stmt 1 view .LVU3739 12368 01a0 5A6C ldr r2, [r3, #68] 12369 01a2 42F40042 orr r2, r2, #32768 12370 01a6 5A64 str r2, [r3, #68] 12371 .L889: 1870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12372 .loc 1 1870 5 view .LVU3740 1870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12373 .loc 1 1870 9 is_stmt 0 view .LVU3741 12374 01a8 2B68 ldr r3, [r5] 1870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12375 .loc 1 1870 8 view .LVU3742 12376 01aa 5D4A ldr r2, .L908+12 12377 01ac 9342 cmp r3, r2 12378 01ae 00F08D80 beq .L890 1870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12379 .loc 1 1870 9 discriminator 1 view .LVU3743 12380 01b2 B3F1804F cmp r3, #1073741824 12381 01b6 00F08980 beq .L890 1870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12382 .loc 1 1870 9 discriminator 2 view .LVU3744 12383 01ba A2F59432 sub r2, r2, #75776 12384 01be 9342 cmp r3, r2 12385 01c0 00F08480 beq .L890 1870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12386 .loc 1 1870 9 discriminator 3 view .LVU3745 12387 01c4 02F58062 add r2, r2, #1024 12388 01c8 9342 cmp r3, r2 12389 01ca 7FD0 beq .L890 1870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12390 .loc 1 1870 9 discriminator 4 view .LVU3746 12391 01cc 02F59632 add r2, r2, #76800 12392 01d0 9342 cmp r3, r2 12393 01d2 7BD0 beq .L890 1870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12394 .loc 1 1870 9 discriminator 5 view .LVU3747 12395 01d4 02F54062 add r2, r2, #3072 12396 01d8 9342 cmp r3, r2 12397 01da 77D0 beq .L890 1880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12398 .loc 1 1880 7 is_stmt 1 view .LVU3748 12399 01dc 1A68 ldr r2, [r3] ARM GAS /tmp/ccodHXtm.s page 414 12400 01de 42F00102 orr r2, r2, #1 12401 01e2 1A60 str r2, [r3] 12402 01e4 0020 movs r0, #0 12403 01e6 82E0 b .L866 12404 .LVL931: 12405 .L880: 1758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12406 .loc 1 1758 7 is_stmt 0 discriminator 3 view .LVU3749 12407 01e8 0222 movs r2, #2 12408 01ea 85F83F20 strb r2, [r5, #63] 1766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12409 .loc 1 1766 3 is_stmt 1 view .LVU3750 12410 .L883: 1793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12411 .loc 1 1793 7 view .LVU3751 1793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12412 .loc 1 1793 17 is_stmt 0 view .LVU3752 12413 01ee AA6A ldr r2, [r5, #40] 1793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12414 .loc 1 1793 52 view .LVU3753 12415 01f0 4848 ldr r0, .L908 12416 01f2 D062 str r0, [r2, #44] 1794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12417 .loc 1 1794 7 is_stmt 1 view .LVU3754 1794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12418 .loc 1 1794 17 is_stmt 0 view .LVU3755 12419 01f4 AA6A ldr r2, [r5, #40] 1794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12420 .loc 1 1794 56 view .LVU3756 12421 01f6 4848 ldr r0, .L908+4 12422 01f8 1063 str r0, [r2, #48] 1797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12423 .loc 1 1797 7 is_stmt 1 view .LVU3757 1797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12424 .loc 1 1797 17 is_stmt 0 view .LVU3758 12425 01fa AA6A ldr r2, [r5, #40] 1797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12426 .loc 1 1797 53 view .LVU3759 12427 01fc 4748 ldr r0, .L908+8 12428 01fe 5063 str r0, [r2, #52] 1800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12429 .loc 1 1800 7 is_stmt 1 view .LVU3760 1800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12430 .loc 1 1800 88 is_stmt 0 view .LVU3761 12431 0200 2A68 ldr r2, [r5] 1800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12432 .loc 1 1800 11 view .LVU3762 12433 0202 3832 adds r2, r2, #56 12434 0204 A86A ldr r0, [r5, #40] 12435 0206 FFF7FEFF bl HAL_DMA_Start_IT 12436 .LVL932: 1800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12437 .loc 1 1800 10 discriminator 1 view .LVU3763 12438 020a 0028 cmp r0, #0 12439 020c 78D1 bne .L898 1807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12440 .loc 1 1807 7 is_stmt 1 view .LVU3764 ARM GAS /tmp/ccodHXtm.s page 415 12441 020e 2A68 ldr r2, [r5] 12442 0210 D368 ldr r3, [r2, #12] 12443 0212 43F48063 orr r3, r3, #1024 12444 0216 D360 str r3, [r2, #12] 1808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12445 .loc 1 1808 7 view .LVU3765 1858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12446 .loc 1 1858 3 view .LVU3766 12447 0218 A9E7 b .L887 12448 .LVL933: 12449 .L879: 1758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12450 .loc 1 1758 7 is_stmt 0 discriminator 6 view .LVU3767 12451 021a 0222 movs r2, #2 12452 021c 85F84020 strb r2, [r5, #64] 1766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12453 .loc 1 1766 3 is_stmt 1 view .LVU3768 12454 .L884: 1814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12455 .loc 1 1814 7 view .LVU3769 1814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12456 .loc 1 1814 17 is_stmt 0 view .LVU3770 12457 0220 EA6A ldr r2, [r5, #44] 1814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12458 .loc 1 1814 52 view .LVU3771 12459 0222 3C48 ldr r0, .L908 12460 0224 D062 str r0, [r2, #44] 1815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12461 .loc 1 1815 7 is_stmt 1 view .LVU3772 1815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12462 .loc 1 1815 17 is_stmt 0 view .LVU3773 12463 0226 EA6A ldr r2, [r5, #44] 1815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12464 .loc 1 1815 56 view .LVU3774 12465 0228 3B48 ldr r0, .L908+4 12466 022a 1063 str r0, [r2, #48] 1818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12467 .loc 1 1818 7 is_stmt 1 view .LVU3775 1818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12468 .loc 1 1818 17 is_stmt 0 view .LVU3776 12469 022c EA6A ldr r2, [r5, #44] 1818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12470 .loc 1 1818 53 view .LVU3777 12471 022e 3B48 ldr r0, .L908+8 12472 0230 5063 str r0, [r2, #52] 1821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12473 .loc 1 1821 7 is_stmt 1 view .LVU3778 1821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12474 .loc 1 1821 88 is_stmt 0 view .LVU3779 12475 0232 2A68 ldr r2, [r5] 1821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12476 .loc 1 1821 11 view .LVU3780 12477 0234 3C32 adds r2, r2, #60 12478 0236 E86A ldr r0, [r5, #44] 12479 0238 FFF7FEFF bl HAL_DMA_Start_IT 12480 .LVL934: 1821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) ARM GAS /tmp/ccodHXtm.s page 416 12481 .loc 1 1821 10 discriminator 1 view .LVU3781 12482 023c 0028 cmp r0, #0 12483 023e 61D1 bne .L899 1828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12484 .loc 1 1828 7 is_stmt 1 view .LVU3782 12485 0240 2A68 ldr r2, [r5] 12486 0242 D368 ldr r3, [r2, #12] 12487 0244 43F40063 orr r3, r3, #2048 12488 0248 D360 str r3, [r2, #12] 1829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12489 .loc 1 1829 7 view .LVU3783 1858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12490 .loc 1 1858 3 view .LVU3784 12491 024a 90E7 b .L887 12492 .LVL935: 12493 .L878: 1758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12494 .loc 1 1758 7 is_stmt 0 discriminator 9 view .LVU3785 12495 024c 0222 movs r2, #2 12496 024e 85F84120 strb r2, [r5, #65] 1766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12497 .loc 1 1766 3 is_stmt 1 view .LVU3786 12498 .L885: 1835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12499 .loc 1 1835 7 view .LVU3787 1835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12500 .loc 1 1835 17 is_stmt 0 view .LVU3788 12501 0252 2A6B ldr r2, [r5, #48] 1835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt; 12502 .loc 1 1835 52 view .LVU3789 12503 0254 2F48 ldr r0, .L908 12504 0256 D062 str r0, [r2, #44] 1836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12505 .loc 1 1836 7 is_stmt 1 view .LVU3790 1836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12506 .loc 1 1836 17 is_stmt 0 view .LVU3791 12507 0258 2A6B ldr r2, [r5, #48] 1836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12508 .loc 1 1836 56 view .LVU3792 12509 025a 2F48 ldr r0, .L908+4 12510 025c 1063 str r0, [r2, #48] 1839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12511 .loc 1 1839 7 is_stmt 1 view .LVU3793 1839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12512 .loc 1 1839 17 is_stmt 0 view .LVU3794 12513 025e 2A6B ldr r2, [r5, #48] 1839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12514 .loc 1 1839 53 view .LVU3795 12515 0260 2E48 ldr r0, .L908+8 12516 0262 5063 str r0, [r2, #52] 1842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12517 .loc 1 1842 7 is_stmt 1 view .LVU3796 1842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12518 .loc 1 1842 88 is_stmt 0 view .LVU3797 12519 0264 2A68 ldr r2, [r5] 1842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12520 .loc 1 1842 11 view .LVU3798 ARM GAS /tmp/ccodHXtm.s page 417 12521 0266 4032 adds r2, r2, #64 12522 0268 286B ldr r0, [r5, #48] 12523 026a FFF7FEFF bl HAL_DMA_Start_IT 12524 .LVL936: 1842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 12525 .loc 1 1842 10 discriminator 1 view .LVU3799 12526 026e 0028 cmp r0, #0 12527 0270 4AD1 bne .L900 1849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12528 .loc 1 1849 7 is_stmt 1 view .LVU3800 12529 0272 2A68 ldr r2, [r5] 12530 0274 D368 ldr r3, [r2, #12] 12531 0276 43F48053 orr r3, r3, #4096 12532 027a D360 str r3, [r2, #12] 1850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12533 .loc 1 1850 7 view .LVU3801 1858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12534 .loc 1 1858 3 view .LVU3802 12535 027c 77E7 b .L887 12536 .LVL937: 12537 .L876: 1758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12538 .loc 1 1758 7 is_stmt 0 discriminator 12 view .LVU3803 12539 027e 0223 movs r3, #2 12540 .LVL938: 1758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12541 .loc 1 1758 7 discriminator 12 view .LVU3804 12542 0280 85F84230 strb r3, [r5, #66] 1766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12543 .loc 1 1766 3 is_stmt 1 view .LVU3805 1758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12544 .loc 1 1758 7 is_stmt 0 discriminator 12 view .LVU3806 12545 0284 0120 movs r0, #1 12546 0286 32E0 b .L866 12547 .LVL939: 12548 .L875: 1758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12549 .loc 1 1758 7 discriminator 13 view .LVU3807 12550 0288 0222 movs r2, #2 12551 028a 85F84320 strb r2, [r5, #67] 1766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12552 .loc 1 1766 3 is_stmt 1 view .LVU3808 12553 028e 0C2C cmp r4, #12 12554 0290 32D8 bhi .L896 12555 0292 01A2 adr r2, .L886 12556 0294 52F824F0 ldr pc, [r2, r4, lsl #2] 12557 .p2align 2 12558 .L886: 12559 0298 43010000 .word .L882+1 12560 029c F9020000 .word .L896+1 12561 02a0 F9020000 .word .L896+1 12562 02a4 F9020000 .word .L896+1 12563 02a8 EF010000 .word .L883+1 12564 02ac F9020000 .word .L896+1 12565 02b0 F9020000 .word .L896+1 12566 02b4 F9020000 .word .L896+1 12567 02b8 21020000 .word .L884+1 ARM GAS /tmp/ccodHXtm.s page 418 12568 02bc F9020000 .word .L896+1 12569 02c0 F9020000 .word .L896+1 12570 02c4 F9020000 .word .L896+1 12571 02c8 53020000 .word .L885+1 12572 .LVL940: 12573 .p2align 1 12574 .L890: 1872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 12575 .loc 1 1872 7 view .LVU3809 1872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 12576 .loc 1 1872 31 is_stmt 0 view .LVU3810 12577 02cc 9968 ldr r1, [r3, #8] 1872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 12578 .loc 1 1872 15 view .LVU3811 12579 02ce 154A ldr r2, .L908+16 12580 02d0 0A40 ands r2, r2, r1 12581 .LVL941: 1873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12582 .loc 1 1873 7 is_stmt 1 view .LVU3812 1873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12583 .loc 1 1873 10 is_stmt 0 view .LVU3813 12584 02d2 062A cmp r2, #6 12585 02d4 1AD0 beq .L901 1873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12586 .loc 1 1873 11 discriminator 1 view .LVU3814 12587 02d6 B2F5803F cmp r2, #65536 12588 02da 19D0 beq .L902 1875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12589 .loc 1 1875 9 is_stmt 1 view .LVU3815 12590 02dc 1A68 ldr r2, [r3] 12591 .LVL942: 1875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12592 .loc 1 1875 9 is_stmt 0 view .LVU3816 12593 02de 42F00102 orr r2, r2, #1 12594 02e2 1A60 str r2, [r3] 12595 02e4 0020 movs r0, #0 12596 02e6 02E0 b .L866 12597 .LVL943: 12598 .L892: 1748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12599 .loc 1 1748 12 view .LVU3817 12600 02e8 0220 movs r0, #2 12601 02ea 00E0 b .L866 12602 .L893: 1763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12603 .loc 1 1763 12 view .LVU3818 12604 02ec 0120 movs r0, #1 12605 .LVL944: 12606 .L866: 1886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12607 .loc 1 1886 1 view .LVU3819 12608 02ee 38BD pop {r3, r4, r5, pc} 12609 .LVL945: 12610 .L894: 1754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12611 .loc 1 1754 14 view .LVU3820 12612 02f0 0120 movs r0, #1 ARM GAS /tmp/ccodHXtm.s page 419 12613 02f2 FCE7 b .L866 12614 .L895: 12615 02f4 0120 movs r0, #1 12616 02f6 FAE7 b .L866 12617 .L896: 1766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12618 .loc 1 1766 3 view .LVU3821 12619 02f8 0120 movs r0, #1 12620 02fa F8E7 b .L866 12621 .LVL946: 12622 .L897: 1782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12623 .loc 1 1782 16 view .LVU3822 12624 02fc 0120 movs r0, #1 12625 02fe F6E7 b .L866 12626 .L898: 1804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12627 .loc 1 1804 16 view .LVU3823 12628 0300 0120 movs r0, #1 12629 0302 F4E7 b .L866 12630 .L899: 1825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12631 .loc 1 1825 16 view .LVU3824 12632 0304 0120 movs r0, #1 12633 0306 F2E7 b .L866 12634 .L900: 1846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12635 .loc 1 1846 16 view .LVU3825 12636 0308 0120 movs r0, #1 12637 030a F0E7 b .L866 12638 .LVL947: 12639 .L901: 1846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12640 .loc 1 1846 16 view .LVU3826 12641 030c 0020 movs r0, #0 12642 030e EEE7 b .L866 12643 .L902: 12644 0310 0020 movs r0, #0 12645 0312 ECE7 b .L866 12646 .L909: 12647 .align 2 12648 .L908: 12649 0314 00000000 .word TIM_DMADelayPulseCplt 12650 0318 00000000 .word TIM_DMADelayPulseHalfCplt 12651 031c 00000000 .word TIM_DMAError 12652 0320 002C0140 .word 1073818624 12653 0324 07000100 .word 65543 12654 .cfi_endproc 12655 .LFE357: 12657 .section .text.HAL_TIM_PWM_Stop_DMA,"ax",%progbits 12658 .align 1 12659 .global HAL_TIM_PWM_Stop_DMA 12660 .syntax unified 12661 .thumb 12662 .thumb_func 12664 HAL_TIM_PWM_Stop_DMA: 12665 .LVL948: ARM GAS /tmp/ccodHXtm.s page 420 12666 .LFB358: 1900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 12667 .loc 1 1900 1 is_stmt 1 view -0 12668 .cfi_startproc 12669 @ args = 0, pretend = 0, frame = 0 12670 @ frame_needed = 0, uses_anonymous_args = 0 1900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 12671 .loc 1 1900 1 is_stmt 0 view .LVU3828 12672 0000 38B5 push {r3, r4, r5, lr} 12673 .LCFI96: 12674 .cfi_def_cfa_offset 16 12675 .cfi_offset 3, -16 12676 .cfi_offset 4, -12 12677 .cfi_offset 5, -8 12678 .cfi_offset 14, -4 12679 0002 0446 mov r4, r0 12680 0004 0D46 mov r5, r1 1901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12681 .loc 1 1901 3 is_stmt 1 view .LVU3829 12682 .LVL949: 1904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12683 .loc 1 1904 3 view .LVU3830 1906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12684 .loc 1 1906 3 view .LVU3831 12685 0006 0C29 cmp r1, #12 12686 0008 00F28D80 bhi .L928 12687 000c DFE801F0 tbb [pc, r1] 12688 .L913: 12689 0010 07 .byte (.L916-.L913)/2 12690 0011 8B .byte (.L928-.L913)/2 12691 0012 8B .byte (.L928-.L913)/2 12692 0013 8B .byte (.L928-.L913)/2 12693 0014 52 .byte (.L915-.L913)/2 12694 0015 8B .byte (.L928-.L913)/2 12695 0016 8B .byte (.L928-.L913)/2 12696 0017 8B .byte (.L928-.L913)/2 12697 0018 5B .byte (.L914-.L913)/2 12698 0019 8B .byte (.L928-.L913)/2 12699 001a 8B .byte (.L928-.L913)/2 12700 001b 8B .byte (.L928-.L913)/2 12701 001c 64 .byte (.L912-.L913)/2 12702 001d 00 .p2align 1 12703 .L916: 1911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 12704 .loc 1 1911 7 view .LVU3832 12705 001e 0268 ldr r2, [r0] 12706 0020 D368 ldr r3, [r2, #12] 12707 0022 23F40073 bic r3, r3, #512 12708 0026 D360 str r3, [r2, #12] 1912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12709 .loc 1 1912 7 view .LVU3833 1912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12710 .loc 1 1912 13 is_stmt 0 view .LVU3834 12711 0028 406A ldr r0, [r0, #36] 12712 .LVL950: 1912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12713 .loc 1 1912 13 view .LVU3835 ARM GAS /tmp/ccodHXtm.s page 421 12714 002a FFF7FEFF bl HAL_DMA_Abort_IT 12715 .LVL951: 1913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12716 .loc 1 1913 7 is_stmt 1 view .LVU3836 1945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12717 .loc 1 1945 3 view .LVU3837 12718 .L917: 1948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12719 .loc 1 1948 5 view .LVU3838 12720 002e 0022 movs r2, #0 12721 0030 2946 mov r1, r5 12722 0032 2068 ldr r0, [r4] 12723 0034 FFF7FEFF bl TIM_CCxChannelCmd 12724 .LVL952: 1950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12725 .loc 1 1950 5 view .LVU3839 1950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12726 .loc 1 1950 9 is_stmt 0 view .LVU3840 12727 0038 2368 ldr r3, [r4] 12728 003a 3C4A ldr r2, .L930 12729 003c 9342 cmp r3, r2 12730 003e 0FD0 beq .L918 1950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12731 .loc 1 1950 9 discriminator 2 view .LVU3841 12732 0040 02F50062 add r2, r2, #2048 12733 0044 9342 cmp r3, r2 12734 0046 0BD0 beq .L918 1950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12735 .loc 1 1950 9 discriminator 4 view .LVU3842 12736 0048 02F54062 add r2, r2, #3072 12737 004c 9342 cmp r3, r2 12738 004e 07D0 beq .L918 1950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12739 .loc 1 1950 9 discriminator 6 view .LVU3843 12740 0050 02F58062 add r2, r2, #1024 12741 0054 9342 cmp r3, r2 12742 0056 03D0 beq .L918 1950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12743 .loc 1 1950 9 discriminator 8 view .LVU3844 12744 0058 02F58062 add r2, r2, #1024 12745 005c 9342 cmp r3, r2 12746 005e 0DD1 bne .L919 12747 .L918: 1953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12748 .loc 1 1953 7 is_stmt 1 view .LVU3845 1953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12749 .loc 1 1953 7 view .LVU3846 12750 0060 196A ldr r1, [r3, #32] 12751 0062 41F21112 movw r2, #4369 12752 0066 1142 tst r1, r2 12753 0068 08D1 bne .L919 1953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12754 .loc 1 1953 7 discriminator 1 view .LVU3847 12755 006a 196A ldr r1, [r3, #32] 12756 006c 44F24442 movw r2, #17476 12757 0070 1142 tst r1, r2 12758 0072 03D1 bne .L919 ARM GAS /tmp/ccodHXtm.s page 422 1953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12759 .loc 1 1953 7 discriminator 3 view .LVU3848 12760 0074 5A6C ldr r2, [r3, #68] 12761 0076 22F40042 bic r2, r2, #32768 12762 007a 5A64 str r2, [r3, #68] 12763 .L919: 1953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12764 .loc 1 1953 7 discriminator 5 view .LVU3849 1957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12765 .loc 1 1957 5 view .LVU3850 1957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12766 .loc 1 1957 5 view .LVU3851 12767 007c 2368 ldr r3, [r4] 12768 007e 196A ldr r1, [r3, #32] 12769 0080 41F21112 movw r2, #4369 12770 0084 1142 tst r1, r2 12771 0086 08D1 bne .L920 1957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12772 .loc 1 1957 5 discriminator 1 view .LVU3852 12773 0088 196A ldr r1, [r3, #32] 12774 008a 44F24442 movw r2, #17476 12775 008e 1142 tst r1, r2 12776 0090 03D1 bne .L920 1957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12777 .loc 1 1957 5 discriminator 3 view .LVU3853 12778 0092 1A68 ldr r2, [r3] 12779 0094 22F00102 bic r2, r2, #1 12780 0098 1A60 str r2, [r3] 12781 .L920: 1957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12782 .loc 1 1957 5 discriminator 5 view .LVU3854 1960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12783 .loc 1 1960 5 view .LVU3855 12784 009a 102D cmp r5, #16 12785 009c 3ED8 bhi .L921 12786 009e DFE805F0 tbb [pc, r5] 12787 .L923: 12788 00a2 24 .byte (.L927-.L923)/2 12789 00a3 3D .byte (.L921-.L923)/2 12790 00a4 3D .byte (.L921-.L923)/2 12791 00a5 3D .byte (.L921-.L923)/2 12792 00a6 29 .byte (.L926-.L923)/2 12793 00a7 3D .byte (.L921-.L923)/2 12794 00a8 3D .byte (.L921-.L923)/2 12795 00a9 3D .byte (.L921-.L923)/2 12796 00aa 2E .byte (.L925-.L923)/2 12797 00ab 3D .byte (.L921-.L923)/2 12798 00ac 3D .byte (.L921-.L923)/2 12799 00ad 3D .byte (.L921-.L923)/2 12800 00ae 33 .byte (.L924-.L923)/2 12801 00af 3D .byte (.L921-.L923)/2 12802 00b0 3D .byte (.L921-.L923)/2 12803 00b1 3D .byte (.L921-.L923)/2 12804 00b2 38 .byte (.L922-.L923)/2 12805 .LVL953: 12806 00b3 00 .p2align 1 12807 .L915: ARM GAS /tmp/ccodHXtm.s page 423 1919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 12808 .loc 1 1919 7 view .LVU3856 12809 00b4 0268 ldr r2, [r0] 12810 00b6 D368 ldr r3, [r2, #12] 12811 00b8 23F48063 bic r3, r3, #1024 12812 00bc D360 str r3, [r2, #12] 1920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12813 .loc 1 1920 7 view .LVU3857 1920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12814 .loc 1 1920 13 is_stmt 0 view .LVU3858 12815 00be 806A ldr r0, [r0, #40] 12816 .LVL954: 1920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12817 .loc 1 1920 13 view .LVU3859 12818 00c0 FFF7FEFF bl HAL_DMA_Abort_IT 12819 .LVL955: 1921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12820 .loc 1 1921 7 is_stmt 1 view .LVU3860 1945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12821 .loc 1 1945 3 view .LVU3861 12822 00c4 B3E7 b .L917 12823 .LVL956: 12824 .L914: 1927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 12825 .loc 1 1927 7 view .LVU3862 12826 00c6 0268 ldr r2, [r0] 12827 00c8 D368 ldr r3, [r2, #12] 12828 00ca 23F40063 bic r3, r3, #2048 12829 00ce D360 str r3, [r2, #12] 1928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12830 .loc 1 1928 7 view .LVU3863 1928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12831 .loc 1 1928 13 is_stmt 0 view .LVU3864 12832 00d0 C06A ldr r0, [r0, #44] 12833 .LVL957: 1928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12834 .loc 1 1928 13 view .LVU3865 12835 00d2 FFF7FEFF bl HAL_DMA_Abort_IT 12836 .LVL958: 1929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12837 .loc 1 1929 7 is_stmt 1 view .LVU3866 1945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12838 .loc 1 1945 3 view .LVU3867 12839 00d6 AAE7 b .L917 12840 .LVL959: 12841 .L912: 1935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 12842 .loc 1 1935 7 view .LVU3868 12843 00d8 0268 ldr r2, [r0] 12844 00da D368 ldr r3, [r2, #12] 12845 00dc 23F48053 bic r3, r3, #4096 12846 00e0 D360 str r3, [r2, #12] 1936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12847 .loc 1 1936 7 view .LVU3869 1936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12848 .loc 1 1936 13 is_stmt 0 view .LVU3870 12849 00e2 006B ldr r0, [r0, #48] ARM GAS /tmp/ccodHXtm.s page 424 12850 .LVL960: 1936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 12851 .loc 1 1936 13 view .LVU3871 12852 00e4 FFF7FEFF bl HAL_DMA_Abort_IT 12853 .LVL961: 1937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12854 .loc 1 1937 7 is_stmt 1 view .LVU3872 1945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12855 .loc 1 1945 3 view .LVU3873 12856 00e8 A1E7 b .L917 12857 .L927: 1960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12858 .loc 1 1960 5 is_stmt 0 discriminator 1 view .LVU3874 12859 00ea 0123 movs r3, #1 12860 00ec 84F83E30 strb r3, [r4, #62] 12861 00f0 0020 movs r0, #0 12862 00f2 19E0 b .L911 12863 .L926: 1960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12864 .loc 1 1960 5 discriminator 3 view .LVU3875 12865 00f4 0123 movs r3, #1 12866 00f6 84F83F30 strb r3, [r4, #63] 12867 00fa 0020 movs r0, #0 12868 00fc 14E0 b .L911 12869 .L925: 1960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12870 .loc 1 1960 5 discriminator 6 view .LVU3876 12871 00fe 0123 movs r3, #1 12872 0100 84F84030 strb r3, [r4, #64] 12873 0104 0020 movs r0, #0 12874 0106 0FE0 b .L911 12875 .L924: 1960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12876 .loc 1 1960 5 discriminator 9 view .LVU3877 12877 0108 0123 movs r3, #1 12878 010a 84F84130 strb r3, [r4, #65] 12879 010e 0020 movs r0, #0 12880 0110 0AE0 b .L911 12881 .L922: 1960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12882 .loc 1 1960 5 discriminator 12 view .LVU3878 12883 0112 0123 movs r3, #1 12884 0114 84F84230 strb r3, [r4, #66] 12885 0118 0020 movs r0, #0 12886 011a 05E0 b .L911 12887 .L921: 1960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12888 .loc 1 1960 5 discriminator 13 view .LVU3879 12889 011c 0123 movs r3, #1 12890 011e 84F84330 strb r3, [r4, #67] 12891 0122 0020 movs r0, #0 12892 0124 00E0 b .L911 12893 .LVL962: 12894 .L928: 1906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12895 .loc 1 1906 3 view .LVU3880 12896 0126 0120 movs r0, #1 ARM GAS /tmp/ccodHXtm.s page 425 12897 .LVL963: 12898 .L911: 1964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 12899 .loc 1 1964 3 is_stmt 1 view .LVU3881 1965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12900 .loc 1 1965 1 is_stmt 0 view .LVU3882 12901 0128 38BD pop {r3, r4, r5, pc} 12902 .LVL964: 12903 .L931: 1965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12904 .loc 1 1965 1 view .LVU3883 12905 012a 00BF .align 2 12906 .L930: 12907 012c 002C0140 .word 1073818624 12908 .cfi_endproc 12909 .LFE358: 12911 .section .text.HAL_TIM_IC_Start,"ax",%progbits 12912 .align 1 12913 .global HAL_TIM_IC_Start 12914 .syntax unified 12915 .thumb 12916 .thumb_func 12918 HAL_TIM_IC_Start: 12919 .LVL965: 12920 .LFB363: 2142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 12921 .loc 1 2142 1 is_stmt 1 view -0 12922 .cfi_startproc 12923 @ args = 0, pretend = 0, frame = 0 12924 @ frame_needed = 0, uses_anonymous_args = 0 2142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 12925 .loc 1 2142 1 is_stmt 0 view .LVU3885 12926 0000 10B5 push {r4, lr} 12927 .LCFI97: 12928 .cfi_def_cfa_offset 8 12929 .cfi_offset 4, -8 12930 .cfi_offset 14, -4 12931 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); 12932 .loc 1 2143 3 is_stmt 1 view .LVU3886 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 3 view .LVU3887 12934 0004 1029 cmp r1, #16 12935 0006 34D8 bhi .L933 12936 0008 DFE801F0 tbb [pc, r1] 12937 .L935: 12938 000c 09 .byte (.L939-.L935)/2 12939 000d 33 .byte (.L933-.L935)/2 12940 000e 33 .byte (.L933-.L935)/2 12941 000f 33 .byte (.L933-.L935)/2 12942 0010 23 .byte (.L938-.L935)/2 12943 0011 33 .byte (.L933-.L935)/2 12944 0012 33 .byte (.L933-.L935)/2 12945 0013 33 .byte (.L933-.L935)/2 12946 0014 27 .byte (.L937-.L935)/2 12947 0015 33 .byte (.L933-.L935)/2 12948 0016 33 .byte (.L933-.L935)/2 ARM GAS /tmp/ccodHXtm.s page 426 12949 0017 33 .byte (.L933-.L935)/2 12950 0018 2B .byte (.L936-.L935)/2 12951 0019 33 .byte (.L933-.L935)/2 12952 001a 33 .byte (.L933-.L935)/2 12953 001b 33 .byte (.L933-.L935)/2 12954 001c 2F .byte (.L934-.L935)/2 12955 001d 00 .p2align 1 12956 .L939: 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 12957 .loc 1 2144 47 is_stmt 0 discriminator 1 view .LVU3888 12958 001e 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 12959 .LVL966: 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 12960 .loc 1 2144 47 discriminator 1 view .LVU3889 12961 0022 C0B2 uxtb r0, r0 12962 .L940: 12963 .LVL967: 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12964 .loc 1 2145 3 is_stmt 1 view .LVU3890 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12965 .loc 1 2145 61 is_stmt 0 view .LVU3891 12966 0024 49BB cbnz r1, .L941 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12967 .loc 1 2145 61 discriminator 1 view .LVU3892 12968 0026 94F84430 ldrb r3, [r4, #68] @ zero_extendqisi2 12969 002a DBB2 uxtb r3, r3 12970 .L942: 12971 .LVL968: 2148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 12972 .loc 1 2148 3 is_stmt 1 view .LVU3893 2151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_state != HAL_TIM_CHANNEL_STATE_READY)) 12973 .loc 1 2151 3 view .LVU3894 2151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_state != HAL_TIM_CHANNEL_STATE_READY)) 12974 .loc 1 2151 6 is_stmt 0 view .LVU3895 12975 002c 0128 cmp r0, #1 12976 002e 40F08B80 bne .L959 2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 12977 .loc 1 2152 7 view .LVU3896 12978 0032 012B cmp r3, #1 12979 0034 40F08980 bne .L945 2158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 12980 .loc 1 2158 3 is_stmt 1 view .LVU3897 12981 0038 1029 cmp r1, #16 12982 003a 6BD8 bhi .L946 12983 003c DFE801F0 tbb [pc, r1] 12984 .LVL969: 12985 .L948: 12986 0040 2D .byte (.L952-.L948)/2 12987 0041 6A .byte (.L946-.L948)/2 12988 0042 6A .byte (.L946-.L948)/2 12989 0043 6A .byte (.L946-.L948)/2 12990 0044 33 .byte (.L951-.L948)/2 12991 0045 6A .byte (.L946-.L948)/2 12992 0046 6A .byte (.L946-.L948)/2 12993 0047 6A .byte (.L946-.L948)/2 12994 0048 5E .byte (.L950-.L948)/2 12995 0049 6A .byte (.L946-.L948)/2 ARM GAS /tmp/ccodHXtm.s page 427 12996 004a 6A .byte (.L946-.L948)/2 12997 004b 6A .byte (.L946-.L948)/2 12998 004c 62 .byte (.L949-.L948)/2 12999 004d 6A .byte (.L946-.L948)/2 13000 004e 6A .byte (.L946-.L948)/2 13001 004f 6A .byte (.L946-.L948)/2 13002 0050 66 .byte (.L947-.L948)/2 13003 0051 00 .p2align 1 13004 .L938: 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13005 .loc 1 2144 47 is_stmt 0 discriminator 4 view .LVU3898 13006 0052 90F83F00 ldrb r0, [r0, #63] @ zero_extendqisi2 13007 .LVL970: 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13008 .loc 1 2144 47 discriminator 4 view .LVU3899 13009 0056 C0B2 uxtb r0, r0 13010 0058 E4E7 b .L940 13011 .LVL971: 13012 .L937: 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13013 .loc 1 2144 47 discriminator 7 view .LVU3900 13014 005a 90F84000 ldrb r0, [r0, #64] @ zero_extendqisi2 13015 .LVL972: 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13016 .loc 1 2144 47 discriminator 7 view .LVU3901 13017 005e C0B2 uxtb r0, r0 13018 0060 E0E7 b .L940 13019 .LVL973: 13020 .L936: 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13021 .loc 1 2144 47 discriminator 10 view .LVU3902 13022 0062 90F84100 ldrb r0, [r0, #65] @ zero_extendqisi2 13023 .LVL974: 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13024 .loc 1 2144 47 discriminator 10 view .LVU3903 13025 0066 C0B2 uxtb r0, r0 13026 0068 DCE7 b .L940 13027 .LVL975: 13028 .L934: 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13029 .loc 1 2144 47 discriminator 13 view .LVU3904 13030 006a 90F84200 ldrb r0, [r0, #66] @ zero_extendqisi2 13031 .LVL976: 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13032 .loc 1 2144 47 discriminator 13 view .LVU3905 13033 006e C0B2 uxtb r0, r0 13034 0070 D8E7 b .L940 13035 .LVL977: 13036 .L933: 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13037 .loc 1 2144 47 discriminator 14 view .LVU3906 13038 0072 90F84300 ldrb r0, [r0, #67] @ zero_extendqisi2 13039 .LVL978: 2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13040 .loc 1 2144 47 discriminator 14 view .LVU3907 13041 0076 C0B2 uxtb r0, r0 13042 0078 D4E7 b .L940 ARM GAS /tmp/ccodHXtm.s page 428 13043 .LVL979: 13044 .L941: 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13045 .loc 1 2145 61 discriminator 2 view .LVU3908 13046 007a 0429 cmp r1, #4 13047 007c 05D0 beq .L963 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13048 .loc 1 2145 61 discriminator 5 view .LVU3909 13049 007e 0829 cmp r1, #8 13050 0080 07D0 beq .L964 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13051 .loc 1 2145 61 discriminator 8 view .LVU3910 13052 0082 94F84730 ldrb r3, [r4, #71] @ zero_extendqisi2 13053 0086 DBB2 uxtb r3, r3 13054 0088 D0E7 b .L942 13055 .L963: 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13056 .loc 1 2145 61 discriminator 4 view .LVU3911 13057 008a 94F84530 ldrb r3, [r4, #69] @ zero_extendqisi2 13058 008e DBB2 uxtb r3, r3 13059 0090 CCE7 b .L942 13060 .L964: 2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13061 .loc 1 2145 61 discriminator 7 view .LVU3912 13062 0092 94F84630 ldrb r3, [r4, #70] @ zero_extendqisi2 13063 0096 DBB2 uxtb r3, r3 13064 0098 C8E7 b .L942 13065 .LVL980: 13066 .L952: 2158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13067 .loc 1 2158 3 discriminator 1 view .LVU3913 13068 009a 0223 movs r3, #2 13069 009c 84F83E30 strb r3, [r4, #62] 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13070 .loc 1 2159 3 is_stmt 1 view .LVU3914 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13071 .loc 1 2159 3 is_stmt 0 discriminator 1 view .LVU3915 13072 00a0 84F84430 strb r3, [r4, #68] 13073 00a4 09E0 b .L953 13074 .L951: 2158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13075 .loc 1 2158 3 discriminator 3 view .LVU3916 13076 00a6 0223 movs r3, #2 13077 00a8 84F83F30 strb r3, [r4, #63] 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13078 .loc 1 2159 3 is_stmt 1 view .LVU3917 13079 .L954: 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13080 .loc 1 2159 3 is_stmt 0 discriminator 2 view .LVU3918 13081 00ac 0429 cmp r1, #4 13082 00ae 35D0 beq .L965 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13083 .loc 1 2159 3 discriminator 4 view .LVU3919 13084 00b0 0829 cmp r1, #8 13085 00b2 37D0 beq .L966 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13086 .loc 1 2159 3 discriminator 7 view .LVU3920 ARM GAS /tmp/ccodHXtm.s page 429 13087 00b4 0223 movs r3, #2 13088 00b6 84F84730 strb r3, [r4, #71] 13089 .L953: 2162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13090 .loc 1 2162 3 is_stmt 1 view .LVU3921 13091 00ba 0122 movs r2, #1 13092 00bc 2068 ldr r0, [r4] 13093 .LVL981: 2162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13094 .loc 1 2162 3 is_stmt 0 view .LVU3922 13095 00be FFF7FEFF bl TIM_CCxChannelCmd 13096 .LVL982: 2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13097 .loc 1 2165 3 is_stmt 1 view .LVU3923 2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13098 .loc 1 2165 7 is_stmt 0 view .LVU3924 13099 00c2 2368 ldr r3, [r4] 2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13100 .loc 1 2165 6 view .LVU3925 13101 00c4 234A ldr r2, .L967 13102 00c6 9342 cmp r3, r2 13103 00c8 30D0 beq .L957 2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13104 .loc 1 2165 7 discriminator 1 view .LVU3926 13105 00ca B3F1804F cmp r3, #1073741824 13106 00ce 2DD0 beq .L957 2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13107 .loc 1 2165 7 discriminator 2 view .LVU3927 13108 00d0 A2F59432 sub r2, r2, #75776 13109 00d4 9342 cmp r3, r2 13110 00d6 29D0 beq .L957 2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13111 .loc 1 2165 7 discriminator 3 view .LVU3928 13112 00d8 02F58062 add r2, r2, #1024 13113 00dc 9342 cmp r3, r2 13114 00de 25D0 beq .L957 2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13115 .loc 1 2165 7 discriminator 4 view .LVU3929 13116 00e0 02F59632 add r2, r2, #76800 13117 00e4 9342 cmp r3, r2 13118 00e6 21D0 beq .L957 2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13119 .loc 1 2165 7 discriminator 5 view .LVU3930 13120 00e8 02F54062 add r2, r2, #3072 13121 00ec 9342 cmp r3, r2 13122 00ee 1DD0 beq .L957 2175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13123 .loc 1 2175 5 is_stmt 1 view .LVU3931 13124 00f0 1A68 ldr r2, [r3] 13125 00f2 42F00102 orr r2, r2, #1 13126 00f6 1A60 str r2, [r3] 2179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13127 .loc 1 2179 10 is_stmt 0 view .LVU3932 13128 00f8 0020 movs r0, #0 13129 00fa 26E0 b .L945 13130 .LVL983: 13131 .L950: ARM GAS /tmp/ccodHXtm.s page 430 2158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13132 .loc 1 2158 3 discriminator 6 view .LVU3933 13133 00fc 0223 movs r3, #2 13134 00fe 84F84030 strb r3, [r4, #64] 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13135 .loc 1 2159 3 is_stmt 1 view .LVU3934 13136 0102 D3E7 b .L954 13137 .L949: 2158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13138 .loc 1 2158 3 is_stmt 0 discriminator 9 view .LVU3935 13139 0104 0223 movs r3, #2 13140 0106 84F84130 strb r3, [r4, #65] 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13141 .loc 1 2159 3 is_stmt 1 view .LVU3936 13142 010a CFE7 b .L954 13143 .L947: 2158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13144 .loc 1 2158 3 is_stmt 0 discriminator 12 view .LVU3937 13145 010c 0223 movs r3, #2 13146 010e 84F84230 strb r3, [r4, #66] 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13147 .loc 1 2159 3 is_stmt 1 view .LVU3938 13148 0112 CBE7 b .L954 13149 .L946: 2158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13150 .loc 1 2158 3 is_stmt 0 discriminator 13 view .LVU3939 13151 0114 0223 movs r3, #2 13152 0116 84F84330 strb r3, [r4, #67] 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13153 .loc 1 2159 3 is_stmt 1 view .LVU3940 13154 011a C7E7 b .L954 13155 .L965: 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13156 .loc 1 2159 3 is_stmt 0 discriminator 3 view .LVU3941 13157 011c 0223 movs r3, #2 13158 011e 84F84530 strb r3, [r4, #69] 13159 0122 CAE7 b .L953 13160 .L966: 2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13161 .loc 1 2159 3 discriminator 6 view .LVU3942 13162 0124 0223 movs r3, #2 13163 0126 84F84630 strb r3, [r4, #70] 13164 012a C6E7 b .L953 13165 .LVL984: 13166 .L957: 2167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 13167 .loc 1 2167 5 is_stmt 1 view .LVU3943 2167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 13168 .loc 1 2167 29 is_stmt 0 view .LVU3944 13169 012c 9968 ldr r1, [r3, #8] 2167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 13170 .loc 1 2167 13 view .LVU3945 13171 012e 0A4A ldr r2, .L967+4 13172 0130 0A40 ands r2, r2, r1 13173 .LVL985: 2168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13174 .loc 1 2168 5 is_stmt 1 view .LVU3946 ARM GAS /tmp/ccodHXtm.s page 431 2168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13175 .loc 1 2168 8 is_stmt 0 view .LVU3947 13176 0132 062A cmp r2, #6 13177 0134 0AD0 beq .L960 2168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13178 .loc 1 2168 9 discriminator 1 view .LVU3948 13179 0136 B2F5803F cmp r2, #65536 13180 013a 09D0 beq .L961 2170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13181 .loc 1 2170 7 is_stmt 1 view .LVU3949 13182 013c 1A68 ldr r2, [r3] 13183 .LVL986: 2170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13184 .loc 1 2170 7 is_stmt 0 view .LVU3950 13185 013e 42F00102 orr r2, r2, #1 13186 0142 1A60 str r2, [r3] 2179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13187 .loc 1 2179 10 view .LVU3951 13188 0144 0020 movs r0, #0 13189 0146 00E0 b .L945 13190 .LVL987: 13191 .L959: 2154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13192 .loc 1 2154 12 view .LVU3952 13193 0148 0120 movs r0, #1 13194 .LVL988: 13195 .L945: 2180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13196 .loc 1 2180 1 view .LVU3953 13197 014a 10BD pop {r4, pc} 13198 .LVL989: 13199 .L960: 2179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13200 .loc 1 2179 10 view .LVU3954 13201 014c 0020 movs r0, #0 13202 014e FCE7 b .L945 13203 .L961: 13204 0150 0020 movs r0, #0 13205 0152 FAE7 b .L945 13206 .L968: 13207 .align 2 13208 .L967: 13209 0154 002C0140 .word 1073818624 13210 0158 07000100 .word 65543 13211 .cfi_endproc 13212 .LFE363: 13214 .section .text.HAL_TIM_IC_Stop,"ax",%progbits 13215 .align 1 13216 .global HAL_TIM_IC_Stop 13217 .syntax unified 13218 .thumb 13219 .thumb_func 13221 HAL_TIM_IC_Stop: 13222 .LVL990: 13223 .LFB364: 2194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 13224 .loc 1 2194 1 is_stmt 1 view -0 ARM GAS /tmp/ccodHXtm.s page 432 13225 .cfi_startproc 13226 @ args = 0, pretend = 0, frame = 0 13227 @ frame_needed = 0, uses_anonymous_args = 0 2194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 13228 .loc 1 2194 1 is_stmt 0 view .LVU3956 13229 0000 38B5 push {r3, r4, r5, lr} 13230 .LCFI98: 13231 .cfi_def_cfa_offset 16 13232 .cfi_offset 3, -16 13233 .cfi_offset 4, -12 13234 .cfi_offset 5, -8 13235 .cfi_offset 14, -4 13236 0002 0446 mov r4, r0 13237 0004 0D46 mov r5, r1 2196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13238 .loc 1 2196 3 is_stmt 1 view .LVU3957 2199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13239 .loc 1 2199 3 view .LVU3958 13240 0006 0022 movs r2, #0 13241 0008 0068 ldr r0, [r0] 13242 .LVL991: 2199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13243 .loc 1 2199 3 is_stmt 0 view .LVU3959 13244 000a FFF7FEFF bl TIM_CCxChannelCmd 13245 .LVL992: 2202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13246 .loc 1 2202 3 is_stmt 1 view .LVU3960 2202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13247 .loc 1 2202 3 view .LVU3961 13248 000e 2368 ldr r3, [r4] 13249 0010 196A ldr r1, [r3, #32] 13250 0012 41F21112 movw r2, #4369 13251 0016 1142 tst r1, r2 13252 0018 08D1 bne .L970 2202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13253 .loc 1 2202 3 discriminator 1 view .LVU3962 13254 001a 196A ldr r1, [r3, #32] 13255 001c 44F24442 movw r2, #17476 13256 0020 1142 tst r1, r2 13257 0022 03D1 bne .L970 2202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13258 .loc 1 2202 3 discriminator 3 view .LVU3963 13259 0024 1A68 ldr r2, [r3] 13260 0026 22F00102 bic r2, r2, #1 13261 002a 1A60 str r2, [r3] 13262 .L970: 2202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13263 .loc 1 2202 3 discriminator 5 view .LVU3964 2205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13264 .loc 1 2205 3 view .LVU3965 13265 002c 102D cmp r5, #16 13266 002e 28D8 bhi .L971 13267 0030 DFE805F0 tbb [pc, r5] 13268 .L973: 13269 0034 09 .byte (.L977-.L973)/2 13270 0035 27 .byte (.L971-.L973)/2 13271 0036 27 .byte (.L971-.L973)/2 ARM GAS /tmp/ccodHXtm.s page 433 13272 0037 27 .byte (.L971-.L973)/2 13273 0038 0F .byte (.L976-.L973)/2 13274 0039 27 .byte (.L971-.L973)/2 13275 003a 27 .byte (.L971-.L973)/2 13276 003b 27 .byte (.L971-.L973)/2 13277 003c 1B .byte (.L975-.L973)/2 13278 003d 27 .byte (.L971-.L973)/2 13279 003e 27 .byte (.L971-.L973)/2 13280 003f 27 .byte (.L971-.L973)/2 13281 0040 1F .byte (.L974-.L973)/2 13282 0041 27 .byte (.L971-.L973)/2 13283 0042 27 .byte (.L971-.L973)/2 13284 0043 27 .byte (.L971-.L973)/2 13285 0044 23 .byte (.L972-.L973)/2 13286 0045 00 .p2align 1 13287 .L977: 2205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13288 .loc 1 2205 3 is_stmt 0 discriminator 1 view .LVU3966 13289 0046 0123 movs r3, #1 13290 0048 84F83E30 strb r3, [r4, #62] 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13291 .loc 1 2206 3 is_stmt 1 view .LVU3967 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13292 .loc 1 2206 3 is_stmt 0 discriminator 1 view .LVU3968 13293 004c 84F84430 strb r3, [r4, #68] 13294 0050 09E0 b .L978 13295 .L976: 2205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13296 .loc 1 2205 3 discriminator 3 view .LVU3969 13297 0052 0123 movs r3, #1 13298 0054 84F83F30 strb r3, [r4, #63] 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13299 .loc 1 2206 3 is_stmt 1 view .LVU3970 13300 .L979: 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13301 .loc 1 2206 3 is_stmt 0 discriminator 2 view .LVU3971 13302 0058 042D cmp r5, #4 13303 005a 16D0 beq .L983 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13304 .loc 1 2206 3 discriminator 4 view .LVU3972 13305 005c 082D cmp r5, #8 13306 005e 18D0 beq .L984 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13307 .loc 1 2206 3 discriminator 7 view .LVU3973 13308 0060 0123 movs r3, #1 13309 0062 84F84730 strb r3, [r4, #71] 13310 .L978: 2209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13311 .loc 1 2209 3 is_stmt 1 view .LVU3974 2210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13312 .loc 1 2210 1 is_stmt 0 view .LVU3975 13313 0066 0020 movs r0, #0 13314 0068 38BD pop {r3, r4, r5, pc} 13315 .LVL993: 13316 .L975: 2205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13317 .loc 1 2205 3 discriminator 6 view .LVU3976 ARM GAS /tmp/ccodHXtm.s page 434 13318 006a 0123 movs r3, #1 13319 006c 84F84030 strb r3, [r4, #64] 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13320 .loc 1 2206 3 is_stmt 1 view .LVU3977 13321 0070 F2E7 b .L979 13322 .L974: 2205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13323 .loc 1 2205 3 is_stmt 0 discriminator 9 view .LVU3978 13324 0072 0123 movs r3, #1 13325 0074 84F84130 strb r3, [r4, #65] 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13326 .loc 1 2206 3 is_stmt 1 view .LVU3979 13327 0078 EEE7 b .L979 13328 .L972: 2205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13329 .loc 1 2205 3 is_stmt 0 discriminator 12 view .LVU3980 13330 007a 0123 movs r3, #1 13331 007c 84F84230 strb r3, [r4, #66] 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13332 .loc 1 2206 3 is_stmt 1 view .LVU3981 13333 0080 EAE7 b .L979 13334 .L971: 2205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13335 .loc 1 2205 3 is_stmt 0 discriminator 13 view .LVU3982 13336 0082 0123 movs r3, #1 13337 0084 84F84330 strb r3, [r4, #67] 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13338 .loc 1 2206 3 is_stmt 1 view .LVU3983 13339 0088 E6E7 b .L979 13340 .L983: 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13341 .loc 1 2206 3 is_stmt 0 discriminator 3 view .LVU3984 13342 008a 0123 movs r3, #1 13343 008c 84F84530 strb r3, [r4, #69] 13344 0090 E9E7 b .L978 13345 .L984: 2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13346 .loc 1 2206 3 discriminator 6 view .LVU3985 13347 0092 0123 movs r3, #1 13348 0094 84F84630 strb r3, [r4, #70] 13349 0098 E5E7 b .L978 13350 .cfi_endproc 13351 .LFE364: 13353 .section .text.HAL_TIM_IC_Start_IT,"ax",%progbits 13354 .align 1 13355 .global HAL_TIM_IC_Start_IT 13356 .syntax unified 13357 .thumb 13358 .thumb_func 13360 HAL_TIM_IC_Start_IT: 13361 .LVL994: 13362 .LFB365: 2224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 13363 .loc 1 2224 1 is_stmt 1 view -0 13364 .cfi_startproc 13365 @ args = 0, pretend = 0, frame = 0 13366 @ frame_needed = 0, uses_anonymous_args = 0 ARM GAS /tmp/ccodHXtm.s page 435 2224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 13367 .loc 1 2224 1 is_stmt 0 view .LVU3987 13368 0000 10B5 push {r4, lr} 13369 .LCFI99: 13370 .cfi_def_cfa_offset 8 13371 .cfi_offset 4, -8 13372 .cfi_offset 14, -4 13373 0002 0446 mov r4, r0 2225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 13374 .loc 1 2225 3 is_stmt 1 view .LVU3988 13375 .LVL995: 2226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13376 .loc 1 2226 3 view .LVU3989 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13377 .loc 1 2228 3 view .LVU3990 13378 0004 1029 cmp r1, #16 13379 0006 34D8 bhi .L986 13380 0008 DFE801F0 tbb [pc, r1] 13381 .L988: 13382 000c 09 .byte (.L992-.L988)/2 13383 000d 33 .byte (.L986-.L988)/2 13384 000e 33 .byte (.L986-.L988)/2 13385 000f 33 .byte (.L986-.L988)/2 13386 0010 23 .byte (.L991-.L988)/2 13387 0011 33 .byte (.L986-.L988)/2 13388 0012 33 .byte (.L986-.L988)/2 13389 0013 33 .byte (.L986-.L988)/2 13390 0014 27 .byte (.L990-.L988)/2 13391 0015 33 .byte (.L986-.L988)/2 13392 0016 33 .byte (.L986-.L988)/2 13393 0017 33 .byte (.L986-.L988)/2 13394 0018 2B .byte (.L989-.L988)/2 13395 0019 33 .byte (.L986-.L988)/2 13396 001a 33 .byte (.L986-.L988)/2 13397 001b 33 .byte (.L986-.L988)/2 13398 001c 2F .byte (.L987-.L988)/2 13399 001d 00 .p2align 1 13400 .L992: 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13401 .loc 1 2228 47 is_stmt 0 discriminator 1 view .LVU3991 13402 001e 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 13403 .LVL996: 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13404 .loc 1 2228 47 discriminator 1 view .LVU3992 13405 0022 C0B2 uxtb r0, r0 13406 .L993: 13407 .LVL997: 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13408 .loc 1 2229 3 is_stmt 1 view .LVU3993 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13409 .loc 1 2229 61 is_stmt 0 view .LVU3994 13410 0024 49BB cbnz r1, .L994 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13411 .loc 1 2229 61 discriminator 1 view .LVU3995 13412 0026 94F84430 ldrb r3, [r4, #68] @ zero_extendqisi2 13413 002a DBB2 uxtb r3, r3 13414 .L995: ARM GAS /tmp/ccodHXtm.s page 436 13415 .LVL998: 2232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13416 .loc 1 2232 3 is_stmt 1 view .LVU3996 2235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_state != HAL_TIM_CHANNEL_STATE_READY)) 13417 .loc 1 2235 3 view .LVU3997 2235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_state != HAL_TIM_CHANNEL_STATE_READY)) 13418 .loc 1 2235 6 is_stmt 0 view .LVU3998 13419 002c 0128 cmp r0, #1 13420 002e 40F0AB80 bne .L1018 2236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13421 .loc 1 2236 7 view .LVU3999 13422 0032 012B cmp r3, #1 13423 0034 40F0A980 bne .L998 2242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13424 .loc 1 2242 3 is_stmt 1 view .LVU4000 13425 0038 1029 cmp r1, #16 13426 003a 55D8 bhi .L999 13427 003c DFE801F0 tbb [pc, r1] 13428 .L1001: 13429 0040 2D .byte (.L1005-.L1001)/2 13430 0041 54 .byte (.L999-.L1001)/2 13431 0042 54 .byte (.L999-.L1001)/2 13432 0043 54 .byte (.L999-.L1001)/2 13433 0044 33 .byte (.L1004-.L1001)/2 13434 0045 54 .byte (.L999-.L1001)/2 13435 0046 54 .byte (.L999-.L1001)/2 13436 0047 54 .byte (.L999-.L1001)/2 13437 0048 48 .byte (.L1003-.L1001)/2 13438 0049 54 .byte (.L999-.L1001)/2 13439 004a 54 .byte (.L999-.L1001)/2 13440 004b 54 .byte (.L999-.L1001)/2 13441 004c 4C .byte (.L1002-.L1001)/2 13442 004d 54 .byte (.L999-.L1001)/2 13443 004e 54 .byte (.L999-.L1001)/2 13444 004f 54 .byte (.L999-.L1001)/2 13445 0050 50 .byte (.L1000-.L1001)/2 13446 .LVL999: 13447 0051 00 .p2align 1 13448 .L991: 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13449 .loc 1 2228 47 is_stmt 0 discriminator 4 view .LVU4001 13450 0052 90F83F00 ldrb r0, [r0, #63] @ zero_extendqisi2 13451 .LVL1000: 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13452 .loc 1 2228 47 discriminator 4 view .LVU4002 13453 0056 C0B2 uxtb r0, r0 13454 0058 E4E7 b .L993 13455 .LVL1001: 13456 .L990: 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13457 .loc 1 2228 47 discriminator 7 view .LVU4003 13458 005a 90F84000 ldrb r0, [r0, #64] @ zero_extendqisi2 13459 .LVL1002: 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13460 .loc 1 2228 47 discriminator 7 view .LVU4004 13461 005e C0B2 uxtb r0, r0 13462 0060 E0E7 b .L993 ARM GAS /tmp/ccodHXtm.s page 437 13463 .LVL1003: 13464 .L989: 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13465 .loc 1 2228 47 discriminator 10 view .LVU4005 13466 0062 90F84100 ldrb r0, [r0, #65] @ zero_extendqisi2 13467 .LVL1004: 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13468 .loc 1 2228 47 discriminator 10 view .LVU4006 13469 0066 C0B2 uxtb r0, r0 13470 0068 DCE7 b .L993 13471 .LVL1005: 13472 .L987: 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13473 .loc 1 2228 47 discriminator 13 view .LVU4007 13474 006a 90F84200 ldrb r0, [r0, #66] @ zero_extendqisi2 13475 .LVL1006: 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13476 .loc 1 2228 47 discriminator 13 view .LVU4008 13477 006e C0B2 uxtb r0, r0 13478 0070 D8E7 b .L993 13479 .LVL1007: 13480 .L986: 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13481 .loc 1 2228 47 discriminator 14 view .LVU4009 13482 0072 90F84300 ldrb r0, [r0, #67] @ zero_extendqisi2 13483 .LVL1008: 2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13484 .loc 1 2228 47 discriminator 14 view .LVU4010 13485 0076 C0B2 uxtb r0, r0 13486 0078 D4E7 b .L993 13487 .LVL1009: 13488 .L994: 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13489 .loc 1 2229 61 discriminator 2 view .LVU4011 13490 007a 0429 cmp r1, #4 13491 007c 05D0 beq .L1025 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13492 .loc 1 2229 61 discriminator 5 view .LVU4012 13493 007e 0829 cmp r1, #8 13494 0080 07D0 beq .L1026 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13495 .loc 1 2229 61 discriminator 8 view .LVU4013 13496 0082 94F84730 ldrb r3, [r4, #71] @ zero_extendqisi2 13497 0086 DBB2 uxtb r3, r3 13498 0088 D0E7 b .L995 13499 .L1025: 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13500 .loc 1 2229 61 discriminator 4 view .LVU4014 13501 008a 94F84530 ldrb r3, [r4, #69] @ zero_extendqisi2 13502 008e DBB2 uxtb r3, r3 13503 0090 CCE7 b .L995 13504 .L1026: 2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13505 .loc 1 2229 61 discriminator 7 view .LVU4015 13506 0092 94F84630 ldrb r3, [r4, #70] @ zero_extendqisi2 13507 0096 DBB2 uxtb r3, r3 13508 0098 C8E7 b .L995 ARM GAS /tmp/ccodHXtm.s page 438 13509 .LVL1010: 13510 .L1005: 2242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13511 .loc 1 2242 3 discriminator 1 view .LVU4016 13512 009a 0222 movs r2, #2 13513 009c 84F83E20 strb r2, [r4, #62] 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13514 .loc 1 2243 3 is_stmt 1 view .LVU4017 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13515 .loc 1 2243 3 is_stmt 0 discriminator 1 view .LVU4018 13516 00a0 84F84420 strb r2, [r4, #68] 13517 00a4 09E0 b .L1006 13518 .L1004: 2242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13519 .loc 1 2242 3 discriminator 3 view .LVU4019 13520 00a6 0222 movs r2, #2 13521 00a8 84F83F20 strb r2, [r4, #63] 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13522 .loc 1 2243 3 is_stmt 1 view .LVU4020 13523 .L1007: 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13524 .loc 1 2243 3 is_stmt 0 discriminator 2 view .LVU4021 13525 00ac 0429 cmp r1, #4 13526 00ae 1FD0 beq .L1027 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13527 .loc 1 2243 3 discriminator 4 view .LVU4022 13528 00b0 0829 cmp r1, #8 13529 00b2 46D0 beq .L1028 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13530 .loc 1 2243 3 discriminator 7 view .LVU4023 13531 00b4 0222 movs r2, #2 13532 00b6 84F84720 strb r2, [r4, #71] 13533 .L1006: 2245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13534 .loc 1 2245 3 is_stmt 1 view .LVU4024 13535 00ba 0C29 cmp r1, #12 13536 00bc 66D8 bhi .L1019 13537 00be DFE801F0 tbb [pc, r1] 13538 .L1013: 13539 00c2 49 .byte (.L1014-.L1013)/2 13540 00c3 65 .byte (.L1019-.L1013)/2 13541 00c4 65 .byte (.L1019-.L1013)/2 13542 00c5 65 .byte (.L1019-.L1013)/2 13543 00c6 1A .byte (.L1009-.L1013)/2 13544 00c7 65 .byte (.L1019-.L1013)/2 13545 00c8 65 .byte (.L1019-.L1013)/2 13546 00c9 65 .byte (.L1019-.L1013)/2 13547 00ca 43 .byte (.L1011-.L1013)/2 13548 00cb 65 .byte (.L1019-.L1013)/2 13549 00cc 65 .byte (.L1019-.L1013)/2 13550 00cd 65 .byte (.L1019-.L1013)/2 13551 00ce 4F .byte (.L1012-.L1013)/2 13552 00cf 00 .p2align 1 13553 .L1003: 2242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13554 .loc 1 2242 3 is_stmt 0 discriminator 6 view .LVU4025 13555 00d0 0222 movs r2, #2 ARM GAS /tmp/ccodHXtm.s page 439 13556 00d2 84F84020 strb r2, [r4, #64] 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13557 .loc 1 2243 3 is_stmt 1 view .LVU4026 13558 00d6 E9E7 b .L1007 13559 .L1002: 2242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13560 .loc 1 2242 3 is_stmt 0 discriminator 9 view .LVU4027 13561 00d8 0222 movs r2, #2 13562 00da 84F84120 strb r2, [r4, #65] 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13563 .loc 1 2243 3 is_stmt 1 view .LVU4028 13564 00de E5E7 b .L1007 13565 .L1000: 2242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13566 .loc 1 2242 3 is_stmt 0 discriminator 12 view .LVU4029 13567 00e0 0222 movs r2, #2 13568 00e2 84F84220 strb r2, [r4, #66] 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13569 .loc 1 2243 3 is_stmt 1 view .LVU4030 13570 00e6 E1E7 b .L1007 13571 .L999: 2242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 13572 .loc 1 2242 3 is_stmt 0 discriminator 13 view .LVU4031 13573 00e8 0222 movs r2, #2 13574 00ea 84F84320 strb r2, [r4, #67] 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13575 .loc 1 2243 3 is_stmt 1 view .LVU4032 13576 00ee DDE7 b .L1007 13577 .L1027: 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13578 .loc 1 2243 3 is_stmt 0 discriminator 3 view .LVU4033 13579 00f0 0223 movs r3, #2 13580 .LVL1011: 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13581 .loc 1 2243 3 discriminator 3 view .LVU4034 13582 00f2 84F84530 strb r3, [r4, #69] 2245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13583 .loc 1 2245 3 is_stmt 1 view .LVU4035 13584 .L1009: 2257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13585 .loc 1 2257 7 view .LVU4036 13586 00f6 2268 ldr r2, [r4] 13587 00f8 D368 ldr r3, [r2, #12] 13588 00fa 43F00403 orr r3, r3, #4 13589 00fe D360 str r3, [r2, #12] 2258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13590 .loc 1 2258 7 view .LVU4037 2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13591 .loc 1 2280 3 view .LVU4038 13592 .L1015: 2283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13593 .loc 1 2283 5 view .LVU4039 13594 0100 0122 movs r2, #1 13595 0102 2068 ldr r0, [r4] 13596 .LVL1012: 2283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13597 .loc 1 2283 5 is_stmt 0 view .LVU4040 ARM GAS /tmp/ccodHXtm.s page 440 13598 0104 FFF7FEFF bl TIM_CCxChannelCmd 13599 .LVL1013: 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13600 .loc 1 2286 5 is_stmt 1 view .LVU4041 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13601 .loc 1 2286 9 is_stmt 0 view .LVU4042 13602 0108 2368 ldr r3, [r4] 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13603 .loc 1 2286 8 view .LVU4043 13604 010a 234A ldr r2, .L1029 13605 010c 9342 cmp r3, r2 13606 010e 2DD0 beq .L1016 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13607 .loc 1 2286 9 discriminator 1 view .LVU4044 13608 0110 B3F1804F cmp r3, #1073741824 13609 0114 2AD0 beq .L1016 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13610 .loc 1 2286 9 discriminator 2 view .LVU4045 13611 0116 A2F59432 sub r2, r2, #75776 13612 011a 9342 cmp r3, r2 13613 011c 26D0 beq .L1016 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13614 .loc 1 2286 9 discriminator 3 view .LVU4046 13615 011e 02F58062 add r2, r2, #1024 13616 0122 9342 cmp r3, r2 13617 0124 22D0 beq .L1016 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13618 .loc 1 2286 9 discriminator 4 view .LVU4047 13619 0126 02F59632 add r2, r2, #76800 13620 012a 9342 cmp r3, r2 13621 012c 1ED0 beq .L1016 2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13622 .loc 1 2286 9 discriminator 5 view .LVU4048 13623 012e 02F54062 add r2, r2, #3072 13624 0132 9342 cmp r3, r2 13625 0134 1AD0 beq .L1016 2296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13626 .loc 1 2296 7 is_stmt 1 view .LVU4049 13627 0136 1A68 ldr r2, [r3] 13628 0138 42F00102 orr r2, r2, #1 13629 013c 1A60 str r2, [r3] 13630 013e 0020 movs r0, #0 13631 0140 23E0 b .L998 13632 .LVL1014: 13633 .L1028: 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13634 .loc 1 2243 3 is_stmt 0 discriminator 6 view .LVU4050 13635 0142 0223 movs r3, #2 13636 .LVL1015: 2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13637 .loc 1 2243 3 discriminator 6 view .LVU4051 13638 0144 84F84630 strb r3, [r4, #70] 2245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13639 .loc 1 2245 3 is_stmt 1 view .LVU4052 13640 .L1011: 2264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13641 .loc 1 2264 7 view .LVU4053 ARM GAS /tmp/ccodHXtm.s page 441 13642 0148 2268 ldr r2, [r4] 13643 014a D368 ldr r3, [r2, #12] 13644 014c 43F00803 orr r3, r3, #8 13645 0150 D360 str r3, [r2, #12] 2265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13646 .loc 1 2265 7 view .LVU4054 2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13647 .loc 1 2280 3 view .LVU4055 13648 0152 D5E7 b .L1015 13649 .LVL1016: 13650 .L1014: 2250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13651 .loc 1 2250 7 view .LVU4056 13652 0154 2268 ldr r2, [r4] 13653 0156 D368 ldr r3, [r2, #12] 13654 .LVL1017: 2250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13655 .loc 1 2250 7 is_stmt 0 view .LVU4057 13656 0158 43F00203 orr r3, r3, #2 13657 015c D360 str r3, [r2, #12] 2251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13658 .loc 1 2251 7 is_stmt 1 view .LVU4058 2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13659 .loc 1 2280 3 view .LVU4059 13660 015e CFE7 b .L1015 13661 .LVL1018: 13662 .L1012: 2271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13663 .loc 1 2271 7 view .LVU4060 13664 0160 2268 ldr r2, [r4] 13665 0162 D368 ldr r3, [r2, #12] 13666 .LVL1019: 2271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13667 .loc 1 2271 7 is_stmt 0 view .LVU4061 13668 0164 43F01003 orr r3, r3, #16 13669 0168 D360 str r3, [r2, #12] 2272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13670 .loc 1 2272 7 is_stmt 1 view .LVU4062 2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13671 .loc 1 2280 3 view .LVU4063 13672 016a C9E7 b .L1015 13673 .LVL1020: 13674 .L1016: 2288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 13675 .loc 1 2288 7 view .LVU4064 2288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 13676 .loc 1 2288 31 is_stmt 0 view .LVU4065 13677 016c 9968 ldr r1, [r3, #8] 2288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 13678 .loc 1 2288 15 view .LVU4066 13679 016e 0B4A ldr r2, .L1029+4 13680 0170 0A40 ands r2, r2, r1 13681 .LVL1021: 2289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13682 .loc 1 2289 7 is_stmt 1 view .LVU4067 2289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13683 .loc 1 2289 10 is_stmt 0 view .LVU4068 ARM GAS /tmp/ccodHXtm.s page 442 13684 0172 062A cmp r2, #6 13685 0174 0CD0 beq .L1020 2289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13686 .loc 1 2289 11 discriminator 1 view .LVU4069 13687 0176 B2F5803F cmp r2, #65536 13688 017a 0BD0 beq .L1021 2291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13689 .loc 1 2291 9 is_stmt 1 view .LVU4070 13690 017c 1A68 ldr r2, [r3] 13691 .LVL1022: 2291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13692 .loc 1 2291 9 is_stmt 0 view .LVU4071 13693 017e 42F00102 orr r2, r2, #1 13694 0182 1A60 str r2, [r3] 13695 0184 0020 movs r0, #0 13696 0186 00E0 b .L998 13697 .LVL1023: 13698 .L1018: 2238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13699 .loc 1 2238 12 view .LVU4072 13700 0188 0120 movs r0, #1 13701 .LVL1024: 13702 .L998: 2302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13703 .loc 1 2302 1 view .LVU4073 13704 018a 10BD pop {r4, pc} 13705 .LVL1025: 13706 .L1019: 2245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13707 .loc 1 2245 3 view .LVU4074 13708 018c 1846 mov r0, r3 13709 .LVL1026: 2245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13710 .loc 1 2245 3 view .LVU4075 13711 018e FCE7 b .L998 13712 .LVL1027: 13713 .L1020: 2245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13714 .loc 1 2245 3 view .LVU4076 13715 0190 0020 movs r0, #0 13716 0192 FAE7 b .L998 13717 .L1021: 13718 0194 0020 movs r0, #0 13719 0196 F8E7 b .L998 13720 .L1030: 13721 .align 2 13722 .L1029: 13723 0198 002C0140 .word 1073818624 13724 019c 07000100 .word 65543 13725 .cfi_endproc 13726 .LFE365: 13728 .section .text.HAL_TIM_IC_Stop_IT,"ax",%progbits 13729 .align 1 13730 .global HAL_TIM_IC_Stop_IT 13731 .syntax unified 13732 .thumb 13733 .thumb_func ARM GAS /tmp/ccodHXtm.s page 443 13735 HAL_TIM_IC_Stop_IT: 13736 .LVL1028: 13737 .LFB366: 2316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 13738 .loc 1 2316 1 is_stmt 1 view -0 13739 .cfi_startproc 13740 @ args = 0, pretend = 0, frame = 0 13741 @ frame_needed = 0, uses_anonymous_args = 0 2316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 13742 .loc 1 2316 1 is_stmt 0 view .LVU4078 13743 0000 38B5 push {r3, r4, r5, lr} 13744 .LCFI100: 13745 .cfi_def_cfa_offset 16 13746 .cfi_offset 3, -16 13747 .cfi_offset 4, -12 13748 .cfi_offset 5, -8 13749 .cfi_offset 14, -4 13750 0002 0546 mov r5, r0 13751 0004 0C46 mov r4, r1 2317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13752 .loc 1 2317 3 is_stmt 1 view .LVU4079 13753 .LVL1029: 2320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13754 .loc 1 2320 3 view .LVU4080 2322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13755 .loc 1 2322 3 view .LVU4081 13756 0006 0C29 cmp r1, #12 13757 0008 6DD8 bhi .L1050 13758 000a DFE801F0 tbb [pc, r1] 13759 .L1034: 13760 000e 07 .byte (.L1037-.L1034)/2 13761 000f 6C .byte (.L1050-.L1034)/2 13762 0010 6C .byte (.L1050-.L1034)/2 13763 0011 6C .byte (.L1050-.L1034)/2 13764 0012 2D .byte (.L1036-.L1034)/2 13765 0013 6C .byte (.L1050-.L1034)/2 13766 0014 6C .byte (.L1050-.L1034)/2 13767 0015 6C .byte (.L1050-.L1034)/2 13768 0016 33 .byte (.L1035-.L1034)/2 13769 0017 6C .byte (.L1050-.L1034)/2 13770 0018 6C .byte (.L1050-.L1034)/2 13771 0019 6C .byte (.L1050-.L1034)/2 13772 001a 39 .byte (.L1033-.L1034)/2 13773 001b 00 .p2align 1 13774 .L1037: 2327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13775 .loc 1 2327 7 view .LVU4082 13776 001c 0268 ldr r2, [r0] 13777 001e D368 ldr r3, [r2, #12] 13778 0020 23F00203 bic r3, r3, #2 13779 0024 D360 str r3, [r2, #12] 2328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13780 .loc 1 2328 7 view .LVU4083 2357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13781 .loc 1 2357 3 view .LVU4084 13782 .L1038: 2360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 444 13783 .loc 1 2360 5 view .LVU4085 13784 0026 0022 movs r2, #0 13785 0028 2146 mov r1, r4 13786 .LVL1030: 2360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13787 .loc 1 2360 5 is_stmt 0 view .LVU4086 13788 002a 2868 ldr r0, [r5] 13789 .LVL1031: 2360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13790 .loc 1 2360 5 view .LVU4087 13791 002c FFF7FEFF bl TIM_CCxChannelCmd 13792 .LVL1032: 2363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13793 .loc 1 2363 5 is_stmt 1 view .LVU4088 2363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13794 .loc 1 2363 5 view .LVU4089 13795 0030 2B68 ldr r3, [r5] 13796 0032 196A ldr r1, [r3, #32] 13797 0034 41F21112 movw r2, #4369 13798 0038 1142 tst r1, r2 13799 003a 08D1 bne .L1039 2363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13800 .loc 1 2363 5 discriminator 1 view .LVU4090 13801 003c 196A ldr r1, [r3, #32] 13802 003e 44F24442 movw r2, #17476 13803 0042 1142 tst r1, r2 13804 0044 03D1 bne .L1039 2363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13805 .loc 1 2363 5 discriminator 3 view .LVU4091 13806 0046 1A68 ldr r2, [r3] 13807 0048 22F00102 bic r2, r2, #1 13808 004c 1A60 str r2, [r3] 13809 .L1039: 2363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13810 .loc 1 2363 5 discriminator 5 view .LVU4092 2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13811 .loc 1 2366 5 view .LVU4093 13812 004e 102C cmp r4, #16 13813 0050 3BD8 bhi .L1040 13814 0052 DFE804F0 tbb [pc, r4] 13815 .L1042: 13816 0056 1B .byte (.L1046-.L1042)/2 13817 0057 3A .byte (.L1040-.L1042)/2 13818 0058 3A .byte (.L1040-.L1042)/2 13819 0059 3A .byte (.L1040-.L1042)/2 13820 005a 22 .byte (.L1045-.L1042)/2 13821 005b 3A .byte (.L1040-.L1042)/2 13822 005c 3A .byte (.L1040-.L1042)/2 13823 005d 3A .byte (.L1040-.L1042)/2 13824 005e 2E .byte (.L1044-.L1042)/2 13825 005f 3A .byte (.L1040-.L1042)/2 13826 0060 3A .byte (.L1040-.L1042)/2 13827 0061 3A .byte (.L1040-.L1042)/2 13828 0062 32 .byte (.L1043-.L1042)/2 13829 0063 3A .byte (.L1040-.L1042)/2 13830 0064 3A .byte (.L1040-.L1042)/2 13831 0065 3A .byte (.L1040-.L1042)/2 ARM GAS /tmp/ccodHXtm.s page 445 13832 0066 36 .byte (.L1041-.L1042)/2 13833 .LVL1033: 13834 0067 00 .p2align 1 13835 .L1036: 2334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13836 .loc 1 2334 7 view .LVU4094 13837 0068 0268 ldr r2, [r0] 13838 006a D368 ldr r3, [r2, #12] 13839 006c 23F00403 bic r3, r3, #4 13840 0070 D360 str r3, [r2, #12] 2335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13841 .loc 1 2335 7 view .LVU4095 2357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13842 .loc 1 2357 3 view .LVU4096 13843 0072 D8E7 b .L1038 13844 .L1035: 2341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13845 .loc 1 2341 7 view .LVU4097 13846 0074 0268 ldr r2, [r0] 13847 0076 D368 ldr r3, [r2, #12] 13848 0078 23F00803 bic r3, r3, #8 13849 007c D360 str r3, [r2, #12] 2342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13850 .loc 1 2342 7 view .LVU4098 2357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13851 .loc 1 2357 3 view .LVU4099 13852 007e D2E7 b .L1038 13853 .L1033: 2348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 13854 .loc 1 2348 7 view .LVU4100 13855 0080 0268 ldr r2, [r0] 13856 0082 D368 ldr r3, [r2, #12] 13857 0084 23F01003 bic r3, r3, #16 13858 0088 D360 str r3, [r2, #12] 2349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13859 .loc 1 2349 7 view .LVU4101 2357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13860 .loc 1 2357 3 view .LVU4102 13861 008a CCE7 b .L1038 13862 .LVL1034: 13863 .L1046: 2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13864 .loc 1 2366 5 is_stmt 0 discriminator 1 view .LVU4103 13865 008c 0123 movs r3, #1 13866 008e 85F83E30 strb r3, [r5, #62] 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13867 .loc 1 2367 5 is_stmt 1 view .LVU4104 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13868 .loc 1 2367 5 is_stmt 0 discriminator 1 view .LVU4105 13869 0092 85F84430 strb r3, [r5, #68] 13870 0096 0020 movs r0, #0 13871 0098 26E0 b .L1032 13872 .L1045: 2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13873 .loc 1 2366 5 discriminator 3 view .LVU4106 13874 009a 0123 movs r3, #1 13875 009c 85F83F30 strb r3, [r5, #63] ARM GAS /tmp/ccodHXtm.s page 446 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13876 .loc 1 2367 5 is_stmt 1 view .LVU4107 13877 .L1047: 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13878 .loc 1 2367 5 is_stmt 0 discriminator 2 view .LVU4108 13879 00a0 042C cmp r4, #4 13880 00a2 16D0 beq .L1052 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13881 .loc 1 2367 5 discriminator 4 view .LVU4109 13882 00a4 082C cmp r4, #8 13883 00a6 19D0 beq .L1053 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13884 .loc 1 2367 5 discriminator 7 view .LVU4110 13885 00a8 0123 movs r3, #1 13886 00aa 85F84730 strb r3, [r5, #71] 13887 00ae 0020 movs r0, #0 13888 00b0 1AE0 b .L1032 13889 .L1044: 2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13890 .loc 1 2366 5 discriminator 6 view .LVU4111 13891 00b2 0123 movs r3, #1 13892 00b4 85F84030 strb r3, [r5, #64] 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13893 .loc 1 2367 5 is_stmt 1 view .LVU4112 13894 00b8 F2E7 b .L1047 13895 .L1043: 2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13896 .loc 1 2366 5 is_stmt 0 discriminator 9 view .LVU4113 13897 00ba 0123 movs r3, #1 13898 00bc 85F84130 strb r3, [r5, #65] 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13899 .loc 1 2367 5 is_stmt 1 view .LVU4114 13900 00c0 EEE7 b .L1047 13901 .L1041: 2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13902 .loc 1 2366 5 is_stmt 0 discriminator 12 view .LVU4115 13903 00c2 0123 movs r3, #1 13904 00c4 85F84230 strb r3, [r5, #66] 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13905 .loc 1 2367 5 is_stmt 1 view .LVU4116 13906 00c8 EAE7 b .L1047 13907 .L1040: 2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 13908 .loc 1 2366 5 is_stmt 0 discriminator 13 view .LVU4117 13909 00ca 0123 movs r3, #1 13910 00cc 85F84330 strb r3, [r5, #67] 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13911 .loc 1 2367 5 is_stmt 1 view .LVU4118 13912 00d0 E6E7 b .L1047 13913 .L1052: 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13914 .loc 1 2367 5 is_stmt 0 discriminator 3 view .LVU4119 13915 00d2 0123 movs r3, #1 13916 00d4 85F84530 strb r3, [r5, #69] 13917 00d8 0020 movs r0, #0 13918 00da 05E0 b .L1032 13919 .L1053: ARM GAS /tmp/ccodHXtm.s page 447 2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13920 .loc 1 2367 5 discriminator 6 view .LVU4120 13921 00dc 0123 movs r3, #1 13922 00de 85F84630 strb r3, [r5, #70] 13923 00e2 0020 movs r0, #0 13924 00e4 00E0 b .L1032 13925 .LVL1035: 13926 .L1050: 2322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 13927 .loc 1 2322 3 view .LVU4121 13928 00e6 0120 movs r0, #1 13929 .LVL1036: 13930 .L1032: 2371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 13931 .loc 1 2371 3 is_stmt 1 view .LVU4122 2372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13932 .loc 1 2372 1 is_stmt 0 view .LVU4123 13933 00e8 38BD pop {r3, r4, r5, pc} 2372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13934 .loc 1 2372 1 view .LVU4124 13935 .cfi_endproc 13936 .LFE366: 13938 .section .text.HAL_TIM_IC_Start_DMA,"ax",%progbits 13939 .align 1 13940 .global HAL_TIM_IC_Start_DMA 13941 .syntax unified 13942 .thumb 13943 .thumb_func 13945 HAL_TIM_IC_Start_DMA: 13946 .LVL1037: 13947 .LFB367: 2388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 13948 .loc 1 2388 1 is_stmt 1 view -0 13949 .cfi_startproc 13950 @ args = 0, pretend = 0, frame = 0 13951 @ frame_needed = 0, uses_anonymous_args = 0 2388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 13952 .loc 1 2388 1 is_stmt 0 view .LVU4126 13953 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr} 13954 .LCFI101: 13955 .cfi_def_cfa_offset 24 13956 .cfi_offset 4, -24 13957 .cfi_offset 5, -20 13958 .cfi_offset 6, -16 13959 .cfi_offset 7, -12 13960 .cfi_offset 8, -8 13961 .cfi_offset 14, -4 13962 0004 0546 mov r5, r0 13963 0006 0C46 mov r4, r1 13964 0008 1646 mov r6, r2 13965 000a 1F46 mov r7, r3 2389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 13966 .loc 1 2389 3 is_stmt 1 view .LVU4127 13967 .LVL1038: 2390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 13968 .loc 1 2390 3 view .LVU4128 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); ARM GAS /tmp/ccodHXtm.s page 448 13969 .loc 1 2392 3 view .LVU4129 13970 000c 1029 cmp r1, #16 13971 000e 44D8 bhi .L1055 13972 0010 DFE801F0 tbb [pc, r1] 13973 .LVL1039: 13974 .L1057: 13975 0014 09 .byte (.L1061-.L1057)/2 13976 0015 43 .byte (.L1055-.L1057)/2 13977 0016 43 .byte (.L1055-.L1057)/2 13978 0017 43 .byte (.L1055-.L1057)/2 13979 0018 33 .byte (.L1060-.L1057)/2 13980 0019 43 .byte (.L1055-.L1057)/2 13981 001a 43 .byte (.L1055-.L1057)/2 13982 001b 43 .byte (.L1055-.L1057)/2 13983 001c 37 .byte (.L1059-.L1057)/2 13984 001d 43 .byte (.L1055-.L1057)/2 13985 001e 43 .byte (.L1055-.L1057)/2 13986 001f 43 .byte (.L1055-.L1057)/2 13987 0020 3B .byte (.L1058-.L1057)/2 13988 0021 43 .byte (.L1055-.L1057)/2 13989 0022 43 .byte (.L1055-.L1057)/2 13990 0023 43 .byte (.L1055-.L1057)/2 13991 0024 3F .byte (.L1056-.L1057)/2 13992 0025 00 .p2align 1 13993 .L1061: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13994 .loc 1 2392 47 is_stmt 0 discriminator 1 view .LVU4130 13995 0026 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 13996 .LVL1040: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 13997 .loc 1 2392 47 discriminator 1 view .LVU4131 13998 002a C0B2 uxtb r0, r0 13999 .LVL1041: 14000 .L1062: 2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14001 .loc 1 2393 3 is_stmt 1 view .LVU4132 2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14002 .loc 1 2393 61 is_stmt 0 view .LVU4133 14003 002c 002C cmp r4, #0 14004 002e 38D1 bne .L1063 2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14005 .loc 1 2393 61 discriminator 1 view .LVU4134 14006 0030 95F84480 ldrb r8, [r5, #68] @ zero_extendqisi2 14007 0034 5FFA88F8 uxtb r8, r8 14008 .L1064: 14009 .LVL1042: 2396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_CC_INSTANCE(htim->Instance)); 14010 .loc 1 2396 3 is_stmt 1 view .LVU4135 2397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14011 .loc 1 2397 3 view .LVU4136 2400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_state == HAL_TIM_CHANNEL_STATE_BUSY)) 14012 .loc 1 2400 3 view .LVU4137 2400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_state == HAL_TIM_CHANNEL_STATE_BUSY)) 14013 .loc 1 2400 6 is_stmt 0 view .LVU4138 14014 0038 0228 cmp r0, #2 14015 003a 00F00E81 beq .L1067 2401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccodHXtm.s page 449 14016 .loc 1 2401 7 view .LVU4139 14017 003e B8F1020F cmp r8, #2 14018 0042 00F00781 beq .L1087 2405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_state == HAL_TIM_CHANNEL_STATE_READY)) 14019 .loc 1 2405 8 is_stmt 1 view .LVU4140 2405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_state == HAL_TIM_CHANNEL_STATE_READY)) 14020 .loc 1 2405 11 is_stmt 0 view .LVU4141 14021 0046 0128 cmp r0, #1 14022 0048 40F00681 bne .L1088 2406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14023 .loc 1 2406 12 view .LVU4142 14024 004c B8F1010F cmp r8, #1 14025 0050 40F00381 bne .L1067 2408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14026 .loc 1 2408 5 is_stmt 1 view .LVU4143 2408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14027 .loc 1 2408 8 is_stmt 0 view .LVU4144 14028 0054 002E cmp r6, #0 14029 0056 00F00281 beq .L1089 2408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14030 .loc 1 2408 25 discriminator 1 view .LVU4145 14031 005a 002F cmp r7, #0 14032 005c 00F00181 beq .L1090 2414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 14033 .loc 1 2414 7 is_stmt 1 view .LVU4146 14034 0060 102C cmp r4, #16 14035 0062 5DD8 bhi .L1068 14036 0064 DFE804F0 tbb [pc, r4] 14037 .L1070: 14038 0068 30 .byte (.L1074-.L1070)/2 14039 0069 5C .byte (.L1068-.L1070)/2 14040 006a 5C .byte (.L1068-.L1070)/2 14041 006b 5C .byte (.L1068-.L1070)/2 14042 006c 36 .byte (.L1073-.L1070)/2 14043 006d 5C .byte (.L1068-.L1070)/2 14044 006e 5C .byte (.L1068-.L1070)/2 14045 006f 5C .byte (.L1068-.L1070)/2 14046 0070 50 .byte (.L1072-.L1070)/2 14047 0071 5C .byte (.L1068-.L1070)/2 14048 0072 5C .byte (.L1068-.L1070)/2 14049 0073 5C .byte (.L1068-.L1070)/2 14050 0074 54 .byte (.L1071-.L1070)/2 14051 0075 5C .byte (.L1068-.L1070)/2 14052 0076 5C .byte (.L1068-.L1070)/2 14053 0077 5C .byte (.L1068-.L1070)/2 14054 0078 58 .byte (.L1069-.L1070)/2 14055 .LVL1043: 14056 0079 00 .p2align 1 14057 .L1060: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14058 .loc 1 2392 47 is_stmt 0 discriminator 4 view .LVU4147 14059 007a 90F83F00 ldrb r0, [r0, #63] @ zero_extendqisi2 14060 .LVL1044: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14061 .loc 1 2392 47 discriminator 4 view .LVU4148 14062 007e C0B2 uxtb r0, r0 14063 0080 D4E7 b .L1062 ARM GAS /tmp/ccodHXtm.s page 450 14064 .LVL1045: 14065 .L1059: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14066 .loc 1 2392 47 discriminator 7 view .LVU4149 14067 0082 90F84000 ldrb r0, [r0, #64] @ zero_extendqisi2 14068 .LVL1046: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14069 .loc 1 2392 47 discriminator 7 view .LVU4150 14070 0086 C0B2 uxtb r0, r0 14071 0088 D0E7 b .L1062 14072 .LVL1047: 14073 .L1058: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14074 .loc 1 2392 47 discriminator 10 view .LVU4151 14075 008a 90F84110 ldrb r1, [r0, #65] @ zero_extendqisi2 14076 .LVL1048: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14077 .loc 1 2392 47 discriminator 10 view .LVU4152 14078 008e C8B2 uxtb r0, r1 14079 .LVL1049: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14080 .loc 1 2392 47 discriminator 10 view .LVU4153 14081 0090 CCE7 b .L1062 14082 .LVL1050: 14083 .L1056: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14084 .loc 1 2392 47 discriminator 13 view .LVU4154 14085 0092 90F84210 ldrb r1, [r0, #66] @ zero_extendqisi2 14086 .LVL1051: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14087 .loc 1 2392 47 discriminator 13 view .LVU4155 14088 0096 C8B2 uxtb r0, r1 14089 .LVL1052: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14090 .loc 1 2392 47 discriminator 13 view .LVU4156 14091 0098 C8E7 b .L1062 14092 .LVL1053: 14093 .L1055: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14094 .loc 1 2392 47 discriminator 14 view .LVU4157 14095 009a 90F84310 ldrb r1, [r0, #67] @ zero_extendqisi2 14096 .LVL1054: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14097 .loc 1 2392 47 discriminator 14 view .LVU4158 14098 009e C8B2 uxtb r0, r1 14099 .LVL1055: 2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); 14100 .loc 1 2392 47 discriminator 14 view .LVU4159 14101 00a0 C4E7 b .L1062 14102 .LVL1056: 14103 .L1063: 2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14104 .loc 1 2393 61 discriminator 2 view .LVU4160 14105 00a2 042C cmp r4, #4 14106 00a4 06D0 beq .L1099 2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14107 .loc 1 2393 61 discriminator 5 view .LVU4161 ARM GAS /tmp/ccodHXtm.s page 451 14108 00a6 082C cmp r4, #8 14109 00a8 09D0 beq .L1100 2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14110 .loc 1 2393 61 discriminator 8 view .LVU4162 14111 00aa 95F84780 ldrb r8, [r5, #71] @ zero_extendqisi2 14112 00ae 5FFA88F8 uxtb r8, r8 14113 00b2 C1E7 b .L1064 14114 .L1099: 2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14115 .loc 1 2393 61 discriminator 4 view .LVU4163 14116 00b4 95F84580 ldrb r8, [r5, #69] @ zero_extendqisi2 14117 00b8 5FFA88F8 uxtb r8, r8 14118 00bc BCE7 b .L1064 14119 .L1100: 2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14120 .loc 1 2393 61 discriminator 7 view .LVU4164 14121 00be 95F84680 ldrb r8, [r5, #70] @ zero_extendqisi2 14122 00c2 5FFA88F8 uxtb r8, r8 14123 00c6 B7E7 b .L1064 14124 .LVL1057: 14125 .L1074: 2414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 14126 .loc 1 2414 7 discriminator 1 view .LVU4165 14127 00c8 0223 movs r3, #2 14128 00ca 85F83E30 strb r3, [r5, #62] 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14129 .loc 1 2415 7 is_stmt 1 view .LVU4166 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14130 .loc 1 2415 7 is_stmt 0 discriminator 1 view .LVU4167 14131 00ce 85F84430 strb r3, [r5, #68] 14132 00d2 09E0 b .L1075 14133 .L1073: 2414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 14134 .loc 1 2414 7 discriminator 3 view .LVU4168 14135 00d4 0223 movs r3, #2 14136 00d6 85F83F30 strb r3, [r5, #63] 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14137 .loc 1 2415 7 is_stmt 1 view .LVU4169 14138 .L1076: 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14139 .loc 1 2415 7 is_stmt 0 discriminator 2 view .LVU4170 14140 00da 042C cmp r4, #4 14141 00dc 24D0 beq .L1101 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14142 .loc 1 2415 7 discriminator 4 view .LVU4171 14143 00de 082C cmp r4, #8 14144 00e0 26D0 beq .L1102 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14145 .loc 1 2415 7 discriminator 7 view .LVU4172 14146 00e2 0223 movs r3, #2 14147 00e4 85F84730 strb r3, [r5, #71] 14148 .L1075: 2424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14149 .loc 1 2424 3 is_stmt 1 view .LVU4173 14150 00e8 0122 movs r2, #1 14151 .LVL1058: 2424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 452 14152 .loc 1 2424 3 is_stmt 0 view .LVU4174 14153 00ea 2146 mov r1, r4 14154 00ec 2868 ldr r0, [r5] 14155 .LVL1059: 2424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14156 .loc 1 2424 3 view .LVU4175 14157 00ee FFF7FEFF bl TIM_CCxChannelCmd 14158 .LVL1060: 2426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14159 .loc 1 2426 3 is_stmt 1 view .LVU4176 14160 00f2 0C2C cmp r4, #12 14161 00f4 39D8 bhi .L1079 14162 00f6 DFE804F0 tbb [pc, r4] 14163 .L1081: 14164 00fa 1F .byte (.L1084-.L1081)/2 14165 00fb 38 .byte (.L1079-.L1081)/2 14166 00fc 38 .byte (.L1079-.L1081)/2 14167 00fd 38 .byte (.L1079-.L1081)/2 14168 00fe 55 .byte (.L1083-.L1081)/2 14169 00ff 38 .byte (.L1079-.L1081)/2 14170 0100 38 .byte (.L1079-.L1081)/2 14171 0101 38 .byte (.L1079-.L1081)/2 14172 0102 6E .byte (.L1082-.L1081)/2 14173 0103 38 .byte (.L1079-.L1081)/2 14174 0104 38 .byte (.L1079-.L1081)/2 14175 0105 38 .byte (.L1079-.L1081)/2 14176 0106 87 .byte (.L1080-.L1081)/2 14177 .LVL1061: 14178 0107 00 .p2align 1 14179 .L1072: 2414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 14180 .loc 1 2414 7 is_stmt 0 discriminator 6 view .LVU4177 14181 0108 0223 movs r3, #2 14182 010a 85F84030 strb r3, [r5, #64] 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14183 .loc 1 2415 7 is_stmt 1 view .LVU4178 14184 010e E4E7 b .L1076 14185 .L1071: 2414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 14186 .loc 1 2414 7 is_stmt 0 discriminator 9 view .LVU4179 14187 0110 0223 movs r3, #2 14188 0112 85F84130 strb r3, [r5, #65] 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14189 .loc 1 2415 7 is_stmt 1 view .LVU4180 14190 0116 E0E7 b .L1076 14191 .L1069: 2414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 14192 .loc 1 2414 7 is_stmt 0 discriminator 12 view .LVU4181 14193 0118 0223 movs r3, #2 14194 011a 85F84230 strb r3, [r5, #66] 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14195 .loc 1 2415 7 is_stmt 1 view .LVU4182 14196 011e DCE7 b .L1076 14197 .L1068: 2414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY); 14198 .loc 1 2414 7 is_stmt 0 discriminator 13 view .LVU4183 14199 0120 0223 movs r3, #2 ARM GAS /tmp/ccodHXtm.s page 453 14200 0122 85F84330 strb r3, [r5, #67] 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14201 .loc 1 2415 7 is_stmt 1 view .LVU4184 14202 0126 D8E7 b .L1076 14203 .L1101: 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14204 .loc 1 2415 7 is_stmt 0 discriminator 3 view .LVU4185 14205 0128 0223 movs r3, #2 14206 012a 85F84530 strb r3, [r5, #69] 14207 012e DBE7 b .L1075 14208 .L1102: 2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14209 .loc 1 2415 7 discriminator 6 view .LVU4186 14210 0130 0223 movs r3, #2 14211 0132 85F84630 strb r3, [r5, #70] 14212 0136 D7E7 b .L1075 14213 .LVL1062: 14214 .L1084: 2431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14215 .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; 14216 .loc 1 2431 17 is_stmt 0 view .LVU4188 14217 0138 6B6A ldr r3, [r5, #36] 2431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14218 .loc 1 2431 52 view .LVU4189 14219 013a 514A ldr r2, .L1103 14220 013c DA62 str r2, [r3, #44] 2432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14221 .loc 1 2432 7 is_stmt 1 view .LVU4190 2432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14222 .loc 1 2432 17 is_stmt 0 view .LVU4191 14223 013e 6B6A ldr r3, [r5, #36] 2432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14224 .loc 1 2432 56 view .LVU4192 14225 0140 504A ldr r2, .L1103+4 14226 0142 1A63 str r2, [r3, #48] 2435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14227 .loc 1 2435 7 is_stmt 1 view .LVU4193 2435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14228 .loc 1 2435 17 is_stmt 0 view .LVU4194 14229 0144 6B6A ldr r3, [r5, #36] 2435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14230 .loc 1 2435 53 view .LVU4195 14231 0146 504A ldr r2, .L1103+8 14232 0148 5A63 str r2, [r3, #52] 2438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14233 .loc 1 2438 7 is_stmt 1 view .LVU4196 2438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14234 .loc 1 2438 71 is_stmt 0 view .LVU4197 14235 014a 2968 ldr r1, [r5] 2438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14236 .loc 1 2438 11 view .LVU4198 14237 014c 3B46 mov r3, r7 14238 014e 3246 mov r2, r6 14239 0150 3431 adds r1, r1, #52 14240 0152 686A ldr r0, [r5, #36] 14241 0154 FFF7FEFF bl HAL_DMA_Start_IT ARM GAS /tmp/ccodHXtm.s page 454 14242 .LVL1063: 2438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14243 .loc 1 2438 10 discriminator 1 view .LVU4199 14244 0158 0028 cmp r0, #0 14245 015a 40F08480 bne .L1091 2445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14246 .loc 1 2445 7 is_stmt 1 view .LVU4200 14247 015e 2A68 ldr r2, [r5] 14248 0160 D368 ldr r3, [r2, #12] 14249 0162 43F40073 orr r3, r3, #512 14250 0166 D360 str r3, [r2, #12] 2446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14251 .loc 1 2446 7 view .LVU4201 2389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 14252 .loc 1 2389 21 is_stmt 0 view .LVU4202 14253 0168 8046 mov r8, r0 14254 .LVL1064: 14255 .L1079: 2518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14256 .loc 1 2518 3 is_stmt 1 view .LVU4203 2518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14257 .loc 1 2518 7 is_stmt 0 view .LVU4204 14258 016a 2B68 ldr r3, [r5] 2518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14259 .loc 1 2518 6 view .LVU4205 14260 016c 474A ldr r2, .L1103+12 14261 016e 9342 cmp r3, r2 14262 0170 62D0 beq .L1085 2518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14263 .loc 1 2518 7 discriminator 1 view .LVU4206 14264 0172 B3F1804F cmp r3, #1073741824 14265 0176 5FD0 beq .L1085 2518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14266 .loc 1 2518 7 discriminator 2 view .LVU4207 14267 0178 A2F59432 sub r2, r2, #75776 14268 017c 9342 cmp r3, r2 14269 017e 5BD0 beq .L1085 2518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14270 .loc 1 2518 7 discriminator 3 view .LVU4208 14271 0180 02F58062 add r2, r2, #1024 14272 0184 9342 cmp r3, r2 14273 0186 57D0 beq .L1085 2518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14274 .loc 1 2518 7 discriminator 4 view .LVU4209 14275 0188 02F59632 add r2, r2, #76800 14276 018c 9342 cmp r3, r2 14277 018e 53D0 beq .L1085 2518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14278 .loc 1 2518 7 discriminator 5 view .LVU4210 14279 0190 02F54062 add r2, r2, #3072 14280 0194 9342 cmp r3, r2 14281 0196 4FD0 beq .L1085 2528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14282 .loc 1 2528 5 is_stmt 1 view .LVU4211 14283 0198 1A68 ldr r2, [r3] 14284 019a 42F00102 orr r2, r2, #1 14285 019e 1A60 str r2, [r3] ARM GAS /tmp/ccodHXtm.s page 455 2532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14286 .loc 1 2532 10 is_stmt 0 view .LVU4212 14287 01a0 4046 mov r0, r8 14288 01a2 5AE0 b .L1067 14289 .LVL1065: 14290 .L1083: 2452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14291 .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; 14292 .loc 1 2452 17 is_stmt 0 view .LVU4214 14293 01a4 AB6A ldr r3, [r5, #40] 2452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14294 .loc 1 2452 52 view .LVU4215 14295 01a6 364A ldr r2, .L1103 14296 01a8 DA62 str r2, [r3, #44] 2453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14297 .loc 1 2453 7 is_stmt 1 view .LVU4216 2453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14298 .loc 1 2453 17 is_stmt 0 view .LVU4217 14299 01aa AB6A ldr r3, [r5, #40] 2453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14300 .loc 1 2453 56 view .LVU4218 14301 01ac 354A ldr r2, .L1103+4 14302 01ae 1A63 str r2, [r3, #48] 2456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14303 .loc 1 2456 7 is_stmt 1 view .LVU4219 2456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14304 .loc 1 2456 17 is_stmt 0 view .LVU4220 14305 01b0 AB6A ldr r3, [r5, #40] 2456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14306 .loc 1 2456 53 view .LVU4221 14307 01b2 354A ldr r2, .L1103+8 14308 01b4 5A63 str r2, [r3, #52] 2459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14309 .loc 1 2459 7 is_stmt 1 view .LVU4222 2459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14310 .loc 1 2459 71 is_stmt 0 view .LVU4223 14311 01b6 2968 ldr r1, [r5] 2459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14312 .loc 1 2459 11 view .LVU4224 14313 01b8 3B46 mov r3, r7 14314 01ba 3246 mov r2, r6 14315 01bc 3831 adds r1, r1, #56 14316 01be A86A ldr r0, [r5, #40] 14317 01c0 FFF7FEFF bl HAL_DMA_Start_IT 14318 .LVL1066: 2459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14319 .loc 1 2459 10 discriminator 1 view .LVU4225 14320 01c4 0028 cmp r0, #0 14321 01c6 50D1 bne .L1092 2466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14322 .loc 1 2466 7 is_stmt 1 view .LVU4226 14323 01c8 2A68 ldr r2, [r5] 14324 01ca D368 ldr r3, [r2, #12] 14325 01cc 43F48063 orr r3, r3, #1024 14326 01d0 D360 str r3, [r2, #12] 2467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/ccodHXtm.s page 456 14327 .loc 1 2467 7 view .LVU4227 2389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 14328 .loc 1 2389 21 is_stmt 0 view .LVU4228 14329 01d2 8046 mov r8, r0 14330 .LVL1067: 2467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14331 .loc 1 2467 7 view .LVU4229 14332 01d4 C9E7 b .L1079 14333 .LVL1068: 14334 .L1082: 2473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14335 .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; 14336 .loc 1 2473 17 is_stmt 0 view .LVU4231 14337 01d6 EB6A ldr r3, [r5, #44] 2473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14338 .loc 1 2473 52 view .LVU4232 14339 01d8 294A ldr r2, .L1103 14340 01da DA62 str r2, [r3, #44] 2474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14341 .loc 1 2474 7 is_stmt 1 view .LVU4233 2474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14342 .loc 1 2474 17 is_stmt 0 view .LVU4234 14343 01dc EB6A ldr r3, [r5, #44] 2474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14344 .loc 1 2474 56 view .LVU4235 14345 01de 294A ldr r2, .L1103+4 14346 01e0 1A63 str r2, [r3, #48] 2477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14347 .loc 1 2477 7 is_stmt 1 view .LVU4236 2477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14348 .loc 1 2477 17 is_stmt 0 view .LVU4237 14349 01e2 EB6A ldr r3, [r5, #44] 2477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14350 .loc 1 2477 53 view .LVU4238 14351 01e4 284A ldr r2, .L1103+8 14352 01e6 5A63 str r2, [r3, #52] 2480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14353 .loc 1 2480 7 is_stmt 1 view .LVU4239 2480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14354 .loc 1 2480 71 is_stmt 0 view .LVU4240 14355 01e8 2968 ldr r1, [r5] 2480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14356 .loc 1 2480 11 view .LVU4241 14357 01ea 3B46 mov r3, r7 14358 01ec 3246 mov r2, r6 14359 01ee 3C31 adds r1, r1, #60 14360 01f0 E86A ldr r0, [r5, #44] 14361 01f2 FFF7FEFF bl HAL_DMA_Start_IT 14362 .LVL1069: 2480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14363 .loc 1 2480 10 discriminator 1 view .LVU4242 14364 01f6 0028 cmp r0, #0 14365 01f8 39D1 bne .L1093 2487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14366 .loc 1 2487 7 is_stmt 1 view .LVU4243 14367 01fa 2A68 ldr r2, [r5] ARM GAS /tmp/ccodHXtm.s page 457 14368 01fc D368 ldr r3, [r2, #12] 14369 01fe 43F40063 orr r3, r3, #2048 14370 0202 D360 str r3, [r2, #12] 2488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14371 .loc 1 2488 7 view .LVU4244 2389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 14372 .loc 1 2389 21 is_stmt 0 view .LVU4245 14373 0204 8046 mov r8, r0 14374 .LVL1070: 2488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14375 .loc 1 2488 7 view .LVU4246 14376 0206 B0E7 b .L1079 14377 .LVL1071: 14378 .L1080: 2494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14379 .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; 14380 .loc 1 2494 17 is_stmt 0 view .LVU4248 14381 0208 2B6B ldr r3, [r5, #48] 2494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 14382 .loc 1 2494 52 view .LVU4249 14383 020a 1D4A ldr r2, .L1103 14384 020c DA62 str r2, [r3, #44] 2495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14385 .loc 1 2495 7 is_stmt 1 view .LVU4250 2495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14386 .loc 1 2495 17 is_stmt 0 view .LVU4251 14387 020e 2B6B ldr r3, [r5, #48] 2495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14388 .loc 1 2495 56 view .LVU4252 14389 0210 1C4A ldr r2, .L1103+4 14390 0212 1A63 str r2, [r3, #48] 2498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14391 .loc 1 2498 7 is_stmt 1 view .LVU4253 2498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14392 .loc 1 2498 17 is_stmt 0 view .LVU4254 14393 0214 2B6B ldr r3, [r5, #48] 2498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14394 .loc 1 2498 53 view .LVU4255 14395 0216 1C4A ldr r2, .L1103+8 14396 0218 5A63 str r2, [r3, #52] 2501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14397 .loc 1 2501 7 is_stmt 1 view .LVU4256 2501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14398 .loc 1 2501 71 is_stmt 0 view .LVU4257 14399 021a 2968 ldr r1, [r5] 2501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14400 .loc 1 2501 11 view .LVU4258 14401 021c 3B46 mov r3, r7 14402 021e 3246 mov r2, r6 14403 0220 4031 adds r1, r1, #64 14404 0222 286B ldr r0, [r5, #48] 14405 0224 FFF7FEFF bl HAL_DMA_Start_IT 14406 .LVL1072: 2501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 14407 .loc 1 2501 10 discriminator 1 view .LVU4259 14408 0228 18BB cbnz r0, .L1094 ARM GAS /tmp/ccodHXtm.s page 458 2508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14409 .loc 1 2508 7 is_stmt 1 view .LVU4260 14410 022a 2A68 ldr r2, [r5] 14411 022c D368 ldr r3, [r2, #12] 14412 022e 43F48053 orr r3, r3, #4096 14413 0232 D360 str r3, [r2, #12] 2509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14414 .loc 1 2509 7 view .LVU4261 2389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** uint32_t tmpsmcr; 14415 .loc 1 2389 21 is_stmt 0 view .LVU4262 14416 0234 8046 mov r8, r0 14417 .LVL1073: 2509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14418 .loc 1 2509 7 view .LVU4263 14419 0236 98E7 b .L1079 14420 .LVL1074: 14421 .L1085: 2520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 14422 .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)) 14423 .loc 1 2520 29 is_stmt 0 view .LVU4265 14424 0238 9968 ldr r1, [r3, #8] 2520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) 14425 .loc 1 2520 13 view .LVU4266 14426 023a 154A ldr r2, .L1103+16 14427 023c 0A40 ands r2, r2, r1 14428 .LVL1075: 2521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14429 .loc 1 2521 5 is_stmt 1 view .LVU4267 2521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14430 .loc 1 2521 8 is_stmt 0 view .LVU4268 14431 023e 062A cmp r2, #6 14432 0240 19D0 beq .L1095 2521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14433 .loc 1 2521 9 discriminator 1 view .LVU4269 14434 0242 B2F5803F cmp r2, #65536 14435 0246 18D0 beq .L1096 2523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14436 .loc 1 2523 7 is_stmt 1 view .LVU4270 14437 0248 1A68 ldr r2, [r3] 14438 .LVL1076: 2523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14439 .loc 1 2523 7 is_stmt 0 view .LVU4271 14440 024a 42F00102 orr r2, r2, #1 14441 024e 1A60 str r2, [r3] 2532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14442 .loc 1 2532 10 view .LVU4272 14443 0250 4046 mov r0, r8 14444 0252 02E0 b .L1067 14445 .LVL1077: 14446 .L1087: 2403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14447 .loc 1 2403 12 view .LVU4273 14448 0254 4046 mov r0, r8 14449 .LVL1078: 2403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14450 .loc 1 2403 12 view .LVU4274 ARM GAS /tmp/ccodHXtm.s page 459 14451 0256 00E0 b .L1067 14452 .LVL1079: 14453 .L1088: 2420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14454 .loc 1 2420 12 view .LVU4275 14455 0258 0120 movs r0, #1 14456 .LVL1080: 14457 .L1067: 2533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14458 .loc 1 2533 1 view .LVU4276 14459 025a BDE8F081 pop {r4, r5, r6, r7, r8, pc} 14460 .LVL1081: 14461 .L1089: 2410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14462 .loc 1 2410 14 view .LVU4277 14463 025e 4046 mov r0, r8 14464 .LVL1082: 2410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14465 .loc 1 2410 14 view .LVU4278 14466 0260 FBE7 b .L1067 14467 .LVL1083: 14468 .L1090: 2410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14469 .loc 1 2410 14 view .LVU4279 14470 0262 4046 mov r0, r8 14471 .LVL1084: 2410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14472 .loc 1 2410 14 view .LVU4280 14473 0264 F9E7 b .L1067 14474 .LVL1085: 14475 .L1091: 2442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14476 .loc 1 2442 16 view .LVU4281 14477 0266 4046 mov r0, r8 14478 0268 F7E7 b .L1067 14479 .L1092: 2463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14480 .loc 1 2463 16 view .LVU4282 14481 026a 4046 mov r0, r8 14482 026c F5E7 b .L1067 14483 .L1093: 2484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14484 .loc 1 2484 16 view .LVU4283 14485 026e 4046 mov r0, r8 14486 0270 F3E7 b .L1067 14487 .L1094: 2505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14488 .loc 1 2505 16 view .LVU4284 14489 0272 4046 mov r0, r8 14490 0274 F1E7 b .L1067 14491 .LVL1086: 14492 .L1095: 2532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14493 .loc 1 2532 10 view .LVU4285 14494 0276 4046 mov r0, r8 14495 0278 EFE7 b .L1067 14496 .L1096: ARM GAS /tmp/ccodHXtm.s page 460 14497 027a 4046 mov r0, r8 14498 027c EDE7 b .L1067 14499 .L1104: 14500 027e 00BF .align 2 14501 .L1103: 14502 0280 00000000 .word TIM_DMACaptureCplt 14503 0284 00000000 .word TIM_DMACaptureHalfCplt 14504 0288 00000000 .word TIM_DMAError 14505 028c 002C0140 .word 1073818624 14506 0290 07000100 .word 65543 14507 .cfi_endproc 14508 .LFE367: 14510 .section .text.HAL_TIM_IC_Stop_DMA,"ax",%progbits 14511 .align 1 14512 .global HAL_TIM_IC_Stop_DMA 14513 .syntax unified 14514 .thumb 14515 .thumb_func 14517 HAL_TIM_IC_Stop_DMA: 14518 .LVL1087: 14519 .LFB368: 2547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 14520 .loc 1 2547 1 is_stmt 1 view -0 14521 .cfi_startproc 14522 @ args = 0, pretend = 0, frame = 0 14523 @ frame_needed = 0, uses_anonymous_args = 0 2547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK; 14524 .loc 1 2547 1 is_stmt 0 view .LVU4287 14525 0000 38B5 push {r3, r4, r5, lr} 14526 .LCFI102: 14527 .cfi_def_cfa_offset 16 14528 .cfi_offset 3, -16 14529 .cfi_offset 4, -12 14530 .cfi_offset 5, -8 14531 .cfi_offset 14, -4 14532 0002 0446 mov r4, r0 14533 0004 0D46 mov r5, r1 2548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14534 .loc 1 2548 3 is_stmt 1 view .LVU4288 14535 .LVL1088: 2551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** assert_param(IS_TIM_DMA_CC_INSTANCE(htim->Instance)); 14536 .loc 1 2551 3 view .LVU4289 2552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14537 .loc 1 2552 3 view .LVU4290 2555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14538 .loc 1 2555 3 view .LVU4291 14539 0006 0022 movs r2, #0 14540 0008 0068 ldr r0, [r0] 14541 .LVL1089: 2555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14542 .loc 1 2555 3 is_stmt 0 view .LVU4292 14543 000a FFF7FEFF bl TIM_CCxChannelCmd 14544 .LVL1090: 2557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14545 .loc 1 2557 3 is_stmt 1 view .LVU4293 14546 000e 0C2D cmp r5, #12 14547 0010 74D8 bhi .L1124 ARM GAS /tmp/ccodHXtm.s page 461 14548 0012 DFE805F0 tbb [pc, r5] 14549 .L1108: 14550 0016 07 .byte (.L1111-.L1108)/2 14551 0017 73 .byte (.L1124-.L1108)/2 14552 0018 73 .byte (.L1124-.L1108)/2 14553 0019 73 .byte (.L1124-.L1108)/2 14554 001a 2B .byte (.L1110-.L1108)/2 14555 001b 73 .byte (.L1124-.L1108)/2 14556 001c 73 .byte (.L1124-.L1108)/2 14557 001d 73 .byte (.L1124-.L1108)/2 14558 001e 34 .byte (.L1109-.L1108)/2 14559 001f 73 .byte (.L1124-.L1108)/2 14560 0020 73 .byte (.L1124-.L1108)/2 14561 0021 73 .byte (.L1124-.L1108)/2 14562 0022 3D .byte (.L1107-.L1108)/2 14563 0023 00 .p2align 1 14564 .L1111: 2562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 14565 .loc 1 2562 7 view .LVU4294 14566 0024 2268 ldr r2, [r4] 14567 0026 D368 ldr r3, [r2, #12] 14568 0028 23F40073 bic r3, r3, #512 14569 002c D360 str r3, [r2, #12] 2563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14570 .loc 1 2563 7 view .LVU4295 2563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14571 .loc 1 2563 13 is_stmt 0 view .LVU4296 14572 002e 606A ldr r0, [r4, #36] 14573 0030 FFF7FEFF bl HAL_DMA_Abort_IT 14574 .LVL1091: 2564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14575 .loc 1 2564 7 is_stmt 1 view .LVU4297 2596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14576 .loc 1 2596 3 view .LVU4298 14577 .L1112: 2599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14578 .loc 1 2599 5 view .LVU4299 2599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14579 .loc 1 2599 5 view .LVU4300 14580 0034 2368 ldr r3, [r4] 14581 0036 196A ldr r1, [r3, #32] 14582 0038 41F21112 movw r2, #4369 14583 003c 1142 tst r1, r2 14584 003e 08D1 bne .L1113 2599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14585 .loc 1 2599 5 discriminator 1 view .LVU4301 14586 0040 196A ldr r1, [r3, #32] 14587 0042 44F24442 movw r2, #17476 14588 0046 1142 tst r1, r2 14589 0048 03D1 bne .L1113 2599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14590 .loc 1 2599 5 discriminator 3 view .LVU4302 14591 004a 1A68 ldr r2, [r3] 14592 004c 22F00102 bic r2, r2, #1 14593 0050 1A60 str r2, [r3] 14594 .L1113: 2599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 462 14595 .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); 14596 .loc 1 2602 5 view .LVU4304 14597 0052 102D cmp r5, #16 14598 0054 44D8 bhi .L1114 14599 0056 DFE805F0 tbb [pc, r5] 14600 .L1116: 14601 005a 24 .byte (.L1120-.L1116)/2 14602 005b 43 .byte (.L1114-.L1116)/2 14603 005c 43 .byte (.L1114-.L1116)/2 14604 005d 43 .byte (.L1114-.L1116)/2 14605 005e 2B .byte (.L1119-.L1116)/2 14606 005f 43 .byte (.L1114-.L1116)/2 14607 0060 43 .byte (.L1114-.L1116)/2 14608 0061 43 .byte (.L1114-.L1116)/2 14609 0062 37 .byte (.L1118-.L1116)/2 14610 0063 43 .byte (.L1114-.L1116)/2 14611 0064 43 .byte (.L1114-.L1116)/2 14612 0065 43 .byte (.L1114-.L1116)/2 14613 0066 3B .byte (.L1117-.L1116)/2 14614 0067 43 .byte (.L1114-.L1116)/2 14615 0068 43 .byte (.L1114-.L1116)/2 14616 0069 43 .byte (.L1114-.L1116)/2 14617 006a 3F .byte (.L1115-.L1116)/2 14618 006b 00 .p2align 1 14619 .L1110: 2570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 14620 .loc 1 2570 7 view .LVU4305 14621 006c 2268 ldr r2, [r4] 14622 006e D368 ldr r3, [r2, #12] 14623 0070 23F48063 bic r3, r3, #1024 14624 0074 D360 str r3, [r2, #12] 2571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14625 .loc 1 2571 7 view .LVU4306 2571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14626 .loc 1 2571 13 is_stmt 0 view .LVU4307 14627 0076 A06A ldr r0, [r4, #40] 14628 0078 FFF7FEFF bl HAL_DMA_Abort_IT 14629 .LVL1092: 2572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14630 .loc 1 2572 7 is_stmt 1 view .LVU4308 2596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14631 .loc 1 2596 3 view .LVU4309 14632 007c DAE7 b .L1112 14633 .L1109: 2578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]); 14634 .loc 1 2578 7 view .LVU4310 14635 007e 2268 ldr r2, [r4] 14636 0080 D368 ldr r3, [r2, #12] 14637 0082 23F40063 bic r3, r3, #2048 14638 0086 D360 str r3, [r2, #12] 2579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14639 .loc 1 2579 7 view .LVU4311 2579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14640 .loc 1 2579 13 is_stmt 0 view .LVU4312 14641 0088 E06A ldr r0, [r4, #44] 14642 008a FFF7FEFF bl HAL_DMA_Abort_IT ARM GAS /tmp/ccodHXtm.s page 463 14643 .LVL1093: 2580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14644 .loc 1 2580 7 is_stmt 1 view .LVU4313 2596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14645 .loc 1 2596 3 view .LVU4314 14646 008e D1E7 b .L1112 14647 .L1107: 2586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]); 14648 .loc 1 2586 7 view .LVU4315 14649 0090 2268 ldr r2, [r4] 14650 0092 D368 ldr r3, [r2, #12] 14651 0094 23F48053 bic r3, r3, #4096 14652 0098 D360 str r3, [r2, #12] 2587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14653 .loc 1 2587 7 view .LVU4316 2587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 14654 .loc 1 2587 13 is_stmt 0 view .LVU4317 14655 009a 206B ldr r0, [r4, #48] 14656 009c FFF7FEFF bl HAL_DMA_Abort_IT 14657 .LVL1094: 2588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14658 .loc 1 2588 7 is_stmt 1 view .LVU4318 2596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14659 .loc 1 2596 3 view .LVU4319 14660 00a0 C8E7 b .L1112 14661 .L1120: 2602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 14662 .loc 1 2602 5 is_stmt 0 discriminator 1 view .LVU4320 14663 00a2 0123 movs r3, #1 14664 00a4 84F83E30 strb r3, [r4, #62] 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14665 .loc 1 2603 5 is_stmt 1 view .LVU4321 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14666 .loc 1 2603 5 is_stmt 0 discriminator 1 view .LVU4322 14667 00a8 84F84430 strb r3, [r4, #68] 14668 00ac 0020 movs r0, #0 14669 00ae 26E0 b .L1106 14670 .L1119: 2602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 14671 .loc 1 2602 5 discriminator 3 view .LVU4323 14672 00b0 0123 movs r3, #1 14673 00b2 84F83F30 strb r3, [r4, #63] 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14674 .loc 1 2603 5 is_stmt 1 view .LVU4324 14675 .L1121: 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14676 .loc 1 2603 5 is_stmt 0 discriminator 2 view .LVU4325 14677 00b6 042D cmp r5, #4 14678 00b8 16D0 beq .L1126 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14679 .loc 1 2603 5 discriminator 4 view .LVU4326 14680 00ba 082D cmp r5, #8 14681 00bc 19D0 beq .L1127 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14682 .loc 1 2603 5 discriminator 7 view .LVU4327 14683 00be 0123 movs r3, #1 14684 00c0 84F84730 strb r3, [r4, #71] ARM GAS /tmp/ccodHXtm.s page 464 14685 00c4 0020 movs r0, #0 14686 00c6 1AE0 b .L1106 14687 .L1118: 2602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 14688 .loc 1 2602 5 discriminator 6 view .LVU4328 14689 00c8 0123 movs r3, #1 14690 00ca 84F84030 strb r3, [r4, #64] 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14691 .loc 1 2603 5 is_stmt 1 view .LVU4329 14692 00ce F2E7 b .L1121 14693 .L1117: 2602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 14694 .loc 1 2602 5 is_stmt 0 discriminator 9 view .LVU4330 14695 00d0 0123 movs r3, #1 14696 00d2 84F84130 strb r3, [r4, #65] 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14697 .loc 1 2603 5 is_stmt 1 view .LVU4331 14698 00d6 EEE7 b .L1121 14699 .L1115: 2602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 14700 .loc 1 2602 5 is_stmt 0 discriminator 12 view .LVU4332 14701 00d8 0123 movs r3, #1 14702 00da 84F84230 strb r3, [r4, #66] 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14703 .loc 1 2603 5 is_stmt 1 view .LVU4333 14704 00de EAE7 b .L1121 14705 .L1114: 2602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 14706 .loc 1 2602 5 is_stmt 0 discriminator 13 view .LVU4334 14707 00e0 0123 movs r3, #1 14708 00e2 84F84330 strb r3, [r4, #67] 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14709 .loc 1 2603 5 is_stmt 1 view .LVU4335 14710 00e6 E6E7 b .L1121 14711 .L1126: 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14712 .loc 1 2603 5 is_stmt 0 discriminator 3 view .LVU4336 14713 00e8 0123 movs r3, #1 14714 00ea 84F84530 strb r3, [r4, #69] 14715 00ee 0020 movs r0, #0 14716 00f0 05E0 b .L1106 14717 .L1127: 2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14718 .loc 1 2603 5 discriminator 6 view .LVU4337 14719 00f2 0123 movs r3, #1 14720 00f4 84F84630 strb r3, [r4, #70] 14721 00f8 0020 movs r0, #0 14722 00fa 00E0 b .L1106 14723 .L1124: 2557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14724 .loc 1 2557 3 view .LVU4338 14725 00fc 0120 movs r0, #1 14726 .L1106: 14727 .LVL1095: 2607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14728 .loc 1 2607 3 is_stmt 1 view .LVU4339 2608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** ARM GAS /tmp/ccodHXtm.s page 465 14729 .loc 1 2608 1 is_stmt 0 view .LVU4340 14730 00fe 38BD pop {r3, r4, r5, pc} 2608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /** 14731 .loc 1 2608 1 view .LVU4341 14732 .cfi_endproc 14733 .LFE368: 14735 .section .text.HAL_TIM_OnePulse_Start,"ax",%progbits 14736 .align 1 14737 .global HAL_TIM_OnePulse_Start 14738 .syntax unified 14739 .thumb 14740 .thumb_func 14742 HAL_TIM_OnePulse_Start: 14743 .LVL1096: 14744 .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); 14745 .loc 1 2801 1 is_stmt 1 view -0 14746 .cfi_startproc 14747 @ args = 0, pretend = 0, frame = 0 14748 @ 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); 14749 .loc 1 2801 1 is_stmt 0 view .LVU4343 14750 0000 10B5 push {r4, lr} 14751 .LCFI103: 14752 .cfi_def_cfa_offset 8 14753 .cfi_offset 4, -8 14754 .cfi_offset 14, -4 14755 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); 14756 .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); 14757 .loc 1 2802 31 is_stmt 0 view .LVU4345 14758 0004 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 14759 .LVL1097: 2802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 14760 .loc 1 2802 31 view .LVU4346 14761 0008 C0B2 uxtb r0, r0 14762 .LVL1098: 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 14763 .loc 1 2803 3 is_stmt 1 view .LVU4347 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 14764 .loc 1 2803 31 is_stmt 0 view .LVU4348 14765 000a 94F83F30 ldrb r3, [r4, #63] @ zero_extendqisi2 14766 .LVL1099: 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 14767 .loc 1 2804 3 is_stmt 1 view .LVU4349 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 14768 .loc 1 2804 31 is_stmt 0 view .LVU4350 14769 000e 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2 14770 .LVL1100: 2805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14771 .loc 1 2805 3 is_stmt 1 view .LVU4351 2805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14772 .loc 1 2805 31 is_stmt 0 view .LVU4352 14773 0012 94F84510 ldrb r1, [r4, #69] @ zero_extendqisi2 14774 .LVL1101: 2808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 466 14775 .loc 1 2808 3 is_stmt 1 view .LVU4353 2811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 14776 .loc 1 2811 3 view .LVU4354 2811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 14777 .loc 1 2811 6 is_stmt 0 view .LVU4355 14778 0016 0128 cmp r0, #1 14779 0018 38D1 bne .L1131 14780 001a DBB2 uxtb r3, r3 2811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 14781 .loc 1 2811 6 view .LVU4356 14782 001c D2B2 uxtb r2, r2 2811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 14783 .loc 1 2811 6 view .LVU4357 14784 001e C9B2 uxtb r1, r1 2812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 14785 .loc 1 2812 7 view .LVU4358 14786 0020 012B cmp r3, #1 14787 0022 34D1 bne .L1129 2813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 14788 .loc 1 2813 7 view .LVU4359 14789 0024 012A cmp r2, #1 14790 0026 33D1 bne .L1132 2814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14791 .loc 1 2814 7 view .LVU4360 14792 0028 0129 cmp r1, #1 14793 002a 01D0 beq .L1136 2816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14794 .loc 1 2816 12 view .LVU4361 14795 002c 1046 mov r0, r2 14796 .LVL1102: 2816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14797 .loc 1 2816 12 view .LVU4362 14798 002e 2EE0 b .L1129 14799 .LVL1103: 14800 .L1136: 2820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 14801 .loc 1 2820 3 is_stmt 1 view .LVU4363 14802 0030 0223 movs r3, #2 14803 .LVL1104: 2820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 14804 .loc 1 2820 3 is_stmt 0 view .LVU4364 14805 0032 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); 14806 .loc 1 2821 3 is_stmt 1 view .LVU4365 14807 0036 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); 14808 .loc 1 2822 3 view .LVU4366 14809 003a 84F84430 strb r3, [r4, #68] 2823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14810 .loc 1 2823 3 view .LVU4367 14811 003e 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); 14812 .loc 1 2834 3 view .LVU4368 14813 0042 0021 movs r1, #0 14814 .LVL1105: 2834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 14815 .loc 1 2834 3 is_stmt 0 view .LVU4369 ARM GAS /tmp/ccodHXtm.s page 467 14816 0044 2068 ldr r0, [r4] 14817 .LVL1106: 2834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 14818 .loc 1 2834 3 view .LVU4370 14819 0046 FFF7FEFF bl TIM_CCxChannelCmd 14820 .LVL1107: 2835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14821 .loc 1 2835 3 is_stmt 1 view .LVU4371 14822 004a 0122 movs r2, #1 14823 004c 0421 movs r1, #4 14824 004e 2068 ldr r0, [r4] 14825 0050 FFF7FEFF bl TIM_CCxChannelCmd 14826 .LVL1108: 2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14827 .loc 1 2837 3 view .LVU4372 2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14828 .loc 1 2837 7 is_stmt 0 view .LVU4373 14829 0054 2368 ldr r3, [r4] 14830 0056 0F4A ldr r2, .L1137 14831 0058 9342 cmp r3, r2 14832 005a 11D0 beq .L1130 2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14833 .loc 1 2837 7 discriminator 2 view .LVU4374 14834 005c 02F50062 add r2, r2, #2048 14835 0060 9342 cmp r3, r2 14836 0062 0DD0 beq .L1130 2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14837 .loc 1 2837 7 discriminator 4 view .LVU4375 14838 0064 02F54062 add r2, r2, #3072 14839 0068 9342 cmp r3, r2 14840 006a 09D0 beq .L1130 2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14841 .loc 1 2837 7 discriminator 6 view .LVU4376 14842 006c 02F58062 add r2, r2, #1024 14843 0070 9342 cmp r3, r2 14844 0072 05D0 beq .L1130 2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14845 .loc 1 2837 7 discriminator 8 view .LVU4377 14846 0074 02F58062 add r2, r2, #1024 14847 0078 9342 cmp r3, r2 14848 007a 01D0 beq .L1130 2844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14849 .loc 1 2844 10 view .LVU4378 14850 007c 0020 movs r0, #0 14851 007e 06E0 b .L1129 14852 .L1130: 2840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14853 .loc 1 2840 5 is_stmt 1 view .LVU4379 14854 0080 5A6C ldr r2, [r3, #68] 14855 0082 42F40042 orr r2, r2, #32768 14856 0086 5A64 str r2, [r3, #68] 2844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14857 .loc 1 2844 10 is_stmt 0 view .LVU4380 14858 0088 0020 movs r0, #0 14859 008a 00E0 b .L1129 14860 .LVL1109: 14861 .L1131: ARM GAS /tmp/ccodHXtm.s page 468 2816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14862 .loc 1 2816 12 view .LVU4381 14863 008c 0120 movs r0, #1 14864 .LVL1110: 14865 .L1129: 2845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14866 .loc 1 2845 1 view .LVU4382 14867 008e 10BD pop {r4, pc} 14868 .LVL1111: 14869 .L1132: 2816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14870 .loc 1 2816 12 view .LVU4383 14871 0090 1846 mov r0, r3 14872 .LVL1112: 2816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14873 .loc 1 2816 12 view .LVU4384 14874 0092 FCE7 b .L1129 14875 .L1138: 14876 .align 2 14877 .L1137: 14878 0094 002C0140 .word 1073818624 14879 .cfi_endproc 14880 .LFE373: 14882 .section .text.HAL_TIM_OnePulse_Stop,"ax",%progbits 14883 .align 1 14884 .global HAL_TIM_OnePulse_Stop 14885 .syntax unified 14886 .thumb 14887 .thumb_func 14889 HAL_TIM_OnePulse_Stop: 14890 .LVL1113: 14891 .LFB374: 2858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 14892 .loc 1 2858 1 is_stmt 1 view -0 14893 .cfi_startproc 14894 @ args = 0, pretend = 0, frame = 0 14895 @ frame_needed = 0, uses_anonymous_args = 0 2858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 14896 .loc 1 2858 1 is_stmt 0 view .LVU4386 14897 0000 10B5 push {r4, lr} 14898 .LCFI104: 14899 .cfi_def_cfa_offset 8 14900 .cfi_offset 4, -8 14901 .cfi_offset 14, -4 14902 0002 0446 mov r4, r0 2860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14903 .loc 1 2860 3 is_stmt 1 view .LVU4387 2868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 14904 .loc 1 2868 3 view .LVU4388 14905 0004 0022 movs r2, #0 14906 0006 1146 mov r1, r2 14907 .LVL1114: 2868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 14908 .loc 1 2868 3 is_stmt 0 view .LVU4389 14909 0008 0068 ldr r0, [r0] 14910 .LVL1115: 2868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); ARM GAS /tmp/ccodHXtm.s page 469 14911 .loc 1 2868 3 view .LVU4390 14912 000a FFF7FEFF bl TIM_CCxChannelCmd 14913 .LVL1116: 2869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14914 .loc 1 2869 3 is_stmt 1 view .LVU4391 14915 000e 0022 movs r2, #0 14916 0010 0421 movs r1, #4 14917 0012 2068 ldr r0, [r4] 14918 0014 FFF7FEFF bl TIM_CCxChannelCmd 14919 .LVL1117: 2871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14920 .loc 1 2871 3 view .LVU4392 2871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14921 .loc 1 2871 7 is_stmt 0 view .LVU4393 14922 0018 2368 ldr r3, [r4] 14923 001a 1D4A ldr r2, .L1144 14924 001c 9342 cmp r3, r2 14925 001e 0FD0 beq .L1140 2871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14926 .loc 1 2871 7 discriminator 2 view .LVU4394 14927 0020 02F50062 add r2, r2, #2048 14928 0024 9342 cmp r3, r2 14929 0026 0BD0 beq .L1140 2871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14930 .loc 1 2871 7 discriminator 4 view .LVU4395 14931 0028 02F54062 add r2, r2, #3072 14932 002c 9342 cmp r3, r2 14933 002e 07D0 beq .L1140 2871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14934 .loc 1 2871 7 discriminator 6 view .LVU4396 14935 0030 02F58062 add r2, r2, #1024 14936 0034 9342 cmp r3, r2 14937 0036 03D0 beq .L1140 2871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 14938 .loc 1 2871 7 discriminator 8 view .LVU4397 14939 0038 02F58062 add r2, r2, #1024 14940 003c 9342 cmp r3, r2 14941 003e 0DD1 bne .L1141 14942 .L1140: 2874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14943 .loc 1 2874 5 is_stmt 1 view .LVU4398 2874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14944 .loc 1 2874 5 view .LVU4399 14945 0040 196A ldr r1, [r3, #32] 14946 0042 41F21112 movw r2, #4369 14947 0046 1142 tst r1, r2 14948 0048 08D1 bne .L1141 2874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14949 .loc 1 2874 5 discriminator 1 view .LVU4400 14950 004a 196A ldr r1, [r3, #32] 14951 004c 44F24442 movw r2, #17476 14952 0050 1142 tst r1, r2 14953 0052 03D1 bne .L1141 2874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14954 .loc 1 2874 5 discriminator 3 view .LVU4401 14955 0054 5A6C ldr r2, [r3, #68] 14956 0056 22F40042 bic r2, r2, #32768 ARM GAS /tmp/ccodHXtm.s page 470 14957 005a 5A64 str r2, [r3, #68] 14958 .L1141: 2874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14959 .loc 1 2874 5 discriminator 5 view .LVU4402 2878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14960 .loc 1 2878 3 view .LVU4403 2878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14961 .loc 1 2878 3 view .LVU4404 14962 005c 2368 ldr r3, [r4] 14963 005e 196A ldr r1, [r3, #32] 14964 0060 41F21112 movw r2, #4369 14965 0064 1142 tst r1, r2 14966 0066 08D1 bne .L1142 2878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14967 .loc 1 2878 3 discriminator 1 view .LVU4405 14968 0068 196A ldr r1, [r3, #32] 14969 006a 44F24442 movw r2, #17476 14970 006e 1142 tst r1, r2 14971 0070 03D1 bne .L1142 2878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14972 .loc 1 2878 3 discriminator 3 view .LVU4406 14973 0072 1A68 ldr r2, [r3] 14974 0074 22F00102 bic r2, r2, #1 14975 0078 1A60 str r2, [r3] 14976 .L1142: 2878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14977 .loc 1 2878 3 discriminator 5 view .LVU4407 2881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 14978 .loc 1 2881 3 view .LVU4408 14979 007a 0123 movs r3, #1 14980 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); 14981 .loc 1 2882 3 view .LVU4409 14982 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); 14983 .loc 1 2883 3 view .LVU4410 14984 0084 84F84430 strb r3, [r4, #68] 2884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14985 .loc 1 2884 3 view .LVU4411 14986 0088 84F84530 strb r3, [r4, #69] 2887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 14987 .loc 1 2887 3 view .LVU4412 2888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14988 .loc 1 2888 1 is_stmt 0 view .LVU4413 14989 008c 0020 movs r0, #0 14990 008e 10BD pop {r4, pc} 14991 .LVL1118: 14992 .L1145: 2888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 14993 .loc 1 2888 1 view .LVU4414 14994 .align 2 14995 .L1144: 14996 0090 002C0140 .word 1073818624 14997 .cfi_endproc 14998 .LFE374: 15000 .section .text.HAL_TIM_OnePulse_Start_IT,"ax",%progbits 15001 .align 1 ARM GAS /tmp/ccodHXtm.s page 471 15002 .global HAL_TIM_OnePulse_Start_IT 15003 .syntax unified 15004 .thumb 15005 .thumb_func 15007 HAL_TIM_OnePulse_Start_IT: 15008 .LVL1119: 15009 .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); 15010 .loc 1 2901 1 is_stmt 1 view -0 15011 .cfi_startproc 15012 @ args = 0, pretend = 0, frame = 0 15013 @ 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); 15014 .loc 1 2901 1 is_stmt 0 view .LVU4416 15015 0000 10B5 push {r4, lr} 15016 .LCFI105: 15017 .cfi_def_cfa_offset 8 15018 .cfi_offset 4, -8 15019 .cfi_offset 14, -4 15020 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); 15021 .loc 1 2902 3 is_stmt 1 view .LVU4417 2902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 15022 .loc 1 2902 31 is_stmt 0 view .LVU4418 15023 0004 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 15024 .LVL1120: 2902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 15025 .loc 1 2902 31 view .LVU4419 15026 0008 C0B2 uxtb r0, r0 15027 .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 15028 .loc 1 2903 3 is_stmt 1 view .LVU4420 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 15029 .loc 1 2903 31 is_stmt 0 view .LVU4421 15030 000a 94F83F30 ldrb r3, [r4, #63] @ zero_extendqisi2 15031 .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 15032 .loc 1 2904 3 is_stmt 1 view .LVU4422 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 15033 .loc 1 2904 31 is_stmt 0 view .LVU4423 15034 000e 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2 15035 .LVL1123: 2905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15036 .loc 1 2905 3 is_stmt 1 view .LVU4424 2905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15037 .loc 1 2905 31 is_stmt 0 view .LVU4425 15038 0012 94F84510 ldrb r1, [r4, #69] @ zero_extendqisi2 15039 .LVL1124: 2908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15040 .loc 1 2908 3 is_stmt 1 view .LVU4426 2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 15041 .loc 1 2911 3 view .LVU4427 2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 15042 .loc 1 2911 6 is_stmt 0 view .LVU4428 15043 0016 0128 cmp r0, #1 15044 0018 43D1 bne .L1149 15045 001a DBB2 uxtb r3, r3 ARM GAS /tmp/ccodHXtm.s page 472 2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 15046 .loc 1 2911 6 view .LVU4429 15047 001c D2B2 uxtb r2, r2 2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 15048 .loc 1 2911 6 view .LVU4430 15049 001e C9B2 uxtb r1, r1 2912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 15050 .loc 1 2912 7 view .LVU4431 15051 0020 012B cmp r3, #1 15052 0022 3FD1 bne .L1147 2913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 15053 .loc 1 2913 7 view .LVU4432 15054 0024 012A cmp r2, #1 15055 0026 3ED1 bne .L1150 2914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15056 .loc 1 2914 7 view .LVU4433 15057 0028 0129 cmp r1, #1 15058 002a 01D0 beq .L1154 2916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15059 .loc 1 2916 12 view .LVU4434 15060 002c 1046 mov r0, r2 15061 .LVL1125: 2916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15062 .loc 1 2916 12 view .LVU4435 15063 002e 39E0 b .L1147 15064 .LVL1126: 15065 .L1154: 2920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15066 .loc 1 2920 3 is_stmt 1 view .LVU4436 15067 0030 0223 movs r3, #2 15068 .LVL1127: 2920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15069 .loc 1 2920 3 is_stmt 0 view .LVU4437 15070 0032 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); 15071 .loc 1 2921 3 is_stmt 1 view .LVU4438 15072 0036 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); 15073 .loc 1 2922 3 view .LVU4439 15074 003a 84F84430 strb r3, [r4, #68] 2923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15075 .loc 1 2923 3 view .LVU4440 15076 003e 84F84530 strb r3, [r4, #69] 2935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15077 .loc 1 2935 3 view .LVU4441 15078 0042 2268 ldr r2, [r4] 15079 .LVL1128: 2935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15080 .loc 1 2935 3 is_stmt 0 view .LVU4442 15081 0044 D368 ldr r3, [r2, #12] 15082 0046 43F00203 orr r3, r3, #2 15083 004a D360 str r3, [r2, #12] 2938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15084 .loc 1 2938 3 is_stmt 1 view .LVU4443 15085 004c 2268 ldr r2, [r4] 15086 004e D368 ldr r3, [r2, #12] 15087 0050 43F00403 orr r3, r3, #4 ARM GAS /tmp/ccodHXtm.s page 473 15088 0054 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); 15089 .loc 1 2940 3 view .LVU4444 15090 0056 0122 movs r2, #1 15091 0058 0021 movs r1, #0 15092 .LVL1129: 2940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15093 .loc 1 2940 3 is_stmt 0 view .LVU4445 15094 005a 2068 ldr r0, [r4] 15095 .LVL1130: 2940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15096 .loc 1 2940 3 view .LVU4446 15097 005c FFF7FEFF bl TIM_CCxChannelCmd 15098 .LVL1131: 2941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15099 .loc 1 2941 3 is_stmt 1 view .LVU4447 15100 0060 0122 movs r2, #1 15101 0062 0421 movs r1, #4 15102 0064 2068 ldr r0, [r4] 15103 0066 FFF7FEFF bl TIM_CCxChannelCmd 15104 .LVL1132: 2943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15105 .loc 1 2943 3 view .LVU4448 2943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15106 .loc 1 2943 7 is_stmt 0 view .LVU4449 15107 006a 2368 ldr r3, [r4] 15108 006c 0F4A ldr r2, .L1155 15109 006e 9342 cmp r3, r2 15110 0070 11D0 beq .L1148 2943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15111 .loc 1 2943 7 discriminator 2 view .LVU4450 15112 0072 02F50062 add r2, r2, #2048 15113 0076 9342 cmp r3, r2 15114 0078 0DD0 beq .L1148 2943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15115 .loc 1 2943 7 discriminator 4 view .LVU4451 15116 007a 02F54062 add r2, r2, #3072 15117 007e 9342 cmp r3, r2 15118 0080 09D0 beq .L1148 2943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15119 .loc 1 2943 7 discriminator 6 view .LVU4452 15120 0082 02F58062 add r2, r2, #1024 15121 0086 9342 cmp r3, r2 15122 0088 05D0 beq .L1148 2943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15123 .loc 1 2943 7 discriminator 8 view .LVU4453 15124 008a 02F58062 add r2, r2, #1024 15125 008e 9342 cmp r3, r2 15126 0090 01D0 beq .L1148 2950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15127 .loc 1 2950 10 view .LVU4454 15128 0092 0020 movs r0, #0 15129 0094 06E0 b .L1147 15130 .L1148: 2946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15131 .loc 1 2946 5 is_stmt 1 view .LVU4455 15132 0096 5A6C ldr r2, [r3, #68] ARM GAS /tmp/ccodHXtm.s page 474 15133 0098 42F40042 orr r2, r2, #32768 15134 009c 5A64 str r2, [r3, #68] 2950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15135 .loc 1 2950 10 is_stmt 0 view .LVU4456 15136 009e 0020 movs r0, #0 15137 00a0 00E0 b .L1147 15138 .LVL1133: 15139 .L1149: 2916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15140 .loc 1 2916 12 view .LVU4457 15141 00a2 0120 movs r0, #1 15142 .LVL1134: 15143 .L1147: 2951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15144 .loc 1 2951 1 view .LVU4458 15145 00a4 10BD pop {r4, pc} 15146 .LVL1135: 15147 .L1150: 2916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15148 .loc 1 2916 12 view .LVU4459 15149 00a6 1846 mov r0, r3 15150 .LVL1136: 2916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15151 .loc 1 2916 12 view .LVU4460 15152 00a8 FCE7 b .L1147 15153 .L1156: 15154 00aa 00BF .align 2 15155 .L1155: 15156 00ac 002C0140 .word 1073818624 15157 .cfi_endproc 15158 .LFE375: 15160 .section .text.HAL_TIM_OnePulse_Stop_IT,"ax",%progbits 15161 .align 1 15162 .global HAL_TIM_OnePulse_Stop_IT 15163 .syntax unified 15164 .thumb 15165 .thumb_func 15167 HAL_TIM_OnePulse_Stop_IT: 15168 .LVL1137: 15169 .LFB376: 2964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 15170 .loc 1 2964 1 is_stmt 1 view -0 15171 .cfi_startproc 15172 @ args = 0, pretend = 0, frame = 0 15173 @ frame_needed = 0, uses_anonymous_args = 0 2964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */ 15174 .loc 1 2964 1 is_stmt 0 view .LVU4462 15175 0000 10B5 push {r4, lr} 15176 .LCFI106: 15177 .cfi_def_cfa_offset 8 15178 .cfi_offset 4, -8 15179 .cfi_offset 14, -4 15180 0002 0446 mov r4, r0 2966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15181 .loc 1 2966 3 is_stmt 1 view .LVU4463 2969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15182 .loc 1 2969 3 view .LVU4464 ARM GAS /tmp/ccodHXtm.s page 475 15183 0004 0268 ldr r2, [r0] 15184 0006 D368 ldr r3, [r2, #12] 15185 0008 23F00203 bic r3, r3, #2 15186 000c D360 str r3, [r2, #12] 2972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15187 .loc 1 2972 3 view .LVU4465 15188 000e 0268 ldr r2, [r0] 15189 0010 D368 ldr r3, [r2, #12] 15190 0012 23F00403 bic r3, r3, #4 15191 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); 15192 .loc 1 2979 3 view .LVU4466 15193 0018 0022 movs r2, #0 15194 001a 1146 mov r1, r2 15195 .LVL1138: 2979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15196 .loc 1 2979 3 is_stmt 0 view .LVU4467 15197 001c 0068 ldr r0, [r0] 15198 .LVL1139: 2979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15199 .loc 1 2979 3 view .LVU4468 15200 001e FFF7FEFF bl TIM_CCxChannelCmd 15201 .LVL1140: 2980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15202 .loc 1 2980 3 is_stmt 1 view .LVU4469 15203 0022 0022 movs r2, #0 15204 0024 0421 movs r1, #4 15205 0026 2068 ldr r0, [r4] 15206 0028 FFF7FEFF bl TIM_CCxChannelCmd 15207 .LVL1141: 2982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15208 .loc 1 2982 3 view .LVU4470 2982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15209 .loc 1 2982 7 is_stmt 0 view .LVU4471 15210 002c 2368 ldr r3, [r4] 15211 002e 1D4A ldr r2, .L1162 15212 0030 9342 cmp r3, r2 15213 0032 0FD0 beq .L1158 2982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15214 .loc 1 2982 7 discriminator 2 view .LVU4472 15215 0034 02F50062 add r2, r2, #2048 15216 0038 9342 cmp r3, r2 15217 003a 0BD0 beq .L1158 2982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15218 .loc 1 2982 7 discriminator 4 view .LVU4473 15219 003c 02F54062 add r2, r2, #3072 15220 0040 9342 cmp r3, r2 15221 0042 07D0 beq .L1158 2982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15222 .loc 1 2982 7 discriminator 6 view .LVU4474 15223 0044 02F58062 add r2, r2, #1024 15224 0048 9342 cmp r3, r2 15225 004a 03D0 beq .L1158 2982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15226 .loc 1 2982 7 discriminator 8 view .LVU4475 15227 004c 02F58062 add r2, r2, #1024 15228 0050 9342 cmp r3, r2 ARM GAS /tmp/ccodHXtm.s page 476 15229 0052 0DD1 bne .L1159 15230 .L1158: 2985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15231 .loc 1 2985 5 is_stmt 1 view .LVU4476 2985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15232 .loc 1 2985 5 view .LVU4477 15233 0054 196A ldr r1, [r3, #32] 15234 0056 41F21112 movw r2, #4369 15235 005a 1142 tst r1, r2 15236 005c 08D1 bne .L1159 2985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15237 .loc 1 2985 5 discriminator 1 view .LVU4478 15238 005e 196A ldr r1, [r3, #32] 15239 0060 44F24442 movw r2, #17476 15240 0064 1142 tst r1, r2 15241 0066 03D1 bne .L1159 2985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15242 .loc 1 2985 5 discriminator 3 view .LVU4479 15243 0068 5A6C ldr r2, [r3, #68] 15244 006a 22F40042 bic r2, r2, #32768 15245 006e 5A64 str r2, [r3, #68] 15246 .L1159: 2985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15247 .loc 1 2985 5 discriminator 5 view .LVU4480 2989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15248 .loc 1 2989 3 view .LVU4481 2989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15249 .loc 1 2989 3 view .LVU4482 15250 0070 2368 ldr r3, [r4] 15251 0072 196A ldr r1, [r3, #32] 15252 0074 41F21112 movw r2, #4369 15253 0078 1142 tst r1, r2 15254 007a 08D1 bne .L1160 2989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15255 .loc 1 2989 3 discriminator 1 view .LVU4483 15256 007c 196A ldr r1, [r3, #32] 15257 007e 44F24442 movw r2, #17476 15258 0082 1142 tst r1, r2 15259 0084 03D1 bne .L1160 2989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15260 .loc 1 2989 3 discriminator 3 view .LVU4484 15261 0086 1A68 ldr r2, [r3] 15262 0088 22F00102 bic r2, r2, #1 15263 008c 1A60 str r2, [r3] 15264 .L1160: 2989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15265 .loc 1 2989 3 discriminator 5 view .LVU4485 2992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 15266 .loc 1 2992 3 view .LVU4486 15267 008e 0123 movs r3, #1 15268 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); 15269 .loc 1 2993 3 view .LVU4487 15270 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); 15271 .loc 1 2994 3 view .LVU4488 15272 0098 84F84430 strb r3, [r4, #68] ARM GAS /tmp/ccodHXtm.s page 477 2995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15273 .loc 1 2995 3 view .LVU4489 15274 009c 84F84530 strb r3, [r4, #69] 2998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15275 .loc 1 2998 3 view .LVU4490 2999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15276 .loc 1 2999 1 is_stmt 0 view .LVU4491 15277 00a0 0020 movs r0, #0 15278 00a2 10BD pop {r4, pc} 15279 .LVL1142: 15280 .L1163: 2999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15281 .loc 1 2999 1 view .LVU4492 15282 .align 2 15283 .L1162: 15284 00a4 002C0140 .word 1073818624 15285 .cfi_endproc 15286 .LFE376: 15288 .section .text.HAL_TIM_Encoder_Start,"ax",%progbits 15289 .align 1 15290 .global HAL_TIM_Encoder_Start 15291 .syntax unified 15292 .thumb 15293 .thumb_func 15295 HAL_TIM_Encoder_Start: 15296 .LVL1143: 15297 .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); 15298 .loc 1 3238 1 is_stmt 1 view -0 15299 .cfi_startproc 15300 @ args = 0, pretend = 0, frame = 0 15301 @ 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); 15302 .loc 1 3238 1 is_stmt 0 view .LVU4494 15303 0000 38B5 push {r3, r4, r5, lr} 15304 .LCFI107: 15305 .cfi_def_cfa_offset 16 15306 .cfi_offset 3, -16 15307 .cfi_offset 4, -12 15308 .cfi_offset 5, -8 15309 .cfi_offset 14, -4 15310 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); 15311 .loc 1 3239 3 is_stmt 1 view .LVU4495 3239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 15312 .loc 1 3239 31 is_stmt 0 view .LVU4496 15313 0004 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 15314 .LVL1144: 3239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 15315 .loc 1 3239 31 view .LVU4497 15316 0008 C0B2 uxtb r0, r0 15317 .LVL1145: 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 15318 .loc 1 3240 3 is_stmt 1 view .LVU4498 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 15319 .loc 1 3240 31 is_stmt 0 view .LVU4499 15320 000a 94F83F30 ldrb r3, [r4, #63] @ zero_extendqisi2 ARM GAS /tmp/ccodHXtm.s page 478 15321 .LVL1146: 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 15322 .loc 1 3241 3 is_stmt 1 view .LVU4500 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 15323 .loc 1 3241 31 is_stmt 0 view .LVU4501 15324 000e 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2 15325 0012 D2B2 uxtb r2, r2 15326 .LVL1147: 3242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15327 .loc 1 3242 3 is_stmt 1 view .LVU4502 3242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15328 .loc 1 3242 31 is_stmt 0 view .LVU4503 15329 0014 94F845C0 ldrb ip, [r4, #69] @ zero_extendqisi2 15330 .LVL1148: 3245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15331 .loc 1 3245 3 is_stmt 1 view .LVU4504 3248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15332 .loc 1 3248 3 view .LVU4505 3248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15333 .loc 1 3248 6 is_stmt 0 view .LVU4506 15334 0018 0D46 mov r5, r1 15335 001a B1B9 cbnz r1, .L1165 3250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)) 15336 .loc 1 3250 5 is_stmt 1 view .LVU4507 3250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)) 15337 .loc 1 3250 8 is_stmt 0 view .LVU4508 15338 001c 0128 cmp r0, #1 15339 001e 49D1 bne .L1173 3251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15340 .loc 1 3251 9 view .LVU4509 15341 0020 012A cmp r2, #1 15342 0022 48D1 bne .L1166 3257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 15343 .loc 1 3257 7 is_stmt 1 view .LVU4510 15344 0024 0223 movs r3, #2 15345 .LVL1149: 3257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 15346 .loc 1 3257 7 is_stmt 0 view .LVU4511 15347 0026 84F83E30 strb r3, [r4, #62] 3258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15348 .loc 1 3258 7 is_stmt 1 view .LVU4512 15349 002a 84F84430 strb r3, [r4, #68] 15350 .LVL1150: 15351 .L1167: 3293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15352 .loc 1 3293 3 view .LVU4513 15353 002e 7DB3 cbz r5, .L1169 15354 0030 042D cmp r5, #4 15355 0032 39D0 beq .L1170 3309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15356 .loc 1 3309 7 view .LVU4514 15357 0034 0122 movs r2, #1 15358 .LVL1151: 3309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15359 .loc 1 3309 7 is_stmt 0 view .LVU4515 15360 0036 0021 movs r1, #0 15361 .LVL1152: ARM GAS /tmp/ccodHXtm.s page 479 3309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15362 .loc 1 3309 7 view .LVU4516 15363 0038 2068 ldr r0, [r4] 15364 .LVL1153: 3309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15365 .loc 1 3309 7 view .LVU4517 15366 003a FFF7FEFF bl TIM_CCxChannelCmd 15367 .LVL1154: 3310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15368 .loc 1 3310 7 is_stmt 1 view .LVU4518 15369 003e 0122 movs r2, #1 15370 0040 0421 movs r1, #4 15371 0042 2068 ldr r0, [r4] 15372 0044 FFF7FEFF bl TIM_CCxChannelCmd 15373 .LVL1155: 3311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15374 .loc 1 3311 7 view .LVU4519 15375 0048 27E0 b .L1172 15376 .LVL1156: 15377 .L1165: 3311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15378 .loc 1 3311 7 is_stmt 0 view .LVU4520 15379 004a DBB2 uxtb r3, r3 3311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15380 .loc 1 3311 7 view .LVU4521 15381 004c 5FFA8CFC uxtb ip, ip 3261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15382 .loc 1 3261 8 is_stmt 1 view .LVU4522 3261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15383 .loc 1 3261 11 is_stmt 0 view .LVU4523 15384 0050 0429 cmp r1, #4 15385 0052 12D0 beq .L1181 3276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 15386 .loc 1 3276 5 is_stmt 1 view .LVU4524 3276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 15387 .loc 1 3276 8 is_stmt 0 view .LVU4525 15388 0054 0128 cmp r0, #1 15389 0056 33D1 bne .L1176 3277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 15390 .loc 1 3277 9 view .LVU4526 15391 0058 012B cmp r3, #1 15392 005a 2CD1 bne .L1166 3278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 15393 .loc 1 3278 9 view .LVU4527 15394 005c 012A cmp r2, #1 15395 005e 31D1 bne .L1177 3279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15396 .loc 1 3279 9 view .LVU4528 15397 0060 BCF1010F cmp ip, #1 15398 0064 30D1 bne .L1178 3285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15399 .loc 1 3285 7 is_stmt 1 view .LVU4529 15400 0066 0223 movs r3, #2 15401 .LVL1157: 3285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15402 .loc 1 3285 7 is_stmt 0 view .LVU4530 15403 0068 84F83E30 strb r3, [r4, #62] ARM GAS /tmp/ccodHXtm.s page 480 3286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 15404 .loc 1 3286 7 is_stmt 1 view .LVU4531 15405 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); 15406 .loc 1 3287 7 view .LVU4532 15407 0070 84F84430 strb r3, [r4, #68] 3288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15408 .loc 1 3288 7 view .LVU4533 15409 0074 84F84530 strb r3, [r4, #69] 15410 0078 D9E7 b .L1167 15411 .LVL1158: 15412 .L1181: 3263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 15413 .loc 1 3263 5 view .LVU4534 3263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 15414 .loc 1 3263 8 is_stmt 0 view .LVU4535 15415 007a 012B cmp r3, #1 15416 007c 1CD1 bne .L1174 3264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15417 .loc 1 3264 9 view .LVU4536 15418 007e BCF1010F cmp ip, #1 15419 0082 1BD1 bne .L1175 3270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15420 .loc 1 3270 7 is_stmt 1 view .LVU4537 15421 0084 0223 movs r3, #2 15422 .LVL1159: 3270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15423 .loc 1 3270 7 is_stmt 0 view .LVU4538 15424 0086 84F83F30 strb r3, [r4, #63] 3271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15425 .loc 1 3271 7 is_stmt 1 view .LVU4539 15426 008a 84F84530 strb r3, [r4, #69] 15427 008e CEE7 b .L1167 15428 .LVL1160: 15429 .L1169: 3297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15430 .loc 1 3297 7 view .LVU4540 15431 0090 0122 movs r2, #1 15432 .LVL1161: 3297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15433 .loc 1 3297 7 is_stmt 0 view .LVU4541 15434 0092 0021 movs r1, #0 15435 .LVL1162: 3297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15436 .loc 1 3297 7 view .LVU4542 15437 0094 2068 ldr r0, [r4] 15438 .LVL1163: 3297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15439 .loc 1 3297 7 view .LVU4543 15440 0096 FFF7FEFF bl TIM_CCxChannelCmd 15441 .LVL1164: 3298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15442 .loc 1 3298 7 is_stmt 1 view .LVU4544 15443 .L1172: 3315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15444 .loc 1 3315 3 view .LVU4545 15445 009a 2268 ldr r2, [r4] ARM GAS /tmp/ccodHXtm.s page 481 15446 009c 1368 ldr r3, [r2] 15447 009e 43F00103 orr r3, r3, #1 15448 00a2 1360 str r3, [r2] 3318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15449 .loc 1 3318 3 view .LVU4546 3318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15450 .loc 1 3318 10 is_stmt 0 view .LVU4547 15451 00a4 0020 movs r0, #0 15452 00a6 06E0 b .L1166 15453 .LVL1165: 15454 .L1170: 3303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15455 .loc 1 3303 7 is_stmt 1 view .LVU4548 15456 00a8 0122 movs r2, #1 15457 .LVL1166: 3303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15458 .loc 1 3303 7 is_stmt 0 view .LVU4549 15459 00aa 0421 movs r1, #4 15460 .LVL1167: 3303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15461 .loc 1 3303 7 view .LVU4550 15462 00ac 2068 ldr r0, [r4] 15463 .LVL1168: 3303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15464 .loc 1 3303 7 view .LVU4551 15465 00ae FFF7FEFF bl TIM_CCxChannelCmd 15466 .LVL1169: 3304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15467 .loc 1 3304 7 is_stmt 1 view .LVU4552 15468 00b2 F2E7 b .L1172 15469 .LVL1170: 15470 .L1173: 3253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15471 .loc 1 3253 14 is_stmt 0 view .LVU4553 15472 00b4 0120 movs r0, #1 15473 .LVL1171: 15474 .L1166: 3319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15475 .loc 1 3319 1 view .LVU4554 15476 00b6 38BD pop {r3, r4, r5, pc} 15477 .LVL1172: 15478 .L1174: 3266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15479 .loc 1 3266 14 view .LVU4555 15480 00b8 0120 movs r0, #1 15481 .LVL1173: 3266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15482 .loc 1 3266 14 view .LVU4556 15483 00ba FCE7 b .L1166 15484 .LVL1174: 15485 .L1175: 3266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15486 .loc 1 3266 14 view .LVU4557 15487 00bc 1846 mov r0, r3 15488 .LVL1175: 3266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15489 .loc 1 3266 14 view .LVU4558 ARM GAS /tmp/ccodHXtm.s page 482 15490 00be FAE7 b .L1166 15491 .LVL1176: 15492 .L1176: 3281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15493 .loc 1 3281 14 view .LVU4559 15494 00c0 0120 movs r0, #1 15495 .LVL1177: 3281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15496 .loc 1 3281 14 view .LVU4560 15497 00c2 F8E7 b .L1166 15498 .LVL1178: 15499 .L1177: 3281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15500 .loc 1 3281 14 view .LVU4561 15501 00c4 1846 mov r0, r3 15502 .LVL1179: 3281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15503 .loc 1 3281 14 view .LVU4562 15504 00c6 F6E7 b .L1166 15505 .LVL1180: 15506 .L1178: 3281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15507 .loc 1 3281 14 view .LVU4563 15508 00c8 1046 mov r0, r2 15509 .LVL1181: 3281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15510 .loc 1 3281 14 view .LVU4564 15511 00ca F4E7 b .L1166 15512 .cfi_endproc 15513 .LFE381: 15515 .section .text.HAL_TIM_Encoder_Stop,"ax",%progbits 15516 .align 1 15517 .global HAL_TIM_Encoder_Stop 15518 .syntax unified 15519 .thumb 15520 .thumb_func 15522 HAL_TIM_Encoder_Stop: 15523 .LVL1182: 15524 .LFB382: 3332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 15525 .loc 1 3332 1 is_stmt 1 view -0 15526 .cfi_startproc 15527 @ args = 0, pretend = 0, frame = 0 15528 @ frame_needed = 0, uses_anonymous_args = 0 3332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 15529 .loc 1 3332 1 is_stmt 0 view .LVU4566 15530 0000 38B5 push {r3, r4, r5, lr} 15531 .LCFI108: 15532 .cfi_def_cfa_offset 16 15533 .cfi_offset 3, -16 15534 .cfi_offset 4, -12 15535 .cfi_offset 5, -8 15536 .cfi_offset 14, -4 15537 0002 0446 mov r4, r0 3334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15538 .loc 1 3334 3 is_stmt 1 view .LVU4567 3338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccodHXtm.s page 483 15539 .loc 1 3338 3 view .LVU4568 15540 0004 0D46 mov r5, r1 15541 0006 61B1 cbz r1, .L1183 15542 0008 0429 cmp r1, #4 15543 000a 2BD0 beq .L1184 3354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15544 .loc 1 3354 7 view .LVU4569 15545 000c 0022 movs r2, #0 15546 000e 1146 mov r1, r2 15547 .LVL1183: 3354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15548 .loc 1 3354 7 is_stmt 0 view .LVU4570 15549 0010 0068 ldr r0, [r0] 15550 .LVL1184: 3354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15551 .loc 1 3354 7 view .LVU4571 15552 0012 FFF7FEFF bl TIM_CCxChannelCmd 15553 .LVL1185: 3355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15554 .loc 1 3355 7 is_stmt 1 view .LVU4572 15555 0016 0022 movs r2, #0 15556 0018 0421 movs r1, #4 15557 001a 2068 ldr r0, [r4] 15558 001c FFF7FEFF bl TIM_CCxChannelCmd 15559 .LVL1186: 3356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15560 .loc 1 3356 7 view .LVU4573 15561 0020 04E0 b .L1186 15562 .LVL1187: 15563 .L1183: 3342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15564 .loc 1 3342 7 view .LVU4574 15565 0022 0022 movs r2, #0 15566 0024 1146 mov r1, r2 15567 .LVL1188: 3342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15568 .loc 1 3342 7 is_stmt 0 view .LVU4575 15569 0026 0068 ldr r0, [r0] 15570 .LVL1189: 3342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15571 .loc 1 3342 7 view .LVU4576 15572 0028 FFF7FEFF bl TIM_CCxChannelCmd 15573 .LVL1190: 3343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15574 .loc 1 3343 7 is_stmt 1 view .LVU4577 15575 .L1186: 3361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15576 .loc 1 3361 3 view .LVU4578 3361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15577 .loc 1 3361 3 view .LVU4579 15578 002c 2368 ldr r3, [r4] 15579 002e 196A ldr r1, [r3, #32] 15580 0030 41F21112 movw r2, #4369 15581 0034 1142 tst r1, r2 15582 0036 08D1 bne .L1187 3361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15583 .loc 1 3361 3 discriminator 1 view .LVU4580 ARM GAS /tmp/ccodHXtm.s page 484 15584 0038 196A ldr r1, [r3, #32] 15585 003a 44F24442 movw r2, #17476 15586 003e 1142 tst r1, r2 15587 0040 03D1 bne .L1187 3361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15588 .loc 1 3361 3 discriminator 3 view .LVU4581 15589 0042 1A68 ldr r2, [r3] 15590 0044 22F00102 bic r2, r2, #1 15591 0048 1A60 str r2, [r3] 15592 .L1187: 3361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15593 .loc 1 3361 3 discriminator 5 view .LVU4582 3364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15594 .loc 1 3364 3 view .LVU4583 3364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15595 .loc 1 3364 6 is_stmt 0 view .LVU4584 15596 004a 8DB1 cbz r5, .L1188 3364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15597 .loc 1 3364 34 discriminator 1 view .LVU4585 15598 004c 042D cmp r5, #4 15599 004e 16D0 beq .L1195 3371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 15600 .loc 1 3371 5 is_stmt 1 view .LVU4586 15601 0050 0123 movs r3, #1 15602 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); 15603 .loc 1 3372 5 view .LVU4587 15604 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); 15605 .loc 1 3373 5 view .LVU4588 15606 005a 84F84430 strb r3, [r4, #68] 3374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15607 .loc 1 3374 5 view .LVU4589 15608 005e 84F84530 strb r3, [r4, #69] 15609 0062 0AE0 b .L1191 15610 .LVL1191: 15611 .L1184: 3348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15612 .loc 1 3348 7 view .LVU4590 15613 0064 0022 movs r2, #0 15614 0066 0421 movs r1, #4 15615 .LVL1192: 3348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15616 .loc 1 3348 7 is_stmt 0 view .LVU4591 15617 0068 0068 ldr r0, [r0] 15618 .LVL1193: 3348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15619 .loc 1 3348 7 view .LVU4592 15620 006a FFF7FEFF bl TIM_CCxChannelCmd 15621 .LVL1194: 3349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15622 .loc 1 3349 7 is_stmt 1 view .LVU4593 15623 006e DDE7 b .L1186 15624 .L1188: 3366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 15625 .loc 1 3366 5 view .LVU4594 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/ccodHXtm.s page 485 15626 .loc 1 3366 5 is_stmt 0 discriminator 1 view .LVU4595 15627 0070 0123 movs r3, #1 15628 0072 84F83E30 strb r3, [r4, #62] 3367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15629 .loc 1 3367 5 is_stmt 1 view .LVU4596 3367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15630 .loc 1 3367 5 is_stmt 0 discriminator 1 view .LVU4597 15631 0076 84F84430 strb r3, [r4, #68] 15632 .L1191: 3378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15633 .loc 1 3378 3 is_stmt 1 view .LVU4598 3379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15634 .loc 1 3379 1 is_stmt 0 view .LVU4599 15635 007a 0020 movs r0, #0 15636 007c 38BD pop {r3, r4, r5, pc} 15637 .LVL1195: 15638 .L1195: 3366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 15639 .loc 1 3366 5 is_stmt 1 view .LVU4600 3366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 15640 .loc 1 3366 5 is_stmt 0 discriminator 3 view .LVU4601 15641 007e 0123 movs r3, #1 15642 0080 84F83F30 strb r3, [r4, #63] 3367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15643 .loc 1 3367 5 is_stmt 1 view .LVU4602 3367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15644 .loc 1 3367 5 is_stmt 0 discriminator 3 view .LVU4603 15645 0084 84F84530 strb r3, [r4, #69] 15646 0088 F7E7 b .L1191 15647 .cfi_endproc 15648 .LFE382: 15650 .section .text.HAL_TIM_Encoder_Start_IT,"ax",%progbits 15651 .align 1 15652 .global HAL_TIM_Encoder_Start_IT 15653 .syntax unified 15654 .thumb 15655 .thumb_func 15657 HAL_TIM_Encoder_Start_IT: 15658 .LVL1196: 15659 .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); 15660 .loc 1 3392 1 is_stmt 1 view -0 15661 .cfi_startproc 15662 @ args = 0, pretend = 0, frame = 0 15663 @ 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); 15664 .loc 1 3392 1 is_stmt 0 view .LVU4605 15665 0000 38B5 push {r3, r4, r5, lr} 15666 .LCFI109: 15667 .cfi_def_cfa_offset 16 15668 .cfi_offset 3, -16 15669 .cfi_offset 4, -12 15670 .cfi_offset 5, -8 15671 .cfi_offset 14, -4 15672 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); 15673 .loc 1 3393 3 is_stmt 1 view .LVU4606 ARM GAS /tmp/ccodHXtm.s page 486 3393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 15674 .loc 1 3393 31 is_stmt 0 view .LVU4607 15675 0004 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2 15676 .LVL1197: 3393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 15677 .loc 1 3393 31 view .LVU4608 15678 0008 C0B2 uxtb r0, r0 15679 .LVL1198: 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 15680 .loc 1 3394 3 is_stmt 1 view .LVU4609 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 15681 .loc 1 3394 31 is_stmt 0 view .LVU4610 15682 000a 94F83F30 ldrb r3, [r4, #63] @ zero_extendqisi2 15683 .LVL1199: 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 15684 .loc 1 3395 3 is_stmt 1 view .LVU4611 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 15685 .loc 1 3395 31 is_stmt 0 view .LVU4612 15686 000e 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2 15687 0012 D2B2 uxtb r2, r2 15688 .LVL1200: 3396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15689 .loc 1 3396 3 is_stmt 1 view .LVU4613 3396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15690 .loc 1 3396 31 is_stmt 0 view .LVU4614 15691 0014 94F845C0 ldrb ip, [r4, #69] @ zero_extendqisi2 15692 .LVL1201: 3399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15693 .loc 1 3399 3 is_stmt 1 view .LVU4615 3402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15694 .loc 1 3402 3 view .LVU4616 3402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15695 .loc 1 3402 6 is_stmt 0 view .LVU4617 15696 0018 0D46 mov r5, r1 15697 001a 09BB cbnz r1, .L1197 3404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)) 15698 .loc 1 3404 5 is_stmt 1 view .LVU4618 3404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)) 15699 .loc 1 3404 8 is_stmt 0 view .LVU4619 15700 001c 0128 cmp r0, #1 15701 001e 5ED1 bne .L1205 3405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15702 .loc 1 3405 9 view .LVU4620 15703 0020 012A cmp r2, #1 15704 0022 5DD1 bne .L1198 3411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 15705 .loc 1 3411 7 is_stmt 1 view .LVU4621 15706 0024 0223 movs r3, #2 15707 .LVL1202: 3411: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 3411 7 is_stmt 0 view .LVU4622 15709 0026 84F83E30 strb r3, [r4, #62] 3412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15710 .loc 1 3412 7 is_stmt 1 view .LVU4623 15711 002a 84F84430 strb r3, [r4, #68] 15712 .LVL1203: 15713 .L1199: ARM GAS /tmp/ccodHXtm.s page 487 3448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15714 .loc 1 3448 3 view .LVU4624 15715 002e 002D cmp r5, #0 15716 0030 39D0 beq .L1201 15717 0032 042D cmp r5, #4 15718 0034 48D0 beq .L1202 3466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15719 .loc 1 3466 7 view .LVU4625 15720 0036 0122 movs r2, #1 15721 .LVL1204: 3466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15722 .loc 1 3466 7 is_stmt 0 view .LVU4626 15723 0038 0021 movs r1, #0 15724 .LVL1205: 3466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15725 .loc 1 3466 7 view .LVU4627 15726 003a 2068 ldr r0, [r4] 15727 .LVL1206: 3466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); 15728 .loc 1 3466 7 view .LVU4628 15729 003c FFF7FEFF bl TIM_CCxChannelCmd 15730 .LVL1207: 3467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 15731 .loc 1 3467 7 is_stmt 1 view .LVU4629 15732 0040 0122 movs r2, #1 15733 0042 0421 movs r1, #4 15734 0044 2068 ldr r0, [r4] 15735 0046 FFF7FEFF bl TIM_CCxChannelCmd 15736 .LVL1208: 3468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 15737 .loc 1 3468 7 view .LVU4630 15738 004a 2268 ldr r2, [r4] 15739 004c D368 ldr r3, [r2, #12] 15740 004e 43F00203 orr r3, r3, #2 15741 0052 D360 str r3, [r2, #12] 3469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15742 .loc 1 3469 7 view .LVU4631 15743 0054 2268 ldr r2, [r4] 15744 0056 D368 ldr r3, [r2, #12] 15745 0058 43F00403 orr r3, r3, #4 15746 005c D360 str r3, [r2, #12] 3470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15747 .loc 1 3470 7 view .LVU4632 15748 005e 2CE0 b .L1204 15749 .LVL1209: 15750 .L1197: 3470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15751 .loc 1 3470 7 is_stmt 0 view .LVU4633 15752 0060 DBB2 uxtb r3, r3 3470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15753 .loc 1 3470 7 view .LVU4634 15754 0062 5FFA8CFC uxtb ip, ip 3415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15755 .loc 1 3415 8 is_stmt 1 view .LVU4635 3415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15756 .loc 1 3415 11 is_stmt 0 view .LVU4636 15757 0066 0429 cmp r1, #4 ARM GAS /tmp/ccodHXtm.s page 488 15758 0068 12D0 beq .L1213 3430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 15759 .loc 1 3430 5 is_stmt 1 view .LVU4637 3430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY) 15760 .loc 1 3430 8 is_stmt 0 view .LVU4638 15761 006a 0128 cmp r0, #1 15762 006c 3DD1 bne .L1208 3431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY) 15763 .loc 1 3431 9 view .LVU4639 15764 006e 012B cmp r3, #1 15765 0070 36D1 bne .L1198 3432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 15766 .loc 1 3432 9 view .LVU4640 15767 0072 012A cmp r2, #1 15768 0074 3BD1 bne .L1209 3433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15769 .loc 1 3433 9 view .LVU4641 15770 0076 BCF1010F cmp ip, #1 15771 007a 3AD1 bne .L1210 3439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15772 .loc 1 3439 7 is_stmt 1 view .LVU4642 15773 007c 0223 movs r3, #2 15774 .LVL1210: 3439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15775 .loc 1 3439 7 is_stmt 0 view .LVU4643 15776 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); 15777 .loc 1 3440 7 is_stmt 1 view .LVU4644 15778 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); 15779 .loc 1 3441 7 view .LVU4645 15780 0086 84F84430 strb r3, [r4, #68] 3442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15781 .loc 1 3442 7 view .LVU4646 15782 008a 84F84530 strb r3, [r4, #69] 15783 008e CEE7 b .L1199 15784 .LVL1211: 15785 .L1213: 3417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 15786 .loc 1 3417 5 view .LVU4647 3417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY)) 15787 .loc 1 3417 8 is_stmt 0 view .LVU4648 15788 0090 012B cmp r3, #1 15789 0092 26D1 bne .L1206 3418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15790 .loc 1 3418 9 view .LVU4649 15791 0094 BCF1010F cmp ip, #1 15792 0098 25D1 bne .L1207 3424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15793 .loc 1 3424 7 is_stmt 1 view .LVU4650 15794 009a 0223 movs r3, #2 15795 .LVL1212: 3424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 15796 .loc 1 3424 7 is_stmt 0 view .LVU4651 15797 009c 84F83F30 strb r3, [r4, #63] 3425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15798 .loc 1 3425 7 is_stmt 1 view .LVU4652 ARM GAS /tmp/ccodHXtm.s page 489 15799 00a0 84F84530 strb r3, [r4, #69] 15800 00a4 C3E7 b .L1199 15801 .LVL1213: 15802 .L1201: 3452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 15803 .loc 1 3452 7 view .LVU4653 15804 00a6 0122 movs r2, #1 15805 .LVL1214: 3452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 15806 .loc 1 3452 7 is_stmt 0 view .LVU4654 15807 00a8 0021 movs r1, #0 15808 .LVL1215: 3452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 15809 .loc 1 3452 7 view .LVU4655 15810 00aa 2068 ldr r0, [r4] 15811 .LVL1216: 3452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1); 15812 .loc 1 3452 7 view .LVU4656 15813 00ac FFF7FEFF bl TIM_CCxChannelCmd 15814 .LVL1217: 3453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15815 .loc 1 3453 7 is_stmt 1 view .LVU4657 15816 00b0 2268 ldr r2, [r4] 15817 00b2 D368 ldr r3, [r2, #12] 15818 00b4 43F00203 orr r3, r3, #2 15819 00b8 D360 str r3, [r2, #12] 3454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15820 .loc 1 3454 7 view .LVU4658 15821 .L1204: 3475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15822 .loc 1 3475 3 view .LVU4659 15823 00ba 2268 ldr r2, [r4] 15824 00bc 1368 ldr r3, [r2] 15825 00be 43F00103 orr r3, r3, #1 15826 00c2 1360 str r3, [r2] 3478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15827 .loc 1 3478 3 view .LVU4660 3478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15828 .loc 1 3478 10 is_stmt 0 view .LVU4661 15829 00c4 0020 movs r0, #0 15830 00c6 0BE0 b .L1198 15831 .LVL1218: 15832 .L1202: 3459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 15833 .loc 1 3459 7 is_stmt 1 view .LVU4662 15834 00c8 0122 movs r2, #1 15835 .LVL1219: 3459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 15836 .loc 1 3459 7 is_stmt 0 view .LVU4663 15837 00ca 0421 movs r1, #4 15838 .LVL1220: 3459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 15839 .loc 1 3459 7 view .LVU4664 15840 00cc 2068 ldr r0, [r4] 15841 .LVL1221: 3459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2); 15842 .loc 1 3459 7 view .LVU4665 ARM GAS /tmp/ccodHXtm.s page 490 15843 00ce FFF7FEFF bl TIM_CCxChannelCmd 15844 .LVL1222: 3460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** break; 15845 .loc 1 3460 7 is_stmt 1 view .LVU4666 15846 00d2 2268 ldr r2, [r4] 15847 00d4 D368 ldr r3, [r2, #12] 15848 00d6 43F00403 orr r3, r3, #4 15849 00da D360 str r3, [r2, #12] 3461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15850 .loc 1 3461 7 view .LVU4667 15851 00dc EDE7 b .L1204 15852 .LVL1223: 15853 .L1205: 3407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15854 .loc 1 3407 14 is_stmt 0 view .LVU4668 15855 00de 0120 movs r0, #1 15856 .LVL1224: 15857 .L1198: 3479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15858 .loc 1 3479 1 view .LVU4669 15859 00e0 38BD pop {r3, r4, r5, pc} 15860 .LVL1225: 15861 .L1206: 3420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15862 .loc 1 3420 14 view .LVU4670 15863 00e2 0120 movs r0, #1 15864 .LVL1226: 3420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15865 .loc 1 3420 14 view .LVU4671 15866 00e4 FCE7 b .L1198 15867 .LVL1227: 15868 .L1207: 3420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15869 .loc 1 3420 14 view .LVU4672 15870 00e6 1846 mov r0, r3 15871 .LVL1228: 3420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15872 .loc 1 3420 14 view .LVU4673 15873 00e8 FAE7 b .L1198 15874 .LVL1229: 15875 .L1208: 3435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15876 .loc 1 3435 14 view .LVU4674 15877 00ea 0120 movs r0, #1 15878 .LVL1230: 3435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15879 .loc 1 3435 14 view .LVU4675 15880 00ec F8E7 b .L1198 15881 .LVL1231: 15882 .L1209: 3435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15883 .loc 1 3435 14 view .LVU4676 15884 00ee 1846 mov r0, r3 15885 .LVL1232: 3435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15886 .loc 1 3435 14 view .LVU4677 15887 00f0 F6E7 b .L1198 ARM GAS /tmp/ccodHXtm.s page 491 15888 .LVL1233: 15889 .L1210: 3435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15890 .loc 1 3435 14 view .LVU4678 15891 00f2 1046 mov r0, r2 15892 .LVL1234: 3435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15893 .loc 1 3435 14 view .LVU4679 15894 00f4 F4E7 b .L1198 15895 .cfi_endproc 15896 .LFE383: 15898 .section .text.HAL_TIM_Encoder_Stop_IT,"ax",%progbits 15899 .align 1 15900 .global HAL_TIM_Encoder_Stop_IT 15901 .syntax unified 15902 .thumb 15903 .thumb_func 15905 HAL_TIM_Encoder_Stop_IT: 15906 .LVL1235: 15907 .LFB384: 3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 15908 .loc 1 3492 1 is_stmt 1 view -0 15909 .cfi_startproc 15910 @ args = 0, pretend = 0, frame = 0 15911 @ frame_needed = 0, uses_anonymous_args = 0 3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 15912 .loc 1 3492 1 is_stmt 0 view .LVU4681 15913 0000 38B5 push {r3, r4, r5, lr} 15914 .LCFI110: 15915 .cfi_def_cfa_offset 16 15916 .cfi_offset 3, -16 15917 .cfi_offset 4, -12 15918 .cfi_offset 5, -8 15919 .cfi_offset 14, -4 15920 0002 0446 mov r4, r0 3494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15921 .loc 1 3494 3 is_stmt 1 view .LVU4682 3498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15922 .loc 1 3498 3 view .LVU4683 3498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15923 .loc 1 3498 6 is_stmt 0 view .LVU4684 15924 0004 0D46 mov r5, r1 15925 0006 0029 cmp r1, #0 15926 0008 31D0 beq .L1225 3505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15927 .loc 1 3505 8 is_stmt 1 view .LVU4685 3505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15928 .loc 1 3505 11 is_stmt 0 view .LVU4686 15929 000a 0429 cmp r1, #4 15930 000c 3AD0 beq .L1226 3514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15931 .loc 1 3514 5 is_stmt 1 view .LVU4687 15932 000e 0022 movs r2, #0 15933 0010 1146 mov r1, r2 15934 .LVL1236: 3514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15935 .loc 1 3514 5 is_stmt 0 view .LVU4688 ARM GAS /tmp/ccodHXtm.s page 492 15936 0012 0068 ldr r0, [r0] 15937 .LVL1237: 3514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 15938 .loc 1 3514 5 view .LVU4689 15939 0014 FFF7FEFF bl TIM_CCxChannelCmd 15940 .LVL1238: 3515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15941 .loc 1 3515 5 is_stmt 1 view .LVU4690 15942 0018 0022 movs r2, #0 15943 001a 0421 movs r1, #4 15944 001c 2068 ldr r0, [r4] 15945 001e FFF7FEFF bl TIM_CCxChannelCmd 15946 .LVL1239: 3518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2); 15947 .loc 1 3518 5 view .LVU4691 15948 0022 2268 ldr r2, [r4] 15949 0024 D368 ldr r3, [r2, #12] 15950 0026 23F00203 bic r3, r3, #2 15951 002a D360 str r3, [r2, #12] 3519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15952 .loc 1 3519 5 view .LVU4692 15953 002c 2268 ldr r2, [r4] 15954 002e D368 ldr r3, [r2, #12] 15955 0030 23F00403 bic r3, r3, #4 15956 0034 D360 str r3, [r2, #12] 15957 .L1216: 3523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15958 .loc 1 3523 3 view .LVU4693 3523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15959 .loc 1 3523 3 view .LVU4694 15960 0036 2368 ldr r3, [r4] 15961 0038 196A ldr r1, [r3, #32] 15962 003a 41F21112 movw r2, #4369 15963 003e 1142 tst r1, r2 15964 0040 08D1 bne .L1218 3523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15965 .loc 1 3523 3 discriminator 1 view .LVU4695 15966 0042 196A ldr r1, [r3, #32] 15967 0044 44F24442 movw r2, #17476 15968 0048 1142 tst r1, r2 15969 004a 03D1 bne .L1218 3523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15970 .loc 1 3523 3 discriminator 3 view .LVU4696 15971 004c 1A68 ldr r2, [r3] 15972 004e 22F00102 bic r2, r2, #1 15973 0052 1A60 str r2, [r3] 15974 .L1218: 3523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15975 .loc 1 3523 3 discriminator 5 view .LVU4697 3526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15976 .loc 1 3526 3 view .LVU4698 3526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15977 .loc 1 3526 6 is_stmt 0 view .LVU4699 15978 0054 0DB3 cbz r5, .L1219 3526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 15979 .loc 1 3526 34 discriminator 1 view .LVU4700 15980 0056 042D cmp r5, #4 ARM GAS /tmp/ccodHXtm.s page 493 15981 0058 26D0 beq .L1227 3533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 15982 .loc 1 3533 5 is_stmt 1 view .LVU4701 15983 005a 0123 movs r3, #1 15984 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); 15985 .loc 1 3534 5 view .LVU4702 15986 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); 15987 .loc 1 3535 5 view .LVU4703 15988 0064 84F84430 strb r3, [r4, #68] 3536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 15989 .loc 1 3536 5 view .LVU4704 15990 0068 84F84530 strb r3, [r4, #69] 15991 006c 1AE0 b .L1222 15992 .LVL1240: 15993 .L1225: 3500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15994 .loc 1 3500 5 view .LVU4705 15995 006e 0022 movs r2, #0 15996 0070 1146 mov r1, r2 15997 .LVL1241: 3500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 15998 .loc 1 3500 5 is_stmt 0 view .LVU4706 15999 0072 0068 ldr r0, [r0] 16000 .LVL1242: 3500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16001 .loc 1 3500 5 view .LVU4707 16002 0074 FFF7FEFF bl TIM_CCxChannelCmd 16003 .LVL1243: 3503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16004 .loc 1 3503 5 is_stmt 1 view .LVU4708 16005 0078 2268 ldr r2, [r4] 16006 007a D368 ldr r3, [r2, #12] 16007 007c 23F00203 bic r3, r3, #2 16008 0080 D360 str r3, [r2, #12] 16009 0082 D8E7 b .L1216 16010 .LVL1244: 16011 .L1226: 3507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16012 .loc 1 3507 5 view .LVU4709 16013 0084 0022 movs r2, #0 16014 0086 0421 movs r1, #4 16015 .LVL1245: 3507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16016 .loc 1 3507 5 is_stmt 0 view .LVU4710 16017 0088 0068 ldr r0, [r0] 16018 .LVL1246: 3507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16019 .loc 1 3507 5 view .LVU4711 16020 008a FFF7FEFF bl TIM_CCxChannelCmd 16021 .LVL1247: 3510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16022 .loc 1 3510 5 is_stmt 1 view .LVU4712 16023 008e 2268 ldr r2, [r4] 16024 0090 D368 ldr r3, [r2, #12] 16025 0092 23F00403 bic r3, r3, #4 ARM GAS /tmp/ccodHXtm.s page 494 16026 0096 D360 str r3, [r2, #12] 16027 0098 CDE7 b .L1216 16028 .L1219: 3528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 16029 .loc 1 3528 5 view .LVU4713 3528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 16030 .loc 1 3528 5 is_stmt 0 discriminator 1 view .LVU4714 16031 009a 0123 movs r3, #1 16032 009c 84F83E30 strb r3, [r4, #62] 3529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16033 .loc 1 3529 5 is_stmt 1 view .LVU4715 3529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16034 .loc 1 3529 5 is_stmt 0 discriminator 1 view .LVU4716 16035 00a0 84F84430 strb r3, [r4, #68] 16036 .L1222: 3540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16037 .loc 1 3540 3 is_stmt 1 view .LVU4717 3541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16038 .loc 1 3541 1 is_stmt 0 view .LVU4718 16039 00a4 0020 movs r0, #0 16040 00a6 38BD pop {r3, r4, r5, pc} 16041 .LVL1248: 16042 .L1227: 3528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 16043 .loc 1 3528 5 is_stmt 1 view .LVU4719 3528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 16044 .loc 1 3528 5 is_stmt 0 discriminator 3 view .LVU4720 16045 00a8 0123 movs r3, #1 16046 00aa 84F83F30 strb r3, [r4, #63] 3529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16047 .loc 1 3529 5 is_stmt 1 view .LVU4721 3529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16048 .loc 1 3529 5 is_stmt 0 discriminator 3 view .LVU4722 16049 00ae 84F84530 strb r3, [r4, #69] 16050 00b2 F7E7 b .L1222 16051 .cfi_endproc 16052 .LFE384: 16054 .section .text.HAL_TIM_Encoder_Start_DMA,"ax",%progbits 16055 .align 1 16056 .global HAL_TIM_Encoder_Start_DMA 16057 .syntax unified 16058 .thumb 16059 .thumb_func 16061 HAL_TIM_Encoder_Start_DMA: 16062 .LVL1249: 16063 .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); 16064 .loc 1 3558 1 is_stmt 1 view -0 16065 .cfi_startproc 16066 @ args = 4, pretend = 0, frame = 0 16067 @ 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); 16068 .loc 1 3558 1 is_stmt 0 view .LVU4724 16069 0000 F8B5 push {r3, r4, r5, r6, r7, lr} 16070 .LCFI111: 16071 .cfi_def_cfa_offset 24 16072 .cfi_offset 3, -24 ARM GAS /tmp/ccodHXtm.s page 495 16073 .cfi_offset 4, -20 16074 .cfi_offset 5, -16 16075 .cfi_offset 6, -12 16076 .cfi_offset 7, -8 16077 .cfi_offset 14, -4 16078 0002 0446 mov r4, r0 16079 0004 1E46 mov r6, r3 16080 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); 16081 .loc 1 3559 3 is_stmt 1 view .LVU4725 3559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2); 16082 .loc 1 3559 31 is_stmt 0 view .LVU4726 16083 000a 90F83E50 ldrb r5, [r0, #62] @ zero_extendqisi2 16084 000e EDB2 uxtb r5, r5 16085 .LVL1250: 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 16086 .loc 1 3560 3 is_stmt 1 view .LVU4727 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 16087 .loc 1 3560 31 is_stmt 0 view .LVU4728 16088 0010 90F83F00 ldrb r0, [r0, #63] @ zero_extendqisi2 16089 .LVL1251: 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 16090 .loc 1 3560 31 view .LVU4729 16091 0014 5FFA80FC uxtb ip, r0 16092 .LVL1252: 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 16093 .loc 1 3561 3 is_stmt 1 view .LVU4730 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 16094 .loc 1 3561 31 is_stmt 0 view .LVU4731 16095 0018 94F84400 ldrb r0, [r4, #68] @ zero_extendqisi2 16096 001c C0B2 uxtb r0, r0 16097 .LVL1253: 3562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16098 .loc 1 3562 3 is_stmt 1 view .LVU4732 3562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16099 .loc 1 3562 31 is_stmt 0 view .LVU4733 16100 001e 94F84530 ldrb r3, [r4, #69] @ zero_extendqisi2 16101 .LVL1254: 3565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16102 .loc 1 3565 3 is_stmt 1 view .LVU4734 3568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16103 .loc 1 3568 3 view .LVU4735 3568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16104 .loc 1 3568 6 is_stmt 0 view .LVU4736 16105 0022 8E46 mov lr, r1 16106 0024 0029 cmp r1, #0 16107 0026 31D1 bne .L1229 3570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY)) 16108 .loc 1 3570 5 is_stmt 1 view .LVU4737 3570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY)) 16109 .loc 1 3570 8 is_stmt 0 view .LVU4738 16110 0028 022D cmp r5, #2 16111 002a 00F0F180 beq .L1230 3571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16112 .loc 1 3571 9 view .LVU4739 16113 002e 0228 cmp r0, #2 16114 0030 00F0EB80 beq .L1236 ARM GAS /tmp/ccodHXtm.s page 496 3575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY)) 16115 .loc 1 3575 10 is_stmt 1 view .LVU4740 3575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY)) 16116 .loc 1 3575 13 is_stmt 0 view .LVU4741 16117 0034 012D cmp r5, #1 16118 0036 40F0EA80 bne .L1237 3576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16119 .loc 1 3576 14 view .LVU4742 16120 003a 0128 cmp r0, #1 16121 003c 40F0E880 bne .L1230 3578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16122 .loc 1 3578 7 is_stmt 1 view .LVU4743 3578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16123 .loc 1 3578 10 is_stmt 0 view .LVU4744 16124 0040 002A cmp r2, #0 16125 0042 00F0E780 beq .L1238 3578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16126 .loc 1 3578 28 discriminator 1 view .LVU4745 16127 0046 002F cmp r7, #0 16128 0048 00F0E680 beq .L1239 3584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 16129 .loc 1 3584 9 is_stmt 1 view .LVU4746 16130 004c 0223 movs r3, #2 16131 .LVL1255: 3584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY); 16132 .loc 1 3584 9 is_stmt 0 view .LVU4747 16133 004e 84F83E30 strb r3, [r4, #62] 3585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16134 .loc 1 3585 9 is_stmt 1 view .LVU4748 16135 0052 84F84430 strb r3, [r4, #68] 16136 .L1231: 3650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16137 .loc 1 3650 3 view .LVU4749 16138 0056 BEF1000F cmp lr, #0 16139 005a 61D0 beq .L1233 16140 005c BEF1040F cmp lr, #4 16141 0060 00F08180 beq .L1234 3710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16142 .loc 1 3710 7 view .LVU4750 3710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16143 .loc 1 3710 17 is_stmt 0 view .LVU4751 16144 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; 16145 .loc 1 3710 52 view .LVU4752 16146 0066 7C49 ldr r1, .L1266 16147 .LVL1256: 3710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16148 .loc 1 3710 52 view .LVU4753 16149 0068 D962 str r1, [r3, #44] 3711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16150 .loc 1 3711 7 is_stmt 1 view .LVU4754 3711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16151 .loc 1 3711 17 is_stmt 0 view .LVU4755 16152 006a 636A ldr r3, [r4, #36] 3711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16153 .loc 1 3711 56 view .LVU4756 16154 006c 7B49 ldr r1, .L1266+4 ARM GAS /tmp/ccodHXtm.s page 497 16155 006e 1963 str r1, [r3, #48] 3714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16156 .loc 1 3714 7 is_stmt 1 view .LVU4757 3714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16157 .loc 1 3714 17 is_stmt 0 view .LVU4758 16158 0070 636A ldr r3, [r4, #36] 3714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16159 .loc 1 3714 53 view .LVU4759 16160 0072 7B49 ldr r1, .L1266+8 16161 0074 5963 str r1, [r3, #52] 3717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16162 .loc 1 3717 7 is_stmt 1 view .LVU4760 3717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16163 .loc 1 3717 71 is_stmt 0 view .LVU4761 16164 0076 2168 ldr r1, [r4] 3717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16165 .loc 1 3717 11 view .LVU4762 16166 0078 3B46 mov r3, r7 16167 007a 3431 adds r1, r1, #52 16168 007c 606A ldr r0, [r4, #36] 16169 .LVL1257: 3717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16170 .loc 1 3717 11 view .LVU4763 16171 007e FFF7FEFF bl HAL_DMA_Start_IT 16172 .LVL1258: 3717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16173 .loc 1 3717 10 discriminator 1 view .LVU4764 16174 0082 0028 cmp r0, #0 16175 0084 00F09380 beq .L1261 3721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16176 .loc 1 3721 16 view .LVU4765 16177 0088 0125 movs r5, #1 16178 .LVL1259: 3721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16179 .loc 1 3721 16 view .LVU4766 16180 008a C1E0 b .L1230 16181 .LVL1260: 16182 .L1229: 3721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16183 .loc 1 3721 16 view .LVU4767 16184 008c DBB2 uxtb r3, r3 3593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16185 .loc 1 3593 8 is_stmt 1 view .LVU4768 3593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16186 .loc 1 3593 11 is_stmt 0 view .LVU4769 16187 008e 0429 cmp r1, #4 16188 0090 2CD0 beq .L1262 3620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY) 16189 .loc 1 3620 5 is_stmt 1 view .LVU4770 3620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY) 16190 .loc 1 3620 8 is_stmt 0 view .LVU4771 16191 0092 022D cmp r5, #2 16192 0094 00F0BC80 beq .L1230 3621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY) 16193 .loc 1 3621 9 view .LVU4772 16194 0098 BCF1020F cmp ip, #2 16195 009c 00F0CA80 beq .L1246 ARM GAS /tmp/ccodHXtm.s page 498 3622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY)) 16196 .loc 1 3622 9 view .LVU4773 16197 00a0 0228 cmp r0, #2 16198 00a2 00F0C980 beq .L1247 3623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16199 .loc 1 3623 9 view .LVU4774 16200 00a6 022B cmp r3, #2 16201 00a8 00F0C880 beq .L1248 3627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (channel_2_state == HAL_TIM_CHANNEL_STATE_READY) 16202 .loc 1 3627 10 is_stmt 1 view .LVU4775 3627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (channel_2_state == HAL_TIM_CHANNEL_STATE_READY) 16203 .loc 1 3627 13 is_stmt 0 view .LVU4776 16204 00ac 012D cmp r5, #1 16205 00ae 40F0C780 bne .L1249 3628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY) 16206 .loc 1 3628 14 view .LVU4777 16207 00b2 BCF1010F cmp ip, #1 16208 00b6 40F0AB80 bne .L1230 3629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_READY)) 16209 .loc 1 3629 14 view .LVU4778 16210 00ba 0128 cmp r0, #1 16211 00bc 40F0C280 bne .L1250 3630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16212 .loc 1 3630 14 view .LVU4779 16213 00c0 012B cmp r3, #1 16214 00c2 40F0C180 bne .L1251 3632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16215 .loc 1 3632 7 is_stmt 1 view .LVU4780 3632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16216 .loc 1 3632 10 is_stmt 0 view .LVU4781 16217 00c6 002A cmp r2, #0 16218 00c8 00F0C080 beq .L1252 3632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16219 .loc 1 3632 30 discriminator 1 view .LVU4782 16220 00cc 002E cmp r6, #0 16221 00ce 00F0BF80 beq .L1253 3632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16222 .loc 1 3632 52 discriminator 2 view .LVU4783 16223 00d2 002F cmp r7, #0 16224 00d4 00F0BE80 beq .L1254 3638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 16225 .loc 1 3638 9 is_stmt 1 view .LVU4784 16226 00d8 0223 movs r3, #2 16227 .LVL1261: 3638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 16228 .loc 1 3638 9 is_stmt 0 view .LVU4785 16229 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); 16230 .loc 1 3639 9 is_stmt 1 view .LVU4786 16231 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); 16232 .loc 1 3640 9 view .LVU4787 16233 00e2 84F84430 strb r3, [r4, #68] 3641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16234 .loc 1 3641 9 view .LVU4788 16235 00e6 84F84530 strb r3, [r4, #69] 3632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { ARM GAS /tmp/ccodHXtm.s page 499 16236 .loc 1 3632 10 is_stmt 0 view .LVU4789 16237 00ea B4E7 b .L1231 16238 .LVL1262: 16239 .L1262: 3595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY)) 16240 .loc 1 3595 5 is_stmt 1 view .LVU4790 3595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** || (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY)) 16241 .loc 1 3595 8 is_stmt 0 view .LVU4791 16242 00ec BCF1020F cmp ip, #2 16243 00f0 00F09480 beq .L1240 3596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16244 .loc 1 3596 9 view .LVU4792 16245 00f4 022B cmp r3, #2 16246 00f6 00F09380 beq .L1241 3600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_READY)) 16247 .loc 1 3600 10 is_stmt 1 view .LVU4793 3600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** && (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_READY)) 16248 .loc 1 3600 13 is_stmt 0 view .LVU4794 16249 00fa BCF1010F cmp ip, #1 16250 00fe 40F09180 bne .L1242 3601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16251 .loc 1 3601 14 view .LVU4795 16252 0102 012B cmp r3, #1 16253 0104 40F09080 bne .L1243 3603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16254 .loc 1 3603 7 is_stmt 1 view .LVU4796 3603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16255 .loc 1 3603 10 is_stmt 0 view .LVU4797 16256 0108 002E cmp r6, #0 16257 010a 00F08F80 beq .L1244 3603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16258 .loc 1 3603 28 discriminator 1 view .LVU4798 16259 010e 002F cmp r7, #0 16260 0110 00F08E80 beq .L1245 3609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 16261 .loc 1 3609 9 is_stmt 1 view .LVU4799 16262 0114 0223 movs r3, #2 16263 .LVL1263: 3609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY); 16264 .loc 1 3609 9 is_stmt 0 view .LVU4800 16265 0116 84F83F30 strb r3, [r4, #63] 3610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16266 .loc 1 3610 9 is_stmt 1 view .LVU4801 16267 011a 84F84530 strb r3, [r4, #69] 16268 011e 9AE7 b .L1231 16269 .L1233: 3655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16270 .loc 1 3655 7 view .LVU4802 3655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16271 .loc 1 3655 17 is_stmt 0 view .LVU4803 16272 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; 16273 .loc 1 3655 52 view .LVU4804 16274 0122 4D49 ldr r1, .L1266 16275 .LVL1264: 3655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16276 .loc 1 3655 52 view .LVU4805 ARM GAS /tmp/ccodHXtm.s page 500 16277 0124 D962 str r1, [r3, #44] 3656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16278 .loc 1 3656 7 is_stmt 1 view .LVU4806 3656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16279 .loc 1 3656 17 is_stmt 0 view .LVU4807 16280 0126 636A ldr r3, [r4, #36] 3656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16281 .loc 1 3656 56 view .LVU4808 16282 0128 4C49 ldr r1, .L1266+4 16283 012a 1963 str r1, [r3, #48] 3659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16284 .loc 1 3659 7 is_stmt 1 view .LVU4809 3659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16285 .loc 1 3659 17 is_stmt 0 view .LVU4810 16286 012c 636A ldr r3, [r4, #36] 3659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16287 .loc 1 3659 53 view .LVU4811 16288 012e 4C49 ldr r1, .L1266+8 16289 0130 5963 str r1, [r3, #52] 3662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16290 .loc 1 3662 7 is_stmt 1 view .LVU4812 3662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16291 .loc 1 3662 71 is_stmt 0 view .LVU4813 16292 0132 2168 ldr r1, [r4] 3662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16293 .loc 1 3662 11 view .LVU4814 16294 0134 3B46 mov r3, r7 16295 0136 3431 adds r1, r1, #52 16296 0138 606A ldr r0, [r4, #36] 16297 .LVL1265: 3662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16298 .loc 1 3662 11 view .LVU4815 16299 013a FFF7FEFF bl HAL_DMA_Start_IT 16300 .LVL1266: 3662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16301 .loc 1 3662 10 discriminator 1 view .LVU4816 16302 013e 0546 mov r5, r0 16303 .LVL1267: 3662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16304 .loc 1 3662 10 discriminator 1 view .LVU4817 16305 0140 08B1 cbz r0, .L1263 3666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16306 .loc 1 3666 16 view .LVU4818 16307 0142 0125 movs r5, #1 16308 0144 64E0 b .L1230 16309 .L1263: 3669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16310 .loc 1 3669 7 is_stmt 1 view .LVU4819 16311 0146 2268 ldr r2, [r4] 16312 0148 D368 ldr r3, [r2, #12] 16313 014a 43F40073 orr r3, r3, #512 16314 014e D360 str r3, [r2, #12] 3672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16315 .loc 1 3672 7 view .LVU4820 16316 0150 0122 movs r2, #1 16317 0152 0021 movs r1, #0 16318 0154 2068 ldr r0, [r4] ARM GAS /tmp/ccodHXtm.s page 501 16319 0156 FFF7FEFF bl TIM_CCxChannelCmd 16320 .LVL1268: 3675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16321 .loc 1 3675 7 view .LVU4821 16322 015a 2268 ldr r2, [r4] 16323 015c 1368 ldr r3, [r2] 16324 015e 43F00103 orr r3, r3, #1 16325 0162 1360 str r3, [r2] 3677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16326 .loc 1 3677 7 view .LVU4822 16327 0164 54E0 b .L1230 16328 .LVL1269: 16329 .L1234: 3683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16330 .loc 1 3683 7 view .LVU4823 3683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16331 .loc 1 3683 17 is_stmt 0 view .LVU4824 16332 0166 A36A ldr r3, [r4, #40] 3683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16333 .loc 1 3683 52 view .LVU4825 16334 0168 3B4A ldr r2, .L1266 16335 .LVL1270: 3683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16336 .loc 1 3683 52 view .LVU4826 16337 016a DA62 str r2, [r3, #44] 3684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16338 .loc 1 3684 7 is_stmt 1 view .LVU4827 3684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16339 .loc 1 3684 17 is_stmt 0 view .LVU4828 16340 016c A36A ldr r3, [r4, #40] 3684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16341 .loc 1 3684 56 view .LVU4829 16342 016e 3B4A ldr r2, .L1266+4 16343 0170 1A63 str r2, [r3, #48] 3687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 16344 .loc 1 3687 7 is_stmt 1 view .LVU4830 3687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 16345 .loc 1 3687 17 is_stmt 0 view .LVU4831 16346 0172 A36A ldr r3, [r4, #40] 3687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the DMA channel */ 16347 .loc 1 3687 53 view .LVU4832 16348 0174 3A4A ldr r2, .L1266+8 16349 0176 5A63 str r2, [r3, #52] 3689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16350 .loc 1 3689 7 is_stmt 1 view .LVU4833 3689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16351 .loc 1 3689 71 is_stmt 0 view .LVU4834 16352 0178 2168 ldr r1, [r4] 16353 .LVL1271: 3689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16354 .loc 1 3689 11 view .LVU4835 16355 017a 3B46 mov r3, r7 16356 017c 3246 mov r2, r6 16357 017e 3831 adds r1, r1, #56 16358 0180 A06A ldr r0, [r4, #40] 16359 .LVL1272: 3689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) ARM GAS /tmp/ccodHXtm.s page 502 16360 .loc 1 3689 11 view .LVU4836 16361 0182 FFF7FEFF bl HAL_DMA_Start_IT 16362 .LVL1273: 3689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16363 .loc 1 3689 10 discriminator 1 view .LVU4837 16364 0186 0546 mov r5, r0 16365 .LVL1274: 3689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16366 .loc 1 3689 10 discriminator 1 view .LVU4838 16367 0188 08B1 cbz r0, .L1264 3693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16368 .loc 1 3693 16 view .LVU4839 16369 018a 0125 movs r5, #1 16370 018c 40E0 b .L1230 16371 .L1264: 3696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16372 .loc 1 3696 7 is_stmt 1 view .LVU4840 16373 018e 2268 ldr r2, [r4] 16374 0190 D368 ldr r3, [r2, #12] 16375 0192 43F48063 orr r3, r3, #1024 16376 0196 D360 str r3, [r2, #12] 3699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16377 .loc 1 3699 7 view .LVU4841 16378 0198 0122 movs r2, #1 16379 019a 0421 movs r1, #4 16380 019c 2068 ldr r0, [r4] 16381 019e FFF7FEFF bl TIM_CCxChannelCmd 16382 .LVL1275: 3702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16383 .loc 1 3702 7 view .LVU4842 16384 01a2 2268 ldr r2, [r4] 16385 01a4 1368 ldr r3, [r2] 16386 01a6 43F00103 orr r3, r3, #1 16387 01aa 1360 str r3, [r2] 3704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16388 .loc 1 3704 7 view .LVU4843 16389 01ac 30E0 b .L1230 16390 .LVL1276: 16391 .L1261: 3725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16392 .loc 1 3725 7 view .LVU4844 3725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt; 16393 .loc 1 3725 17 is_stmt 0 view .LVU4845 16394 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; 16395 .loc 1 3725 52 view .LVU4846 16396 01b0 294A ldr r2, .L1266 16397 01b2 DA62 str r2, [r3, #44] 3726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16398 .loc 1 3726 7 is_stmt 1 view .LVU4847 3726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16399 .loc 1 3726 17 is_stmt 0 view .LVU4848 16400 01b4 A36A ldr r3, [r4, #40] 3726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16401 .loc 1 3726 56 view .LVU4849 16402 01b6 294A ldr r2, .L1266+4 16403 01b8 1A63 str r2, [r3, #48] ARM GAS /tmp/ccodHXtm.s page 503 3729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16404 .loc 1 3729 7 is_stmt 1 view .LVU4850 3729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16405 .loc 1 3729 17 is_stmt 0 view .LVU4851 16406 01ba A36A ldr r3, [r4, #40] 3729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16407 .loc 1 3729 53 view .LVU4852 16408 01bc 284A ldr r2, .L1266+8 16409 01be 5A63 str r2, [r3, #52] 3732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16410 .loc 1 3732 7 is_stmt 1 view .LVU4853 3732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16411 .loc 1 3732 71 is_stmt 0 view .LVU4854 16412 01c0 2168 ldr r1, [r4] 3732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16413 .loc 1 3732 11 view .LVU4855 16414 01c2 3B46 mov r3, r7 16415 01c4 3246 mov r2, r6 16416 01c6 3831 adds r1, r1, #56 16417 01c8 A06A ldr r0, [r4, #40] 16418 01ca FFF7FEFF bl HAL_DMA_Start_IT 16419 .LVL1277: 3732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16420 .loc 1 3732 10 discriminator 1 view .LVU4856 16421 01ce 0546 mov r5, r0 16422 .LVL1278: 3732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** Length) != HAL_OK) 16423 .loc 1 3732 10 discriminator 1 view .LVU4857 16424 01d0 08B1 cbz r0, .L1265 3736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16425 .loc 1 3736 16 view .LVU4858 16426 01d2 0125 movs r5, #1 16427 01d4 1CE0 b .L1230 16428 .L1265: 3740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Enable the TIM Input Capture DMA request */ 16429 .loc 1 3740 7 is_stmt 1 view .LVU4859 16430 01d6 2268 ldr r2, [r4] 16431 01d8 D368 ldr r3, [r2, #12] 16432 01da 43F40073 orr r3, r3, #512 16433 01de D360 str r3, [r2, #12] 3742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16434 .loc 1 3742 7 view .LVU4860 16435 01e0 2268 ldr r2, [r4] 16436 01e2 D368 ldr r3, [r2, #12] 16437 01e4 43F48063 orr r3, r3, #1024 16438 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); 16439 .loc 1 3745 7 view .LVU4861 16440 01ea 0122 movs r2, #1 16441 01ec 0021 movs r1, #0 16442 01ee 2068 ldr r0, [r4] 16443 01f0 FFF7FEFF bl TIM_CCxChannelCmd 16444 .LVL1279: 3746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16445 .loc 1 3746 7 view .LVU4862 16446 01f4 0122 movs r2, #1 16447 01f6 0421 movs r1, #4 ARM GAS /tmp/ccodHXtm.s page 504 16448 01f8 2068 ldr r0, [r4] 16449 01fa FFF7FEFF bl TIM_CCxChannelCmd 16450 .LVL1280: 3749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16451 .loc 1 3749 7 view .LVU4863 16452 01fe 2268 ldr r2, [r4] 16453 0200 1368 ldr r3, [r2] 16454 0202 43F00103 orr r3, r3, #1 16455 0206 1360 str r3, [r2] 3751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16456 .loc 1 3751 7 view .LVU4864 16457 0208 02E0 b .L1230 16458 .LVL1281: 16459 .L1236: 3573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16460 .loc 1 3573 14 is_stmt 0 view .LVU4865 16461 020a 0546 mov r5, r0 16462 .LVL1282: 3573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16463 .loc 1 3573 14 view .LVU4866 16464 020c 00E0 b .L1230 16465 .LVL1283: 16466 .L1237: 3590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16467 .loc 1 3590 14 view .LVU4867 16468 020e 0125 movs r5, #1 16469 .LVL1284: 16470 .L1230: 3757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16471 .loc 1 3757 1 view .LVU4868 16472 0210 2846 mov r0, r5 16473 0212 F8BD pop {r3, r4, r5, r6, r7, pc} 16474 .LVL1285: 16475 .L1238: 3580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16476 .loc 1 3580 16 view .LVU4869 16477 0214 0546 mov r5, r0 16478 .LVL1286: 3580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16479 .loc 1 3580 16 view .LVU4870 16480 0216 FBE7 b .L1230 16481 .LVL1287: 16482 .L1239: 3580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16483 .loc 1 3580 16 view .LVU4871 16484 0218 0546 mov r5, r0 16485 .LVL1288: 3580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16486 .loc 1 3580 16 view .LVU4872 16487 021a F9E7 b .L1230 16488 .LVL1289: 16489 .L1240: 3598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16490 .loc 1 3598 14 view .LVU4873 16491 021c 6546 mov r5, ip 16492 .LVL1290: 3598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } ARM GAS /tmp/ccodHXtm.s page 505 16493 .loc 1 3598 14 view .LVU4874 16494 021e F7E7 b .L1230 16495 .LVL1291: 16496 .L1241: 3598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16497 .loc 1 3598 14 view .LVU4875 16498 0220 1D46 mov r5, r3 16499 .LVL1292: 3598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16500 .loc 1 3598 14 view .LVU4876 16501 0222 F5E7 b .L1230 16502 .LVL1293: 16503 .L1242: 3615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16504 .loc 1 3615 14 view .LVU4877 16505 0224 0125 movs r5, #1 16506 .LVL1294: 3615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16507 .loc 1 3615 14 view .LVU4878 16508 0226 F3E7 b .L1230 16509 .LVL1295: 16510 .L1243: 3615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16511 .loc 1 3615 14 view .LVU4879 16512 0228 6546 mov r5, ip 16513 .LVL1296: 3615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16514 .loc 1 3615 14 view .LVU4880 16515 022a F1E7 b .L1230 16516 .LVL1297: 16517 .L1244: 3605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16518 .loc 1 3605 16 view .LVU4881 16519 022c 1D46 mov r5, r3 16520 .LVL1298: 3605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16521 .loc 1 3605 16 view .LVU4882 16522 022e EFE7 b .L1230 16523 .LVL1299: 16524 .L1245: 3605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16525 .loc 1 3605 16 view .LVU4883 16526 0230 1D46 mov r5, r3 16527 .LVL1300: 3605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16528 .loc 1 3605 16 view .LVU4884 16529 0232 EDE7 b .L1230 16530 .LVL1301: 16531 .L1246: 3625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16532 .loc 1 3625 14 view .LVU4885 16533 0234 6546 mov r5, ip 16534 .LVL1302: 3625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16535 .loc 1 3625 14 view .LVU4886 16536 0236 EBE7 b .L1230 16537 .LVL1303: ARM GAS /tmp/ccodHXtm.s page 506 16538 .L1247: 3625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16539 .loc 1 3625 14 view .LVU4887 16540 0238 0546 mov r5, r0 16541 .LVL1304: 3625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16542 .loc 1 3625 14 view .LVU4888 16543 023a E9E7 b .L1230 16544 .LVL1305: 16545 .L1248: 3625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16546 .loc 1 3625 14 view .LVU4889 16547 023c 1D46 mov r5, r3 16548 .LVL1306: 3625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16549 .loc 1 3625 14 view .LVU4890 16550 023e E7E7 b .L1230 16551 .LVL1307: 16552 .L1249: 3646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16553 .loc 1 3646 14 view .LVU4891 16554 0240 0125 movs r5, #1 16555 .LVL1308: 3646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16556 .loc 1 3646 14 view .LVU4892 16557 0242 E5E7 b .L1230 16558 .LVL1309: 16559 .L1250: 3646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16560 .loc 1 3646 14 view .LVU4893 16561 0244 6546 mov r5, ip 16562 .LVL1310: 3646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16563 .loc 1 3646 14 view .LVU4894 16564 0246 E3E7 b .L1230 16565 .LVL1311: 16566 .L1251: 3646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16567 .loc 1 3646 14 view .LVU4895 16568 0248 0546 mov r5, r0 16569 .LVL1312: 3646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16570 .loc 1 3646 14 view .LVU4896 16571 024a E1E7 b .L1230 16572 .LVL1313: 16573 .L1252: 3634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16574 .loc 1 3634 16 view .LVU4897 16575 024c 1D46 mov r5, r3 16576 .LVL1314: 3634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16577 .loc 1 3634 16 view .LVU4898 16578 024e DFE7 b .L1230 16579 .LVL1315: 16580 .L1253: 3634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16581 .loc 1 3634 16 view .LVU4899 ARM GAS /tmp/ccodHXtm.s page 507 16582 0250 1D46 mov r5, r3 16583 .LVL1316: 3634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16584 .loc 1 3634 16 view .LVU4900 16585 0252 DDE7 b .L1230 16586 .LVL1317: 16587 .L1254: 3634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16588 .loc 1 3634 16 view .LVU4901 16589 0254 1D46 mov r5, r3 16590 .LVL1318: 3634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16591 .loc 1 3634 16 view .LVU4902 16592 0256 DBE7 b .L1230 16593 .L1267: 16594 .align 2 16595 .L1266: 16596 0258 00000000 .word TIM_DMACaptureCplt 16597 025c 00000000 .word TIM_DMACaptureHalfCplt 16598 0260 00000000 .word TIM_DMAError 16599 .cfi_endproc 16600 .LFE385: 16602 .section .text.HAL_TIM_Encoder_Stop_DMA,"ax",%progbits 16603 .align 1 16604 .global HAL_TIM_Encoder_Stop_DMA 16605 .syntax unified 16606 .thumb 16607 .thumb_func 16609 HAL_TIM_Encoder_Stop_DMA: 16610 .LVL1319: 16611 .LFB386: 3770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 16612 .loc 1 3770 1 is_stmt 1 view -0 16613 .cfi_startproc 16614 @ args = 0, pretend = 0, frame = 0 16615 @ frame_needed = 0, uses_anonymous_args = 0 3770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** /* Check the parameters */ 16616 .loc 1 3770 1 is_stmt 0 view .LVU4904 16617 0000 38B5 push {r3, r4, r5, lr} 16618 .LCFI112: 16619 .cfi_def_cfa_offset 16 16620 .cfi_offset 3, -16 16621 .cfi_offset 4, -12 16622 .cfi_offset 5, -8 16623 .cfi_offset 14, -4 16624 0002 0446 mov r4, r0 3772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16625 .loc 1 3772 3 is_stmt 1 view .LVU4905 3776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16626 .loc 1 3776 3 view .LVU4906 3776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16627 .loc 1 3776 6 is_stmt 0 view .LVU4907 16628 0004 0D46 mov r5, r1 16629 0006 0029 cmp r1, #0 16630 0008 37D0 beq .L1279 3784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16631 .loc 1 3784 8 is_stmt 1 view .LVU4908 ARM GAS /tmp/ccodHXtm.s page 508 3784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16632 .loc 1 3784 11 is_stmt 0 view .LVU4909 16633 000a 0429 cmp r1, #4 16634 000c 43D0 beq .L1280 3794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 16635 .loc 1 3794 5 is_stmt 1 view .LVU4910 16636 000e 0022 movs r2, #0 16637 0010 1146 mov r1, r2 16638 .LVL1320: 3794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 16639 .loc 1 3794 5 is_stmt 0 view .LVU4911 16640 0012 0068 ldr r0, [r0] 16641 .LVL1321: 3794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE); 16642 .loc 1 3794 5 view .LVU4912 16643 0014 FFF7FEFF bl TIM_CCxChannelCmd 16644 .LVL1322: 3795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16645 .loc 1 3795 5 is_stmt 1 view .LVU4913 16646 0018 0022 movs r2, #0 16647 001a 0421 movs r1, #4 16648 001c 2068 ldr r0, [r4] 16649 001e FFF7FEFF bl TIM_CCxChannelCmd 16650 .LVL1323: 3798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2); 16651 .loc 1 3798 5 view .LVU4914 16652 0022 2268 ldr r2, [r4] 16653 0024 D368 ldr r3, [r2, #12] 16654 0026 23F40073 bic r3, r3, #512 16655 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]); 16656 .loc 1 3799 5 view .LVU4915 16657 002c 2268 ldr r2, [r4] 16658 002e D368 ldr r3, [r2, #12] 16659 0030 23F48063 bic r3, r3, #1024 16660 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]); 16661 .loc 1 3800 5 view .LVU4916 3800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 16662 .loc 1 3800 11 is_stmt 0 view .LVU4917 16663 0036 606A ldr r0, [r4, #36] 16664 0038 FFF7FEFF bl HAL_DMA_Abort_IT 16665 .LVL1324: 3801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16666 .loc 1 3801 5 is_stmt 1 view .LVU4918 3801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16667 .loc 1 3801 11 is_stmt 0 view .LVU4919 16668 003c A06A ldr r0, [r4, #40] 16669 003e FFF7FEFF bl HAL_DMA_Abort_IT 16670 .LVL1325: 16671 .L1270: 3805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16672 .loc 1 3805 3 is_stmt 1 view .LVU4920 3805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16673 .loc 1 3805 3 view .LVU4921 16674 0042 2368 ldr r3, [r4] 16675 0044 196A ldr r1, [r3, #32] ARM GAS /tmp/ccodHXtm.s page 509 16676 0046 41F21112 movw r2, #4369 16677 004a 1142 tst r1, r2 16678 004c 08D1 bne .L1272 3805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16679 .loc 1 3805 3 discriminator 1 view .LVU4922 16680 004e 196A ldr r1, [r3, #32] 16681 0050 44F24442 movw r2, #17476 16682 0054 1142 tst r1, r2 16683 0056 03D1 bne .L1272 3805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16684 .loc 1 3805 3 discriminator 3 view .LVU4923 16685 0058 1A68 ldr r2, [r3] 16686 005a 22F00102 bic r2, r2, #1 16687 005e 1A60 str r2, [r3] 16688 .L1272: 3805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16689 .loc 1 3805 3 discriminator 5 view .LVU4924 3808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16690 .loc 1 3808 3 view .LVU4925 3808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16691 .loc 1 3808 6 is_stmt 0 view .LVU4926 16692 0060 3DB3 cbz r5, .L1273 3808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** { 16693 .loc 1 3808 34 discriminator 1 view .LVU4927 16694 0062 042D cmp r5, #4 16695 0064 2CD0 beq .L1281 3815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); 16696 .loc 1 3815 5 is_stmt 1 view .LVU4928 16697 0066 0123 movs r3, #1 16698 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); 16699 .loc 1 3816 5 view .LVU4929 16700 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); 16701 .loc 1 3817 5 view .LVU4930 16702 0070 84F84430 strb r3, [r4, #68] 3818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16703 .loc 1 3818 5 view .LVU4931 16704 0074 84F84530 strb r3, [r4, #69] 16705 0078 20E0 b .L1276 16706 .LVL1326: 16707 .L1279: 3778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16708 .loc 1 3778 5 view .LVU4932 16709 007a 0022 movs r2, #0 16710 007c 1146 mov r1, r2 16711 .LVL1327: 3778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16712 .loc 1 3778 5 is_stmt 0 view .LVU4933 16713 007e 0068 ldr r0, [r0] 16714 .LVL1328: 3778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16715 .loc 1 3778 5 view .LVU4934 16716 0080 FFF7FEFF bl TIM_CCxChannelCmd 16717 .LVL1329: 3781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]); 16718 .loc 1 3781 5 is_stmt 1 view .LVU4935 ARM GAS /tmp/ccodHXtm.s page 510 16719 0084 2268 ldr r2, [r4] 16720 0086 D368 ldr r3, [r2, #12] 16721 0088 23F40073 bic r3, r3, #512 16722 008c D360 str r3, [r2, #12] 3782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16723 .loc 1 3782 5 view .LVU4936 3782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16724 .loc 1 3782 11 is_stmt 0 view .LVU4937 16725 008e 606A ldr r0, [r4, #36] 16726 0090 FFF7FEFF bl HAL_DMA_Abort_IT 16727 .LVL1330: 16728 0094 D5E7 b .L1270 16729 .LVL1331: 16730 .L1280: 3786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16731 .loc 1 3786 5 is_stmt 1 view .LVU4938 16732 0096 0022 movs r2, #0 16733 0098 0421 movs r1, #4 16734 .LVL1332: 3786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16735 .loc 1 3786 5 is_stmt 0 view .LVU4939 16736 009a 0068 ldr r0, [r0] 16737 .LVL1333: 3786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** 16738 .loc 1 3786 5 view .LVU4940 16739 009c FFF7FEFF bl TIM_CCxChannelCmd 16740 .LVL1334: 3789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]); 16741 .loc 1 3789 5 is_stmt 1 view .LVU4941 16742 00a0 2268 ldr r2, [r4] 16743 00a2 D368 ldr r3, [r2, #12] 16744 00a4 23F48063 bic r3, r3, #1024 16745 00a8 D360 str r3, [r2, #12] 3790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16746 .loc 1 3790 5 view .LVU4942 3790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16747 .loc 1 3790 11 is_stmt 0 view .LVU4943 16748 00aa A06A ldr r0, [r4, #40] 16749 00ac FFF7FEFF bl HAL_DMA_Abort_IT 16750 .LVL1335: 16751 00b0 C7E7 b .L1270 16752 .L1273: 3810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 16753 .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); 16754 .loc 1 3810 5 is_stmt 0 discriminator 1 view .LVU4945 16755 00b2 0123 movs r3, #1 16756 00b4 84F83E30 strb r3, [r4, #62] 3811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16757 .loc 1 3811 5 is_stmt 1 view .LVU4946 3811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16758 .loc 1 3811 5 is_stmt 0 discriminator 1 view .LVU4947 16759 00b8 84F84430 strb r3, [r4, #68] 16760 .L1276: 3822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16761 .loc 1 3822 3 is_stmt 1 view .LVU4948 3823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** ARM GAS /tmp/ccodHXtm.s page 511 16762 .loc 1 3823 1 is_stmt 0 view .LVU4949 16763 00bc 0020 movs r0, #0 16764 00be 38BD pop {r3, r4, r5, pc} 16765 .LVL1336: 16766 .L1281: 3810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 16767 .loc 1 3810 5 is_stmt 1 view .LVU4950 3810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); 16768 .loc 1 3810 5 is_stmt 0 discriminator 3 view .LVU4951 16769 00c0 0123 movs r3, #1 16770 00c2 84F83F30 strb r3, [r4, #63] 3811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16771 .loc 1 3811 5 is_stmt 1 view .LVU4952 3811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c **** } 16772 .loc 1 3811 5 is_stmt 0 discriminator 3 view .LVU4953 16773 00c6 84F84530 strb r3, [r4, #69] 16774 00ca F7E7 b .L1276 16775 .cfi_endproc 16776 .LFE386: 16778 .text 16779 .Letext0: 16780 .file 2 "/home/fra/bin/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi/arm-none-eabi/include/mach 16781 .file 3 "/home/fra/bin/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi/arm-none-eabi/include/sys/ 16782 .file 4 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g431xx.h" 16783 .file 5 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g4xx.h" 16784 .file 6 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_def.h" 16785 .file 7 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_dma.h" 16786 .file 8 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_tim.h" 16787 .file 9 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_tim_ex.h" ARM GAS /tmp/ccodHXtm.s page 512 DEFINED SYMBOLS *ABS*:00000000 stm32g4xx_hal_tim.c /tmp/ccodHXtm.s:21 .text.TIM_OC1_SetConfig:00000000 $t /tmp/ccodHXtm.s:26 .text.TIM_OC1_SetConfig:00000000 TIM_OC1_SetConfig /tmp/ccodHXtm.s:192 .text.TIM_OC1_SetConfig:00000098 $d /tmp/ccodHXtm.s:197 .text.TIM_OC3_SetConfig:00000000 $t /tmp/ccodHXtm.s:202 .text.TIM_OC3_SetConfig:00000000 TIM_OC3_SetConfig /tmp/ccodHXtm.s:356 .text.TIM_OC3_SetConfig:00000088 $d /tmp/ccodHXtm.s:361 .text.TIM_OC4_SetConfig:00000000 $t /tmp/ccodHXtm.s:366 .text.TIM_OC4_SetConfig:00000000 TIM_OC4_SetConfig /tmp/ccodHXtm.s:522 .text.TIM_OC4_SetConfig:00000088 $d /tmp/ccodHXtm.s:527 .text.TIM_OC5_SetConfig:00000000 $t /tmp/ccodHXtm.s:532 .text.TIM_OC5_SetConfig:00000000 TIM_OC5_SetConfig /tmp/ccodHXtm.s:649 .text.TIM_OC5_SetConfig:00000064 $d /tmp/ccodHXtm.s:654 .text.TIM_OC6_SetConfig:00000000 $t /tmp/ccodHXtm.s:659 .text.TIM_OC6_SetConfig:00000000 TIM_OC6_SetConfig /tmp/ccodHXtm.s:778 .text.TIM_OC6_SetConfig:00000068 $d /tmp/ccodHXtm.s:783 .text.TIM_TI1_ConfigInputStage:00000000 $t /tmp/ccodHXtm.s:788 .text.TIM_TI1_ConfigInputStage:00000000 TIM_TI1_ConfigInputStage /tmp/ccodHXtm.s:849 .text.TIM_TI2_SetConfig:00000000 $t /tmp/ccodHXtm.s:854 .text.TIM_TI2_SetConfig:00000000 TIM_TI2_SetConfig /tmp/ccodHXtm.s:935 .text.TIM_TI2_ConfigInputStage:00000000 $t /tmp/ccodHXtm.s:940 .text.TIM_TI2_ConfigInputStage:00000000 TIM_TI2_ConfigInputStage /tmp/ccodHXtm.s:1001 .text.TIM_TI3_SetConfig:00000000 $t /tmp/ccodHXtm.s:1006 .text.TIM_TI3_SetConfig:00000000 TIM_TI3_SetConfig /tmp/ccodHXtm.s:1087 .text.TIM_TI4_SetConfig:00000000 $t /tmp/ccodHXtm.s:1092 .text.TIM_TI4_SetConfig:00000000 TIM_TI4_SetConfig /tmp/ccodHXtm.s:1173 .text.TIM_ITRx_SetConfig:00000000 $t /tmp/ccodHXtm.s:1178 .text.TIM_ITRx_SetConfig:00000000 TIM_ITRx_SetConfig /tmp/ccodHXtm.s:1214 .text.HAL_TIM_Base_MspInit:00000000 $t /tmp/ccodHXtm.s:1220 .text.HAL_TIM_Base_MspInit:00000000 HAL_TIM_Base_MspInit /tmp/ccodHXtm.s:1235 .text.HAL_TIM_Base_MspDeInit:00000000 $t /tmp/ccodHXtm.s:1241 .text.HAL_TIM_Base_MspDeInit:00000000 HAL_TIM_Base_MspDeInit /tmp/ccodHXtm.s:1256 .text.HAL_TIM_Base_DeInit:00000000 $t /tmp/ccodHXtm.s:1262 .text.HAL_TIM_Base_DeInit:00000000 HAL_TIM_Base_DeInit /tmp/ccodHXtm.s:1348 .text.HAL_TIM_Base_Start:00000000 $t /tmp/ccodHXtm.s:1354 .text.HAL_TIM_Base_Start:00000000 HAL_TIM_Base_Start /tmp/ccodHXtm.s:1461 .text.HAL_TIM_Base_Start:00000074 $d /tmp/ccodHXtm.s:1467 .text.HAL_TIM_Base_Stop:00000000 $t /tmp/ccodHXtm.s:1473 .text.HAL_TIM_Base_Stop:00000000 HAL_TIM_Base_Stop /tmp/ccodHXtm.s:1514 .text.HAL_TIM_Base_Start_IT:00000000 $t /tmp/ccodHXtm.s:1520 .text.HAL_TIM_Base_Start_IT:00000000 HAL_TIM_Base_Start_IT /tmp/ccodHXtm.s:1632 .text.HAL_TIM_Base_Start_IT:0000007c $d /tmp/ccodHXtm.s:1638 .text.HAL_TIM_Base_Stop_IT:00000000 $t /tmp/ccodHXtm.s:1644 .text.HAL_TIM_Base_Stop_IT:00000000 HAL_TIM_Base_Stop_IT /tmp/ccodHXtm.s:1690 .text.HAL_TIM_Base_Start_DMA:00000000 $t /tmp/ccodHXtm.s:1696 .text.HAL_TIM_Base_Start_DMA:00000000 HAL_TIM_Base_Start_DMA /tmp/ccodHXtm.s:1855 .text.HAL_TIM_Base_Start_DMA:000000b8 $d /tmp/ccodHXtm.s:3966 .text.TIM_DMAPeriodElapsedCplt:00000000 TIM_DMAPeriodElapsedCplt /tmp/ccodHXtm.s:4030 .text.TIM_DMAPeriodElapsedHalfCplt:00000000 TIM_DMAPeriodElapsedHalfCplt /tmp/ccodHXtm.s:5125 .text.TIM_DMAError:00000000 TIM_DMAError /tmp/ccodHXtm.s:1864 .text.HAL_TIM_Base_Stop_DMA:00000000 $t /tmp/ccodHXtm.s:1870 .text.HAL_TIM_Base_Stop_DMA:00000000 HAL_TIM_Base_Stop_DMA /tmp/ccodHXtm.s:1928 .text.HAL_TIM_OC_MspInit:00000000 $t /tmp/ccodHXtm.s:1934 .text.HAL_TIM_OC_MspInit:00000000 HAL_TIM_OC_MspInit /tmp/ccodHXtm.s:1949 .text.HAL_TIM_OC_MspDeInit:00000000 $t /tmp/ccodHXtm.s:1955 .text.HAL_TIM_OC_MspDeInit:00000000 HAL_TIM_OC_MspDeInit ARM GAS /tmp/ccodHXtm.s page 513 /tmp/ccodHXtm.s:1970 .text.HAL_TIM_OC_DeInit:00000000 $t /tmp/ccodHXtm.s:1976 .text.HAL_TIM_OC_DeInit:00000000 HAL_TIM_OC_DeInit /tmp/ccodHXtm.s:2062 .text.HAL_TIM_PWM_MspInit:00000000 $t /tmp/ccodHXtm.s:2068 .text.HAL_TIM_PWM_MspInit:00000000 HAL_TIM_PWM_MspInit /tmp/ccodHXtm.s:2083 .text.HAL_TIM_PWM_MspDeInit:00000000 $t /tmp/ccodHXtm.s:2089 .text.HAL_TIM_PWM_MspDeInit:00000000 HAL_TIM_PWM_MspDeInit /tmp/ccodHXtm.s:2104 .text.HAL_TIM_PWM_DeInit:00000000 $t /tmp/ccodHXtm.s:2110 .text.HAL_TIM_PWM_DeInit:00000000 HAL_TIM_PWM_DeInit /tmp/ccodHXtm.s:2196 .text.HAL_TIM_IC_MspInit:00000000 $t /tmp/ccodHXtm.s:2202 .text.HAL_TIM_IC_MspInit:00000000 HAL_TIM_IC_MspInit /tmp/ccodHXtm.s:2217 .text.HAL_TIM_IC_MspDeInit:00000000 $t /tmp/ccodHXtm.s:2223 .text.HAL_TIM_IC_MspDeInit:00000000 HAL_TIM_IC_MspDeInit /tmp/ccodHXtm.s:2238 .text.HAL_TIM_IC_DeInit:00000000 $t /tmp/ccodHXtm.s:2244 .text.HAL_TIM_IC_DeInit:00000000 HAL_TIM_IC_DeInit /tmp/ccodHXtm.s:2330 .text.HAL_TIM_OnePulse_MspInit:00000000 $t /tmp/ccodHXtm.s:2336 .text.HAL_TIM_OnePulse_MspInit:00000000 HAL_TIM_OnePulse_MspInit /tmp/ccodHXtm.s:2351 .text.HAL_TIM_OnePulse_MspDeInit:00000000 $t /tmp/ccodHXtm.s:2357 .text.HAL_TIM_OnePulse_MspDeInit:00000000 HAL_TIM_OnePulse_MspDeInit /tmp/ccodHXtm.s:2372 .text.HAL_TIM_OnePulse_DeInit:00000000 $t /tmp/ccodHXtm.s:2378 .text.HAL_TIM_OnePulse_DeInit:00000000 HAL_TIM_OnePulse_DeInit /tmp/ccodHXtm.s:2448 .text.HAL_TIM_Encoder_MspInit:00000000 $t /tmp/ccodHXtm.s:2454 .text.HAL_TIM_Encoder_MspInit:00000000 HAL_TIM_Encoder_MspInit /tmp/ccodHXtm.s:2469 .text.HAL_TIM_Encoder_MspDeInit:00000000 $t /tmp/ccodHXtm.s:2475 .text.HAL_TIM_Encoder_MspDeInit:00000000 HAL_TIM_Encoder_MspDeInit /tmp/ccodHXtm.s:2490 .text.HAL_TIM_Encoder_DeInit:00000000 $t /tmp/ccodHXtm.s:2496 .text.HAL_TIM_Encoder_DeInit:00000000 HAL_TIM_Encoder_DeInit /tmp/ccodHXtm.s:2566 .text.HAL_TIM_DMABurst_MultiWriteStart:00000000 $t /tmp/ccodHXtm.s:2572 .text.HAL_TIM_DMABurst_MultiWriteStart:00000000 HAL_TIM_DMABurst_MultiWriteStart /tmp/ccodHXtm.s:2940 .text.HAL_TIM_DMABurst_MultiWriteStart:00000198 $d /tmp/ccodHXtm.s:4368 .text.TIM_DMADelayPulseCplt:00000000 TIM_DMADelayPulseCplt /tmp/ccodHXtm.s:4515 .text.TIM_DMADelayPulseHalfCplt:00000000 TIM_DMADelayPulseHalfCplt /tmp/ccodHXtm.s:5007 .text.TIM_DMATriggerCplt:00000000 TIM_DMATriggerCplt /tmp/ccodHXtm.s:5071 .text.TIM_DMATriggerHalfCplt:00000000 TIM_DMATriggerHalfCplt /tmp/ccodHXtm.s:2953 .text.HAL_TIM_DMABurst_WriteStart:00000000 $t /tmp/ccodHXtm.s:2959 .text.HAL_TIM_DMABurst_WriteStart:00000000 HAL_TIM_DMABurst_WriteStart /tmp/ccodHXtm.s:2999 .text.HAL_TIM_DMABurst_WriteStop:00000000 $t /tmp/ccodHXtm.s:3005 .text.HAL_TIM_DMABurst_WriteStop:00000000 HAL_TIM_DMABurst_WriteStop /tmp/ccodHXtm.s:3157 .text.HAL_TIM_DMABurst_MultiReadStart:00000000 $t /tmp/ccodHXtm.s:3163 .text.HAL_TIM_DMABurst_MultiReadStart:00000000 HAL_TIM_DMABurst_MultiReadStart /tmp/ccodHXtm.s:3531 .text.HAL_TIM_DMABurst_MultiReadStart:00000198 $d /tmp/ccodHXtm.s:4105 .text.TIM_DMACaptureCplt:00000000 TIM_DMACaptureCplt /tmp/ccodHXtm.s:4260 .text.TIM_DMACaptureHalfCplt:00000000 TIM_DMACaptureHalfCplt /tmp/ccodHXtm.s:3544 .text.HAL_TIM_DMABurst_ReadStart:00000000 $t /tmp/ccodHXtm.s:3550 .text.HAL_TIM_DMABurst_ReadStart:00000000 HAL_TIM_DMABurst_ReadStart /tmp/ccodHXtm.s:3590 .text.HAL_TIM_DMABurst_ReadStop:00000000 $t /tmp/ccodHXtm.s:3596 .text.HAL_TIM_DMABurst_ReadStop:00000000 HAL_TIM_DMABurst_ReadStop /tmp/ccodHXtm.s:3748 .text.HAL_TIM_GenerateEvent:00000000 $t /tmp/ccodHXtm.s:3754 .text.HAL_TIM_GenerateEvent:00000000 HAL_TIM_GenerateEvent /tmp/ccodHXtm.s:3807 .text.HAL_TIM_ConfigTI1Input:00000000 $t /tmp/ccodHXtm.s:3813 .text.HAL_TIM_ConfigTI1Input:00000000 HAL_TIM_ConfigTI1Input /tmp/ccodHXtm.s:3851 .text.HAL_TIM_ReadCapturedValue:00000000 $t /tmp/ccodHXtm.s:3857 .text.HAL_TIM_ReadCapturedValue:00000000 HAL_TIM_ReadCapturedValue /tmp/ccodHXtm.s:3871 .text.HAL_TIM_ReadCapturedValue:00000008 $d /tmp/ccodHXtm.s:3940 .text.HAL_TIM_PeriodElapsedCallback:00000000 $t /tmp/ccodHXtm.s:3946 .text.HAL_TIM_PeriodElapsedCallback:00000000 HAL_TIM_PeriodElapsedCallback /tmp/ccodHXtm.s:3961 .text.TIM_DMAPeriodElapsedCplt:00000000 $t /tmp/ccodHXtm.s:4004 .text.HAL_TIM_PeriodElapsedHalfCpltCallback:00000000 $t ARM GAS /tmp/ccodHXtm.s page 514 /tmp/ccodHXtm.s:4010 .text.HAL_TIM_PeriodElapsedHalfCpltCallback:00000000 HAL_TIM_PeriodElapsedHalfCpltCallback /tmp/ccodHXtm.s:4025 .text.TIM_DMAPeriodElapsedHalfCplt:00000000 $t /tmp/ccodHXtm.s:4057 .text.HAL_TIM_OC_DelayElapsedCallback:00000000 $t /tmp/ccodHXtm.s:4063 .text.HAL_TIM_OC_DelayElapsedCallback:00000000 HAL_TIM_OC_DelayElapsedCallback /tmp/ccodHXtm.s:4078 .text.HAL_TIM_IC_CaptureCallback:00000000 $t /tmp/ccodHXtm.s:4084 .text.HAL_TIM_IC_CaptureCallback:00000000 HAL_TIM_IC_CaptureCallback /tmp/ccodHXtm.s:4099 .text.TIM_DMACaptureCplt:00000000 $t /tmp/ccodHXtm.s:4233 .text.HAL_TIM_IC_CaptureHalfCpltCallback:00000000 $t /tmp/ccodHXtm.s:4239 .text.HAL_TIM_IC_CaptureHalfCpltCallback:00000000 HAL_TIM_IC_CaptureHalfCpltCallback /tmp/ccodHXtm.s:4254 .text.TIM_DMACaptureHalfCplt:00000000 $t /tmp/ccodHXtm.s:4342 .text.HAL_TIM_PWM_PulseFinishedCallback:00000000 $t /tmp/ccodHXtm.s:4348 .text.HAL_TIM_PWM_PulseFinishedCallback:00000000 HAL_TIM_PWM_PulseFinishedCallback /tmp/ccodHXtm.s:4363 .text.TIM_DMADelayPulseCplt:00000000 $t /tmp/ccodHXtm.s:4488 .text.HAL_TIM_PWM_PulseFinishedHalfCpltCallback:00000000 $t /tmp/ccodHXtm.s:4494 .text.HAL_TIM_PWM_PulseFinishedHalfCpltCallback:00000000 HAL_TIM_PWM_PulseFinishedHalfCpltCallback /tmp/ccodHXtm.s:4509 .text.TIM_DMADelayPulseHalfCplt:00000000 $t /tmp/ccodHXtm.s:4597 .text.HAL_TIM_TriggerCallback:00000000 $t /tmp/ccodHXtm.s:4603 .text.HAL_TIM_TriggerCallback:00000000 HAL_TIM_TriggerCallback /tmp/ccodHXtm.s:4618 .text.HAL_TIM_IRQHandler:00000000 $t /tmp/ccodHXtm.s:4624 .text.HAL_TIM_IRQHandler:00000000 HAL_TIM_IRQHandler /tmp/ccodHXtm.s:5002 .text.TIM_DMATriggerCplt:00000000 $t /tmp/ccodHXtm.s:5045 .text.HAL_TIM_TriggerHalfCpltCallback:00000000 $t /tmp/ccodHXtm.s:5051 .text.HAL_TIM_TriggerHalfCpltCallback:00000000 HAL_TIM_TriggerHalfCpltCallback /tmp/ccodHXtm.s:5066 .text.TIM_DMATriggerHalfCplt:00000000 $t /tmp/ccodHXtm.s:5098 .text.HAL_TIM_ErrorCallback:00000000 $t /tmp/ccodHXtm.s:5104 .text.HAL_TIM_ErrorCallback:00000000 HAL_TIM_ErrorCallback /tmp/ccodHXtm.s:5119 .text.TIM_DMAError:00000000 $t /tmp/ccodHXtm.s:5223 .text.HAL_TIM_Base_GetState:00000000 $t /tmp/ccodHXtm.s:5229 .text.HAL_TIM_Base_GetState:00000000 HAL_TIM_Base_GetState /tmp/ccodHXtm.s:5247 .text.HAL_TIM_OC_GetState:00000000 $t /tmp/ccodHXtm.s:5253 .text.HAL_TIM_OC_GetState:00000000 HAL_TIM_OC_GetState /tmp/ccodHXtm.s:5271 .text.HAL_TIM_PWM_GetState:00000000 $t /tmp/ccodHXtm.s:5277 .text.HAL_TIM_PWM_GetState:00000000 HAL_TIM_PWM_GetState /tmp/ccodHXtm.s:5295 .text.HAL_TIM_IC_GetState:00000000 $t /tmp/ccodHXtm.s:5301 .text.HAL_TIM_IC_GetState:00000000 HAL_TIM_IC_GetState /tmp/ccodHXtm.s:5319 .text.HAL_TIM_OnePulse_GetState:00000000 $t /tmp/ccodHXtm.s:5325 .text.HAL_TIM_OnePulse_GetState:00000000 HAL_TIM_OnePulse_GetState /tmp/ccodHXtm.s:5343 .text.HAL_TIM_Encoder_GetState:00000000 $t /tmp/ccodHXtm.s:5349 .text.HAL_TIM_Encoder_GetState:00000000 HAL_TIM_Encoder_GetState /tmp/ccodHXtm.s:5367 .text.HAL_TIM_GetActiveChannel:00000000 $t /tmp/ccodHXtm.s:5373 .text.HAL_TIM_GetActiveChannel:00000000 HAL_TIM_GetActiveChannel /tmp/ccodHXtm.s:5391 .text.HAL_TIM_GetChannelState:00000000 $t /tmp/ccodHXtm.s:5397 .text.HAL_TIM_GetChannelState:00000000 HAL_TIM_GetChannelState /tmp/ccodHXtm.s:5412 .text.HAL_TIM_GetChannelState:00000008 $d /tmp/ccodHXtm.s:5484 .text.HAL_TIM_DMABurstState:00000000 $t /tmp/ccodHXtm.s:5490 .text.HAL_TIM_DMABurstState:00000000 HAL_TIM_DMABurstState /tmp/ccodHXtm.s:5509 .text.TIM_Base_SetConfig:00000000 $t /tmp/ccodHXtm.s:5515 .text.TIM_Base_SetConfig:00000000 TIM_Base_SetConfig /tmp/ccodHXtm.s:5674 .text.TIM_Base_SetConfig:000000c4 $d /tmp/ccodHXtm.s:5679 .text.HAL_TIM_Base_Init:00000000 $t /tmp/ccodHXtm.s:5685 .text.HAL_TIM_Base_Init:00000000 HAL_TIM_Base_Init /tmp/ccodHXtm.s:5786 .text.HAL_TIM_OC_Init:00000000 $t /tmp/ccodHXtm.s:5792 .text.HAL_TIM_OC_Init:00000000 HAL_TIM_OC_Init /tmp/ccodHXtm.s:5893 .text.HAL_TIM_PWM_Init:00000000 $t /tmp/ccodHXtm.s:5899 .text.HAL_TIM_PWM_Init:00000000 HAL_TIM_PWM_Init /tmp/ccodHXtm.s:6000 .text.HAL_TIM_IC_Init:00000000 $t /tmp/ccodHXtm.s:6006 .text.HAL_TIM_IC_Init:00000000 HAL_TIM_IC_Init ARM GAS /tmp/ccodHXtm.s page 515 /tmp/ccodHXtm.s:6107 .text.HAL_TIM_OnePulse_Init:00000000 $t /tmp/ccodHXtm.s:6113 .text.HAL_TIM_OnePulse_Init:00000000 HAL_TIM_OnePulse_Init /tmp/ccodHXtm.s:6220 .text.HAL_TIM_Encoder_Init:00000000 $t /tmp/ccodHXtm.s:6226 .text.HAL_TIM_Encoder_Init:00000000 HAL_TIM_Encoder_Init /tmp/ccodHXtm.s:6439 .text.TIM_OC2_SetConfig:00000000 $t /tmp/ccodHXtm.s:6445 .text.TIM_OC2_SetConfig:00000000 TIM_OC2_SetConfig /tmp/ccodHXtm.s:6601 .text.TIM_OC2_SetConfig:00000088 $d /tmp/ccodHXtm.s:6606 .text.HAL_TIM_OC_ConfigChannel:00000000 $t /tmp/ccodHXtm.s:6612 .text.HAL_TIM_OC_ConfigChannel:00000000 HAL_TIM_OC_ConfigChannel /tmp/ccodHXtm.s:6644 .text.HAL_TIM_OC_ConfigChannel:0000001a $d /tmp/ccodHXtm.s:6778 .text.HAL_TIM_PWM_ConfigChannel:00000000 $t /tmp/ccodHXtm.s:6784 .text.HAL_TIM_PWM_ConfigChannel:00000000 HAL_TIM_PWM_ConfigChannel /tmp/ccodHXtm.s:6821 .text.HAL_TIM_PWM_ConfigChannel:00000020 $d /tmp/ccodHXtm.s:7109 .text.TIM_TI1_SetConfig:00000000 $t /tmp/ccodHXtm.s:7115 .text.TIM_TI1_SetConfig:00000000 TIM_TI1_SetConfig /tmp/ccodHXtm.s:7231 .text.TIM_TI1_SetConfig:00000064 $d /tmp/ccodHXtm.s:7237 .text.HAL_TIM_IC_ConfigChannel:00000000 $t /tmp/ccodHXtm.s:7243 .text.HAL_TIM_IC_ConfigChannel:00000000 HAL_TIM_IC_ConfigChannel /tmp/ccodHXtm.s:7281 .text.HAL_TIM_IC_ConfigChannel:0000001c $d /tmp/ccodHXtm.s:7468 .text.HAL_TIM_OnePulse_ConfigChannel:00000000 $t /tmp/ccodHXtm.s:7474 .text.HAL_TIM_OnePulse_ConfigChannel:00000000 HAL_TIM_OnePulse_ConfigChannel /tmp/ccodHXtm.s:7750 .text.TIM_ETR_SetConfig:00000000 $t /tmp/ccodHXtm.s:7756 .text.TIM_ETR_SetConfig:00000000 TIM_ETR_SetConfig /tmp/ccodHXtm.s:7800 .text.HAL_TIM_ConfigOCrefClear:00000000 $t /tmp/ccodHXtm.s:7806 .text.HAL_TIM_ConfigOCrefClear:00000000 HAL_TIM_ConfigOCrefClear /tmp/ccodHXtm.s:7972 .text.HAL_TIM_ConfigOCrefClear:000000f4 $d /tmp/ccodHXtm.s:8241 .text.HAL_TIM_ConfigOCrefClear:00000248 $d /tmp/ccodHXtm.s:8246 .text.HAL_TIM_ConfigClockSource:00000000 $t /tmp/ccodHXtm.s:8252 .text.HAL_TIM_ConfigClockSource:00000000 HAL_TIM_ConfigClockSource /tmp/ccodHXtm.s:8581 .text.HAL_TIM_ConfigClockSource:0000012c $d /tmp/ccodHXtm.s:8588 .text.TIM_SlaveTimer_SetConfig:00000000 $t /tmp/ccodHXtm.s:8593 .text.TIM_SlaveTimer_SetConfig:00000000 TIM_SlaveTimer_SetConfig /tmp/ccodHXtm.s:8940 .text.TIM_SlaveTimer_SetConfig:0000010c $d /tmp/ccodHXtm.s:8946 .text.HAL_TIM_SlaveConfigSynchro:00000000 $t /tmp/ccodHXtm.s:8952 .text.HAL_TIM_SlaveConfigSynchro:00000000 HAL_TIM_SlaveConfigSynchro /tmp/ccodHXtm.s:9040 .text.HAL_TIM_SlaveConfigSynchro_IT:00000000 $t /tmp/ccodHXtm.s:9046 .text.HAL_TIM_SlaveConfigSynchro_IT:00000000 HAL_TIM_SlaveConfigSynchro_IT /tmp/ccodHXtm.s:9134 .text.TIM_CCxChannelCmd:00000000 $t /tmp/ccodHXtm.s:9140 .text.TIM_CCxChannelCmd:00000000 TIM_CCxChannelCmd /tmp/ccodHXtm.s:9180 .text.HAL_TIM_OC_Start:00000000 $t /tmp/ccodHXtm.s:9186 .text.HAL_TIM_OC_Start:00000000 HAL_TIM_OC_Start /tmp/ccodHXtm.s:9207 .text.HAL_TIM_OC_Start:0000000c $d /tmp/ccodHXtm.s:9242 .text.HAL_TIM_OC_Start:00000038 $d /tmp/ccodHXtm.s:9448 .text.HAL_TIM_OC_Start:00000158 $d /tmp/ccodHXtm.s:9454 .text.HAL_TIM_OC_Stop:00000000 $t /tmp/ccodHXtm.s:9460 .text.HAL_TIM_OC_Stop:00000000 HAL_TIM_OC_Stop /tmp/ccodHXtm.s:9548 .text.HAL_TIM_OC_Stop:00000078 $d /tmp/ccodHXtm.s:9604 .text.HAL_TIM_OC_Stop:000000bc $d /tmp/ccodHXtm.s:9609 .text.HAL_TIM_OC_Start_IT:00000000 $t /tmp/ccodHXtm.s:9615 .text.HAL_TIM_OC_Start_IT:00000000 HAL_TIM_OC_Start_IT /tmp/ccodHXtm.s:9638 .text.HAL_TIM_OC_Start_IT:0000000c $d /tmp/ccodHXtm.s:9673 .text.HAL_TIM_OC_Start_IT:0000003a $d /tmp/ccodHXtm.s:9882 .text.HAL_TIM_OC_Start_IT:00000164 $d /tmp/ccodHXtm.s:9896 .text.HAL_TIM_OC_Start_IT:00000198 $t /tmp/ccodHXtm.s:9946 .text.HAL_TIM_OC_Start_IT:000001c4 $d /tmp/ccodHXtm.s:9952 .text.HAL_TIM_OC_Stop_IT:00000000 $t /tmp/ccodHXtm.s:9958 .text.HAL_TIM_OC_Stop_IT:00000000 HAL_TIM_OC_Stop_IT ARM GAS /tmp/ccodHXtm.s page 516 /tmp/ccodHXtm.s:9983 .text.HAL_TIM_OC_Stop_IT:00000010 $d /tmp/ccodHXtm.s:10079 .text.HAL_TIM_OC_Stop_IT:0000009c $d /tmp/ccodHXtm.s:10176 .text.HAL_TIM_OC_Stop_IT:00000114 $d /tmp/ccodHXtm.s:10181 .text.HAL_TIM_OC_Start_DMA:00000000 $t /tmp/ccodHXtm.s:10187 .text.HAL_TIM_OC_Start_DMA:00000000 HAL_TIM_OC_Start_DMA /tmp/ccodHXtm.s:10215 .text.HAL_TIM_OC_Start_DMA:00000010 $d /tmp/ccodHXtm.s:10253 .text.HAL_TIM_OC_Start_DMA:0000003e $d /tmp/ccodHXtm.s:10361 .text.HAL_TIM_OC_Start_DMA:000000ca $d /tmp/ccodHXtm.s:10378 .text.HAL_TIM_OC_Start_DMA:000000ec $t /tmp/ccodHXtm.s:10693 .text.HAL_TIM_OC_Start_DMA:00000298 $d /tmp/ccodHXtm.s:10707 .text.HAL_TIM_OC_Start_DMA:000002cc $t /tmp/ccodHXtm.s:10783 .text.HAL_TIM_OC_Start_DMA:00000314 $d /tmp/ccodHXtm.s:10792 .text.HAL_TIM_OC_Stop_DMA:00000000 $t /tmp/ccodHXtm.s:10798 .text.HAL_TIM_OC_Stop_DMA:00000000 HAL_TIM_OC_Stop_DMA /tmp/ccodHXtm.s:10823 .text.HAL_TIM_OC_Stop_DMA:00000010 $d /tmp/ccodHXtm.s:10922 .text.HAL_TIM_OC_Stop_DMA:000000a2 $d /tmp/ccodHXtm.s:11041 .text.HAL_TIM_OC_Stop_DMA:0000012c $d /tmp/ccodHXtm.s:11046 .text.HAL_TIM_PWM_Start:00000000 $t /tmp/ccodHXtm.s:11052 .text.HAL_TIM_PWM_Start:00000000 HAL_TIM_PWM_Start /tmp/ccodHXtm.s:11073 .text.HAL_TIM_PWM_Start:0000000c $d /tmp/ccodHXtm.s:11108 .text.HAL_TIM_PWM_Start:00000038 $d /tmp/ccodHXtm.s:11314 .text.HAL_TIM_PWM_Start:00000158 $d /tmp/ccodHXtm.s:11320 .text.HAL_TIM_PWM_Stop:00000000 $t /tmp/ccodHXtm.s:11326 .text.HAL_TIM_PWM_Stop:00000000 HAL_TIM_PWM_Stop /tmp/ccodHXtm.s:11414 .text.HAL_TIM_PWM_Stop:00000078 $d /tmp/ccodHXtm.s:11470 .text.HAL_TIM_PWM_Stop:000000bc $d /tmp/ccodHXtm.s:11475 .text.HAL_TIM_PWM_Start_IT:00000000 $t /tmp/ccodHXtm.s:11481 .text.HAL_TIM_PWM_Start_IT:00000000 HAL_TIM_PWM_Start_IT /tmp/ccodHXtm.s:11504 .text.HAL_TIM_PWM_Start_IT:0000000c $d /tmp/ccodHXtm.s:11539 .text.HAL_TIM_PWM_Start_IT:0000003a $d /tmp/ccodHXtm.s:11748 .text.HAL_TIM_PWM_Start_IT:00000164 $d /tmp/ccodHXtm.s:11762 .text.HAL_TIM_PWM_Start_IT:00000198 $t /tmp/ccodHXtm.s:11812 .text.HAL_TIM_PWM_Start_IT:000001c4 $d /tmp/ccodHXtm.s:11818 .text.HAL_TIM_PWM_Stop_IT:00000000 $t /tmp/ccodHXtm.s:11824 .text.HAL_TIM_PWM_Stop_IT:00000000 HAL_TIM_PWM_Stop_IT /tmp/ccodHXtm.s:11849 .text.HAL_TIM_PWM_Stop_IT:00000010 $d /tmp/ccodHXtm.s:11945 .text.HAL_TIM_PWM_Stop_IT:0000009c $d /tmp/ccodHXtm.s:12042 .text.HAL_TIM_PWM_Stop_IT:00000114 $d /tmp/ccodHXtm.s:12047 .text.HAL_TIM_PWM_Start_DMA:00000000 $t /tmp/ccodHXtm.s:12053 .text.HAL_TIM_PWM_Start_DMA:00000000 HAL_TIM_PWM_Start_DMA /tmp/ccodHXtm.s:12081 .text.HAL_TIM_PWM_Start_DMA:00000010 $d /tmp/ccodHXtm.s:12119 .text.HAL_TIM_PWM_Start_DMA:0000003e $d /tmp/ccodHXtm.s:12227 .text.HAL_TIM_PWM_Start_DMA:000000ca $d /tmp/ccodHXtm.s:12244 .text.HAL_TIM_PWM_Start_DMA:000000ec $t /tmp/ccodHXtm.s:12559 .text.HAL_TIM_PWM_Start_DMA:00000298 $d /tmp/ccodHXtm.s:12573 .text.HAL_TIM_PWM_Start_DMA:000002cc $t /tmp/ccodHXtm.s:12649 .text.HAL_TIM_PWM_Start_DMA:00000314 $d /tmp/ccodHXtm.s:12658 .text.HAL_TIM_PWM_Stop_DMA:00000000 $t /tmp/ccodHXtm.s:12664 .text.HAL_TIM_PWM_Stop_DMA:00000000 HAL_TIM_PWM_Stop_DMA /tmp/ccodHXtm.s:12689 .text.HAL_TIM_PWM_Stop_DMA:00000010 $d /tmp/ccodHXtm.s:12788 .text.HAL_TIM_PWM_Stop_DMA:000000a2 $d /tmp/ccodHXtm.s:12907 .text.HAL_TIM_PWM_Stop_DMA:0000012c $d /tmp/ccodHXtm.s:12912 .text.HAL_TIM_IC_Start:00000000 $t /tmp/ccodHXtm.s:12918 .text.HAL_TIM_IC_Start:00000000 HAL_TIM_IC_Start /tmp/ccodHXtm.s:12938 .text.HAL_TIM_IC_Start:0000000c $d /tmp/ccodHXtm.s:12986 .text.HAL_TIM_IC_Start:00000040 $d /tmp/ccodHXtm.s:13209 .text.HAL_TIM_IC_Start:00000154 $d ARM GAS /tmp/ccodHXtm.s page 517 /tmp/ccodHXtm.s:13215 .text.HAL_TIM_IC_Stop:00000000 $t /tmp/ccodHXtm.s:13221 .text.HAL_TIM_IC_Stop:00000000 HAL_TIM_IC_Stop /tmp/ccodHXtm.s:13269 .text.HAL_TIM_IC_Stop:00000034 $d /tmp/ccodHXtm.s:13354 .text.HAL_TIM_IC_Start_IT:00000000 $t /tmp/ccodHXtm.s:13360 .text.HAL_TIM_IC_Start_IT:00000000 HAL_TIM_IC_Start_IT /tmp/ccodHXtm.s:13382 .text.HAL_TIM_IC_Start_IT:0000000c $d /tmp/ccodHXtm.s:13429 .text.HAL_TIM_IC_Start_IT:00000040 $d /tmp/ccodHXtm.s:13539 .text.HAL_TIM_IC_Start_IT:000000c2 $d /tmp/ccodHXtm.s:13723 .text.HAL_TIM_IC_Start_IT:00000198 $d /tmp/ccodHXtm.s:13729 .text.HAL_TIM_IC_Stop_IT:00000000 $t /tmp/ccodHXtm.s:13735 .text.HAL_TIM_IC_Stop_IT:00000000 HAL_TIM_IC_Stop_IT /tmp/ccodHXtm.s:13760 .text.HAL_TIM_IC_Stop_IT:0000000e $d /tmp/ccodHXtm.s:13816 .text.HAL_TIM_IC_Stop_IT:00000056 $d /tmp/ccodHXtm.s:13939 .text.HAL_TIM_IC_Start_DMA:00000000 $t /tmp/ccodHXtm.s:13945 .text.HAL_TIM_IC_Start_DMA:00000000 HAL_TIM_IC_Start_DMA /tmp/ccodHXtm.s:13975 .text.HAL_TIM_IC_Start_DMA:00000014 $d /tmp/ccodHXtm.s:14038 .text.HAL_TIM_IC_Start_DMA:00000068 $d /tmp/ccodHXtm.s:14164 .text.HAL_TIM_IC_Start_DMA:000000fa $d /tmp/ccodHXtm.s:14502 .text.HAL_TIM_IC_Start_DMA:00000280 $d /tmp/ccodHXtm.s:14511 .text.HAL_TIM_IC_Stop_DMA:00000000 $t /tmp/ccodHXtm.s:14517 .text.HAL_TIM_IC_Stop_DMA:00000000 HAL_TIM_IC_Stop_DMA /tmp/ccodHXtm.s:14550 .text.HAL_TIM_IC_Stop_DMA:00000016 $d /tmp/ccodHXtm.s:14601 .text.HAL_TIM_IC_Stop_DMA:0000005a $d /tmp/ccodHXtm.s:14736 .text.HAL_TIM_OnePulse_Start:00000000 $t /tmp/ccodHXtm.s:14742 .text.HAL_TIM_OnePulse_Start:00000000 HAL_TIM_OnePulse_Start /tmp/ccodHXtm.s:14878 .text.HAL_TIM_OnePulse_Start:00000094 $d /tmp/ccodHXtm.s:14883 .text.HAL_TIM_OnePulse_Stop:00000000 $t /tmp/ccodHXtm.s:14889 .text.HAL_TIM_OnePulse_Stop:00000000 HAL_TIM_OnePulse_Stop /tmp/ccodHXtm.s:14996 .text.HAL_TIM_OnePulse_Stop:00000090 $d /tmp/ccodHXtm.s:15001 .text.HAL_TIM_OnePulse_Start_IT:00000000 $t /tmp/ccodHXtm.s:15007 .text.HAL_TIM_OnePulse_Start_IT:00000000 HAL_TIM_OnePulse_Start_IT /tmp/ccodHXtm.s:15156 .text.HAL_TIM_OnePulse_Start_IT:000000ac $d /tmp/ccodHXtm.s:15161 .text.HAL_TIM_OnePulse_Stop_IT:00000000 $t /tmp/ccodHXtm.s:15167 .text.HAL_TIM_OnePulse_Stop_IT:00000000 HAL_TIM_OnePulse_Stop_IT /tmp/ccodHXtm.s:15284 .text.HAL_TIM_OnePulse_Stop_IT:000000a4 $d /tmp/ccodHXtm.s:15289 .text.HAL_TIM_Encoder_Start:00000000 $t /tmp/ccodHXtm.s:15295 .text.HAL_TIM_Encoder_Start:00000000 HAL_TIM_Encoder_Start /tmp/ccodHXtm.s:15516 .text.HAL_TIM_Encoder_Stop:00000000 $t /tmp/ccodHXtm.s:15522 .text.HAL_TIM_Encoder_Stop:00000000 HAL_TIM_Encoder_Stop /tmp/ccodHXtm.s:15651 .text.HAL_TIM_Encoder_Start_IT:00000000 $t /tmp/ccodHXtm.s:15657 .text.HAL_TIM_Encoder_Start_IT:00000000 HAL_TIM_Encoder_Start_IT /tmp/ccodHXtm.s:15899 .text.HAL_TIM_Encoder_Stop_IT:00000000 $t /tmp/ccodHXtm.s:15905 .text.HAL_TIM_Encoder_Stop_IT:00000000 HAL_TIM_Encoder_Stop_IT /tmp/ccodHXtm.s:16055 .text.HAL_TIM_Encoder_Start_DMA:00000000 $t /tmp/ccodHXtm.s:16061 .text.HAL_TIM_Encoder_Start_DMA:00000000 HAL_TIM_Encoder_Start_DMA /tmp/ccodHXtm.s:16596 .text.HAL_TIM_Encoder_Start_DMA:00000258 $d /tmp/ccodHXtm.s:16603 .text.HAL_TIM_Encoder_Stop_DMA:00000000 $t /tmp/ccodHXtm.s:16609 .text.HAL_TIM_Encoder_Stop_DMA:00000000 HAL_TIM_Encoder_Stop_DMA /tmp/ccodHXtm.s:3884 .text.HAL_TIM_ReadCapturedValue:00000015 $d /tmp/ccodHXtm.s:3884 .text.HAL_TIM_ReadCapturedValue:00000016 $t /tmp/ccodHXtm.s:5429 .text.HAL_TIM_GetChannelState:00000019 $d /tmp/ccodHXtm.s:5429 .text.HAL_TIM_GetChannelState:0000001a $t /tmp/ccodHXtm.s:6665 .text.HAL_TIM_OC_ConfigChannel:0000002f $d /tmp/ccodHXtm.s:6665 .text.HAL_TIM_OC_ConfigChannel:00000030 $t /tmp/ccodHXtm.s:6842 .text.HAL_TIM_PWM_ConfigChannel:00000035 $d /tmp/ccodHXtm.s:6842 .text.HAL_TIM_PWM_ConfigChannel:00000036 $t /tmp/ccodHXtm.s:7294 .text.HAL_TIM_IC_ConfigChannel:00000029 $d ARM GAS /tmp/ccodHXtm.s page 518 /tmp/ccodHXtm.s:7294 .text.HAL_TIM_IC_ConfigChannel:0000002a $t /tmp/ccodHXtm.s:7994 .text.HAL_TIM_ConfigOCrefClear:00000109 $d /tmp/ccodHXtm.s:7994 .text.HAL_TIM_ConfigOCrefClear:0000010a $t /tmp/ccodHXtm.s:9224 .text.HAL_TIM_OC_Start:0000001d $d /tmp/ccodHXtm.s:9224 .text.HAL_TIM_OC_Start:0000001e $t /tmp/ccodHXtm.s:9259 .text.HAL_TIM_OC_Start:00000049 $d /tmp/ccodHXtm.s:9259 .text.HAL_TIM_OC_Start:0000004a $t /tmp/ccodHXtm.s:9565 .text.HAL_TIM_OC_Stop:00000089 $d /tmp/ccodHXtm.s:9565 .text.HAL_TIM_OC_Stop:0000008a $t /tmp/ccodHXtm.s:9655 .text.HAL_TIM_OC_Start_IT:0000001d $d /tmp/ccodHXtm.s:9655 .text.HAL_TIM_OC_Start_IT:0000001e $t /tmp/ccodHXtm.s:9690 .text.HAL_TIM_OC_Start_IT:0000004b $d /tmp/ccodHXtm.s:9690 .text.HAL_TIM_OC_Start_IT:0000004c $t /tmp/ccodHXtm.s:9996 .text.HAL_TIM_OC_Stop_IT:0000001d $d /tmp/ccodHXtm.s:9996 .text.HAL_TIM_OC_Stop_IT:0000001e $t /tmp/ccodHXtm.s:10097 .text.HAL_TIM_OC_Stop_IT:000000ad $d /tmp/ccodHXtm.s:10097 .text.HAL_TIM_OC_Stop_IT:000000ae $t /tmp/ccodHXtm.s:10232 .text.HAL_TIM_OC_Start_DMA:00000021 $d /tmp/ccodHXtm.s:10232 .text.HAL_TIM_OC_Start_DMA:00000022 $t /tmp/ccodHXtm.s:10271 .text.HAL_TIM_OC_Start_DMA:0000004f $d /tmp/ccodHXtm.s:10271 .text.HAL_TIM_OC_Start_DMA:00000050 $t /tmp/ccodHXtm.s:10836 .text.HAL_TIM_OC_Stop_DMA:0000001d $d /tmp/ccodHXtm.s:10836 .text.HAL_TIM_OC_Stop_DMA:0000001e $t /tmp/ccodHXtm.s:10940 .text.HAL_TIM_OC_Stop_DMA:000000b3 $d /tmp/ccodHXtm.s:10940 .text.HAL_TIM_OC_Stop_DMA:000000b4 $t /tmp/ccodHXtm.s:11090 .text.HAL_TIM_PWM_Start:0000001d $d /tmp/ccodHXtm.s:11090 .text.HAL_TIM_PWM_Start:0000001e $t /tmp/ccodHXtm.s:11125 .text.HAL_TIM_PWM_Start:00000049 $d /tmp/ccodHXtm.s:11125 .text.HAL_TIM_PWM_Start:0000004a $t /tmp/ccodHXtm.s:11431 .text.HAL_TIM_PWM_Stop:00000089 $d /tmp/ccodHXtm.s:11431 .text.HAL_TIM_PWM_Stop:0000008a $t /tmp/ccodHXtm.s:11521 .text.HAL_TIM_PWM_Start_IT:0000001d $d /tmp/ccodHXtm.s:11521 .text.HAL_TIM_PWM_Start_IT:0000001e $t /tmp/ccodHXtm.s:11556 .text.HAL_TIM_PWM_Start_IT:0000004b $d /tmp/ccodHXtm.s:11556 .text.HAL_TIM_PWM_Start_IT:0000004c $t /tmp/ccodHXtm.s:11862 .text.HAL_TIM_PWM_Stop_IT:0000001d $d /tmp/ccodHXtm.s:11862 .text.HAL_TIM_PWM_Stop_IT:0000001e $t /tmp/ccodHXtm.s:11963 .text.HAL_TIM_PWM_Stop_IT:000000ad $d /tmp/ccodHXtm.s:11963 .text.HAL_TIM_PWM_Stop_IT:000000ae $t /tmp/ccodHXtm.s:12098 .text.HAL_TIM_PWM_Start_DMA:00000021 $d /tmp/ccodHXtm.s:12098 .text.HAL_TIM_PWM_Start_DMA:00000022 $t /tmp/ccodHXtm.s:12137 .text.HAL_TIM_PWM_Start_DMA:0000004f $d /tmp/ccodHXtm.s:12137 .text.HAL_TIM_PWM_Start_DMA:00000050 $t /tmp/ccodHXtm.s:12702 .text.HAL_TIM_PWM_Stop_DMA:0000001d $d /tmp/ccodHXtm.s:12702 .text.HAL_TIM_PWM_Stop_DMA:0000001e $t /tmp/ccodHXtm.s:12806 .text.HAL_TIM_PWM_Stop_DMA:000000b3 $d /tmp/ccodHXtm.s:12806 .text.HAL_TIM_PWM_Stop_DMA:000000b4 $t /tmp/ccodHXtm.s:12955 .text.HAL_TIM_IC_Start:0000001d $d /tmp/ccodHXtm.s:12955 .text.HAL_TIM_IC_Start:0000001e $t /tmp/ccodHXtm.s:13003 .text.HAL_TIM_IC_Start:00000051 $d /tmp/ccodHXtm.s:13003 .text.HAL_TIM_IC_Start:00000052 $t /tmp/ccodHXtm.s:13286 .text.HAL_TIM_IC_Stop:00000045 $d /tmp/ccodHXtm.s:13286 .text.HAL_TIM_IC_Stop:00000046 $t /tmp/ccodHXtm.s:13399 .text.HAL_TIM_IC_Start_IT:0000001d $d /tmp/ccodHXtm.s:13399 .text.HAL_TIM_IC_Start_IT:0000001e $t /tmp/ccodHXtm.s:13447 .text.HAL_TIM_IC_Start_IT:00000051 $d /tmp/ccodHXtm.s:13447 .text.HAL_TIM_IC_Start_IT:00000052 $t ARM GAS /tmp/ccodHXtm.s page 519 /tmp/ccodHXtm.s:13552 .text.HAL_TIM_IC_Start_IT:000000cf $d /tmp/ccodHXtm.s:13552 .text.HAL_TIM_IC_Start_IT:000000d0 $t /tmp/ccodHXtm.s:13773 .text.HAL_TIM_IC_Stop_IT:0000001b $d /tmp/ccodHXtm.s:13773 .text.HAL_TIM_IC_Stop_IT:0000001c $t /tmp/ccodHXtm.s:13834 .text.HAL_TIM_IC_Stop_IT:00000067 $d /tmp/ccodHXtm.s:13834 .text.HAL_TIM_IC_Stop_IT:00000068 $t /tmp/ccodHXtm.s:13992 .text.HAL_TIM_IC_Start_DMA:00000025 $d /tmp/ccodHXtm.s:13992 .text.HAL_TIM_IC_Start_DMA:00000026 $t /tmp/ccodHXtm.s:14056 .text.HAL_TIM_IC_Start_DMA:00000079 $d /tmp/ccodHXtm.s:14056 .text.HAL_TIM_IC_Start_DMA:0000007a $t /tmp/ccodHXtm.s:14178 .text.HAL_TIM_IC_Start_DMA:00000107 $d /tmp/ccodHXtm.s:14178 .text.HAL_TIM_IC_Start_DMA:00000108 $t /tmp/ccodHXtm.s:14563 .text.HAL_TIM_IC_Stop_DMA:00000023 $d /tmp/ccodHXtm.s:14563 .text.HAL_TIM_IC_Stop_DMA:00000024 $t /tmp/ccodHXtm.s:14618 .text.HAL_TIM_IC_Stop_DMA:0000006b $d /tmp/ccodHXtm.s:14618 .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