Files
squeow/squeow_sw/build/stm32g4xx_hal_tim_ex.lst
2025-06-28 00:58:29 +02:00

13915 lines
863 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
ARM GAS /tmp/ccqCLCUn.s page 1
1 .cpu cortex-m4
2 .arch armv7e-m
3 .fpu fpv4-sp-d16
4 .eabi_attribute 27, 1
5 .eabi_attribute 28, 1
6 .eabi_attribute 20, 1
7 .eabi_attribute 21, 1
8 .eabi_attribute 23, 3
9 .eabi_attribute 24, 1
10 .eabi_attribute 25, 1
11 .eabi_attribute 26, 1
12 .eabi_attribute 30, 1
13 .eabi_attribute 34, 1
14 .eabi_attribute 18, 4
15 .file "stm32g4xx_hal_tim_ex.c"
16 .text
17 .Ltext0:
18 .cfi_sections .debug_frame
19 .file 1 "Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c"
20 .section .text.TIM_CCxNChannelCmd,"ax",%progbits
21 .align 1
22 .syntax unified
23 .thumb
24 .thumb_func
26 TIM_CCxNChannelCmd:
27 .LVL0:
28 .LFB397:
1:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
2:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ******************************************************************************
3:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @file stm32g4xx_hal_tim_ex.c
4:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @author MCD Application Team
5:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief TIM HAL module driver.
6:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This file provides firmware functions to manage the following
7:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * functionalities of the Timer Extended peripheral:
8:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * + Time Hall Sensor Interface Initialization
9:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * + Time Hall Sensor Interface Start
10:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * + Time Complementary signal break and dead time configuration
11:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * + Time Master and Slave synchronization configuration
12:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * + Time Output Compare/PWM Channel Configuration (for channels 5 and 6)
13:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * + Time OCRef clear configuration
14:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * + Timer remapping capabilities configuration
15:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * + Timer encoder index configuration
16:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ******************************************************************************
17:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @attention
18:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
19:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * Copyright (c) 2019 STMicroelectronics.
20:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * All rights reserved.
21:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
22:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This software is licensed under terms that can be found in the LICENSE file
23:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * in the root directory of this software component.
24:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
25:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
26:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ******************************************************************************
27:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim
28:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
29:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### TIMER Extended features #####
30:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
ARM GAS /tmp/ccqCLCUn.s page 2
31:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..]
32:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** The Timer Extended features include:
33:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Complementary outputs with programmable dead-time for :
34:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) Output Compare
35:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) PWM generation (Edge and Center-aligned Mode)
36:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) One-pulse mode output
37:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Synchronization circuit to control the timer with external signals and to
38:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** interconnect several timers together.
39:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Break input to put the timer output signals in reset state or in a known state.
40:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Supports incremental (quadrature) encoder and hall-sensor circuitry for
41:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** positioning purposes
42:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) In case of Pulse on compare, configure pulse length and delay
43:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Encoder index configuration
44:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
45:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### How to use this driver #####
46:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
47:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..]
48:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Initialize the TIM low level resources by implementing the following functions
49:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** depending on the selected feature:
50:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) Hall Sensor output : HAL_TIMEx_HallSensor_MspInit()
51:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
52:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Initialize the TIM low level resources :
53:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (##) Enable the TIM interface clock using __HAL_RCC_TIMx_CLK_ENABLE();
54:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (##) TIM pins configuration
55:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+++) Enable the clock for the TIM GPIOs using the following function:
56:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_RCC_GPIOx_CLK_ENABLE();
57:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+++) Configure these TIM pins in Alternate function mode using HAL_GPIO_Init();
58:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
59:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) The external Clock can be configured, if needed (the default clock is the
60:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** internal clock from the APBx), using the following function:
61:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ConfigClockSource, the clock configuration should be done before
62:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** any start function.
63:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
64:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Configure the TIM in the desired functioning mode using one of the
65:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** initialization function of this driver:
66:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) HAL_TIMEx_HallSensor_Init() and HAL_TIMEx_ConfigCommutEvent(): to use the
67:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Timer Hall Sensor Interface and the commutation event with the corresponding
68:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Interrupt and DMA request if needed (Note that One Timer is used to interface
69:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** with the Hall sensor Interface and another Timer should be used to use
70:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the commutation event).
71:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) In case of Pulse On Compare:
72:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) HAL_TIMEx_OC_ConfigPulseOnCompare(): to configure pulse width and prescaler
73:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
74:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
75:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Activate the TIM peripheral using one of the start functions:
76:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) Complementary Output Compare : HAL_TIMEx_OCN_Start(), HAL_TIMEx_OCN_Start_DMA(),
77:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIMEx_OCN_Start_IT()
78:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) Complementary PWM generation : HAL_TIMEx_PWMN_Start(), HAL_TIMEx_PWMN_Start_DMA(),
79:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIMEx_PWMN_Start_IT()
80:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) Complementary One-pulse mode output : HAL_TIMEx_OnePulseN_Start(), HAL_TIMEx_OnePul
81:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) Hall Sensor output : HAL_TIMEx_HallSensor_Start(), HAL_TIMEx_HallSensor_Start_DMA()
82:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIMEx_HallSensor_Start_IT().
83:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
84:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim
85:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ******************************************************************************
86:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
87:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 3
88:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Includes ------------------------------------------------------------------*/
89:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #include "stm32g4xx_hal.h"
90:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
91:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @addtogroup STM32G4xx_HAL_Driver
92:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{
93:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
94:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
95:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx TIMEx
96:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief TIM Extended HAL module driver
97:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{
98:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
99:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #ifdef HAL_TIM_MODULE_ENABLED
101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Private typedef -----------------------------------------------------------*/
103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Private define ------------------------------------------------------------*/
104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Private constants ---------------------------------------------------------*/
105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Private_Constants TIM Extended Private Constants
106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{
107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Timeout for break input rearm */
109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #define TIM_BREAKINPUT_REARM_TIMEOUT 5UL /* 5 milliseconds */
110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @}
112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* End of private constants --------------------------------------------------*/
114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Private macros ------------------------------------------------------------*/
116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Private variables ---------------------------------------------------------*/
117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Private function prototypes -----------------------------------------------*/
118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** static void TIM_DMADelayPulseNCplt(DMA_HandleTypeDef *hdma);
119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** static void TIM_DMAErrorCCxN(DMA_HandleTypeDef *hdma);
120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** static void TIM_CCxNChannelCmd(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ChannelNState);
121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Exported functions --------------------------------------------------------*/
123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions TIM Extended Exported Functions
124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{
125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group1 Extended Timer Hall Sensor functions
128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Timer Hall Sensor functions
129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim
131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Timer Hall Sensor functions #####
133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..]
135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** This section provides functions allowing to:
136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Initialize and configure TIM HAL Sensor.
137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) De-initialize TIM HAL Sensor.
138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Hall Sensor Interface.
139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Hall Sensor Interface.
140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Hall Sensor Interface and enable interrupts.
141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Hall Sensor Interface and disable interrupts.
142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Hall Sensor Interface and enable DMA transfers.
143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Hall Sensor Interface and disable DMA transfers.
144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 4
145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim
146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{
147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Initializes the TIM Hall Sensor Interface and initialize the associated handle.
150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note When the timer instance is initialized in Hall Sensor Interface mode,
151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * timer channels 1 and channel 2 are reserved and cannot be used for
152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * other purpose.
153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param sConfig TIM Hall Sensor configuration structure
155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Init(TIM_HandleTypeDef *htim, const TIM_HallSensor_InitTypeD
158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_OC_InitTypeDef OC_Config;
160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM handle allocation */
162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (htim == NULL)
163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance));
169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode));
170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision));
171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload));
172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_IC_POLARITY(sConfig->IC1Polarity));
173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_PERIOD(htim, htim->Init.Period));
174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->IC1Prescaler));
175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_IC_FILTER(sConfig->IC1Filter));
176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (htim->State == HAL_TIM_STATE_RESET)
178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Allocate lock resource and initialize it */
180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Lock = HAL_UNLOCKED;
181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset interrupt callbacks to legacy week callbacks */
184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ResetCallback(htim);
185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (htim->HallSensor_MspInitCallback == NULL)
187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->HallSensor_MspInitCallback = HAL_TIMEx_HallSensor_MspInit;
189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */
191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->HallSensor_MspInitCallback(htim);
192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else
193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC and DMA */
194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIMEx_HallSensor_MspInit(htim);
195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM state */
199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_BUSY;
200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Configure the Time base in the Encoder Mode */
ARM GAS /tmp/ccqCLCUn.s page 5
202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_Base_SetConfig(htim->Instance, &htim->Init);
203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Configure the Channel 1 as Input Channel to interface with the three Outputs of the Hall sens
205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_TI1_SetConfig(htim->Instance, sConfig->IC1Polarity, TIM_ICSELECTION_TRC, sConfig->IC1Filter);
206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the IC1PSC Bits */
208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CCMR1 &= ~TIM_CCMR1_IC1PSC;
209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the IC1PSC value */
210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CCMR1 |= sConfig->IC1Prescaler;
211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Hall sensor interface (XOR function of the three inputs) */
213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_CR2_TI1S;
214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TIM_TS_TI1F_ED signal as Input trigger for the TIM */
216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS;
217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_TS_TI1F_ED;
218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Use the TIM_TS_TI1F_ED signal to reset the TIM counter each edge detection */
220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR &= ~TIM_SMCR_SMS;
221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_RESET;
222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Program channel 2 in PWM 2 mode with the desired Commutation_Delay*/
224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCFastMode = TIM_OCFAST_DISABLE;
225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCIdleState = TIM_OCIDLESTATE_RESET;
226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCMode = TIM_OCMODE_PWM2;
227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCNIdleState = TIM_OCNIDLESTATE_RESET;
228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCNPolarity = TIM_OCNPOLARITY_HIGH;
229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCPolarity = TIM_OCPOLARITY_HIGH;
230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.Pulse = sConfig->Commutation_Delay;
231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_OC2_SetConfig(htim->Instance, &OC_Config);
233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select OC2REF as trigger output on TRGO: write the MMS bits in the TIMx_CR2
235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** register to 101 */
236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 &= ~TIM_CR2_MMS;
237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_TRGO_OC2REF;
238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Initialize the DMA burst operation state */
240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY;
241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Initialize the TIM channels state */
243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Initialize the TIM state*/
249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY;
250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief DeInitializes the TIM Hall Sensor interface
256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
ARM GAS /tmp/ccqCLCUn.s page 6
259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_DeInit(TIM_HandleTypeDef *htim)
260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INSTANCE(htim->Instance));
263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_BUSY;
265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Peripheral Clock */
267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (htim->HallSensor_MspDeInitCallback == NULL)
271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->HallSensor_MspDeInitCallback = HAL_TIMEx_HallSensor_MspDeInit;
273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* DeInit the low level hardware */
275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->HallSensor_MspDeInitCallback(htim);
276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else
277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC */
278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIMEx_HallSensor_MspDeInit(htim);
279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the DMA burst operation state */
282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_RESET;
283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the TIM channels state */
285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET);
286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET);
287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET);
288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET);
289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change TIM state */
291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_RESET;
292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Release Lock */
294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Initializes the TIM Hall Sensor MSP.
301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_HallSensor_MspInit(TIM_HandleTypeDef *htim)
305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim);
308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_HallSensor_MspInit could be implemented in the user file
311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief DeInitializes TIM Hall Sensor MSP.
ARM GAS /tmp/ccqCLCUn.s page 7
316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_HallSensor_MspDeInit(TIM_HandleTypeDef *htim)
320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim);
323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_HallSensor_MspDeInit could be implemented in the user file
326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM Hall Sensor Interface.
331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start(TIM_HandleTypeDef *htim)
335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance));
344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM channels state */
346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */
355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Input Capture channel 1
361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (in the Hall Sensor Interface the three possible channels that can be used are TIM_CHANNEL_1,
362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_2 and TIM_CHANNEL_3) */
363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE);
364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
ARM GAS /tmp/ccqCLCUn.s page 8
373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM Hall sensor Interface.
385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop(TIM_HandleTypeDef *htim)
389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance));
392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Input Capture channels 1, 2 and 3
394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (in the Hall Sensor Interface the three possible channels that can be used are TIM_CHANNEL_1,
395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_2 and TIM_CHANNEL_3) */
396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE);
397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */
399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */
402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM Hall Sensor Interface in interrupt mode.
413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start_IT(TIM_HandleTypeDef *htim)
417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance));
426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM channels state */
428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
ARM GAS /tmp/ccqCLCUn.s page 9
430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */
437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the capture compare Interrupts 1 event */
443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1);
444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Input Capture channel 1
446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (in the Hall Sensor Interface the three possible channels that can be used are TIM_CHANNEL_1,
447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_2 and TIM_CHANNEL_3) */
448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE);
449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM Hall Sensor Interface in interrupt mode.
470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_IT(TIM_HandleTypeDef *htim)
474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance));
477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Input Capture channel 1
479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (in the Hall Sensor Interface the three possible channels that can be used are TIM_CHANNEL_1,
480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_2 and TIM_CHANNEL_3) */
481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE);
482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the capture compare Interrupts event */
484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1);
485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */
ARM GAS /tmp/ccqCLCUn.s page 10
487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */
490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM Hall Sensor Interface in DMA mode.
501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param pData The destination Buffer address.
503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Length The length of data to be transferred from TIM peripheral to memory.
504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start_DMA(TIM_HandleTypeDef *htim, uint32_t *pData, uint16_t
507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance));
514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channel state */
516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY)
517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY))
518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_BUSY;
520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if ((channel_1_state == HAL_TIM_CHANNEL_STATE_READY)
522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY))
523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((pData == NULL) || (Length == 0U))
525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Input Capture channel 1
540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (in the Hall Sensor Interface the three possible channels that can be used are TIM_CHANNEL_1,
541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_2 and TIM_CHANNEL_3) */
542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE);
543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 11
544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA Input Capture 1 Callbacks */
545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMACaptureCplt;
546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ;
549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel for Capture 1*/
551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)&htim->Instance->CCR1, (uint32_t)pData
552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */
554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the capture compare 1 Interrupt */
557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1);
558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM Hall Sensor Interface in DMA mode.
579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_DMA(TIM_HandleTypeDef *htim)
583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance));
586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Input Capture channel 1
588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (in the Hall Sensor Interface the three possible channels that can be used are TIM_CHANNEL_1,
589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_2 and TIM_CHANNEL_3) */
590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE);
591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the capture compare Interrupts 1 event */
594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1);
595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */
599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 12
601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channel state */
602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @}
611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group2 Extended Timer Complementary Output Compare functions
614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Timer Complementary Output Compare functions
615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim
617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Timer Complementary Output Compare functions #####
619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..]
621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** This section provides functions allowing to:
622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary Output Compare/PWM.
623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary Output Compare/PWM.
624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary Output Compare/PWM and enable interrupts.
625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary Output Compare/PWM and disable interrupts.
626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary Output Compare/PWM and enable DMA transfers.
627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary Output Compare/PWM and disable DMA transfers.
628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim
630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{
631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM Output Compare signal generation on the complementary
635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * output.
636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Output Compare handle
637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be enabled
638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Start(TIM_HandleTypeDef *htim, uint32_t Channel)
646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM complementary channel state */
653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY)
654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 13
658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Capture compare channel N */
662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE);
663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */
665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim);
666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM Output Compare signal generation on the complementary
687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * output.
688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled
690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel)
698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Capture compare channel N */
703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE);
704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */
706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim);
707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */
709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
ARM GAS /tmp/ccqCLCUn.s page 14
715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM Output Compare signal generation in interrupt mode
720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * on the complementary output.
721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM OC handle
722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be enabled
723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel)
731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM complementary channel state */
739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY)
740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel)
748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare interrupt */
752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1);
753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2:
757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare interrupt */
759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2);
760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare interrupt */
766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC3);
767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4:
ARM GAS /tmp/ccqCLCUn.s page 15
772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare interrupt */
774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC4);
775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR;
780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (status == HAL_OK)
784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Break interrupt */
786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_BREAK);
787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Capture compare channel N */
789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE);
790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */
792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim);
793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigge
795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status;
811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM Output Compare signal generation in interrupt mode
815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * on the complementary output.
816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Output Compare handle
817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled
818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel)
826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpccer;
ARM GAS /tmp/ccqCLCUn.s page 16
829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel)
834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare interrupt */
838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1);
839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2:
843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare interrupt */
845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2);
846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare interrupt */
852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC3);
853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4:
857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare interrupt */
859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC4);
860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR;
865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (status == HAL_OK)
869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Capture compare channel N */
871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE);
872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Break interrupt (only if no more channel is active) */
874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpccer = htim->Instance->CCER;
875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & TIM_CCER_CCxNE_MASK) == (uint32_t)RESET)
876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_BREAK);
878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */
881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim);
882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */
884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 17
886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status;
892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM Output Compare signal generation in DMA mode
896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * on the complementary output.
897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Output Compare handle
898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be enabled
899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param pData The source Buffer address.
905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Length The length of data to be transferred from memory to TIM peripheral
906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t
909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint16_t Length)
910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_BUSY)
919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_BUSY;
921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_READY)
923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((pData == NULL) || (Length == 0U))
925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel)
939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */
ARM GAS /tmp/ccqCLCUn.s page 18
943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMADelayPulseNCplt;
944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAErrorCCxN ;
948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */
950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)pData, (uint32_t)&htim->Instance->
951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */
954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare DMA request */
957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1);
958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2:
962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */
964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMADelayPulseNCplt;
965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAErrorCCxN ;
969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */
971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)pData, (uint32_t)&htim->Instance->
972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */
975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare DMA request */
978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2);
979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */
985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferCpltCallback = TIM_DMADelayPulseNCplt;
986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferErrorCallback = TIM_DMAErrorCCxN ;
990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */
992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)pData, (uint32_t)&htim->Instance->
993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */
996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare DMA request */
999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC3);
ARM GAS /tmp/ccqCLCUn.s page 19
1000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4:
1004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */
1006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferCpltCallback = TIM_DMADelayPulseNCplt;
1007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
1008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
1010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferErrorCallback = TIM_DMAErrorCCxN ;
1011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */
1013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC4], (uint32_t)pData, (uint32_t)&htim->Instance->
1014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
1015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */
1017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
1018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare DMA request */
1020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC4);
1021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
1025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR;
1026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (status == HAL_OK)
1030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Capture compare channel N */
1032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE);
1033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */
1035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim);
1036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigge
1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
1039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
1041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
1042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
1044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
1047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
1049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
1053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status;
1054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
ARM GAS /tmp/ccqCLCUn.s page 20
1057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM Output Compare signal generation in DMA mode
1058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * on the complementary output.
1059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Output Compare handle
1060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled
1061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
1063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
1064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
1065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
1066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
1067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel)
1069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
1071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel)
1076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
1078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare DMA request */
1080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1);
1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
1082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2:
1086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare DMA request */
1088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2);
1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]);
1090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
1094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare DMA request */
1096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC3);
1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]);
1098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4:
1102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare interrupt */
1104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC4);
1105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]);
1106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
1110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR;
1111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 21
1114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (status == HAL_OK)
1115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Capture compare channel N */
1117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE);
1118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */
1120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim);
1121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */
1123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
1124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
1126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
1127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
1130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status;
1131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @}
1135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group3 Extended Timer Complementary PWM functions
1138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Timer Complementary PWM functions
1139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
1140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim
1141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
1142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Timer Complementary PWM functions #####
1143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
1144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..]
1145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** This section provides functions allowing to:
1146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary PWM.
1147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary PWM.
1148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary PWM and enable interrupts.
1149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary PWM and disable interrupts.
1150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary PWM and enable DMA transfers.
1151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary PWM and disable DMA transfers.
1152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim
1153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{
1154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the PWM signal generation on the complementary output.
1158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
1159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be enabled
1160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
1162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
1163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
1164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
1165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
1166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Start(TIM_HandleTypeDef *htim, uint32_t Channel)
1168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
1170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 22
1171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
1173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM complementary channel state */
1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY)
1176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
1178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
1181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
1182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the complementary PWM output */
1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE);
1185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */
1187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim);
1188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
1191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
1193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
1194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
1196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
1199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
1201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
1204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
1205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the PWM signal generation on the complementary output.
1209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
1210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled
1211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
1213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
1214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
1215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
1216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
1217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel)
1219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
1222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the complementary PWM output */
1224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE);
1225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */
1227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim);
ARM GAS /tmp/ccqCLCUn.s page 23
1228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */
1230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
1231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
1233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
1234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
1236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
1237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the PWM signal generation in interrupt mode on the
1241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * complementary output.
1242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
1243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled
1244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
1246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
1247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
1248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
1249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
1250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel)
1252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
1254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
1255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
1258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM complementary channel state */
1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY)
1261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
1263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
1266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
1267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel)
1269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
1271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 1 interrupt */
1273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1);
1274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2:
1278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 2 interrupt */
1280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2);
1281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
ARM GAS /tmp/ccqCLCUn.s page 24
1285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 3 interrupt */
1287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC3);
1288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4:
1292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 4 interrupt */
1294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC4);
1295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
1299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR;
1300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (status == HAL_OK)
1304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Break interrupt */
1306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_BREAK);
1307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the complementary PWM output */
1309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE);
1310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */
1312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim);
1313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigge
1315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
1316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
1318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
1319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
1321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
1324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
1326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
1330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status;
1331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the PWM signal generation in interrupt mode on the
1335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * complementary output.
1336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
1337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled
1338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
1340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
1341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
ARM GAS /tmp/ccqCLCUn.s page 25
1342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
1343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
1344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel)
1346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
1348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpccer;
1349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
1352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel)
1354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
1356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 1 interrupt */
1358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1);
1359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2:
1363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 2 interrupt */
1365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2);
1366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
1370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 3 interrupt */
1372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC3);
1373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4:
1377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 4 interrupt */
1379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC4);
1380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
1384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR;
1385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (status == HAL_OK)
1389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the complementary PWM output */
1391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE);
1392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Break interrupt (only if no more channel is active) */
1394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpccer = htim->Instance->CCER;
1395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & TIM_CCER_CCxNE_MASK) == (uint32_t)RESET)
1396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_BREAK);
1398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
ARM GAS /tmp/ccqCLCUn.s page 26
1399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */
1401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim);
1402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */
1404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
1405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
1407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
1408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
1411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status;
1412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM PWM signal generation in DMA mode on the
1416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * complementary output
1417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
1418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be enabled
1419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
1421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
1422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
1423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
1424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param pData The source Buffer address.
1425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Length The length of data to be transferred from memory to TIM peripheral
1426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
1427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_
1429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint16_t Length)
1430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
1432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
1433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
1436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_BUSY)
1439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_BUSY;
1441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_READY)
1443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((pData == NULL) || (Length == 0U))
1445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
1447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
1449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
1451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
1454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
ARM GAS /tmp/ccqCLCUn.s page 27
1456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel)
1459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
1461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */
1463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMADelayPulseNCplt;
1464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
1465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
1467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAErrorCCxN ;
1468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */
1470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)pData, (uint32_t)&htim->Instance->
1471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
1472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */
1474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
1475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 1 DMA request */
1477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1);
1478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2:
1482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */
1484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMADelayPulseNCplt;
1485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
1486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
1488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAErrorCCxN ;
1489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */
1491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)pData, (uint32_t)&htim->Instance->
1492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
1493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */
1495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
1496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 2 DMA request */
1498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2);
1499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
1503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */
1505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferCpltCallback = TIM_DMADelayPulseNCplt;
1506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
1507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
1509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferErrorCallback = TIM_DMAErrorCCxN ;
1510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */
1512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)pData, (uint32_t)&htim->Instance->
ARM GAS /tmp/ccqCLCUn.s page 28
1513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
1514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */
1516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
1517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 3 DMA request */
1519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC3);
1520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4:
1524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */
1526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferCpltCallback = TIM_DMADelayPulseNCplt;
1527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
1528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
1530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferErrorCallback = TIM_DMAErrorCCxN ;
1531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */
1533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC4], (uint32_t)pData, (uint32_t)&htim->Instance->
1534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
1535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */
1537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
1538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 4 DMA request */
1540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC4);
1541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
1545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR;
1546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (status == HAL_OK)
1550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the complementary PWM output */
1552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE);
1553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */
1555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim);
1556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigge
1558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
1559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
1561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
1562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
1564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
1567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
1569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
ARM GAS /tmp/ccqCLCUn.s page 29
1570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
1573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status;
1574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM PWM signal generation in DMA mode on the complementary
1578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * output
1579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
1580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled
1581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
1583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
1584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
1585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
1586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
1587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel)
1589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
1591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
1594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel)
1596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
1598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 1 DMA request */
1600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1);
1601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
1602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2:
1606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 2 DMA request */
1608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2);
1609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]);
1610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
1614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 3 DMA request */
1616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC3);
1617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]);
1618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4:
1622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 4 DMA request */
1624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC4);
1625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]);
1626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
ARM GAS /tmp/ccqCLCUn.s page 30
1627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
1630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR;
1631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (status == HAL_OK)
1635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the complementary PWM output */
1637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE);
1638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */
1640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim);
1641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */
1643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
1644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
1646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
1647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
1650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status;
1651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @}
1655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group4 Extended Timer Complementary One Pulse functions
1658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Timer Complementary One Pulse functions
1659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
1660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim
1661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
1662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Timer Complementary One Pulse functions #####
1663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
1664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..]
1665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** This section provides functions allowing to:
1666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary One Pulse generation.
1667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary One Pulse.
1668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary One Pulse and enable interrupts.
1669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary One Pulse and disable interrupts.
1670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim
1672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{
1673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM One Pulse signal generation on the complementary
1677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * output.
1678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note OutputChannel must match the pulse output channel chosen when calling
1679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @ref HAL_TIM_OnePulse_ConfigChannel().
1680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM One Pulse handle
1681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param OutputChannel pulse output channel to enable
1682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
ARM GAS /tmp/ccqCLCUn.s page 31
1684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
1685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
1686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start(TIM_HandleTypeDef *htim, uint32_t OutputChannel)
1688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
1690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
1691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
1692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
1693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
1694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, OutputChannel));
1697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM channels state */
1699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
1700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
1701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
1702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
1703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
1705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */
1708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
1710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
1711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
1712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the complementary One Pulse output channel and the Input Capture channel */
1714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, OutputChannel, TIM_CCxN_ENABLE);
1715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE);
1716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */
1718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim);
1719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
1721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
1722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM One Pulse signal generation on the complementary
1726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * output.
1727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note OutputChannel must match the pulse output channel chosen when calling
1728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @ref HAL_TIM_OnePulse_ConfigChannel().
1729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM One Pulse handle
1730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param OutputChannel pulse output channel to disable
1731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
1733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
1734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
1735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop(TIM_HandleTypeDef *htim, uint32_t OutputChannel)
1737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
1739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
ARM GAS /tmp/ccqCLCUn.s page 32
1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, OutputChannel));
1742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the complementary One Pulse output channel and the Input Capture channel */
1744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, OutputChannel, TIM_CCxN_DISABLE);
1745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_DISABLE);
1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */
1748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim);
1749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */
1751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
1752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */
1754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
1755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
1756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
1757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
1758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
1760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
1761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM One Pulse signal generation in interrupt mode on the
1765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * complementary channel.
1766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note OutputChannel must match the pulse output channel chosen when calling
1767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @ref HAL_TIM_OnePulse_ConfigChannel().
1768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM One Pulse handle
1769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param OutputChannel pulse output channel to enable
1770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
1772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
1773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
1774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel)
1776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
1778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
1779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
1780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
1781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
1782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, OutputChannel));
1785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM channels state */
1787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
1788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
1789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
1790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
1791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
1793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */
1796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
1797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
ARM GAS /tmp/ccqCLCUn.s page 33
1798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
1799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
1800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 1 interrupt */
1802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1);
1803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 2 interrupt */
1805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2);
1806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the complementary One Pulse output channel and the Input Capture channel */
1808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, OutputChannel, TIM_CCxN_ENABLE);
1809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE);
1810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */
1812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim);
1813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
1815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
1816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM One Pulse signal generation in interrupt mode on the
1820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * complementary channel.
1821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note OutputChannel must match the pulse output channel chosen when calling
1822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @ref HAL_TIM_OnePulse_ConfigChannel().
1823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM One Pulse handle
1824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param OutputChannel pulse output channel to disable
1825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
1827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
1828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
1829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel)
1831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
1833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, OutputChannel));
1836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 1 interrupt */
1838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1);
1839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 2 interrupt */
1841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2);
1842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the complementary One Pulse output channel and the Input Capture channel */
1844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, OutputChannel, TIM_CCxN_DISABLE);
1845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_DISABLE);
1846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */
1848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim);
1849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */
1851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
1852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */
1854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
ARM GAS /tmp/ccqCLCUn.s page 34
1855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
1856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
1857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
1858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
1860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
1861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @}
1865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group5 Extended Peripheral Control functions
1868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Peripheral Control functions
1869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
1870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim
1871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
1872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Peripheral Control functions #####
1873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
1874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..]
1875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** This section provides functions allowing to:
1876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure the commutation event in case of use of the Hall sensor interface.
1877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure Output channels for OC and PWM mode.
1878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure Complementary channels, break features and dead time.
1880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure Master synchronization.
1881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure timer remapping capabilities.
1882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Select timer input source.
1883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Enable or disable channel grouping.
1884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure Pulse on compare.
1885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure Encoder index.
1886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim
1888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{
1889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configure the TIM commutation event sequence.
1893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note This function is mandatory to use the commutation event in order to
1894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * update the configuration at each commutation detection on the TRGI input of the Timer,
1895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * the typical use of this feature is with the use of another Timer(interface Timer)
1896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * configured in Hall sensor interface, this interface Timer will generate the
1897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * commutation at its TRGO output (connected to Timer used in this function) each time
1898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * the TI1 of the Interface Timer detect a commutation at its input TI1.
1899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
1900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param InputTrigger the Internal trigger corresponding to the Timer Interfacing with the Hall
1901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR0: Internal trigger 0 selected
1903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR1: Internal trigger 1 selected
1904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR2: Internal trigger 2 selected
1905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR3: Internal trigger 3 selected
1906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR4: Internal trigger 4 selected (*)
1907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR5: Internal trigger 5 selected
1908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR6: Internal trigger 6 selected
1909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR7: Internal trigger 7 selected
1910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR8: Internal trigger 8 selected
1911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR9: Internal trigger 9 selected (*)
ARM GAS /tmp/ccqCLCUn.s page 35
1912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR10: Internal trigger 10 selected
1913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR11: Internal trigger 11 selected
1914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_NONE: No trigger is needed
1915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
1916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (*) Value not defined in all devices.
1917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
1918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param CommutationSource the Commutation Event source
1919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_TRGI: Commutation source is the TRGI of the Interface Timer
1921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_SOFTWARE: Commutation source is set by software using the COMG
1922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
1923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent(TIM_HandleTypeDef *htim, uint32_t InputTrigger,
1925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t CommutationSource)
1926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_COMMUTATION_EVENT_INSTANCE(htim->Instance));
1929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_INSTANCE(htim->Instance, InputTrigger));
1930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim);
1932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined(TIM5) && defined(TIM20)
1934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
1935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
1936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR4) || (InputTrigger == TIM_TS_ITR5) ||
1937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR6) || (InputTrigger == TIM_TS_ITR7) ||
1938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR8) || (InputTrigger == TIM_TS_ITR9) ||
1939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR10) || (InputTrigger == TIM_TS_ITR11))
1940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #elif defined(TIM5)
1941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
1942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
1943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR4) || (InputTrigger == TIM_TS_ITR5) ||
1944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR6) || (InputTrigger == TIM_TS_ITR7) ||
1945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR8) || (InputTrigger == TIM_TS_ITR11))
1946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #elif defined(TIM20)
1947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
1948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
1949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) ||
1950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) ||
1951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR9) || (InputTrigger == TIM_TS_ITR11))
1952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else
1953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
1954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
1955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) ||
1956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) ||
1957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR11))
1958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* TIM5 && TIM20 */
1959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Input trigger */
1961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS;
1962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
1963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Capture Compare preload feature */
1966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_CR2_CCPC;
1967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */
1968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 &= ~TIM_CR2_CCUS;
ARM GAS /tmp/ccqCLCUn.s page 36
1969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
1970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable Commutation Interrupt */
1972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_COM);
1973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable Commutation DMA request */
1975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_COM);
1976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
1978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
1980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configure the TIM commutation event sequence with interrupt.
1984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note This function is mandatory to use the commutation event in order to
1985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * update the configuration at each commutation detection on the TRGI input of the Timer,
1986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * the typical use of this feature is with the use of another Timer(interface Timer)
1987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * configured in Hall sensor interface, this interface Timer will generate the
1988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * commutation at its TRGO output (connected to Timer used in this function) each time
1989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * the TI1 of the Interface Timer detect a commutation at its input TI1.
1990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
1991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param InputTrigger the Internal trigger corresponding to the Timer Interfacing with the Hall
1992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR0: Internal trigger 0 selected
1994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR1: Internal trigger 1 selected
1995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR2: Internal trigger 2 selected
1996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR3: Internal trigger 3 selected
1997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR4: Internal trigger 4 selected (*)
1998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR5: Internal trigger 5 selected
1999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR6: Internal trigger 6 selected
2000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR7: Internal trigger 7 selected
2001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR8: Internal trigger 8 selected
2002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR9: Internal trigger 9 selected (*)
2003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR10: Internal trigger 10 selected
2004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR11: Internal trigger 11 selected
2005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_NONE: No trigger is needed
2006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (*) Value not defined in all devices.
2008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param CommutationSource the Commutation Event source
2010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
2011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_TRGI: Commutation source is the TRGI of the Interface Timer
2012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_SOFTWARE: Commutation source is set by software using the COMG
2013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
2014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
2015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent_IT(TIM_HandleTypeDef *htim, uint32_t InputTrigger,
2016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t CommutationSource)
2017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
2019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_COMMUTATION_EVENT_INSTANCE(htim->Instance));
2020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_INSTANCE(htim->Instance, InputTrigger));
2021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim);
2023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined(TIM5) && defined(TIM20)
2025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
ARM GAS /tmp/ccqCLCUn.s page 37
2026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
2027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR4) || (InputTrigger == TIM_TS_ITR5) ||
2028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR6) || (InputTrigger == TIM_TS_ITR7) ||
2029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR8) || (InputTrigger == TIM_TS_ITR9) ||
2030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR10) || (InputTrigger == TIM_TS_ITR11))
2031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #elif defined(TIM5)
2032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
2033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
2034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR4) || (InputTrigger == TIM_TS_ITR5) ||
2035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR6) || (InputTrigger == TIM_TS_ITR7) ||
2036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR8) || (InputTrigger == TIM_TS_ITR11))
2037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #elif defined(TIM20)
2038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
2039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
2040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) ||
2041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) ||
2042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR9) || (InputTrigger == TIM_TS_ITR11))
2043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else
2044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
2045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
2046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) ||
2047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) ||
2048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR11))
2049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* TIM5 && TIM20 */
2050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Input trigger */
2052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS;
2053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
2054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Capture Compare preload feature */
2057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_CR2_CCPC;
2058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */
2059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 &= ~TIM_CR2_CCUS;
2060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
2061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable Commutation DMA request */
2063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_COM);
2064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Commutation Interrupt */
2066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_COM);
2067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
2069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
2071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
2074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configure the TIM commutation event sequence with DMA.
2075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note This function is mandatory to use the commutation event in order to
2076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * update the configuration at each commutation detection on the TRGI input of the Timer,
2077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * the typical use of this feature is with the use of another Timer(interface Timer)
2078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * configured in Hall sensor interface, this interface Timer will generate the
2079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * commutation at its TRGO output (connected to Timer used in this function) each time
2080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * the TI1 of the Interface Timer detect a commutation at its input TI1.
2081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note The user should configure the DMA in his own software, in This function only the COMDE b
2082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
ARM GAS /tmp/ccqCLCUn.s page 38
2083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param InputTrigger the Internal trigger corresponding to the Timer Interfacing with the Hall
2084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
2085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR0: Internal trigger 0 selected
2086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR1: Internal trigger 1 selected
2087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR2: Internal trigger 2 selected
2088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR3: Internal trigger 3 selected
2089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR4: Internal trigger 4 selected (*)
2090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR5: Internal trigger 5 selected
2091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR6: Internal trigger 6 selected
2092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR7: Internal trigger 7 selected
2093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR8: Internal trigger 8 selected
2094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR9: Internal trigger 9 selected (*)
2095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR10: Internal trigger 10 selected
2096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR11: Internal trigger 11 selected
2097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_NONE: No trigger is needed
2098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (*) Value not defined in all devices.
2100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param CommutationSource the Commutation Event source
2102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
2103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_TRGI: Commutation source is the TRGI of the Interface Timer
2104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_SOFTWARE: Commutation source is set by software using the COMG
2105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
2106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
2107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent_DMA(TIM_HandleTypeDef *htim, uint32_t InputTrigger,
2108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t CommutationSource)
2109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
2111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_COMMUTATION_EVENT_INSTANCE(htim->Instance));
2112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_INSTANCE(htim->Instance, InputTrigger));
2113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim);
2115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined(TIM5) && defined(TIM20)
2117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
2118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
2119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR4) || (InputTrigger == TIM_TS_ITR5) ||
2120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR6) || (InputTrigger == TIM_TS_ITR7) ||
2121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR8) || (InputTrigger == TIM_TS_ITR9) ||
2122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR10) || (InputTrigger == TIM_TS_ITR11))
2123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #elif defined(TIM5)
2124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
2125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
2126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR4) || (InputTrigger == TIM_TS_ITR5) ||
2127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR6) || (InputTrigger == TIM_TS_ITR7) ||
2128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR8) || (InputTrigger == TIM_TS_ITR11))
2129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #elif defined(TIM20)
2130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
2131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
2132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) ||
2133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) ||
2134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR9) || (InputTrigger == TIM_TS_ITR11))
2135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else
2136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
2137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
2138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) ||
2139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) ||
ARM GAS /tmp/ccqCLCUn.s page 39
2140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR11))
2141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* TIM5 && TIM20 */
2142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Input trigger */
2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS;
2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
2146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Capture Compare preload feature */
2149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_CR2_CCPC;
2150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */
2151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 &= ~TIM_CR2_CCUS;
2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
2153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Commutation DMA Request */
2155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA Commutation Callback */
2156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferCpltCallback = TIMEx_DMACommutationCplt;
2157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt;
2158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferErrorCallback = TIM_DMAError;
2160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable Commutation Interrupt */
2162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_COM);
2163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Commutation DMA Request */
2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_COM);
2166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
2168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
2170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
2173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configures the TIM in master mode.
2174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle.
2175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param sMasterConfig pointer to a TIM_MasterConfigTypeDef structure that
2176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * contains the selected trigger output (TRGO) and the Master/Slave
2177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * mode.
2178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
2179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
2180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_MasterConfigSynchronization(TIM_HandleTypeDef *htim,
2181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** const TIM_MasterConfigTypeDef *sMasterConfi
2182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpcr2;
2184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
2185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
2187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_MASTER_INSTANCE(htim->Instance));
2188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_TRGO_SOURCE(sMasterConfig->MasterOutputTrigger));
2189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_MSM_STATE(sMasterConfig->MasterSlaveMode));
2190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check input state */
2192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim);
2193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the handler state */
2195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_BUSY;
2196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 40
2197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Get the TIMx CR2 register value */
2198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpcr2 = htim->Instance->CR2;
2199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Get the TIMx SMCR register value */
2201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR;
2202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* If the timer supports ADC synchronization through TRGO2, set the master mode selection 2 */
2204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_TRGO2_INSTANCE(htim->Instance))
2205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
2207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_TRGO2_SOURCE(sMasterConfig->MasterOutputTrigger2));
2208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Clear the MMS2 bits */
2210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpcr2 &= ~TIM_CR2_MMS2;
2211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO2 source*/
2212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpcr2 |= sMasterConfig->MasterOutputTrigger2;
2213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the MMS Bits */
2216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpcr2 &= ~TIM_CR2_MMS;
2217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO source */
2218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpcr2 |= sMasterConfig->MasterOutputTrigger;
2219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Update TIMx CR2 */
2221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 = tmpcr2;
2222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
2224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the MSM Bit */
2226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr &= ~TIM_SMCR_MSM;
2227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set master mode */
2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr |= sMasterConfig->MasterSlaveMode;
2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Update TIMx SMCR */
2231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR = tmpsmcr;
2232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the htim state */
2235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY;
2236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
2238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
2240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
2243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configures the Break feature, dead time, Lock level, OSSI/OSSR State
2244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * and the AOE(automatic output enable).
2245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
2246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param sBreakDeadTimeConfig pointer to a TIM_ConfigBreakDeadConfigTypeDef structure that
2247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * contains the BDTR Register configuration information for the TIM peripheral.
2248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Interrupts can be generated when an active level is detected on the
2249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * break input, the break 2 input or the system break input. Break
2250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * interrupt can be enabled by calling the @ref __HAL_TIM_ENABLE_IT macro.
2251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
2252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
2253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigBreakDeadTime(TIM_HandleTypeDef *htim,
ARM GAS /tmp/ccqCLCUn.s page 41
2254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** const TIM_BreakDeadTimeConfigTypeDef *sBreakDeadTim
2255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Keep this variable initialized to 0 as it is used to configure BDTR register */
2257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr = 0U;
2258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
2260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance));
2261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_OSSR_STATE(sBreakDeadTimeConfig->OffStateRunMode));
2262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_OSSI_STATE(sBreakDeadTimeConfig->OffStateIDLEMode));
2263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_LOCK_LEVEL(sBreakDeadTimeConfig->LockLevel));
2264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_DEADTIME(sBreakDeadTimeConfig->DeadTime));
2265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_STATE(sBreakDeadTimeConfig->BreakState));
2266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_POLARITY(sBreakDeadTimeConfig->BreakPolarity));
2267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_FILTER(sBreakDeadTimeConfig->BreakFilter));
2268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_AUTOMATIC_OUTPUT_STATE(sBreakDeadTimeConfig->AutomaticOutput));
2269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_AFMODE(sBreakDeadTimeConfig->BreakAFMode));
2270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check input state */
2272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim);
2273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the Lock level, the Break enable Bit and the Polarity, the OSSR State,
2275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the OSSI State, the dead time value and the Automatic Output Enable Bit */
2276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the BDTR bits */
2278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_DTG, sBreakDeadTimeConfig->DeadTime);
2279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_LOCK, sBreakDeadTimeConfig->LockLevel);
2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSI, sBreakDeadTimeConfig->OffStateIDLEMode);
2281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSR, sBreakDeadTimeConfig->OffStateRunMode);
2282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKE, sBreakDeadTimeConfig->BreakState);
2283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKP, sBreakDeadTimeConfig->BreakPolarity);
2284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_AOE, sBreakDeadTimeConfig->AutomaticOutput);
2285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKF, (sBreakDeadTimeConfig->BreakFilter << TIM_BDTR_BKF_Pos));
2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKBID, sBreakDeadTimeConfig->BreakAFMode);
2287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_BKIN2_INSTANCE(htim->Instance))
2289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
2291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK2_STATE(sBreakDeadTimeConfig->Break2State));
2292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK2_POLARITY(sBreakDeadTimeConfig->Break2Polarity));
2293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_FILTER(sBreakDeadTimeConfig->Break2Filter));
2294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK2_AFMODE(sBreakDeadTimeConfig->Break2AFMode));
2295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the BREAK2 input related BDTR bits */
2297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2F, (sBreakDeadTimeConfig->Break2Filter << TIM_BDTR_BK2F_Pos));
2298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2E, sBreakDeadTimeConfig->Break2State);
2299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2P, sBreakDeadTimeConfig->Break2Polarity);
2300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2BID, sBreakDeadTimeConfig->Break2AFMode);
2301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set TIMx_BDTR */
2304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->BDTR = tmpbdtr;
2305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
2307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
2309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 42
2311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
2312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configures the break input source.
2313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle.
2314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param BreakInput Break input to configure
2315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
2316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_BREAKINPUT_BRK: Timer break input
2317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_BREAKINPUT_BRK2: Timer break 2 input
2318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param sBreakInputConfig Break input source configuration
2319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
2320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
2321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigBreakInput(TIM_HandleTypeDef *htim,
2322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t BreakInput,
2323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** const TIMEx_BreakInputConfigTypeDef *sBreakInputConfig
2324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
2326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmporx;
2327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_enable_mask;
2328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_polarity_mask;
2329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_enable_bitpos;
2330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_polarity_bitpos;
2331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
2333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance));
2334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUT(BreakInput));
2335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUTSOURCE(sBreakInputConfig->Source));
2336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUTSOURCE_STATE(sBreakInputConfig->Enable));
2337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUTSOURCE_POLARITY(sBreakInputConfig->Polarity));
2338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check input state */
2340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim);
2341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (sBreakInputConfig->Source)
2343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_BKIN:
2345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKINE;
2347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKINE_Pos;
2348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKINP;
2349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKINP_Pos;
2350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP1:
2353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP1E;
2355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP1E_Pos;
2356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP1P;
2357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP1P_Pos;
2358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined (COMP2)
2361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP2:
2362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP2E;
2364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP2E_Pos;
2365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP2P;
2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP2P_Pos;
2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
ARM GAS /tmp/ccqCLCUn.s page 43
2368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* COMP2 */
2370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP3:
2371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP3E;
2373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP3E_Pos;
2374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP3P;
2375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP3P_Pos;
2376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined (COMP4)
2379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP4:
2380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP4E;
2382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP4E_Pos;
2383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP4P;
2384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP4P_Pos;
2385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* COMP4 */
2388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined (COMP5)
2389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP5:
2390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP5E;
2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP5E_Pos;
2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* No palarity bit for this COMP. Variable bkin_polarity_mask keeps its default value 0 */
2394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = 0U;
2395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = 0U;
2396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* COMP5 */
2399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined (COMP6)
2400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP6:
2401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP6E;
2403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP6E_Pos;
2404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* No palarity bit for this COMP. Variable bkin_polarity_mask keeps its default value 0 */
2405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = 0U;
2406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = 0U;
2407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* COMP7 */
2410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined (COMP7)
2411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP7:
2412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP7E;
2414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP7E_Pos;
2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* No palarity bit for this COMP. Variable bkin_polarity_mask keeps its default value 0 */
2416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = 0U;
2417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = 0U;
2418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* COMP7 */
2421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
2423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = 0U;
ARM GAS /tmp/ccqCLCUn.s page 44
2425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = 0U;
2426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = 0U;
2427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = 0U;
2428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (BreakInput)
2433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUT_BRK:
2435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Get the TIMx_AF1 register value */
2437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx = htim->Instance->AF1;
2438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the break input */
2440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx &= ~bkin_enable_mask;
2441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Enable << bkin_enable_bitpos) & bkin_enable_mask;
2442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the break input polarity */
2444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx &= ~bkin_polarity_mask;
2445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Polarity << bkin_polarity_bitpos) & bkin_polarity_mask;
2446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set TIMx_AF1 */
2448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->AF1 = tmporx;
2449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUT_BRK2:
2452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Get the TIMx_AF2 register value */
2454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx = htim->Instance->AF2;
2455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the break input */
2457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx &= ~bkin_enable_mask;
2458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Enable << bkin_enable_bitpos) & bkin_enable_mask;
2459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the break input polarity */
2461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx &= ~bkin_polarity_mask;
2462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Polarity << bkin_polarity_bitpos) & bkin_polarity_mask;
2463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set TIMx_AF2 */
2465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->AF2 = tmporx;
2466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
2469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR;
2470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
2474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status;
2476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
2479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configures the TIMx Remapping input capabilities.
2480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle.
2481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Remap specifies the TIM remapping source.
ARM GAS /tmp/ccqCLCUn.s page 45
2482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM1, the parameter can take one of the following values:
2483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_GPIO TIM1 ETR is connected to GPIO
2484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP1 TIM1 ETR is connected to COMP1 output
2485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP2 TIM1 ETR is connected to COMP2 output
2486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP3 TIM1 ETR is connected to COMP3 output
2487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP4 TIM1 ETR is connected to COMP4 output
2488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP5 TIM1 ETR is connected to COMP5 output (*)
2489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP6 TIM1 ETR is connected to COMP6 output (*)
2490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP7 TIM1 ETR is connected to COMP7 output (*)
2491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_ADC1_AWD1 TIM1 ETR is connected to ADC1 AWD1
2492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_ADC1_AWD2 TIM1 ETR is connected to ADC1 AWD2
2493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_ADC1_AWD3 TIM1 ETR is connected to ADC1 AWD3
2494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_ADC4_AWD1 TIM1 ETR is connected to ADC4 AWD1 (*)
2495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_ADC4_AWD2 TIM1 ETR is connected to ADC4 AWD2 (*)
2496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_ADC4_AWD3 TIM1 ETR is connected to ADC4 AWD3 (*)
2497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM2, the parameter can take one of the following values:
2499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_GPIO TIM2 ETR is connected to GPIO
2500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP1 TIM2 ETR is connected to COMP1 output
2501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP2 TIM2 ETR is connected to COMP2 output
2502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP3 TIM2 ETR is connected to COMP3 output
2503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP4 TIM2 ETR is connected to COMP4 output
2504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP5 TIM2 ETR is connected to COMP5 output (*)
2505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP6 TIM2 ETR is connected to COMP6 output (*)
2506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP7 TIM2 ETR is connected to COMP7 output (*)
2507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_TIM3_ETR TIM2 ETR is connected to TIM3 ETR pin
2508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_TIM4_ETR TIM2 ETR is connected to TIM4 ETR pin
2509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_TIM5_ETR TIM2 ETR is connected to TIM5 ETR pin (*)
2510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_LSE
2511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM3, the parameter can take one of the following values:
2513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_GPIO TIM3 ETR is connected to GPIO
2514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP1 TIM3 ETR is connected to COMP1 output
2515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP2 TIM3 ETR is connected to COMP2 output
2516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP3 TIM3 ETR is connected to COMP3 output
2517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP4 TIM3 ETR is connected to COMP4 output
2518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP5 TIM3 ETR is connected to COMP5 output (*)
2519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP6 TIM3 ETR is connected to COMP6 output (*)
2520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP7 TIM3 ETR is connected to COMP7 output (*)
2521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_TIM2_ETR TIM3 ETR is connected to TIM2 ETR pin
2522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_TIM4_ETR TIM3 ETR is connected to TIM4 ETR pin
2523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_ADC2_AWD1 TIM3 ETR is connected to ADC2 AWD1
2524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_ADC2_AWD2 TIM3 ETR is connected to ADC2 AWD2
2525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_ADC2_AWD3 TIM3 ETR is connected to ADC2 AWD3
2526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM4, the parameter can take one of the following values:
2528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_GPIO TIM4 ETR is connected to GPIO
2529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP1 TIM4 ETR is connected to COMP1 output
2530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP2 TIM4 ETR is connected to COMP2 output
2531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP3 TIM4 ETR is connected to COMP3 output
2532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP4 TIM4 ETR is connected to COMP4 output
2533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP5 TIM4 ETR is connected to COMP5 output (*)
2534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP6 TIM4 ETR is connected to COMP6 output (*)
2535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP7 TIM4 ETR is connected to COMP7 output (*)
2536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_TIM3_ETR TIM4 ETR is connected to TIM3 ETR pin
2537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_TIM5_ETR TIM4 ETR is connected to TIM5 ETR pin (*)
2538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
ARM GAS /tmp/ccqCLCUn.s page 46
2539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM5, the parameter can take one of the following values: (**)
2540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_GPIO TIM5 ETR is connected to GPIO (*)
2541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP1 TIM5 ETR is connected to COMP1 output (*)
2542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP2 TIM5 ETR is connected to COMP2 output (*)
2543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP3 TIM5 ETR is connected to COMP3 output (*)
2544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP4 TIM5 ETR is connected to COMP4 output (*)
2545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP5 TIM5 ETR is connected to COMP5 output (*)
2546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP6 TIM5 ETR is connected to COMP6 output (*)
2547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP7 TIM5 ETR is connected to COMP7 output (*)
2548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_TIM2_ETR TIM5 ETR is connected to TIM2 ETR pin (*)
2549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_TIM3_ETR TIM5 ETR is connected to TIM3 ETR pin (*)
2550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM8, the parameter can take one of the following values:
2552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_GPIO TIM8 ETR is connected to GPIO
2553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP1 TIM8 ETR is connected to COMP1 output
2554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP2 TIM8 ETR is connected to COMP2 output
2555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP3 TIM8 ETR is connected to COMP3 output
2556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP4 TIM8 ETR is connected to COMP4 output
2557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP5 TIM8 ETR is connected to COMP5 output (*)
2558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP6 TIM8 ETR is connected to COMP6 output (*)
2559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP7 TIM8 ETR is connected to COMP7 output (*)
2560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_ADC2_AWD1 TIM8 ETR is connected to ADC2 AWD1
2561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_ADC2_AWD2 TIM8 ETR is connected to ADC2 AWD2
2562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_ADC2_AWD3 TIM8 ETR is connected to ADC2 AWD3
2563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_ADC3_AWD1 TIM8 ETR is connected to ADC3 AWD1 (*)
2564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_ADC3_AWD2 TIM8 ETR is connected to ADC3 AWD2 (*)
2565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_ADC3_AWD3 TIM8 ETR is connected to ADC3 AWD3 (*)
2566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM20, the parameter can take one of the following values: (**)
2568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_GPIO TIM20 ETR is connected to GPIO
2569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP1 TIM20 ETR is connected to COMP1 output (*)
2570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP2 TIM20 ETR is connected to COMP2 output (*)
2571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP3 TIM20 ETR is connected to COMP3 output (*)
2572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP4 TIM20 ETR is connected to COMP4 output (*)
2573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP5 TIM20 ETR is connected to COMP5 output (*)
2574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP6 TIM20 ETR is connected to COMP6 output (*)
2575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP7 TIM20 ETR is connected to COMP7 output (*)
2576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_ADC3_AWD1 TIM20 ETR is connected to ADC3 AWD1 (*)
2577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_ADC3_AWD2 TIM20 ETR is connected to ADC3 AWD2 (*)
2578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_ADC3_AWD3 TIM20 ETR is connected to ADC3 AWD3 (*)
2579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_ADC5_AWD1 TIM20 ETR is connected to ADC5 AWD1 (*)
2580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_ADC5_AWD2 TIM20 ETR is connected to ADC5 AWD2 (*)
2581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_ADC5_AWD3 TIM20 ETR is connected to ADC5 AWD3 (*)
2582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (*) Value not defined in all devices. \n
2584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (**) Register not available in all devices.
2585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
2587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
2588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_RemapConfig(TIM_HandleTypeDef *htim, uint32_t Remap)
2589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check parameters */
2591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_REMAP_INSTANCE(htim->Instance));
2592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_REMAP(Remap));
2593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim);
2595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 47
2596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->AF1, TIM1_AF1_ETRSEL_Msk, Remap);
2597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
2599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
2601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
2604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Select the timer input source
2605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle.
2606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel specifies the TIM Channel
2607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
2608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TI1 input channel
2609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TI2 input channel
2610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TI3 input channel
2611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TI4 input channel
2612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param TISelection specifies the timer input source
2613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM1 this parameter can be one of the following values:
2614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_TI1_GPIO: TIM1 TI1 is connected to GPIO
2615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_TI1_COMP1: TIM1 TI1 is connected to COMP1 output
2616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_TI1_COMP2: TIM1 TI1 is connected to COMP2 output
2617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_TI1_COMP3: TIM1 TI1 is connected to COMP3 output
2618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_TI1_COMP4: TIM1 TI1 is connected to COMP4 output
2619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM2 this parameter can be one of the following values:
2621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI1_GPIO: TIM2 TI1 is connected to GPIO
2622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI1_COMP1: TIM2 TI1 is connected to COMP1 output
2623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI1_COMP2: TIM2 TI1 is connected to COMP2 output
2624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI1_COMP3: TIM2 TI1 is connected to COMP3 output
2625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI1_COMP4: TIM2 TI1 is connected to COMP4 output
2626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI1_COMP5: TIM2 TI1 is connected to COMP5 output (*)
2627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI2_GPIO: TIM1 TI2 is connected to GPIO
2629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI2_COMP1: TIM2 TI2 is connected to COMP1 output
2630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI2_COMP2: TIM2 TI2 is connected to COMP2 output
2631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI2_COMP3: TIM2 TI2 is connected to COMP3 output
2632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI2_COMP4: TIM2 TI2 is connected to COMP4 output
2633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI2_COMP6: TIM2 TI2 is connected to COMP6 output (*)
2634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI3_GPIO: TIM2 TI3 is connected to GPIO
2636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI3_COMP4: TIM2 TI3 is connected to COMP4 output
2637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI4_GPIO: TIM2 TI4 is connected to GPIO
2639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI4_COMP1: TIM2 TI4 is connected to COMP1 output
2640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI4_COMP2: TIM2 TI4 is connected to COMP2 output
2641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM3 this parameter can be one of the following values:
2643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_GPIO: TIM3 TI1 is connected to GPIO
2644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP1: TIM3 TI1 is connected to COMP1 output
2645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP2: TIM3 TI1 is connected to COMP2 output
2646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP3: TIM3 TI1 is connected to COMP3 output
2647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP4: TIM3 TI1 is connected to COMP4 output
2648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP5: TIM3 TI1 is connected to COMP5 output (*)
2649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP6: TIM3 TI1 is connected to COMP6 output (*)
2650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP7: TIM3 TI1 is connected to COMP7 output (*)
2651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_GPIO: TIM3 TI2 is connected to GPIO
ARM GAS /tmp/ccqCLCUn.s page 48
2653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP1: TIM3 TI2 is connected to COMP1 output
2654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP2: TIM3 TI2 is connected to COMP2 output
2655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP3: TIM3 TI2 is connected to COMP3 output
2656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP4: TIM3 TI2 is connected to COMP4 output
2657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP5: TIM3 TI2 is connected to COMP5 output (*)
2658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP6: TIM3 TI2 is connected to COMP6 output (*)
2659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP7: TIM3 TI2 is connected to COMP7 output (*)
2660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI3_GPIO: TIM3 TI3 is connected to GPIO
2662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI3_COMP3: TIM3 TI3 is connected to COMP3 output
2663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM4 this parameter can be one of the following values:
2665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_GPIO: TIM4 TI1 is connected to GPIO
2666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP1: TIM4 TI1 is connected to COMP1 output
2667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP2: TIM4 TI1 is connected to COMP2 output
2668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP3: TIM4 TI1 is connected to COMP3 output
2669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP4: TIM4 TI1 is connected to COMP4 output
2670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP5: TIM4 TI1 is connected to COMP5 output (*)
2671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP6: TIM4 TI1 is connected to COMP6 output (*)
2672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP7: TIM4 TI1 is connected to COMP7 output (*)
2673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_GPIO: TIM4 TI2 is connected to GPIO
2675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP1: TIM4 TI2 is connected to COMP1 output
2676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP2: TIM4 TI2 is connected to COMP2 output
2677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP3: TIM4 TI2 is connected to COMP3 output
2678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP4: TIM4 TI2 is connected to COMP4 output
2679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP5: TIM4 TI2 is connected to COMP5 output (*)
2680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP6: TIM4 TI2 is connected to COMP6 output (*)
2681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP7: TIM4 TI2 is connected to COMP7 output (*)
2682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI3_GPIO: TIM4 TI3 is connected to GPIO
2684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI3_COMP5: TIM4 TI3 is connected to COMP5 output (*)
2685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI4_GPIO: TIM4 TI4 is connected to GPIO
2687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI4_COMP6: TIM4 TI4 is connected to COMP6 output (*)
2688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM5 this parameter can be one of the following values: (**)
2690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_GPIO: TIM5 TI1 is connected to GPIO
2691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_LSI: TIM5 TI1 is connected to LSI clock (*)
2692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_LSE: TIM5 TI1 is connected to LSE clock (*)
2693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_RTC_WK: TIM5 TI1 is connected to RTC Wakeup (*)
2694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP1: TIM5 TI1 is connected to COMP1 output (*)
2695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP2: TIM5 TI1 is connected to COMP2 output (*)
2696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP3: TIM5 TI1 is connected to COMP3 output (*)
2697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP4: TIM5 TI1 is connected to COMP4 output (*)
2698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP5: TIM5 TI1 is connected to COMP5 output (*)
2699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP6: TIM5 TI1 is connected to COMP6 output (*)
2700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP7: TIM5 TI1 is connected to COMP7 output (*)
2701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_GPIO: TIM5 TI2 is connected to GPIO
2703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP1: TIM5 TI2 is connected to COMP1 output
2704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP2: TIM5 TI2 is connected to COMP2 output
2705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP3: TIM5 TI2 is connected to COMP3 output
2706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP4: TIM5 TI2 is connected to COMP4 output
2707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP5: TIM5 TI2 is connected to COMP5 output (*)
2708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP6: TIM5 TI2 is connected to COMP6 output (*)
2709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP7: TIM5 TI2 is connected to COMP7 output (*)
ARM GAS /tmp/ccqCLCUn.s page 49
2710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM8 this parameter can be one of the following values:
2712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_TI1_GPIO: TIM8 TI1 is connected to GPIO
2713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_TI1_COMP1: TIM8 TI1 is connected to COMP1 output
2714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_TI1_COMP2: TIM8 TI1 is connected to COMP2 output
2715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_TI1_COMP3: TIM8 TI1 is connected to COMP3 output
2716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_TI1_COMP4: TIM8 TI1 is connected to COMP4 output
2717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM15 this parameter can be one of the following values:
2719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI1_GPIO: TIM15 TI1 is connected to GPIO
2720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI1_LSE: TIM15 TI1 is connected to LSE clock
2721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI1_COMP1: TIM15 TI1 is connected to COMP1 output
2722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI1_COMP2: TIM15 TI1 is connected to COMP2 output
2723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI1_COMP5: TIM15 TI1 is connected to COMP5 output (
2724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI1_COMP7: TIM15 TI1 is connected to COMP7 output (
2725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI2_GPIO: TIM15 TI2 is connected to GPIO
2727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI2_COMP2: TIM15 TI2 is connected to COMP2 output
2728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI2_COMP3: TIM15 TI2 is connected to COMP3 output
2729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI2_COMP6: TIM15 TI2 is connected to COMP6 output (
2730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI2_COMP7: TIM15 TI2 is connected to COMP7 output (
2731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM16 this parameter can be one of the following values:
2733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_GPIO: TIM16 TI1 is connected to GPIO
2734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_COMP6: TIM16 TI1 is connected to COMP6 output (
2735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_MCO: TIM15 TI1 is connected to MCO output
2736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_HSE_32: TIM15 TI1 is connected to HSE div 32
2737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_RTC_WK: TIM15 TI1 is connected to RTC wakeup
2738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_LSE: TIM15 TI1 is connected to LSE clock
2739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_LSI: TIM15 TI1 is connected to LSI clock
2740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM17 this parameter can be one of the following values:
2742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_GPIO: TIM17 TI1 is connected to GPIO
2743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_COMP5: TIM17 TI1 is connected to COMP5 output (
2744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_MCO: TIM17 TI1 is connected to MCO output
2745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_HSE_32: TIM17 TI1 is connected to HSE div 32
2746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_RTC_WK: TIM17 TI1 is connected to RTC wakeup
2747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_LSE: TIM17 TI1 is connected to LSE clock
2748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_LSI: TIM17 TI1 is connected to LSI clock
2749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM20 this parameter can be one of the following values: (**)
2751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_TI1_GPIO: TIM20 TI1 is connected to GPIO
2752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_TI1_COMP1: TIM20 TI1 is connected to COMP1 output (
2753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_TI1_COMP2: TIM20 TI1 is connected to COMP2 output (
2754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_TI1_COMP3: TIM20 TI1 is connected to COMP3 output (
2755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_TI1_COMP4: TIM20 TI1 is connected to COMP4 output (
2756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (*) Value not defined in all devices. \n
2758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (**) Register not available in all devices.
2759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
2761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
2762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_TISelection(TIM_HandleTypeDef *htim, uint32_t TISelection, uint32_t Ch
2763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
2765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check parameters */
ARM GAS /tmp/ccqCLCUn.s page 50
2767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_TISEL_TIX_INSTANCE(htim->Instance, Channel));
2768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_TISEL(TISelection));
2769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim);
2771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel)
2773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
2775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->TISEL, TIM_TISEL_TI1SEL, TISelection);
2776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* If required, set OR bit to request HSE/32 clock */
2778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_HSE32_INSTANCE(htim->Instance))
2779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->OR, TIM_OR_HSE32EN);
2781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
2783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->OR, TIM_OR_HSE32EN);
2785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2:
2788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->TISEL, TIM_TISEL_TI2SEL, TISelection);
2789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
2791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->TISEL, TIM_TISEL_TI3SEL, TISelection);
2792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4:
2794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->TISEL, TIM_TISEL_TI4SEL, TISelection);
2795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
2797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR;
2798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
2802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status;
2804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
2807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Group channel 5 and channel 1, 2 or 3
2808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle.
2809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channels specifies the reference signal(s) the OC5REF is combined with.
2810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be any combination of the following values:
2811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * TIM_GROUPCH5_NONE: No effect of OC5REF on OC1REFC, OC2REFC and OC3REFC
2812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * TIM_GROUPCH5_OC1REFC: OC1REFC is the logical AND of OC1REFC and OC5REF
2813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * TIM_GROUPCH5_OC2REFC: OC2REFC is the logical AND of OC2REFC and OC5REF
2814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * TIM_GROUPCH5_OC3REFC: OC3REFC is the logical AND of OC3REFC and OC5REF
2815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
2816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
2817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_GroupChannel5(TIM_HandleTypeDef *htim, uint32_t Channels)
2818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check parameters */
2820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_COMBINED3PHASEPWM_INSTANCE(htim->Instance));
2821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_GROUPCH5(Channels));
2822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Process Locked */
ARM GAS /tmp/ccqCLCUn.s page 51
2824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim);
2825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_BUSY;
2827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Clear GC5Cx bit fields */
2829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CCR5 &= ~(TIM_CCR5_GC5C3 | TIM_CCR5_GC5C2 | TIM_CCR5_GC5C1);
2830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set GC5Cx bit fields */
2832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CCR5 |= Channels;
2833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the htim state */
2835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY;
2836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
2838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
2840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
2843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disarm the designated break input (when it operates in bidirectional mode).
2844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle.
2845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param BreakInput Break input to disarm
2846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
2847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_BREAKINPUT_BRK: Timer break input
2848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_BREAKINPUT_BRK2: Timer break 2 input
2849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note The break input can be disarmed only when it is configured in
2850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * bidirectional mode and when when MOE is reset.
2851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Purpose is to be able to have the input voltage back to high-state,
2852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * whatever the time constant on the output .
2853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
2854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
2855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DisarmBreakInput(TIM_HandleTypeDef *htim, uint32_t BreakInput)
2856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
2858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr;
2859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
2861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance));
2862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUT(BreakInput));
2863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (BreakInput)
2865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUT_BRK:
2867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check initial conditions */
2869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpbdtr = READ_REG(htim->Instance->BDTR);
2870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BKBID) == TIM_BDTR_BKBID) &&
2871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U))
2872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Break input BRK is disarmed */
2874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->BDTR, TIM_BDTR_BKDSRM);
2875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUT_BRK2:
2879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check initial conditions */
ARM GAS /tmp/ccqCLCUn.s page 52
2881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpbdtr = READ_REG(htim->Instance->BDTR);
2882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BK2BID) == TIM_BDTR_BK2BID) &&
2883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U))
2884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Break input BRK is disarmed */
2886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->BDTR, TIM_BDTR_BK2DSRM);
2887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
2891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR;
2892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status;
2896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
2899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Arm the designated break input (when it operates in bidirectional mode).
2900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle.
2901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param BreakInput Break input to arm
2902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
2903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_BREAKINPUT_BRK: Timer break input
2904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_BREAKINPUT_BRK2: Timer break 2 input
2905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Arming is possible at anytime, even if fault is present.
2906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Break input is automatically armed as soon as MOE bit is set.
2907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
2908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
2909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ReArmBreakInput(const TIM_HandleTypeDef *htim, uint32_t BreakInput)
2910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
2912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart;
2913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
2915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance));
2916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUT(BreakInput));
2917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (BreakInput)
2919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUT_BRK:
2921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check initial conditions */
2923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BKBID) == TIM_BDTR_BKBID)
2924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Break input BRK is re-armed automatically by hardware. Poll to check whether fault condi
2926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Init tickstart for timeout management */
2927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tickstart = HAL_GetTick();
2928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** while (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BKDSRM) != 0UL)
2929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((HAL_GetTick() - tickstart) > TIM_BREAKINPUT_REARM_TIMEOUT)
2931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* New check to avoid false timeout detection in case of preemption */
2933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BKDSRM) != 0UL)
2934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_TIMEOUT;
2936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
ARM GAS /tmp/ccqCLCUn.s page 53
2938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUT_BRK2:
2944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check initial conditions */
2946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BK2BID) == TIM_BDTR_BK2BID)
2947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Break input BRK2 is re-armed automatically by hardware. Poll to check whether fault cond
2949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Init tickstart for timeout management */
2950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tickstart = HAL_GetTick();
2951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** while (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BK2DSRM) != 0UL)
2952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((HAL_GetTick() - tickstart) > TIM_BREAKINPUT_REARM_TIMEOUT)
2954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* New check to avoid false timeout detection in case of preemption */
2956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BK2DSRM) != 0UL)
2957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_TIMEOUT;
2959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
2966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR;
2967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status;
2971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
2974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enable dithering
2975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
2976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Main usage is PWM mode
2977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note This function must be called when timer is stopped or disabled (CEN =0)
2978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note If dithering is activated, pay attention to ARR, CCRx, CNT interpretation:
2979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * - CNT: only CNT[11:0] holds the non-dithered part for 16b timers (or CNT[26:0] for 32
2980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * - ARR: ARR[15:4] holds the non-dithered part, and ARR[3:0] the dither part for 16b ti
2981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * - CCRx: CCRx[15:4] holds the non-dithered part, and CCRx[3:0] the dither part for 16b
2982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * - ARR and CCRx values are limited to 0xFFEF in dithering mode for 16b timers
2983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (corresponds to 4094 for the integer part and 15 for the dithered part).
2984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Macros @ref __HAL_TIM_CALC_PERIOD_DITHER() __HAL_TIM_CALC_DELAY_DITHER() __HAL_TIM_CAL
2985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * can be used to calculate period (ARR) and delay (CCRx) value.
2986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Enabling dithering, modifies automatically values of registers ARR/CCRx to keep the sam
2987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Enabling dithering, modifies automatically values of registers ARR/CCRx to keep the sam
2988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * So it may be necessary to read ARR value or CCRx value with macros @ref __HAL_TIM_GET_A
2989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * __HAL_TIM_GET_COMPARE() and if necessary update Init structure field htim->Init.Period
2990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
2991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
2992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DitheringEnable(TIM_HandleTypeDef *htim)
2993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
ARM GAS /tmp/ccqCLCUn.s page 54
2995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INSTANCE(htim->Instance));
2996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->CR1, TIM_CR1_DITHEN);
2998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
2999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disable dithering
3003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note This function must be called when timer is stopped or disabled (CEN =0)
3005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note If dithering is activated, pay attention to ARR, CCRx, CNT interpretation:
3006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * - CNT: only CNT[11:0] holds the non-dithered part for 16b timers (or CNT[26:0] for 32
3007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * - ARR: ARR[15:4] holds the non-dithered part, and ARR[3:0] the dither part for 16b ti
3008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * - CCRx: CCRx[15:4] holds the non-dithered part, and CCRx[3:0] the dither part for 16b
3009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * - ARR and CCRx values are limited to 0xFFEF in dithering mode
3010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (corresponds to 4094 for the integer part and 15 for the dithered part).
3011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Disabling dithering, modifies automatically values of registers ARR/CCRx to keep the sa
3012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * So it may be necessary to read ARR value or CCRx value with macros @ref __HAL_TIM_GET_A
3013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * __HAL_TIM_GET_COMPARE() and if necessary update Init structure field htim->Init.Period
3014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DitheringDisable(TIM_HandleTypeDef *htim)
3017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INSTANCE(htim->Instance));
3020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->CR1, TIM_CR1_DITHEN);
3022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Initializes the pulse on compare pulse width and pulse prescaler
3027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Output Compare handle
3028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param PulseWidthPrescaler Pulse width prescaler
3029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be a number between Min_Data = 0x0 and Max_Data = 0x7
3030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param PulseWidth Pulse width
3031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be a number between Min_Data = 0x00 and Max_Data = 0xFF
3032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OC_ConfigPulseOnCompare(TIM_HandleTypeDef *htim,
3035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t PulseWidthPrescaler,
3036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t PulseWidth)
3037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpecr;
3039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_PULSEONCOMPARE_INSTANCE(htim->Instance));
3042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_PULSEONCOMPARE_WIDTH(PulseWidth));
3043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_PULSEONCOMPARE_WIDTHPRESCALER(PulseWidthPrescaler));
3044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Process Locked */
3046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim);
3047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM state */
3049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_BUSY;
3050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Get the TIMx ECR register value */
ARM GAS /tmp/ccqCLCUn.s page 55
3052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpecr = htim->Instance->ECR;
3053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the Pulse width prescaler and the Pulse width */
3054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpecr &= ~(TIM_ECR_PWPRSC | TIM_ECR_PW);
3055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the Pulse width prescaler and Pulse width*/
3056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpecr |= PulseWidthPrescaler << TIM_ECR_PWPRSC_Pos;
3057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpecr |= PulseWidth << TIM_ECR_PW_Pos;
3058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Write to TIMx ECR */
3059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->ECR = tmpecr;
3060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the TIM state */
3062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY;
3063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Release Lock */
3065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
3066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configure preload source of Slave Mode Selection bitfield (SMS in SMCR register)
3072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Source Source of slave mode selection preload
3074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
3075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_SMS_PRELOAD_SOURCE_UPDATE: Timer update event is used as source of Slave Mo
3076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_SMS_PRELOAD_SOURCE_INDEX: Timer index event is used as source of Slave Mode
3077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigSlaveModePreload(TIM_HandleTypeDef *htim, uint32_t Source)
3080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_SLAVE_INSTANCE(htim->Instance));
3083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_SLAVE_PRELOAD_SOURCE(Source));
3084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->SMCR, TIM_SMCR_SMSPS, Source);
3086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enable preload of Slave Mode Selection bitfield (SMS in SMCR register)
3091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_EnableSlaveModePreload(TIM_HandleTypeDef *htim)
3095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_SLAVE_INSTANCE(htim->Instance));
3098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->SMCR, TIM_SMCR_SMSPE);
3100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disable preload of Slave Mode Selection bitfield (SMS in SMCR register)
3105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DisableSlaveModePreload(TIM_HandleTypeDef *htim)
ARM GAS /tmp/ccqCLCUn.s page 56
3109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_SLAVE_INSTANCE(htim->Instance));
3112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->SMCR, TIM_SMCR_SMSPE);
3114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enable deadtime preload
3119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_EnableDeadTimePreload(TIM_HandleTypeDef *htim)
3123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance));
3126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->DTR2, TIM_DTR2_DTPE);
3128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disable deadtime preload
3133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DisableDeadTimePreload(TIM_HandleTypeDef *htim)
3137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance));
3140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->DTR2, TIM_DTR2_DTPE);
3142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configure deadtime
3147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Deadtime Deadtime value
3149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note This parameter can be a number between Min_Data = 0x00 and Max_Data = 0xFF
3150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigDeadTime(TIM_HandleTypeDef *htim, uint32_t Deadtime)
3153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance));
3156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_DEADTIME(Deadtime));
3157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->BDTR, TIM_BDTR_DTG, Deadtime);
3159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configure asymmetrical deadtime
3164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param FallingDeadtime Falling edge deadtime value
ARM GAS /tmp/ccqCLCUn.s page 57
3166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note This parameter can be a number between Min_Data = 0x00 and Max_Data = 0xFF
3167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigAsymmetricalDeadTime(TIM_HandleTypeDef *htim, uint32_t FallingDea
3170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance));
3173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_DEADTIME(FallingDeadtime));
3174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->DTR2, TIM_DTR2_DTGF, FallingDeadtime);
3176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enable asymmetrical deadtime
3181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_EnableAsymmetricalDeadTime(TIM_HandleTypeDef *htim)
3185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance));
3188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->DTR2, TIM_DTR2_DTAE);
3190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disable asymmetrical deadtime
3195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DisableAsymmetricalDeadTime(TIM_HandleTypeDef *htim)
3199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance));
3202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->DTR2, TIM_DTR2_DTAE);
3204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configures the encoder index.
3209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note warning in case of encoder mode clock plus direction
3210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @ref TIM_ENCODERMODE_CLOCKPLUSDIRECTION_X1 or @ref TIM_ENCODERMODE_CLOCKPLUS
3211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * Direction must be set to @ref TIM_ENCODERINDEX_DIRECTION_UP_DOWN
3212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle.
3213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param sEncoderIndexConfig Encoder index configuration
3214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigEncoderIndex(TIM_HandleTypeDef *htim,
3217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIMEx_EncoderIndexConfigTypeDef *sEncoderIndexConfig
3218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance));
3221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_POLARITY(sEncoderIndexConfig->Polarity));
3222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_PRESCALER(sEncoderIndexConfig->Prescaler));
ARM GAS /tmp/ccqCLCUn.s page 58
3223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_FILTER(sEncoderIndexConfig->Filter));
3224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_FUNCTIONAL_STATE(sEncoderIndexConfig->FirstIndexEnable));
3225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_POSITION(sEncoderIndexConfig->Position));
3226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_DIRECTION(sEncoderIndexConfig->Direction));
3227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Process Locked */
3229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim);
3230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Configures the TIMx External Trigger (ETR) which is used as Index input */
3232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ETR_SetConfig(htim->Instance,
3233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Prescaler,
3234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Polarity,
3235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Filter);
3236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Configures the encoder index */
3238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->ECR,
3239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ECR_IDIR_Msk | TIM_ECR_FIDX_Msk | TIM_ECR_IPOS_Msk,
3240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (sEncoderIndexConfig->Direction |
3241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ((sEncoderIndexConfig->FirstIndexEnable == ENABLE) ? (0x1U << TIM_ECR_FIDX_Pos) : 0U)
3242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Position |
3243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ECR_IE));
3244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
3246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enable encoder index
3252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_EnableEncoderIndex(TIM_HandleTypeDef *htim)
3256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance));
3259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->ECR, TIM_ECR_IE);
3261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disable encoder index
3266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DisableEncoderIndex(TIM_HandleTypeDef *htim)
3270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance));
3273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->ECR, TIM_ECR_IE);
3275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enable encoder first index
ARM GAS /tmp/ccqCLCUn.s page 59
3280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_EnableEncoderFirstIndex(TIM_HandleTypeDef *htim)
3284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance));
3287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->ECR, TIM_ECR_FIDX);
3289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disable encoder first index
3294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DisableEncoderFirstIndex(TIM_HandleTypeDef *htim)
3298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance));
3301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->ECR, TIM_ECR_FIDX);
3303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @}
3308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group6 Extended Callbacks functions
3311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Extended Callbacks functions
3312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
3313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim
3314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
3315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Extended Callbacks functions #####
3316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
3317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..]
3318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** This section provides Extended TIM callback functions:
3319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Timer Commutation callback
3320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Timer Break callback
3321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim
3323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{
3324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Commutation callback in non-blocking mode
3328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_CommutCallback(TIM_HandleTypeDef *htim)
3332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
3334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim);
3335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
ARM GAS /tmp/ccqCLCUn.s page 60
3337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_CommutCallback could be implemented in the user file
3338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Commutation half complete callback in non-blocking mode
3342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_CommutHalfCpltCallback(TIM_HandleTypeDef *htim)
3346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
3348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim);
3349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
3351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_CommutHalfCpltCallback could be implemented in the user file
3352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Break detection callback in non-blocking mode
3357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_BreakCallback(TIM_HandleTypeDef *htim)
3361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
3363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim);
3364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
3366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_BreakCallback could be implemented in the user file
3367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Break2 detection callback in non blocking mode
3372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim: TIM handle
3373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_Break2Callback(TIM_HandleTypeDef *htim)
3376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
3378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim);
3379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function Should not be modified, when the callback is needed,
3381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_Break2Callback could be implemented in the user file
3382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Encoder index callback in non-blocking mode
3387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_EncoderIndexCallback(TIM_HandleTypeDef *htim)
3391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
3393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim);
ARM GAS /tmp/ccqCLCUn.s page 61
3394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
3396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_EncoderIndexCallback could be implemented in the user file
3397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Direction change callback in non-blocking mode
3402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_DirectionChangeCallback(TIM_HandleTypeDef *htim)
3406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
3408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim);
3409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
3411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_DirectionChangeCallback could be implemented in the user file
3412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Index error callback in non-blocking mode
3417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_IndexErrorCallback(TIM_HandleTypeDef *htim)
3421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
3423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim);
3424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
3426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_IndexErrorCallback could be implemented in the user file
3427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Transition error callback in non-blocking mode
3432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_TransitionErrorCallback(TIM_HandleTypeDef *htim)
3436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
3438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim);
3439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
3441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_TransitionErrorCallback could be implemented in the user file
3442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @}
3447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group7 Extended Peripheral State functions
3450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Extended Peripheral State functions
ARM GAS /tmp/ccqCLCUn.s page 62
3451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
3452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim
3453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
3454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Extended Peripheral State functions #####
3455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
3456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..]
3457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** This subsection permits to get in run-time the status of the peripheral
3458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** and the data flow.
3459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim
3461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{
3462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Return the TIM Hall Sensor interface handle state.
3466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor handle
3467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL state
3468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_StateTypeDef HAL_TIMEx_HallSensor_GetState(const TIM_HandleTypeDef *htim)
3470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return htim->State;
3472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Return actual state of the TIM complementary channel.
3476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param ChannelN TIM Complementary channel
3478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
3479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1
3480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2
3481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3
3482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4
3483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval TIM Complementary channel state
3484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef HAL_TIMEx_GetChannelNState(const TIM_HandleTypeDef *htim, uint32_t Cha
3486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_state;
3488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, ChannelN));
3491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** channel_state = TIM_CHANNEL_N_STATE_GET(htim, ChannelN);
3493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return channel_state;
3495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @}
3498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @}
3502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Private functions ---------------------------------------------------------*/
3505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Private_Functions TIM Extended Private Functions
3506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{
3507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
ARM GAS /tmp/ccqCLCUn.s page 63
3508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief TIM DMA Commutation callback.
3511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param hdma pointer to DMA handle.
3512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** void TIMEx_DMACommutationCplt(DMA_HandleTypeDef *hdma)
3515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
3517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the htim state */
3519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY;
3520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
3522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->CommutationCallback(htim);
3523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else
3524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIMEx_CommutCallback(htim);
3525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
3526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief TIM DMA Commutation half complete callback.
3530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param hdma pointer to DMA handle.
3531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** void TIMEx_DMACommutationHalfCplt(DMA_HandleTypeDef *hdma)
3534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
3536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the htim state */
3538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY;
3539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
3541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->CommutationHalfCpltCallback(htim);
3542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else
3543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIMEx_CommutHalfCpltCallback(htim);
3544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
3545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief TIM DMA Delay Pulse complete callback (complementary channel).
3550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param hdma pointer to DMA handle.
3551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** static void TIM_DMADelayPulseNCplt(DMA_HandleTypeDef *hdma)
3554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
3556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (hdma == htim->hdma[TIM_DMA_ID_CC1])
3558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1;
3560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (hdma->Init.Mode == DMA_NORMAL)
3562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
3564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
ARM GAS /tmp/ccqCLCUn.s page 64
3565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC2])
3567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2;
3569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (hdma->Init.Mode == DMA_NORMAL)
3571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
3573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC3])
3576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3;
3578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (hdma->Init.Mode == DMA_NORMAL)
3580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY);
3582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC4])
3585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4;
3587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (hdma->Init.Mode == DMA_NORMAL)
3589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY);
3591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
3594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* nothing to do */
3596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
3599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->PWM_PulseFinishedCallback(htim);
3600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else
3601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_PWM_PulseFinishedCallback(htim);
3602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
3603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED;
3605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief TIM DMA error callback (complementary channel)
3609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param hdma pointer to DMA handle.
3610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** static void TIM_DMAErrorCCxN(DMA_HandleTypeDef *hdma)
3613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
3615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (hdma == htim->hdma[TIM_DMA_ID_CC1])
3617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1;
3619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
3620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC2])
ARM GAS /tmp/ccqCLCUn.s page 65
3622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2;
3624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
3625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC3])
3627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3;
3629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY);
3630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC4])
3632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4;
3634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY);
3635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
3637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* nothing to do */
3639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
3642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->ErrorCallback(htim);
3643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else
3644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ErrorCallback(htim);
3645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
3646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED;
3648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enables or disables the TIM Capture Compare Channel xN.
3652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param TIMx to select the TIM peripheral
3653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel specifies the TIM Channel
3654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
3655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1
3656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2
3657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3
3658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4
3659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param ChannelNState specifies the TIM Channel CCxNE bit new state.
3660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be: TIM_CCxN_ENABLE or TIM_CCxN_Disable.
3661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** static void TIM_CCxNChannelCmd(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ChannelNState)
3664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
29 .loc 1 3664 1 view -0
30 .cfi_startproc
31 @ args = 0, pretend = 0, frame = 0
32 @ frame_needed = 0, uses_anonymous_args = 0
33 @ link register save eliminated.
3665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmp;
34 .loc 1 3665 3 view .LVU1
3666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmp = TIM_CCER_CC1NE << (Channel & 0xFU); /* 0xFU = 15 bits max shift */
35 .loc 1 3667 3 view .LVU2
36 .loc 1 3667 36 is_stmt 0 view .LVU3
37 0000 01F00F01 and r1, r1, #15
38 .LVL1:
39 .loc 1 3667 7 view .LVU4
ARM GAS /tmp/ccqCLCUn.s page 66
40 0004 4FF0040C mov ip, #4
41 0008 0CFA01FC lsl ip, ip, r1
42 .LVL2:
3668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the CCxNE Bit */
3670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIMx->CCER &= ~tmp;
43 .loc 1 3670 3 is_stmt 1 view .LVU5
44 .loc 1 3670 7 is_stmt 0 view .LVU6
45 000c 036A ldr r3, [r0, #32]
46 .loc 1 3670 14 view .LVU7
47 000e 23EA0C03 bic r3, r3, ip
48 0012 0362 str r3, [r0, #32]
3671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set or reset the CCxNE Bit */
3673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIMx->CCER |= (uint32_t)(ChannelNState << (Channel & 0xFU)); /* 0xFU = 15 bits max shift */
49 .loc 1 3673 3 is_stmt 1 view .LVU8
50 .loc 1 3673 7 is_stmt 0 view .LVU9
51 0014 036A ldr r3, [r0, #32]
52 .loc 1 3673 42 view .LVU10
53 0016 8A40 lsls r2, r2, r1
54 .LVL3:
55 .loc 1 3673 14 view .LVU11
56 0018 1343 orrs r3, r3, r2
57 001a 0362 str r3, [r0, #32]
3674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
58 .loc 1 3674 1 view .LVU12
59 001c 7047 bx lr
60 .cfi_endproc
61 .LFE397:
63 .section .text.TIM_DMAErrorCCxN,"ax",%progbits
64 .align 1
65 .syntax unified
66 .thumb
67 .thumb_func
69 TIM_DMAErrorCCxN:
70 .LVL4:
71 .LFB396:
3613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
72 .loc 1 3613 1 is_stmt 1 view -0
73 .cfi_startproc
74 @ args = 0, pretend = 0, frame = 0
75 @ frame_needed = 0, uses_anonymous_args = 0
3613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
76 .loc 1 3613 1 is_stmt 0 view .LVU14
77 0000 10B5 push {r4, lr}
78 .LCFI0:
79 .cfi_def_cfa_offset 8
80 .cfi_offset 4, -8
81 .cfi_offset 14, -4
3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
82 .loc 1 3614 3 is_stmt 1 view .LVU15
3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
83 .loc 1 3614 22 is_stmt 0 view .LVU16
84 0002 846A ldr r4, [r0, #40]
85 .LVL5:
3616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
86 .loc 1 3616 3 is_stmt 1 view .LVU17
ARM GAS /tmp/ccqCLCUn.s page 67
3616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
87 .loc 1 3616 25 is_stmt 0 view .LVU18
88 0004 636A ldr r3, [r4, #36]
3616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
89 .loc 1 3616 6 view .LVU19
90 0006 8342 cmp r3, r0
91 0008 0ED0 beq .L8
3621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
92 .loc 1 3621 8 is_stmt 1 view .LVU20
3621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
93 .loc 1 3621 30 is_stmt 0 view .LVU21
94 000a A36A ldr r3, [r4, #40]
3621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
95 .loc 1 3621 11 view .LVU22
96 000c 8342 cmp r3, r0
97 000e 15D0 beq .L9
3626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
98 .loc 1 3626 8 is_stmt 1 view .LVU23
3626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
99 .loc 1 3626 30 is_stmt 0 view .LVU24
100 0010 E36A ldr r3, [r4, #44]
3626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
101 .loc 1 3626 11 view .LVU25
102 0012 8342 cmp r3, r0
103 0014 18D0 beq .L10
3631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
104 .loc 1 3631 8 is_stmt 1 view .LVU26
3631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
105 .loc 1 3631 30 is_stmt 0 view .LVU27
106 0016 236B ldr r3, [r4, #48]
3631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
107 .loc 1 3631 11 view .LVU28
108 0018 8342 cmp r3, r0
109 001a 09D1 bne .L4
3633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY);
110 .loc 1 3633 5 is_stmt 1 view .LVU29
3633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY);
111 .loc 1 3633 19 is_stmt 0 view .LVU30
112 001c 0823 movs r3, #8
113 001e 2377 strb r3, [r4, #28]
3634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
114 .loc 1 3634 5 is_stmt 1 view .LVU31
115 0020 0123 movs r3, #1
116 0022 84F84730 strb r3, [r4, #71]
117 0026 03E0 b .L4
118 .L8:
3618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
119 .loc 1 3618 5 view .LVU32
3618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
120 .loc 1 3618 19 is_stmt 0 view .LVU33
121 0028 0123 movs r3, #1
122 002a 2377 strb r3, [r4, #28]
3619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
123 .loc 1 3619 5 is_stmt 1 view .LVU34
124 002c 84F84430 strb r3, [r4, #68]
125 .L4:
3639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 68
126 .loc 1 3639 3 view .LVU35
3644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
127 .loc 1 3644 3 view .LVU36
128 0030 2046 mov r0, r4
129 .LVL6:
3644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
130 .loc 1 3644 3 is_stmt 0 view .LVU37
131 0032 FFF7FEFF bl HAL_TIM_ErrorCallback
132 .LVL7:
3647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
133 .loc 1 3647 3 is_stmt 1 view .LVU38
3647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
134 .loc 1 3647 17 is_stmt 0 view .LVU39
135 0036 0023 movs r3, #0
136 0038 2377 strb r3, [r4, #28]
3648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
137 .loc 1 3648 1 view .LVU40
138 003a 10BD pop {r4, pc}
139 .LVL8:
140 .L9:
3623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
141 .loc 1 3623 5 is_stmt 1 view .LVU41
3623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
142 .loc 1 3623 19 is_stmt 0 view .LVU42
143 003c 0223 movs r3, #2
144 003e 2377 strb r3, [r4, #28]
3624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
145 .loc 1 3624 5 is_stmt 1 view .LVU43
146 0040 0123 movs r3, #1
147 0042 84F84530 strb r3, [r4, #69]
148 0046 F3E7 b .L4
149 .L10:
3628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY);
150 .loc 1 3628 5 view .LVU44
3628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY);
151 .loc 1 3628 19 is_stmt 0 view .LVU45
152 0048 0423 movs r3, #4
153 004a 2377 strb r3, [r4, #28]
3629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
154 .loc 1 3629 5 is_stmt 1 view .LVU46
155 004c 0123 movs r3, #1
156 004e 84F84630 strb r3, [r4, #70]
157 0052 EDE7 b .L4
158 .cfi_endproc
159 .LFE396:
161 .section .text.TIM_DMADelayPulseNCplt,"ax",%progbits
162 .align 1
163 .syntax unified
164 .thumb
165 .thumb_func
167 TIM_DMADelayPulseNCplt:
168 .LVL9:
169 .LFB395:
3554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
170 .loc 1 3554 1 view -0
171 .cfi_startproc
172 @ args = 0, pretend = 0, frame = 0
ARM GAS /tmp/ccqCLCUn.s page 69
173 @ frame_needed = 0, uses_anonymous_args = 0
3554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
174 .loc 1 3554 1 is_stmt 0 view .LVU48
175 0000 10B5 push {r4, lr}
176 .LCFI1:
177 .cfi_def_cfa_offset 8
178 .cfi_offset 4, -8
179 .cfi_offset 14, -4
3555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
180 .loc 1 3555 3 is_stmt 1 view .LVU49
3555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
181 .loc 1 3555 22 is_stmt 0 view .LVU50
182 0002 846A ldr r4, [r0, #40]
183 .LVL10:
3557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
184 .loc 1 3557 3 is_stmt 1 view .LVU51
3557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
185 .loc 1 3557 25 is_stmt 0 view .LVU52
186 0004 636A ldr r3, [r4, #36]
3557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
187 .loc 1 3557 6 view .LVU53
188 0006 8342 cmp r3, r0
189 0008 0ED0 beq .L17
3566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
190 .loc 1 3566 8 is_stmt 1 view .LVU54
3566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
191 .loc 1 3566 30 is_stmt 0 view .LVU55
192 000a A36A ldr r3, [r4, #40]
3566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
193 .loc 1 3566 11 view .LVU56
194 000c 8342 cmp r3, r0
195 000e 14D0 beq .L18
3575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
196 .loc 1 3575 8 is_stmt 1 view .LVU57
3575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
197 .loc 1 3575 30 is_stmt 0 view .LVU58
198 0010 E36A ldr r3, [r4, #44]
3575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
199 .loc 1 3575 11 view .LVU59
200 0012 8342 cmp r3, r0
201 0014 1AD0 beq .L19
3584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
202 .loc 1 3584 8 is_stmt 1 view .LVU60
3584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
203 .loc 1 3584 30 is_stmt 0 view .LVU61
204 0016 236B ldr r3, [r4, #48]
3584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
205 .loc 1 3584 11 view .LVU62
206 0018 8342 cmp r3, r0
207 001a 20D0 beq .L20
208 .L13:
3596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
209 .loc 1 3596 3 is_stmt 1 view .LVU63
3601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
210 .loc 1 3601 3 view .LVU64
211 001c 2046 mov r0, r4
212 .LVL11:
ARM GAS /tmp/ccqCLCUn.s page 70
3601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
213 .loc 1 3601 3 is_stmt 0 view .LVU65
214 001e FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback
215 .LVL12:
3604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
216 .loc 1 3604 3 is_stmt 1 view .LVU66
3604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
217 .loc 1 3604 17 is_stmt 0 view .LVU67
218 0022 0023 movs r3, #0
219 0024 2377 strb r3, [r4, #28]
3605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
220 .loc 1 3605 1 view .LVU68
221 0026 10BD pop {r4, pc}
222 .LVL13:
223 .L17:
3559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
224 .loc 1 3559 5 is_stmt 1 view .LVU69
3559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
225 .loc 1 3559 19 is_stmt 0 view .LVU70
226 0028 0123 movs r3, #1
227 002a 2377 strb r3, [r4, #28]
3561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
228 .loc 1 3561 5 is_stmt 1 view .LVU71
3561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
229 .loc 1 3561 19 is_stmt 0 view .LVU72
230 002c C369 ldr r3, [r0, #28]
3561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
231 .loc 1 3561 8 view .LVU73
232 002e 002B cmp r3, #0
233 0030 F4D1 bne .L13
3563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
234 .loc 1 3563 7 is_stmt 1 view .LVU74
235 0032 0123 movs r3, #1
236 0034 84F84430 strb r3, [r4, #68]
237 0038 F0E7 b .L13
238 .L18:
3568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
239 .loc 1 3568 5 view .LVU75
3568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
240 .loc 1 3568 19 is_stmt 0 view .LVU76
241 003a 0223 movs r3, #2
242 003c 2377 strb r3, [r4, #28]
3570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
243 .loc 1 3570 5 is_stmt 1 view .LVU77
3570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
244 .loc 1 3570 19 is_stmt 0 view .LVU78
245 003e C369 ldr r3, [r0, #28]
3570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
246 .loc 1 3570 8 view .LVU79
247 0040 002B cmp r3, #0
248 0042 EBD1 bne .L13
3572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
249 .loc 1 3572 7 is_stmt 1 view .LVU80
250 0044 0123 movs r3, #1
251 0046 84F84530 strb r3, [r4, #69]
252 004a E7E7 b .L13
253 .L19:
ARM GAS /tmp/ccqCLCUn.s page 71
3577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
254 .loc 1 3577 5 view .LVU81
3577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
255 .loc 1 3577 19 is_stmt 0 view .LVU82
256 004c 0423 movs r3, #4
257 004e 2377 strb r3, [r4, #28]
3579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
258 .loc 1 3579 5 is_stmt 1 view .LVU83
3579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
259 .loc 1 3579 19 is_stmt 0 view .LVU84
260 0050 C369 ldr r3, [r0, #28]
3579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
261 .loc 1 3579 8 view .LVU85
262 0052 002B cmp r3, #0
263 0054 E2D1 bne .L13
3581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
264 .loc 1 3581 7 is_stmt 1 view .LVU86
265 0056 0123 movs r3, #1
266 0058 84F84630 strb r3, [r4, #70]
267 005c DEE7 b .L13
268 .L20:
3586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
269 .loc 1 3586 5 view .LVU87
3586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
270 .loc 1 3586 19 is_stmt 0 view .LVU88
271 005e 0823 movs r3, #8
272 0060 2377 strb r3, [r4, #28]
3588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
273 .loc 1 3588 5 is_stmt 1 view .LVU89
3588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
274 .loc 1 3588 19 is_stmt 0 view .LVU90
275 0062 C369 ldr r3, [r0, #28]
3588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
276 .loc 1 3588 8 view .LVU91
277 0064 002B cmp r3, #0
278 0066 D9D1 bne .L13
3590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
279 .loc 1 3590 7 is_stmt 1 view .LVU92
280 0068 0123 movs r3, #1
281 006a 84F84730 strb r3, [r4, #71]
282 006e D5E7 b .L13
283 .cfi_endproc
284 .LFE395:
286 .section .text.HAL_TIMEx_HallSensor_MspInit,"ax",%progbits
287 .align 1
288 .weak HAL_TIMEx_HallSensor_MspInit
289 .syntax unified
290 .thumb
291 .thumb_func
293 HAL_TIMEx_HallSensor_MspInit:
294 .LVL14:
295 .LFB331:
305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
296 .loc 1 305 1 view -0
297 .cfi_startproc
298 @ args = 0, pretend = 0, frame = 0
299 @ frame_needed = 0, uses_anonymous_args = 0
ARM GAS /tmp/ccqCLCUn.s page 72
300 @ link register save eliminated.
307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
301 .loc 1 307 3 view .LVU94
312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
302 .loc 1 312 1 is_stmt 0 view .LVU95
303 0000 7047 bx lr
304 .cfi_endproc
305 .LFE331:
307 .section .text.HAL_TIMEx_HallSensor_Init,"ax",%progbits
308 .align 1
309 .global HAL_TIMEx_HallSensor_Init
310 .syntax unified
311 .thumb
312 .thumb_func
314 HAL_TIMEx_HallSensor_Init:
315 .LVL15:
316 .LFB329:
158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_OC_InitTypeDef OC_Config;
317 .loc 1 158 1 is_stmt 1 view -0
318 .cfi_startproc
319 @ args = 0, pretend = 0, frame = 32
320 @ frame_needed = 0, uses_anonymous_args = 0
159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
321 .loc 1 159 3 view .LVU97
162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
322 .loc 1 162 3 view .LVU98
162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
323 .loc 1 162 6 is_stmt 0 view .LVU99
324 0000 0028 cmp r0, #0
325 0002 6BD0 beq .L25
158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_OC_InitTypeDef OC_Config;
326 .loc 1 158 1 view .LVU100
327 0004 70B5 push {r4, r5, r6, lr}
328 .LCFI2:
329 .cfi_def_cfa_offset 16
330 .cfi_offset 4, -16
331 .cfi_offset 5, -12
332 .cfi_offset 6, -8
333 .cfi_offset 14, -4
334 0006 88B0 sub sp, sp, #32
335 .LCFI3:
336 .cfi_def_cfa_offset 48
337 0008 0E46 mov r6, r1
338 000a 0446 mov r4, r0
168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode));
339 .loc 1 168 3 is_stmt 1 view .LVU101
169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision));
340 .loc 1 169 3 view .LVU102
170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload));
341 .loc 1 170 3 view .LVU103
171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_IC_POLARITY(sConfig->IC1Polarity));
342 .loc 1 171 3 view .LVU104
172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_PERIOD(htim, htim->Init.Period));
343 .loc 1 172 3 view .LVU105
173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->IC1Prescaler));
344 .loc 1 173 3 view .LVU106
174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_IC_FILTER(sConfig->IC1Filter));
ARM GAS /tmp/ccqCLCUn.s page 73
345 .loc 1 174 3 view .LVU107
175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
346 .loc 1 175 3 view .LVU108
177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
347 .loc 1 177 3 view .LVU109
177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
348 .loc 1 177 11 is_stmt 0 view .LVU110
349 000c 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
350 .loc 1 177 6 view .LVU111
351 0010 002B cmp r3, #0
352 0012 5ED0 beq .L30
353 .LVL16:
354 .L24:
199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
355 .loc 1 199 3 is_stmt 1 view .LVU112
199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
356 .loc 1 199 15 is_stmt 0 view .LVU113
357 0014 0223 movs r3, #2
358 0016 84F83D30 strb r3, [r4, #61]
202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
359 .loc 1 202 3 is_stmt 1 view .LVU114
202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
360 .loc 1 202 38 is_stmt 0 view .LVU115
361 001a 2146 mov r1, r4
202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
362 .loc 1 202 3 view .LVU116
363 001c 51F8040B ldr r0, [r1], #4
364 0020 FFF7FEFF bl TIM_Base_SetConfig
365 .LVL17:
205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
366 .loc 1 205 3 is_stmt 1 view .LVU117
367 0024 B368 ldr r3, [r6, #8]
368 0026 0322 movs r2, #3
369 0028 3168 ldr r1, [r6]
370 002a 2068 ldr r0, [r4]
371 002c FFF7FEFF bl TIM_TI1_SetConfig
372 .LVL18:
208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the IC1PSC value */
373 .loc 1 208 3 view .LVU118
208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the IC1PSC value */
374 .loc 1 208 7 is_stmt 0 view .LVU119
375 0030 2268 ldr r2, [r4]
208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the IC1PSC value */
376 .loc 1 208 17 view .LVU120
377 0032 9369 ldr r3, [r2, #24]
208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the IC1PSC value */
378 .loc 1 208 25 view .LVU121
379 0034 23F00C03 bic r3, r3, #12
380 0038 9361 str r3, [r2, #24]
210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
381 .loc 1 210 3 is_stmt 1 view .LVU122
210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
382 .loc 1 210 7 is_stmt 0 view .LVU123
383 003a 2268 ldr r2, [r4]
210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
384 .loc 1 210 17 view .LVU124
ARM GAS /tmp/ccqCLCUn.s page 74
385 003c 9369 ldr r3, [r2, #24]
210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
386 .loc 1 210 35 view .LVU125
387 003e 7168 ldr r1, [r6, #4]
210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
388 .loc 1 210 25 view .LVU126
389 0040 0B43 orrs r3, r3, r1
390 0042 9361 str r3, [r2, #24]
213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
391 .loc 1 213 3 is_stmt 1 view .LVU127
213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
392 .loc 1 213 7 is_stmt 0 view .LVU128
393 0044 2268 ldr r2, [r4]
213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
394 .loc 1 213 17 view .LVU129
395 0046 5368 ldr r3, [r2, #4]
213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
396 .loc 1 213 23 view .LVU130
397 0048 43F08003 orr r3, r3, #128
398 004c 5360 str r3, [r2, #4]
216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_TS_TI1F_ED;
399 .loc 1 216 3 is_stmt 1 view .LVU131
216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_TS_TI1F_ED;
400 .loc 1 216 7 is_stmt 0 view .LVU132
401 004e 2268 ldr r2, [r4]
216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_TS_TI1F_ED;
402 .loc 1 216 17 view .LVU133
403 0050 9368 ldr r3, [r2, #8]
216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_TS_TI1F_ED;
404 .loc 1 216 24 view .LVU134
405 0052 23F44013 bic r3, r3, #3145728
406 0056 23F07003 bic r3, r3, #112
407 005a 9360 str r3, [r2, #8]
217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
408 .loc 1 217 3 is_stmt 1 view .LVU135
217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
409 .loc 1 217 7 is_stmt 0 view .LVU136
410 005c 2268 ldr r2, [r4]
217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
411 .loc 1 217 17 view .LVU137
412 005e 9368 ldr r3, [r2, #8]
217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
413 .loc 1 217 24 view .LVU138
414 0060 43F04003 orr r3, r3, #64
415 0064 9360 str r3, [r2, #8]
220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_RESET;
416 .loc 1 220 3 is_stmt 1 view .LVU139
220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_RESET;
417 .loc 1 220 7 is_stmt 0 view .LVU140
418 0066 2268 ldr r2, [r4]
220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_RESET;
419 .loc 1 220 17 view .LVU141
420 0068 9368 ldr r3, [r2, #8]
220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_RESET;
421 .loc 1 220 24 view .LVU142
422 006a 23F48033 bic r3, r3, #65536
423 006e 23F00703 bic r3, r3, #7
ARM GAS /tmp/ccqCLCUn.s page 75
424 0072 9360 str r3, [r2, #8]
221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
425 .loc 1 221 3 is_stmt 1 view .LVU143
221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
426 .loc 1 221 7 is_stmt 0 view .LVU144
427 0074 2268 ldr r2, [r4]
221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
428 .loc 1 221 17 view .LVU145
429 0076 9368 ldr r3, [r2, #8]
221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
430 .loc 1 221 24 view .LVU146
431 0078 43F00403 orr r3, r3, #4
432 007c 9360 str r3, [r2, #8]
224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCIdleState = TIM_OCIDLESTATE_RESET;
433 .loc 1 224 3 is_stmt 1 view .LVU147
224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCIdleState = TIM_OCIDLESTATE_RESET;
434 .loc 1 224 24 is_stmt 0 view .LVU148
435 007e 0025 movs r5, #0
436 0080 0595 str r5, [sp, #20]
225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCMode = TIM_OCMODE_PWM2;
437 .loc 1 225 3 is_stmt 1 view .LVU149
225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCMode = TIM_OCMODE_PWM2;
438 .loc 1 225 25 is_stmt 0 view .LVU150
439 0082 0695 str r5, [sp, #24]
226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCNIdleState = TIM_OCNIDLESTATE_RESET;
440 .loc 1 226 3 is_stmt 1 view .LVU151
226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCNIdleState = TIM_OCNIDLESTATE_RESET;
441 .loc 1 226 20 is_stmt 0 view .LVU152
442 0084 7023 movs r3, #112
443 0086 0193 str r3, [sp, #4]
227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCNPolarity = TIM_OCNPOLARITY_HIGH;
444 .loc 1 227 3 is_stmt 1 view .LVU153
227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCNPolarity = TIM_OCNPOLARITY_HIGH;
445 .loc 1 227 26 is_stmt 0 view .LVU154
446 0088 0795 str r5, [sp, #28]
228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCPolarity = TIM_OCPOLARITY_HIGH;
447 .loc 1 228 3 is_stmt 1 view .LVU155
228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCPolarity = TIM_OCPOLARITY_HIGH;
448 .loc 1 228 25 is_stmt 0 view .LVU156
449 008a 0495 str r5, [sp, #16]
229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.Pulse = sConfig->Commutation_Delay;
450 .loc 1 229 3 is_stmt 1 view .LVU157
229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.Pulse = sConfig->Commutation_Delay;
451 .loc 1 229 24 is_stmt 0 view .LVU158
452 008c 0395 str r5, [sp, #12]
230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
453 .loc 1 230 3 is_stmt 1 view .LVU159
230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
454 .loc 1 230 28 is_stmt 0 view .LVU160
455 008e F368 ldr r3, [r6, #12]
230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
456 .loc 1 230 19 view .LVU161
457 0090 0293 str r3, [sp, #8]
232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
458 .loc 1 232 3 is_stmt 1 view .LVU162
459 0092 01A9 add r1, sp, #4
460 0094 2068 ldr r0, [r4]
ARM GAS /tmp/ccqCLCUn.s page 76
461 0096 FFF7FEFF bl TIM_OC2_SetConfig
462 .LVL19:
236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_TRGO_OC2REF;
463 .loc 1 236 3 view .LVU163
236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_TRGO_OC2REF;
464 .loc 1 236 7 is_stmt 0 view .LVU164
465 009a 2268 ldr r2, [r4]
236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_TRGO_OC2REF;
466 .loc 1 236 17 view .LVU165
467 009c 5368 ldr r3, [r2, #4]
236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_TRGO_OC2REF;
468 .loc 1 236 23 view .LVU166
469 009e 23F00073 bic r3, r3, #33554432
470 00a2 23F07003 bic r3, r3, #112
471 00a6 5360 str r3, [r2, #4]
237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
472 .loc 1 237 3 is_stmt 1 view .LVU167
237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
473 .loc 1 237 7 is_stmt 0 view .LVU168
474 00a8 2268 ldr r2, [r4]
237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
475 .loc 1 237 17 view .LVU169
476 00aa 5368 ldr r3, [r2, #4]
237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
477 .loc 1 237 23 view .LVU170
478 00ac 43F05003 orr r3, r3, #80
479 00b0 5360 str r3, [r2, #4]
240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
480 .loc 1 240 3 is_stmt 1 view .LVU171
240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
481 .loc 1 240 23 is_stmt 0 view .LVU172
482 00b2 0123 movs r3, #1
483 00b4 84F84830 strb r3, [r4, #72]
243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
484 .loc 1 243 3 is_stmt 1 view .LVU173
485 00b8 84F83E30 strb r3, [r4, #62]
244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
486 .loc 1 244 3 view .LVU174
487 00bc 84F83F30 strb r3, [r4, #63]
245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
488 .loc 1 245 3 view .LVU175
489 00c0 84F84430 strb r3, [r4, #68]
246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
490 .loc 1 246 3 view .LVU176
491 00c4 84F84530 strb r3, [r4, #69]
249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
492 .loc 1 249 3 view .LVU177
249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
493 .loc 1 249 15 is_stmt 0 view .LVU178
494 00c8 84F83D30 strb r3, [r4, #61]
251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
495 .loc 1 251 3 is_stmt 1 view .LVU179
251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
496 .loc 1 251 10 is_stmt 0 view .LVU180
497 00cc 2846 mov r0, r5
252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
498 .loc 1 252 1 view .LVU181
ARM GAS /tmp/ccqCLCUn.s page 77
499 00ce 08B0 add sp, sp, #32
500 .LCFI4:
501 .cfi_remember_state
502 .cfi_def_cfa_offset 16
503 @ sp needed
504 00d0 70BD pop {r4, r5, r6, pc}
505 .LVL20:
506 .L30:
507 .LCFI5:
508 .cfi_restore_state
180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
509 .loc 1 180 5 is_stmt 1 view .LVU182
180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
510 .loc 1 180 16 is_stmt 0 view .LVU183
511 00d2 80F83C30 strb r3, [r0, #60]
194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
512 .loc 1 194 5 is_stmt 1 view .LVU184
513 00d6 FFF7FEFF bl HAL_TIMEx_HallSensor_MspInit
514 .LVL21:
194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
515 .loc 1 194 5 is_stmt 0 view .LVU185
516 00da 9BE7 b .L24
517 .LVL22:
518 .L25:
519 .LCFI6:
520 .cfi_def_cfa_offset 0
521 .cfi_restore 4
522 .cfi_restore 5
523 .cfi_restore 6
524 .cfi_restore 14
164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
525 .loc 1 164 12 view .LVU186
526 00dc 0120 movs r0, #1
527 .LVL23:
252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
528 .loc 1 252 1 view .LVU187
529 00de 7047 bx lr
530 .cfi_endproc
531 .LFE329:
533 .section .text.HAL_TIMEx_HallSensor_MspDeInit,"ax",%progbits
534 .align 1
535 .weak HAL_TIMEx_HallSensor_MspDeInit
536 .syntax unified
537 .thumb
538 .thumb_func
540 HAL_TIMEx_HallSensor_MspDeInit:
541 .LVL24:
542 .LFB332:
320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
543 .loc 1 320 1 is_stmt 1 view -0
544 .cfi_startproc
545 @ args = 0, pretend = 0, frame = 0
546 @ frame_needed = 0, uses_anonymous_args = 0
547 @ link register save eliminated.
322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
548 .loc 1 322 3 view .LVU189
327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 78
549 .loc 1 327 1 is_stmt 0 view .LVU190
550 0000 7047 bx lr
551 .cfi_endproc
552 .LFE332:
554 .section .text.HAL_TIMEx_HallSensor_DeInit,"ax",%progbits
555 .align 1
556 .global HAL_TIMEx_HallSensor_DeInit
557 .syntax unified
558 .thumb
559 .thumb_func
561 HAL_TIMEx_HallSensor_DeInit:
562 .LVL25:
563 .LFB330:
260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
564 .loc 1 260 1 is_stmt 1 view -0
565 .cfi_startproc
566 @ args = 0, pretend = 0, frame = 0
567 @ frame_needed = 0, uses_anonymous_args = 0
260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
568 .loc 1 260 1 is_stmt 0 view .LVU192
569 0000 10B5 push {r4, lr}
570 .LCFI7:
571 .cfi_def_cfa_offset 8
572 .cfi_offset 4, -8
573 .cfi_offset 14, -4
574 0002 0446 mov r4, r0
262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
575 .loc 1 262 3 is_stmt 1 view .LVU193
264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
576 .loc 1 264 3 view .LVU194
264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
577 .loc 1 264 15 is_stmt 0 view .LVU195
578 0004 0223 movs r3, #2
579 0006 80F83D30 strb r3, [r0, #61]
267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
580 .loc 1 267 3 is_stmt 1 view .LVU196
267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
581 .loc 1 267 3 view .LVU197
582 000a 0368 ldr r3, [r0]
583 000c 196A ldr r1, [r3, #32]
584 000e 41F21112 movw r2, #4369
585 0012 1142 tst r1, r2
586 0014 08D1 bne .L33
267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
587 .loc 1 267 3 discriminator 1 view .LVU198
588 0016 196A ldr r1, [r3, #32]
589 0018 44F24442 movw r2, #17476
590 001c 1142 tst r1, r2
591 001e 03D1 bne .L33
267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
592 .loc 1 267 3 discriminator 3 view .LVU199
593 0020 1A68 ldr r2, [r3]
594 0022 22F00102 bic r2, r2, #1
595 0026 1A60 str r2, [r3]
596 .L33:
267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
597 .loc 1 267 3 discriminator 5 view .LVU200
ARM GAS /tmp/ccqCLCUn.s page 79
278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
598 .loc 1 278 3 view .LVU201
599 0028 2046 mov r0, r4
600 .LVL26:
278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
601 .loc 1 278 3 is_stmt 0 view .LVU202
602 002a FFF7FEFF bl HAL_TIMEx_HallSensor_MspDeInit
603 .LVL27:
282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
604 .loc 1 282 3 is_stmt 1 view .LVU203
282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
605 .loc 1 282 23 is_stmt 0 view .LVU204
606 002e 0020 movs r0, #0
607 0030 84F84800 strb r0, [r4, #72]
285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET);
608 .loc 1 285 3 is_stmt 1 view .LVU205
609 0034 84F83E00 strb r0, [r4, #62]
286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET);
610 .loc 1 286 3 view .LVU206
611 0038 84F83F00 strb r0, [r4, #63]
287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET);
612 .loc 1 287 3 view .LVU207
613 003c 84F84400 strb r0, [r4, #68]
288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
614 .loc 1 288 3 view .LVU208
615 0040 84F84500 strb r0, [r4, #69]
291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
616 .loc 1 291 3 view .LVU209
291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
617 .loc 1 291 15 is_stmt 0 view .LVU210
618 0044 84F83D00 strb r0, [r4, #61]
294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
619 .loc 1 294 3 is_stmt 1 view .LVU211
294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
620 .loc 1 294 3 view .LVU212
621 0048 84F83C00 strb r0, [r4, #60]
294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
622 .loc 1 294 3 view .LVU213
296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
623 .loc 1 296 3 view .LVU214
297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
624 .loc 1 297 1 is_stmt 0 view .LVU215
625 004c 10BD pop {r4, pc}
297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
626 .loc 1 297 1 view .LVU216
627 .cfi_endproc
628 .LFE330:
630 .section .text.HAL_TIMEx_HallSensor_Start,"ax",%progbits
631 .align 1
632 .global HAL_TIMEx_HallSensor_Start
633 .syntax unified
634 .thumb
635 .thumb_func
637 HAL_TIMEx_HallSensor_Start:
638 .LVL28:
639 .LFB333:
335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
ARM GAS /tmp/ccqCLCUn.s page 80
640 .loc 1 335 1 is_stmt 1 view -0
641 .cfi_startproc
642 @ args = 0, pretend = 0, frame = 0
643 @ frame_needed = 0, uses_anonymous_args = 0
335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
644 .loc 1 335 1 is_stmt 0 view .LVU218
645 0000 10B5 push {r4, lr}
646 .LCFI8:
647 .cfi_def_cfa_offset 8
648 .cfi_offset 4, -8
649 .cfi_offset 14, -4
650 0002 0446 mov r4, r0
336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
651 .loc 1 336 3 is_stmt 1 view .LVU219
337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
652 .loc 1 337 3 view .LVU220
337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
653 .loc 1 337 31 is_stmt 0 view .LVU221
654 0004 90F83EC0 ldrb ip, [r0, #62] @ zero_extendqisi2
655 .LVL29:
338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
656 .loc 1 338 3 is_stmt 1 view .LVU222
338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
657 .loc 1 338 31 is_stmt 0 view .LVU223
658 0008 90F83F30 ldrb r3, [r0, #63] @ zero_extendqisi2
659 .LVL30:
339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
660 .loc 1 339 3 is_stmt 1 view .LVU224
339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
661 .loc 1 339 31 is_stmt 0 view .LVU225
662 000c 90F84420 ldrb r2, [r0, #68] @ zero_extendqisi2
663 .LVL31:
340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
664 .loc 1 340 3 is_stmt 1 view .LVU226
340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
665 .loc 1 340 31 is_stmt 0 view .LVU227
666 0010 90F84510 ldrb r1, [r0, #69] @ zero_extendqisi2
667 .LVL32:
343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
668 .loc 1 343 3 is_stmt 1 view .LVU228
346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
669 .loc 1 346 3 view .LVU229
346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
670 .loc 1 346 6 is_stmt 0 view .LVU230
671 0014 BCF1010F cmp ip, #1
672 0018 44D1 bne .L39
673 001a 5FFA8CF0 uxtb r0, ip
674 .LVL33:
346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
675 .loc 1 346 6 view .LVU231
676 001e DBB2 uxtb r3, r3
346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
677 .loc 1 346 6 view .LVU232
678 0020 D2B2 uxtb r2, r2
346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
679 .loc 1 346 6 view .LVU233
680 0022 C9B2 uxtb r1, r1
ARM GAS /tmp/ccqCLCUn.s page 81
347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
681 .loc 1 347 7 view .LVU234
682 0024 012B cmp r3, #1
683 0026 3ED1 bne .L36
348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
684 .loc 1 348 7 view .LVU235
685 0028 012A cmp r2, #1
686 002a 3DD1 bne .L40
349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
687 .loc 1 349 7 view .LVU236
688 002c 0129 cmp r1, #1
689 002e 01D0 beq .L45
351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
690 .loc 1 351 12 view .LVU237
691 0030 1046 mov r0, r2
692 0032 38E0 b .L36
693 .L45:
355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
694 .loc 1 355 3 is_stmt 1 view .LVU238
695 0034 0223 movs r3, #2
696 .LVL34:
355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
697 .loc 1 355 3 is_stmt 0 view .LVU239
698 0036 84F83E30 strb r3, [r4, #62]
356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
699 .loc 1 356 3 is_stmt 1 view .LVU240
700 003a 84F83F30 strb r3, [r4, #63]
357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
701 .loc 1 357 3 view .LVU241
702 003e 84F84430 strb r3, [r4, #68]
358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
703 .loc 1 358 3 view .LVU242
704 0042 84F84530 strb r3, [r4, #69]
363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
705 .loc 1 363 3 view .LVU243
706 0046 0021 movs r1, #0
707 .LVL35:
363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
708 .loc 1 363 3 is_stmt 0 view .LVU244
709 0048 2068 ldr r0, [r4]
710 004a FFF7FEFF bl TIM_CCxChannelCmd
711 .LVL36:
366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
712 .loc 1 366 3 is_stmt 1 view .LVU245
366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
713 .loc 1 366 7 is_stmt 0 view .LVU246
714 004e 2368 ldr r3, [r4]
366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
715 .loc 1 366 6 view .LVU247
716 0050 184A ldr r2, .L46
717 0052 9342 cmp r3, r2
718 0054 18D0 beq .L37
366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
719 .loc 1 366 7 discriminator 1 view .LVU248
720 0056 B3F1804F cmp r3, #1073741824
721 005a 15D0 beq .L37
366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
ARM GAS /tmp/ccqCLCUn.s page 82
722 .loc 1 366 7 discriminator 2 view .LVU249
723 005c A2F59432 sub r2, r2, #75776
724 0060 9342 cmp r3, r2
725 0062 11D0 beq .L37
366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
726 .loc 1 366 7 discriminator 3 view .LVU250
727 0064 02F58062 add r2, r2, #1024
728 0068 9342 cmp r3, r2
729 006a 0DD0 beq .L37
366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
730 .loc 1 366 7 discriminator 4 view .LVU251
731 006c 02F59632 add r2, r2, #76800
732 0070 9342 cmp r3, r2
733 0072 09D0 beq .L37
366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
734 .loc 1 366 7 discriminator 5 view .LVU252
735 0074 02F54062 add r2, r2, #3072
736 0078 9342 cmp r3, r2
737 007a 05D0 beq .L37
376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
738 .loc 1 376 5 is_stmt 1 view .LVU253
739 007c 1A68 ldr r2, [r3]
740 007e 42F00102 orr r2, r2, #1
741 0082 1A60 str r2, [r3]
380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
742 .loc 1 380 10 is_stmt 0 view .LVU254
743 0084 0020 movs r0, #0
744 0086 0EE0 b .L36
745 .L37:
368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
746 .loc 1 368 5 is_stmt 1 view .LVU255
368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
747 .loc 1 368 29 is_stmt 0 view .LVU256
748 0088 9968 ldr r1, [r3, #8]
368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
749 .loc 1 368 13 view .LVU257
750 008a 0B4A ldr r2, .L46+4
751 008c 0A40 ands r2, r2, r1
752 .LVL37:
369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
753 .loc 1 369 5 is_stmt 1 view .LVU258
369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
754 .loc 1 369 8 is_stmt 0 view .LVU259
755 008e 062A cmp r2, #6
756 0090 0CD0 beq .L42
369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
757 .loc 1 369 9 discriminator 1 view .LVU260
758 0092 B2F5803F cmp r2, #65536
759 0096 0BD0 beq .L43
371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
760 .loc 1 371 7 is_stmt 1 view .LVU261
761 0098 1A68 ldr r2, [r3]
762 .LVL38:
371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
763 .loc 1 371 7 is_stmt 0 view .LVU262
764 009a 42F00102 orr r2, r2, #1
765 009e 1A60 str r2, [r3]
ARM GAS /tmp/ccqCLCUn.s page 83
380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
766 .loc 1 380 10 view .LVU263
767 00a0 0020 movs r0, #0
768 00a2 00E0 b .L36
769 .LVL39:
770 .L39:
351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
771 .loc 1 351 12 view .LVU264
772 00a4 0120 movs r0, #1
773 .LVL40:
774 .L36:
381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
775 .loc 1 381 1 view .LVU265
776 00a6 10BD pop {r4, pc}
777 .LVL41:
778 .L40:
351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
779 .loc 1 351 12 view .LVU266
780 00a8 1846 mov r0, r3
781 00aa FCE7 b .L36
782 .LVL42:
783 .L42:
380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
784 .loc 1 380 10 view .LVU267
785 00ac 0020 movs r0, #0
786 00ae FAE7 b .L36
787 .L43:
788 00b0 0020 movs r0, #0
789 00b2 F8E7 b .L36
790 .L47:
791 .align 2
792 .L46:
793 00b4 002C0140 .word 1073818624
794 00b8 07000100 .word 65543
795 .cfi_endproc
796 .LFE333:
798 .section .text.HAL_TIMEx_HallSensor_Stop,"ax",%progbits
799 .align 1
800 .global HAL_TIMEx_HallSensor_Stop
801 .syntax unified
802 .thumb
803 .thumb_func
805 HAL_TIMEx_HallSensor_Stop:
806 .LVL43:
807 .LFB334:
389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
808 .loc 1 389 1 is_stmt 1 view -0
809 .cfi_startproc
810 @ args = 0, pretend = 0, frame = 0
811 @ frame_needed = 0, uses_anonymous_args = 0
389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
812 .loc 1 389 1 is_stmt 0 view .LVU269
813 0000 10B5 push {r4, lr}
814 .LCFI9:
815 .cfi_def_cfa_offset 8
816 .cfi_offset 4, -8
817 .cfi_offset 14, -4
ARM GAS /tmp/ccqCLCUn.s page 84
818 0002 0446 mov r4, r0
391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
819 .loc 1 391 3 is_stmt 1 view .LVU270
396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
820 .loc 1 396 3 view .LVU271
821 0004 0022 movs r2, #0
822 0006 1146 mov r1, r2
823 0008 0068 ldr r0, [r0]
824 .LVL44:
396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
825 .loc 1 396 3 is_stmt 0 view .LVU272
826 000a FFF7FEFF bl TIM_CCxChannelCmd
827 .LVL45:
399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
828 .loc 1 399 3 is_stmt 1 view .LVU273
399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
829 .loc 1 399 3 view .LVU274
830 000e 2368 ldr r3, [r4]
831 0010 196A ldr r1, [r3, #32]
832 0012 41F21112 movw r2, #4369
833 0016 1142 tst r1, r2
834 0018 08D1 bne .L49
399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
835 .loc 1 399 3 discriminator 1 view .LVU275
836 001a 196A ldr r1, [r3, #32]
837 001c 44F24442 movw r2, #17476
838 0020 1142 tst r1, r2
839 0022 03D1 bne .L49
399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
840 .loc 1 399 3 discriminator 3 view .LVU276
841 0024 1A68 ldr r2, [r3]
842 0026 22F00102 bic r2, r2, #1
843 002a 1A60 str r2, [r3]
844 .L49:
399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
845 .loc 1 399 3 discriminator 5 view .LVU277
402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
846 .loc 1 402 3 view .LVU278
847 002c 0123 movs r3, #1
848 002e 84F83E30 strb r3, [r4, #62]
403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
849 .loc 1 403 3 view .LVU279
850 0032 84F83F30 strb r3, [r4, #63]
404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
851 .loc 1 404 3 view .LVU280
852 0036 84F84430 strb r3, [r4, #68]
405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
853 .loc 1 405 3 view .LVU281
854 003a 84F84530 strb r3, [r4, #69]
408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
855 .loc 1 408 3 view .LVU282
409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
856 .loc 1 409 1 is_stmt 0 view .LVU283
857 003e 0020 movs r0, #0
858 0040 10BD pop {r4, pc}
409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
859 .loc 1 409 1 view .LVU284
ARM GAS /tmp/ccqCLCUn.s page 85
860 .cfi_endproc
861 .LFE334:
863 .section .text.HAL_TIMEx_HallSensor_Start_IT,"ax",%progbits
864 .align 1
865 .global HAL_TIMEx_HallSensor_Start_IT
866 .syntax unified
867 .thumb
868 .thumb_func
870 HAL_TIMEx_HallSensor_Start_IT:
871 .LVL46:
872 .LFB335:
417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
873 .loc 1 417 1 is_stmt 1 view -0
874 .cfi_startproc
875 @ args = 0, pretend = 0, frame = 0
876 @ frame_needed = 0, uses_anonymous_args = 0
417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
877 .loc 1 417 1 is_stmt 0 view .LVU286
878 0000 10B5 push {r4, lr}
879 .LCFI10:
880 .cfi_def_cfa_offset 8
881 .cfi_offset 4, -8
882 .cfi_offset 14, -4
883 0002 0446 mov r4, r0
418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
884 .loc 1 418 3 is_stmt 1 view .LVU287
419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
885 .loc 1 419 3 view .LVU288
419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
886 .loc 1 419 31 is_stmt 0 view .LVU289
887 0004 90F83EC0 ldrb ip, [r0, #62] @ zero_extendqisi2
888 .LVL47:
420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
889 .loc 1 420 3 is_stmt 1 view .LVU290
420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
890 .loc 1 420 31 is_stmt 0 view .LVU291
891 0008 90F83F30 ldrb r3, [r0, #63] @ zero_extendqisi2
892 .LVL48:
421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
893 .loc 1 421 3 is_stmt 1 view .LVU292
421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
894 .loc 1 421 31 is_stmt 0 view .LVU293
895 000c 90F84420 ldrb r2, [r0, #68] @ zero_extendqisi2
896 .LVL49:
422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
897 .loc 1 422 3 is_stmt 1 view .LVU294
422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
898 .loc 1 422 31 is_stmt 0 view .LVU295
899 0010 90F84510 ldrb r1, [r0, #69] @ zero_extendqisi2
900 .LVL50:
425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
901 .loc 1 425 3 is_stmt 1 view .LVU296
428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
902 .loc 1 428 3 view .LVU297
428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
903 .loc 1 428 6 is_stmt 0 view .LVU298
904 0014 BCF1010F cmp ip, #1
ARM GAS /tmp/ccqCLCUn.s page 86
905 0018 4AD1 bne .L55
906 001a 5FFA8CF0 uxtb r0, ip
907 .LVL51:
428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
908 .loc 1 428 6 view .LVU299
909 001e DBB2 uxtb r3, r3
428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
910 .loc 1 428 6 view .LVU300
911 0020 D2B2 uxtb r2, r2
428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
912 .loc 1 428 6 view .LVU301
913 0022 C9B2 uxtb r1, r1
429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
914 .loc 1 429 7 view .LVU302
915 0024 012B cmp r3, #1
916 0026 44D1 bne .L52
430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
917 .loc 1 430 7 view .LVU303
918 0028 012A cmp r2, #1
919 002a 43D1 bne .L56
431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
920 .loc 1 431 7 view .LVU304
921 002c 0129 cmp r1, #1
922 002e 01D0 beq .L61
433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
923 .loc 1 433 12 view .LVU305
924 0030 1046 mov r0, r2
925 0032 3EE0 b .L52
926 .L61:
437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
927 .loc 1 437 3 is_stmt 1 view .LVU306
928 0034 0223 movs r3, #2
929 .LVL52:
437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
930 .loc 1 437 3 is_stmt 0 view .LVU307
931 0036 84F83E30 strb r3, [r4, #62]
438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
932 .loc 1 438 3 is_stmt 1 view .LVU308
933 003a 84F83F30 strb r3, [r4, #63]
439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
934 .loc 1 439 3 view .LVU309
935 003e 84F84430 strb r3, [r4, #68]
440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
936 .loc 1 440 3 view .LVU310
937 0042 84F84530 strb r3, [r4, #69]
443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
938 .loc 1 443 3 view .LVU311
939 0046 2268 ldr r2, [r4]
940 .LVL53:
443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
941 .loc 1 443 3 is_stmt 0 view .LVU312
942 0048 D368 ldr r3, [r2, #12]
943 004a 43F00203 orr r3, r3, #2
944 004e D360 str r3, [r2, #12]
448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
945 .loc 1 448 3 is_stmt 1 view .LVU313
946 0050 0122 movs r2, #1
ARM GAS /tmp/ccqCLCUn.s page 87
947 0052 0021 movs r1, #0
948 .LVL54:
448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
949 .loc 1 448 3 is_stmt 0 view .LVU314
950 0054 2068 ldr r0, [r4]
951 0056 FFF7FEFF bl TIM_CCxChannelCmd
952 .LVL55:
451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
953 .loc 1 451 3 is_stmt 1 view .LVU315
451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
954 .loc 1 451 7 is_stmt 0 view .LVU316
955 005a 2368 ldr r3, [r4]
451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
956 .loc 1 451 6 view .LVU317
957 005c 184A ldr r2, .L62
958 005e 9342 cmp r3, r2
959 0060 18D0 beq .L53
451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
960 .loc 1 451 7 discriminator 1 view .LVU318
961 0062 B3F1804F cmp r3, #1073741824
962 0066 15D0 beq .L53
451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
963 .loc 1 451 7 discriminator 2 view .LVU319
964 0068 A2F59432 sub r2, r2, #75776
965 006c 9342 cmp r3, r2
966 006e 11D0 beq .L53
451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
967 .loc 1 451 7 discriminator 3 view .LVU320
968 0070 02F58062 add r2, r2, #1024
969 0074 9342 cmp r3, r2
970 0076 0DD0 beq .L53
451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
971 .loc 1 451 7 discriminator 4 view .LVU321
972 0078 02F59632 add r2, r2, #76800
973 007c 9342 cmp r3, r2
974 007e 09D0 beq .L53
451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
975 .loc 1 451 7 discriminator 5 view .LVU322
976 0080 02F54062 add r2, r2, #3072
977 0084 9342 cmp r3, r2
978 0086 05D0 beq .L53
461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
979 .loc 1 461 5 is_stmt 1 view .LVU323
980 0088 1A68 ldr r2, [r3]
981 008a 42F00102 orr r2, r2, #1
982 008e 1A60 str r2, [r3]
465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
983 .loc 1 465 10 is_stmt 0 view .LVU324
984 0090 0020 movs r0, #0
985 0092 0EE0 b .L52
986 .L53:
453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
987 .loc 1 453 5 is_stmt 1 view .LVU325
453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
988 .loc 1 453 29 is_stmt 0 view .LVU326
989 0094 9968 ldr r1, [r3, #8]
453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
ARM GAS /tmp/ccqCLCUn.s page 88
990 .loc 1 453 13 view .LVU327
991 0096 0B4A ldr r2, .L62+4
992 0098 0A40 ands r2, r2, r1
993 .LVL56:
454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
994 .loc 1 454 5 is_stmt 1 view .LVU328
454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
995 .loc 1 454 8 is_stmt 0 view .LVU329
996 009a 062A cmp r2, #6
997 009c 0CD0 beq .L58
454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
998 .loc 1 454 9 discriminator 1 view .LVU330
999 009e B2F5803F cmp r2, #65536
1000 00a2 0BD0 beq .L59
456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1001 .loc 1 456 7 is_stmt 1 view .LVU331
1002 00a4 1A68 ldr r2, [r3]
1003 .LVL57:
456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1004 .loc 1 456 7 is_stmt 0 view .LVU332
1005 00a6 42F00102 orr r2, r2, #1
1006 00aa 1A60 str r2, [r3]
465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1007 .loc 1 465 10 view .LVU333
1008 00ac 0020 movs r0, #0
1009 00ae 00E0 b .L52
1010 .LVL58:
1011 .L55:
433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1012 .loc 1 433 12 view .LVU334
1013 00b0 0120 movs r0, #1
1014 .LVL59:
1015 .L52:
466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1016 .loc 1 466 1 view .LVU335
1017 00b2 10BD pop {r4, pc}
1018 .LVL60:
1019 .L56:
433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1020 .loc 1 433 12 view .LVU336
1021 00b4 1846 mov r0, r3
1022 00b6 FCE7 b .L52
1023 .LVL61:
1024 .L58:
465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1025 .loc 1 465 10 view .LVU337
1026 00b8 0020 movs r0, #0
1027 00ba FAE7 b .L52
1028 .L59:
1029 00bc 0020 movs r0, #0
1030 00be F8E7 b .L52
1031 .L63:
1032 .align 2
1033 .L62:
1034 00c0 002C0140 .word 1073818624
1035 00c4 07000100 .word 65543
1036 .cfi_endproc
ARM GAS /tmp/ccqCLCUn.s page 89
1037 .LFE335:
1039 .section .text.HAL_TIMEx_HallSensor_Stop_IT,"ax",%progbits
1040 .align 1
1041 .global HAL_TIMEx_HallSensor_Stop_IT
1042 .syntax unified
1043 .thumb
1044 .thumb_func
1046 HAL_TIMEx_HallSensor_Stop_IT:
1047 .LVL62:
1048 .LFB336:
474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1049 .loc 1 474 1 is_stmt 1 view -0
1050 .cfi_startproc
1051 @ args = 0, pretend = 0, frame = 0
1052 @ frame_needed = 0, uses_anonymous_args = 0
474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1053 .loc 1 474 1 is_stmt 0 view .LVU339
1054 0000 10B5 push {r4, lr}
1055 .LCFI11:
1056 .cfi_def_cfa_offset 8
1057 .cfi_offset 4, -8
1058 .cfi_offset 14, -4
1059 0002 0446 mov r4, r0
476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1060 .loc 1 476 3 is_stmt 1 view .LVU340
481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1061 .loc 1 481 3 view .LVU341
1062 0004 0022 movs r2, #0
1063 0006 1146 mov r1, r2
1064 0008 0068 ldr r0, [r0]
1065 .LVL63:
481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1066 .loc 1 481 3 is_stmt 0 view .LVU342
1067 000a FFF7FEFF bl TIM_CCxChannelCmd
1068 .LVL64:
484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1069 .loc 1 484 3 is_stmt 1 view .LVU343
1070 000e 2268 ldr r2, [r4]
1071 0010 D368 ldr r3, [r2, #12]
1072 0012 23F00203 bic r3, r3, #2
1073 0016 D360 str r3, [r2, #12]
487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1074 .loc 1 487 3 view .LVU344
487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1075 .loc 1 487 3 view .LVU345
1076 0018 2368 ldr r3, [r4]
1077 001a 196A ldr r1, [r3, #32]
1078 001c 41F21112 movw r2, #4369
1079 0020 1142 tst r1, r2
1080 0022 08D1 bne .L65
487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1081 .loc 1 487 3 discriminator 1 view .LVU346
1082 0024 196A ldr r1, [r3, #32]
1083 0026 44F24442 movw r2, #17476
1084 002a 1142 tst r1, r2
1085 002c 03D1 bne .L65
487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 90
1086 .loc 1 487 3 discriminator 3 view .LVU347
1087 002e 1A68 ldr r2, [r3]
1088 0030 22F00102 bic r2, r2, #1
1089 0034 1A60 str r2, [r3]
1090 .L65:
487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1091 .loc 1 487 3 discriminator 5 view .LVU348
490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
1092 .loc 1 490 3 view .LVU349
1093 0036 0123 movs r3, #1
1094 0038 84F83E30 strb r3, [r4, #62]
491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
1095 .loc 1 491 3 view .LVU350
1096 003c 84F83F30 strb r3, [r4, #63]
492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
1097 .loc 1 492 3 view .LVU351
1098 0040 84F84430 strb r3, [r4, #68]
493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1099 .loc 1 493 3 view .LVU352
1100 0044 84F84530 strb r3, [r4, #69]
496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1101 .loc 1 496 3 view .LVU353
497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1102 .loc 1 497 1 is_stmt 0 view .LVU354
1103 0048 0020 movs r0, #0
1104 004a 10BD pop {r4, pc}
497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1105 .loc 1 497 1 view .LVU355
1106 .cfi_endproc
1107 .LFE336:
1109 .section .text.HAL_TIMEx_HallSensor_Start_DMA,"ax",%progbits
1110 .align 1
1111 .global HAL_TIMEx_HallSensor_Start_DMA
1112 .syntax unified
1113 .thumb
1114 .thumb_func
1116 HAL_TIMEx_HallSensor_Start_DMA:
1117 .LVL65:
1118 .LFB337:
507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
1119 .loc 1 507 1 is_stmt 1 view -0
1120 .cfi_startproc
1121 @ args = 0, pretend = 0, frame = 0
1122 @ frame_needed = 0, uses_anonymous_args = 0
507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
1123 .loc 1 507 1 is_stmt 0 view .LVU357
1124 0000 F8B5 push {r3, r4, r5, r6, r7, lr}
1125 .LCFI12:
1126 .cfi_def_cfa_offset 24
1127 .cfi_offset 3, -24
1128 .cfi_offset 4, -20
1129 .cfi_offset 5, -16
1130 .cfi_offset 6, -12
1131 .cfi_offset 7, -8
1132 .cfi_offset 14, -4
1133 0002 0446 mov r4, r0
508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
ARM GAS /tmp/ccqCLCUn.s page 91
1134 .loc 1 508 3 is_stmt 1 view .LVU358
509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
1135 .loc 1 509 3 view .LVU359
509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
1136 .loc 1 509 31 is_stmt 0 view .LVU360
1137 0004 90F83EC0 ldrb ip, [r0, #62] @ zero_extendqisi2
1138 0008 5FFA8CF0 uxtb r0, ip
1139 .LVL66:
510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1140 .loc 1 510 3 is_stmt 1 view .LVU361
510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1141 .loc 1 510 31 is_stmt 0 view .LVU362
1142 000c 94F84450 ldrb r5, [r4, #68] @ zero_extendqisi2
1143 .LVL67:
513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1144 .loc 1 513 3 is_stmt 1 view .LVU363
516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY))
1145 .loc 1 516 3 view .LVU364
516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY))
1146 .loc 1 516 6 is_stmt 0 view .LVU365
1147 0010 BCF1020F cmp ip, #2
1148 0014 59D0 beq .L68
1149 0016 0F46 mov r7, r1
1150 0018 1646 mov r6, r2
1151 001a EDB2 uxtb r5, r5
517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1152 .loc 1 517 7 view .LVU366
1153 001c 022D cmp r5, #2
1154 001e 51D0 beq .L71
521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY))
1155 .loc 1 521 8 is_stmt 1 view .LVU367
521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY))
1156 .loc 1 521 11 is_stmt 0 view .LVU368
1157 0020 0128 cmp r0, #1
1158 0022 51D1 bne .L72
522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1159 .loc 1 522 12 view .LVU369
1160 0024 012D cmp r5, #1
1161 0026 50D1 bne .L68
524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1162 .loc 1 524 5 is_stmt 1 view .LVU370
524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1163 .loc 1 524 8 is_stmt 0 view .LVU371
1164 0028 0029 cmp r1, #0
1165 002a 4FD0 beq .L73
524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1166 .loc 1 524 25 discriminator 1 view .LVU372
1167 002c 0AB9 cbnz r2, .L77
526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1168 .loc 1 526 14 view .LVU373
1169 002e 2846 mov r0, r5
1170 .LVL68:
526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1171 .loc 1 526 14 view .LVU374
1172 0030 4BE0 b .L68
1173 .LVL69:
1174 .L77:
ARM GAS /tmp/ccqCLCUn.s page 92
530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
1175 .loc 1 530 7 is_stmt 1 view .LVU375
1176 0032 0223 movs r3, #2
1177 0034 84F83E30 strb r3, [r4, #62]
531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1178 .loc 1 531 7 view .LVU376
1179 0038 84F84430 strb r3, [r4, #68]
542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1180 .loc 1 542 3 view .LVU377
1181 003c 0122 movs r2, #1
1182 .LVL70:
542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1183 .loc 1 542 3 is_stmt 0 view .LVU378
1184 003e 0021 movs r1, #0
1185 .LVL71:
542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1186 .loc 1 542 3 view .LVU379
1187 0040 2068 ldr r0, [r4]
1188 .LVL72:
542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1189 .loc 1 542 3 view .LVU380
1190 0042 FFF7FEFF bl TIM_CCxChannelCmd
1191 .LVL73:
545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
1192 .loc 1 545 3 is_stmt 1 view .LVU381
545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
1193 .loc 1 545 13 is_stmt 0 view .LVU382
1194 0046 636A ldr r3, [r4, #36]
545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
1195 .loc 1 545 48 view .LVU383
1196 0048 224A ldr r2, .L78
1197 004a DA62 str r2, [r3, #44]
546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
1198 .loc 1 546 3 is_stmt 1 view .LVU384
546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
1199 .loc 1 546 13 is_stmt 0 view .LVU385
1200 004c 636A ldr r3, [r4, #36]
546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
1201 .loc 1 546 52 view .LVU386
1202 004e 224A ldr r2, .L78+4
1203 0050 1A63 str r2, [r3, #48]
548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1204 .loc 1 548 3 is_stmt 1 view .LVU387
548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1205 .loc 1 548 13 is_stmt 0 view .LVU388
1206 0052 636A ldr r3, [r4, #36]
548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1207 .loc 1 548 49 view .LVU389
1208 0054 214A ldr r2, .L78+8
1209 0056 5A63 str r2, [r3, #52]
551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1210 .loc 1 551 3 is_stmt 1 view .LVU390
551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1211 .loc 1 551 67 is_stmt 0 view .LVU391
1212 0058 2168 ldr r1, [r4]
551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1213 .loc 1 551 7 view .LVU392
ARM GAS /tmp/ccqCLCUn.s page 93
1214 005a 3346 mov r3, r6
1215 005c 3A46 mov r2, r7
1216 005e 3431 adds r1, r1, #52
1217 0060 606A ldr r0, [r4, #36]
1218 0062 FFF7FEFF bl HAL_DMA_Start_IT
1219 .LVL74:
551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1220 .loc 1 551 6 discriminator 1 view .LVU393
1221 0066 98BB cbnz r0, .L75
557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1222 .loc 1 557 3 is_stmt 1 view .LVU394
1223 0068 2268 ldr r2, [r4]
1224 006a D368 ldr r3, [r2, #12]
1225 006c 43F40073 orr r3, r3, #512
1226 0070 D360 str r3, [r2, #12]
560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1227 .loc 1 560 3 view .LVU395
560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1228 .loc 1 560 7 is_stmt 0 view .LVU396
1229 0072 2368 ldr r3, [r4]
560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1230 .loc 1 560 6 view .LVU397
1231 0074 1A4A ldr r2, .L78+12
1232 0076 9342 cmp r3, r2
1233 0078 17D0 beq .L69
560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1234 .loc 1 560 7 discriminator 1 view .LVU398
1235 007a B3F1804F cmp r3, #1073741824
1236 007e 14D0 beq .L69
560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1237 .loc 1 560 7 discriminator 2 view .LVU399
1238 0080 A2F59432 sub r2, r2, #75776
1239 0084 9342 cmp r3, r2
1240 0086 10D0 beq .L69
560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1241 .loc 1 560 7 discriminator 3 view .LVU400
1242 0088 02F58062 add r2, r2, #1024
1243 008c 9342 cmp r3, r2
1244 008e 0CD0 beq .L69
560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1245 .loc 1 560 7 discriminator 4 view .LVU401
1246 0090 02F59632 add r2, r2, #76800
1247 0094 9342 cmp r3, r2
1248 0096 08D0 beq .L69
560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1249 .loc 1 560 7 discriminator 5 view .LVU402
1250 0098 02F54062 add r2, r2, #3072
1251 009c 9342 cmp r3, r2
1252 009e 04D0 beq .L69
570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1253 .loc 1 570 5 is_stmt 1 view .LVU403
1254 00a0 1A68 ldr r2, [r3]
1255 00a2 42F00102 orr r2, r2, #1
1256 00a6 1A60 str r2, [r3]
1257 00a8 0FE0 b .L68
1258 .L69:
562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
ARM GAS /tmp/ccqCLCUn.s page 94
1259 .loc 1 562 5 view .LVU404
562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
1260 .loc 1 562 29 is_stmt 0 view .LVU405
1261 00aa 9968 ldr r1, [r3, #8]
562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
1262 .loc 1 562 13 view .LVU406
1263 00ac 0D4A ldr r2, .L78+16
1264 00ae 0A40 ands r2, r2, r1
1265 .LVL75:
563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1266 .loc 1 563 5 is_stmt 1 view .LVU407
563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1267 .loc 1 563 8 is_stmt 0 view .LVU408
1268 00b0 062A cmp r2, #6
1269 00b2 0AD0 beq .L68
563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1270 .loc 1 563 9 discriminator 1 view .LVU409
1271 00b4 B2F5803F cmp r2, #65536
1272 00b8 07D0 beq .L68
565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1273 .loc 1 565 7 is_stmt 1 view .LVU410
1274 00ba 1A68 ldr r2, [r3]
1275 .LVL76:
565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1276 .loc 1 565 7 is_stmt 0 view .LVU411
1277 00bc 42F00102 orr r2, r2, #1
1278 00c0 1A60 str r2, [r3]
1279 00c2 02E0 b .L68
1280 .LVL77:
1281 .L71:
519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1282 .loc 1 519 12 view .LVU412
1283 00c4 2846 mov r0, r5
1284 .LVL78:
519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1285 .loc 1 519 12 view .LVU413
1286 00c6 00E0 b .L68
1287 .LVL79:
1288 .L72:
536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1289 .loc 1 536 12 view .LVU414
1290 00c8 0120 movs r0, #1
1291 .LVL80:
1292 .L68:
575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1293 .loc 1 575 1 view .LVU415
1294 00ca F8BD pop {r3, r4, r5, r6, r7, pc}
1295 .LVL81:
1296 .L73:
526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1297 .loc 1 526 14 view .LVU416
1298 00cc 2846 mov r0, r5
1299 .LVL82:
526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1300 .loc 1 526 14 view .LVU417
1301 00ce FCE7 b .L68
1302 .LVL83:
ARM GAS /tmp/ccqCLCUn.s page 95
1303 .L75:
554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1304 .loc 1 554 12 view .LVU418
1305 00d0 2846 mov r0, r5
1306 00d2 FAE7 b .L68
1307 .L79:
1308 .align 2
1309 .L78:
1310 00d4 00000000 .word TIM_DMACaptureCplt
1311 00d8 00000000 .word TIM_DMACaptureHalfCplt
1312 00dc 00000000 .word TIM_DMAError
1313 00e0 002C0140 .word 1073818624
1314 00e4 07000100 .word 65543
1315 .cfi_endproc
1316 .LFE337:
1318 .section .text.HAL_TIMEx_HallSensor_Stop_DMA,"ax",%progbits
1319 .align 1
1320 .global HAL_TIMEx_HallSensor_Stop_DMA
1321 .syntax unified
1322 .thumb
1323 .thumb_func
1325 HAL_TIMEx_HallSensor_Stop_DMA:
1326 .LVL84:
1327 .LFB338:
583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1328 .loc 1 583 1 is_stmt 1 view -0
1329 .cfi_startproc
1330 @ args = 0, pretend = 0, frame = 0
1331 @ frame_needed = 0, uses_anonymous_args = 0
583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1332 .loc 1 583 1 is_stmt 0 view .LVU420
1333 0000 10B5 push {r4, lr}
1334 .LCFI13:
1335 .cfi_def_cfa_offset 8
1336 .cfi_offset 4, -8
1337 .cfi_offset 14, -4
1338 0002 0446 mov r4, r0
585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1339 .loc 1 585 3 is_stmt 1 view .LVU421
590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1340 .loc 1 590 3 view .LVU422
1341 0004 0022 movs r2, #0
1342 0006 1146 mov r1, r2
1343 0008 0068 ldr r0, [r0]
1344 .LVL85:
590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1345 .loc 1 590 3 is_stmt 0 view .LVU423
1346 000a FFF7FEFF bl TIM_CCxChannelCmd
1347 .LVL86:
594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1348 .loc 1 594 3 is_stmt 1 view .LVU424
1349 000e 2268 ldr r2, [r4]
1350 0010 D368 ldr r3, [r2, #12]
1351 0012 23F40073 bic r3, r3, #512
1352 0016 D360 str r3, [r2, #12]
596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1353 .loc 1 596 3 view .LVU425
ARM GAS /tmp/ccqCLCUn.s page 96
596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1354 .loc 1 596 9 is_stmt 0 view .LVU426
1355 0018 606A ldr r0, [r4, #36]
1356 001a FFF7FEFF bl HAL_DMA_Abort_IT
1357 .LVL87:
599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1358 .loc 1 599 3 is_stmt 1 view .LVU427
599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1359 .loc 1 599 3 view .LVU428
1360 001e 2368 ldr r3, [r4]
1361 0020 196A ldr r1, [r3, #32]
1362 0022 41F21112 movw r2, #4369
1363 0026 1142 tst r1, r2
1364 0028 08D1 bne .L81
599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1365 .loc 1 599 3 discriminator 1 view .LVU429
1366 002a 196A ldr r1, [r3, #32]
1367 002c 44F24442 movw r2, #17476
1368 0030 1142 tst r1, r2
1369 0032 03D1 bne .L81
599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1370 .loc 1 599 3 discriminator 3 view .LVU430
1371 0034 1A68 ldr r2, [r3]
1372 0036 22F00102 bic r2, r2, #1
1373 003a 1A60 str r2, [r3]
1374 .L81:
599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1375 .loc 1 599 3 discriminator 5 view .LVU431
602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
1376 .loc 1 602 3 view .LVU432
1377 003c 0123 movs r3, #1
1378 003e 84F83E30 strb r3, [r4, #62]
603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1379 .loc 1 603 3 view .LVU433
1380 0042 84F84430 strb r3, [r4, #68]
606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1381 .loc 1 606 3 view .LVU434
607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1382 .loc 1 607 1 is_stmt 0 view .LVU435
1383 0046 0020 movs r0, #0
1384 0048 10BD pop {r4, pc}
607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1385 .loc 1 607 1 view .LVU436
1386 .cfi_endproc
1387 .LFE338:
1389 .section .text.HAL_TIMEx_OCN_Start,"ax",%progbits
1390 .align 1
1391 .global HAL_TIMEx_OCN_Start
1392 .syntax unified
1393 .thumb
1394 .thumb_func
1396 HAL_TIMEx_OCN_Start:
1397 .LVL88:
1398 .LFB339:
646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
1399 .loc 1 646 1 is_stmt 1 view -0
1400 .cfi_startproc
ARM GAS /tmp/ccqCLCUn.s page 97
1401 @ args = 0, pretend = 0, frame = 0
1402 @ frame_needed = 0, uses_anonymous_args = 0
646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
1403 .loc 1 646 1 is_stmt 0 view .LVU438
1404 0000 10B5 push {r4, lr}
1405 .LCFI14:
1406 .cfi_def_cfa_offset 8
1407 .cfi_offset 4, -8
1408 .cfi_offset 14, -4
1409 0002 0446 mov r4, r0
647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1410 .loc 1 647 3 is_stmt 1 view .LVU439
650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1411 .loc 1 650 3 view .LVU440
653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1412 .loc 1 653 3 view .LVU441
653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1413 .loc 1 653 46 is_stmt 0 view .LVU442
1414 0004 0846 mov r0, r1
1415 .LVL89:
653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1416 .loc 1 653 46 view .LVU443
1417 0006 0029 cmp r1, #0
1418 0008 32D1 bne .L84
653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1419 .loc 1 653 7 discriminator 1 view .LVU444
1420 000a 94F84430 ldrb r3, [r4, #68] @ zero_extendqisi2
653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1421 .loc 1 653 46 discriminator 1 view .LVU445
1422 000e 013B subs r3, r3, #1
1423 0010 18BF it ne
1424 0012 0123 movne r3, #1
1425 .L85:
653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1426 .loc 1 653 6 discriminator 12 view .LVU446
1427 0014 002B cmp r3, #0
1428 0016 5FD1 bne .L95
659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1429 .loc 1 659 3 is_stmt 1 view .LVU447
1430 0018 0028 cmp r0, #0
1431 001a 3FD1 bne .L89
659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1432 .loc 1 659 3 is_stmt 0 discriminator 1 view .LVU448
1433 001c 0223 movs r3, #2
1434 001e 84F84430 strb r3, [r4, #68]
1435 .L90:
662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1436 .loc 1 662 3 is_stmt 1 view .LVU449
1437 0022 0422 movs r2, #4
1438 0024 0146 mov r1, r0
1439 .LVL90:
662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1440 .loc 1 662 3 is_stmt 0 view .LVU450
1441 0026 2068 ldr r0, [r4]
1442 .LVL91:
662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1443 .loc 1 662 3 view .LVU451
ARM GAS /tmp/ccqCLCUn.s page 98
1444 0028 FFF7FEFF bl TIM_CCxNChannelCmd
1445 .LVL92:
665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1446 .loc 1 665 3 is_stmt 1 view .LVU452
1447 002c 2268 ldr r2, [r4]
1448 002e 536C ldr r3, [r2, #68]
1449 0030 43F40043 orr r3, r3, #32768
1450 0034 5364 str r3, [r2, #68]
668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1451 .loc 1 668 3 view .LVU453
668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1452 .loc 1 668 7 is_stmt 0 view .LVU454
1453 0036 2368 ldr r3, [r4]
668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1454 .loc 1 668 6 view .LVU455
1455 0038 2A4A ldr r2, .L103
1456 003a 9342 cmp r3, r2
1457 003c 3ED0 beq .L93
668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1458 .loc 1 668 7 discriminator 1 view .LVU456
1459 003e B3F1804F cmp r3, #1073741824
1460 0042 3BD0 beq .L93
668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1461 .loc 1 668 7 discriminator 2 view .LVU457
1462 0044 A2F59432 sub r2, r2, #75776
1463 0048 9342 cmp r3, r2
1464 004a 37D0 beq .L93
668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1465 .loc 1 668 7 discriminator 3 view .LVU458
1466 004c 02F58062 add r2, r2, #1024
1467 0050 9342 cmp r3, r2
1468 0052 33D0 beq .L93
668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1469 .loc 1 668 7 discriminator 4 view .LVU459
1470 0054 02F59632 add r2, r2, #76800
1471 0058 9342 cmp r3, r2
1472 005a 2FD0 beq .L93
668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1473 .loc 1 668 7 discriminator 5 view .LVU460
1474 005c 02F54062 add r2, r2, #3072
1475 0060 9342 cmp r3, r2
1476 0062 2BD0 beq .L93
678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1477 .loc 1 678 5 is_stmt 1 view .LVU461
1478 0064 1A68 ldr r2, [r3]
1479 0066 42F00102 orr r2, r2, #1
1480 006a 1A60 str r2, [r3]
682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1481 .loc 1 682 10 is_stmt 0 view .LVU462
1482 006c 0020 movs r0, #0
1483 006e 34E0 b .L88
1484 .LVL93:
1485 .L84:
653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1486 .loc 1 653 46 discriminator 2 view .LVU463
1487 0070 0429 cmp r1, #4
1488 0072 07D0 beq .L99
ARM GAS /tmp/ccqCLCUn.s page 99
653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1489 .loc 1 653 46 discriminator 5 view .LVU464
1490 0074 0829 cmp r1, #8
1491 0076 0BD0 beq .L100
653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1492 .loc 1 653 7 discriminator 8 view .LVU465
1493 0078 94F84730 ldrb r3, [r4, #71] @ zero_extendqisi2
653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1494 .loc 1 653 46 discriminator 8 view .LVU466
1495 007c 013B subs r3, r3, #1
1496 007e 18BF it ne
1497 0080 0123 movne r3, #1
1498 0082 C7E7 b .L85
1499 .L99:
653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1500 .loc 1 653 7 discriminator 4 view .LVU467
1501 0084 94F84530 ldrb r3, [r4, #69] @ zero_extendqisi2
653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1502 .loc 1 653 46 discriminator 4 view .LVU468
1503 0088 013B subs r3, r3, #1
1504 008a 18BF it ne
1505 008c 0123 movne r3, #1
1506 008e C1E7 b .L85
1507 .L100:
653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1508 .loc 1 653 7 discriminator 7 view .LVU469
1509 0090 94F84630 ldrb r3, [r4, #70] @ zero_extendqisi2
653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1510 .loc 1 653 46 discriminator 7 view .LVU470
1511 0094 013B subs r3, r3, #1
1512 0096 18BF it ne
1513 0098 0123 movne r3, #1
1514 009a BBE7 b .L85
1515 .L89:
659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1516 .loc 1 659 3 discriminator 2 view .LVU471
1517 009c 0428 cmp r0, #4
1518 009e 05D0 beq .L101
659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1519 .loc 1 659 3 discriminator 4 view .LVU472
1520 00a0 0828 cmp r0, #8
1521 00a2 07D0 beq .L102
659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1522 .loc 1 659 3 discriminator 7 view .LVU473
1523 00a4 0223 movs r3, #2
1524 00a6 84F84730 strb r3, [r4, #71]
1525 00aa BAE7 b .L90
1526 .L101:
659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1527 .loc 1 659 3 discriminator 3 view .LVU474
1528 00ac 0223 movs r3, #2
1529 00ae 84F84530 strb r3, [r4, #69]
1530 00b2 B6E7 b .L90
1531 .L102:
659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1532 .loc 1 659 3 discriminator 6 view .LVU475
1533 00b4 0223 movs r3, #2
ARM GAS /tmp/ccqCLCUn.s page 100
1534 00b6 84F84630 strb r3, [r4, #70]
1535 00ba B2E7 b .L90
1536 .LVL94:
1537 .L93:
670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
1538 .loc 1 670 5 is_stmt 1 view .LVU476
670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
1539 .loc 1 670 29 is_stmt 0 view .LVU477
1540 00bc 9968 ldr r1, [r3, #8]
670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
1541 .loc 1 670 13 view .LVU478
1542 00be 0A4A ldr r2, .L103+4
1543 00c0 0A40 ands r2, r2, r1
1544 .LVL95:
671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1545 .loc 1 671 5 is_stmt 1 view .LVU479
671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1546 .loc 1 671 8 is_stmt 0 view .LVU480
1547 00c2 062A cmp r2, #6
1548 00c4 0AD0 beq .L96
671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1549 .loc 1 671 9 discriminator 1 view .LVU481
1550 00c6 B2F5803F cmp r2, #65536
1551 00ca 09D0 beq .L97
673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1552 .loc 1 673 7 is_stmt 1 view .LVU482
1553 00cc 1A68 ldr r2, [r3]
1554 .LVL96:
673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1555 .loc 1 673 7 is_stmt 0 view .LVU483
1556 00ce 42F00102 orr r2, r2, #1
1557 00d2 1A60 str r2, [r3]
682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1558 .loc 1 682 10 view .LVU484
1559 00d4 0020 movs r0, #0
1560 00d6 00E0 b .L88
1561 .LVL97:
1562 .L95:
655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1563 .loc 1 655 12 view .LVU485
1564 00d8 0120 movs r0, #1
1565 .LVL98:
1566 .L88:
683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1567 .loc 1 683 1 view .LVU486
1568 00da 10BD pop {r4, pc}
1569 .LVL99:
1570 .L96:
682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1571 .loc 1 682 10 view .LVU487
1572 00dc 0020 movs r0, #0
1573 00de FCE7 b .L88
1574 .L97:
1575 00e0 0020 movs r0, #0
1576 00e2 FAE7 b .L88
1577 .L104:
1578 .align 2
ARM GAS /tmp/ccqCLCUn.s page 101
1579 .L103:
1580 00e4 002C0140 .word 1073818624
1581 00e8 07000100 .word 65543
1582 .cfi_endproc
1583 .LFE339:
1585 .section .text.HAL_TIMEx_OCN_Stop,"ax",%progbits
1586 .align 1
1587 .global HAL_TIMEx_OCN_Stop
1588 .syntax unified
1589 .thumb
1590 .thumb_func
1592 HAL_TIMEx_OCN_Stop:
1593 .LVL100:
1594 .LFB340:
698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1595 .loc 1 698 1 is_stmt 1 view -0
1596 .cfi_startproc
1597 @ args = 0, pretend = 0, frame = 0
1598 @ frame_needed = 0, uses_anonymous_args = 0
698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1599 .loc 1 698 1 is_stmt 0 view .LVU489
1600 0000 38B5 push {r3, r4, r5, lr}
1601 .LCFI15:
1602 .cfi_def_cfa_offset 16
1603 .cfi_offset 3, -16
1604 .cfi_offset 4, -12
1605 .cfi_offset 5, -8
1606 .cfi_offset 14, -4
1607 0002 0446 mov r4, r0
1608 0004 0D46 mov r5, r1
700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1609 .loc 1 700 3 is_stmt 1 view .LVU490
703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1610 .loc 1 703 3 view .LVU491
1611 0006 0022 movs r2, #0
1612 0008 0068 ldr r0, [r0]
1613 .LVL101:
703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1614 .loc 1 703 3 is_stmt 0 view .LVU492
1615 000a FFF7FEFF bl TIM_CCxNChannelCmd
1616 .LVL102:
706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1617 .loc 1 706 3 is_stmt 1 view .LVU493
706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1618 .loc 1 706 3 view .LVU494
1619 000e 2368 ldr r3, [r4]
1620 0010 196A ldr r1, [r3, #32]
1621 0012 41F21112 movw r2, #4369
1622 0016 1142 tst r1, r2
1623 0018 08D1 bne .L106
706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1624 .loc 1 706 3 discriminator 1 view .LVU495
1625 001a 196A ldr r1, [r3, #32]
1626 001c 44F24442 movw r2, #17476
1627 0020 1142 tst r1, r2
1628 0022 03D1 bne .L106
706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 102
1629 .loc 1 706 3 discriminator 3 view .LVU496
1630 0024 5A6C ldr r2, [r3, #68]
1631 0026 22F40042 bic r2, r2, #32768
1632 002a 5A64 str r2, [r3, #68]
1633 .L106:
706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1634 .loc 1 706 3 discriminator 5 view .LVU497
709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1635 .loc 1 709 3 view .LVU498
709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1636 .loc 1 709 3 view .LVU499
1637 002c 2368 ldr r3, [r4]
1638 002e 196A ldr r1, [r3, #32]
1639 0030 41F21112 movw r2, #4369
1640 0034 1142 tst r1, r2
1641 0036 08D1 bne .L107
709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1642 .loc 1 709 3 discriminator 1 view .LVU500
1643 0038 196A ldr r1, [r3, #32]
1644 003a 44F24442 movw r2, #17476
1645 003e 1142 tst r1, r2
1646 0040 03D1 bne .L107
709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1647 .loc 1 709 3 discriminator 3 view .LVU501
1648 0042 1A68 ldr r2, [r3]
1649 0044 22F00102 bic r2, r2, #1
1650 0048 1A60 str r2, [r3]
1651 .L107:
709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1652 .loc 1 709 3 discriminator 5 view .LVU502
712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1653 .loc 1 712 3 view .LVU503
1654 004a 25B9 cbnz r5, .L108
712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1655 .loc 1 712 3 is_stmt 0 discriminator 1 view .LVU504
1656 004c 0123 movs r3, #1
1657 004e 84F84430 strb r3, [r4, #68]
1658 .L109:
715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1659 .loc 1 715 3 is_stmt 1 view .LVU505
716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1660 .loc 1 716 1 is_stmt 0 view .LVU506
1661 0052 0020 movs r0, #0
1662 0054 38BD pop {r3, r4, r5, pc}
1663 .LVL103:
1664 .L108:
712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1665 .loc 1 712 3 discriminator 2 view .LVU507
1666 0056 042D cmp r5, #4
1667 0058 05D0 beq .L113
712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1668 .loc 1 712 3 discriminator 4 view .LVU508
1669 005a 082D cmp r5, #8
1670 005c 07D0 beq .L114
712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1671 .loc 1 712 3 discriminator 7 view .LVU509
1672 005e 0123 movs r3, #1
ARM GAS /tmp/ccqCLCUn.s page 103
1673 0060 84F84730 strb r3, [r4, #71]
1674 0064 F5E7 b .L109
1675 .L113:
712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1676 .loc 1 712 3 discriminator 3 view .LVU510
1677 0066 0123 movs r3, #1
1678 0068 84F84530 strb r3, [r4, #69]
1679 006c F1E7 b .L109
1680 .L114:
712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1681 .loc 1 712 3 discriminator 6 view .LVU511
1682 006e 0123 movs r3, #1
1683 0070 84F84630 strb r3, [r4, #70]
1684 0074 EDE7 b .L109
1685 .cfi_endproc
1686 .LFE340:
1688 .section .text.HAL_TIMEx_OCN_Start_IT,"ax",%progbits
1689 .align 1
1690 .global HAL_TIMEx_OCN_Start_IT
1691 .syntax unified
1692 .thumb
1693 .thumb_func
1695 HAL_TIMEx_OCN_Start_IT:
1696 .LVL104:
1697 .LFB341:
731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
1698 .loc 1 731 1 is_stmt 1 view -0
1699 .cfi_startproc
1700 @ args = 0, pretend = 0, frame = 0
1701 @ frame_needed = 0, uses_anonymous_args = 0
731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
1702 .loc 1 731 1 is_stmt 0 view .LVU513
1703 0000 10B5 push {r4, lr}
1704 .LCFI16:
1705 .cfi_def_cfa_offset 8
1706 .cfi_offset 4, -8
1707 .cfi_offset 14, -4
1708 0002 0446 mov r4, r0
732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
1709 .loc 1 732 3 is_stmt 1 view .LVU514
1710 .LVL105:
733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1711 .loc 1 733 3 view .LVU515
736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1712 .loc 1 736 3 view .LVU516
739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1713 .loc 1 739 3 view .LVU517
739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1714 .loc 1 739 46 is_stmt 0 view .LVU518
1715 0004 0846 mov r0, r1
1716 .LVL106:
739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1717 .loc 1 739 46 view .LVU519
1718 0006 0029 cmp r1, #0
1719 0008 3DD1 bne .L116
739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1720 .loc 1 739 7 discriminator 1 view .LVU520
ARM GAS /tmp/ccqCLCUn.s page 104
1721 000a 94F84430 ldrb r3, [r4, #68] @ zero_extendqisi2
739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1722 .loc 1 739 46 discriminator 1 view .LVU521
1723 000e 013B subs r3, r3, #1
1724 0010 18BF it ne
1725 0012 0123 movne r3, #1
1726 .L117:
739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1727 .loc 1 739 6 discriminator 12 view .LVU522
1728 0014 002B cmp r3, #0
1729 0016 40F09980 bne .L132
745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1730 .loc 1 745 3 is_stmt 1 view .LVU523
1731 001a 0028 cmp r0, #0
1732 001c 49D1 bne .L121
745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1733 .loc 1 745 3 is_stmt 0 discriminator 1 view .LVU524
1734 001e 0223 movs r3, #2
1735 0020 84F84430 strb r3, [r4, #68]
747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1736 .loc 1 747 3 is_stmt 1 view .LVU525
1737 .L122:
752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1738 .loc 1 752 7 view .LVU526
1739 0024 2268 ldr r2, [r4]
1740 0026 D368 ldr r3, [r2, #12]
1741 0028 43F00203 orr r3, r3, #2
1742 002c D360 str r3, [r2, #12]
753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1743 .loc 1 753 7 view .LVU527
783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1744 .loc 1 783 3 view .LVU528
1745 .L129:
786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1746 .loc 1 786 5 view .LVU529
1747 002e 2268 ldr r2, [r4]
1748 0030 D368 ldr r3, [r2, #12]
1749 0032 43F08003 orr r3, r3, #128
1750 0036 D360 str r3, [r2, #12]
789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1751 .loc 1 789 5 view .LVU530
1752 0038 0422 movs r2, #4
1753 003a 0146 mov r1, r0
1754 .LVL107:
789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1755 .loc 1 789 5 is_stmt 0 view .LVU531
1756 003c 2068 ldr r0, [r4]
1757 .LVL108:
789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1758 .loc 1 789 5 view .LVU532
1759 003e FFF7FEFF bl TIM_CCxNChannelCmd
1760 .LVL109:
792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1761 .loc 1 792 5 is_stmt 1 view .LVU533
1762 0042 2268 ldr r2, [r4]
1763 0044 536C ldr r3, [r2, #68]
1764 0046 43F40043 orr r3, r3, #32768
ARM GAS /tmp/ccqCLCUn.s page 105
1765 004a 5364 str r3, [r2, #68]
795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1766 .loc 1 795 5 view .LVU534
795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1767 .loc 1 795 9 is_stmt 0 view .LVU535
1768 004c 2368 ldr r3, [r4]
795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1769 .loc 1 795 8 view .LVU536
1770 004e 434A ldr r2, .L144
1771 0050 9342 cmp r3, r2
1772 0052 6DD0 beq .L130
795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1773 .loc 1 795 9 discriminator 1 view .LVU537
1774 0054 B3F1804F cmp r3, #1073741824
1775 0058 6AD0 beq .L130
795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1776 .loc 1 795 9 discriminator 2 view .LVU538
1777 005a A2F59432 sub r2, r2, #75776
1778 005e 9342 cmp r3, r2
1779 0060 66D0 beq .L130
795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1780 .loc 1 795 9 discriminator 3 view .LVU539
1781 0062 02F58062 add r2, r2, #1024
1782 0066 9342 cmp r3, r2
1783 0068 62D0 beq .L130
795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1784 .loc 1 795 9 discriminator 4 view .LVU540
1785 006a 02F59632 add r2, r2, #76800
1786 006e 9342 cmp r3, r2
1787 0070 5ED0 beq .L130
795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1788 .loc 1 795 9 discriminator 5 view .LVU541
1789 0072 02F54062 add r2, r2, #3072
1790 0076 9342 cmp r3, r2
1791 0078 5AD0 beq .L130
805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1792 .loc 1 805 7 is_stmt 1 view .LVU542
1793 007a 1A68 ldr r2, [r3]
1794 007c 42F00102 orr r2, r2, #1
1795 0080 1A60 str r2, [r3]
1796 0082 0020 movs r0, #0
1797 0084 63E0 b .L120
1798 .LVL110:
1799 .L116:
739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1800 .loc 1 739 46 is_stmt 0 discriminator 2 view .LVU543
1801 0086 0429 cmp r1, #4
1802 0088 07D0 beq .L140
739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1803 .loc 1 739 46 discriminator 5 view .LVU544
1804 008a 0829 cmp r1, #8
1805 008c 0BD0 beq .L141
739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1806 .loc 1 739 7 discriminator 8 view .LVU545
1807 008e 94F84730 ldrb r3, [r4, #71] @ zero_extendqisi2
739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1808 .loc 1 739 46 discriminator 8 view .LVU546
ARM GAS /tmp/ccqCLCUn.s page 106
1809 0092 013B subs r3, r3, #1
1810 0094 18BF it ne
1811 0096 0123 movne r3, #1
1812 0098 BCE7 b .L117
1813 .L140:
739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1814 .loc 1 739 7 discriminator 4 view .LVU547
1815 009a 94F84530 ldrb r3, [r4, #69] @ zero_extendqisi2
739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1816 .loc 1 739 46 discriminator 4 view .LVU548
1817 009e 013B subs r3, r3, #1
1818 00a0 18BF it ne
1819 00a2 0123 movne r3, #1
1820 00a4 B6E7 b .L117
1821 .L141:
739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1822 .loc 1 739 7 discriminator 7 view .LVU549
1823 00a6 94F84630 ldrb r3, [r4, #70] @ zero_extendqisi2
739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1824 .loc 1 739 46 discriminator 7 view .LVU550
1825 00aa 013B subs r3, r3, #1
1826 00ac 18BF it ne
1827 00ae 0123 movne r3, #1
1828 00b0 B0E7 b .L117
1829 .L121:
745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1830 .loc 1 745 3 discriminator 2 view .LVU551
1831 00b2 0428 cmp r0, #4
1832 00b4 24D0 beq .L142
745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1833 .loc 1 745 3 discriminator 4 view .LVU552
1834 00b6 0828 cmp r0, #8
1835 00b8 2BD0 beq .L143
745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1836 .loc 1 745 3 discriminator 7 view .LVU553
1837 00ba 0223 movs r3, #2
1838 00bc 84F84730 strb r3, [r4, #71]
747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1839 .loc 1 747 3 is_stmt 1 view .LVU554
1840 00c0 0C28 cmp r0, #12
1841 00c2 45D8 bhi .L133
1842 00c4 01A3 adr r3, .L128
1843 00c6 53F820F0 ldr pc, [r3, r0, lsl #2]
1844 00ca 00BF .p2align 2
1845 .L128:
1846 00cc 25000000 .word .L122+1
1847 00d0 51010000 .word .L133+1
1848 00d4 51010000 .word .L133+1
1849 00d8 51010000 .word .L133+1
1850 00dc 07010000 .word .L124+1
1851 00e0 51010000 .word .L133+1
1852 00e4 51010000 .word .L133+1
1853 00e8 51010000 .word .L133+1
1854 00ec 19010000 .word .L126+1
1855 00f0 51010000 .word .L133+1
1856 00f4 51010000 .word .L133+1
1857 00f8 51010000 .word .L133+1
ARM GAS /tmp/ccqCLCUn.s page 107
1858 00fc 25010000 .word .L127+1
1859 .p2align 1
1860 .L142:
745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1861 .loc 1 745 3 is_stmt 0 discriminator 3 view .LVU555
1862 0100 0223 movs r3, #2
1863 0102 84F84530 strb r3, [r4, #69]
747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1864 .loc 1 747 3 is_stmt 1 view .LVU556
1865 .L124:
759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1866 .loc 1 759 7 view .LVU557
1867 0106 2268 ldr r2, [r4]
1868 0108 D368 ldr r3, [r2, #12]
1869 010a 43F00403 orr r3, r3, #4
1870 010e D360 str r3, [r2, #12]
760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1871 .loc 1 760 7 view .LVU558
783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1872 .loc 1 783 3 view .LVU559
1873 0110 8DE7 b .L129
1874 .L143:
745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1875 .loc 1 745 3 is_stmt 0 discriminator 6 view .LVU560
1876 0112 0223 movs r3, #2
1877 0114 84F84630 strb r3, [r4, #70]
747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1878 .loc 1 747 3 is_stmt 1 view .LVU561
1879 .L126:
766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1880 .loc 1 766 7 view .LVU562
1881 0118 2268 ldr r2, [r4]
1882 011a D368 ldr r3, [r2, #12]
1883 011c 43F00803 orr r3, r3, #8
1884 0120 D360 str r3, [r2, #12]
767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1885 .loc 1 767 7 view .LVU563
783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1886 .loc 1 783 3 view .LVU564
1887 0122 84E7 b .L129
1888 .L127:
774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1889 .loc 1 774 7 view .LVU565
1890 0124 2268 ldr r2, [r4]
1891 0126 D368 ldr r3, [r2, #12]
1892 0128 43F01003 orr r3, r3, #16
1893 012c D360 str r3, [r2, #12]
775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1894 .loc 1 775 7 view .LVU566
783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1895 .loc 1 783 3 view .LVU567
1896 012e 7EE7 b .L129
1897 .LVL111:
1898 .L130:
797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
1899 .loc 1 797 7 view .LVU568
797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
ARM GAS /tmp/ccqCLCUn.s page 108
1900 .loc 1 797 31 is_stmt 0 view .LVU569
1901 0130 9968 ldr r1, [r3, #8]
797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
1902 .loc 1 797 15 view .LVU570
1903 0132 0B4A ldr r2, .L144+4
1904 0134 0A40 ands r2, r2, r1
1905 .LVL112:
798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1906 .loc 1 798 7 is_stmt 1 view .LVU571
798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1907 .loc 1 798 10 is_stmt 0 view .LVU572
1908 0136 062A cmp r2, #6
1909 0138 0CD0 beq .L134
798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1910 .loc 1 798 11 discriminator 1 view .LVU573
1911 013a B2F5803F cmp r2, #65536
1912 013e 0BD0 beq .L135
800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1913 .loc 1 800 9 is_stmt 1 view .LVU574
1914 0140 1A68 ldr r2, [r3]
1915 .LVL113:
800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1916 .loc 1 800 9 is_stmt 0 view .LVU575
1917 0142 42F00102 orr r2, r2, #1
1918 0146 1A60 str r2, [r3]
1919 0148 0020 movs r0, #0
1920 014a 00E0 b .L120
1921 .LVL114:
1922 .L132:
741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1923 .loc 1 741 12 view .LVU576
1924 014c 0120 movs r0, #1
1925 .LVL115:
1926 .L120:
811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1927 .loc 1 811 1 view .LVU577
1928 014e 10BD pop {r4, pc}
1929 .LVL116:
1930 .L133:
747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1931 .loc 1 747 3 view .LVU578
1932 0150 0120 movs r0, #1
1933 .LVL117:
747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1934 .loc 1 747 3 view .LVU579
1935 0152 FCE7 b .L120
1936 .LVL118:
1937 .L134:
747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1938 .loc 1 747 3 view .LVU580
1939 0154 0020 movs r0, #0
1940 0156 FAE7 b .L120
1941 .L135:
1942 0158 0020 movs r0, #0
1943 015a F8E7 b .L120
1944 .L145:
1945 .align 2
ARM GAS /tmp/ccqCLCUn.s page 109
1946 .L144:
1947 015c 002C0140 .word 1073818624
1948 0160 07000100 .word 65543
1949 .cfi_endproc
1950 .LFE341:
1952 .section .text.HAL_TIMEx_OCN_Stop_IT,"ax",%progbits
1953 .align 1
1954 .global HAL_TIMEx_OCN_Stop_IT
1955 .syntax unified
1956 .thumb
1957 .thumb_func
1959 HAL_TIMEx_OCN_Stop_IT:
1960 .LVL119:
1961 .LFB342:
826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
1962 .loc 1 826 1 is_stmt 1 view -0
1963 .cfi_startproc
1964 @ args = 0, pretend = 0, frame = 0
1965 @ frame_needed = 0, uses_anonymous_args = 0
826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
1966 .loc 1 826 1 is_stmt 0 view .LVU582
1967 0000 38B5 push {r3, r4, r5, lr}
1968 .LCFI17:
1969 .cfi_def_cfa_offset 16
1970 .cfi_offset 3, -16
1971 .cfi_offset 4, -12
1972 .cfi_offset 5, -8
1973 .cfi_offset 14, -4
1974 0002 0546 mov r5, r0
1975 0004 0C46 mov r4, r1
827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpccer;
1976 .loc 1 827 3 is_stmt 1 view .LVU583
1977 .LVL120:
828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1978 .loc 1 828 3 view .LVU584
831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1979 .loc 1 831 3 view .LVU585
833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1980 .loc 1 833 3 view .LVU586
1981 0006 0C29 cmp r1, #12
1982 0008 65D8 bhi .L160
1983 000a DFE801F0 tbb [pc, r1]
1984 .L149:
1985 000e 07 .byte (.L152-.L149)/2
1986 000f 64 .byte (.L160-.L149)/2
1987 0010 64 .byte (.L160-.L149)/2
1988 0011 64 .byte (.L160-.L149)/2
1989 0012 3F .byte (.L151-.L149)/2
1990 0013 64 .byte (.L160-.L149)/2
1991 0014 64 .byte (.L160-.L149)/2
1992 0015 64 .byte (.L160-.L149)/2
1993 0016 45 .byte (.L150-.L149)/2
1994 0017 64 .byte (.L160-.L149)/2
1995 0018 64 .byte (.L160-.L149)/2
1996 0019 64 .byte (.L160-.L149)/2
1997 001a 4B .byte (.L148-.L149)/2
1998 001b 00 .p2align 1
ARM GAS /tmp/ccqCLCUn.s page 110
1999 .L152:
838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2000 .loc 1 838 7 view .LVU587
2001 001c 0268 ldr r2, [r0]
2002 001e D368 ldr r3, [r2, #12]
2003 0020 23F00203 bic r3, r3, #2
2004 0024 D360 str r3, [r2, #12]
839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2005 .loc 1 839 7 view .LVU588
868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2006 .loc 1 868 3 view .LVU589
2007 .L153:
871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2008 .loc 1 871 5 view .LVU590
2009 0026 0022 movs r2, #0
2010 0028 2146 mov r1, r4
2011 .LVL121:
871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2012 .loc 1 871 5 is_stmt 0 view .LVU591
2013 002a 2868 ldr r0, [r5]
2014 .LVL122:
871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2015 .loc 1 871 5 view .LVU592
2016 002c FFF7FEFF bl TIM_CCxNChannelCmd
2017 .LVL123:
874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & TIM_CCER_CCxNE_MASK) == (uint32_t)RESET)
2018 .loc 1 874 5 is_stmt 1 view .LVU593
874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & TIM_CCER_CCxNE_MASK) == (uint32_t)RESET)
2019 .loc 1 874 19 is_stmt 0 view .LVU594
2020 0030 2B68 ldr r3, [r5]
874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & TIM_CCER_CCxNE_MASK) == (uint32_t)RESET)
2021 .loc 1 874 13 view .LVU595
2022 0032 196A ldr r1, [r3, #32]
2023 .LVL124:
875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2024 .loc 1 875 5 is_stmt 1 view .LVU596
875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2025 .loc 1 875 8 is_stmt 0 view .LVU597
2026 0034 44F24442 movw r2, #17476
2027 0038 1142 tst r1, r2
2028 003a 03D1 bne .L154
877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2029 .loc 1 877 7 is_stmt 1 view .LVU598
2030 003c DA68 ldr r2, [r3, #12]
2031 003e 22F08002 bic r2, r2, #128
2032 0042 DA60 str r2, [r3, #12]
2033 .L154:
881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2034 .loc 1 881 5 view .LVU599
881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2035 .loc 1 881 5 view .LVU600
2036 0044 2B68 ldr r3, [r5]
2037 0046 196A ldr r1, [r3, #32]
2038 .LVL125:
881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2039 .loc 1 881 5 is_stmt 0 view .LVU601
2040 0048 41F21112 movw r2, #4369
ARM GAS /tmp/ccqCLCUn.s page 111
2041 004c 1142 tst r1, r2
2042 004e 08D1 bne .L155
881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2043 .loc 1 881 5 is_stmt 1 discriminator 1 view .LVU602
2044 0050 196A ldr r1, [r3, #32]
2045 0052 44F24442 movw r2, #17476
2046 0056 1142 tst r1, r2
2047 0058 03D1 bne .L155
881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2048 .loc 1 881 5 discriminator 3 view .LVU603
2049 005a 5A6C ldr r2, [r3, #68]
2050 005c 22F40042 bic r2, r2, #32768
2051 0060 5A64 str r2, [r3, #68]
2052 .L155:
881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2053 .loc 1 881 5 discriminator 5 view .LVU604
884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2054 .loc 1 884 5 view .LVU605
884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2055 .loc 1 884 5 view .LVU606
2056 0062 2B68 ldr r3, [r5]
2057 0064 196A ldr r1, [r3, #32]
2058 0066 41F21112 movw r2, #4369
2059 006a 1142 tst r1, r2
2060 006c 08D1 bne .L156
884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2061 .loc 1 884 5 discriminator 1 view .LVU607
2062 006e 196A ldr r1, [r3, #32]
2063 0070 44F24442 movw r2, #17476
2064 0074 1142 tst r1, r2
2065 0076 03D1 bne .L156
884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2066 .loc 1 884 5 discriminator 3 view .LVU608
2067 0078 1A68 ldr r2, [r3]
2068 007a 22F00102 bic r2, r2, #1
2069 007e 1A60 str r2, [r3]
2070 .L156:
884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2071 .loc 1 884 5 discriminator 5 view .LVU609
887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2072 .loc 1 887 5 view .LVU610
2073 0080 B4B9 cbnz r4, .L157
887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2074 .loc 1 887 5 is_stmt 0 discriminator 1 view .LVU611
2075 0082 0123 movs r3, #1
2076 0084 85F84430 strb r3, [r5, #68]
2077 0088 0020 movs r0, #0
2078 008a 25E0 b .L147
2079 .LVL126:
2080 .L151:
845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2081 .loc 1 845 7 is_stmt 1 view .LVU612
2082 008c 0268 ldr r2, [r0]
2083 008e D368 ldr r3, [r2, #12]
2084 0090 23F00403 bic r3, r3, #4
2085 0094 D360 str r3, [r2, #12]
846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
ARM GAS /tmp/ccqCLCUn.s page 112
2086 .loc 1 846 7 view .LVU613
868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2087 .loc 1 868 3 view .LVU614
2088 0096 C6E7 b .L153
2089 .L150:
852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2090 .loc 1 852 7 view .LVU615
2091 0098 0268 ldr r2, [r0]
2092 009a D368 ldr r3, [r2, #12]
2093 009c 23F00803 bic r3, r3, #8
2094 00a0 D360 str r3, [r2, #12]
853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2095 .loc 1 853 7 view .LVU616
868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2096 .loc 1 868 3 view .LVU617
2097 00a2 C0E7 b .L153
2098 .L148:
859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2099 .loc 1 859 7 view .LVU618
2100 00a4 0268 ldr r2, [r0]
2101 00a6 D368 ldr r3, [r2, #12]
2102 00a8 23F01003 bic r3, r3, #16
2103 00ac D360 str r3, [r2, #12]
860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2104 .loc 1 860 7 view .LVU619
868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2105 .loc 1 868 3 view .LVU620
2106 00ae BAE7 b .L153
2107 .LVL127:
2108 .L157:
887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2109 .loc 1 887 5 is_stmt 0 discriminator 2 view .LVU621
2110 00b0 042C cmp r4, #4
2111 00b2 06D0 beq .L162
887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2112 .loc 1 887 5 discriminator 4 view .LVU622
2113 00b4 082C cmp r4, #8
2114 00b6 09D0 beq .L163
887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2115 .loc 1 887 5 discriminator 7 view .LVU623
2116 00b8 0123 movs r3, #1
2117 00ba 85F84730 strb r3, [r5, #71]
2118 00be 0020 movs r0, #0
2119 00c0 0AE0 b .L147
2120 .L162:
887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2121 .loc 1 887 5 discriminator 3 view .LVU624
2122 00c2 0123 movs r3, #1
2123 00c4 85F84530 strb r3, [r5, #69]
2124 00c8 0020 movs r0, #0
2125 00ca 05E0 b .L147
2126 .L163:
887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2127 .loc 1 887 5 discriminator 6 view .LVU625
2128 00cc 0123 movs r3, #1
2129 00ce 85F84630 strb r3, [r5, #70]
2130 00d2 0020 movs r0, #0
ARM GAS /tmp/ccqCLCUn.s page 113
2131 00d4 00E0 b .L147
2132 .LVL128:
2133 .L160:
833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2134 .loc 1 833 3 view .LVU626
2135 00d6 0120 movs r0, #1
2136 .LVL129:
2137 .L147:
891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2138 .loc 1 891 3 is_stmt 1 view .LVU627
892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2139 .loc 1 892 1 is_stmt 0 view .LVU628
2140 00d8 38BD pop {r3, r4, r5, pc}
892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2141 .loc 1 892 1 view .LVU629
2142 .cfi_endproc
2143 .LFE342:
2145 .section .text.HAL_TIMEx_OCN_Start_DMA,"ax",%progbits
2146 .align 1
2147 .global HAL_TIMEx_OCN_Start_DMA
2148 .syntax unified
2149 .thumb
2150 .thumb_func
2152 HAL_TIMEx_OCN_Start_DMA:
2153 .LVL130:
2154 .LFB343:
910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
2155 .loc 1 910 1 is_stmt 1 view -0
2156 .cfi_startproc
2157 @ args = 0, pretend = 0, frame = 0
2158 @ frame_needed = 0, uses_anonymous_args = 0
910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
2159 .loc 1 910 1 is_stmt 0 view .LVU631
2160 0000 70B5 push {r4, r5, r6, lr}
2161 .LCFI18:
2162 .cfi_def_cfa_offset 16
2163 .cfi_offset 4, -16
2164 .cfi_offset 5, -12
2165 .cfi_offset 6, -8
2166 .cfi_offset 14, -4
2167 0002 0446 mov r4, r0
2168 0004 1646 mov r6, r2
911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
2169 .loc 1 911 3 is_stmt 1 view .LVU632
2170 .LVL131:
912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2171 .loc 1 912 3 view .LVU633
915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2172 .loc 1 915 3 view .LVU634
918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2173 .loc 1 918 3 view .LVU635
918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2174 .loc 1 918 46 is_stmt 0 view .LVU636
2175 0006 0D46 mov r5, r1
2176 0008 0029 cmp r1, #0
2177 000a 62D1 bne .L165
918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
ARM GAS /tmp/ccqCLCUn.s page 114
2178 .loc 1 918 7 discriminator 1 view .LVU637
2179 000c 90F84400 ldrb r0, [r0, #68] @ zero_extendqisi2
2180 .LVL132:
918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2181 .loc 1 918 46 discriminator 1 view .LVU638
2182 0010 0228 cmp r0, #2
2183 0012 14BF ite ne
2184 0014 0020 movne r0, #0
2185 0016 0120 moveq r0, #1
2186 .L166:
918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2187 .loc 1 918 6 discriminator 12 view .LVU639
2188 0018 0028 cmp r0, #0
2189 001a 40F00B81 bne .L185
922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2190 .loc 1 922 8 is_stmt 1 view .LVU640
922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2191 .loc 1 922 51 is_stmt 0 view .LVU641
2192 001e 002D cmp r5, #0
2193 0020 70D1 bne .L170
922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2194 .loc 1 922 12 discriminator 1 view .LVU642
2195 0022 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2
2196 .LVL133:
922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2197 .loc 1 922 51 discriminator 1 view .LVU643
2198 0026 012A cmp r2, #1
2199 0028 14BF ite ne
2200 002a 0022 movne r2, #0
2201 002c 0122 moveq r2, #1
2202 .L171:
922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2203 .loc 1 922 11 discriminator 12 view .LVU644
2204 002e 002A cmp r2, #0
2205 0030 00F00281 beq .L186
924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2206 .loc 1 924 5 is_stmt 1 view .LVU645
924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2207 .loc 1 924 8 is_stmt 0 view .LVU646
2208 0034 002E cmp r6, #0
2209 0036 00F00181 beq .L187
924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2210 .loc 1 924 25 discriminator 1 view .LVU647
2211 003a 002B cmp r3, #0
2212 003c 00F00081 beq .L188
930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2213 .loc 1 930 7 is_stmt 1 view .LVU648
2214 0040 002D cmp r5, #0
2215 0042 78D1 bne .L174
930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2216 .loc 1 930 7 is_stmt 0 discriminator 1 view .LVU649
2217 0044 0222 movs r2, #2
2218 0046 84F84420 strb r2, [r4, #68]
938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2219 .loc 1 938 3 is_stmt 1 view .LVU650
2220 .L175:
943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
ARM GAS /tmp/ccqCLCUn.s page 115
2221 .loc 1 943 7 view .LVU651
943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
2222 .loc 1 943 17 is_stmt 0 view .LVU652
2223 004a 626A ldr r2, [r4, #36]
943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
2224 .loc 1 943 52 view .LVU653
2225 004c 8449 ldr r1, .L206
2226 .LVL134:
943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
2227 .loc 1 943 52 view .LVU654
2228 004e D162 str r1, [r2, #44]
944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2229 .loc 1 944 7 is_stmt 1 view .LVU655
944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2230 .loc 1 944 17 is_stmt 0 view .LVU656
2231 0050 626A ldr r2, [r4, #36]
944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2232 .loc 1 944 56 view .LVU657
2233 0052 8449 ldr r1, .L206+4
2234 0054 1163 str r1, [r2, #48]
947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2235 .loc 1 947 7 is_stmt 1 view .LVU658
947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2236 .loc 1 947 17 is_stmt 0 view .LVU659
2237 0056 626A ldr r2, [r4, #36]
947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2238 .loc 1 947 53 view .LVU660
2239 0058 8349 ldr r1, .L206+8
2240 005a 5163 str r1, [r2, #52]
950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
2241 .loc 1 950 7 is_stmt 1 view .LVU661
950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
2242 .loc 1 950 88 is_stmt 0 view .LVU662
2243 005c 2268 ldr r2, [r4]
950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
2244 .loc 1 950 11 view .LVU663
2245 005e 3432 adds r2, r2, #52
2246 0060 3146 mov r1, r6
2247 0062 606A ldr r0, [r4, #36]
2248 0064 FFF7FEFF bl HAL_DMA_Start_IT
2249 .LVL135:
950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
2250 .loc 1 950 10 discriminator 1 view .LVU664
2251 0068 0028 cmp r0, #0
2252 006a 40F0ED80 bne .L190
957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2253 .loc 1 957 7 is_stmt 1 view .LVU665
2254 006e 2268 ldr r2, [r4]
2255 0070 D368 ldr r3, [r2, #12]
2256 0072 43F40073 orr r3, r3, #512
2257 0076 D360 str r3, [r2, #12]
958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2258 .loc 1 958 7 view .LVU666
1029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2259 .loc 1 1029 3 view .LVU667
2260 .L182:
1032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 116
2261 .loc 1 1032 5 view .LVU668
2262 0078 0422 movs r2, #4
2263 007a 2946 mov r1, r5
2264 007c 2068 ldr r0, [r4]
2265 007e FFF7FEFF bl TIM_CCxNChannelCmd
2266 .LVL136:
1035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2267 .loc 1 1035 5 view .LVU669
2268 0082 2268 ldr r2, [r4]
2269 0084 536C ldr r3, [r2, #68]
2270 0086 43F40043 orr r3, r3, #32768
2271 008a 5364 str r3, [r2, #68]
1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2272 .loc 1 1038 5 view .LVU670
1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2273 .loc 1 1038 9 is_stmt 0 view .LVU671
2274 008c 2368 ldr r3, [r4]
1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2275 .loc 1 1038 8 view .LVU672
2276 008e 774A ldr r2, .L206+12
2277 0090 9342 cmp r3, r2
2278 0092 00F0C180 beq .L183
1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2279 .loc 1 1038 9 discriminator 1 view .LVU673
2280 0096 B3F1804F cmp r3, #1073741824
2281 009a 00F0BD80 beq .L183
1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2282 .loc 1 1038 9 discriminator 2 view .LVU674
2283 009e A2F59432 sub r2, r2, #75776
2284 00a2 9342 cmp r3, r2
2285 00a4 00F0B880 beq .L183
1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2286 .loc 1 1038 9 discriminator 3 view .LVU675
2287 00a8 02F58062 add r2, r2, #1024
2288 00ac 9342 cmp r3, r2
2289 00ae 00F0B380 beq .L183
1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2290 .loc 1 1038 9 discriminator 4 view .LVU676
2291 00b2 02F59632 add r2, r2, #76800
2292 00b6 9342 cmp r3, r2
2293 00b8 00F0AE80 beq .L183
1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2294 .loc 1 1038 9 discriminator 5 view .LVU677
2295 00bc 02F54062 add r2, r2, #3072
2296 00c0 9342 cmp r3, r2
2297 00c2 00F0A980 beq .L183
1048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2298 .loc 1 1048 7 is_stmt 1 view .LVU678
2299 00c6 1A68 ldr r2, [r3]
2300 00c8 42F00102 orr r2, r2, #1
2301 00cc 1A60 str r2, [r3]
2302 00ce 0020 movs r0, #0
2303 00d0 B3E0 b .L169
2304 .LVL137:
2305 .L165:
918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2306 .loc 1 918 46 is_stmt 0 discriminator 2 view .LVU679
ARM GAS /tmp/ccqCLCUn.s page 117
2307 00d2 0429 cmp r1, #4
2308 00d4 08D0 beq .L200
918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2309 .loc 1 918 46 discriminator 5 view .LVU680
2310 00d6 0829 cmp r1, #8
2311 00d8 0DD0 beq .L201
918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2312 .loc 1 918 7 discriminator 8 view .LVU681
2313 00da 90F84700 ldrb r0, [r0, #71] @ zero_extendqisi2
2314 .LVL138:
918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2315 .loc 1 918 46 discriminator 8 view .LVU682
2316 00de 0228 cmp r0, #2
2317 00e0 14BF ite ne
2318 00e2 0020 movne r0, #0
2319 00e4 0120 moveq r0, #1
2320 00e6 97E7 b .L166
2321 .LVL139:
2322 .L200:
918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2323 .loc 1 918 7 discriminator 4 view .LVU683
2324 00e8 90F84500 ldrb r0, [r0, #69] @ zero_extendqisi2
2325 .LVL140:
918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2326 .loc 1 918 46 discriminator 4 view .LVU684
2327 00ec 0228 cmp r0, #2
2328 00ee 14BF ite ne
2329 00f0 0020 movne r0, #0
2330 00f2 0120 moveq r0, #1
2331 00f4 90E7 b .L166
2332 .LVL141:
2333 .L201:
918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2334 .loc 1 918 7 discriminator 7 view .LVU685
2335 00f6 90F84600 ldrb r0, [r0, #70] @ zero_extendqisi2
2336 .LVL142:
918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2337 .loc 1 918 46 discriminator 7 view .LVU686
2338 00fa 0228 cmp r0, #2
2339 00fc 14BF ite ne
2340 00fe 0020 movne r0, #0
2341 0100 0120 moveq r0, #1
2342 0102 89E7 b .L166
2343 .L170:
922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2344 .loc 1 922 51 discriminator 2 view .LVU687
2345 0104 042D cmp r5, #4
2346 0106 08D0 beq .L202
922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2347 .loc 1 922 51 discriminator 5 view .LVU688
2348 0108 082D cmp r5, #8
2349 010a 0DD0 beq .L203
922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2350 .loc 1 922 12 discriminator 8 view .LVU689
2351 010c 94F84720 ldrb r2, [r4, #71] @ zero_extendqisi2
2352 .LVL143:
922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
ARM GAS /tmp/ccqCLCUn.s page 118
2353 .loc 1 922 51 discriminator 8 view .LVU690
2354 0110 012A cmp r2, #1
2355 0112 14BF ite ne
2356 0114 0022 movne r2, #0
2357 0116 0122 moveq r2, #1
2358 0118 89E7 b .L171
2359 .LVL144:
2360 .L202:
922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2361 .loc 1 922 12 discriminator 4 view .LVU691
2362 011a 94F84520 ldrb r2, [r4, #69] @ zero_extendqisi2
2363 .LVL145:
922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2364 .loc 1 922 51 discriminator 4 view .LVU692
2365 011e 012A cmp r2, #1
2366 0120 14BF ite ne
2367 0122 0022 movne r2, #0
2368 0124 0122 moveq r2, #1
2369 0126 82E7 b .L171
2370 .LVL146:
2371 .L203:
922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2372 .loc 1 922 12 discriminator 7 view .LVU693
2373 0128 94F84620 ldrb r2, [r4, #70] @ zero_extendqisi2
2374 .LVL147:
922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2375 .loc 1 922 51 discriminator 7 view .LVU694
2376 012c 012A cmp r2, #1
2377 012e 14BF ite ne
2378 0130 0022 movne r2, #0
2379 0132 0122 moveq r2, #1
2380 0134 7BE7 b .L171
2381 .L174:
930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2382 .loc 1 930 7 discriminator 2 view .LVU695
2383 0136 042D cmp r5, #4
2384 0138 24D0 beq .L204
930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2385 .loc 1 930 7 discriminator 4 view .LVU696
2386 013a 082D cmp r5, #8
2387 013c 3CD0 beq .L205
930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2388 .loc 1 930 7 discriminator 7 view .LVU697
2389 013e 0222 movs r2, #2
2390 0140 84F84720 strb r2, [r4, #71]
938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2391 .loc 1 938 3 is_stmt 1 view .LVU698
2392 0144 0C2D cmp r5, #12
2393 0146 7DD8 bhi .L189
2394 0148 01A2 adr r2, .L181
2395 014a 52F825F0 ldr pc, [r2, r5, lsl #2]
2396 014e 00BF .p2align 2
2397 .L181:
2398 0150 4B000000 .word .L175+1
2399 0154 45020000 .word .L189+1
2400 0158 45020000 .word .L189+1
2401 015c 45020000 .word .L189+1
ARM GAS /tmp/ccqCLCUn.s page 119
2402 0160 8B010000 .word .L177+1
2403 0164 45020000 .word .L189+1
2404 0168 45020000 .word .L189+1
2405 016c 45020000 .word .L189+1
2406 0170 BF010000 .word .L179+1
2407 0174 45020000 .word .L189+1
2408 0178 45020000 .word .L189+1
2409 017c 45020000 .word .L189+1
2410 0180 ED010000 .word .L180+1
2411 .p2align 1
2412 .L204:
930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2413 .loc 1 930 7 is_stmt 0 discriminator 3 view .LVU699
2414 0184 0222 movs r2, #2
2415 0186 84F84520 strb r2, [r4, #69]
938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2416 .loc 1 938 3 is_stmt 1 view .LVU700
2417 .L177:
964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
2418 .loc 1 964 7 view .LVU701
964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
2419 .loc 1 964 17 is_stmt 0 view .LVU702
2420 018a A26A ldr r2, [r4, #40]
964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
2421 .loc 1 964 52 view .LVU703
2422 018c 3449 ldr r1, .L206
2423 .LVL148:
964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
2424 .loc 1 964 52 view .LVU704
2425 018e D162 str r1, [r2, #44]
965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2426 .loc 1 965 7 is_stmt 1 view .LVU705
965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2427 .loc 1 965 17 is_stmt 0 view .LVU706
2428 0190 A26A ldr r2, [r4, #40]
965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2429 .loc 1 965 56 view .LVU707
2430 0192 3449 ldr r1, .L206+4
2431 0194 1163 str r1, [r2, #48]
968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2432 .loc 1 968 7 is_stmt 1 view .LVU708
968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2433 .loc 1 968 17 is_stmt 0 view .LVU709
2434 0196 A26A ldr r2, [r4, #40]
968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2435 .loc 1 968 53 view .LVU710
2436 0198 3349 ldr r1, .L206+8
2437 019a 5163 str r1, [r2, #52]
971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
2438 .loc 1 971 7 is_stmt 1 view .LVU711
971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
2439 .loc 1 971 88 is_stmt 0 view .LVU712
2440 019c 2268 ldr r2, [r4]
971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
2441 .loc 1 971 11 view .LVU713
2442 019e 3832 adds r2, r2, #56
2443 01a0 3146 mov r1, r6
ARM GAS /tmp/ccqCLCUn.s page 120
2444 01a2 A06A ldr r0, [r4, #40]
2445 01a4 FFF7FEFF bl HAL_DMA_Start_IT
2446 .LVL149:
971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
2447 .loc 1 971 10 discriminator 1 view .LVU714
2448 01a8 0028 cmp r0, #0
2449 01aa 4FD1 bne .L191
978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2450 .loc 1 978 7 is_stmt 1 view .LVU715
2451 01ac 2268 ldr r2, [r4]
2452 01ae D368 ldr r3, [r2, #12]
2453 01b0 43F48063 orr r3, r3, #1024
2454 01b4 D360 str r3, [r2, #12]
979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2455 .loc 1 979 7 view .LVU716
1029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2456 .loc 1 1029 3 view .LVU717
2457 01b6 5FE7 b .L182
2458 .LVL150:
2459 .L205:
930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2460 .loc 1 930 7 is_stmt 0 discriminator 6 view .LVU718
2461 01b8 0222 movs r2, #2
2462 01ba 84F84620 strb r2, [r4, #70]
938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2463 .loc 1 938 3 is_stmt 1 view .LVU719
2464 .L179:
985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
2465 .loc 1 985 7 view .LVU720
985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
2466 .loc 1 985 17 is_stmt 0 view .LVU721
2467 01be E26A ldr r2, [r4, #44]
985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
2468 .loc 1 985 52 view .LVU722
2469 01c0 2749 ldr r1, .L206
2470 .LVL151:
985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
2471 .loc 1 985 52 view .LVU723
2472 01c2 D162 str r1, [r2, #44]
986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2473 .loc 1 986 7 is_stmt 1 view .LVU724
986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2474 .loc 1 986 17 is_stmt 0 view .LVU725
2475 01c4 E26A ldr r2, [r4, #44]
986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2476 .loc 1 986 56 view .LVU726
2477 01c6 2749 ldr r1, .L206+4
2478 01c8 1163 str r1, [r2, #48]
989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2479 .loc 1 989 7 is_stmt 1 view .LVU727
989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2480 .loc 1 989 17 is_stmt 0 view .LVU728
2481 01ca E26A ldr r2, [r4, #44]
989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2482 .loc 1 989 53 view .LVU729
2483 01cc 2649 ldr r1, .L206+8
2484 01ce 5163 str r1, [r2, #52]
ARM GAS /tmp/ccqCLCUn.s page 121
992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
2485 .loc 1 992 7 is_stmt 1 view .LVU730
992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
2486 .loc 1 992 88 is_stmt 0 view .LVU731
2487 01d0 2268 ldr r2, [r4]
992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
2488 .loc 1 992 11 view .LVU732
2489 01d2 3C32 adds r2, r2, #60
2490 01d4 3146 mov r1, r6
2491 01d6 E06A ldr r0, [r4, #44]
2492 01d8 FFF7FEFF bl HAL_DMA_Start_IT
2493 .LVL152:
992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
2494 .loc 1 992 10 discriminator 1 view .LVU733
2495 01dc 0028 cmp r0, #0
2496 01de 37D1 bne .L192
999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2497 .loc 1 999 7 is_stmt 1 view .LVU734
2498 01e0 2268 ldr r2, [r4]
2499 01e2 D368 ldr r3, [r2, #12]
2500 01e4 43F40063 orr r3, r3, #2048
2501 01e8 D360 str r3, [r2, #12]
1000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2502 .loc 1 1000 7 view .LVU735
1029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2503 .loc 1 1029 3 view .LVU736
2504 01ea 45E7 b .L182
2505 .LVL153:
2506 .L180:
1006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
2507 .loc 1 1006 7 view .LVU737
1006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
2508 .loc 1 1006 17 is_stmt 0 view .LVU738
2509 01ec 226B ldr r2, [r4, #48]
1006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
2510 .loc 1 1006 52 view .LVU739
2511 01ee 1C49 ldr r1, .L206
2512 .LVL154:
1006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
2513 .loc 1 1006 52 view .LVU740
2514 01f0 D162 str r1, [r2, #44]
1007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2515 .loc 1 1007 7 is_stmt 1 view .LVU741
1007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2516 .loc 1 1007 17 is_stmt 0 view .LVU742
2517 01f2 226B ldr r2, [r4, #48]
1007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2518 .loc 1 1007 56 view .LVU743
2519 01f4 1B49 ldr r1, .L206+4
2520 01f6 1163 str r1, [r2, #48]
1010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2521 .loc 1 1010 7 is_stmt 1 view .LVU744
1010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2522 .loc 1 1010 17 is_stmt 0 view .LVU745
2523 01f8 226B ldr r2, [r4, #48]
1010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2524 .loc 1 1010 53 view .LVU746
ARM GAS /tmp/ccqCLCUn.s page 122
2525 01fa 1B49 ldr r1, .L206+8
2526 01fc 5163 str r1, [r2, #52]
1013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
2527 .loc 1 1013 7 is_stmt 1 view .LVU747
1013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
2528 .loc 1 1013 88 is_stmt 0 view .LVU748
2529 01fe 2268 ldr r2, [r4]
1013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
2530 .loc 1 1013 11 view .LVU749
2531 0200 4032 adds r2, r2, #64
2532 0202 3146 mov r1, r6
2533 0204 206B ldr r0, [r4, #48]
2534 0206 FFF7FEFF bl HAL_DMA_Start_IT
2535 .LVL155:
1013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
2536 .loc 1 1013 10 discriminator 1 view .LVU750
2537 020a 18BB cbnz r0, .L193
1020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2538 .loc 1 1020 7 is_stmt 1 view .LVU751
2539 020c 2268 ldr r2, [r4]
2540 020e D368 ldr r3, [r2, #12]
2541 0210 43F48053 orr r3, r3, #4096
2542 0214 D360 str r3, [r2, #12]
1021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2543 .loc 1 1021 7 view .LVU752
1029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2544 .loc 1 1029 3 view .LVU753
2545 0216 2FE7 b .L182
2546 .L183:
1040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
2547 .loc 1 1040 7 view .LVU754
1040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
2548 .loc 1 1040 31 is_stmt 0 view .LVU755
2549 0218 9968 ldr r1, [r3, #8]
1040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
2550 .loc 1 1040 15 view .LVU756
2551 021a 154A ldr r2, .L206+16
2552 021c 0A40 ands r2, r2, r1
2553 .LVL156:
1041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2554 .loc 1 1041 7 is_stmt 1 view .LVU757
1041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2555 .loc 1 1041 10 is_stmt 0 view .LVU758
2556 021e 062A cmp r2, #6
2557 0220 1AD0 beq .L194
1041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2558 .loc 1 1041 11 discriminator 1 view .LVU759
2559 0222 B2F5803F cmp r2, #65536
2560 0226 19D0 beq .L195
1043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2561 .loc 1 1043 9 is_stmt 1 view .LVU760
2562 0228 1A68 ldr r2, [r3]
2563 .LVL157:
1043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2564 .loc 1 1043 9 is_stmt 0 view .LVU761
2565 022a 42F00102 orr r2, r2, #1
2566 022e 1A60 str r2, [r3]
ARM GAS /tmp/ccqCLCUn.s page 123
2567 0230 0020 movs r0, #0
2568 0232 02E0 b .L169
2569 .LVL158:
2570 .L185:
920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2571 .loc 1 920 12 view .LVU762
2572 0234 0220 movs r0, #2
2573 0236 00E0 b .L169
2574 .LVL159:
2575 .L186:
935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2576 .loc 1 935 12 view .LVU763
2577 0238 0120 movs r0, #1
2578 .LVL160:
2579 .L169:
1054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2580 .loc 1 1054 1 view .LVU764
2581 023a 70BD pop {r4, r5, r6, pc}
2582 .LVL161:
2583 .L187:
926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2584 .loc 1 926 14 view .LVU765
2585 023c 0120 movs r0, #1
2586 023e FCE7 b .L169
2587 .L188:
2588 0240 0120 movs r0, #1
2589 0242 FAE7 b .L169
2590 .L189:
938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2591 .loc 1 938 3 view .LVU766
2592 0244 0120 movs r0, #1
2593 0246 F8E7 b .L169
2594 .LVL162:
2595 .L190:
954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2596 .loc 1 954 16 view .LVU767
2597 0248 0120 movs r0, #1
2598 024a F6E7 b .L169
2599 .L191:
975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2600 .loc 1 975 16 view .LVU768
2601 024c 0120 movs r0, #1
2602 024e F4E7 b .L169
2603 .L192:
996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2604 .loc 1 996 16 view .LVU769
2605 0250 0120 movs r0, #1
2606 0252 F2E7 b .L169
2607 .L193:
1017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2608 .loc 1 1017 16 view .LVU770
2609 0254 0120 movs r0, #1
2610 0256 F0E7 b .L169
2611 .LVL163:
2612 .L194:
1017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2613 .loc 1 1017 16 view .LVU771
ARM GAS /tmp/ccqCLCUn.s page 124
2614 0258 0020 movs r0, #0
2615 025a EEE7 b .L169
2616 .L195:
2617 025c 0020 movs r0, #0
2618 025e ECE7 b .L169
2619 .L207:
2620 .align 2
2621 .L206:
2622 0260 00000000 .word TIM_DMADelayPulseNCplt
2623 0264 00000000 .word TIM_DMADelayPulseHalfCplt
2624 0268 00000000 .word TIM_DMAErrorCCxN
2625 026c 002C0140 .word 1073818624
2626 0270 07000100 .word 65543
2627 .cfi_endproc
2628 .LFE343:
2630 .section .text.HAL_TIMEx_OCN_Stop_DMA,"ax",%progbits
2631 .align 1
2632 .global HAL_TIMEx_OCN_Stop_DMA
2633 .syntax unified
2634 .thumb
2635 .thumb_func
2637 HAL_TIMEx_OCN_Stop_DMA:
2638 .LVL164:
2639 .LFB344:
1069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
2640 .loc 1 1069 1 is_stmt 1 view -0
2641 .cfi_startproc
2642 @ args = 0, pretend = 0, frame = 0
2643 @ frame_needed = 0, uses_anonymous_args = 0
1069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
2644 .loc 1 1069 1 is_stmt 0 view .LVU773
2645 0000 38B5 push {r3, r4, r5, lr}
2646 .LCFI19:
2647 .cfi_def_cfa_offset 16
2648 .cfi_offset 3, -16
2649 .cfi_offset 4, -12
2650 .cfi_offset 5, -8
2651 .cfi_offset 14, -4
2652 0002 0546 mov r5, r0
2653 0004 0C46 mov r4, r1
1070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2654 .loc 1 1070 3 is_stmt 1 view .LVU774
2655 .LVL165:
1073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2656 .loc 1 1073 3 view .LVU775
1075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2657 .loc 1 1075 3 view .LVU776
2658 0006 0C29 cmp r1, #12
2659 0008 67D8 bhi .L221
2660 000a DFE801F0 tbb [pc, r1]
2661 .L211:
2662 000e 07 .byte (.L214-.L211)/2
2663 000f 66 .byte (.L221-.L211)/2
2664 0010 66 .byte (.L221-.L211)/2
2665 0011 66 .byte (.L221-.L211)/2
2666 0012 38 .byte (.L213-.L211)/2
2667 0013 66 .byte (.L221-.L211)/2
ARM GAS /tmp/ccqCLCUn.s page 125
2668 0014 66 .byte (.L221-.L211)/2
2669 0015 66 .byte (.L221-.L211)/2
2670 0016 41 .byte (.L212-.L211)/2
2671 0017 66 .byte (.L221-.L211)/2
2672 0018 66 .byte (.L221-.L211)/2
2673 0019 66 .byte (.L221-.L211)/2
2674 001a 4A .byte (.L210-.L211)/2
2675 001b 00 .p2align 1
2676 .L214:
1080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
2677 .loc 1 1080 7 view .LVU777
2678 001c 0268 ldr r2, [r0]
2679 001e D368 ldr r3, [r2, #12]
2680 0020 23F40073 bic r3, r3, #512
2681 0024 D360 str r3, [r2, #12]
1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2682 .loc 1 1081 7 view .LVU778
1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2683 .loc 1 1081 13 is_stmt 0 view .LVU779
2684 0026 406A ldr r0, [r0, #36]
2685 .LVL166:
1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2686 .loc 1 1081 13 view .LVU780
2687 0028 FFF7FEFF bl HAL_DMA_Abort_IT
2688 .LVL167:
1082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2689 .loc 1 1082 7 is_stmt 1 view .LVU781
1114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2690 .loc 1 1114 3 view .LVU782
2691 .L215:
1117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2692 .loc 1 1117 5 view .LVU783
2693 002c 0022 movs r2, #0
2694 002e 2146 mov r1, r4
2695 0030 2868 ldr r0, [r5]
2696 0032 FFF7FEFF bl TIM_CCxNChannelCmd
2697 .LVL168:
1120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2698 .loc 1 1120 5 view .LVU784
1120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2699 .loc 1 1120 5 view .LVU785
2700 0036 2B68 ldr r3, [r5]
2701 0038 196A ldr r1, [r3, #32]
2702 003a 41F21112 movw r2, #4369
2703 003e 1142 tst r1, r2
2704 0040 08D1 bne .L216
1120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2705 .loc 1 1120 5 discriminator 1 view .LVU786
2706 0042 196A ldr r1, [r3, #32]
2707 0044 44F24442 movw r2, #17476
2708 0048 1142 tst r1, r2
2709 004a 03D1 bne .L216
1120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2710 .loc 1 1120 5 discriminator 3 view .LVU787
2711 004c 5A6C ldr r2, [r3, #68]
2712 004e 22F40042 bic r2, r2, #32768
2713 0052 5A64 str r2, [r3, #68]
ARM GAS /tmp/ccqCLCUn.s page 126
2714 .L216:
1120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2715 .loc 1 1120 5 discriminator 5 view .LVU788
1123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2716 .loc 1 1123 5 view .LVU789
1123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2717 .loc 1 1123 5 view .LVU790
2718 0054 2B68 ldr r3, [r5]
2719 0056 196A ldr r1, [r3, #32]
2720 0058 41F21112 movw r2, #4369
2721 005c 1142 tst r1, r2
2722 005e 08D1 bne .L217
1123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2723 .loc 1 1123 5 discriminator 1 view .LVU791
2724 0060 196A ldr r1, [r3, #32]
2725 0062 44F24442 movw r2, #17476
2726 0066 1142 tst r1, r2
2727 0068 03D1 bne .L217
1123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2728 .loc 1 1123 5 discriminator 3 view .LVU792
2729 006a 1A68 ldr r2, [r3]
2730 006c 22F00102 bic r2, r2, #1
2731 0070 1A60 str r2, [r3]
2732 .L217:
1123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2733 .loc 1 1123 5 discriminator 5 view .LVU793
1126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2734 .loc 1 1126 5 view .LVU794
2735 0072 FCB9 cbnz r4, .L218
1126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2736 .loc 1 1126 5 is_stmt 0 discriminator 1 view .LVU795
2737 0074 0123 movs r3, #1
2738 0076 85F84430 strb r3, [r5, #68]
2739 007a 0020 movs r0, #0
2740 007c 2EE0 b .L209
2741 .LVL169:
2742 .L213:
1088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]);
2743 .loc 1 1088 7 is_stmt 1 view .LVU796
2744 007e 0268 ldr r2, [r0]
2745 0080 D368 ldr r3, [r2, #12]
2746 0082 23F48063 bic r3, r3, #1024
2747 0086 D360 str r3, [r2, #12]
1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2748 .loc 1 1089 7 view .LVU797
1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2749 .loc 1 1089 13 is_stmt 0 view .LVU798
2750 0088 806A ldr r0, [r0, #40]
2751 .LVL170:
1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2752 .loc 1 1089 13 view .LVU799
2753 008a FFF7FEFF bl HAL_DMA_Abort_IT
2754 .LVL171:
1090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2755 .loc 1 1090 7 is_stmt 1 view .LVU800
1114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2756 .loc 1 1114 3 view .LVU801
ARM GAS /tmp/ccqCLCUn.s page 127
2757 008e CDE7 b .L215
2758 .LVL172:
2759 .L212:
1096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]);
2760 .loc 1 1096 7 view .LVU802
2761 0090 0268 ldr r2, [r0]
2762 0092 D368 ldr r3, [r2, #12]
2763 0094 23F40063 bic r3, r3, #2048
2764 0098 D360 str r3, [r2, #12]
1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2765 .loc 1 1097 7 view .LVU803
1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2766 .loc 1 1097 13 is_stmt 0 view .LVU804
2767 009a C06A ldr r0, [r0, #44]
2768 .LVL173:
1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2769 .loc 1 1097 13 view .LVU805
2770 009c FFF7FEFF bl HAL_DMA_Abort_IT
2771 .LVL174:
1098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2772 .loc 1 1098 7 is_stmt 1 view .LVU806
1114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2773 .loc 1 1114 3 view .LVU807
2774 00a0 C4E7 b .L215
2775 .LVL175:
2776 .L210:
1104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]);
2777 .loc 1 1104 7 view .LVU808
2778 00a2 0268 ldr r2, [r0]
2779 00a4 D368 ldr r3, [r2, #12]
2780 00a6 23F48053 bic r3, r3, #4096
2781 00aa D360 str r3, [r2, #12]
1105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2782 .loc 1 1105 7 view .LVU809
1105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2783 .loc 1 1105 13 is_stmt 0 view .LVU810
2784 00ac 006B ldr r0, [r0, #48]
2785 .LVL176:
1105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2786 .loc 1 1105 13 view .LVU811
2787 00ae FFF7FEFF bl HAL_DMA_Abort_IT
2788 .LVL177:
1106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2789 .loc 1 1106 7 is_stmt 1 view .LVU812
1114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2790 .loc 1 1114 3 view .LVU813
2791 00b2 BBE7 b .L215
2792 .L218:
1126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2793 .loc 1 1126 5 is_stmt 0 discriminator 2 view .LVU814
2794 00b4 042C cmp r4, #4
2795 00b6 06D0 beq .L223
1126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2796 .loc 1 1126 5 discriminator 4 view .LVU815
2797 00b8 082C cmp r4, #8
2798 00ba 09D0 beq .L224
1126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
ARM GAS /tmp/ccqCLCUn.s page 128
2799 .loc 1 1126 5 discriminator 7 view .LVU816
2800 00bc 0123 movs r3, #1
2801 00be 85F84730 strb r3, [r5, #71]
2802 00c2 0020 movs r0, #0
2803 00c4 0AE0 b .L209
2804 .L223:
1126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2805 .loc 1 1126 5 discriminator 3 view .LVU817
2806 00c6 0123 movs r3, #1
2807 00c8 85F84530 strb r3, [r5, #69]
2808 00cc 0020 movs r0, #0
2809 00ce 05E0 b .L209
2810 .L224:
1126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2811 .loc 1 1126 5 discriminator 6 view .LVU818
2812 00d0 0123 movs r3, #1
2813 00d2 85F84630 strb r3, [r5, #70]
2814 00d6 0020 movs r0, #0
2815 00d8 00E0 b .L209
2816 .LVL178:
2817 .L221:
1075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2818 .loc 1 1075 3 view .LVU819
2819 00da 0120 movs r0, #1
2820 .LVL179:
2821 .L209:
1130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2822 .loc 1 1130 3 is_stmt 1 view .LVU820
1131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2823 .loc 1 1131 1 is_stmt 0 view .LVU821
2824 00dc 38BD pop {r3, r4, r5, pc}
1131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2825 .loc 1 1131 1 view .LVU822
2826 .cfi_endproc
2827 .LFE344:
2829 .section .text.HAL_TIMEx_PWMN_Start,"ax",%progbits
2830 .align 1
2831 .global HAL_TIMEx_PWMN_Start
2832 .syntax unified
2833 .thumb
2834 .thumb_func
2836 HAL_TIMEx_PWMN_Start:
2837 .LVL180:
2838 .LFB345:
1168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
2839 .loc 1 1168 1 is_stmt 1 view -0
2840 .cfi_startproc
2841 @ args = 0, pretend = 0, frame = 0
2842 @ frame_needed = 0, uses_anonymous_args = 0
1168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
2843 .loc 1 1168 1 is_stmt 0 view .LVU824
2844 0000 10B5 push {r4, lr}
2845 .LCFI20:
2846 .cfi_def_cfa_offset 8
2847 .cfi_offset 4, -8
2848 .cfi_offset 14, -4
2849 0002 0446 mov r4, r0
ARM GAS /tmp/ccqCLCUn.s page 129
1169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2850 .loc 1 1169 3 is_stmt 1 view .LVU825
1172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2851 .loc 1 1172 3 view .LVU826
1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2852 .loc 1 1175 3 view .LVU827
1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2853 .loc 1 1175 46 is_stmt 0 view .LVU828
2854 0004 0846 mov r0, r1
2855 .LVL181:
1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2856 .loc 1 1175 46 view .LVU829
2857 0006 0029 cmp r1, #0
2858 0008 32D1 bne .L226
1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2859 .loc 1 1175 7 discriminator 1 view .LVU830
2860 000a 94F84430 ldrb r3, [r4, #68] @ zero_extendqisi2
1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2861 .loc 1 1175 46 discriminator 1 view .LVU831
2862 000e 013B subs r3, r3, #1
2863 0010 18BF it ne
2864 0012 0123 movne r3, #1
2865 .L227:
1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2866 .loc 1 1175 6 discriminator 12 view .LVU832
2867 0014 002B cmp r3, #0
2868 0016 5FD1 bne .L237
1181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2869 .loc 1 1181 3 is_stmt 1 view .LVU833
2870 0018 0028 cmp r0, #0
2871 001a 3FD1 bne .L231
1181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2872 .loc 1 1181 3 is_stmt 0 discriminator 1 view .LVU834
2873 001c 0223 movs r3, #2
2874 001e 84F84430 strb r3, [r4, #68]
2875 .L232:
1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2876 .loc 1 1184 3 is_stmt 1 view .LVU835
2877 0022 0422 movs r2, #4
2878 0024 0146 mov r1, r0
2879 .LVL182:
1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2880 .loc 1 1184 3 is_stmt 0 view .LVU836
2881 0026 2068 ldr r0, [r4]
2882 .LVL183:
1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2883 .loc 1 1184 3 view .LVU837
2884 0028 FFF7FEFF bl TIM_CCxNChannelCmd
2885 .LVL184:
1187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2886 .loc 1 1187 3 is_stmt 1 view .LVU838
2887 002c 2268 ldr r2, [r4]
2888 002e 536C ldr r3, [r2, #68]
2889 0030 43F40043 orr r3, r3, #32768
2890 0034 5364 str r3, [r2, #68]
1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2891 .loc 1 1190 3 view .LVU839
ARM GAS /tmp/ccqCLCUn.s page 130
1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2892 .loc 1 1190 7 is_stmt 0 view .LVU840
2893 0036 2368 ldr r3, [r4]
1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2894 .loc 1 1190 6 view .LVU841
2895 0038 2A4A ldr r2, .L245
2896 003a 9342 cmp r3, r2
2897 003c 3ED0 beq .L235
1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2898 .loc 1 1190 7 discriminator 1 view .LVU842
2899 003e B3F1804F cmp r3, #1073741824
2900 0042 3BD0 beq .L235
1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2901 .loc 1 1190 7 discriminator 2 view .LVU843
2902 0044 A2F59432 sub r2, r2, #75776
2903 0048 9342 cmp r3, r2
2904 004a 37D0 beq .L235
1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2905 .loc 1 1190 7 discriminator 3 view .LVU844
2906 004c 02F58062 add r2, r2, #1024
2907 0050 9342 cmp r3, r2
2908 0052 33D0 beq .L235
1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2909 .loc 1 1190 7 discriminator 4 view .LVU845
2910 0054 02F59632 add r2, r2, #76800
2911 0058 9342 cmp r3, r2
2912 005a 2FD0 beq .L235
1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2913 .loc 1 1190 7 discriminator 5 view .LVU846
2914 005c 02F54062 add r2, r2, #3072
2915 0060 9342 cmp r3, r2
2916 0062 2BD0 beq .L235
1200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2917 .loc 1 1200 5 is_stmt 1 view .LVU847
2918 0064 1A68 ldr r2, [r3]
2919 0066 42F00102 orr r2, r2, #1
2920 006a 1A60 str r2, [r3]
1204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2921 .loc 1 1204 10 is_stmt 0 view .LVU848
2922 006c 0020 movs r0, #0
2923 006e 34E0 b .L230
2924 .LVL185:
2925 .L226:
1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2926 .loc 1 1175 46 discriminator 2 view .LVU849
2927 0070 0429 cmp r1, #4
2928 0072 07D0 beq .L241
1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2929 .loc 1 1175 46 discriminator 5 view .LVU850
2930 0074 0829 cmp r1, #8
2931 0076 0BD0 beq .L242
1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2932 .loc 1 1175 7 discriminator 8 view .LVU851
2933 0078 94F84730 ldrb r3, [r4, #71] @ zero_extendqisi2
1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2934 .loc 1 1175 46 discriminator 8 view .LVU852
2935 007c 013B subs r3, r3, #1
ARM GAS /tmp/ccqCLCUn.s page 131
2936 007e 18BF it ne
2937 0080 0123 movne r3, #1
2938 0082 C7E7 b .L227
2939 .L241:
1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2940 .loc 1 1175 7 discriminator 4 view .LVU853
2941 0084 94F84530 ldrb r3, [r4, #69] @ zero_extendqisi2
1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2942 .loc 1 1175 46 discriminator 4 view .LVU854
2943 0088 013B subs r3, r3, #1
2944 008a 18BF it ne
2945 008c 0123 movne r3, #1
2946 008e C1E7 b .L227
2947 .L242:
1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2948 .loc 1 1175 7 discriminator 7 view .LVU855
2949 0090 94F84630 ldrb r3, [r4, #70] @ zero_extendqisi2
1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2950 .loc 1 1175 46 discriminator 7 view .LVU856
2951 0094 013B subs r3, r3, #1
2952 0096 18BF it ne
2953 0098 0123 movne r3, #1
2954 009a BBE7 b .L227
2955 .L231:
1181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2956 .loc 1 1181 3 discriminator 2 view .LVU857
2957 009c 0428 cmp r0, #4
2958 009e 05D0 beq .L243
1181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2959 .loc 1 1181 3 discriminator 4 view .LVU858
2960 00a0 0828 cmp r0, #8
2961 00a2 07D0 beq .L244
1181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2962 .loc 1 1181 3 discriminator 7 view .LVU859
2963 00a4 0223 movs r3, #2
2964 00a6 84F84730 strb r3, [r4, #71]
2965 00aa BAE7 b .L232
2966 .L243:
1181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2967 .loc 1 1181 3 discriminator 3 view .LVU860
2968 00ac 0223 movs r3, #2
2969 00ae 84F84530 strb r3, [r4, #69]
2970 00b2 B6E7 b .L232
2971 .L244:
1181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2972 .loc 1 1181 3 discriminator 6 view .LVU861
2973 00b4 0223 movs r3, #2
2974 00b6 84F84630 strb r3, [r4, #70]
2975 00ba B2E7 b .L232
2976 .LVL186:
2977 .L235:
1192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
2978 .loc 1 1192 5 is_stmt 1 view .LVU862
1192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
2979 .loc 1 1192 29 is_stmt 0 view .LVU863
2980 00bc 9968 ldr r1, [r3, #8]
1192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
ARM GAS /tmp/ccqCLCUn.s page 132
2981 .loc 1 1192 13 view .LVU864
2982 00be 0A4A ldr r2, .L245+4
2983 00c0 0A40 ands r2, r2, r1
2984 .LVL187:
1193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2985 .loc 1 1193 5 is_stmt 1 view .LVU865
1193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2986 .loc 1 1193 8 is_stmt 0 view .LVU866
2987 00c2 062A cmp r2, #6
2988 00c4 0AD0 beq .L238
1193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2989 .loc 1 1193 9 discriminator 1 view .LVU867
2990 00c6 B2F5803F cmp r2, #65536
2991 00ca 09D0 beq .L239
1195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2992 .loc 1 1195 7 is_stmt 1 view .LVU868
2993 00cc 1A68 ldr r2, [r3]
2994 .LVL188:
1195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2995 .loc 1 1195 7 is_stmt 0 view .LVU869
2996 00ce 42F00102 orr r2, r2, #1
2997 00d2 1A60 str r2, [r3]
1204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2998 .loc 1 1204 10 view .LVU870
2999 00d4 0020 movs r0, #0
3000 00d6 00E0 b .L230
3001 .LVL189:
3002 .L237:
1177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3003 .loc 1 1177 12 view .LVU871
3004 00d8 0120 movs r0, #1
3005 .LVL190:
3006 .L230:
1205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3007 .loc 1 1205 1 view .LVU872
3008 00da 10BD pop {r4, pc}
3009 .LVL191:
3010 .L238:
1204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3011 .loc 1 1204 10 view .LVU873
3012 00dc 0020 movs r0, #0
3013 00de FCE7 b .L230
3014 .L239:
3015 00e0 0020 movs r0, #0
3016 00e2 FAE7 b .L230
3017 .L246:
3018 .align 2
3019 .L245:
3020 00e4 002C0140 .word 1073818624
3021 00e8 07000100 .word 65543
3022 .cfi_endproc
3023 .LFE345:
3025 .section .text.HAL_TIMEx_PWMN_Stop,"ax",%progbits
3026 .align 1
3027 .global HAL_TIMEx_PWMN_Stop
3028 .syntax unified
3029 .thumb
ARM GAS /tmp/ccqCLCUn.s page 133
3030 .thumb_func
3032 HAL_TIMEx_PWMN_Stop:
3033 .LVL192:
3034 .LFB346:
1219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3035 .loc 1 1219 1 is_stmt 1 view -0
3036 .cfi_startproc
3037 @ args = 0, pretend = 0, frame = 0
3038 @ frame_needed = 0, uses_anonymous_args = 0
1219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3039 .loc 1 1219 1 is_stmt 0 view .LVU875
3040 0000 38B5 push {r3, r4, r5, lr}
3041 .LCFI21:
3042 .cfi_def_cfa_offset 16
3043 .cfi_offset 3, -16
3044 .cfi_offset 4, -12
3045 .cfi_offset 5, -8
3046 .cfi_offset 14, -4
3047 0002 0446 mov r4, r0
3048 0004 0D46 mov r5, r1
1221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3049 .loc 1 1221 3 is_stmt 1 view .LVU876
1224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3050 .loc 1 1224 3 view .LVU877
3051 0006 0022 movs r2, #0
3052 0008 0068 ldr r0, [r0]
3053 .LVL193:
1224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3054 .loc 1 1224 3 is_stmt 0 view .LVU878
3055 000a FFF7FEFF bl TIM_CCxNChannelCmd
3056 .LVL194:
1227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3057 .loc 1 1227 3 is_stmt 1 view .LVU879
1227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3058 .loc 1 1227 3 view .LVU880
3059 000e 2368 ldr r3, [r4]
3060 0010 196A ldr r1, [r3, #32]
3061 0012 41F21112 movw r2, #4369
3062 0016 1142 tst r1, r2
3063 0018 08D1 bne .L248
1227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3064 .loc 1 1227 3 discriminator 1 view .LVU881
3065 001a 196A ldr r1, [r3, #32]
3066 001c 44F24442 movw r2, #17476
3067 0020 1142 tst r1, r2
3068 0022 03D1 bne .L248
1227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3069 .loc 1 1227 3 discriminator 3 view .LVU882
3070 0024 5A6C ldr r2, [r3, #68]
3071 0026 22F40042 bic r2, r2, #32768
3072 002a 5A64 str r2, [r3, #68]
3073 .L248:
1227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3074 .loc 1 1227 3 discriminator 5 view .LVU883
1230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3075 .loc 1 1230 3 view .LVU884
1230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 134
3076 .loc 1 1230 3 view .LVU885
3077 002c 2368 ldr r3, [r4]
3078 002e 196A ldr r1, [r3, #32]
3079 0030 41F21112 movw r2, #4369
3080 0034 1142 tst r1, r2
3081 0036 08D1 bne .L249
1230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3082 .loc 1 1230 3 discriminator 1 view .LVU886
3083 0038 196A ldr r1, [r3, #32]
3084 003a 44F24442 movw r2, #17476
3085 003e 1142 tst r1, r2
3086 0040 03D1 bne .L249
1230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3087 .loc 1 1230 3 discriminator 3 view .LVU887
3088 0042 1A68 ldr r2, [r3]
3089 0044 22F00102 bic r2, r2, #1
3090 0048 1A60 str r2, [r3]
3091 .L249:
1230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3092 .loc 1 1230 3 discriminator 5 view .LVU888
1233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3093 .loc 1 1233 3 view .LVU889
3094 004a 25B9 cbnz r5, .L250
1233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3095 .loc 1 1233 3 is_stmt 0 discriminator 1 view .LVU890
3096 004c 0123 movs r3, #1
3097 004e 84F84430 strb r3, [r4, #68]
3098 .L251:
1236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3099 .loc 1 1236 3 is_stmt 1 view .LVU891
1237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3100 .loc 1 1237 1 is_stmt 0 view .LVU892
3101 0052 0020 movs r0, #0
3102 0054 38BD pop {r3, r4, r5, pc}
3103 .LVL195:
3104 .L250:
1233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3105 .loc 1 1233 3 discriminator 2 view .LVU893
3106 0056 042D cmp r5, #4
3107 0058 05D0 beq .L255
1233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3108 .loc 1 1233 3 discriminator 4 view .LVU894
3109 005a 082D cmp r5, #8
3110 005c 07D0 beq .L256
1233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3111 .loc 1 1233 3 discriminator 7 view .LVU895
3112 005e 0123 movs r3, #1
3113 0060 84F84730 strb r3, [r4, #71]
3114 0064 F5E7 b .L251
3115 .L255:
1233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3116 .loc 1 1233 3 discriminator 3 view .LVU896
3117 0066 0123 movs r3, #1
3118 0068 84F84530 strb r3, [r4, #69]
3119 006c F1E7 b .L251
3120 .L256:
1233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 135
3121 .loc 1 1233 3 discriminator 6 view .LVU897
3122 006e 0123 movs r3, #1
3123 0070 84F84630 strb r3, [r4, #70]
3124 0074 EDE7 b .L251
3125 .cfi_endproc
3126 .LFE346:
3128 .section .text.HAL_TIMEx_PWMN_Start_IT,"ax",%progbits
3129 .align 1
3130 .global HAL_TIMEx_PWMN_Start_IT
3131 .syntax unified
3132 .thumb
3133 .thumb_func
3135 HAL_TIMEx_PWMN_Start_IT:
3136 .LVL196:
3137 .LFB347:
1252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
3138 .loc 1 1252 1 is_stmt 1 view -0
3139 .cfi_startproc
3140 @ args = 0, pretend = 0, frame = 0
3141 @ frame_needed = 0, uses_anonymous_args = 0
1252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
3142 .loc 1 1252 1 is_stmt 0 view .LVU899
3143 0000 10B5 push {r4, lr}
3144 .LCFI22:
3145 .cfi_def_cfa_offset 8
3146 .cfi_offset 4, -8
3147 .cfi_offset 14, -4
3148 0002 0446 mov r4, r0
1253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
3149 .loc 1 1253 3 is_stmt 1 view .LVU900
3150 .LVL197:
1254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3151 .loc 1 1254 3 view .LVU901
1257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3152 .loc 1 1257 3 view .LVU902
1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3153 .loc 1 1260 3 view .LVU903
1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3154 .loc 1 1260 46 is_stmt 0 view .LVU904
3155 0004 0846 mov r0, r1
3156 .LVL198:
1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3157 .loc 1 1260 46 view .LVU905
3158 0006 0029 cmp r1, #0
3159 0008 3DD1 bne .L258
1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3160 .loc 1 1260 7 discriminator 1 view .LVU906
3161 000a 94F84430 ldrb r3, [r4, #68] @ zero_extendqisi2
1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3162 .loc 1 1260 46 discriminator 1 view .LVU907
3163 000e 013B subs r3, r3, #1
3164 0010 18BF it ne
3165 0012 0123 movne r3, #1
3166 .L259:
1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3167 .loc 1 1260 6 discriminator 12 view .LVU908
3168 0014 002B cmp r3, #0
ARM GAS /tmp/ccqCLCUn.s page 136
3169 0016 40F09980 bne .L274
1266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3170 .loc 1 1266 3 is_stmt 1 view .LVU909
3171 001a 0028 cmp r0, #0
3172 001c 49D1 bne .L263
1266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3173 .loc 1 1266 3 is_stmt 0 discriminator 1 view .LVU910
3174 001e 0223 movs r3, #2
3175 0020 84F84430 strb r3, [r4, #68]
1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3176 .loc 1 1268 3 is_stmt 1 view .LVU911
3177 .L264:
1273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
3178 .loc 1 1273 7 view .LVU912
3179 0024 2268 ldr r2, [r4]
3180 0026 D368 ldr r3, [r2, #12]
3181 0028 43F00203 orr r3, r3, #2
3182 002c D360 str r3, [r2, #12]
1274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3183 .loc 1 1274 7 view .LVU913
1303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3184 .loc 1 1303 3 view .LVU914
3185 .L271:
1306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3186 .loc 1 1306 5 view .LVU915
3187 002e 2268 ldr r2, [r4]
3188 0030 D368 ldr r3, [r2, #12]
3189 0032 43F08003 orr r3, r3, #128
3190 0036 D360 str r3, [r2, #12]
1309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3191 .loc 1 1309 5 view .LVU916
3192 0038 0422 movs r2, #4
3193 003a 0146 mov r1, r0
3194 .LVL199:
1309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3195 .loc 1 1309 5 is_stmt 0 view .LVU917
3196 003c 2068 ldr r0, [r4]
3197 .LVL200:
1309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3198 .loc 1 1309 5 view .LVU918
3199 003e FFF7FEFF bl TIM_CCxNChannelCmd
3200 .LVL201:
1312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3201 .loc 1 1312 5 is_stmt 1 view .LVU919
3202 0042 2268 ldr r2, [r4]
3203 0044 536C ldr r3, [r2, #68]
3204 0046 43F40043 orr r3, r3, #32768
3205 004a 5364 str r3, [r2, #68]
1315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3206 .loc 1 1315 5 view .LVU920
1315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3207 .loc 1 1315 9 is_stmt 0 view .LVU921
3208 004c 2368 ldr r3, [r4]
1315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3209 .loc 1 1315 8 view .LVU922
3210 004e 434A ldr r2, .L286
3211 0050 9342 cmp r3, r2
ARM GAS /tmp/ccqCLCUn.s page 137
3212 0052 6DD0 beq .L272
1315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3213 .loc 1 1315 9 discriminator 1 view .LVU923
3214 0054 B3F1804F cmp r3, #1073741824
3215 0058 6AD0 beq .L272
1315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3216 .loc 1 1315 9 discriminator 2 view .LVU924
3217 005a A2F59432 sub r2, r2, #75776
3218 005e 9342 cmp r3, r2
3219 0060 66D0 beq .L272
1315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3220 .loc 1 1315 9 discriminator 3 view .LVU925
3221 0062 02F58062 add r2, r2, #1024
3222 0066 9342 cmp r3, r2
3223 0068 62D0 beq .L272
1315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3224 .loc 1 1315 9 discriminator 4 view .LVU926
3225 006a 02F59632 add r2, r2, #76800
3226 006e 9342 cmp r3, r2
3227 0070 5ED0 beq .L272
1315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3228 .loc 1 1315 9 discriminator 5 view .LVU927
3229 0072 02F54062 add r2, r2, #3072
3230 0076 9342 cmp r3, r2
3231 0078 5AD0 beq .L272
1325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3232 .loc 1 1325 7 is_stmt 1 view .LVU928
3233 007a 1A68 ldr r2, [r3]
3234 007c 42F00102 orr r2, r2, #1
3235 0080 1A60 str r2, [r3]
3236 0082 0020 movs r0, #0
3237 0084 63E0 b .L262
3238 .LVL202:
3239 .L258:
1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3240 .loc 1 1260 46 is_stmt 0 discriminator 2 view .LVU929
3241 0086 0429 cmp r1, #4
3242 0088 07D0 beq .L282
1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3243 .loc 1 1260 46 discriminator 5 view .LVU930
3244 008a 0829 cmp r1, #8
3245 008c 0BD0 beq .L283
1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3246 .loc 1 1260 7 discriminator 8 view .LVU931
3247 008e 94F84730 ldrb r3, [r4, #71] @ zero_extendqisi2
1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3248 .loc 1 1260 46 discriminator 8 view .LVU932
3249 0092 013B subs r3, r3, #1
3250 0094 18BF it ne
3251 0096 0123 movne r3, #1
3252 0098 BCE7 b .L259
3253 .L282:
1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3254 .loc 1 1260 7 discriminator 4 view .LVU933
3255 009a 94F84530 ldrb r3, [r4, #69] @ zero_extendqisi2
1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3256 .loc 1 1260 46 discriminator 4 view .LVU934
ARM GAS /tmp/ccqCLCUn.s page 138
3257 009e 013B subs r3, r3, #1
3258 00a0 18BF it ne
3259 00a2 0123 movne r3, #1
3260 00a4 B6E7 b .L259
3261 .L283:
1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3262 .loc 1 1260 7 discriminator 7 view .LVU935
3263 00a6 94F84630 ldrb r3, [r4, #70] @ zero_extendqisi2
1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3264 .loc 1 1260 46 discriminator 7 view .LVU936
3265 00aa 013B subs r3, r3, #1
3266 00ac 18BF it ne
3267 00ae 0123 movne r3, #1
3268 00b0 B0E7 b .L259
3269 .L263:
1266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3270 .loc 1 1266 3 discriminator 2 view .LVU937
3271 00b2 0428 cmp r0, #4
3272 00b4 24D0 beq .L284
1266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3273 .loc 1 1266 3 discriminator 4 view .LVU938
3274 00b6 0828 cmp r0, #8
3275 00b8 2BD0 beq .L285
1266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3276 .loc 1 1266 3 discriminator 7 view .LVU939
3277 00ba 0223 movs r3, #2
3278 00bc 84F84730 strb r3, [r4, #71]
1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3279 .loc 1 1268 3 is_stmt 1 view .LVU940
3280 00c0 0C28 cmp r0, #12
3281 00c2 45D8 bhi .L275
3282 00c4 01A3 adr r3, .L270
3283 00c6 53F820F0 ldr pc, [r3, r0, lsl #2]
3284 00ca 00BF .p2align 2
3285 .L270:
3286 00cc 25000000 .word .L264+1
3287 00d0 51010000 .word .L275+1
3288 00d4 51010000 .word .L275+1
3289 00d8 51010000 .word .L275+1
3290 00dc 07010000 .word .L266+1
3291 00e0 51010000 .word .L275+1
3292 00e4 51010000 .word .L275+1
3293 00e8 51010000 .word .L275+1
3294 00ec 19010000 .word .L268+1
3295 00f0 51010000 .word .L275+1
3296 00f4 51010000 .word .L275+1
3297 00f8 51010000 .word .L275+1
3298 00fc 25010000 .word .L269+1
3299 .p2align 1
3300 .L284:
1266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3301 .loc 1 1266 3 is_stmt 0 discriminator 3 view .LVU941
3302 0100 0223 movs r3, #2
3303 0102 84F84530 strb r3, [r4, #69]
1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3304 .loc 1 1268 3 is_stmt 1 view .LVU942
3305 .L266:
ARM GAS /tmp/ccqCLCUn.s page 139
1280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
3306 .loc 1 1280 7 view .LVU943
3307 0106 2268 ldr r2, [r4]
3308 0108 D368 ldr r3, [r2, #12]
3309 010a 43F00403 orr r3, r3, #4
3310 010e D360 str r3, [r2, #12]
1281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3311 .loc 1 1281 7 view .LVU944
1303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3312 .loc 1 1303 3 view .LVU945
3313 0110 8DE7 b .L271
3314 .L285:
1266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3315 .loc 1 1266 3 is_stmt 0 discriminator 6 view .LVU946
3316 0112 0223 movs r3, #2
3317 0114 84F84630 strb r3, [r4, #70]
1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3318 .loc 1 1268 3 is_stmt 1 view .LVU947
3319 .L268:
1287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
3320 .loc 1 1287 7 view .LVU948
3321 0118 2268 ldr r2, [r4]
3322 011a D368 ldr r3, [r2, #12]
3323 011c 43F00803 orr r3, r3, #8
3324 0120 D360 str r3, [r2, #12]
1288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3325 .loc 1 1288 7 view .LVU949
1303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3326 .loc 1 1303 3 view .LVU950
3327 0122 84E7 b .L271
3328 .L269:
1294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
3329 .loc 1 1294 7 view .LVU951
3330 0124 2268 ldr r2, [r4]
3331 0126 D368 ldr r3, [r2, #12]
3332 0128 43F01003 orr r3, r3, #16
3333 012c D360 str r3, [r2, #12]
1295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3334 .loc 1 1295 7 view .LVU952
1303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3335 .loc 1 1303 3 view .LVU953
3336 012e 7EE7 b .L271
3337 .LVL203:
3338 .L272:
1317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
3339 .loc 1 1317 7 view .LVU954
1317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
3340 .loc 1 1317 31 is_stmt 0 view .LVU955
3341 0130 9968 ldr r1, [r3, #8]
1317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
3342 .loc 1 1317 15 view .LVU956
3343 0132 0B4A ldr r2, .L286+4
3344 0134 0A40 ands r2, r2, r1
3345 .LVL204:
1318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3346 .loc 1 1318 7 is_stmt 1 view .LVU957
1318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
ARM GAS /tmp/ccqCLCUn.s page 140
3347 .loc 1 1318 10 is_stmt 0 view .LVU958
3348 0136 062A cmp r2, #6
3349 0138 0CD0 beq .L276
1318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3350 .loc 1 1318 11 discriminator 1 view .LVU959
3351 013a B2F5803F cmp r2, #65536
3352 013e 0BD0 beq .L277
1320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3353 .loc 1 1320 9 is_stmt 1 view .LVU960
3354 0140 1A68 ldr r2, [r3]
3355 .LVL205:
1320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3356 .loc 1 1320 9 is_stmt 0 view .LVU961
3357 0142 42F00102 orr r2, r2, #1
3358 0146 1A60 str r2, [r3]
3359 0148 0020 movs r0, #0
3360 014a 00E0 b .L262
3361 .LVL206:
3362 .L274:
1262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3363 .loc 1 1262 12 view .LVU962
3364 014c 0120 movs r0, #1
3365 .LVL207:
3366 .L262:
1331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3367 .loc 1 1331 1 view .LVU963
3368 014e 10BD pop {r4, pc}
3369 .LVL208:
3370 .L275:
1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3371 .loc 1 1268 3 view .LVU964
3372 0150 0120 movs r0, #1
3373 .LVL209:
1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3374 .loc 1 1268 3 view .LVU965
3375 0152 FCE7 b .L262
3376 .LVL210:
3377 .L276:
1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3378 .loc 1 1268 3 view .LVU966
3379 0154 0020 movs r0, #0
3380 0156 FAE7 b .L262
3381 .L277:
3382 0158 0020 movs r0, #0
3383 015a F8E7 b .L262
3384 .L287:
3385 .align 2
3386 .L286:
3387 015c 002C0140 .word 1073818624
3388 0160 07000100 .word 65543
3389 .cfi_endproc
3390 .LFE347:
3392 .section .text.HAL_TIMEx_PWMN_Stop_IT,"ax",%progbits
3393 .align 1
3394 .global HAL_TIMEx_PWMN_Stop_IT
3395 .syntax unified
3396 .thumb
ARM GAS /tmp/ccqCLCUn.s page 141
3397 .thumb_func
3399 HAL_TIMEx_PWMN_Stop_IT:
3400 .LVL211:
3401 .LFB348:
1346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
3402 .loc 1 1346 1 is_stmt 1 view -0
3403 .cfi_startproc
3404 @ args = 0, pretend = 0, frame = 0
3405 @ frame_needed = 0, uses_anonymous_args = 0
1346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
3406 .loc 1 1346 1 is_stmt 0 view .LVU968
3407 0000 38B5 push {r3, r4, r5, lr}
3408 .LCFI23:
3409 .cfi_def_cfa_offset 16
3410 .cfi_offset 3, -16
3411 .cfi_offset 4, -12
3412 .cfi_offset 5, -8
3413 .cfi_offset 14, -4
3414 0002 0546 mov r5, r0
3415 0004 0C46 mov r4, r1
1347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpccer;
3416 .loc 1 1347 3 is_stmt 1 view .LVU969
3417 .LVL212:
1348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3418 .loc 1 1348 3 view .LVU970
1351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3419 .loc 1 1351 3 view .LVU971
1353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3420 .loc 1 1353 3 view .LVU972
3421 0006 0C29 cmp r1, #12
3422 0008 65D8 bhi .L302
3423 000a DFE801F0 tbb [pc, r1]
3424 .L291:
3425 000e 07 .byte (.L294-.L291)/2
3426 000f 64 .byte (.L302-.L291)/2
3427 0010 64 .byte (.L302-.L291)/2
3428 0011 64 .byte (.L302-.L291)/2
3429 0012 3F .byte (.L293-.L291)/2
3430 0013 64 .byte (.L302-.L291)/2
3431 0014 64 .byte (.L302-.L291)/2
3432 0015 64 .byte (.L302-.L291)/2
3433 0016 45 .byte (.L292-.L291)/2
3434 0017 64 .byte (.L302-.L291)/2
3435 0018 64 .byte (.L302-.L291)/2
3436 0019 64 .byte (.L302-.L291)/2
3437 001a 4B .byte (.L290-.L291)/2
3438 001b 00 .p2align 1
3439 .L294:
1358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
3440 .loc 1 1358 7 view .LVU973
3441 001c 0268 ldr r2, [r0]
3442 001e D368 ldr r3, [r2, #12]
3443 0020 23F00203 bic r3, r3, #2
3444 0024 D360 str r3, [r2, #12]
1359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3445 .loc 1 1359 7 view .LVU974
1388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
ARM GAS /tmp/ccqCLCUn.s page 142
3446 .loc 1 1388 3 view .LVU975
3447 .L295:
1391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3448 .loc 1 1391 5 view .LVU976
3449 0026 0022 movs r2, #0
3450 0028 2146 mov r1, r4
3451 .LVL213:
1391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3452 .loc 1 1391 5 is_stmt 0 view .LVU977
3453 002a 2868 ldr r0, [r5]
3454 .LVL214:
1391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3455 .loc 1 1391 5 view .LVU978
3456 002c FFF7FEFF bl TIM_CCxNChannelCmd
3457 .LVL215:
1394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & TIM_CCER_CCxNE_MASK) == (uint32_t)RESET)
3458 .loc 1 1394 5 is_stmt 1 view .LVU979
1394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & TIM_CCER_CCxNE_MASK) == (uint32_t)RESET)
3459 .loc 1 1394 19 is_stmt 0 view .LVU980
3460 0030 2B68 ldr r3, [r5]
1394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & TIM_CCER_CCxNE_MASK) == (uint32_t)RESET)
3461 .loc 1 1394 13 view .LVU981
3462 0032 196A ldr r1, [r3, #32]
3463 .LVL216:
1395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3464 .loc 1 1395 5 is_stmt 1 view .LVU982
1395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3465 .loc 1 1395 8 is_stmt 0 view .LVU983
3466 0034 44F24442 movw r2, #17476
3467 0038 1142 tst r1, r2
3468 003a 03D1 bne .L296
1397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3469 .loc 1 1397 7 is_stmt 1 view .LVU984
3470 003c DA68 ldr r2, [r3, #12]
3471 003e 22F08002 bic r2, r2, #128
3472 0042 DA60 str r2, [r3, #12]
3473 .L296:
1401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3474 .loc 1 1401 5 view .LVU985
1401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3475 .loc 1 1401 5 view .LVU986
3476 0044 2B68 ldr r3, [r5]
3477 0046 196A ldr r1, [r3, #32]
3478 .LVL217:
1401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3479 .loc 1 1401 5 is_stmt 0 view .LVU987
3480 0048 41F21112 movw r2, #4369
3481 004c 1142 tst r1, r2
3482 004e 08D1 bne .L297
1401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3483 .loc 1 1401 5 is_stmt 1 discriminator 1 view .LVU988
3484 0050 196A ldr r1, [r3, #32]
3485 0052 44F24442 movw r2, #17476
3486 0056 1142 tst r1, r2
3487 0058 03D1 bne .L297
1401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3488 .loc 1 1401 5 discriminator 3 view .LVU989
ARM GAS /tmp/ccqCLCUn.s page 143
3489 005a 5A6C ldr r2, [r3, #68]
3490 005c 22F40042 bic r2, r2, #32768
3491 0060 5A64 str r2, [r3, #68]
3492 .L297:
1401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3493 .loc 1 1401 5 discriminator 5 view .LVU990
1404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3494 .loc 1 1404 5 view .LVU991
1404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3495 .loc 1 1404 5 view .LVU992
3496 0062 2B68 ldr r3, [r5]
3497 0064 196A ldr r1, [r3, #32]
3498 0066 41F21112 movw r2, #4369
3499 006a 1142 tst r1, r2
3500 006c 08D1 bne .L298
1404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3501 .loc 1 1404 5 discriminator 1 view .LVU993
3502 006e 196A ldr r1, [r3, #32]
3503 0070 44F24442 movw r2, #17476
3504 0074 1142 tst r1, r2
3505 0076 03D1 bne .L298
1404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3506 .loc 1 1404 5 discriminator 3 view .LVU994
3507 0078 1A68 ldr r2, [r3]
3508 007a 22F00102 bic r2, r2, #1
3509 007e 1A60 str r2, [r3]
3510 .L298:
1404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3511 .loc 1 1404 5 discriminator 5 view .LVU995
1407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3512 .loc 1 1407 5 view .LVU996
3513 0080 B4B9 cbnz r4, .L299
1407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3514 .loc 1 1407 5 is_stmt 0 discriminator 1 view .LVU997
3515 0082 0123 movs r3, #1
3516 0084 85F84430 strb r3, [r5, #68]
3517 0088 0020 movs r0, #0
3518 008a 25E0 b .L289
3519 .LVL218:
3520 .L293:
1365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
3521 .loc 1 1365 7 is_stmt 1 view .LVU998
3522 008c 0268 ldr r2, [r0]
3523 008e D368 ldr r3, [r2, #12]
3524 0090 23F00403 bic r3, r3, #4
3525 0094 D360 str r3, [r2, #12]
1366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3526 .loc 1 1366 7 view .LVU999
1388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3527 .loc 1 1388 3 view .LVU1000
3528 0096 C6E7 b .L295
3529 .L292:
1372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
3530 .loc 1 1372 7 view .LVU1001
3531 0098 0268 ldr r2, [r0]
3532 009a D368 ldr r3, [r2, #12]
3533 009c 23F00803 bic r3, r3, #8
ARM GAS /tmp/ccqCLCUn.s page 144
3534 00a0 D360 str r3, [r2, #12]
1373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3535 .loc 1 1373 7 view .LVU1002
1388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3536 .loc 1 1388 3 view .LVU1003
3537 00a2 C0E7 b .L295
3538 .L290:
1379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
3539 .loc 1 1379 7 view .LVU1004
3540 00a4 0268 ldr r2, [r0]
3541 00a6 D368 ldr r3, [r2, #12]
3542 00a8 23F01003 bic r3, r3, #16
3543 00ac D360 str r3, [r2, #12]
1380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3544 .loc 1 1380 7 view .LVU1005
1388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3545 .loc 1 1388 3 view .LVU1006
3546 00ae BAE7 b .L295
3547 .LVL219:
3548 .L299:
1407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3549 .loc 1 1407 5 is_stmt 0 discriminator 2 view .LVU1007
3550 00b0 042C cmp r4, #4
3551 00b2 06D0 beq .L304
1407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3552 .loc 1 1407 5 discriminator 4 view .LVU1008
3553 00b4 082C cmp r4, #8
3554 00b6 09D0 beq .L305
1407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3555 .loc 1 1407 5 discriminator 7 view .LVU1009
3556 00b8 0123 movs r3, #1
3557 00ba 85F84730 strb r3, [r5, #71]
3558 00be 0020 movs r0, #0
3559 00c0 0AE0 b .L289
3560 .L304:
1407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3561 .loc 1 1407 5 discriminator 3 view .LVU1010
3562 00c2 0123 movs r3, #1
3563 00c4 85F84530 strb r3, [r5, #69]
3564 00c8 0020 movs r0, #0
3565 00ca 05E0 b .L289
3566 .L305:
1407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3567 .loc 1 1407 5 discriminator 6 view .LVU1011
3568 00cc 0123 movs r3, #1
3569 00ce 85F84630 strb r3, [r5, #70]
3570 00d2 0020 movs r0, #0
3571 00d4 00E0 b .L289
3572 .LVL220:
3573 .L302:
1353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3574 .loc 1 1353 3 view .LVU1012
3575 00d6 0120 movs r0, #1
3576 .LVL221:
3577 .L289:
1411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3578 .loc 1 1411 3 is_stmt 1 view .LVU1013
ARM GAS /tmp/ccqCLCUn.s page 145
1412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3579 .loc 1 1412 1 is_stmt 0 view .LVU1014
3580 00d8 38BD pop {r3, r4, r5, pc}
1412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3581 .loc 1 1412 1 view .LVU1015
3582 .cfi_endproc
3583 .LFE348:
3585 .section .text.HAL_TIMEx_PWMN_Start_DMA,"ax",%progbits
3586 .align 1
3587 .global HAL_TIMEx_PWMN_Start_DMA
3588 .syntax unified
3589 .thumb
3590 .thumb_func
3592 HAL_TIMEx_PWMN_Start_DMA:
3593 .LVL222:
3594 .LFB349:
1430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
3595 .loc 1 1430 1 is_stmt 1 view -0
3596 .cfi_startproc
3597 @ args = 0, pretend = 0, frame = 0
3598 @ frame_needed = 0, uses_anonymous_args = 0
1430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
3599 .loc 1 1430 1 is_stmt 0 view .LVU1017
3600 0000 70B5 push {r4, r5, r6, lr}
3601 .LCFI24:
3602 .cfi_def_cfa_offset 16
3603 .cfi_offset 4, -16
3604 .cfi_offset 5, -12
3605 .cfi_offset 6, -8
3606 .cfi_offset 14, -4
3607 0002 0446 mov r4, r0
3608 0004 1646 mov r6, r2
1431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
3609 .loc 1 1431 3 is_stmt 1 view .LVU1018
3610 .LVL223:
1432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3611 .loc 1 1432 3 view .LVU1019
1435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3612 .loc 1 1435 3 view .LVU1020
1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3613 .loc 1 1438 3 view .LVU1021
1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3614 .loc 1 1438 46 is_stmt 0 view .LVU1022
3615 0006 0D46 mov r5, r1
3616 0008 0029 cmp r1, #0
3617 000a 62D1 bne .L307
1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3618 .loc 1 1438 7 discriminator 1 view .LVU1023
3619 000c 90F84400 ldrb r0, [r0, #68] @ zero_extendqisi2
3620 .LVL224:
1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3621 .loc 1 1438 46 discriminator 1 view .LVU1024
3622 0010 0228 cmp r0, #2
3623 0012 14BF ite ne
3624 0014 0020 movne r0, #0
3625 0016 0120 moveq r0, #1
3626 .L308:
ARM GAS /tmp/ccqCLCUn.s page 146
1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3627 .loc 1 1438 6 discriminator 12 view .LVU1025
3628 0018 0028 cmp r0, #0
3629 001a 40F00B81 bne .L327
1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3630 .loc 1 1442 8 is_stmt 1 view .LVU1026
1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3631 .loc 1 1442 51 is_stmt 0 view .LVU1027
3632 001e 002D cmp r5, #0
3633 0020 70D1 bne .L312
1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3634 .loc 1 1442 12 discriminator 1 view .LVU1028
3635 0022 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2
3636 .LVL225:
1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3637 .loc 1 1442 51 discriminator 1 view .LVU1029
3638 0026 012A cmp r2, #1
3639 0028 14BF ite ne
3640 002a 0022 movne r2, #0
3641 002c 0122 moveq r2, #1
3642 .L313:
1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3643 .loc 1 1442 11 discriminator 12 view .LVU1030
3644 002e 002A cmp r2, #0
3645 0030 00F00281 beq .L328
1444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3646 .loc 1 1444 5 is_stmt 1 view .LVU1031
1444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3647 .loc 1 1444 8 is_stmt 0 view .LVU1032
3648 0034 002E cmp r6, #0
3649 0036 00F00181 beq .L329
1444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3650 .loc 1 1444 25 discriminator 1 view .LVU1033
3651 003a 002B cmp r3, #0
3652 003c 00F00081 beq .L330
1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3653 .loc 1 1450 7 is_stmt 1 view .LVU1034
3654 0040 002D cmp r5, #0
3655 0042 78D1 bne .L316
1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3656 .loc 1 1450 7 is_stmt 0 discriminator 1 view .LVU1035
3657 0044 0222 movs r2, #2
3658 0046 84F84420 strb r2, [r4, #68]
1458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3659 .loc 1 1458 3 is_stmt 1 view .LVU1036
3660 .L317:
1463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
3661 .loc 1 1463 7 view .LVU1037
1463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
3662 .loc 1 1463 17 is_stmt 0 view .LVU1038
3663 004a 626A ldr r2, [r4, #36]
1463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
3664 .loc 1 1463 52 view .LVU1039
3665 004c 8449 ldr r1, .L348
3666 .LVL226:
1463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
3667 .loc 1 1463 52 view .LVU1040
ARM GAS /tmp/ccqCLCUn.s page 147
3668 004e D162 str r1, [r2, #44]
1464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3669 .loc 1 1464 7 is_stmt 1 view .LVU1041
1464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3670 .loc 1 1464 17 is_stmt 0 view .LVU1042
3671 0050 626A ldr r2, [r4, #36]
1464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3672 .loc 1 1464 56 view .LVU1043
3673 0052 8449 ldr r1, .L348+4
3674 0054 1163 str r1, [r2, #48]
1467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3675 .loc 1 1467 7 is_stmt 1 view .LVU1044
1467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3676 .loc 1 1467 17 is_stmt 0 view .LVU1045
3677 0056 626A ldr r2, [r4, #36]
1467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3678 .loc 1 1467 53 view .LVU1046
3679 0058 8349 ldr r1, .L348+8
3680 005a 5163 str r1, [r2, #52]
1470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
3681 .loc 1 1470 7 is_stmt 1 view .LVU1047
1470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
3682 .loc 1 1470 88 is_stmt 0 view .LVU1048
3683 005c 2268 ldr r2, [r4]
1470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
3684 .loc 1 1470 11 view .LVU1049
3685 005e 3432 adds r2, r2, #52
3686 0060 3146 mov r1, r6
3687 0062 606A ldr r0, [r4, #36]
3688 0064 FFF7FEFF bl HAL_DMA_Start_IT
3689 .LVL227:
1470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
3690 .loc 1 1470 10 discriminator 1 view .LVU1050
3691 0068 0028 cmp r0, #0
3692 006a 40F0ED80 bne .L332
1477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
3693 .loc 1 1477 7 is_stmt 1 view .LVU1051
3694 006e 2268 ldr r2, [r4]
3695 0070 D368 ldr r3, [r2, #12]
3696 0072 43F40073 orr r3, r3, #512
3697 0076 D360 str r3, [r2, #12]
1478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3698 .loc 1 1478 7 view .LVU1052
1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3699 .loc 1 1549 3 view .LVU1053
3700 .L324:
1552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3701 .loc 1 1552 5 view .LVU1054
3702 0078 0422 movs r2, #4
3703 007a 2946 mov r1, r5
3704 007c 2068 ldr r0, [r4]
3705 007e FFF7FEFF bl TIM_CCxNChannelCmd
3706 .LVL228:
1555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3707 .loc 1 1555 5 view .LVU1055
3708 0082 2268 ldr r2, [r4]
3709 0084 536C ldr r3, [r2, #68]
ARM GAS /tmp/ccqCLCUn.s page 148
3710 0086 43F40043 orr r3, r3, #32768
3711 008a 5364 str r3, [r2, #68]
1558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3712 .loc 1 1558 5 view .LVU1056
1558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3713 .loc 1 1558 9 is_stmt 0 view .LVU1057
3714 008c 2368 ldr r3, [r4]
1558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3715 .loc 1 1558 8 view .LVU1058
3716 008e 774A ldr r2, .L348+12
3717 0090 9342 cmp r3, r2
3718 0092 00F0C180 beq .L325
1558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3719 .loc 1 1558 9 discriminator 1 view .LVU1059
3720 0096 B3F1804F cmp r3, #1073741824
3721 009a 00F0BD80 beq .L325
1558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3722 .loc 1 1558 9 discriminator 2 view .LVU1060
3723 009e A2F59432 sub r2, r2, #75776
3724 00a2 9342 cmp r3, r2
3725 00a4 00F0B880 beq .L325
1558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3726 .loc 1 1558 9 discriminator 3 view .LVU1061
3727 00a8 02F58062 add r2, r2, #1024
3728 00ac 9342 cmp r3, r2
3729 00ae 00F0B380 beq .L325
1558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3730 .loc 1 1558 9 discriminator 4 view .LVU1062
3731 00b2 02F59632 add r2, r2, #76800
3732 00b6 9342 cmp r3, r2
3733 00b8 00F0AE80 beq .L325
1558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3734 .loc 1 1558 9 discriminator 5 view .LVU1063
3735 00bc 02F54062 add r2, r2, #3072
3736 00c0 9342 cmp r3, r2
3737 00c2 00F0A980 beq .L325
1568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3738 .loc 1 1568 7 is_stmt 1 view .LVU1064
3739 00c6 1A68 ldr r2, [r3]
3740 00c8 42F00102 orr r2, r2, #1
3741 00cc 1A60 str r2, [r3]
3742 00ce 0020 movs r0, #0
3743 00d0 B3E0 b .L311
3744 .LVL229:
3745 .L307:
1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3746 .loc 1 1438 46 is_stmt 0 discriminator 2 view .LVU1065
3747 00d2 0429 cmp r1, #4
3748 00d4 08D0 beq .L342
1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3749 .loc 1 1438 46 discriminator 5 view .LVU1066
3750 00d6 0829 cmp r1, #8
3751 00d8 0DD0 beq .L343
1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3752 .loc 1 1438 7 discriminator 8 view .LVU1067
3753 00da 90F84700 ldrb r0, [r0, #71] @ zero_extendqisi2
3754 .LVL230:
ARM GAS /tmp/ccqCLCUn.s page 149
1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3755 .loc 1 1438 46 discriminator 8 view .LVU1068
3756 00de 0228 cmp r0, #2
3757 00e0 14BF ite ne
3758 00e2 0020 movne r0, #0
3759 00e4 0120 moveq r0, #1
3760 00e6 97E7 b .L308
3761 .LVL231:
3762 .L342:
1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3763 .loc 1 1438 7 discriminator 4 view .LVU1069
3764 00e8 90F84500 ldrb r0, [r0, #69] @ zero_extendqisi2
3765 .LVL232:
1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3766 .loc 1 1438 46 discriminator 4 view .LVU1070
3767 00ec 0228 cmp r0, #2
3768 00ee 14BF ite ne
3769 00f0 0020 movne r0, #0
3770 00f2 0120 moveq r0, #1
3771 00f4 90E7 b .L308
3772 .LVL233:
3773 .L343:
1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3774 .loc 1 1438 7 discriminator 7 view .LVU1071
3775 00f6 90F84600 ldrb r0, [r0, #70] @ zero_extendqisi2
3776 .LVL234:
1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3777 .loc 1 1438 46 discriminator 7 view .LVU1072
3778 00fa 0228 cmp r0, #2
3779 00fc 14BF ite ne
3780 00fe 0020 movne r0, #0
3781 0100 0120 moveq r0, #1
3782 0102 89E7 b .L308
3783 .L312:
1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3784 .loc 1 1442 51 discriminator 2 view .LVU1073
3785 0104 042D cmp r5, #4
3786 0106 08D0 beq .L344
1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3787 .loc 1 1442 51 discriminator 5 view .LVU1074
3788 0108 082D cmp r5, #8
3789 010a 0DD0 beq .L345
1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3790 .loc 1 1442 12 discriminator 8 view .LVU1075
3791 010c 94F84720 ldrb r2, [r4, #71] @ zero_extendqisi2
3792 .LVL235:
1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3793 .loc 1 1442 51 discriminator 8 view .LVU1076
3794 0110 012A cmp r2, #1
3795 0112 14BF ite ne
3796 0114 0022 movne r2, #0
3797 0116 0122 moveq r2, #1
3798 0118 89E7 b .L313
3799 .LVL236:
3800 .L344:
1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3801 .loc 1 1442 12 discriminator 4 view .LVU1077
ARM GAS /tmp/ccqCLCUn.s page 150
3802 011a 94F84520 ldrb r2, [r4, #69] @ zero_extendqisi2
3803 .LVL237:
1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3804 .loc 1 1442 51 discriminator 4 view .LVU1078
3805 011e 012A cmp r2, #1
3806 0120 14BF ite ne
3807 0122 0022 movne r2, #0
3808 0124 0122 moveq r2, #1
3809 0126 82E7 b .L313
3810 .LVL238:
3811 .L345:
1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3812 .loc 1 1442 12 discriminator 7 view .LVU1079
3813 0128 94F84620 ldrb r2, [r4, #70] @ zero_extendqisi2
3814 .LVL239:
1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3815 .loc 1 1442 51 discriminator 7 view .LVU1080
3816 012c 012A cmp r2, #1
3817 012e 14BF ite ne
3818 0130 0022 movne r2, #0
3819 0132 0122 moveq r2, #1
3820 0134 7BE7 b .L313
3821 .L316:
1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3822 .loc 1 1450 7 discriminator 2 view .LVU1081
3823 0136 042D cmp r5, #4
3824 0138 24D0 beq .L346
1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3825 .loc 1 1450 7 discriminator 4 view .LVU1082
3826 013a 082D cmp r5, #8
3827 013c 3CD0 beq .L347
1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3828 .loc 1 1450 7 discriminator 7 view .LVU1083
3829 013e 0222 movs r2, #2
3830 0140 84F84720 strb r2, [r4, #71]
1458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3831 .loc 1 1458 3 is_stmt 1 view .LVU1084
3832 0144 0C2D cmp r5, #12
3833 0146 7DD8 bhi .L331
3834 0148 01A2 adr r2, .L323
3835 014a 52F825F0 ldr pc, [r2, r5, lsl #2]
3836 014e 00BF .p2align 2
3837 .L323:
3838 0150 4B000000 .word .L317+1
3839 0154 45020000 .word .L331+1
3840 0158 45020000 .word .L331+1
3841 015c 45020000 .word .L331+1
3842 0160 8B010000 .word .L319+1
3843 0164 45020000 .word .L331+1
3844 0168 45020000 .word .L331+1
3845 016c 45020000 .word .L331+1
3846 0170 BF010000 .word .L321+1
3847 0174 45020000 .word .L331+1
3848 0178 45020000 .word .L331+1
3849 017c 45020000 .word .L331+1
3850 0180 ED010000 .word .L322+1
3851 .p2align 1
ARM GAS /tmp/ccqCLCUn.s page 151
3852 .L346:
1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3853 .loc 1 1450 7 is_stmt 0 discriminator 3 view .LVU1085
3854 0184 0222 movs r2, #2
3855 0186 84F84520 strb r2, [r4, #69]
1458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3856 .loc 1 1458 3 is_stmt 1 view .LVU1086
3857 .L319:
1484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
3858 .loc 1 1484 7 view .LVU1087
1484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
3859 .loc 1 1484 17 is_stmt 0 view .LVU1088
3860 018a A26A ldr r2, [r4, #40]
1484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
3861 .loc 1 1484 52 view .LVU1089
3862 018c 3449 ldr r1, .L348
3863 .LVL240:
1484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
3864 .loc 1 1484 52 view .LVU1090
3865 018e D162 str r1, [r2, #44]
1485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3866 .loc 1 1485 7 is_stmt 1 view .LVU1091
1485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3867 .loc 1 1485 17 is_stmt 0 view .LVU1092
3868 0190 A26A ldr r2, [r4, #40]
1485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3869 .loc 1 1485 56 view .LVU1093
3870 0192 3449 ldr r1, .L348+4
3871 0194 1163 str r1, [r2, #48]
1488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3872 .loc 1 1488 7 is_stmt 1 view .LVU1094
1488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3873 .loc 1 1488 17 is_stmt 0 view .LVU1095
3874 0196 A26A ldr r2, [r4, #40]
1488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3875 .loc 1 1488 53 view .LVU1096
3876 0198 3349 ldr r1, .L348+8
3877 019a 5163 str r1, [r2, #52]
1491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
3878 .loc 1 1491 7 is_stmt 1 view .LVU1097
1491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
3879 .loc 1 1491 88 is_stmt 0 view .LVU1098
3880 019c 2268 ldr r2, [r4]
1491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
3881 .loc 1 1491 11 view .LVU1099
3882 019e 3832 adds r2, r2, #56
3883 01a0 3146 mov r1, r6
3884 01a2 A06A ldr r0, [r4, #40]
3885 01a4 FFF7FEFF bl HAL_DMA_Start_IT
3886 .LVL241:
1491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
3887 .loc 1 1491 10 discriminator 1 view .LVU1100
3888 01a8 0028 cmp r0, #0
3889 01aa 4FD1 bne .L333
1498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
3890 .loc 1 1498 7 is_stmt 1 view .LVU1101
3891 01ac 2268 ldr r2, [r4]
ARM GAS /tmp/ccqCLCUn.s page 152
3892 01ae D368 ldr r3, [r2, #12]
3893 01b0 43F48063 orr r3, r3, #1024
3894 01b4 D360 str r3, [r2, #12]
1499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3895 .loc 1 1499 7 view .LVU1102
1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3896 .loc 1 1549 3 view .LVU1103
3897 01b6 5FE7 b .L324
3898 .LVL242:
3899 .L347:
1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3900 .loc 1 1450 7 is_stmt 0 discriminator 6 view .LVU1104
3901 01b8 0222 movs r2, #2
3902 01ba 84F84620 strb r2, [r4, #70]
1458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3903 .loc 1 1458 3 is_stmt 1 view .LVU1105
3904 .L321:
1505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
3905 .loc 1 1505 7 view .LVU1106
1505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
3906 .loc 1 1505 17 is_stmt 0 view .LVU1107
3907 01be E26A ldr r2, [r4, #44]
1505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
3908 .loc 1 1505 52 view .LVU1108
3909 01c0 2749 ldr r1, .L348
3910 .LVL243:
1505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
3911 .loc 1 1505 52 view .LVU1109
3912 01c2 D162 str r1, [r2, #44]
1506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3913 .loc 1 1506 7 is_stmt 1 view .LVU1110
1506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3914 .loc 1 1506 17 is_stmt 0 view .LVU1111
3915 01c4 E26A ldr r2, [r4, #44]
1506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3916 .loc 1 1506 56 view .LVU1112
3917 01c6 2749 ldr r1, .L348+4
3918 01c8 1163 str r1, [r2, #48]
1509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3919 .loc 1 1509 7 is_stmt 1 view .LVU1113
1509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3920 .loc 1 1509 17 is_stmt 0 view .LVU1114
3921 01ca E26A ldr r2, [r4, #44]
1509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3922 .loc 1 1509 53 view .LVU1115
3923 01cc 2649 ldr r1, .L348+8
3924 01ce 5163 str r1, [r2, #52]
1512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
3925 .loc 1 1512 7 is_stmt 1 view .LVU1116
1512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
3926 .loc 1 1512 88 is_stmt 0 view .LVU1117
3927 01d0 2268 ldr r2, [r4]
1512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
3928 .loc 1 1512 11 view .LVU1118
3929 01d2 3C32 adds r2, r2, #60
3930 01d4 3146 mov r1, r6
3931 01d6 E06A ldr r0, [r4, #44]
ARM GAS /tmp/ccqCLCUn.s page 153
3932 01d8 FFF7FEFF bl HAL_DMA_Start_IT
3933 .LVL244:
1512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
3934 .loc 1 1512 10 discriminator 1 view .LVU1119
3935 01dc 0028 cmp r0, #0
3936 01de 37D1 bne .L334
1519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
3937 .loc 1 1519 7 is_stmt 1 view .LVU1120
3938 01e0 2268 ldr r2, [r4]
3939 01e2 D368 ldr r3, [r2, #12]
3940 01e4 43F40063 orr r3, r3, #2048
3941 01e8 D360 str r3, [r2, #12]
1520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3942 .loc 1 1520 7 view .LVU1121
1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3943 .loc 1 1549 3 view .LVU1122
3944 01ea 45E7 b .L324
3945 .LVL245:
3946 .L322:
1526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
3947 .loc 1 1526 7 view .LVU1123
1526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
3948 .loc 1 1526 17 is_stmt 0 view .LVU1124
3949 01ec 226B ldr r2, [r4, #48]
1526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
3950 .loc 1 1526 52 view .LVU1125
3951 01ee 1C49 ldr r1, .L348
3952 .LVL246:
1526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
3953 .loc 1 1526 52 view .LVU1126
3954 01f0 D162 str r1, [r2, #44]
1527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3955 .loc 1 1527 7 is_stmt 1 view .LVU1127
1527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3956 .loc 1 1527 17 is_stmt 0 view .LVU1128
3957 01f2 226B ldr r2, [r4, #48]
1527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3958 .loc 1 1527 56 view .LVU1129
3959 01f4 1B49 ldr r1, .L348+4
3960 01f6 1163 str r1, [r2, #48]
1530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3961 .loc 1 1530 7 is_stmt 1 view .LVU1130
1530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3962 .loc 1 1530 17 is_stmt 0 view .LVU1131
3963 01f8 226B ldr r2, [r4, #48]
1530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3964 .loc 1 1530 53 view .LVU1132
3965 01fa 1B49 ldr r1, .L348+8
3966 01fc 5163 str r1, [r2, #52]
1533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
3967 .loc 1 1533 7 is_stmt 1 view .LVU1133
1533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
3968 .loc 1 1533 88 is_stmt 0 view .LVU1134
3969 01fe 2268 ldr r2, [r4]
1533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
3970 .loc 1 1533 11 view .LVU1135
3971 0200 4032 adds r2, r2, #64
ARM GAS /tmp/ccqCLCUn.s page 154
3972 0202 3146 mov r1, r6
3973 0204 206B ldr r0, [r4, #48]
3974 0206 FFF7FEFF bl HAL_DMA_Start_IT
3975 .LVL247:
1533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Length) != HAL_OK)
3976 .loc 1 1533 10 discriminator 1 view .LVU1136
3977 020a 18BB cbnz r0, .L335
1540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
3978 .loc 1 1540 7 is_stmt 1 view .LVU1137
3979 020c 2268 ldr r2, [r4]
3980 020e D368 ldr r3, [r2, #12]
3981 0210 43F48053 orr r3, r3, #4096
3982 0214 D360 str r3, [r2, #12]
1541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3983 .loc 1 1541 7 view .LVU1138
1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3984 .loc 1 1549 3 view .LVU1139
3985 0216 2FE7 b .L324
3986 .L325:
1560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
3987 .loc 1 1560 7 view .LVU1140
1560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
3988 .loc 1 1560 31 is_stmt 0 view .LVU1141
3989 0218 9968 ldr r1, [r3, #8]
1560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
3990 .loc 1 1560 15 view .LVU1142
3991 021a 154A ldr r2, .L348+16
3992 021c 0A40 ands r2, r2, r1
3993 .LVL248:
1561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3994 .loc 1 1561 7 is_stmt 1 view .LVU1143
1561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3995 .loc 1 1561 10 is_stmt 0 view .LVU1144
3996 021e 062A cmp r2, #6
3997 0220 1AD0 beq .L336
1561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3998 .loc 1 1561 11 discriminator 1 view .LVU1145
3999 0222 B2F5803F cmp r2, #65536
4000 0226 19D0 beq .L337
1563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4001 .loc 1 1563 9 is_stmt 1 view .LVU1146
4002 0228 1A68 ldr r2, [r3]
4003 .LVL249:
1563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4004 .loc 1 1563 9 is_stmt 0 view .LVU1147
4005 022a 42F00102 orr r2, r2, #1
4006 022e 1A60 str r2, [r3]
4007 0230 0020 movs r0, #0
4008 0232 02E0 b .L311
4009 .LVL250:
4010 .L327:
1440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4011 .loc 1 1440 12 view .LVU1148
4012 0234 0220 movs r0, #2
4013 0236 00E0 b .L311
4014 .LVL251:
4015 .L328:
ARM GAS /tmp/ccqCLCUn.s page 155
1455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4016 .loc 1 1455 12 view .LVU1149
4017 0238 0120 movs r0, #1
4018 .LVL252:
4019 .L311:
1574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4020 .loc 1 1574 1 view .LVU1150
4021 023a 70BD pop {r4, r5, r6, pc}
4022 .LVL253:
4023 .L329:
1446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4024 .loc 1 1446 14 view .LVU1151
4025 023c 0120 movs r0, #1
4026 023e FCE7 b .L311
4027 .L330:
4028 0240 0120 movs r0, #1
4029 0242 FAE7 b .L311
4030 .L331:
1458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4031 .loc 1 1458 3 view .LVU1152
4032 0244 0120 movs r0, #1
4033 0246 F8E7 b .L311
4034 .LVL254:
4035 .L332:
1474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4036 .loc 1 1474 16 view .LVU1153
4037 0248 0120 movs r0, #1
4038 024a F6E7 b .L311
4039 .L333:
1495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4040 .loc 1 1495 16 view .LVU1154
4041 024c 0120 movs r0, #1
4042 024e F4E7 b .L311
4043 .L334:
1516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4044 .loc 1 1516 16 view .LVU1155
4045 0250 0120 movs r0, #1
4046 0252 F2E7 b .L311
4047 .L335:
1537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4048 .loc 1 1537 16 view .LVU1156
4049 0254 0120 movs r0, #1
4050 0256 F0E7 b .L311
4051 .LVL255:
4052 .L336:
1537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4053 .loc 1 1537 16 view .LVU1157
4054 0258 0020 movs r0, #0
4055 025a EEE7 b .L311
4056 .L337:
4057 025c 0020 movs r0, #0
4058 025e ECE7 b .L311
4059 .L349:
4060 .align 2
4061 .L348:
4062 0260 00000000 .word TIM_DMADelayPulseNCplt
4063 0264 00000000 .word TIM_DMADelayPulseHalfCplt
ARM GAS /tmp/ccqCLCUn.s page 156
4064 0268 00000000 .word TIM_DMAErrorCCxN
4065 026c 002C0140 .word 1073818624
4066 0270 07000100 .word 65543
4067 .cfi_endproc
4068 .LFE349:
4070 .section .text.HAL_TIMEx_PWMN_Stop_DMA,"ax",%progbits
4071 .align 1
4072 .global HAL_TIMEx_PWMN_Stop_DMA
4073 .syntax unified
4074 .thumb
4075 .thumb_func
4077 HAL_TIMEx_PWMN_Stop_DMA:
4078 .LVL256:
4079 .LFB350:
1589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
4080 .loc 1 1589 1 is_stmt 1 view -0
4081 .cfi_startproc
4082 @ args = 0, pretend = 0, frame = 0
4083 @ frame_needed = 0, uses_anonymous_args = 0
1589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
4084 .loc 1 1589 1 is_stmt 0 view .LVU1159
4085 0000 38B5 push {r3, r4, r5, lr}
4086 .LCFI25:
4087 .cfi_def_cfa_offset 16
4088 .cfi_offset 3, -16
4089 .cfi_offset 4, -12
4090 .cfi_offset 5, -8
4091 .cfi_offset 14, -4
4092 0002 0546 mov r5, r0
4093 0004 0C46 mov r4, r1
1590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4094 .loc 1 1590 3 is_stmt 1 view .LVU1160
4095 .LVL257:
1593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4096 .loc 1 1593 3 view .LVU1161
1595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4097 .loc 1 1595 3 view .LVU1162
4098 0006 0C29 cmp r1, #12
4099 0008 67D8 bhi .L363
4100 000a DFE801F0 tbb [pc, r1]
4101 .L353:
4102 000e 07 .byte (.L356-.L353)/2
4103 000f 66 .byte (.L363-.L353)/2
4104 0010 66 .byte (.L363-.L353)/2
4105 0011 66 .byte (.L363-.L353)/2
4106 0012 38 .byte (.L355-.L353)/2
4107 0013 66 .byte (.L363-.L353)/2
4108 0014 66 .byte (.L363-.L353)/2
4109 0015 66 .byte (.L363-.L353)/2
4110 0016 41 .byte (.L354-.L353)/2
4111 0017 66 .byte (.L363-.L353)/2
4112 0018 66 .byte (.L363-.L353)/2
4113 0019 66 .byte (.L363-.L353)/2
4114 001a 4A .byte (.L352-.L353)/2
4115 001b 00 .p2align 1
4116 .L356:
1600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
ARM GAS /tmp/ccqCLCUn.s page 157
4117 .loc 1 1600 7 view .LVU1163
4118 001c 0268 ldr r2, [r0]
4119 001e D368 ldr r3, [r2, #12]
4120 0020 23F40073 bic r3, r3, #512
4121 0024 D360 str r3, [r2, #12]
1601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
4122 .loc 1 1601 7 view .LVU1164
1601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
4123 .loc 1 1601 13 is_stmt 0 view .LVU1165
4124 0026 406A ldr r0, [r0, #36]
4125 .LVL258:
1601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
4126 .loc 1 1601 13 view .LVU1166
4127 0028 FFF7FEFF bl HAL_DMA_Abort_IT
4128 .LVL259:
1602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4129 .loc 1 1602 7 is_stmt 1 view .LVU1167
1634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4130 .loc 1 1634 3 view .LVU1168
4131 .L357:
1637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4132 .loc 1 1637 5 view .LVU1169
4133 002c 0022 movs r2, #0
4134 002e 2146 mov r1, r4
4135 0030 2868 ldr r0, [r5]
4136 0032 FFF7FEFF bl TIM_CCxNChannelCmd
4137 .LVL260:
1640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4138 .loc 1 1640 5 view .LVU1170
1640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4139 .loc 1 1640 5 view .LVU1171
4140 0036 2B68 ldr r3, [r5]
4141 0038 196A ldr r1, [r3, #32]
4142 003a 41F21112 movw r2, #4369
4143 003e 1142 tst r1, r2
4144 0040 08D1 bne .L358
1640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4145 .loc 1 1640 5 discriminator 1 view .LVU1172
4146 0042 196A ldr r1, [r3, #32]
4147 0044 44F24442 movw r2, #17476
4148 0048 1142 tst r1, r2
4149 004a 03D1 bne .L358
1640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4150 .loc 1 1640 5 discriminator 3 view .LVU1173
4151 004c 5A6C ldr r2, [r3, #68]
4152 004e 22F40042 bic r2, r2, #32768
4153 0052 5A64 str r2, [r3, #68]
4154 .L358:
1640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4155 .loc 1 1640 5 discriminator 5 view .LVU1174
1643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4156 .loc 1 1643 5 view .LVU1175
1643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4157 .loc 1 1643 5 view .LVU1176
4158 0054 2B68 ldr r3, [r5]
4159 0056 196A ldr r1, [r3, #32]
4160 0058 41F21112 movw r2, #4369
ARM GAS /tmp/ccqCLCUn.s page 158
4161 005c 1142 tst r1, r2
4162 005e 08D1 bne .L359
1643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4163 .loc 1 1643 5 discriminator 1 view .LVU1177
4164 0060 196A ldr r1, [r3, #32]
4165 0062 44F24442 movw r2, #17476
4166 0066 1142 tst r1, r2
4167 0068 03D1 bne .L359
1643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4168 .loc 1 1643 5 discriminator 3 view .LVU1178
4169 006a 1A68 ldr r2, [r3]
4170 006c 22F00102 bic r2, r2, #1
4171 0070 1A60 str r2, [r3]
4172 .L359:
1643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4173 .loc 1 1643 5 discriminator 5 view .LVU1179
1646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4174 .loc 1 1646 5 view .LVU1180
4175 0072 FCB9 cbnz r4, .L360
1646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4176 .loc 1 1646 5 is_stmt 0 discriminator 1 view .LVU1181
4177 0074 0123 movs r3, #1
4178 0076 85F84430 strb r3, [r5, #68]
4179 007a 0020 movs r0, #0
4180 007c 2EE0 b .L351
4181 .LVL261:
4182 .L355:
1608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]);
4183 .loc 1 1608 7 is_stmt 1 view .LVU1182
4184 007e 0268 ldr r2, [r0]
4185 0080 D368 ldr r3, [r2, #12]
4186 0082 23F48063 bic r3, r3, #1024
4187 0086 D360 str r3, [r2, #12]
1609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
4188 .loc 1 1609 7 view .LVU1183
1609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
4189 .loc 1 1609 13 is_stmt 0 view .LVU1184
4190 0088 806A ldr r0, [r0, #40]
4191 .LVL262:
1609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
4192 .loc 1 1609 13 view .LVU1185
4193 008a FFF7FEFF bl HAL_DMA_Abort_IT
4194 .LVL263:
1610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4195 .loc 1 1610 7 is_stmt 1 view .LVU1186
1634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4196 .loc 1 1634 3 view .LVU1187
4197 008e CDE7 b .L357
4198 .LVL264:
4199 .L354:
1616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]);
4200 .loc 1 1616 7 view .LVU1188
4201 0090 0268 ldr r2, [r0]
4202 0092 D368 ldr r3, [r2, #12]
4203 0094 23F40063 bic r3, r3, #2048
4204 0098 D360 str r3, [r2, #12]
1617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
ARM GAS /tmp/ccqCLCUn.s page 159
4205 .loc 1 1617 7 view .LVU1189
1617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
4206 .loc 1 1617 13 is_stmt 0 view .LVU1190
4207 009a C06A ldr r0, [r0, #44]
4208 .LVL265:
1617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
4209 .loc 1 1617 13 view .LVU1191
4210 009c FFF7FEFF bl HAL_DMA_Abort_IT
4211 .LVL266:
1618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4212 .loc 1 1618 7 is_stmt 1 view .LVU1192
1634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4213 .loc 1 1634 3 view .LVU1193
4214 00a0 C4E7 b .L357
4215 .LVL267:
4216 .L352:
1624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]);
4217 .loc 1 1624 7 view .LVU1194
4218 00a2 0268 ldr r2, [r0]
4219 00a4 D368 ldr r3, [r2, #12]
4220 00a6 23F48053 bic r3, r3, #4096
4221 00aa D360 str r3, [r2, #12]
1625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
4222 .loc 1 1625 7 view .LVU1195
1625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
4223 .loc 1 1625 13 is_stmt 0 view .LVU1196
4224 00ac 006B ldr r0, [r0, #48]
4225 .LVL268:
1625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
4226 .loc 1 1625 13 view .LVU1197
4227 00ae FFF7FEFF bl HAL_DMA_Abort_IT
4228 .LVL269:
1626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4229 .loc 1 1626 7 is_stmt 1 view .LVU1198
1634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4230 .loc 1 1634 3 view .LVU1199
4231 00b2 BBE7 b .L357
4232 .L360:
1646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4233 .loc 1 1646 5 is_stmt 0 discriminator 2 view .LVU1200
4234 00b4 042C cmp r4, #4
4235 00b6 06D0 beq .L365
1646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4236 .loc 1 1646 5 discriminator 4 view .LVU1201
4237 00b8 082C cmp r4, #8
4238 00ba 09D0 beq .L366
1646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4239 .loc 1 1646 5 discriminator 7 view .LVU1202
4240 00bc 0123 movs r3, #1
4241 00be 85F84730 strb r3, [r5, #71]
4242 00c2 0020 movs r0, #0
4243 00c4 0AE0 b .L351
4244 .L365:
1646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4245 .loc 1 1646 5 discriminator 3 view .LVU1203
4246 00c6 0123 movs r3, #1
4247 00c8 85F84530 strb r3, [r5, #69]
ARM GAS /tmp/ccqCLCUn.s page 160
4248 00cc 0020 movs r0, #0
4249 00ce 05E0 b .L351
4250 .L366:
1646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4251 .loc 1 1646 5 discriminator 6 view .LVU1204
4252 00d0 0123 movs r3, #1
4253 00d2 85F84630 strb r3, [r5, #70]
4254 00d6 0020 movs r0, #0
4255 00d8 00E0 b .L351
4256 .LVL270:
4257 .L363:
1595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4258 .loc 1 1595 3 view .LVU1205
4259 00da 0120 movs r0, #1
4260 .LVL271:
4261 .L351:
1650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4262 .loc 1 1650 3 is_stmt 1 view .LVU1206
1651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4263 .loc 1 1651 1 is_stmt 0 view .LVU1207
4264 00dc 38BD pop {r3, r4, r5, pc}
1651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4265 .loc 1 1651 1 view .LVU1208
4266 .cfi_endproc
4267 .LFE350:
4269 .section .text.HAL_TIMEx_OnePulseN_Start,"ax",%progbits
4270 .align 1
4271 .global HAL_TIMEx_OnePulseN_Start
4272 .syntax unified
4273 .thumb
4274 .thumb_func
4276 HAL_TIMEx_OnePulseN_Start:
4277 .LVL272:
4278 .LFB351:
1688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
4279 .loc 1 1688 1 is_stmt 1 view -0
4280 .cfi_startproc
4281 @ args = 0, pretend = 0, frame = 0
4282 @ frame_needed = 0, uses_anonymous_args = 0
1688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
4283 .loc 1 1688 1 is_stmt 0 view .LVU1210
4284 0000 70B5 push {r4, r5, r6, lr}
4285 .LCFI26:
4286 .cfi_def_cfa_offset 16
4287 .cfi_offset 4, -16
4288 .cfi_offset 5, -12
4289 .cfi_offset 6, -8
4290 .cfi_offset 14, -4
4291 0002 0446 mov r4, r0
1689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
4292 .loc 1 1689 3 is_stmt 1 view .LVU1211
1689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
4293 .loc 1 1689 77 is_stmt 0 view .LVU1212
4294 0004 0E46 mov r6, r1
4295 0006 D1B9 cbnz r1, .L370
1689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
4296 .loc 1 1689 77 discriminator 1 view .LVU1213
ARM GAS /tmp/ccqCLCUn.s page 161
4297 0008 0425 movs r5, #4
4298 .L368:
4299 .LVL273:
1690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
4300 .loc 1 1690 3 is_stmt 1 view .LVU1214
1690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
4301 .loc 1 1690 31 is_stmt 0 view .LVU1215
4302 000a 94F83EE0 ldrb lr, [r4, #62] @ zero_extendqisi2
4303 000e 5FFA8EF0 uxtb r0, lr
4304 .LVL274:
1691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
4305 .loc 1 1691 3 is_stmt 1 view .LVU1216
1691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
4306 .loc 1 1691 31 is_stmt 0 view .LVU1217
4307 0012 94F83F30 ldrb r3, [r4, #63] @ zero_extendqisi2
4308 0016 DBB2 uxtb r3, r3
4309 .LVL275:
1692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
4310 .loc 1 1692 3 is_stmt 1 view .LVU1218
1692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
4311 .loc 1 1692 31 is_stmt 0 view .LVU1219
4312 0018 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2
4313 001c D2B2 uxtb r2, r2
4314 .LVL276:
1693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4315 .loc 1 1693 3 is_stmt 1 view .LVU1220
1693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4316 .loc 1 1693 31 is_stmt 0 view .LVU1221
4317 001e 94F845C0 ldrb ip, [r4, #69] @ zero_extendqisi2
4318 0022 5FFA8CFC uxtb ip, ip
4319 .LVL277:
1696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4320 .loc 1 1696 3 is_stmt 1 view .LVU1222
1699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
4321 .loc 1 1699 3 view .LVU1223
1699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
4322 .loc 1 1699 6 is_stmt 0 view .LVU1224
4323 0026 BEF1010F cmp lr, #1
4324 002a 24D1 bne .L371
1700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
4325 .loc 1 1700 7 view .LVU1225
4326 002c 012B cmp r3, #1
4327 002e 23D1 bne .L369
1701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
4328 .loc 1 1701 7 view .LVU1226
4329 0030 012A cmp r2, #1
4330 0032 22D1 bne .L372
1702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4331 .loc 1 1702 7 view .LVU1227
4332 0034 BCF1010F cmp ip, #1
4333 0038 03D0 beq .L375
1704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4334 .loc 1 1704 12 view .LVU1228
4335 003a 1046 mov r0, r2
4336 .LVL278:
1704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4337 .loc 1 1704 12 view .LVU1229
ARM GAS /tmp/ccqCLCUn.s page 162
4338 003c 1CE0 b .L369
4339 .LVL279:
4340 .L370:
1689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
4341 .loc 1 1689 77 discriminator 2 view .LVU1230
4342 003e 0025 movs r5, #0
4343 0040 E3E7 b .L368
4344 .LVL280:
4345 .L375:
1708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
4346 .loc 1 1708 3 is_stmt 1 view .LVU1231
4347 0042 0223 movs r3, #2
4348 .LVL281:
1708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
4349 .loc 1 1708 3 is_stmt 0 view .LVU1232
4350 0044 84F83E30 strb r3, [r4, #62]
1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
4351 .loc 1 1709 3 is_stmt 1 view .LVU1233
4352 0048 84F83F30 strb r3, [r4, #63]
1710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
4353 .loc 1 1710 3 view .LVU1234
4354 004c 84F84430 strb r3, [r4, #68]
1711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4355 .loc 1 1711 3 view .LVU1235
4356 0050 84F84530 strb r3, [r4, #69]
1714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE);
4357 .loc 1 1714 3 view .LVU1236
4358 0054 0422 movs r2, #4
4359 .LVL282:
1714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE);
4360 .loc 1 1714 3 is_stmt 0 view .LVU1237
4361 0056 3146 mov r1, r6
4362 .LVL283:
1714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE);
4363 .loc 1 1714 3 view .LVU1238
4364 0058 2068 ldr r0, [r4]
4365 .LVL284:
1714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE);
4366 .loc 1 1714 3 view .LVU1239
4367 005a FFF7FEFF bl TIM_CCxNChannelCmd
4368 .LVL285:
1715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4369 .loc 1 1715 3 is_stmt 1 view .LVU1240
4370 005e 0122 movs r2, #1
4371 0060 2946 mov r1, r5
4372 0062 2068 ldr r0, [r4]
4373 0064 FFF7FEFF bl TIM_CCxChannelCmd
4374 .LVL286:
1718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4375 .loc 1 1718 3 view .LVU1241
4376 0068 2268 ldr r2, [r4]
4377 006a 536C ldr r3, [r2, #68]
4378 006c 43F40043 orr r3, r3, #32768
4379 0070 5364 str r3, [r2, #68]
1721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4380 .loc 1 1721 3 view .LVU1242
1721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
ARM GAS /tmp/ccqCLCUn.s page 163
4381 .loc 1 1721 10 is_stmt 0 view .LVU1243
4382 0072 0020 movs r0, #0
4383 0074 00E0 b .L369
4384 .LVL287:
4385 .L371:
1704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4386 .loc 1 1704 12 view .LVU1244
4387 0076 0120 movs r0, #1
4388 .LVL288:
4389 .L369:
1722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4390 .loc 1 1722 1 view .LVU1245
4391 0078 70BD pop {r4, r5, r6, pc}
4392 .LVL289:
4393 .L372:
1704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4394 .loc 1 1704 12 view .LVU1246
4395 007a 1846 mov r0, r3
4396 .LVL290:
1704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4397 .loc 1 1704 12 view .LVU1247
4398 007c FCE7 b .L369
4399 .cfi_endproc
4400 .LFE351:
4402 .section .text.HAL_TIMEx_OnePulseN_Stop,"ax",%progbits
4403 .align 1
4404 .global HAL_TIMEx_OnePulseN_Stop
4405 .syntax unified
4406 .thumb
4407 .thumb_func
4409 HAL_TIMEx_OnePulseN_Stop:
4410 .LVL291:
4411 .LFB352:
1737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
4412 .loc 1 1737 1 is_stmt 1 view -0
4413 .cfi_startproc
4414 @ args = 0, pretend = 0, frame = 0
4415 @ frame_needed = 0, uses_anonymous_args = 0
1737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
4416 .loc 1 1737 1 is_stmt 0 view .LVU1249
4417 0000 38B5 push {r3, r4, r5, lr}
4418 .LCFI27:
4419 .cfi_def_cfa_offset 16
4420 .cfi_offset 3, -16
4421 .cfi_offset 4, -12
4422 .cfi_offset 5, -8
4423 .cfi_offset 14, -4
4424 0002 0446 mov r4, r0
1738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4425 .loc 1 1738 3 is_stmt 1 view .LVU1250
1738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4426 .loc 1 1738 77 is_stmt 0 view .LVU1251
4427 0004 0029 cmp r1, #0
4428 0006 32D1 bne .L380
1738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4429 .loc 1 1738 77 discriminator 1 view .LVU1252
4430 0008 0425 movs r5, #4
ARM GAS /tmp/ccqCLCUn.s page 164
4431 .L377:
4432 .LVL292:
1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4433 .loc 1 1741 3 is_stmt 1 view .LVU1253
1744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_DISABLE);
4434 .loc 1 1744 3 view .LVU1254
4435 000a 0022 movs r2, #0
4436 000c 2068 ldr r0, [r4]
4437 .LVL293:
1744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_DISABLE);
4438 .loc 1 1744 3 is_stmt 0 view .LVU1255
4439 000e FFF7FEFF bl TIM_CCxNChannelCmd
4440 .LVL294:
1745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4441 .loc 1 1745 3 is_stmt 1 view .LVU1256
4442 0012 0022 movs r2, #0
4443 0014 2946 mov r1, r5
4444 0016 2068 ldr r0, [r4]
4445 0018 FFF7FEFF bl TIM_CCxChannelCmd
4446 .LVL295:
1748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4447 .loc 1 1748 3 view .LVU1257
1748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4448 .loc 1 1748 3 view .LVU1258
4449 001c 2368 ldr r3, [r4]
4450 001e 196A ldr r1, [r3, #32]
4451 0020 41F21112 movw r2, #4369
4452 0024 1142 tst r1, r2
4453 0026 08D1 bne .L378
1748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4454 .loc 1 1748 3 discriminator 1 view .LVU1259
4455 0028 196A ldr r1, [r3, #32]
4456 002a 44F24442 movw r2, #17476
4457 002e 1142 tst r1, r2
4458 0030 03D1 bne .L378
1748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4459 .loc 1 1748 3 discriminator 3 view .LVU1260
4460 0032 5A6C ldr r2, [r3, #68]
4461 0034 22F40042 bic r2, r2, #32768
4462 0038 5A64 str r2, [r3, #68]
4463 .L378:
1748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4464 .loc 1 1748 3 discriminator 5 view .LVU1261
1751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4465 .loc 1 1751 3 view .LVU1262
1751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4466 .loc 1 1751 3 view .LVU1263
4467 003a 2368 ldr r3, [r4]
4468 003c 196A ldr r1, [r3, #32]
4469 003e 41F21112 movw r2, #4369
4470 0042 1142 tst r1, r2
4471 0044 08D1 bne .L379
1751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4472 .loc 1 1751 3 discriminator 1 view .LVU1264
4473 0046 196A ldr r1, [r3, #32]
4474 0048 44F24442 movw r2, #17476
4475 004c 1142 tst r1, r2
ARM GAS /tmp/ccqCLCUn.s page 165
4476 004e 03D1 bne .L379
1751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4477 .loc 1 1751 3 discriminator 3 view .LVU1265
4478 0050 1A68 ldr r2, [r3]
4479 0052 22F00102 bic r2, r2, #1
4480 0056 1A60 str r2, [r3]
4481 .L379:
1751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4482 .loc 1 1751 3 discriminator 5 view .LVU1266
1754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
4483 .loc 1 1754 3 view .LVU1267
4484 0058 0123 movs r3, #1
4485 005a 84F83E30 strb r3, [r4, #62]
1755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
4486 .loc 1 1755 3 view .LVU1268
4487 005e 84F83F30 strb r3, [r4, #63]
1756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
4488 .loc 1 1756 3 view .LVU1269
4489 0062 84F84430 strb r3, [r4, #68]
1757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4490 .loc 1 1757 3 view .LVU1270
4491 0066 84F84530 strb r3, [r4, #69]
1760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4492 .loc 1 1760 3 view .LVU1271
1761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4493 .loc 1 1761 1 is_stmt 0 view .LVU1272
4494 006a 0020 movs r0, #0
4495 006c 38BD pop {r3, r4, r5, pc}
4496 .LVL296:
4497 .L380:
1738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4498 .loc 1 1738 77 discriminator 2 view .LVU1273
4499 006e 0025 movs r5, #0
4500 0070 CBE7 b .L377
4501 .cfi_endproc
4502 .LFE352:
4504 .section .text.HAL_TIMEx_OnePulseN_Start_IT,"ax",%progbits
4505 .align 1
4506 .global HAL_TIMEx_OnePulseN_Start_IT
4507 .syntax unified
4508 .thumb
4509 .thumb_func
4511 HAL_TIMEx_OnePulseN_Start_IT:
4512 .LVL297:
4513 .LFB353:
1776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
4514 .loc 1 1776 1 is_stmt 1 view -0
4515 .cfi_startproc
4516 @ args = 0, pretend = 0, frame = 0
4517 @ frame_needed = 0, uses_anonymous_args = 0
1776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
4518 .loc 1 1776 1 is_stmt 0 view .LVU1275
4519 0000 70B5 push {r4, r5, r6, lr}
4520 .LCFI28:
4521 .cfi_def_cfa_offset 16
4522 .cfi_offset 4, -16
4523 .cfi_offset 5, -12
ARM GAS /tmp/ccqCLCUn.s page 166
4524 .cfi_offset 6, -8
4525 .cfi_offset 14, -4
4526 0002 0446 mov r4, r0
1777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
4527 .loc 1 1777 3 is_stmt 1 view .LVU1276
1777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
4528 .loc 1 1777 77 is_stmt 0 view .LVU1277
4529 0004 0E46 mov r6, r1
4530 0006 D1B9 cbnz r1, .L385
1777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
4531 .loc 1 1777 77 discriminator 1 view .LVU1278
4532 0008 0425 movs r5, #4
4533 .L383:
4534 .LVL298:
1778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
4535 .loc 1 1778 3 is_stmt 1 view .LVU1279
1778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
4536 .loc 1 1778 31 is_stmt 0 view .LVU1280
4537 000a 94F83EE0 ldrb lr, [r4, #62] @ zero_extendqisi2
4538 000e 5FFA8EF0 uxtb r0, lr
4539 .LVL299:
1779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
4540 .loc 1 1779 3 is_stmt 1 view .LVU1281
1779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
4541 .loc 1 1779 31 is_stmt 0 view .LVU1282
4542 0012 94F83F30 ldrb r3, [r4, #63] @ zero_extendqisi2
4543 0016 DBB2 uxtb r3, r3
4544 .LVL300:
1780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
4545 .loc 1 1780 3 is_stmt 1 view .LVU1283
1780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
4546 .loc 1 1780 31 is_stmt 0 view .LVU1284
4547 0018 94F84420 ldrb r2, [r4, #68] @ zero_extendqisi2
4548 001c D2B2 uxtb r2, r2
4549 .LVL301:
1781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4550 .loc 1 1781 3 is_stmt 1 view .LVU1285
1781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4551 .loc 1 1781 31 is_stmt 0 view .LVU1286
4552 001e 94F845C0 ldrb ip, [r4, #69] @ zero_extendqisi2
4553 0022 5FFA8CFC uxtb ip, ip
4554 .LVL302:
1784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4555 .loc 1 1784 3 is_stmt 1 view .LVU1287
1787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
4556 .loc 1 1787 3 view .LVU1288
1787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
4557 .loc 1 1787 6 is_stmt 0 view .LVU1289
4558 0026 BEF1010F cmp lr, #1
4559 002a 2ED1 bne .L386
1788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
4560 .loc 1 1788 7 view .LVU1290
4561 002c 012B cmp r3, #1
4562 002e 2DD1 bne .L384
1789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
4563 .loc 1 1789 7 view .LVU1291
4564 0030 012A cmp r2, #1
ARM GAS /tmp/ccqCLCUn.s page 167
4565 0032 2CD1 bne .L387
1790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4566 .loc 1 1790 7 view .LVU1292
4567 0034 BCF1010F cmp ip, #1
4568 0038 03D0 beq .L390
1792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4569 .loc 1 1792 12 view .LVU1293
4570 003a 1046 mov r0, r2
4571 .LVL303:
1792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4572 .loc 1 1792 12 view .LVU1294
4573 003c 26E0 b .L384
4574 .LVL304:
4575 .L385:
1777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
4576 .loc 1 1777 77 discriminator 2 view .LVU1295
4577 003e 0025 movs r5, #0
4578 0040 E3E7 b .L383
4579 .LVL305:
4580 .L390:
1796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
4581 .loc 1 1796 3 is_stmt 1 view .LVU1296
4582 0042 0223 movs r3, #2
4583 .LVL306:
1796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
4584 .loc 1 1796 3 is_stmt 0 view .LVU1297
4585 0044 84F83E30 strb r3, [r4, #62]
1797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
4586 .loc 1 1797 3 is_stmt 1 view .LVU1298
4587 0048 84F83F30 strb r3, [r4, #63]
1798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
4588 .loc 1 1798 3 view .LVU1299
4589 004c 84F84430 strb r3, [r4, #68]
1799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4590 .loc 1 1799 3 view .LVU1300
4591 0050 84F84530 strb r3, [r4, #69]
1802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4592 .loc 1 1802 3 view .LVU1301
4593 0054 2268 ldr r2, [r4]
4594 .LVL307:
1802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4595 .loc 1 1802 3 is_stmt 0 view .LVU1302
4596 0056 D368 ldr r3, [r2, #12]
4597 0058 43F00203 orr r3, r3, #2
4598 005c D360 str r3, [r2, #12]
1805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4599 .loc 1 1805 3 is_stmt 1 view .LVU1303
4600 005e 2268 ldr r2, [r4]
4601 0060 D368 ldr r3, [r2, #12]
4602 0062 43F00403 orr r3, r3, #4
4603 0066 D360 str r3, [r2, #12]
1808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE);
4604 .loc 1 1808 3 view .LVU1304
4605 0068 0422 movs r2, #4
4606 006a 3146 mov r1, r6
4607 .LVL308:
1808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE);
ARM GAS /tmp/ccqCLCUn.s page 168
4608 .loc 1 1808 3 is_stmt 0 view .LVU1305
4609 006c 2068 ldr r0, [r4]
4610 .LVL309:
1808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE);
4611 .loc 1 1808 3 view .LVU1306
4612 006e FFF7FEFF bl TIM_CCxNChannelCmd
4613 .LVL310:
1809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4614 .loc 1 1809 3 is_stmt 1 view .LVU1307
4615 0072 0122 movs r2, #1
4616 0074 2946 mov r1, r5
4617 0076 2068 ldr r0, [r4]
4618 0078 FFF7FEFF bl TIM_CCxChannelCmd
4619 .LVL311:
1812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4620 .loc 1 1812 3 view .LVU1308
4621 007c 2268 ldr r2, [r4]
4622 007e 536C ldr r3, [r2, #68]
4623 0080 43F40043 orr r3, r3, #32768
4624 0084 5364 str r3, [r2, #68]
1815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4625 .loc 1 1815 3 view .LVU1309
1815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4626 .loc 1 1815 10 is_stmt 0 view .LVU1310
4627 0086 0020 movs r0, #0
4628 0088 00E0 b .L384
4629 .LVL312:
4630 .L386:
1792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4631 .loc 1 1792 12 view .LVU1311
4632 008a 0120 movs r0, #1
4633 .LVL313:
4634 .L384:
1816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4635 .loc 1 1816 1 view .LVU1312
4636 008c 70BD pop {r4, r5, r6, pc}
4637 .LVL314:
4638 .L387:
1792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4639 .loc 1 1792 12 view .LVU1313
4640 008e 1846 mov r0, r3
4641 .LVL315:
1792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4642 .loc 1 1792 12 view .LVU1314
4643 0090 FCE7 b .L384
4644 .cfi_endproc
4645 .LFE353:
4647 .section .text.HAL_TIMEx_OnePulseN_Stop_IT,"ax",%progbits
4648 .align 1
4649 .global HAL_TIMEx_OnePulseN_Stop_IT
4650 .syntax unified
4651 .thumb
4652 .thumb_func
4654 HAL_TIMEx_OnePulseN_Stop_IT:
4655 .LVL316:
4656 .LFB354:
1831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
ARM GAS /tmp/ccqCLCUn.s page 169
4657 .loc 1 1831 1 is_stmt 1 view -0
4658 .cfi_startproc
4659 @ args = 0, pretend = 0, frame = 0
4660 @ frame_needed = 0, uses_anonymous_args = 0
1831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
4661 .loc 1 1831 1 is_stmt 0 view .LVU1316
4662 0000 38B5 push {r3, r4, r5, lr}
4663 .LCFI29:
4664 .cfi_def_cfa_offset 16
4665 .cfi_offset 3, -16
4666 .cfi_offset 4, -12
4667 .cfi_offset 5, -8
4668 .cfi_offset 14, -4
4669 0002 0446 mov r4, r0
1832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4670 .loc 1 1832 3 is_stmt 1 view .LVU1317
1832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4671 .loc 1 1832 77 is_stmt 0 view .LVU1318
4672 0004 0029 cmp r1, #0
4673 0006 3CD1 bne .L395
1832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4674 .loc 1 1832 77 discriminator 1 view .LVU1319
4675 0008 0425 movs r5, #4
4676 .L392:
4677 .LVL317:
1835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4678 .loc 1 1835 3 is_stmt 1 view .LVU1320
1838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4679 .loc 1 1838 3 view .LVU1321
4680 000a 2268 ldr r2, [r4]
4681 000c D368 ldr r3, [r2, #12]
4682 000e 23F00203 bic r3, r3, #2
4683 0012 D360 str r3, [r2, #12]
1841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4684 .loc 1 1841 3 view .LVU1322
4685 0014 2268 ldr r2, [r4]
4686 0016 D368 ldr r3, [r2, #12]
4687 0018 23F00403 bic r3, r3, #4
4688 001c D360 str r3, [r2, #12]
1844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_DISABLE);
4689 .loc 1 1844 3 view .LVU1323
4690 001e 0022 movs r2, #0
4691 0020 2068 ldr r0, [r4]
4692 .LVL318:
1844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_DISABLE);
4693 .loc 1 1844 3 is_stmt 0 view .LVU1324
4694 0022 FFF7FEFF bl TIM_CCxNChannelCmd
4695 .LVL319:
1845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4696 .loc 1 1845 3 is_stmt 1 view .LVU1325
4697 0026 0022 movs r2, #0
4698 0028 2946 mov r1, r5
4699 002a 2068 ldr r0, [r4]
4700 002c FFF7FEFF bl TIM_CCxChannelCmd
4701 .LVL320:
1848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4702 .loc 1 1848 3 view .LVU1326
ARM GAS /tmp/ccqCLCUn.s page 170
1848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4703 .loc 1 1848 3 view .LVU1327
4704 0030 2368 ldr r3, [r4]
4705 0032 196A ldr r1, [r3, #32]
4706 0034 41F21112 movw r2, #4369
4707 0038 1142 tst r1, r2
4708 003a 08D1 bne .L393
1848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4709 .loc 1 1848 3 discriminator 1 view .LVU1328
4710 003c 196A ldr r1, [r3, #32]
4711 003e 44F24442 movw r2, #17476
4712 0042 1142 tst r1, r2
4713 0044 03D1 bne .L393
1848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4714 .loc 1 1848 3 discriminator 3 view .LVU1329
4715 0046 5A6C ldr r2, [r3, #68]
4716 0048 22F40042 bic r2, r2, #32768
4717 004c 5A64 str r2, [r3, #68]
4718 .L393:
1848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4719 .loc 1 1848 3 discriminator 5 view .LVU1330
1851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4720 .loc 1 1851 3 view .LVU1331
1851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4721 .loc 1 1851 3 view .LVU1332
4722 004e 2368 ldr r3, [r4]
4723 0050 196A ldr r1, [r3, #32]
4724 0052 41F21112 movw r2, #4369
4725 0056 1142 tst r1, r2
4726 0058 08D1 bne .L394
1851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4727 .loc 1 1851 3 discriminator 1 view .LVU1333
4728 005a 196A ldr r1, [r3, #32]
4729 005c 44F24442 movw r2, #17476
4730 0060 1142 tst r1, r2
4731 0062 03D1 bne .L394
1851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4732 .loc 1 1851 3 discriminator 3 view .LVU1334
4733 0064 1A68 ldr r2, [r3]
4734 0066 22F00102 bic r2, r2, #1
4735 006a 1A60 str r2, [r3]
4736 .L394:
1851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4737 .loc 1 1851 3 discriminator 5 view .LVU1335
1854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
4738 .loc 1 1854 3 view .LVU1336
4739 006c 0123 movs r3, #1
4740 006e 84F83E30 strb r3, [r4, #62]
1855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
4741 .loc 1 1855 3 view .LVU1337
4742 0072 84F83F30 strb r3, [r4, #63]
1856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
4743 .loc 1 1856 3 view .LVU1338
4744 0076 84F84430 strb r3, [r4, #68]
1857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4745 .loc 1 1857 3 view .LVU1339
4746 007a 84F84530 strb r3, [r4, #69]
ARM GAS /tmp/ccqCLCUn.s page 171
1860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4747 .loc 1 1860 3 view .LVU1340
1861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4748 .loc 1 1861 1 is_stmt 0 view .LVU1341
4749 007e 0020 movs r0, #0
4750 0080 38BD pop {r3, r4, r5, pc}
4751 .LVL321:
4752 .L395:
1832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4753 .loc 1 1832 77 discriminator 2 view .LVU1342
4754 0082 0025 movs r5, #0
4755 0084 C1E7 b .L392
4756 .cfi_endproc
4757 .LFE354:
4759 .section .text.HAL_TIMEx_ConfigCommutEvent,"ax",%progbits
4760 .align 1
4761 .global HAL_TIMEx_ConfigCommutEvent
4762 .syntax unified
4763 .thumb
4764 .thumb_func
4766 HAL_TIMEx_ConfigCommutEvent:
4767 .LVL322:
4768 .LFB355:
1926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
4769 .loc 1 1926 1 is_stmt 1 view -0
4770 .cfi_startproc
4771 @ args = 0, pretend = 0, frame = 0
4772 @ frame_needed = 0, uses_anonymous_args = 0
4773 @ link register save eliminated.
1926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
4774 .loc 1 1926 1 is_stmt 0 view .LVU1344
4775 0000 0346 mov r3, r0
1928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_INSTANCE(htim->Instance, InputTrigger));
4776 .loc 1 1928 3 is_stmt 1 view .LVU1345
1929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4777 .loc 1 1929 3 view .LVU1346
1931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4778 .loc 1 1931 3 view .LVU1347
1931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4779 .loc 1 1931 3 view .LVU1348
4780 0002 90F83C00 ldrb r0, [r0, #60] @ zero_extendqisi2
4781 .LVL323:
1931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4782 .loc 1 1931 3 is_stmt 0 view .LVU1349
4783 0006 0128 cmp r0, #1
4784 0008 48D0 beq .L404
1926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
4785 .loc 1 1926 1 view .LVU1350
4786 000a 10B4 push {r4}
4787 .LCFI30:
4788 .cfi_def_cfa_offset 4
4789 .cfi_offset 4, -4
1931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4790 .loc 1 1931 3 is_stmt 1 discriminator 2 view .LVU1351
4791 000c 0120 movs r0, #1
4792 000e 83F83C00 strb r0, [r3, #60]
1931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 172
4793 .loc 1 1931 3 view .LVU1352
1953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
4794 .loc 1 1953 3 view .LVU1353
4795 0012 B1F1101F cmp r1, #1048592
4796 0016 06D0 beq .L399
4797 0018 31D8 bhi .L400
4798 001a 2029 cmp r1, #32
4799 001c 03D0 beq .L399
4800 001e 2BD8 bhi .L401
4801 0020 09B1 cbz r1, .L399
4802 0022 1029 cmp r1, #16
4803 0024 0AD1 bne .L402
4804 .L399:
1961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
4805 .loc 1 1961 5 view .LVU1354
1961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
4806 .loc 1 1961 9 is_stmt 0 view .LVU1355
4807 0026 1C68 ldr r4, [r3]
1961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
4808 .loc 1 1961 19 view .LVU1356
4809 0028 A068 ldr r0, [r4, #8]
1961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
4810 .loc 1 1961 26 view .LVU1357
4811 002a 20F44010 bic r0, r0, #3145728
4812 002e 20F07000 bic r0, r0, #112
4813 0032 A060 str r0, [r4, #8]
1962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4814 .loc 1 1962 5 is_stmt 1 view .LVU1358
1962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4815 .loc 1 1962 9 is_stmt 0 view .LVU1359
4816 0034 1C68 ldr r4, [r3]
1962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4817 .loc 1 1962 19 view .LVU1360
4818 0036 A068 ldr r0, [r4, #8]
1962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4819 .loc 1 1962 26 view .LVU1361
4820 0038 0143 orrs r1, r1, r0
4821 .LVL324:
1962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4822 .loc 1 1962 26 view .LVU1362
4823 003a A160 str r1, [r4, #8]
4824 .L402:
1966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */
4825 .loc 1 1966 3 is_stmt 1 view .LVU1363
1966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */
4826 .loc 1 1966 7 is_stmt 0 view .LVU1364
4827 003c 1868 ldr r0, [r3]
1966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */
4828 .loc 1 1966 17 view .LVU1365
4829 003e 4168 ldr r1, [r0, #4]
1966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */
4830 .loc 1 1966 23 view .LVU1366
4831 0040 41F00101 orr r1, r1, #1
4832 0044 4160 str r1, [r0, #4]
1968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
4833 .loc 1 1968 3 is_stmt 1 view .LVU1367
1968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
ARM GAS /tmp/ccqCLCUn.s page 173
4834 .loc 1 1968 7 is_stmt 0 view .LVU1368
4835 0046 1868 ldr r0, [r3]
1968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
4836 .loc 1 1968 17 view .LVU1369
4837 0048 4168 ldr r1, [r0, #4]
1968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
4838 .loc 1 1968 23 view .LVU1370
4839 004a 21F00401 bic r1, r1, #4
4840 004e 4160 str r1, [r0, #4]
1969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4841 .loc 1 1969 3 is_stmt 1 view .LVU1371
1969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4842 .loc 1 1969 7 is_stmt 0 view .LVU1372
4843 0050 1868 ldr r0, [r3]
1969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4844 .loc 1 1969 17 view .LVU1373
4845 0052 4168 ldr r1, [r0, #4]
1969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4846 .loc 1 1969 23 view .LVU1374
4847 0054 0A43 orrs r2, r2, r1
4848 .LVL325:
1969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4849 .loc 1 1969 23 view .LVU1375
4850 0056 4260 str r2, [r0, #4]
1972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4851 .loc 1 1972 3 is_stmt 1 view .LVU1376
4852 0058 1968 ldr r1, [r3]
4853 005a CA68 ldr r2, [r1, #12]
4854 005c 22F02002 bic r2, r2, #32
4855 0060 CA60 str r2, [r1, #12]
1975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4856 .loc 1 1975 3 view .LVU1377
4857 0062 1968 ldr r1, [r3]
4858 0064 CA68 ldr r2, [r1, #12]
4859 0066 22F40052 bic r2, r2, #8192
4860 006a CA60 str r2, [r1, #12]
1977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4861 .loc 1 1977 3 view .LVU1378
1977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4862 .loc 1 1977 3 view .LVU1379
4863 006c 0020 movs r0, #0
4864 006e 83F83C00 strb r0, [r3, #60]
1977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4865 .loc 1 1977 3 view .LVU1380
1979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4866 .loc 1 1979 3 view .LVU1381
1980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4867 .loc 1 1980 1 is_stmt 0 view .LVU1382
4868 0072 5DF8044B ldr r4, [sp], #4
4869 .LCFI31:
4870 .cfi_remember_state
4871 .cfi_restore 4
4872 .cfi_def_cfa_offset 0
4873 0076 7047 bx lr
4874 .LVL326:
4875 .L401:
4876 .LCFI32:
ARM GAS /tmp/ccqCLCUn.s page 174
4877 .cfi_restore_state
1980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4878 .loc 1 1980 1 view .LVU1383
4879 0078 3029 cmp r1, #48
4880 007a DFD1 bne .L402
4881 007c D3E7 b .L399
4882 .L400:
1980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4883 .loc 1 1980 1 view .LVU1384
4884 007e 0848 ldr r0, .L409
4885 0080 8142 cmp r1, r0
4886 0082 D0D0 beq .L399
4887 0084 06D8 bhi .L403
4888 0086 2038 subs r0, r0, #32
4889 0088 8142 cmp r1, r0
4890 008a CCD0 beq .L399
4891 008c 1030 adds r0, r0, #16
4892 008e 8142 cmp r1, r0
4893 0090 D4D1 bne .L402
4894 0092 C8E7 b .L399
4895 .L403:
4896 0094 0348 ldr r0, .L409+4
4897 0096 8142 cmp r1, r0
4898 0098 D0D1 bne .L402
4899 009a C4E7 b .L399
4900 .L404:
4901 .LCFI33:
4902 .cfi_def_cfa_offset 0
4903 .cfi_restore 4
1931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4904 .loc 1 1931 3 discriminator 1 view .LVU1385
4905 009c 0220 movs r0, #2
1980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4906 .loc 1 1980 1 view .LVU1386
4907 009e 7047 bx lr
4908 .L410:
4909 .align 2
4910 .L409:
4911 00a0 40001000 .word 1048640
4912 00a4 70001000 .word 1048688
4913 .cfi_endproc
4914 .LFE355:
4916 .section .text.HAL_TIMEx_ConfigCommutEvent_IT,"ax",%progbits
4917 .align 1
4918 .global HAL_TIMEx_ConfigCommutEvent_IT
4919 .syntax unified
4920 .thumb
4921 .thumb_func
4923 HAL_TIMEx_ConfigCommutEvent_IT:
4924 .LVL327:
4925 .LFB356:
2017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
4926 .loc 1 2017 1 is_stmt 1 view -0
4927 .cfi_startproc
4928 @ args = 0, pretend = 0, frame = 0
4929 @ frame_needed = 0, uses_anonymous_args = 0
4930 @ link register save eliminated.
ARM GAS /tmp/ccqCLCUn.s page 175
2017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
4931 .loc 1 2017 1 is_stmt 0 view .LVU1388
4932 0000 0346 mov r3, r0
2019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_INSTANCE(htim->Instance, InputTrigger));
4933 .loc 1 2019 3 is_stmt 1 view .LVU1389
2020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4934 .loc 1 2020 3 view .LVU1390
2022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4935 .loc 1 2022 3 view .LVU1391
2022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4936 .loc 1 2022 3 view .LVU1392
4937 0002 90F83C00 ldrb r0, [r0, #60] @ zero_extendqisi2
4938 .LVL328:
2022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4939 .loc 1 2022 3 is_stmt 0 view .LVU1393
4940 0006 0128 cmp r0, #1
4941 0008 48D0 beq .L418
2017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
4942 .loc 1 2017 1 view .LVU1394
4943 000a 10B4 push {r4}
4944 .LCFI34:
4945 .cfi_def_cfa_offset 4
4946 .cfi_offset 4, -4
2022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4947 .loc 1 2022 3 is_stmt 1 discriminator 2 view .LVU1395
4948 000c 0120 movs r0, #1
4949 000e 83F83C00 strb r0, [r3, #60]
2022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4950 .loc 1 2022 3 view .LVU1396
2044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
4951 .loc 1 2044 3 view .LVU1397
4952 0012 B1F1101F cmp r1, #1048592
4953 0016 06D0 beq .L413
4954 0018 31D8 bhi .L414
4955 001a 2029 cmp r1, #32
4956 001c 03D0 beq .L413
4957 001e 2BD8 bhi .L415
4958 0020 09B1 cbz r1, .L413
4959 0022 1029 cmp r1, #16
4960 0024 0AD1 bne .L416
4961 .L413:
2052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
4962 .loc 1 2052 5 view .LVU1398
2052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
4963 .loc 1 2052 9 is_stmt 0 view .LVU1399
4964 0026 1C68 ldr r4, [r3]
2052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
4965 .loc 1 2052 19 view .LVU1400
4966 0028 A068 ldr r0, [r4, #8]
2052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
4967 .loc 1 2052 26 view .LVU1401
4968 002a 20F44010 bic r0, r0, #3145728
4969 002e 20F07000 bic r0, r0, #112
4970 0032 A060 str r0, [r4, #8]
2053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4971 .loc 1 2053 5 is_stmt 1 view .LVU1402
2053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
ARM GAS /tmp/ccqCLCUn.s page 176
4972 .loc 1 2053 9 is_stmt 0 view .LVU1403
4973 0034 1C68 ldr r4, [r3]
2053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4974 .loc 1 2053 19 view .LVU1404
4975 0036 A068 ldr r0, [r4, #8]
2053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4976 .loc 1 2053 26 view .LVU1405
4977 0038 0143 orrs r1, r1, r0
4978 .LVL329:
2053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4979 .loc 1 2053 26 view .LVU1406
4980 003a A160 str r1, [r4, #8]
4981 .L416:
2057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */
4982 .loc 1 2057 3 is_stmt 1 view .LVU1407
2057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */
4983 .loc 1 2057 7 is_stmt 0 view .LVU1408
4984 003c 1868 ldr r0, [r3]
2057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */
4985 .loc 1 2057 17 view .LVU1409
4986 003e 4168 ldr r1, [r0, #4]
2057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */
4987 .loc 1 2057 23 view .LVU1410
4988 0040 41F00101 orr r1, r1, #1
4989 0044 4160 str r1, [r0, #4]
2059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
4990 .loc 1 2059 3 is_stmt 1 view .LVU1411
2059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
4991 .loc 1 2059 7 is_stmt 0 view .LVU1412
4992 0046 1868 ldr r0, [r3]
2059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
4993 .loc 1 2059 17 view .LVU1413
4994 0048 4168 ldr r1, [r0, #4]
2059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
4995 .loc 1 2059 23 view .LVU1414
4996 004a 21F00401 bic r1, r1, #4
4997 004e 4160 str r1, [r0, #4]
2060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4998 .loc 1 2060 3 is_stmt 1 view .LVU1415
2060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4999 .loc 1 2060 7 is_stmt 0 view .LVU1416
5000 0050 1868 ldr r0, [r3]
2060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5001 .loc 1 2060 17 view .LVU1417
5002 0052 4168 ldr r1, [r0, #4]
2060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5003 .loc 1 2060 23 view .LVU1418
5004 0054 0A43 orrs r2, r2, r1
5005 .LVL330:
2060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5006 .loc 1 2060 23 view .LVU1419
5007 0056 4260 str r2, [r0, #4]
2063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5008 .loc 1 2063 3 is_stmt 1 view .LVU1420
5009 0058 1968 ldr r1, [r3]
5010 005a CA68 ldr r2, [r1, #12]
5011 005c 22F40052 bic r2, r2, #8192
ARM GAS /tmp/ccqCLCUn.s page 177
5012 0060 CA60 str r2, [r1, #12]
2066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5013 .loc 1 2066 3 view .LVU1421
5014 0062 1968 ldr r1, [r3]
5015 0064 CA68 ldr r2, [r1, #12]
5016 0066 42F02002 orr r2, r2, #32
5017 006a CA60 str r2, [r1, #12]
2068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5018 .loc 1 2068 3 view .LVU1422
2068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5019 .loc 1 2068 3 view .LVU1423
5020 006c 0020 movs r0, #0
5021 006e 83F83C00 strb r0, [r3, #60]
2068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5022 .loc 1 2068 3 view .LVU1424
2070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5023 .loc 1 2070 3 view .LVU1425
2071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5024 .loc 1 2071 1 is_stmt 0 view .LVU1426
5025 0072 5DF8044B ldr r4, [sp], #4
5026 .LCFI35:
5027 .cfi_remember_state
5028 .cfi_restore 4
5029 .cfi_def_cfa_offset 0
5030 0076 7047 bx lr
5031 .LVL331:
5032 .L415:
5033 .LCFI36:
5034 .cfi_restore_state
2071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5035 .loc 1 2071 1 view .LVU1427
5036 0078 3029 cmp r1, #48
5037 007a DFD1 bne .L416
5038 007c D3E7 b .L413
5039 .L414:
2071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5040 .loc 1 2071 1 view .LVU1428
5041 007e 0848 ldr r0, .L423
5042 0080 8142 cmp r1, r0
5043 0082 D0D0 beq .L413
5044 0084 06D8 bhi .L417
5045 0086 2038 subs r0, r0, #32
5046 0088 8142 cmp r1, r0
5047 008a CCD0 beq .L413
5048 008c 1030 adds r0, r0, #16
5049 008e 8142 cmp r1, r0
5050 0090 D4D1 bne .L416
5051 0092 C8E7 b .L413
5052 .L417:
5053 0094 0348 ldr r0, .L423+4
5054 0096 8142 cmp r1, r0
5055 0098 D0D1 bne .L416
5056 009a C4E7 b .L413
5057 .L418:
5058 .LCFI37:
5059 .cfi_def_cfa_offset 0
5060 .cfi_restore 4
ARM GAS /tmp/ccqCLCUn.s page 178
2022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5061 .loc 1 2022 3 discriminator 1 view .LVU1429
5062 009c 0220 movs r0, #2
2071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5063 .loc 1 2071 1 view .LVU1430
5064 009e 7047 bx lr
5065 .L424:
5066 .align 2
5067 .L423:
5068 00a0 40001000 .word 1048640
5069 00a4 70001000 .word 1048688
5070 .cfi_endproc
5071 .LFE356:
5073 .section .text.HAL_TIMEx_ConfigCommutEvent_DMA,"ax",%progbits
5074 .align 1
5075 .global HAL_TIMEx_ConfigCommutEvent_DMA
5076 .syntax unified
5077 .thumb
5078 .thumb_func
5080 HAL_TIMEx_ConfigCommutEvent_DMA:
5081 .LVL332:
5082 .LFB357:
2109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
5083 .loc 1 2109 1 is_stmt 1 view -0
5084 .cfi_startproc
5085 @ args = 0, pretend = 0, frame = 0
5086 @ frame_needed = 0, uses_anonymous_args = 0
5087 @ link register save eliminated.
2109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
5088 .loc 1 2109 1 is_stmt 0 view .LVU1432
5089 0000 0346 mov r3, r0
2111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_INSTANCE(htim->Instance, InputTrigger));
5090 .loc 1 2111 3 is_stmt 1 view .LVU1433
2112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5091 .loc 1 2112 3 view .LVU1434
2114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5092 .loc 1 2114 3 view .LVU1435
2114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5093 .loc 1 2114 3 view .LVU1436
5094 0002 90F83C00 ldrb r0, [r0, #60] @ zero_extendqisi2
5095 .LVL333:
2114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5096 .loc 1 2114 3 is_stmt 0 view .LVU1437
5097 0006 0128 cmp r0, #1
5098 0008 51D0 beq .L432
2109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
5099 .loc 1 2109 1 view .LVU1438
5100 000a 10B4 push {r4}
5101 .LCFI38:
5102 .cfi_def_cfa_offset 4
5103 .cfi_offset 4, -4
2114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5104 .loc 1 2114 3 is_stmt 1 discriminator 2 view .LVU1439
5105 000c 0120 movs r0, #1
5106 000e 83F83C00 strb r0, [r3, #60]
2114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5107 .loc 1 2114 3 view .LVU1440
ARM GAS /tmp/ccqCLCUn.s page 179
2136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
5108 .loc 1 2136 3 view .LVU1441
5109 0012 B1F1101F cmp r1, #1048592
5110 0016 06D0 beq .L427
5111 0018 3AD8 bhi .L428
5112 001a 2029 cmp r1, #32
5113 001c 03D0 beq .L427
5114 001e 34D8 bhi .L429
5115 0020 09B1 cbz r1, .L427
5116 0022 1029 cmp r1, #16
5117 0024 0AD1 bne .L430
5118 .L427:
2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
5119 .loc 1 2144 5 view .LVU1442
2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
5120 .loc 1 2144 9 is_stmt 0 view .LVU1443
5121 0026 1C68 ldr r4, [r3]
2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
5122 .loc 1 2144 19 view .LVU1444
5123 0028 A068 ldr r0, [r4, #8]
2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
5124 .loc 1 2144 26 view .LVU1445
5125 002a 20F44010 bic r0, r0, #3145728
5126 002e 20F07000 bic r0, r0, #112
5127 0032 A060 str r0, [r4, #8]
2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5128 .loc 1 2145 5 is_stmt 1 view .LVU1446
2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5129 .loc 1 2145 9 is_stmt 0 view .LVU1447
5130 0034 1C68 ldr r4, [r3]
2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5131 .loc 1 2145 19 view .LVU1448
5132 0036 A068 ldr r0, [r4, #8]
2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5133 .loc 1 2145 26 view .LVU1449
5134 0038 0143 orrs r1, r1, r0
5135 .LVL334:
2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5136 .loc 1 2145 26 view .LVU1450
5137 003a A160 str r1, [r4, #8]
5138 .L430:
2149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */
5139 .loc 1 2149 3 is_stmt 1 view .LVU1451
2149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */
5140 .loc 1 2149 7 is_stmt 0 view .LVU1452
5141 003c 1868 ldr r0, [r3]
2149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */
5142 .loc 1 2149 17 view .LVU1453
5143 003e 4168 ldr r1, [r0, #4]
2149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */
5144 .loc 1 2149 23 view .LVU1454
5145 0040 41F00101 orr r1, r1, #1
5146 0044 4160 str r1, [r0, #4]
2151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
5147 .loc 1 2151 3 is_stmt 1 view .LVU1455
2151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
5148 .loc 1 2151 7 is_stmt 0 view .LVU1456
ARM GAS /tmp/ccqCLCUn.s page 180
5149 0046 1868 ldr r0, [r3]
2151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
5150 .loc 1 2151 17 view .LVU1457
5151 0048 4168 ldr r1, [r0, #4]
2151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
5152 .loc 1 2151 23 view .LVU1458
5153 004a 21F00401 bic r1, r1, #4
5154 004e 4160 str r1, [r0, #4]
2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5155 .loc 1 2152 3 is_stmt 1 view .LVU1459
2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5156 .loc 1 2152 7 is_stmt 0 view .LVU1460
5157 0050 1868 ldr r0, [r3]
2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5158 .loc 1 2152 17 view .LVU1461
5159 0052 4168 ldr r1, [r0, #4]
2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5160 .loc 1 2152 23 view .LVU1462
5161 0054 0A43 orrs r2, r2, r1
5162 .LVL335:
2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5163 .loc 1 2152 23 view .LVU1463
5164 0056 4260 str r2, [r0, #4]
2156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt;
5165 .loc 1 2156 3 is_stmt 1 view .LVU1464
2156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt;
5166 .loc 1 2156 13 is_stmt 0 view .LVU1465
5167 0058 5A6B ldr r2, [r3, #52]
2156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt;
5168 .loc 1 2156 56 view .LVU1466
5169 005a 1649 ldr r1, .L437
5170 005c D162 str r1, [r2, #44]
2157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
5171 .loc 1 2157 3 is_stmt 1 view .LVU1467
2157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
5172 .loc 1 2157 13 is_stmt 0 view .LVU1468
5173 005e 5A6B ldr r2, [r3, #52]
2157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
5174 .loc 1 2157 60 view .LVU1469
5175 0060 1549 ldr r1, .L437+4
5176 0062 1163 str r1, [r2, #48]
2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5177 .loc 1 2159 3 is_stmt 1 view .LVU1470
2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5178 .loc 1 2159 13 is_stmt 0 view .LVU1471
5179 0064 5A6B ldr r2, [r3, #52]
2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5180 .loc 1 2159 57 view .LVU1472
5181 0066 1549 ldr r1, .L437+8
5182 0068 5163 str r1, [r2, #52]
2162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5183 .loc 1 2162 3 is_stmt 1 view .LVU1473
5184 006a 1968 ldr r1, [r3]
5185 006c CA68 ldr r2, [r1, #12]
5186 006e 22F02002 bic r2, r2, #32
5187 0072 CA60 str r2, [r1, #12]
2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 181
5188 .loc 1 2165 3 view .LVU1474
5189 0074 1968 ldr r1, [r3]
5190 0076 CA68 ldr r2, [r1, #12]
5191 0078 42F40052 orr r2, r2, #8192
5192 007c CA60 str r2, [r1, #12]
2167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5193 .loc 1 2167 3 view .LVU1475
2167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5194 .loc 1 2167 3 view .LVU1476
5195 007e 0020 movs r0, #0
5196 0080 83F83C00 strb r0, [r3, #60]
2167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5197 .loc 1 2167 3 view .LVU1477
2169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5198 .loc 1 2169 3 view .LVU1478
2170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5199 .loc 1 2170 1 is_stmt 0 view .LVU1479
5200 0084 5DF8044B ldr r4, [sp], #4
5201 .LCFI39:
5202 .cfi_remember_state
5203 .cfi_restore 4
5204 .cfi_def_cfa_offset 0
5205 0088 7047 bx lr
5206 .LVL336:
5207 .L429:
5208 .LCFI40:
5209 .cfi_restore_state
2170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5210 .loc 1 2170 1 view .LVU1480
5211 008a 3029 cmp r1, #48
5212 008c D6D1 bne .L430
5213 008e CAE7 b .L427
5214 .L428:
2170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5215 .loc 1 2170 1 view .LVU1481
5216 0090 0B48 ldr r0, .L437+12
5217 0092 8142 cmp r1, r0
5218 0094 C7D0 beq .L427
5219 0096 06D8 bhi .L431
5220 0098 2038 subs r0, r0, #32
5221 009a 8142 cmp r1, r0
5222 009c C3D0 beq .L427
5223 009e 1030 adds r0, r0, #16
5224 00a0 8142 cmp r1, r0
5225 00a2 CBD1 bne .L430
5226 00a4 BFE7 b .L427
5227 .L431:
5228 00a6 0748 ldr r0, .L437+16
5229 00a8 8142 cmp r1, r0
5230 00aa C7D1 bne .L430
5231 00ac BBE7 b .L427
5232 .L432:
5233 .LCFI41:
5234 .cfi_def_cfa_offset 0
5235 .cfi_restore 4
2114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5236 .loc 1 2114 3 discriminator 1 view .LVU1482
ARM GAS /tmp/ccqCLCUn.s page 182
5237 00ae 0220 movs r0, #2
2170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5238 .loc 1 2170 1 view .LVU1483
5239 00b0 7047 bx lr
5240 .L438:
5241 00b2 00BF .align 2
5242 .L437:
5243 00b4 00000000 .word TIMEx_DMACommutationCplt
5244 00b8 00000000 .word TIMEx_DMACommutationHalfCplt
5245 00bc 00000000 .word TIM_DMAError
5246 00c0 40001000 .word 1048640
5247 00c4 70001000 .word 1048688
5248 .cfi_endproc
5249 .LFE357:
5251 .section .text.HAL_TIMEx_MasterConfigSynchronization,"ax",%progbits
5252 .align 1
5253 .global HAL_TIMEx_MasterConfigSynchronization
5254 .syntax unified
5255 .thumb
5256 .thumb_func
5258 HAL_TIMEx_MasterConfigSynchronization:
5259 .LVL337:
5260 .LFB358:
2182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpcr2;
5261 .loc 1 2182 1 is_stmt 1 view -0
5262 .cfi_startproc
5263 @ args = 0, pretend = 0, frame = 0
5264 @ frame_needed = 0, uses_anonymous_args = 0
5265 @ link register save eliminated.
2183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
5266 .loc 1 2183 3 view .LVU1485
2184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5267 .loc 1 2184 3 view .LVU1486
2187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_TRGO_SOURCE(sMasterConfig->MasterOutputTrigger));
5268 .loc 1 2187 3 view .LVU1487
2188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_MSM_STATE(sMasterConfig->MasterSlaveMode));
5269 .loc 1 2188 3 view .LVU1488
2189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5270 .loc 1 2189 3 view .LVU1489
2192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5271 .loc 1 2192 3 view .LVU1490
2192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5272 .loc 1 2192 3 view .LVU1491
5273 0000 90F83C20 ldrb r2, [r0, #60] @ zero_extendqisi2
5274 0004 012A cmp r2, #1
5275 0006 40D0 beq .L445
2182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpcr2;
5276 .loc 1 2182 1 is_stmt 0 view .LVU1492
5277 0008 30B4 push {r4, r5}
5278 .LCFI42:
5279 .cfi_def_cfa_offset 8
5280 .cfi_offset 4, -8
5281 .cfi_offset 5, -4
5282 000a 0346 mov r3, r0
2192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5283 .loc 1 2192 3 is_stmt 1 discriminator 2 view .LVU1493
5284 000c 0122 movs r2, #1
ARM GAS /tmp/ccqCLCUn.s page 183
5285 000e 80F83C20 strb r2, [r0, #60]
2192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5286 .loc 1 2192 3 view .LVU1494
2195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5287 .loc 1 2195 3 view .LVU1495
2195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5288 .loc 1 2195 15 is_stmt 0 view .LVU1496
5289 0012 0222 movs r2, #2
5290 0014 80F83D20 strb r2, [r0, #61]
2198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5291 .loc 1 2198 3 is_stmt 1 view .LVU1497
2198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5292 .loc 1 2198 16 is_stmt 0 view .LVU1498
5293 0018 0068 ldr r0, [r0]
5294 .LVL338:
2198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5295 .loc 1 2198 10 view .LVU1499
5296 001a 4268 ldr r2, [r0, #4]
5297 .LVL339:
2201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5298 .loc 1 2201 3 is_stmt 1 view .LVU1500
2201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5299 .loc 1 2201 11 is_stmt 0 view .LVU1501
5300 001c 8468 ldr r4, [r0, #8]
5301 .LVL340:
2204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5302 .loc 1 2204 3 is_stmt 1 view .LVU1502
2204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5303 .loc 1 2204 6 is_stmt 0 view .LVU1503
5304 001e 1C4D ldr r5, .L450
5305 0020 A842 cmp r0, r5
5306 0022 03D0 beq .L441
2204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5307 .loc 1 2204 7 discriminator 1 view .LVU1504
5308 0024 05F50065 add r5, r5, #2048
5309 0028 A842 cmp r0, r5
5310 002a 03D1 bne .L442
5311 .L441:
2207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5312 .loc 1 2207 5 is_stmt 1 view .LVU1505
2210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO2 source*/
5313 .loc 1 2210 5 view .LVU1506
2210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO2 source*/
5314 .loc 1 2210 12 is_stmt 0 view .LVU1507
5315 002c 22F47002 bic r2, r2, #15728640
5316 .LVL341:
2212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5317 .loc 1 2212 5 is_stmt 1 view .LVU1508
2212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5318 .loc 1 2212 28 is_stmt 0 view .LVU1509
5319 0030 4D68 ldr r5, [r1, #4]
2212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5320 .loc 1 2212 12 view .LVU1510
5321 0032 2A43 orrs r2, r2, r5
5322 .LVL342:
5323 .L442:
2216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO source */
ARM GAS /tmp/ccqCLCUn.s page 184
5324 .loc 1 2216 3 is_stmt 1 view .LVU1511
2216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO source */
5325 .loc 1 2216 10 is_stmt 0 view .LVU1512
5326 0034 22F00072 bic r2, r2, #33554432
5327 .LVL343:
2216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO source */
5328 .loc 1 2216 10 view .LVU1513
5329 0038 22F07002 bic r2, r2, #112
5330 .LVL344:
2218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5331 .loc 1 2218 3 is_stmt 1 view .LVU1514
2218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5332 .loc 1 2218 10 is_stmt 0 view .LVU1515
5333 003c 0D68 ldr r5, [r1]
5334 003e 2A43 orrs r2, r2, r5
5335 .LVL345:
2221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5336 .loc 1 2221 3 is_stmt 1 view .LVU1516
2221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5337 .loc 1 2221 23 is_stmt 0 view .LVU1517
5338 0040 4260 str r2, [r0, #4]
2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5339 .loc 1 2223 3 is_stmt 1 view .LVU1518
2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5340 .loc 1 2223 7 is_stmt 0 view .LVU1519
5341 0042 1A68 ldr r2, [r3]
5342 .LVL346:
2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5343 .loc 1 2223 6 view .LVU1520
5344 0044 1248 ldr r0, .L450
5345 .LVL347:
2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5346 .loc 1 2223 6 view .LVU1521
5347 0046 8242 cmp r2, r0
5348 0048 12D0 beq .L443
2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5349 .loc 1 2223 7 discriminator 1 view .LVU1522
5350 004a B2F1804F cmp r2, #1073741824
5351 004e 0FD0 beq .L443
2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5352 .loc 1 2223 7 discriminator 2 view .LVU1523
5353 0050 A0F59430 sub r0, r0, #75776
5354 0054 8242 cmp r2, r0
5355 0056 0BD0 beq .L443
2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5356 .loc 1 2223 7 discriminator 3 view .LVU1524
5357 0058 00F58060 add r0, r0, #1024
5358 005c 8242 cmp r2, r0
5359 005e 07D0 beq .L443
2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5360 .loc 1 2223 7 discriminator 4 view .LVU1525
5361 0060 00F59630 add r0, r0, #76800
5362 0064 8242 cmp r2, r0
5363 0066 03D0 beq .L443
2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5364 .loc 1 2223 7 discriminator 5 view .LVU1526
5365 0068 00F54060 add r0, r0, #3072
ARM GAS /tmp/ccqCLCUn.s page 185
5366 006c 8242 cmp r2, r0
5367 006e 04D1 bne .L444
5368 .L443:
2226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set master mode */
5369 .loc 1 2226 5 is_stmt 1 view .LVU1527
2226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set master mode */
5370 .loc 1 2226 13 is_stmt 0 view .LVU1528
5371 0070 24F08004 bic r4, r4, #128
5372 .LVL348:
2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5373 .loc 1 2228 5 is_stmt 1 view .LVU1529
2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5374 .loc 1 2228 29 is_stmt 0 view .LVU1530
5375 0074 8968 ldr r1, [r1, #8]
5376 .LVL349:
2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5377 .loc 1 2228 13 view .LVU1531
5378 0076 2143 orrs r1, r1, r4
5379 .LVL350:
2231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5380 .loc 1 2231 5 is_stmt 1 view .LVU1532
2231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5381 .loc 1 2231 26 is_stmt 0 view .LVU1533
5382 0078 9160 str r1, [r2, #8]
5383 .LVL351:
5384 .L444:
2235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5385 .loc 1 2235 3 is_stmt 1 view .LVU1534
2235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5386 .loc 1 2235 15 is_stmt 0 view .LVU1535
5387 007a 0122 movs r2, #1
5388 007c 83F83D20 strb r2, [r3, #61]
2237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5389 .loc 1 2237 3 is_stmt 1 view .LVU1536
2237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5390 .loc 1 2237 3 view .LVU1537
5391 0080 0020 movs r0, #0
5392 0082 83F83C00 strb r0, [r3, #60]
2237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5393 .loc 1 2237 3 view .LVU1538
2239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5394 .loc 1 2239 3 view .LVU1539
2240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5395 .loc 1 2240 1 is_stmt 0 view .LVU1540
5396 0086 30BC pop {r4, r5}
5397 .LCFI43:
5398 .cfi_restore 5
5399 .cfi_restore 4
5400 .cfi_def_cfa_offset 0
5401 0088 7047 bx lr
5402 .LVL352:
5403 .L445:
2192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5404 .loc 1 2192 3 discriminator 1 view .LVU1541
5405 008a 0220 movs r0, #2
5406 .LVL353:
2240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 186
5407 .loc 1 2240 1 view .LVU1542
5408 008c 7047 bx lr
5409 .L451:
5410 008e 00BF .align 2
5411 .L450:
5412 0090 002C0140 .word 1073818624
5413 .cfi_endproc
5414 .LFE358:
5416 .section .text.HAL_TIMEx_ConfigBreakDeadTime,"ax",%progbits
5417 .align 1
5418 .global HAL_TIMEx_ConfigBreakDeadTime
5419 .syntax unified
5420 .thumb
5421 .thumb_func
5423 HAL_TIMEx_ConfigBreakDeadTime:
5424 .LVL354:
5425 .LFB359:
2255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Keep this variable initialized to 0 as it is used to configure BDTR register */
5426 .loc 1 2255 1 is_stmt 1 view -0
5427 .cfi_startproc
5428 @ args = 0, pretend = 0, frame = 0
5429 @ frame_needed = 0, uses_anonymous_args = 0
5430 @ link register save eliminated.
2257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5431 .loc 1 2257 3 view .LVU1544
2260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_OSSR_STATE(sBreakDeadTimeConfig->OffStateRunMode));
5432 .loc 1 2260 3 view .LVU1545
2261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_OSSI_STATE(sBreakDeadTimeConfig->OffStateIDLEMode));
5433 .loc 1 2261 3 view .LVU1546
2262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_LOCK_LEVEL(sBreakDeadTimeConfig->LockLevel));
5434 .loc 1 2262 3 view .LVU1547
2263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_DEADTIME(sBreakDeadTimeConfig->DeadTime));
5435 .loc 1 2263 3 view .LVU1548
2264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_STATE(sBreakDeadTimeConfig->BreakState));
5436 .loc 1 2264 3 view .LVU1549
2265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_POLARITY(sBreakDeadTimeConfig->BreakPolarity));
5437 .loc 1 2265 3 view .LVU1550
2266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_FILTER(sBreakDeadTimeConfig->BreakFilter));
5438 .loc 1 2266 3 view .LVU1551
2267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_AUTOMATIC_OUTPUT_STATE(sBreakDeadTimeConfig->AutomaticOutput));
5439 .loc 1 2267 3 view .LVU1552
2268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_AFMODE(sBreakDeadTimeConfig->BreakAFMode));
5440 .loc 1 2268 3 view .LVU1553
2269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5441 .loc 1 2269 3 view .LVU1554
2272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5442 .loc 1 2272 3 view .LVU1555
2272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5443 .loc 1 2272 3 view .LVU1556
5444 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
5445 0004 012B cmp r3, #1
5446 0006 46D0 beq .L456
2255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Keep this variable initialized to 0 as it is used to configure BDTR register */
5447 .loc 1 2255 1 is_stmt 0 view .LVU1557
5448 0008 10B4 push {r4}
5449 .LCFI44:
5450 .cfi_def_cfa_offset 4
ARM GAS /tmp/ccqCLCUn.s page 187
5451 .cfi_offset 4, -4
5452 000a 0246 mov r2, r0
2272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5453 .loc 1 2272 3 is_stmt 1 discriminator 2 view .LVU1558
5454 000c 0123 movs r3, #1
5455 000e 80F83C30 strb r3, [r0, #60]
2272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5456 .loc 1 2272 3 view .LVU1559
2278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_LOCK, sBreakDeadTimeConfig->LockLevel);
5457 .loc 1 2278 3 view .LVU1560
5458 0012 CB68 ldr r3, [r1, #12]
5459 .LVL355:
2279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSI, sBreakDeadTimeConfig->OffStateIDLEMode);
5460 .loc 1 2279 3 view .LVU1561
5461 0014 23F44073 bic r3, r3, #768
5462 .LVL356:
2279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSI, sBreakDeadTimeConfig->OffStateIDLEMode);
5463 .loc 1 2279 3 is_stmt 0 view .LVU1562
5464 0018 8868 ldr r0, [r1, #8]
5465 .LVL357:
2279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSI, sBreakDeadTimeConfig->OffStateIDLEMode);
5466 .loc 1 2279 3 view .LVU1563
5467 001a 0343 orrs r3, r3, r0
5468 .LVL358:
2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSR, sBreakDeadTimeConfig->OffStateRunMode);
5469 .loc 1 2280 3 is_stmt 1 view .LVU1564
5470 001c 23F48063 bic r3, r3, #1024
5471 .LVL359:
2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSR, sBreakDeadTimeConfig->OffStateRunMode);
5472 .loc 1 2280 3 is_stmt 0 view .LVU1565
5473 0020 4868 ldr r0, [r1, #4]
5474 .LVL360:
2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSR, sBreakDeadTimeConfig->OffStateRunMode);
5475 .loc 1 2280 3 view .LVU1566
5476 0022 0343 orrs r3, r3, r0
5477 .LVL361:
2281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKE, sBreakDeadTimeConfig->BreakState);
5478 .loc 1 2281 3 is_stmt 1 view .LVU1567
5479 0024 23F40063 bic r3, r3, #2048
5480 .LVL362:
2281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKE, sBreakDeadTimeConfig->BreakState);
5481 .loc 1 2281 3 is_stmt 0 view .LVU1568
5482 0028 0868 ldr r0, [r1]
5483 .LVL363:
2281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKE, sBreakDeadTimeConfig->BreakState);
5484 .loc 1 2281 3 view .LVU1569
5485 002a 0343 orrs r3, r3, r0
5486 .LVL364:
2282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKP, sBreakDeadTimeConfig->BreakPolarity);
5487 .loc 1 2282 3 is_stmt 1 view .LVU1570
5488 002c 23F48053 bic r3, r3, #4096
5489 .LVL365:
2282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKP, sBreakDeadTimeConfig->BreakPolarity);
5490 .loc 1 2282 3 is_stmt 0 view .LVU1571
5491 0030 0869 ldr r0, [r1, #16]
5492 .LVL366:
2282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKP, sBreakDeadTimeConfig->BreakPolarity);
ARM GAS /tmp/ccqCLCUn.s page 188
5493 .loc 1 2282 3 view .LVU1572
5494 0032 0343 orrs r3, r3, r0
5495 .LVL367:
2283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_AOE, sBreakDeadTimeConfig->AutomaticOutput);
5496 .loc 1 2283 3 is_stmt 1 view .LVU1573
5497 0034 23F40053 bic r3, r3, #8192
5498 .LVL368:
2283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_AOE, sBreakDeadTimeConfig->AutomaticOutput);
5499 .loc 1 2283 3 is_stmt 0 view .LVU1574
5500 0038 4869 ldr r0, [r1, #20]
5501 .LVL369:
2283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_AOE, sBreakDeadTimeConfig->AutomaticOutput);
5502 .loc 1 2283 3 view .LVU1575
5503 003a 0343 orrs r3, r3, r0
5504 .LVL370:
2284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKF, (sBreakDeadTimeConfig->BreakFilter << TIM_BDTR_BKF_Pos));
5505 .loc 1 2284 3 is_stmt 1 view .LVU1576
5506 003c 23F48043 bic r3, r3, #16384
5507 .LVL371:
2284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKF, (sBreakDeadTimeConfig->BreakFilter << TIM_BDTR_BKF_Pos));
5508 .loc 1 2284 3 is_stmt 0 view .LVU1577
5509 0040 086B ldr r0, [r1, #48]
5510 .LVL372:
2284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKF, (sBreakDeadTimeConfig->BreakFilter << TIM_BDTR_BKF_Pos));
5511 .loc 1 2284 3 view .LVU1578
5512 0042 0343 orrs r3, r3, r0
5513 .LVL373:
2285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKBID, sBreakDeadTimeConfig->BreakAFMode);
5514 .loc 1 2285 3 is_stmt 1 view .LVU1579
5515 0044 23F47023 bic r3, r3, #983040
5516 .LVL374:
2285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKBID, sBreakDeadTimeConfig->BreakAFMode);
5517 .loc 1 2285 3 is_stmt 0 view .LVU1580
5518 0048 8869 ldr r0, [r1, #24]
5519 .LVL375:
2285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKBID, sBreakDeadTimeConfig->BreakAFMode);
5520 .loc 1 2285 3 view .LVU1581
5521 004a 43EA0043 orr r3, r3, r0, lsl #16
5522 .LVL376:
2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5523 .loc 1 2286 3 is_stmt 1 view .LVU1582
5524 004e 23F08053 bic r3, r3, #268435456
5525 .LVL377:
2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5526 .loc 1 2286 3 is_stmt 0 view .LVU1583
5527 0052 C869 ldr r0, [r1, #28]
5528 .LVL378:
2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5529 .loc 1 2286 3 view .LVU1584
5530 0054 0343 orrs r3, r3, r0
5531 .LVL379:
2288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5532 .loc 1 2288 3 is_stmt 1 view .LVU1585
2288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5533 .loc 1 2288 7 is_stmt 0 view .LVU1586
5534 0056 1068 ldr r0, [r2]
2288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
ARM GAS /tmp/ccqCLCUn.s page 189
5535 .loc 1 2288 6 view .LVU1587
5536 0058 104C ldr r4, .L461
5537 005a A042 cmp r0, r4
5538 005c 03D0 beq .L454
2288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5539 .loc 1 2288 7 discriminator 1 view .LVU1588
5540 005e 04F50064 add r4, r4, #2048
5541 0062 A042 cmp r0, r4
5542 0064 10D1 bne .L455
5543 .L454:
2291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK2_POLARITY(sBreakDeadTimeConfig->Break2Polarity));
5544 .loc 1 2291 5 is_stmt 1 view .LVU1589
2292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_FILTER(sBreakDeadTimeConfig->Break2Filter));
5545 .loc 1 2292 5 view .LVU1590
2293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK2_AFMODE(sBreakDeadTimeConfig->Break2AFMode));
5546 .loc 1 2293 5 view .LVU1591
2294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5547 .loc 1 2294 5 view .LVU1592
2297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2E, sBreakDeadTimeConfig->Break2State);
5548 .loc 1 2297 5 view .LVU1593
5549 0066 23F47003 bic r3, r3, #15728640
5550 .LVL380:
2297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2E, sBreakDeadTimeConfig->Break2State);
5551 .loc 1 2297 5 is_stmt 0 view .LVU1594
5552 006a 8C6A ldr r4, [r1, #40]
5553 006c 43EA0453 orr r3, r3, r4, lsl #20
5554 .LVL381:
2298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2P, sBreakDeadTimeConfig->Break2Polarity);
5555 .loc 1 2298 5 is_stmt 1 view .LVU1595
5556 0070 23F08073 bic r3, r3, #16777216
5557 .LVL382:
2298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2P, sBreakDeadTimeConfig->Break2Polarity);
5558 .loc 1 2298 5 is_stmt 0 view .LVU1596
5559 0074 0C6A ldr r4, [r1, #32]
5560 .LVL383:
2298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2P, sBreakDeadTimeConfig->Break2Polarity);
5561 .loc 1 2298 5 view .LVU1597
5562 0076 2343 orrs r3, r3, r4
5563 .LVL384:
2299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2BID, sBreakDeadTimeConfig->Break2AFMode);
5564 .loc 1 2299 5 is_stmt 1 view .LVU1598
5565 0078 23F00073 bic r3, r3, #33554432
5566 .LVL385:
2299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2BID, sBreakDeadTimeConfig->Break2AFMode);
5567 .loc 1 2299 5 is_stmt 0 view .LVU1599
5568 007c 4C6A ldr r4, [r1, #36]
5569 .LVL386:
2299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2BID, sBreakDeadTimeConfig->Break2AFMode);
5570 .loc 1 2299 5 view .LVU1600
5571 007e 2343 orrs r3, r3, r4
5572 .LVL387:
2300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5573 .loc 1 2300 5 is_stmt 1 view .LVU1601
5574 0080 23F00053 bic r3, r3, #536870912
5575 .LVL388:
2300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5576 .loc 1 2300 5 is_stmt 0 view .LVU1602
ARM GAS /tmp/ccqCLCUn.s page 190
5577 0084 C96A ldr r1, [r1, #44]
5578 .LVL389:
2300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5579 .loc 1 2300 5 view .LVU1603
5580 0086 0B43 orrs r3, r3, r1
5581 .LVL390:
5582 .L455:
2304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5583 .loc 1 2304 3 is_stmt 1 view .LVU1604
2304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5584 .loc 1 2304 24 is_stmt 0 view .LVU1605
5585 0088 4364 str r3, [r0, #68]
2306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5586 .loc 1 2306 3 is_stmt 1 view .LVU1606
2306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5587 .loc 1 2306 3 view .LVU1607
5588 008a 0020 movs r0, #0
5589 008c 82F83C00 strb r0, [r2, #60]
2306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5590 .loc 1 2306 3 view .LVU1608
2308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5591 .loc 1 2308 3 view .LVU1609
2309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5592 .loc 1 2309 1 is_stmt 0 view .LVU1610
5593 0090 5DF8044B ldr r4, [sp], #4
5594 .LCFI45:
5595 .cfi_restore 4
5596 .cfi_def_cfa_offset 0
5597 0094 7047 bx lr
5598 .LVL391:
5599 .L456:
2272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5600 .loc 1 2272 3 discriminator 1 view .LVU1611
5601 0096 0220 movs r0, #2
5602 .LVL392:
2309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5603 .loc 1 2309 1 view .LVU1612
5604 0098 7047 bx lr
5605 .L462:
5606 009a 00BF .align 2
5607 .L461:
5608 009c 002C0140 .word 1073818624
5609 .cfi_endproc
5610 .LFE359:
5612 .section .text.HAL_TIMEx_ConfigBreakInput,"ax",%progbits
5613 .align 1
5614 .global HAL_TIMEx_ConfigBreakInput
5615 .syntax unified
5616 .thumb
5617 .thumb_func
5619 HAL_TIMEx_ConfigBreakInput:
5620 .LVL393:
5621 .LFB360:
2324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
5622 .loc 1 2324 1 is_stmt 1 view -0
5623 .cfi_startproc
5624 @ args = 0, pretend = 0, frame = 0
ARM GAS /tmp/ccqCLCUn.s page 191
5625 @ frame_needed = 0, uses_anonymous_args = 0
2324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
5626 .loc 1 2324 1 is_stmt 0 view .LVU1614
5627 0000 0346 mov r3, r0
2325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmporx;
5628 .loc 1 2325 3 is_stmt 1 view .LVU1615
5629 .LVL394:
2326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_enable_mask;
5630 .loc 1 2326 3 view .LVU1616
2327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_polarity_mask;
5631 .loc 1 2327 3 view .LVU1617
2328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_enable_bitpos;
5632 .loc 1 2328 3 view .LVU1618
2329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_polarity_bitpos;
5633 .loc 1 2329 3 view .LVU1619
2330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5634 .loc 1 2330 3 view .LVU1620
2333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUT(BreakInput));
5635 .loc 1 2333 3 view .LVU1621
2334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUTSOURCE(sBreakInputConfig->Source));
5636 .loc 1 2334 3 view .LVU1622
2335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUTSOURCE_STATE(sBreakInputConfig->Enable));
5637 .loc 1 2335 3 view .LVU1623
2336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUTSOURCE_POLARITY(sBreakInputConfig->Polarity));
5638 .loc 1 2336 3 view .LVU1624
2337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5639 .loc 1 2337 3 view .LVU1625
2340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5640 .loc 1 2340 3 view .LVU1626
2340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5641 .loc 1 2340 3 view .LVU1627
5642 0002 90F83C00 ldrb r0, [r0, #60] @ zero_extendqisi2
5643 .LVL395:
2340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5644 .loc 1 2340 3 is_stmt 0 view .LVU1628
5645 0006 0128 cmp r0, #1
5646 0008 5ED0 beq .L475
2324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
5647 .loc 1 2324 1 view .LVU1629
5648 000a 70B5 push {r4, r5, r6, lr}
5649 .LCFI46:
5650 .cfi_def_cfa_offset 16
5651 .cfi_offset 4, -16
5652 .cfi_offset 5, -12
5653 .cfi_offset 6, -8
5654 .cfi_offset 14, -4
2340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5655 .loc 1 2340 3 is_stmt 1 discriminator 2 view .LVU1630
5656 000c 0120 movs r0, #1
5657 000e 83F83C00 strb r0, [r3, #60]
2340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5658 .loc 1 2340 3 view .LVU1631
2342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5659 .loc 1 2342 3 view .LVU1632
2342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5660 .loc 1 2342 28 is_stmt 0 view .LVU1633
5661 0012 1468 ldr r4, [r2]
ARM GAS /tmp/ccqCLCUn.s page 192
2342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5662 .loc 1 2342 3 view .LVU1634
5663 0014 601E subs r0, r4, #1
5664 0016 0F28 cmp r0, #15
5665 0018 21D8 bhi .L465
5666 001a DFE800F0 tbb [pc, r0]
5667 .L467:
5668 001e 08 .byte (.L471-.L467)/2
5669 001f 2A .byte (.L476-.L467)/2
5670 0020 20 .byte (.L465-.L467)/2
5671 0021 0E .byte (.L469-.L467)/2
5672 0022 20 .byte (.L465-.L467)/2
5673 0023 20 .byte (.L465-.L467)/2
5674 0024 20 .byte (.L465-.L467)/2
5675 0025 14 .byte (.L468-.L467)/2
5676 0026 20 .byte (.L465-.L467)/2
5677 0027 20 .byte (.L465-.L467)/2
5678 0028 20 .byte (.L465-.L467)/2
5679 0029 20 .byte (.L465-.L467)/2
5680 002a 20 .byte (.L465-.L467)/2
5681 002b 20 .byte (.L465-.L467)/2
5682 002c 20 .byte (.L465-.L467)/2
5683 002d 1A .byte (.L466-.L467)/2
5684 .p2align 1
5685 .L471:
5686 002e 0920 movs r0, #9
5687 0030 4FF0000E mov lr, #0
5688 0034 4FF4007C mov ip, #512
5689 0038 15E0 b .L470
5690 .L469:
2363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP2E_Pos;
5691 .loc 1 2363 7 is_stmt 1 view .LVU1635
5692 .LVL396:
2364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP2P;
5693 .loc 1 2364 7 view .LVU1636
2365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP2P_Pos;
5694 .loc 1 2365 7 view .LVU1637
2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
5695 .loc 1 2366 7 view .LVU1638
2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5696 .loc 1 2367 7 view .LVU1639
2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
5697 .loc 1 2366 28 is_stmt 0 view .LVU1640
5698 003a 0B20 movs r0, #11
2364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP2P;
5699 .loc 1 2364 26 view .LVU1641
5700 003c 4FF0020E mov lr, #2
2365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP2P_Pos;
5701 .loc 1 2365 26 view .LVU1642
5702 0040 4FF4006C mov ip, #2048
2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5703 .loc 1 2367 7 view .LVU1643
5704 0044 0FE0 b .L470
5705 .LVL397:
5706 .L468:
2372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP3E_Pos;
5707 .loc 1 2372 7 is_stmt 1 view .LVU1644
ARM GAS /tmp/ccqCLCUn.s page 193
2373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP3P;
5708 .loc 1 2373 7 view .LVU1645
2374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP3P_Pos;
5709 .loc 1 2374 7 view .LVU1646
2375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
5710 .loc 1 2375 7 view .LVU1647
2376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5711 .loc 1 2376 7 view .LVU1648
2375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
5712 .loc 1 2375 28 is_stmt 0 view .LVU1649
5713 0046 0C20 movs r0, #12
2373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP3P;
5714 .loc 1 2373 26 view .LVU1650
5715 0048 4FF0030E mov lr, #3
2374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP3P_Pos;
5716 .loc 1 2374 26 view .LVU1651
5717 004c 4FF4805C mov ip, #4096
2376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5718 .loc 1 2376 7 view .LVU1652
5719 0050 09E0 b .L470
5720 .LVL398:
5721 .L466:
2381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP4E_Pos;
5722 .loc 1 2381 7 is_stmt 1 view .LVU1653
2382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP4P;
5723 .loc 1 2382 7 view .LVU1654
2383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP4P_Pos;
5724 .loc 1 2383 7 view .LVU1655
2384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
5725 .loc 1 2384 7 view .LVU1656
2385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5726 .loc 1 2385 7 view .LVU1657
2384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
5727 .loc 1 2384 28 is_stmt 0 view .LVU1658
5728 0052 0D20 movs r0, #13
2382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP4P;
5729 .loc 1 2382 26 view .LVU1659
5730 0054 4FF0040E mov lr, #4
2383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP4P_Pos;
5731 .loc 1 2383 26 view .LVU1660
5732 0058 4FF4005C mov ip, #8192
2385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5733 .loc 1 2385 7 view .LVU1661
5734 005c 03E0 b .L470
5735 .LVL399:
5736 .L465:
2424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = 0U;
5737 .loc 1 2424 7 is_stmt 1 view .LVU1662
2425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = 0U;
5738 .loc 1 2425 7 view .LVU1663
2426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = 0U;
5739 .loc 1 2426 7 view .LVU1664
2427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
5740 .loc 1 2427 7 view .LVU1665
2428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5741 .loc 1 2428 7 view .LVU1666
2427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
ARM GAS /tmp/ccqCLCUn.s page 194
5742 .loc 1 2427 28 is_stmt 0 view .LVU1667
5743 005e 0020 movs r0, #0
2426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = 0U;
5744 .loc 1 2426 26 view .LVU1668
5745 0060 8646 mov lr, r0
2425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = 0U;
5746 .loc 1 2425 26 view .LVU1669
5747 0062 8446 mov ip, r0
2424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = 0U;
5748 .loc 1 2424 24 view .LVU1670
5749 0064 0446 mov r4, r0
5750 .LVL400:
5751 .L470:
2432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5752 .loc 1 2432 3 is_stmt 1 view .LVU1671
5753 0066 0129 cmp r1, #1
5754 0068 09D0 beq .L472
5755 006a 0229 cmp r1, #2
5756 006c 1BD0 beq .L473
5757 006e 0120 movs r0, #1
5758 .LVL401:
2432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5759 .loc 1 2432 3 is_stmt 0 view .LVU1672
5760 0070 15E0 b .L474
5761 .LVL402:
5762 .L476:
2357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
5763 .loc 1 2357 28 view .LVU1673
5764 0072 0A20 movs r0, #10
2355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP1P;
5765 .loc 1 2355 26 view .LVU1674
5766 0074 4FF0010E mov lr, #1
2356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP1P_Pos;
5767 .loc 1 2356 26 view .LVU1675
5768 0078 4FF4806C mov ip, #1024
5769 007c F3E7 b .L470
5770 .LVL403:
5771 .L472:
2437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5772 .loc 1 2437 7 is_stmt 1 view .LVU1676
2437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5773 .loc 1 2437 20 is_stmt 0 view .LVU1677
5774 007e 1D68 ldr r5, [r3]
2437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5775 .loc 1 2437 14 view .LVU1678
5776 0080 2E6E ldr r6, [r5, #96]
5777 .LVL404:
2440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Enable << bkin_enable_bitpos) & bkin_enable_mask;
5778 .loc 1 2440 7 is_stmt 1 view .LVU1679
2441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5779 .loc 1 2441 7 view .LVU1680
2441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5780 .loc 1 2441 35 is_stmt 0 view .LVU1681
5781 0082 5168 ldr r1, [r2, #4]
5782 .LVL405:
2441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5783 .loc 1 2441 44 view .LVU1682
ARM GAS /tmp/ccqCLCUn.s page 195
5784 0084 01FA0EF1 lsl r1, r1, lr
5785 0088 7140 eors r1, r1, r6
5786 008a 2140 ands r1, r1, r4
2441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5787 .loc 1 2441 14 view .LVU1683
5788 008c 7140 eors r1, r1, r6
5789 .LVL406:
2444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Polarity << bkin_polarity_bitpos) & bkin_polarity_mask;
5790 .loc 1 2444 7 is_stmt 1 view .LVU1684
2445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5791 .loc 1 2445 7 view .LVU1685
2445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5792 .loc 1 2445 35 is_stmt 0 view .LVU1686
5793 008e 9268 ldr r2, [r2, #8]
5794 .LVL407:
2445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5795 .loc 1 2445 46 view .LVU1687
5796 0090 8240 lsls r2, r2, r0
5797 0092 4A40 eors r2, r2, r1
5798 0094 02EA0C02 and r2, r2, ip
2445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5799 .loc 1 2445 14 view .LVU1688
5800 0098 4A40 eors r2, r2, r1
5801 .LVL408:
2448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
5802 .loc 1 2448 7 is_stmt 1 view .LVU1689
2448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
5803 .loc 1 2448 27 is_stmt 0 view .LVU1690
5804 009a 2A66 str r2, [r5, #96]
2449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5805 .loc 1 2449 7 is_stmt 1 view .LVU1691
2325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmporx;
5806 .loc 1 2325 21 is_stmt 0 view .LVU1692
5807 009c 0020 movs r0, #0
5808 .LVL409:
5809 .L474:
2473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5810 .loc 1 2473 3 is_stmt 1 view .LVU1693
2473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5811 .loc 1 2473 3 view .LVU1694
5812 009e 0022 movs r2, #0
5813 00a0 83F83C20 strb r2, [r3, #60]
2473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5814 .loc 1 2473 3 view .LVU1695
2475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5815 .loc 1 2475 3 view .LVU1696
2476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5816 .loc 1 2476 1 is_stmt 0 view .LVU1697
5817 00a4 70BD pop {r4, r5, r6, pc}
5818 .LVL410:
5819 .L473:
2454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5820 .loc 1 2454 7 is_stmt 1 view .LVU1698
2454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5821 .loc 1 2454 20 is_stmt 0 view .LVU1699
5822 00a6 1D68 ldr r5, [r3]
2454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 196
5823 .loc 1 2454 14 view .LVU1700
5824 00a8 6E6E ldr r6, [r5, #100]
5825 .LVL411:
2457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Enable << bkin_enable_bitpos) & bkin_enable_mask;
5826 .loc 1 2457 7 is_stmt 1 view .LVU1701
2458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5827 .loc 1 2458 7 view .LVU1702
2458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5828 .loc 1 2458 35 is_stmt 0 view .LVU1703
5829 00aa 5168 ldr r1, [r2, #4]
5830 .LVL412:
2458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5831 .loc 1 2458 44 view .LVU1704
5832 00ac 01FA0EF1 lsl r1, r1, lr
5833 00b0 7140 eors r1, r1, r6
5834 00b2 2140 ands r1, r1, r4
2458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5835 .loc 1 2458 14 view .LVU1705
5836 00b4 7140 eors r1, r1, r6
5837 .LVL413:
2461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Polarity << bkin_polarity_bitpos) & bkin_polarity_mask;
5838 .loc 1 2461 7 is_stmt 1 view .LVU1706
2462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5839 .loc 1 2462 7 view .LVU1707
2462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5840 .loc 1 2462 35 is_stmt 0 view .LVU1708
5841 00b6 9268 ldr r2, [r2, #8]
5842 .LVL414:
2462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5843 .loc 1 2462 46 view .LVU1709
5844 00b8 8240 lsls r2, r2, r0
5845 00ba 4A40 eors r2, r2, r1
5846 00bc 02EA0C02 and r2, r2, ip
2462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5847 .loc 1 2462 14 view .LVU1710
5848 00c0 4A40 eors r2, r2, r1
5849 .LVL415:
2465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
5850 .loc 1 2465 7 is_stmt 1 view .LVU1711
2465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
5851 .loc 1 2465 27 is_stmt 0 view .LVU1712
5852 00c2 6A66 str r2, [r5, #100]
2466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5853 .loc 1 2466 7 is_stmt 1 view .LVU1713
2325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmporx;
5854 .loc 1 2325 21 is_stmt 0 view .LVU1714
5855 00c4 0020 movs r0, #0
5856 .LVL416:
2466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5857 .loc 1 2466 7 view .LVU1715
5858 00c6 EAE7 b .L474
5859 .LVL417:
5860 .L475:
5861 .LCFI47:
5862 .cfi_def_cfa_offset 0
5863 .cfi_restore 4
5864 .cfi_restore 5
ARM GAS /tmp/ccqCLCUn.s page 197
5865 .cfi_restore 6
5866 .cfi_restore 14
2340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5867 .loc 1 2340 3 discriminator 1 view .LVU1716
5868 00c8 0220 movs r0, #2
2476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5869 .loc 1 2476 1 view .LVU1717
5870 00ca 7047 bx lr
5871 .cfi_endproc
5872 .LFE360:
5874 .section .text.HAL_TIMEx_RemapConfig,"ax",%progbits
5875 .align 1
5876 .global HAL_TIMEx_RemapConfig
5877 .syntax unified
5878 .thumb
5879 .thumb_func
5881 HAL_TIMEx_RemapConfig:
5882 .LVL418:
5883 .LFB361:
2589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check parameters */
5884 .loc 1 2589 1 is_stmt 1 view -0
5885 .cfi_startproc
5886 @ args = 0, pretend = 0, frame = 0
5887 @ frame_needed = 0, uses_anonymous_args = 0
5888 @ link register save eliminated.
2591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_REMAP(Remap));
5889 .loc 1 2591 3 view .LVU1719
2592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5890 .loc 1 2592 3 view .LVU1720
2594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5891 .loc 1 2594 3 view .LVU1721
2594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5892 .loc 1 2594 3 view .LVU1722
5893 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
5894 0004 012B cmp r3, #1
5895 0006 0DD0 beq .L483
2594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5896 .loc 1 2594 3 discriminator 2 view .LVU1723
5897 0008 0123 movs r3, #1
5898 000a 80F83C30 strb r3, [r0, #60]
2594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5899 .loc 1 2594 3 view .LVU1724
2596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5900 .loc 1 2596 3 view .LVU1725
5901 000e 0268 ldr r2, [r0]
5902 0010 136E ldr r3, [r2, #96]
5903 0012 23F47033 bic r3, r3, #245760
5904 0016 1943 orrs r1, r1, r3
5905 .LVL419:
2596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5906 .loc 1 2596 3 is_stmt 0 view .LVU1726
5907 0018 1166 str r1, [r2, #96]
2598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5908 .loc 1 2598 3 is_stmt 1 view .LVU1727
2598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5909 .loc 1 2598 3 view .LVU1728
5910 001a 0023 movs r3, #0
ARM GAS /tmp/ccqCLCUn.s page 198
5911 001c 80F83C30 strb r3, [r0, #60]
2598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5912 .loc 1 2598 3 view .LVU1729
2600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5913 .loc 1 2600 3 view .LVU1730
2600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5914 .loc 1 2600 10 is_stmt 0 view .LVU1731
5915 0020 1846 mov r0, r3
5916 .LVL420:
2600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5917 .loc 1 2600 10 view .LVU1732
5918 0022 7047 bx lr
5919 .LVL421:
5920 .L483:
2594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5921 .loc 1 2594 3 discriminator 1 view .LVU1733
5922 0024 0220 movs r0, #2
5923 .LVL422:
2601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5924 .loc 1 2601 1 view .LVU1734
5925 0026 7047 bx lr
5926 .cfi_endproc
5927 .LFE361:
5929 .section .text.HAL_TIMEx_TISelection,"ax",%progbits
5930 .align 1
5931 .global HAL_TIMEx_TISelection
5932 .syntax unified
5933 .thumb
5934 .thumb_func
5936 HAL_TIMEx_TISelection:
5937 .LVL423:
5938 .LFB362:
2763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
5939 .loc 1 2763 1 is_stmt 1 view -0
5940 .cfi_startproc
5941 @ args = 0, pretend = 0, frame = 0
5942 @ frame_needed = 0, uses_anonymous_args = 0
5943 @ link register save eliminated.
2763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
5944 .loc 1 2763 1 is_stmt 0 view .LVU1736
5945 0000 0346 mov r3, r0
2764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5946 .loc 1 2764 3 is_stmt 1 view .LVU1737
5947 .LVL424:
2767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_TISEL(TISelection));
5948 .loc 1 2767 3 view .LVU1738
2768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5949 .loc 1 2768 3 view .LVU1739
2770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5950 .loc 1 2770 3 view .LVU1740
2770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5951 .loc 1 2770 3 view .LVU1741
5952 0002 90F83C00 ldrb r0, [r0, #60] @ zero_extendqisi2
5953 .LVL425:
2770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5954 .loc 1 2770 3 is_stmt 0 view .LVU1742
5955 0006 0128 cmp r0, #1
ARM GAS /tmp/ccqCLCUn.s page 199
5956 0008 44D0 beq .L494
2770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5957 .loc 1 2770 3 is_stmt 1 discriminator 2 view .LVU1743
5958 000a 0120 movs r0, #1
5959 000c 83F83C00 strb r0, [r3, #60]
2770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5960 .loc 1 2770 3 view .LVU1744
2772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5961 .loc 1 2772 3 view .LVU1745
5962 0010 0C2A cmp r2, #12
5963 0012 3AD8 bhi .L495
5964 0014 DFE802F0 tbb [pc, r2]
5965 .L488:
5966 0018 07 .byte (.L491-.L488)/2
5967 0019 39 .byte (.L495-.L488)/2
5968 001a 39 .byte (.L495-.L488)/2
5969 001b 39 .byte (.L495-.L488)/2
5970 001c 21 .byte (.L490-.L488)/2
5971 001d 39 .byte (.L495-.L488)/2
5972 001e 39 .byte (.L495-.L488)/2
5973 001f 39 .byte (.L495-.L488)/2
5974 0020 29 .byte (.L489-.L488)/2
5975 0021 39 .byte (.L495-.L488)/2
5976 0022 39 .byte (.L495-.L488)/2
5977 0023 39 .byte (.L495-.L488)/2
5978 0024 31 .byte (.L487-.L488)/2
5979 0025 00 .p2align 1
5980 .L491:
2775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5981 .loc 1 2775 7 view .LVU1746
5982 0026 1868 ldr r0, [r3]
5983 0028 C26D ldr r2, [r0, #92]
5984 .LVL426:
2775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5985 .loc 1 2775 7 is_stmt 0 view .LVU1747
5986 002a 22F00F02 bic r2, r2, #15
5987 002e 0A43 orrs r2, r2, r1
5988 0030 C265 str r2, [r0, #92]
2778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5989 .loc 1 2778 7 is_stmt 1 view .LVU1748
2778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5990 .loc 1 2778 11 is_stmt 0 view .LVU1749
5991 0032 1A68 ldr r2, [r3]
2778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5992 .loc 1 2778 10 view .LVU1750
5993 0034 1849 ldr r1, .L496
5994 .LVL427:
2778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5995 .loc 1 2778 10 view .LVU1751
5996 0036 8A42 cmp r2, r1
5997 0038 09D0 beq .L492
2778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5998 .loc 1 2778 11 discriminator 1 view .LVU1752
5999 003a 01F58061 add r1, r1, #1024
6000 003e 8A42 cmp r2, r1
6001 0040 05D0 beq .L492
2784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
ARM GAS /tmp/ccqCLCUn.s page 200
6002 .loc 1 2784 9 is_stmt 1 view .LVU1753
6003 0042 916E ldr r1, [r2, #104]
6004 0044 21F00101 bic r1, r1, #1
6005 0048 9166 str r1, [r2, #104]
2764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6006 .loc 1 2764 21 is_stmt 0 view .LVU1754
6007 004a 0020 movs r0, #0
6008 004c 1EE0 b .L486
6009 .L492:
2780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6010 .loc 1 2780 9 is_stmt 1 view .LVU1755
6011 004e 916E ldr r1, [r2, #104]
6012 0050 41F00101 orr r1, r1, #1
6013 0054 9166 str r1, [r2, #104]
2764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6014 .loc 1 2764 21 is_stmt 0 view .LVU1756
6015 0056 0020 movs r0, #0
2780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6016 .loc 1 2780 9 view .LVU1757
6017 0058 18E0 b .L486
6018 .LVL428:
6019 .L490:
2788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
6020 .loc 1 2788 7 is_stmt 1 view .LVU1758
6021 005a 1868 ldr r0, [r3]
6022 005c C26D ldr r2, [r0, #92]
6023 .LVL429:
2788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
6024 .loc 1 2788 7 is_stmt 0 view .LVU1759
6025 005e 22F47062 bic r2, r2, #3840
6026 0062 0A43 orrs r2, r2, r1
6027 0064 C265 str r2, [r0, #92]
2789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
6028 .loc 1 2789 7 is_stmt 1 view .LVU1760
2764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6029 .loc 1 2764 21 is_stmt 0 view .LVU1761
6030 0066 0020 movs r0, #0
2789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
6031 .loc 1 2789 7 view .LVU1762
6032 0068 10E0 b .L486
6033 .LVL430:
6034 .L489:
2791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
6035 .loc 1 2791 7 is_stmt 1 view .LVU1763
6036 006a 1868 ldr r0, [r3]
6037 006c C26D ldr r2, [r0, #92]
6038 .LVL431:
2791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
6039 .loc 1 2791 7 is_stmt 0 view .LVU1764
6040 006e 22F47022 bic r2, r2, #983040
6041 0072 0A43 orrs r2, r2, r1
6042 0074 C265 str r2, [r0, #92]
2792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4:
6043 .loc 1 2792 7 is_stmt 1 view .LVU1765
2764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6044 .loc 1 2764 21 is_stmt 0 view .LVU1766
6045 0076 0020 movs r0, #0
ARM GAS /tmp/ccqCLCUn.s page 201
2792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4:
6046 .loc 1 2792 7 view .LVU1767
6047 0078 08E0 b .L486
6048 .LVL432:
6049 .L487:
2794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
6050 .loc 1 2794 7 is_stmt 1 view .LVU1768
6051 007a 1868 ldr r0, [r3]
6052 007c C26D ldr r2, [r0, #92]
6053 .LVL433:
2794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
6054 .loc 1 2794 7 is_stmt 0 view .LVU1769
6055 007e 22F07062 bic r2, r2, #251658240
6056 0082 0A43 orrs r2, r2, r1
6057 0084 C265 str r2, [r0, #92]
2795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
6058 .loc 1 2795 7 is_stmt 1 view .LVU1770
2764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6059 .loc 1 2764 21 is_stmt 0 view .LVU1771
6060 0086 0020 movs r0, #0
2795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
6061 .loc 1 2795 7 view .LVU1772
6062 0088 00E0 b .L486
6063 .LVL434:
6064 .L495:
2772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6065 .loc 1 2772 3 view .LVU1773
6066 008a 0120 movs r0, #1
6067 .LVL435:
6068 .L486:
2801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6069 .loc 1 2801 3 is_stmt 1 view .LVU1774
2801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6070 .loc 1 2801 3 view .LVU1775
6071 008c 0022 movs r2, #0
6072 008e 83F83C20 strb r2, [r3, #60]
2801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6073 .loc 1 2801 3 view .LVU1776
2803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6074 .loc 1 2803 3 view .LVU1777
2803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6075 .loc 1 2803 10 is_stmt 0 view .LVU1778
6076 0092 7047 bx lr
6077 .LVL436:
6078 .L494:
2770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6079 .loc 1 2770 3 discriminator 1 view .LVU1779
6080 0094 0220 movs r0, #2
2804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6081 .loc 1 2804 1 view .LVU1780
6082 0096 7047 bx lr
6083 .L497:
6084 .align 2
6085 .L496:
6086 0098 00440140 .word 1073824768
6087 .cfi_endproc
6088 .LFE362:
ARM GAS /tmp/ccqCLCUn.s page 202
6090 .section .text.HAL_TIMEx_GroupChannel5,"ax",%progbits
6091 .align 1
6092 .global HAL_TIMEx_GroupChannel5
6093 .syntax unified
6094 .thumb
6095 .thumb_func
6097 HAL_TIMEx_GroupChannel5:
6098 .LVL437:
6099 .LFB363:
2818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check parameters */
6100 .loc 1 2818 1 is_stmt 1 view -0
6101 .cfi_startproc
6102 @ args = 0, pretend = 0, frame = 0
6103 @ frame_needed = 0, uses_anonymous_args = 0
6104 @ link register save eliminated.
2820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_GROUPCH5(Channels));
6105 .loc 1 2820 3 view .LVU1782
2821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6106 .loc 1 2821 3 view .LVU1783
2824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6107 .loc 1 2824 3 view .LVU1784
2824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6108 .loc 1 2824 3 view .LVU1785
6109 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
6110 0004 012B cmp r3, #1
6111 0006 18D0 beq .L500
2818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check parameters */
6112 .loc 1 2818 1 is_stmt 0 view .LVU1786
6113 0008 10B4 push {r4}
6114 .LCFI48:
6115 .cfi_def_cfa_offset 4
6116 .cfi_offset 4, -4
2824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6117 .loc 1 2824 3 is_stmt 1 discriminator 2 view .LVU1787
6118 000a 0122 movs r2, #1
6119 000c 80F83C20 strb r2, [r0, #60]
2824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6120 .loc 1 2824 3 view .LVU1788
2826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6121 .loc 1 2826 3 view .LVU1789
2826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6122 .loc 1 2826 15 is_stmt 0 view .LVU1790
6123 0010 0223 movs r3, #2
6124 0012 80F83D30 strb r3, [r0, #61]
2829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6125 .loc 1 2829 3 is_stmt 1 view .LVU1791
2829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6126 .loc 1 2829 7 is_stmt 0 view .LVU1792
6127 0016 0468 ldr r4, [r0]
2829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6128 .loc 1 2829 17 view .LVU1793
6129 0018 A36C ldr r3, [r4, #72]
2829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6130 .loc 1 2829 24 view .LVU1794
6131 001a 23F06043 bic r3, r3, #-536870912
6132 001e A364 str r3, [r4, #72]
2832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 203
6133 .loc 1 2832 3 is_stmt 1 view .LVU1795
2832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6134 .loc 1 2832 7 is_stmt 0 view .LVU1796
6135 0020 0468 ldr r4, [r0]
2832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6136 .loc 1 2832 17 view .LVU1797
6137 0022 A36C ldr r3, [r4, #72]
2832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6138 .loc 1 2832 24 view .LVU1798
6139 0024 0B43 orrs r3, r3, r1
6140 0026 A364 str r3, [r4, #72]
2835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6141 .loc 1 2835 3 is_stmt 1 view .LVU1799
2835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6142 .loc 1 2835 15 is_stmt 0 view .LVU1800
6143 0028 80F83D20 strb r2, [r0, #61]
2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6144 .loc 1 2837 3 is_stmt 1 view .LVU1801
2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6145 .loc 1 2837 3 view .LVU1802
6146 002c 0023 movs r3, #0
6147 002e 80F83C30 strb r3, [r0, #60]
2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6148 .loc 1 2837 3 view .LVU1803
2839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6149 .loc 1 2839 3 view .LVU1804
2839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6150 .loc 1 2839 10 is_stmt 0 view .LVU1805
6151 0032 1846 mov r0, r3
6152 .LVL438:
2840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6153 .loc 1 2840 1 view .LVU1806
6154 0034 5DF8044B ldr r4, [sp], #4
6155 .LCFI49:
6156 .cfi_restore 4
6157 .cfi_def_cfa_offset 0
6158 0038 7047 bx lr
6159 .LVL439:
6160 .L500:
2824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6161 .loc 1 2824 3 discriminator 1 view .LVU1807
6162 003a 0220 movs r0, #2
6163 .LVL440:
2840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6164 .loc 1 2840 1 view .LVU1808
6165 003c 7047 bx lr
6166 .cfi_endproc
6167 .LFE363:
6169 .section .text.HAL_TIMEx_DisarmBreakInput,"ax",%progbits
6170 .align 1
6171 .global HAL_TIMEx_DisarmBreakInput
6172 .syntax unified
6173 .thumb
6174 .thumb_func
6176 HAL_TIMEx_DisarmBreakInput:
6177 .LVL441:
6178 .LFB364:
ARM GAS /tmp/ccqCLCUn.s page 204
2856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
6179 .loc 1 2856 1 is_stmt 1 view -0
6180 .cfi_startproc
6181 @ args = 0, pretend = 0, frame = 0
6182 @ frame_needed = 0, uses_anonymous_args = 0
6183 @ link register save eliminated.
2857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr;
6184 .loc 1 2857 3 view .LVU1810
2858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6185 .loc 1 2858 3 view .LVU1811
2861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUT(BreakInput));
6186 .loc 1 2861 3 view .LVU1812
2862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6187 .loc 1 2862 3 view .LVU1813
2864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6188 .loc 1 2864 3 view .LVU1814
6189 0000 0129 cmp r1, #1
6190 0002 03D0 beq .L506
6191 0004 0229 cmp r1, #2
6192 0006 10D0 beq .L507
6193 0008 0120 movs r0, #1
6194 .LVL442:
2864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6195 .loc 1 2864 3 is_stmt 0 view .LVU1815
6196 000a 7047 bx lr
6197 .LVL443:
6198 .L506:
2869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BKBID) == TIM_BDTR_BKBID) &&
6199 .loc 1 2869 7 is_stmt 1 view .LVU1816
2869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BKBID) == TIM_BDTR_BKBID) &&
6200 .loc 1 2869 17 is_stmt 0 view .LVU1817
6201 000c 0268 ldr r2, [r0]
2869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BKBID) == TIM_BDTR_BKBID) &&
6202 .loc 1 2869 15 view .LVU1818
6203 000e 516C ldr r1, [r2, #68]
6204 .LVL444:
2870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U))
6205 .loc 1 2870 7 is_stmt 1 view .LVU1819
2870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U))
6206 .loc 1 2870 65 is_stmt 0 view .LVU1820
6207 0010 0D4B ldr r3, .L513
6208 0012 0B40 ands r3, r3, r1
2870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U))
6209 .loc 1 2870 10 view .LVU1821
6210 0014 B3F1805F cmp r3, #268435456
6211 0018 01D0 beq .L511
2857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr;
6212 .loc 1 2857 21 view .LVU1822
6213 001a 0020 movs r0, #0
6214 .LVL445:
2857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr;
6215 .loc 1 2857 21 view .LVU1823
6216 001c 7047 bx lr
6217 .LVL446:
6218 .L511:
2874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6219 .loc 1 2874 9 is_stmt 1 view .LVU1824
ARM GAS /tmp/ccqCLCUn.s page 205
6220 001e 536C ldr r3, [r2, #68]
6221 0020 43F08063 orr r3, r3, #67108864
6222 0024 5364 str r3, [r2, #68]
2857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr;
6223 .loc 1 2857 21 is_stmt 0 view .LVU1825
6224 0026 0020 movs r0, #0
6225 .LVL447:
2857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr;
6226 .loc 1 2857 21 view .LVU1826
6227 0028 7047 bx lr
6228 .LVL448:
6229 .L507:
2881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BK2BID) == TIM_BDTR_BK2BID) &&
6230 .loc 1 2881 7 is_stmt 1 view .LVU1827
2881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BK2BID) == TIM_BDTR_BK2BID) &&
6231 .loc 1 2881 17 is_stmt 0 view .LVU1828
6232 002a 0268 ldr r2, [r0]
2881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BK2BID) == TIM_BDTR_BK2BID) &&
6233 .loc 1 2881 15 view .LVU1829
6234 002c 516C ldr r1, [r2, #68]
6235 .LVL449:
2882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U))
6236 .loc 1 2882 7 is_stmt 1 view .LVU1830
2882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U))
6237 .loc 1 2882 67 is_stmt 0 view .LVU1831
6238 002e 074B ldr r3, .L513+4
6239 0030 0B40 ands r3, r3, r1
2882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U))
6240 .loc 1 2882 10 view .LVU1832
6241 0032 B3F1005F cmp r3, #536870912
6242 0036 01D0 beq .L512
2857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr;
6243 .loc 1 2857 21 view .LVU1833
6244 0038 0020 movs r0, #0
6245 .LVL450:
2895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6246 .loc 1 2895 3 is_stmt 1 view .LVU1834
2896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6247 .loc 1 2896 1 is_stmt 0 view .LVU1835
6248 003a 7047 bx lr
6249 .LVL451:
6250 .L512:
2886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6251 .loc 1 2886 9 is_stmt 1 view .LVU1836
6252 003c 536C ldr r3, [r2, #68]
6253 003e 43F00063 orr r3, r3, #134217728
6254 0042 5364 str r3, [r2, #68]
2857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr;
6255 .loc 1 2857 21 is_stmt 0 view .LVU1837
6256 0044 0020 movs r0, #0
6257 .LVL452:
2857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr;
6258 .loc 1 2857 21 view .LVU1838
6259 0046 7047 bx lr
6260 .L514:
6261 .align 2
6262 .L513:
ARM GAS /tmp/ccqCLCUn.s page 206
6263 0048 00800010 .word 268468224
6264 004c 00800020 .word 536903680
6265 .cfi_endproc
6266 .LFE364:
6268 .section .text.HAL_TIMEx_ReArmBreakInput,"ax",%progbits
6269 .align 1
6270 .global HAL_TIMEx_ReArmBreakInput
6271 .syntax unified
6272 .thumb
6273 .thumb_func
6275 HAL_TIMEx_ReArmBreakInput:
6276 .LVL453:
6277 .LFB365:
2910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
6278 .loc 1 2910 1 is_stmt 1 view -0
6279 .cfi_startproc
6280 @ args = 0, pretend = 0, frame = 0
6281 @ frame_needed = 0, uses_anonymous_args = 0
2910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
6282 .loc 1 2910 1 is_stmt 0 view .LVU1840
6283 0000 38B5 push {r3, r4, r5, lr}
6284 .LCFI50:
6285 .cfi_def_cfa_offset 16
6286 .cfi_offset 3, -16
6287 .cfi_offset 4, -12
6288 .cfi_offset 5, -8
6289 .cfi_offset 14, -4
6290 0002 0446 mov r4, r0
2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart;
6291 .loc 1 2911 3 is_stmt 1 view .LVU1841
6292 .LVL454:
2912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6293 .loc 1 2912 3 view .LVU1842
2915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUT(BreakInput));
6294 .loc 1 2915 3 view .LVU1843
2916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6295 .loc 1 2916 3 view .LVU1844
2918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6296 .loc 1 2918 3 view .LVU1845
6297 0004 0129 cmp r1, #1
6298 0006 03D0 beq .L516
6299 0008 0229 cmp r1, #2
6300 000a 1ED0 beq .L517
6301 000c 0120 movs r0, #1
6302 .LVL455:
6303 .L518:
2971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6304 .loc 1 2971 1 is_stmt 0 view .LVU1846
6305 000e 38BD pop {r3, r4, r5, pc}
6306 .LVL456:
6307 .L516:
2923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6308 .loc 1 2923 7 is_stmt 1 view .LVU1847
2923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6309 .loc 1 2923 11 is_stmt 0 view .LVU1848
6310 0010 0368 ldr r3, [r0]
6311 0012 5B6C ldr r3, [r3, #68]
ARM GAS /tmp/ccqCLCUn.s page 207
2923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6312 .loc 1 2923 10 view .LVU1849
6313 0014 13F0805F tst r3, #268435456
6314 0018 01D1 bne .L528
2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart;
6315 .loc 1 2911 21 view .LVU1850
6316 001a 0020 movs r0, #0
6317 .LVL457:
2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart;
6318 .loc 1 2911 21 view .LVU1851
6319 001c F7E7 b .L518
6320 .LVL458:
6321 .L528:
2927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** while (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BKDSRM) != 0UL)
6322 .loc 1 2927 9 is_stmt 1 view .LVU1852
2927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** while (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BKDSRM) != 0UL)
6323 .loc 1 2927 21 is_stmt 0 view .LVU1853
6324 001e FFF7FEFF bl HAL_GetTick
6325 .LVL459:
2927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** while (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BKDSRM) != 0UL)
6326 .loc 1 2927 21 view .LVU1854
6327 0022 0546 mov r5, r0
6328 .LVL460:
2928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6329 .loc 1 2928 9 is_stmt 1 view .LVU1855
6330 .L519:
2928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6331 .loc 1 2928 64 view .LVU1856
2928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6332 .loc 1 2928 16 is_stmt 0 view .LVU1857
6333 0024 2368 ldr r3, [r4]
6334 0026 5B6C ldr r3, [r3, #68]
2928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6335 .loc 1 2928 64 view .LVU1858
6336 0028 13F0806F tst r3, #67108864
6337 002c 0BD0 beq .L529
2930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6338 .loc 1 2930 11 is_stmt 1 view .LVU1859
2930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6339 .loc 1 2930 16 is_stmt 0 view .LVU1860
6340 002e FFF7FEFF bl HAL_GetTick
6341 .LVL461:
2930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6342 .loc 1 2930 30 discriminator 1 view .LVU1861
6343 0032 401B subs r0, r0, r5
2930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6344 .loc 1 2930 14 discriminator 1 view .LVU1862
6345 0034 0528 cmp r0, #5
6346 0036 F5D9 bls .L519
2933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6347 .loc 1 2933 13 is_stmt 1 view .LVU1863
2933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6348 .loc 1 2933 17 is_stmt 0 view .LVU1864
6349 0038 2368 ldr r3, [r4]
6350 003a 5B6C ldr r3, [r3, #68]
2933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6351 .loc 1 2933 16 view .LVU1865
ARM GAS /tmp/ccqCLCUn.s page 208
6352 003c 13F0806F tst r3, #67108864
6353 0040 F0D0 beq .L519
2935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6354 .loc 1 2935 22 view .LVU1866
6355 0042 0320 movs r0, #3
6356 0044 E3E7 b .L518
6357 .L529:
2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart;
6358 .loc 1 2911 21 view .LVU1867
6359 0046 0020 movs r0, #0
6360 0048 E1E7 b .L518
6361 .LVL462:
6362 .L517:
2946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6363 .loc 1 2946 7 is_stmt 1 view .LVU1868
2946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6364 .loc 1 2946 11 is_stmt 0 view .LVU1869
6365 004a 0368 ldr r3, [r0]
6366 004c 5B6C ldr r3, [r3, #68]
2946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6367 .loc 1 2946 10 view .LVU1870
6368 004e 13F0005F tst r3, #536870912
6369 0052 01D1 bne .L530
2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart;
6370 .loc 1 2911 21 view .LVU1871
6371 0054 0020 movs r0, #0
6372 .LVL463:
2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart;
6373 .loc 1 2911 21 view .LVU1872
6374 0056 DAE7 b .L518
6375 .LVL464:
6376 .L530:
2950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** while (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BK2DSRM) != 0UL)
6377 .loc 1 2950 9 is_stmt 1 view .LVU1873
2950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** while (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BK2DSRM) != 0UL)
6378 .loc 1 2950 21 is_stmt 0 view .LVU1874
6379 0058 FFF7FEFF bl HAL_GetTick
6380 .LVL465:
2950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** while (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BK2DSRM) != 0UL)
6381 .loc 1 2950 21 view .LVU1875
6382 005c 0546 mov r5, r0
6383 .LVL466:
2951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6384 .loc 1 2951 9 is_stmt 1 view .LVU1876
6385 .L521:
2951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6386 .loc 1 2951 65 view .LVU1877
2951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6387 .loc 1 2951 16 is_stmt 0 view .LVU1878
6388 005e 2368 ldr r3, [r4]
6389 0060 5B6C ldr r3, [r3, #68]
2951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6390 .loc 1 2951 65 view .LVU1879
6391 0062 13F0006F tst r3, #134217728
6392 0066 0BD0 beq .L531
2953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6393 .loc 1 2953 11 is_stmt 1 view .LVU1880
ARM GAS /tmp/ccqCLCUn.s page 209
2953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6394 .loc 1 2953 16 is_stmt 0 view .LVU1881
6395 0068 FFF7FEFF bl HAL_GetTick
6396 .LVL467:
2953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6397 .loc 1 2953 30 discriminator 1 view .LVU1882
6398 006c 401B subs r0, r0, r5
2953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6399 .loc 1 2953 14 discriminator 1 view .LVU1883
6400 006e 0528 cmp r0, #5
6401 0070 F5D9 bls .L521
2956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6402 .loc 1 2956 13 is_stmt 1 view .LVU1884
2956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6403 .loc 1 2956 17 is_stmt 0 view .LVU1885
6404 0072 2368 ldr r3, [r4]
6405 0074 5B6C ldr r3, [r3, #68]
2956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
6406 .loc 1 2956 16 view .LVU1886
6407 0076 13F0006F tst r3, #134217728
6408 007a F0D0 beq .L521
2958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6409 .loc 1 2958 22 view .LVU1887
6410 007c 0320 movs r0, #3
6411 007e C6E7 b .L518
6412 .L531:
2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart;
6413 .loc 1 2911 21 view .LVU1888
6414 0080 0020 movs r0, #0
6415 0082 C4E7 b .L518
6416 .cfi_endproc
6417 .LFE365:
6419 .section .text.HAL_TIMEx_DitheringEnable,"ax",%progbits
6420 .align 1
6421 .global HAL_TIMEx_DitheringEnable
6422 .syntax unified
6423 .thumb
6424 .thumb_func
6426 HAL_TIMEx_DitheringEnable:
6427 .LVL468:
6428 .LFB366:
2993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
6429 .loc 1 2993 1 is_stmt 1 view -0
6430 .cfi_startproc
6431 @ args = 0, pretend = 0, frame = 0
6432 @ frame_needed = 0, uses_anonymous_args = 0
6433 @ link register save eliminated.
2995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6434 .loc 1 2995 3 view .LVU1890
2997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
6435 .loc 1 2997 3 view .LVU1891
6436 0000 0268 ldr r2, [r0]
6437 0002 1368 ldr r3, [r2]
6438 0004 43F48053 orr r3, r3, #4096
6439 0008 1360 str r3, [r2]
2998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6440 .loc 1 2998 3 view .LVU1892
ARM GAS /tmp/ccqCLCUn.s page 210
2999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6441 .loc 1 2999 1 is_stmt 0 view .LVU1893
6442 000a 0020 movs r0, #0
6443 .LVL469:
2999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6444 .loc 1 2999 1 view .LVU1894
6445 000c 7047 bx lr
6446 .cfi_endproc
6447 .LFE366:
6449 .section .text.HAL_TIMEx_DitheringDisable,"ax",%progbits
6450 .align 1
6451 .global HAL_TIMEx_DitheringDisable
6452 .syntax unified
6453 .thumb
6454 .thumb_func
6456 HAL_TIMEx_DitheringDisable:
6457 .LVL470:
6458 .LFB367:
3017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
6459 .loc 1 3017 1 is_stmt 1 view -0
6460 .cfi_startproc
6461 @ args = 0, pretend = 0, frame = 0
6462 @ frame_needed = 0, uses_anonymous_args = 0
6463 @ link register save eliminated.
3019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6464 .loc 1 3019 3 view .LVU1896
3021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
6465 .loc 1 3021 3 view .LVU1897
6466 0000 0268 ldr r2, [r0]
6467 0002 1368 ldr r3, [r2]
6468 0004 23F48053 bic r3, r3, #4096
6469 0008 1360 str r3, [r2]
3022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6470 .loc 1 3022 3 view .LVU1898
3023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6471 .loc 1 3023 1 is_stmt 0 view .LVU1899
6472 000a 0020 movs r0, #0
6473 .LVL471:
3023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6474 .loc 1 3023 1 view .LVU1900
6475 000c 7047 bx lr
6476 .cfi_endproc
6477 .LFE367:
6479 .section .text.HAL_TIMEx_OC_ConfigPulseOnCompare,"ax",%progbits
6480 .align 1
6481 .global HAL_TIMEx_OC_ConfigPulseOnCompare
6482 .syntax unified
6483 .thumb
6484 .thumb_func
6486 HAL_TIMEx_OC_ConfigPulseOnCompare:
6487 .LVL472:
6488 .LFB368:
3037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpecr;
6489 .loc 1 3037 1 is_stmt 1 view -0
6490 .cfi_startproc
6491 @ args = 0, pretend = 0, frame = 0
6492 @ frame_needed = 0, uses_anonymous_args = 0
ARM GAS /tmp/ccqCLCUn.s page 211
6493 @ link register save eliminated.
3037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpecr;
6494 .loc 1 3037 1 is_stmt 0 view .LVU1902
6495 0000 0346 mov r3, r0
3038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6496 .loc 1 3038 3 is_stmt 1 view .LVU1903
3041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_PULSEONCOMPARE_WIDTH(PulseWidth));
6497 .loc 1 3041 3 view .LVU1904
3042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_PULSEONCOMPARE_WIDTHPRESCALER(PulseWidthPrescaler));
6498 .loc 1 3042 3 view .LVU1905
3043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6499 .loc 1 3043 3 view .LVU1906
3046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6500 .loc 1 3046 3 view .LVU1907
3046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6501 .loc 1 3046 3 view .LVU1908
6502 0002 90F83C00 ldrb r0, [r0, #60] @ zero_extendqisi2
6503 .LVL473:
3046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6504 .loc 1 3046 3 is_stmt 0 view .LVU1909
6505 0006 0128 cmp r0, #1
6506 0008 18D0 beq .L536
3037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpecr;
6507 .loc 1 3037 1 view .LVU1910
6508 000a 10B4 push {r4}
6509 .LCFI51:
6510 .cfi_def_cfa_offset 4
6511 .cfi_offset 4, -4
3046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6512 .loc 1 3046 3 is_stmt 1 discriminator 2 view .LVU1911
6513 000c 4FF0010C mov ip, #1
6514 0010 83F83CC0 strb ip, [r3, #60]
3046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6515 .loc 1 3046 3 view .LVU1912
3049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6516 .loc 1 3049 3 view .LVU1913
3049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6517 .loc 1 3049 15 is_stmt 0 view .LVU1914
6518 0014 0220 movs r0, #2
6519 0016 83F83D00 strb r0, [r3, #61]
3052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the Pulse width prescaler and the Pulse width */
6520 .loc 1 3052 3 is_stmt 1 view .LVU1915
3052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the Pulse width prescaler and the Pulse width */
6521 .loc 1 3052 16 is_stmt 0 view .LVU1916
6522 001a 1C68 ldr r4, [r3]
3052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the Pulse width prescaler and the Pulse width */
6523 .loc 1 3052 10 view .LVU1917
6524 001c A06D ldr r0, [r4, #88]
6525 .LVL474:
3054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the Pulse width prescaler and Pulse width*/
6526 .loc 1 3054 3 is_stmt 1 view .LVU1918
3054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the Pulse width prescaler and Pulse width*/
6527 .loc 1 3054 10 is_stmt 0 view .LVU1919
6528 001e 6FF31A40 bfc r0, #16, #11
6529 .LVL475:
3056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpecr |= PulseWidth << TIM_ECR_PW_Pos;
6530 .loc 1 3056 3 is_stmt 1 view .LVU1920
ARM GAS /tmp/ccqCLCUn.s page 212
3056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpecr |= PulseWidth << TIM_ECR_PW_Pos;
6531 .loc 1 3056 10 is_stmt 0 view .LVU1921
6532 0022 40EA0161 orr r1, r0, r1, lsl #24
6533 .LVL476:
3057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Write to TIMx ECR */
6534 .loc 1 3057 3 is_stmt 1 view .LVU1922
3057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Write to TIMx ECR */
6535 .loc 1 3057 10 is_stmt 0 view .LVU1923
6536 0026 41EA0242 orr r2, r1, r2, lsl #16
6537 .LVL477:
3059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6538 .loc 1 3059 3 is_stmt 1 view .LVU1924
3059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6539 .loc 1 3059 23 is_stmt 0 view .LVU1925
6540 002a A265 str r2, [r4, #88]
3062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6541 .loc 1 3062 3 is_stmt 1 view .LVU1926
3062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6542 .loc 1 3062 15 is_stmt 0 view .LVU1927
6543 002c 83F83DC0 strb ip, [r3, #61]
3065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6544 .loc 1 3065 3 is_stmt 1 view .LVU1928
3065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6545 .loc 1 3065 3 view .LVU1929
6546 0030 0020 movs r0, #0
6547 0032 83F83C00 strb r0, [r3, #60]
3065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6548 .loc 1 3065 3 view .LVU1930
3067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6549 .loc 1 3067 3 view .LVU1931
3068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6550 .loc 1 3068 1 is_stmt 0 view .LVU1932
6551 0036 5DF8044B ldr r4, [sp], #4
6552 .LCFI52:
6553 .cfi_restore 4
6554 .cfi_def_cfa_offset 0
6555 003a 7047 bx lr
6556 .LVL478:
6557 .L536:
3046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6558 .loc 1 3046 3 discriminator 1 view .LVU1933
6559 003c 0220 movs r0, #2
3068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6560 .loc 1 3068 1 view .LVU1934
6561 003e 7047 bx lr
6562 .cfi_endproc
6563 .LFE368:
6565 .section .text.HAL_TIMEx_ConfigSlaveModePreload,"ax",%progbits
6566 .align 1
6567 .global HAL_TIMEx_ConfigSlaveModePreload
6568 .syntax unified
6569 .thumb
6570 .thumb_func
6572 HAL_TIMEx_ConfigSlaveModePreload:
6573 .LVL479:
6574 .LFB369:
3080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
ARM GAS /tmp/ccqCLCUn.s page 213
6575 .loc 1 3080 1 is_stmt 1 view -0
6576 .cfi_startproc
6577 @ args = 0, pretend = 0, frame = 0
6578 @ frame_needed = 0, uses_anonymous_args = 0
6579 @ link register save eliminated.
3082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_SLAVE_PRELOAD_SOURCE(Source));
6580 .loc 1 3082 3 view .LVU1936
3083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6581 .loc 1 3083 3 view .LVU1937
3085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
6582 .loc 1 3085 3 view .LVU1938
6583 0000 0268 ldr r2, [r0]
6584 0002 9368 ldr r3, [r2, #8]
6585 0004 23F00073 bic r3, r3, #33554432
6586 0008 0B43 orrs r3, r3, r1
6587 000a 9360 str r3, [r2, #8]
3086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6588 .loc 1 3086 3 view .LVU1939
3087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6589 .loc 1 3087 1 is_stmt 0 view .LVU1940
6590 000c 0020 movs r0, #0
6591 .LVL480:
3087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6592 .loc 1 3087 1 view .LVU1941
6593 000e 7047 bx lr
6594 .cfi_endproc
6595 .LFE369:
6597 .section .text.HAL_TIMEx_EnableSlaveModePreload,"ax",%progbits
6598 .align 1
6599 .global HAL_TIMEx_EnableSlaveModePreload
6600 .syntax unified
6601 .thumb
6602 .thumb_func
6604 HAL_TIMEx_EnableSlaveModePreload:
6605 .LVL481:
6606 .LFB370:
3095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
6607 .loc 1 3095 1 is_stmt 1 view -0
6608 .cfi_startproc
6609 @ args = 0, pretend = 0, frame = 0
6610 @ frame_needed = 0, uses_anonymous_args = 0
6611 @ link register save eliminated.
3097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6612 .loc 1 3097 3 view .LVU1943
3099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
6613 .loc 1 3099 3 view .LVU1944
6614 0000 0268 ldr r2, [r0]
6615 0002 9368 ldr r3, [r2, #8]
6616 0004 43F08073 orr r3, r3, #16777216
6617 0008 9360 str r3, [r2, #8]
3100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6618 .loc 1 3100 3 view .LVU1945
3101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6619 .loc 1 3101 1 is_stmt 0 view .LVU1946
6620 000a 0020 movs r0, #0
6621 .LVL482:
3101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 214
6622 .loc 1 3101 1 view .LVU1947
6623 000c 7047 bx lr
6624 .cfi_endproc
6625 .LFE370:
6627 .section .text.HAL_TIMEx_DisableSlaveModePreload,"ax",%progbits
6628 .align 1
6629 .global HAL_TIMEx_DisableSlaveModePreload
6630 .syntax unified
6631 .thumb
6632 .thumb_func
6634 HAL_TIMEx_DisableSlaveModePreload:
6635 .LVL483:
6636 .LFB371:
3109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
6637 .loc 1 3109 1 is_stmt 1 view -0
6638 .cfi_startproc
6639 @ args = 0, pretend = 0, frame = 0
6640 @ frame_needed = 0, uses_anonymous_args = 0
6641 @ link register save eliminated.
3111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6642 .loc 1 3111 3 view .LVU1949
3113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
6643 .loc 1 3113 3 view .LVU1950
6644 0000 0268 ldr r2, [r0]
6645 0002 9368 ldr r3, [r2, #8]
6646 0004 23F08073 bic r3, r3, #16777216
6647 0008 9360 str r3, [r2, #8]
3114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6648 .loc 1 3114 3 view .LVU1951
3115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6649 .loc 1 3115 1 is_stmt 0 view .LVU1952
6650 000a 0020 movs r0, #0
6651 .LVL484:
3115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6652 .loc 1 3115 1 view .LVU1953
6653 000c 7047 bx lr
6654 .cfi_endproc
6655 .LFE371:
6657 .section .text.HAL_TIMEx_EnableDeadTimePreload,"ax",%progbits
6658 .align 1
6659 .global HAL_TIMEx_EnableDeadTimePreload
6660 .syntax unified
6661 .thumb
6662 .thumb_func
6664 HAL_TIMEx_EnableDeadTimePreload:
6665 .LVL485:
6666 .LFB372:
3123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
6667 .loc 1 3123 1 is_stmt 1 view -0
6668 .cfi_startproc
6669 @ args = 0, pretend = 0, frame = 0
6670 @ frame_needed = 0, uses_anonymous_args = 0
6671 @ link register save eliminated.
3125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6672 .loc 1 3125 3 view .LVU1955
3127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
6673 .loc 1 3127 3 view .LVU1956
ARM GAS /tmp/ccqCLCUn.s page 215
6674 0000 0268 ldr r2, [r0]
6675 0002 536D ldr r3, [r2, #84]
6676 0004 43F40033 orr r3, r3, #131072
6677 0008 5365 str r3, [r2, #84]
3128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6678 .loc 1 3128 3 view .LVU1957
3129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6679 .loc 1 3129 1 is_stmt 0 view .LVU1958
6680 000a 0020 movs r0, #0
6681 .LVL486:
3129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6682 .loc 1 3129 1 view .LVU1959
6683 000c 7047 bx lr
6684 .cfi_endproc
6685 .LFE372:
6687 .section .text.HAL_TIMEx_DisableDeadTimePreload,"ax",%progbits
6688 .align 1
6689 .global HAL_TIMEx_DisableDeadTimePreload
6690 .syntax unified
6691 .thumb
6692 .thumb_func
6694 HAL_TIMEx_DisableDeadTimePreload:
6695 .LVL487:
6696 .LFB373:
3137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
6697 .loc 1 3137 1 is_stmt 1 view -0
6698 .cfi_startproc
6699 @ args = 0, pretend = 0, frame = 0
6700 @ frame_needed = 0, uses_anonymous_args = 0
6701 @ link register save eliminated.
3139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6702 .loc 1 3139 3 view .LVU1961
3141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
6703 .loc 1 3141 3 view .LVU1962
6704 0000 0268 ldr r2, [r0]
6705 0002 536D ldr r3, [r2, #84]
6706 0004 23F40033 bic r3, r3, #131072
6707 0008 5365 str r3, [r2, #84]
3142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6708 .loc 1 3142 3 view .LVU1963
3143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6709 .loc 1 3143 1 is_stmt 0 view .LVU1964
6710 000a 0020 movs r0, #0
6711 .LVL488:
3143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6712 .loc 1 3143 1 view .LVU1965
6713 000c 7047 bx lr
6714 .cfi_endproc
6715 .LFE373:
6717 .section .text.HAL_TIMEx_ConfigDeadTime,"ax",%progbits
6718 .align 1
6719 .global HAL_TIMEx_ConfigDeadTime
6720 .syntax unified
6721 .thumb
6722 .thumb_func
6724 HAL_TIMEx_ConfigDeadTime:
6725 .LVL489:
ARM GAS /tmp/ccqCLCUn.s page 216
6726 .LFB374:
3153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
6727 .loc 1 3153 1 is_stmt 1 view -0
6728 .cfi_startproc
6729 @ args = 0, pretend = 0, frame = 0
6730 @ frame_needed = 0, uses_anonymous_args = 0
6731 @ link register save eliminated.
3155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_DEADTIME(Deadtime));
6732 .loc 1 3155 3 view .LVU1967
3156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6733 .loc 1 3156 3 view .LVU1968
3158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
6734 .loc 1 3158 3 view .LVU1969
6735 0000 0268 ldr r2, [r0]
6736 0002 536C ldr r3, [r2, #68]
6737 0004 23F0FF03 bic r3, r3, #255
6738 0008 0B43 orrs r3, r3, r1
6739 000a 5364 str r3, [r2, #68]
3159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6740 .loc 1 3159 3 view .LVU1970
3160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6741 .loc 1 3160 1 is_stmt 0 view .LVU1971
6742 000c 0020 movs r0, #0
6743 .LVL490:
3160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6744 .loc 1 3160 1 view .LVU1972
6745 000e 7047 bx lr
6746 .cfi_endproc
6747 .LFE374:
6749 .section .text.HAL_TIMEx_ConfigAsymmetricalDeadTime,"ax",%progbits
6750 .align 1
6751 .global HAL_TIMEx_ConfigAsymmetricalDeadTime
6752 .syntax unified
6753 .thumb
6754 .thumb_func
6756 HAL_TIMEx_ConfigAsymmetricalDeadTime:
6757 .LVL491:
6758 .LFB375:
3170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
6759 .loc 1 3170 1 is_stmt 1 view -0
6760 .cfi_startproc
6761 @ args = 0, pretend = 0, frame = 0
6762 @ frame_needed = 0, uses_anonymous_args = 0
6763 @ link register save eliminated.
3172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_DEADTIME(FallingDeadtime));
6764 .loc 1 3172 3 view .LVU1974
3173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6765 .loc 1 3173 3 view .LVU1975
3175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
6766 .loc 1 3175 3 view .LVU1976
6767 0000 0268 ldr r2, [r0]
6768 0002 536D ldr r3, [r2, #84]
6769 0004 23F0FF03 bic r3, r3, #255
6770 0008 0B43 orrs r3, r3, r1
6771 000a 5365 str r3, [r2, #84]
3176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6772 .loc 1 3176 3 view .LVU1977
ARM GAS /tmp/ccqCLCUn.s page 217
3177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6773 .loc 1 3177 1 is_stmt 0 view .LVU1978
6774 000c 0020 movs r0, #0
6775 .LVL492:
3177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6776 .loc 1 3177 1 view .LVU1979
6777 000e 7047 bx lr
6778 .cfi_endproc
6779 .LFE375:
6781 .section .text.HAL_TIMEx_EnableAsymmetricalDeadTime,"ax",%progbits
6782 .align 1
6783 .global HAL_TIMEx_EnableAsymmetricalDeadTime
6784 .syntax unified
6785 .thumb
6786 .thumb_func
6788 HAL_TIMEx_EnableAsymmetricalDeadTime:
6789 .LVL493:
6790 .LFB376:
3185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
6791 .loc 1 3185 1 is_stmt 1 view -0
6792 .cfi_startproc
6793 @ args = 0, pretend = 0, frame = 0
6794 @ frame_needed = 0, uses_anonymous_args = 0
6795 @ link register save eliminated.
3187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6796 .loc 1 3187 3 view .LVU1981
3189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
6797 .loc 1 3189 3 view .LVU1982
6798 0000 0268 ldr r2, [r0]
6799 0002 536D ldr r3, [r2, #84]
6800 0004 43F48033 orr r3, r3, #65536
6801 0008 5365 str r3, [r2, #84]
3190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6802 .loc 1 3190 3 view .LVU1983
3191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6803 .loc 1 3191 1 is_stmt 0 view .LVU1984
6804 000a 0020 movs r0, #0
6805 .LVL494:
3191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6806 .loc 1 3191 1 view .LVU1985
6807 000c 7047 bx lr
6808 .cfi_endproc
6809 .LFE376:
6811 .section .text.HAL_TIMEx_DisableAsymmetricalDeadTime,"ax",%progbits
6812 .align 1
6813 .global HAL_TIMEx_DisableAsymmetricalDeadTime
6814 .syntax unified
6815 .thumb
6816 .thumb_func
6818 HAL_TIMEx_DisableAsymmetricalDeadTime:
6819 .LVL495:
6820 .LFB377:
3199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
6821 .loc 1 3199 1 is_stmt 1 view -0
6822 .cfi_startproc
6823 @ args = 0, pretend = 0, frame = 0
6824 @ frame_needed = 0, uses_anonymous_args = 0
ARM GAS /tmp/ccqCLCUn.s page 218
6825 @ link register save eliminated.
3201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6826 .loc 1 3201 3 view .LVU1987
3203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
6827 .loc 1 3203 3 view .LVU1988
6828 0000 0268 ldr r2, [r0]
6829 0002 536D ldr r3, [r2, #84]
6830 0004 23F48033 bic r3, r3, #65536
6831 0008 5365 str r3, [r2, #84]
3204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6832 .loc 1 3204 3 view .LVU1989
3205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6833 .loc 1 3205 1 is_stmt 0 view .LVU1990
6834 000a 0020 movs r0, #0
6835 .LVL496:
3205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6836 .loc 1 3205 1 view .LVU1991
6837 000c 7047 bx lr
6838 .cfi_endproc
6839 .LFE377:
6841 .section .text.HAL_TIMEx_ConfigEncoderIndex,"ax",%progbits
6842 .align 1
6843 .global HAL_TIMEx_ConfigEncoderIndex
6844 .syntax unified
6845 .thumb
6846 .thumb_func
6848 HAL_TIMEx_ConfigEncoderIndex:
6849 .LVL497:
6850 .LFB378:
3218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
6851 .loc 1 3218 1 is_stmt 1 view -0
6852 .cfi_startproc
6853 @ args = 0, pretend = 0, frame = 0
6854 @ frame_needed = 0, uses_anonymous_args = 0
3218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
6855 .loc 1 3218 1 is_stmt 0 view .LVU1993
6856 0000 38B5 push {r3, r4, r5, lr}
6857 .LCFI53:
6858 .cfi_def_cfa_offset 16
6859 .cfi_offset 3, -16
6860 .cfi_offset 4, -12
6861 .cfi_offset 5, -8
6862 .cfi_offset 14, -4
3220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_POLARITY(sEncoderIndexConfig->Polarity));
6863 .loc 1 3220 3 is_stmt 1 view .LVU1994
3221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_PRESCALER(sEncoderIndexConfig->Prescaler));
6864 .loc 1 3221 3 view .LVU1995
3222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_FILTER(sEncoderIndexConfig->Filter));
6865 .loc 1 3222 3 view .LVU1996
3223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_FUNCTIONAL_STATE(sEncoderIndexConfig->FirstIndexEnable));
6866 .loc 1 3223 3 view .LVU1997
3224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_POSITION(sEncoderIndexConfig->Position));
6867 .loc 1 3224 3 view .LVU1998
3225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_DIRECTION(sEncoderIndexConfig->Direction));
6868 .loc 1 3225 3 view .LVU1999
3226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6869 .loc 1 3226 3 view .LVU2000
ARM GAS /tmp/ccqCLCUn.s page 219
3229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6870 .loc 1 3229 3 view .LVU2001
3229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6871 .loc 1 3229 3 view .LVU2002
6872 0002 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
6873 0006 012B cmp r3, #1
6874 0008 20D0 beq .L553
6875 000a 0546 mov r5, r0
6876 000c 0C46 mov r4, r1
3229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6877 .loc 1 3229 3 discriminator 2 view .LVU2003
6878 000e 0123 movs r3, #1
6879 0010 80F83C30 strb r3, [r0, #60]
3229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6880 .loc 1 3229 3 view .LVU2004
3232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Prescaler,
6881 .loc 1 3232 3 view .LVU2005
6882 0014 8B68 ldr r3, [r1, #8]
6883 0016 0A68 ldr r2, [r1]
6884 0018 4968 ldr r1, [r1, #4]
6885 .LVL498:
3232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Prescaler,
6886 .loc 1 3232 3 is_stmt 0 view .LVU2006
6887 001a 0068 ldr r0, [r0]
6888 .LVL499:
3232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Prescaler,
6889 .loc 1 3232 3 view .LVU2007
6890 001c FFF7FEFF bl TIM_ETR_SetConfig
6891 .LVL500:
3238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ECR_IDIR_Msk | TIM_ECR_FIDX_Msk | TIM_ECR_IPOS_Msk,
6892 .loc 1 3238 3 is_stmt 1 view .LVU2008
6893 0020 2968 ldr r1, [r5]
6894 0022 8B6D ldr r3, [r1, #88]
6895 0024 23F0E603 bic r3, r3, #230
6896 0028 6269 ldr r2, [r4, #20]
6897 002a 207B ldrb r0, [r4, #12] @ zero_extendqisi2
6898 002c 0128 cmp r0, #1
6899 002e 0BD0 beq .L556
3238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ECR_IDIR_Msk | TIM_ECR_FIDX_Msk | TIM_ECR_IPOS_Msk,
6900 .loc 1 3238 3 is_stmt 0 discriminator 2 view .LVU2009
6901 0030 0020 movs r0, #0
6902 .L552:
3238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ECR_IDIR_Msk | TIM_ECR_FIDX_Msk | TIM_ECR_IPOS_Msk,
6903 .loc 1 3238 3 discriminator 4 view .LVU2010
6904 0032 0243 orrs r2, r2, r0
6905 0034 2069 ldr r0, [r4, #16]
6906 0036 0243 orrs r2, r2, r0
6907 0038 1343 orrs r3, r3, r2
6908 003a 43F00103 orr r3, r3, #1
6909 003e 8B65 str r3, [r1, #88]
3245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6910 .loc 1 3245 3 is_stmt 1 view .LVU2011
3245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6911 .loc 1 3245 3 view .LVU2012
6912 0040 0020 movs r0, #0
6913 0042 85F83C00 strb r0, [r5, #60]
3245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 220
6914 .loc 1 3245 3 view .LVU2013
3247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6915 .loc 1 3247 3 view .LVU2014
6916 .LVL501:
6917 .L551:
3248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6918 .loc 1 3248 1 is_stmt 0 view .LVU2015
6919 0046 38BD pop {r3, r4, r5, pc}
6920 .LVL502:
6921 .L556:
3238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ECR_IDIR_Msk | TIM_ECR_FIDX_Msk | TIM_ECR_IPOS_Msk,
6922 .loc 1 3238 3 discriminator 1 view .LVU2016
6923 0048 2020 movs r0, #32
6924 004a F2E7 b .L552
6925 .LVL503:
6926 .L553:
3229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6927 .loc 1 3229 3 discriminator 1 view .LVU2017
6928 004c 0220 movs r0, #2
6929 .LVL504:
3229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6930 .loc 1 3229 3 discriminator 1 view .LVU2018
6931 004e FAE7 b .L551
6932 .cfi_endproc
6933 .LFE378:
6935 .section .text.HAL_TIMEx_EnableEncoderIndex,"ax",%progbits
6936 .align 1
6937 .global HAL_TIMEx_EnableEncoderIndex
6938 .syntax unified
6939 .thumb
6940 .thumb_func
6942 HAL_TIMEx_EnableEncoderIndex:
6943 .LVL505:
6944 .LFB379:
3256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
6945 .loc 1 3256 1 is_stmt 1 view -0
6946 .cfi_startproc
6947 @ args = 0, pretend = 0, frame = 0
6948 @ frame_needed = 0, uses_anonymous_args = 0
6949 @ link register save eliminated.
3258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6950 .loc 1 3258 3 view .LVU2020
3260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
6951 .loc 1 3260 3 view .LVU2021
6952 0000 0268 ldr r2, [r0]
6953 0002 936D ldr r3, [r2, #88]
6954 0004 43F00103 orr r3, r3, #1
6955 0008 9365 str r3, [r2, #88]
3261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6956 .loc 1 3261 3 view .LVU2022
3262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6957 .loc 1 3262 1 is_stmt 0 view .LVU2023
6958 000a 0020 movs r0, #0
6959 .LVL506:
3262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6960 .loc 1 3262 1 view .LVU2024
6961 000c 7047 bx lr
ARM GAS /tmp/ccqCLCUn.s page 221
6962 .cfi_endproc
6963 .LFE379:
6965 .section .text.HAL_TIMEx_DisableEncoderIndex,"ax",%progbits
6966 .align 1
6967 .global HAL_TIMEx_DisableEncoderIndex
6968 .syntax unified
6969 .thumb
6970 .thumb_func
6972 HAL_TIMEx_DisableEncoderIndex:
6973 .LVL507:
6974 .LFB380:
3270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
6975 .loc 1 3270 1 is_stmt 1 view -0
6976 .cfi_startproc
6977 @ args = 0, pretend = 0, frame = 0
6978 @ frame_needed = 0, uses_anonymous_args = 0
6979 @ link register save eliminated.
3272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6980 .loc 1 3272 3 view .LVU2026
3274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
6981 .loc 1 3274 3 view .LVU2027
6982 0000 0268 ldr r2, [r0]
6983 0002 936D ldr r3, [r2, #88]
6984 0004 23F00103 bic r3, r3, #1
6985 0008 9365 str r3, [r2, #88]
3275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6986 .loc 1 3275 3 view .LVU2028
3276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6987 .loc 1 3276 1 is_stmt 0 view .LVU2029
6988 000a 0020 movs r0, #0
6989 .LVL508:
3276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6990 .loc 1 3276 1 view .LVU2030
6991 000c 7047 bx lr
6992 .cfi_endproc
6993 .LFE380:
6995 .section .text.HAL_TIMEx_EnableEncoderFirstIndex,"ax",%progbits
6996 .align 1
6997 .global HAL_TIMEx_EnableEncoderFirstIndex
6998 .syntax unified
6999 .thumb
7000 .thumb_func
7002 HAL_TIMEx_EnableEncoderFirstIndex:
7003 .LVL509:
7004 .LFB381:
3284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
7005 .loc 1 3284 1 is_stmt 1 view -0
7006 .cfi_startproc
7007 @ args = 0, pretend = 0, frame = 0
7008 @ frame_needed = 0, uses_anonymous_args = 0
7009 @ link register save eliminated.
3286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7010 .loc 1 3286 3 view .LVU2032
3288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
7011 .loc 1 3288 3 view .LVU2033
7012 0000 0268 ldr r2, [r0]
7013 0002 936D ldr r3, [r2, #88]
ARM GAS /tmp/ccqCLCUn.s page 222
7014 0004 43F02003 orr r3, r3, #32
7015 0008 9365 str r3, [r2, #88]
3289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
7016 .loc 1 3289 3 view .LVU2034
3290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7017 .loc 1 3290 1 is_stmt 0 view .LVU2035
7018 000a 0020 movs r0, #0
7019 .LVL510:
3290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7020 .loc 1 3290 1 view .LVU2036
7021 000c 7047 bx lr
7022 .cfi_endproc
7023 .LFE381:
7025 .section .text.HAL_TIMEx_DisableEncoderFirstIndex,"ax",%progbits
7026 .align 1
7027 .global HAL_TIMEx_DisableEncoderFirstIndex
7028 .syntax unified
7029 .thumb
7030 .thumb_func
7032 HAL_TIMEx_DisableEncoderFirstIndex:
7033 .LVL511:
7034 .LFB382:
3298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
7035 .loc 1 3298 1 is_stmt 1 view -0
7036 .cfi_startproc
7037 @ args = 0, pretend = 0, frame = 0
7038 @ frame_needed = 0, uses_anonymous_args = 0
7039 @ link register save eliminated.
3300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7040 .loc 1 3300 3 view .LVU2038
3302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
7041 .loc 1 3302 3 view .LVU2039
7042 0000 0268 ldr r2, [r0]
7043 0002 936D ldr r3, [r2, #88]
7044 0004 23F02003 bic r3, r3, #32
7045 0008 9365 str r3, [r2, #88]
3303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
7046 .loc 1 3303 3 view .LVU2040
3304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7047 .loc 1 3304 1 is_stmt 0 view .LVU2041
7048 000a 0020 movs r0, #0
7049 .LVL512:
3304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7050 .loc 1 3304 1 view .LVU2042
7051 000c 7047 bx lr
7052 .cfi_endproc
7053 .LFE382:
7055 .section .text.HAL_TIMEx_CommutCallback,"ax",%progbits
7056 .align 1
7057 .weak HAL_TIMEx_CommutCallback
7058 .syntax unified
7059 .thumb
7060 .thumb_func
7062 HAL_TIMEx_CommutCallback:
7063 .LVL513:
7064 .LFB383:
3332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
ARM GAS /tmp/ccqCLCUn.s page 223
7065 .loc 1 3332 1 is_stmt 1 view -0
7066 .cfi_startproc
7067 @ args = 0, pretend = 0, frame = 0
7068 @ frame_needed = 0, uses_anonymous_args = 0
7069 @ link register save eliminated.
3334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7070 .loc 1 3334 3 view .LVU2044
3339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
7071 .loc 1 3339 1 is_stmt 0 view .LVU2045
7072 0000 7047 bx lr
7073 .cfi_endproc
7074 .LFE383:
7076 .section .text.TIMEx_DMACommutationCplt,"ax",%progbits
7077 .align 1
7078 .global TIMEx_DMACommutationCplt
7079 .syntax unified
7080 .thumb
7081 .thumb_func
7083 TIMEx_DMACommutationCplt:
7084 .LVL514:
7085 .LFB393:
3515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
7086 .loc 1 3515 1 is_stmt 1 view -0
7087 .cfi_startproc
7088 @ args = 0, pretend = 0, frame = 0
7089 @ frame_needed = 0, uses_anonymous_args = 0
3515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
7090 .loc 1 3515 1 is_stmt 0 view .LVU2047
7091 0000 08B5 push {r3, lr}
7092 .LCFI54:
7093 .cfi_def_cfa_offset 8
7094 .cfi_offset 3, -8
7095 .cfi_offset 14, -4
3516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7096 .loc 1 3516 3 is_stmt 1 view .LVU2048
3516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7097 .loc 1 3516 22 is_stmt 0 view .LVU2049
7098 0002 806A ldr r0, [r0, #40]
7099 .LVL515:
3519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7100 .loc 1 3519 3 is_stmt 1 view .LVU2050
3519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7101 .loc 1 3519 15 is_stmt 0 view .LVU2051
7102 0004 0123 movs r3, #1
7103 0006 80F83D30 strb r3, [r0, #61]
3524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
7104 .loc 1 3524 3 is_stmt 1 view .LVU2052
7105 000a FFF7FEFF bl HAL_TIMEx_CommutCallback
7106 .LVL516:
3526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7107 .loc 1 3526 1 is_stmt 0 view .LVU2053
7108 000e 08BD pop {r3, pc}
7109 .cfi_endproc
7110 .LFE393:
7112 .section .text.HAL_TIMEx_CommutHalfCpltCallback,"ax",%progbits
7113 .align 1
7114 .weak HAL_TIMEx_CommutHalfCpltCallback
ARM GAS /tmp/ccqCLCUn.s page 224
7115 .syntax unified
7116 .thumb
7117 .thumb_func
7119 HAL_TIMEx_CommutHalfCpltCallback:
7120 .LVL517:
7121 .LFB384:
3346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
7122 .loc 1 3346 1 is_stmt 1 view -0
7123 .cfi_startproc
7124 @ args = 0, pretend = 0, frame = 0
7125 @ frame_needed = 0, uses_anonymous_args = 0
7126 @ link register save eliminated.
3348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7127 .loc 1 3348 3 view .LVU2055
3353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7128 .loc 1 3353 1 is_stmt 0 view .LVU2056
7129 0000 7047 bx lr
7130 .cfi_endproc
7131 .LFE384:
7133 .section .text.TIMEx_DMACommutationHalfCplt,"ax",%progbits
7134 .align 1
7135 .global TIMEx_DMACommutationHalfCplt
7136 .syntax unified
7137 .thumb
7138 .thumb_func
7140 TIMEx_DMACommutationHalfCplt:
7141 .LVL518:
7142 .LFB394:
3534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
7143 .loc 1 3534 1 is_stmt 1 view -0
7144 .cfi_startproc
7145 @ args = 0, pretend = 0, frame = 0
7146 @ frame_needed = 0, uses_anonymous_args = 0
3534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
7147 .loc 1 3534 1 is_stmt 0 view .LVU2058
7148 0000 08B5 push {r3, lr}
7149 .LCFI55:
7150 .cfi_def_cfa_offset 8
7151 .cfi_offset 3, -8
7152 .cfi_offset 14, -4
3535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7153 .loc 1 3535 3 is_stmt 1 view .LVU2059
3535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7154 .loc 1 3535 22 is_stmt 0 view .LVU2060
7155 0002 806A ldr r0, [r0, #40]
7156 .LVL519:
3538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7157 .loc 1 3538 3 is_stmt 1 view .LVU2061
3538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7158 .loc 1 3538 15 is_stmt 0 view .LVU2062
7159 0004 0123 movs r3, #1
7160 0006 80F83D30 strb r3, [r0, #61]
3543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
7161 .loc 1 3543 3 is_stmt 1 view .LVU2063
7162 000a FFF7FEFF bl HAL_TIMEx_CommutHalfCpltCallback
7163 .LVL520:
3545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccqCLCUn.s page 225
7164 .loc 1 3545 1 is_stmt 0 view .LVU2064
7165 000e 08BD pop {r3, pc}
7166 .cfi_endproc
7167 .LFE394:
7169 .section .text.HAL_TIMEx_BreakCallback,"ax",%progbits
7170 .align 1
7171 .weak HAL_TIMEx_BreakCallback
7172 .syntax unified
7173 .thumb
7174 .thumb_func
7176 HAL_TIMEx_BreakCallback:
7177 .LVL521:
7178 .LFB385:
3361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
7179 .loc 1 3361 1 is_stmt 1 view -0
7180 .cfi_startproc
7181 @ args = 0, pretend = 0, frame = 0
7182 @ frame_needed = 0, uses_anonymous_args = 0
7183 @ link register save eliminated.
3363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7184 .loc 1 3363 3 view .LVU2066
3368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7185 .loc 1 3368 1 is_stmt 0 view .LVU2067
7186 0000 7047 bx lr
7187 .cfi_endproc
7188 .LFE385:
7190 .section .text.HAL_TIMEx_Break2Callback,"ax",%progbits
7191 .align 1
7192 .weak HAL_TIMEx_Break2Callback
7193 .syntax unified
7194 .thumb
7195 .thumb_func
7197 HAL_TIMEx_Break2Callback:
7198 .LVL522:
7199 .LFB386:
3376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
7200 .loc 1 3376 1 is_stmt 1 view -0
7201 .cfi_startproc
7202 @ args = 0, pretend = 0, frame = 0
7203 @ frame_needed = 0, uses_anonymous_args = 0
7204 @ link register save eliminated.
3378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7205 .loc 1 3378 3 view .LVU2069
3383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7206 .loc 1 3383 1 is_stmt 0 view .LVU2070
7207 0000 7047 bx lr
7208 .cfi_endproc
7209 .LFE386:
7211 .section .text.HAL_TIMEx_EncoderIndexCallback,"ax",%progbits
7212 .align 1
7213 .weak HAL_TIMEx_EncoderIndexCallback
7214 .syntax unified
7215 .thumb
7216 .thumb_func
7218 HAL_TIMEx_EncoderIndexCallback:
7219 .LVL523:
7220 .LFB387:
ARM GAS /tmp/ccqCLCUn.s page 226
3391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
7221 .loc 1 3391 1 is_stmt 1 view -0
7222 .cfi_startproc
7223 @ args = 0, pretend = 0, frame = 0
7224 @ frame_needed = 0, uses_anonymous_args = 0
7225 @ link register save eliminated.
3393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7226 .loc 1 3393 3 view .LVU2072
3398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7227 .loc 1 3398 1 is_stmt 0 view .LVU2073
7228 0000 7047 bx lr
7229 .cfi_endproc
7230 .LFE387:
7232 .section .text.HAL_TIMEx_DirectionChangeCallback,"ax",%progbits
7233 .align 1
7234 .weak HAL_TIMEx_DirectionChangeCallback
7235 .syntax unified
7236 .thumb
7237 .thumb_func
7239 HAL_TIMEx_DirectionChangeCallback:
7240 .LVL524:
7241 .LFB388:
3406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
7242 .loc 1 3406 1 is_stmt 1 view -0
7243 .cfi_startproc
7244 @ args = 0, pretend = 0, frame = 0
7245 @ frame_needed = 0, uses_anonymous_args = 0
7246 @ link register save eliminated.
3408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7247 .loc 1 3408 3 view .LVU2075
3413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7248 .loc 1 3413 1 is_stmt 0 view .LVU2076
7249 0000 7047 bx lr
7250 .cfi_endproc
7251 .LFE388:
7253 .section .text.HAL_TIMEx_IndexErrorCallback,"ax",%progbits
7254 .align 1
7255 .weak HAL_TIMEx_IndexErrorCallback
7256 .syntax unified
7257 .thumb
7258 .thumb_func
7260 HAL_TIMEx_IndexErrorCallback:
7261 .LVL525:
7262 .LFB389:
3421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
7263 .loc 1 3421 1 is_stmt 1 view -0
7264 .cfi_startproc
7265 @ args = 0, pretend = 0, frame = 0
7266 @ frame_needed = 0, uses_anonymous_args = 0
7267 @ link register save eliminated.
3423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7268 .loc 1 3423 3 view .LVU2078
3428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7269 .loc 1 3428 1 is_stmt 0 view .LVU2079
7270 0000 7047 bx lr
7271 .cfi_endproc
7272 .LFE389:
ARM GAS /tmp/ccqCLCUn.s page 227
7274 .section .text.HAL_TIMEx_TransitionErrorCallback,"ax",%progbits
7275 .align 1
7276 .weak HAL_TIMEx_TransitionErrorCallback
7277 .syntax unified
7278 .thumb
7279 .thumb_func
7281 HAL_TIMEx_TransitionErrorCallback:
7282 .LVL526:
7283 .LFB390:
3436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
7284 .loc 1 3436 1 is_stmt 1 view -0
7285 .cfi_startproc
7286 @ args = 0, pretend = 0, frame = 0
7287 @ frame_needed = 0, uses_anonymous_args = 0
7288 @ link register save eliminated.
3438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7289 .loc 1 3438 3 view .LVU2081
3443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7290 .loc 1 3443 1 is_stmt 0 view .LVU2082
7291 0000 7047 bx lr
7292 .cfi_endproc
7293 .LFE390:
7295 .section .text.HAL_TIMEx_HallSensor_GetState,"ax",%progbits
7296 .align 1
7297 .global HAL_TIMEx_HallSensor_GetState
7298 .syntax unified
7299 .thumb
7300 .thumb_func
7302 HAL_TIMEx_HallSensor_GetState:
7303 .LVL527:
7304 .LFB391:
3470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return htim->State;
7305 .loc 1 3470 1 is_stmt 1 view -0
7306 .cfi_startproc
7307 @ args = 0, pretend = 0, frame = 0
7308 @ frame_needed = 0, uses_anonymous_args = 0
7309 @ link register save eliminated.
3471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
7310 .loc 1 3471 3 view .LVU2084
3471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
7311 .loc 1 3471 14 is_stmt 0 view .LVU2085
7312 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2
7313 .LVL528:
3472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7314 .loc 1 3472 1 view .LVU2086
7315 0004 7047 bx lr
7316 .cfi_endproc
7317 .LFE391:
7319 .section .text.HAL_TIMEx_GetChannelNState,"ax",%progbits
7320 .align 1
7321 .global HAL_TIMEx_GetChannelNState
7322 .syntax unified
7323 .thumb
7324 .thumb_func
7326 HAL_TIMEx_GetChannelNState:
7327 .LVL529:
7328 .LFB392:
ARM GAS /tmp/ccqCLCUn.s page 228
3486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_state;
7329 .loc 1 3486 1 is_stmt 1 view -0
7330 .cfi_startproc
7331 @ args = 0, pretend = 0, frame = 0
7332 @ frame_needed = 0, uses_anonymous_args = 0
7333 @ link register save eliminated.
3487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7334 .loc 1 3487 3 view .LVU2088
3490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7335 .loc 1 3490 3 view .LVU2089
3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7336 .loc 1 3492 3 view .LVU2090
3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7337 .loc 1 3492 19 is_stmt 0 view .LVU2091
7338 0000 19B9 cbnz r1, .L575
3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7339 .loc 1 3492 19 discriminator 1 view .LVU2092
7340 0002 90F84400 ldrb r0, [r0, #68] @ zero_extendqisi2
7341 .LVL530:
3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7342 .loc 1 3492 19 discriminator 1 view .LVU2093
7343 0006 C0B2 uxtb r0, r0
7344 0008 7047 bx lr
7345 .LVL531:
7346 .L575:
3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7347 .loc 1 3492 19 discriminator 2 view .LVU2094
7348 000a 0429 cmp r1, #4
7349 000c 05D0 beq .L579
3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7350 .loc 1 3492 19 discriminator 5 view .LVU2095
7351 000e 0829 cmp r1, #8
7352 0010 07D0 beq .L580
3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7353 .loc 1 3492 19 discriminator 8 view .LVU2096
7354 0012 90F84700 ldrb r0, [r0, #71] @ zero_extendqisi2
7355 .LVL532:
3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7356 .loc 1 3492 19 discriminator 8 view .LVU2097
7357 0016 C0B2 uxtb r0, r0
7358 .LVL533:
3494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
7359 .loc 1 3494 3 is_stmt 1 view .LVU2098
3495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
7360 .loc 1 3495 1 is_stmt 0 view .LVU2099
7361 0018 7047 bx lr
7362 .LVL534:
7363 .L579:
3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7364 .loc 1 3492 19 discriminator 4 view .LVU2100
7365 001a 90F84500 ldrb r0, [r0, #69] @ zero_extendqisi2
7366 .LVL535:
3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7367 .loc 1 3492 19 discriminator 4 view .LVU2101
7368 001e C0B2 uxtb r0, r0
7369 0020 7047 bx lr
7370 .LVL536:
ARM GAS /tmp/ccqCLCUn.s page 229
7371 .L580:
3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7372 .loc 1 3492 19 discriminator 7 view .LVU2102
7373 0022 90F84600 ldrb r0, [r0, #70] @ zero_extendqisi2
7374 .LVL537:
3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
7375 .loc 1 3492 19 discriminator 7 view .LVU2103
7376 0026 C0B2 uxtb r0, r0
7377 0028 7047 bx lr
7378 .cfi_endproc
7379 .LFE392:
7381 .text
7382 .Letext0:
7383 .file 2 "/home/fra/bin/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi/arm-none-eabi/include/mach
7384 .file 3 "/home/fra/bin/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi/arm-none-eabi/include/sys/
7385 .file 4 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g431xx.h"
7386 .file 5 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g4xx.h"
7387 .file 6 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_def.h"
7388 .file 7 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_dma.h"
7389 .file 8 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_tim.h"
7390 .file 9 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_tim_ex.h"
7391 .file 10 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal.h"
ARM GAS /tmp/ccqCLCUn.s page 230
DEFINED SYMBOLS
*ABS*:00000000 stm32g4xx_hal_tim_ex.c
/tmp/ccqCLCUn.s:21 .text.TIM_CCxNChannelCmd:00000000 $t
/tmp/ccqCLCUn.s:26 .text.TIM_CCxNChannelCmd:00000000 TIM_CCxNChannelCmd
/tmp/ccqCLCUn.s:64 .text.TIM_DMAErrorCCxN:00000000 $t
/tmp/ccqCLCUn.s:69 .text.TIM_DMAErrorCCxN:00000000 TIM_DMAErrorCCxN
/tmp/ccqCLCUn.s:162 .text.TIM_DMADelayPulseNCplt:00000000 $t
/tmp/ccqCLCUn.s:167 .text.TIM_DMADelayPulseNCplt:00000000 TIM_DMADelayPulseNCplt
/tmp/ccqCLCUn.s:287 .text.HAL_TIMEx_HallSensor_MspInit:00000000 $t
/tmp/ccqCLCUn.s:293 .text.HAL_TIMEx_HallSensor_MspInit:00000000 HAL_TIMEx_HallSensor_MspInit
/tmp/ccqCLCUn.s:308 .text.HAL_TIMEx_HallSensor_Init:00000000 $t
/tmp/ccqCLCUn.s:314 .text.HAL_TIMEx_HallSensor_Init:00000000 HAL_TIMEx_HallSensor_Init
/tmp/ccqCLCUn.s:534 .text.HAL_TIMEx_HallSensor_MspDeInit:00000000 $t
/tmp/ccqCLCUn.s:540 .text.HAL_TIMEx_HallSensor_MspDeInit:00000000 HAL_TIMEx_HallSensor_MspDeInit
/tmp/ccqCLCUn.s:555 .text.HAL_TIMEx_HallSensor_DeInit:00000000 $t
/tmp/ccqCLCUn.s:561 .text.HAL_TIMEx_HallSensor_DeInit:00000000 HAL_TIMEx_HallSensor_DeInit
/tmp/ccqCLCUn.s:631 .text.HAL_TIMEx_HallSensor_Start:00000000 $t
/tmp/ccqCLCUn.s:637 .text.HAL_TIMEx_HallSensor_Start:00000000 HAL_TIMEx_HallSensor_Start
/tmp/ccqCLCUn.s:793 .text.HAL_TIMEx_HallSensor_Start:000000b4 $d
/tmp/ccqCLCUn.s:799 .text.HAL_TIMEx_HallSensor_Stop:00000000 $t
/tmp/ccqCLCUn.s:805 .text.HAL_TIMEx_HallSensor_Stop:00000000 HAL_TIMEx_HallSensor_Stop
/tmp/ccqCLCUn.s:864 .text.HAL_TIMEx_HallSensor_Start_IT:00000000 $t
/tmp/ccqCLCUn.s:870 .text.HAL_TIMEx_HallSensor_Start_IT:00000000 HAL_TIMEx_HallSensor_Start_IT
/tmp/ccqCLCUn.s:1034 .text.HAL_TIMEx_HallSensor_Start_IT:000000c0 $d
/tmp/ccqCLCUn.s:1040 .text.HAL_TIMEx_HallSensor_Stop_IT:00000000 $t
/tmp/ccqCLCUn.s:1046 .text.HAL_TIMEx_HallSensor_Stop_IT:00000000 HAL_TIMEx_HallSensor_Stop_IT
/tmp/ccqCLCUn.s:1110 .text.HAL_TIMEx_HallSensor_Start_DMA:00000000 $t
/tmp/ccqCLCUn.s:1116 .text.HAL_TIMEx_HallSensor_Start_DMA:00000000 HAL_TIMEx_HallSensor_Start_DMA
/tmp/ccqCLCUn.s:1310 .text.HAL_TIMEx_HallSensor_Start_DMA:000000d4 $d
/tmp/ccqCLCUn.s:1319 .text.HAL_TIMEx_HallSensor_Stop_DMA:00000000 $t
/tmp/ccqCLCUn.s:1325 .text.HAL_TIMEx_HallSensor_Stop_DMA:00000000 HAL_TIMEx_HallSensor_Stop_DMA
/tmp/ccqCLCUn.s:1390 .text.HAL_TIMEx_OCN_Start:00000000 $t
/tmp/ccqCLCUn.s:1396 .text.HAL_TIMEx_OCN_Start:00000000 HAL_TIMEx_OCN_Start
/tmp/ccqCLCUn.s:1580 .text.HAL_TIMEx_OCN_Start:000000e4 $d
/tmp/ccqCLCUn.s:1586 .text.HAL_TIMEx_OCN_Stop:00000000 $t
/tmp/ccqCLCUn.s:1592 .text.HAL_TIMEx_OCN_Stop:00000000 HAL_TIMEx_OCN_Stop
/tmp/ccqCLCUn.s:1689 .text.HAL_TIMEx_OCN_Start_IT:00000000 $t
/tmp/ccqCLCUn.s:1695 .text.HAL_TIMEx_OCN_Start_IT:00000000 HAL_TIMEx_OCN_Start_IT
/tmp/ccqCLCUn.s:1846 .text.HAL_TIMEx_OCN_Start_IT:000000cc $d
/tmp/ccqCLCUn.s:1859 .text.HAL_TIMEx_OCN_Start_IT:00000100 $t
/tmp/ccqCLCUn.s:1947 .text.HAL_TIMEx_OCN_Start_IT:0000015c $d
/tmp/ccqCLCUn.s:1953 .text.HAL_TIMEx_OCN_Stop_IT:00000000 $t
/tmp/ccqCLCUn.s:1959 .text.HAL_TIMEx_OCN_Stop_IT:00000000 HAL_TIMEx_OCN_Stop_IT
/tmp/ccqCLCUn.s:1985 .text.HAL_TIMEx_OCN_Stop_IT:0000000e $d
/tmp/ccqCLCUn.s:2146 .text.HAL_TIMEx_OCN_Start_DMA:00000000 $t
/tmp/ccqCLCUn.s:2152 .text.HAL_TIMEx_OCN_Start_DMA:00000000 HAL_TIMEx_OCN_Start_DMA
/tmp/ccqCLCUn.s:2398 .text.HAL_TIMEx_OCN_Start_DMA:00000150 $d
/tmp/ccqCLCUn.s:2411 .text.HAL_TIMEx_OCN_Start_DMA:00000184 $t
/tmp/ccqCLCUn.s:2622 .text.HAL_TIMEx_OCN_Start_DMA:00000260 $d
/tmp/ccqCLCUn.s:2631 .text.HAL_TIMEx_OCN_Stop_DMA:00000000 $t
/tmp/ccqCLCUn.s:2637 .text.HAL_TIMEx_OCN_Stop_DMA:00000000 HAL_TIMEx_OCN_Stop_DMA
/tmp/ccqCLCUn.s:2662 .text.HAL_TIMEx_OCN_Stop_DMA:0000000e $d
/tmp/ccqCLCUn.s:2830 .text.HAL_TIMEx_PWMN_Start:00000000 $t
/tmp/ccqCLCUn.s:2836 .text.HAL_TIMEx_PWMN_Start:00000000 HAL_TIMEx_PWMN_Start
/tmp/ccqCLCUn.s:3020 .text.HAL_TIMEx_PWMN_Start:000000e4 $d
/tmp/ccqCLCUn.s:3026 .text.HAL_TIMEx_PWMN_Stop:00000000 $t
/tmp/ccqCLCUn.s:3032 .text.HAL_TIMEx_PWMN_Stop:00000000 HAL_TIMEx_PWMN_Stop
ARM GAS /tmp/ccqCLCUn.s page 231
/tmp/ccqCLCUn.s:3129 .text.HAL_TIMEx_PWMN_Start_IT:00000000 $t
/tmp/ccqCLCUn.s:3135 .text.HAL_TIMEx_PWMN_Start_IT:00000000 HAL_TIMEx_PWMN_Start_IT
/tmp/ccqCLCUn.s:3286 .text.HAL_TIMEx_PWMN_Start_IT:000000cc $d
/tmp/ccqCLCUn.s:3299 .text.HAL_TIMEx_PWMN_Start_IT:00000100 $t
/tmp/ccqCLCUn.s:3387 .text.HAL_TIMEx_PWMN_Start_IT:0000015c $d
/tmp/ccqCLCUn.s:3393 .text.HAL_TIMEx_PWMN_Stop_IT:00000000 $t
/tmp/ccqCLCUn.s:3399 .text.HAL_TIMEx_PWMN_Stop_IT:00000000 HAL_TIMEx_PWMN_Stop_IT
/tmp/ccqCLCUn.s:3425 .text.HAL_TIMEx_PWMN_Stop_IT:0000000e $d
/tmp/ccqCLCUn.s:3586 .text.HAL_TIMEx_PWMN_Start_DMA:00000000 $t
/tmp/ccqCLCUn.s:3592 .text.HAL_TIMEx_PWMN_Start_DMA:00000000 HAL_TIMEx_PWMN_Start_DMA
/tmp/ccqCLCUn.s:3838 .text.HAL_TIMEx_PWMN_Start_DMA:00000150 $d
/tmp/ccqCLCUn.s:3851 .text.HAL_TIMEx_PWMN_Start_DMA:00000184 $t
/tmp/ccqCLCUn.s:4062 .text.HAL_TIMEx_PWMN_Start_DMA:00000260 $d
/tmp/ccqCLCUn.s:4071 .text.HAL_TIMEx_PWMN_Stop_DMA:00000000 $t
/tmp/ccqCLCUn.s:4077 .text.HAL_TIMEx_PWMN_Stop_DMA:00000000 HAL_TIMEx_PWMN_Stop_DMA
/tmp/ccqCLCUn.s:4102 .text.HAL_TIMEx_PWMN_Stop_DMA:0000000e $d
/tmp/ccqCLCUn.s:4270 .text.HAL_TIMEx_OnePulseN_Start:00000000 $t
/tmp/ccqCLCUn.s:4276 .text.HAL_TIMEx_OnePulseN_Start:00000000 HAL_TIMEx_OnePulseN_Start
/tmp/ccqCLCUn.s:4403 .text.HAL_TIMEx_OnePulseN_Stop:00000000 $t
/tmp/ccqCLCUn.s:4409 .text.HAL_TIMEx_OnePulseN_Stop:00000000 HAL_TIMEx_OnePulseN_Stop
/tmp/ccqCLCUn.s:4505 .text.HAL_TIMEx_OnePulseN_Start_IT:00000000 $t
/tmp/ccqCLCUn.s:4511 .text.HAL_TIMEx_OnePulseN_Start_IT:00000000 HAL_TIMEx_OnePulseN_Start_IT
/tmp/ccqCLCUn.s:4648 .text.HAL_TIMEx_OnePulseN_Stop_IT:00000000 $t
/tmp/ccqCLCUn.s:4654 .text.HAL_TIMEx_OnePulseN_Stop_IT:00000000 HAL_TIMEx_OnePulseN_Stop_IT
/tmp/ccqCLCUn.s:4760 .text.HAL_TIMEx_ConfigCommutEvent:00000000 $t
/tmp/ccqCLCUn.s:4766 .text.HAL_TIMEx_ConfigCommutEvent:00000000 HAL_TIMEx_ConfigCommutEvent
/tmp/ccqCLCUn.s:4911 .text.HAL_TIMEx_ConfigCommutEvent:000000a0 $d
/tmp/ccqCLCUn.s:4917 .text.HAL_TIMEx_ConfigCommutEvent_IT:00000000 $t
/tmp/ccqCLCUn.s:4923 .text.HAL_TIMEx_ConfigCommutEvent_IT:00000000 HAL_TIMEx_ConfigCommutEvent_IT
/tmp/ccqCLCUn.s:5068 .text.HAL_TIMEx_ConfigCommutEvent_IT:000000a0 $d
/tmp/ccqCLCUn.s:5074 .text.HAL_TIMEx_ConfigCommutEvent_DMA:00000000 $t
/tmp/ccqCLCUn.s:5080 .text.HAL_TIMEx_ConfigCommutEvent_DMA:00000000 HAL_TIMEx_ConfigCommutEvent_DMA
/tmp/ccqCLCUn.s:5243 .text.HAL_TIMEx_ConfigCommutEvent_DMA:000000b4 $d
/tmp/ccqCLCUn.s:7083 .text.TIMEx_DMACommutationCplt:00000000 TIMEx_DMACommutationCplt
/tmp/ccqCLCUn.s:7140 .text.TIMEx_DMACommutationHalfCplt:00000000 TIMEx_DMACommutationHalfCplt
/tmp/ccqCLCUn.s:5252 .text.HAL_TIMEx_MasterConfigSynchronization:00000000 $t
/tmp/ccqCLCUn.s:5258 .text.HAL_TIMEx_MasterConfigSynchronization:00000000 HAL_TIMEx_MasterConfigSynchronization
/tmp/ccqCLCUn.s:5412 .text.HAL_TIMEx_MasterConfigSynchronization:00000090 $d
/tmp/ccqCLCUn.s:5417 .text.HAL_TIMEx_ConfigBreakDeadTime:00000000 $t
/tmp/ccqCLCUn.s:5423 .text.HAL_TIMEx_ConfigBreakDeadTime:00000000 HAL_TIMEx_ConfigBreakDeadTime
/tmp/ccqCLCUn.s:5608 .text.HAL_TIMEx_ConfigBreakDeadTime:0000009c $d
/tmp/ccqCLCUn.s:5613 .text.HAL_TIMEx_ConfigBreakInput:00000000 $t
/tmp/ccqCLCUn.s:5619 .text.HAL_TIMEx_ConfigBreakInput:00000000 HAL_TIMEx_ConfigBreakInput
/tmp/ccqCLCUn.s:5668 .text.HAL_TIMEx_ConfigBreakInput:0000001e $d
/tmp/ccqCLCUn.s:5684 .text.HAL_TIMEx_ConfigBreakInput:0000002e $t
/tmp/ccqCLCUn.s:5875 .text.HAL_TIMEx_RemapConfig:00000000 $t
/tmp/ccqCLCUn.s:5881 .text.HAL_TIMEx_RemapConfig:00000000 HAL_TIMEx_RemapConfig
/tmp/ccqCLCUn.s:5930 .text.HAL_TIMEx_TISelection:00000000 $t
/tmp/ccqCLCUn.s:5936 .text.HAL_TIMEx_TISelection:00000000 HAL_TIMEx_TISelection
/tmp/ccqCLCUn.s:5966 .text.HAL_TIMEx_TISelection:00000018 $d
/tmp/ccqCLCUn.s:6086 .text.HAL_TIMEx_TISelection:00000098 $d
/tmp/ccqCLCUn.s:6091 .text.HAL_TIMEx_GroupChannel5:00000000 $t
/tmp/ccqCLCUn.s:6097 .text.HAL_TIMEx_GroupChannel5:00000000 HAL_TIMEx_GroupChannel5
/tmp/ccqCLCUn.s:6170 .text.HAL_TIMEx_DisarmBreakInput:00000000 $t
/tmp/ccqCLCUn.s:6176 .text.HAL_TIMEx_DisarmBreakInput:00000000 HAL_TIMEx_DisarmBreakInput
/tmp/ccqCLCUn.s:6263 .text.HAL_TIMEx_DisarmBreakInput:00000048 $d
/tmp/ccqCLCUn.s:6269 .text.HAL_TIMEx_ReArmBreakInput:00000000 $t
ARM GAS /tmp/ccqCLCUn.s page 232
/tmp/ccqCLCUn.s:6275 .text.HAL_TIMEx_ReArmBreakInput:00000000 HAL_TIMEx_ReArmBreakInput
/tmp/ccqCLCUn.s:6420 .text.HAL_TIMEx_DitheringEnable:00000000 $t
/tmp/ccqCLCUn.s:6426 .text.HAL_TIMEx_DitheringEnable:00000000 HAL_TIMEx_DitheringEnable
/tmp/ccqCLCUn.s:6450 .text.HAL_TIMEx_DitheringDisable:00000000 $t
/tmp/ccqCLCUn.s:6456 .text.HAL_TIMEx_DitheringDisable:00000000 HAL_TIMEx_DitheringDisable
/tmp/ccqCLCUn.s:6480 .text.HAL_TIMEx_OC_ConfigPulseOnCompare:00000000 $t
/tmp/ccqCLCUn.s:6486 .text.HAL_TIMEx_OC_ConfigPulseOnCompare:00000000 HAL_TIMEx_OC_ConfigPulseOnCompare
/tmp/ccqCLCUn.s:6566 .text.HAL_TIMEx_ConfigSlaveModePreload:00000000 $t
/tmp/ccqCLCUn.s:6572 .text.HAL_TIMEx_ConfigSlaveModePreload:00000000 HAL_TIMEx_ConfigSlaveModePreload
/tmp/ccqCLCUn.s:6598 .text.HAL_TIMEx_EnableSlaveModePreload:00000000 $t
/tmp/ccqCLCUn.s:6604 .text.HAL_TIMEx_EnableSlaveModePreload:00000000 HAL_TIMEx_EnableSlaveModePreload
/tmp/ccqCLCUn.s:6628 .text.HAL_TIMEx_DisableSlaveModePreload:00000000 $t
/tmp/ccqCLCUn.s:6634 .text.HAL_TIMEx_DisableSlaveModePreload:00000000 HAL_TIMEx_DisableSlaveModePreload
/tmp/ccqCLCUn.s:6658 .text.HAL_TIMEx_EnableDeadTimePreload:00000000 $t
/tmp/ccqCLCUn.s:6664 .text.HAL_TIMEx_EnableDeadTimePreload:00000000 HAL_TIMEx_EnableDeadTimePreload
/tmp/ccqCLCUn.s:6688 .text.HAL_TIMEx_DisableDeadTimePreload:00000000 $t
/tmp/ccqCLCUn.s:6694 .text.HAL_TIMEx_DisableDeadTimePreload:00000000 HAL_TIMEx_DisableDeadTimePreload
/tmp/ccqCLCUn.s:6718 .text.HAL_TIMEx_ConfigDeadTime:00000000 $t
/tmp/ccqCLCUn.s:6724 .text.HAL_TIMEx_ConfigDeadTime:00000000 HAL_TIMEx_ConfigDeadTime
/tmp/ccqCLCUn.s:6750 .text.HAL_TIMEx_ConfigAsymmetricalDeadTime:00000000 $t
/tmp/ccqCLCUn.s:6756 .text.HAL_TIMEx_ConfigAsymmetricalDeadTime:00000000 HAL_TIMEx_ConfigAsymmetricalDeadTime
/tmp/ccqCLCUn.s:6782 .text.HAL_TIMEx_EnableAsymmetricalDeadTime:00000000 $t
/tmp/ccqCLCUn.s:6788 .text.HAL_TIMEx_EnableAsymmetricalDeadTime:00000000 HAL_TIMEx_EnableAsymmetricalDeadTime
/tmp/ccqCLCUn.s:6812 .text.HAL_TIMEx_DisableAsymmetricalDeadTime:00000000 $t
/tmp/ccqCLCUn.s:6818 .text.HAL_TIMEx_DisableAsymmetricalDeadTime:00000000 HAL_TIMEx_DisableAsymmetricalDeadTime
/tmp/ccqCLCUn.s:6842 .text.HAL_TIMEx_ConfigEncoderIndex:00000000 $t
/tmp/ccqCLCUn.s:6848 .text.HAL_TIMEx_ConfigEncoderIndex:00000000 HAL_TIMEx_ConfigEncoderIndex
/tmp/ccqCLCUn.s:6936 .text.HAL_TIMEx_EnableEncoderIndex:00000000 $t
/tmp/ccqCLCUn.s:6942 .text.HAL_TIMEx_EnableEncoderIndex:00000000 HAL_TIMEx_EnableEncoderIndex
/tmp/ccqCLCUn.s:6966 .text.HAL_TIMEx_DisableEncoderIndex:00000000 $t
/tmp/ccqCLCUn.s:6972 .text.HAL_TIMEx_DisableEncoderIndex:00000000 HAL_TIMEx_DisableEncoderIndex
/tmp/ccqCLCUn.s:6996 .text.HAL_TIMEx_EnableEncoderFirstIndex:00000000 $t
/tmp/ccqCLCUn.s:7002 .text.HAL_TIMEx_EnableEncoderFirstIndex:00000000 HAL_TIMEx_EnableEncoderFirstIndex
/tmp/ccqCLCUn.s:7026 .text.HAL_TIMEx_DisableEncoderFirstIndex:00000000 $t
/tmp/ccqCLCUn.s:7032 .text.HAL_TIMEx_DisableEncoderFirstIndex:00000000 HAL_TIMEx_DisableEncoderFirstIndex
/tmp/ccqCLCUn.s:7056 .text.HAL_TIMEx_CommutCallback:00000000 $t
/tmp/ccqCLCUn.s:7062 .text.HAL_TIMEx_CommutCallback:00000000 HAL_TIMEx_CommutCallback
/tmp/ccqCLCUn.s:7077 .text.TIMEx_DMACommutationCplt:00000000 $t
/tmp/ccqCLCUn.s:7113 .text.HAL_TIMEx_CommutHalfCpltCallback:00000000 $t
/tmp/ccqCLCUn.s:7119 .text.HAL_TIMEx_CommutHalfCpltCallback:00000000 HAL_TIMEx_CommutHalfCpltCallback
/tmp/ccqCLCUn.s:7134 .text.TIMEx_DMACommutationHalfCplt:00000000 $t
/tmp/ccqCLCUn.s:7170 .text.HAL_TIMEx_BreakCallback:00000000 $t
/tmp/ccqCLCUn.s:7176 .text.HAL_TIMEx_BreakCallback:00000000 HAL_TIMEx_BreakCallback
/tmp/ccqCLCUn.s:7191 .text.HAL_TIMEx_Break2Callback:00000000 $t
/tmp/ccqCLCUn.s:7197 .text.HAL_TIMEx_Break2Callback:00000000 HAL_TIMEx_Break2Callback
/tmp/ccqCLCUn.s:7212 .text.HAL_TIMEx_EncoderIndexCallback:00000000 $t
/tmp/ccqCLCUn.s:7218 .text.HAL_TIMEx_EncoderIndexCallback:00000000 HAL_TIMEx_EncoderIndexCallback
/tmp/ccqCLCUn.s:7233 .text.HAL_TIMEx_DirectionChangeCallback:00000000 $t
/tmp/ccqCLCUn.s:7239 .text.HAL_TIMEx_DirectionChangeCallback:00000000 HAL_TIMEx_DirectionChangeCallback
/tmp/ccqCLCUn.s:7254 .text.HAL_TIMEx_IndexErrorCallback:00000000 $t
/tmp/ccqCLCUn.s:7260 .text.HAL_TIMEx_IndexErrorCallback:00000000 HAL_TIMEx_IndexErrorCallback
/tmp/ccqCLCUn.s:7275 .text.HAL_TIMEx_TransitionErrorCallback:00000000 $t
/tmp/ccqCLCUn.s:7281 .text.HAL_TIMEx_TransitionErrorCallback:00000000 HAL_TIMEx_TransitionErrorCallback
/tmp/ccqCLCUn.s:7296 .text.HAL_TIMEx_HallSensor_GetState:00000000 $t
/tmp/ccqCLCUn.s:7302 .text.HAL_TIMEx_HallSensor_GetState:00000000 HAL_TIMEx_HallSensor_GetState
/tmp/ccqCLCUn.s:7320 .text.HAL_TIMEx_GetChannelNState:00000000 $t
/tmp/ccqCLCUn.s:7326 .text.HAL_TIMEx_GetChannelNState:00000000 HAL_TIMEx_GetChannelNState
ARM GAS /tmp/ccqCLCUn.s page 233
/tmp/ccqCLCUn.s:1998 .text.HAL_TIMEx_OCN_Stop_IT:0000001b $d
/tmp/ccqCLCUn.s:1998 .text.HAL_TIMEx_OCN_Stop_IT:0000001c $t
/tmp/ccqCLCUn.s:2675 .text.HAL_TIMEx_OCN_Stop_DMA:0000001b $d
/tmp/ccqCLCUn.s:2675 .text.HAL_TIMEx_OCN_Stop_DMA:0000001c $t
/tmp/ccqCLCUn.s:3438 .text.HAL_TIMEx_PWMN_Stop_IT:0000001b $d
/tmp/ccqCLCUn.s:3438 .text.HAL_TIMEx_PWMN_Stop_IT:0000001c $t
/tmp/ccqCLCUn.s:4115 .text.HAL_TIMEx_PWMN_Stop_DMA:0000001b $d
/tmp/ccqCLCUn.s:4115 .text.HAL_TIMEx_PWMN_Stop_DMA:0000001c $t
/tmp/ccqCLCUn.s:5979 .text.HAL_TIMEx_TISelection:00000025 $d
/tmp/ccqCLCUn.s:5979 .text.HAL_TIMEx_TISelection:00000026 $t
UNDEFINED SYMBOLS
HAL_TIM_ErrorCallback
HAL_TIM_PWM_PulseFinishedCallback
TIM_Base_SetConfig
TIM_TI1_SetConfig
TIM_OC2_SetConfig
TIM_CCxChannelCmd
HAL_DMA_Start_IT
TIM_DMACaptureCplt
TIM_DMACaptureHalfCplt
TIM_DMAError
HAL_DMA_Abort_IT
TIM_DMADelayPulseHalfCplt
HAL_GetTick
TIM_ETR_SetConfig