Files
bassofono/codice/build/stm32g4xx_hal_tim_ex.lst
2021-07-03 18:17:05 +02:00

11563 lines
696 KiB
Plaintext
Raw 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/ccuT46mL.s page 1
1 .cpu cortex-m4
2 .eabi_attribute 27, 1
3 .eabi_attribute 28, 1
4 .eabi_attribute 23, 1
5 .eabi_attribute 24, 1
6 .eabi_attribute 25, 1
7 .eabi_attribute 26, 1
8 .eabi_attribute 30, 2
9 .eabi_attribute 34, 1
10 .eabi_attribute 18, 4
11 .file "stm32g4xx_hal_tim_ex.c"
12 .text
13 .Ltext0:
14 .cfi_sections .debug_frame
15 .section .text.TIM_DMAErrorCCxN,"ax",%progbits
16 .align 1
17 .p2align 2,,3
18 .syntax unified
19 .thumb
20 .thumb_func
21 .fpu fpv4-sp-d16
23 TIM_DMAErrorCCxN:
24 .LFB396:
25 .file 1 "Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c"
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 **** @verbatim
17:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
18:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### TIMER Extended features #####
19:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
20:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..]
21:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** The Timer Extended features include:
22:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Complementary outputs with programmable dead-time for :
23:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) Output Compare
24:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) PWM generation (Edge and Center-aligned Mode)
25:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) One-pulse mode output
26:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Synchronization circuit to control the timer with external signals and to
27:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** interconnect several timers together.
28: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.
29:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Supports incremental (quadrature) encoder and hall-sensor circuitry for
30:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** positioning purposes
31:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) In case of Pulse on compare, configure pulse length and delay
32:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Encoder index configuration
33:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccuT46mL.s page 2
34:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### How to use this driver #####
35:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
36:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..]
37:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Initialize the TIM low level resources by implementing the following functions
38:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** depending on the selected feature:
39:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) Hall Sensor output : HAL_TIMEx_HallSensor_MspInit()
40:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
41:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Initialize the TIM low level resources :
42:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (##) Enable the TIM interface clock using __HAL_RCC_TIMx_CLK_ENABLE();
43:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (##) TIM pins configuration
44:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+++) Enable the clock for the TIM GPIOs using the following function:
45:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_RCC_GPIOx_CLK_ENABLE();
46:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+++) Configure these TIM pins in Alternate function mode using HAL_GPIO_Init();
47:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
48:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) The external Clock can be configured, if needed (the default clock is the
49:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** internal clock from the APBx), using the following function:
50:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ConfigClockSource, the clock configuration should be done before
51:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** any start function.
52:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
53:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Configure the TIM in the desired functioning mode using one of the
54:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** initialization function of this driver:
55:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) HAL_TIMEx_HallSensor_Init() and HAL_TIMEx_ConfigCommutEvent(): to use the
56:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Timer Hall Sensor Interface and the commutation event with the corresponding
57:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** Interrupt and DMA request if needed (Note that One Timer is used to interface
58:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** with the Hall sensor Interface and another Timer should be used to use
59:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the commutation event).
60:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) In case of Pulse On Compare:
61:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) HAL_TIMEx_OC_ConfigPulseOnCompare(): to configure pulse width and prescaler
62:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
63:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
64:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (#) Activate the TIM peripheral using one of the start functions:
65:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) Complementary Output Compare : HAL_TIMEx_OCN_Start(), HAL_TIMEx_OCN_Start_DMA(), HA
66:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) Complementary PWM generation : HAL_TIMEx_PWMN_Start(), HAL_TIMEx_PWMN_Start_DMA(),
67:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) Complementary One-pulse mode output : HAL_TIMEx_OnePulseN_Start(), HAL_TIMEx_OnePul
68:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (++) Hall Sensor output : HAL_TIMEx_HallSensor_Start(), HAL_TIMEx_HallSensor_Start_DMA()
69:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
70:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim
71:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ******************************************************************************
72:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @attention
73:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
74:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
75:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * All rights reserved.</center></h2>
76:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
77:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This software component is licensed by ST under BSD 3-Clause license,
78:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * the "License"; You may not use this file except in compliance with the
79:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * License. You may obtain a copy of the License at:
80:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * opensource.org/licenses/BSD-3-Clause
81:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
82:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ******************************************************************************
83:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
84:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
85:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Includes ------------------------------------------------------------------*/
86:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #include "stm32g4xx_hal.h"
87:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
88:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @addtogroup STM32G4xx_HAL_Driver
89:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{
90:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
ARM GAS /tmp/ccuT46mL.s page 3
91:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
92:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx TIMEx
93:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief TIM Extended HAL module driver
94:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{
95:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
96:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
97:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #ifdef HAL_TIM_MODULE_ENABLED
98:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
99:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Private typedef -----------------------------------------------------------*/
100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Private define ------------------------------------------------------------*/
101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Private constants ---------------------------------------------------------*/
102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Private_Constants TIM Extended Private Constants
103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{
104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Timeout for break input rearm */
106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #define TIM_BREAKINPUT_REARM_TIMEOUT 5UL /* 5 milliseconds */
107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @}
109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* End of private constants --------------------------------------------------*/
111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Private macros ------------------------------------------------------------*/
113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Private variables ---------------------------------------------------------*/
114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Private function prototypes -----------------------------------------------*/
115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** static void TIM_DMADelayPulseNCplt(DMA_HandleTypeDef *hdma);
116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** static void TIM_DMAErrorCCxN(DMA_HandleTypeDef *hdma);
117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** static void TIM_CCxNChannelCmd(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ChannelNState);
118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Exported functions --------------------------------------------------------*/
120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions TIM Extended Exported Functions
121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{
122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group1 Extended Timer Hall Sensor functions
125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Timer Hall Sensor functions
126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim
128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Timer Hall Sensor functions #####
130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..]
132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** This section provides functions allowing to:
133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Initialize and configure TIM HAL Sensor.
134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) De-initialize TIM HAL Sensor.
135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Hall Sensor Interface.
136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Hall Sensor Interface.
137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Hall Sensor Interface and enable interrupts.
138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Hall Sensor Interface and disable interrupts.
139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Hall Sensor Interface and enable DMA transfers.
140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Hall Sensor Interface and disable DMA transfers.
141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim
143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{
144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Initializes the TIM Hall Sensor Interface and initialize the associated handle.
147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note When the timer instance is initialized in Hall Sensor Interface mode,
ARM GAS /tmp/ccuT46mL.s page 4
148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * timer channels 1 and channel 2 are reserved and cannot be used for
149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * other purpose.
150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param sConfig TIM Hall Sensor configuration structure
152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Init(TIM_HandleTypeDef *htim, TIM_HallSensor_InitTypeDef *sC
155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_OC_InitTypeDef OC_Config;
157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM handle allocation */
159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (htim == NULL)
160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance));
166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode));
167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision));
168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload));
169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_IC_POLARITY(sConfig->IC1Polarity));
170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->IC1Prescaler));
171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_IC_FILTER(sConfig->IC1Filter));
172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (htim->State == HAL_TIM_STATE_RESET)
174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Allocate lock resource and initialize it */
176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Lock = HAL_UNLOCKED;
177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset interrupt callbacks to legacy week callbacks */
180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ResetCallback(htim);
181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (htim->HallSensor_MspInitCallback == NULL)
183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->HallSensor_MspInitCallback = HAL_TIMEx_HallSensor_MspInit;
185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */
187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->HallSensor_MspInitCallback(htim);
188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else
189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC and DMA */
190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIMEx_HallSensor_MspInit(htim);
191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM state */
195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_BUSY;
196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Configure the Time base in the Encoder Mode */
198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_Base_SetConfig(htim->Instance, &htim->Init);
199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
200: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
201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_TI1_SetConfig(htim->Instance, sConfig->IC1Polarity, TIM_ICSELECTION_TRC, sConfig->IC1Filter);
202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the IC1PSC Bits */
204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CCMR1 &= ~TIM_CCMR1_IC1PSC;
ARM GAS /tmp/ccuT46mL.s page 5
205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the IC1PSC value */
206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CCMR1 |= sConfig->IC1Prescaler;
207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Hall sensor interface (XOR function of the three inputs) */
209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_CR2_TI1S;
210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TIM_TS_TI1F_ED signal as Input trigger for the TIM */
212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS;
213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_TS_TI1F_ED;
214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
215: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 */
216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR &= ~TIM_SMCR_SMS;
217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_RESET;
218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Program channel 2 in PWM 2 mode with the desired Commutation_Delay*/
220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCFastMode = TIM_OCFAST_DISABLE;
221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCIdleState = TIM_OCIDLESTATE_RESET;
222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCMode = TIM_OCMODE_PWM2;
223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCNIdleState = TIM_OCNIDLESTATE_RESET;
224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCNPolarity = TIM_OCNPOLARITY_HIGH;
225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCPolarity = TIM_OCPOLARITY_HIGH;
226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.Pulse = sConfig->Commutation_Delay;
227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_OC2_SetConfig(htim->Instance, &OC_Config);
229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
230: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
231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** register to 101 */
232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 &= ~TIM_CR2_MMS;
233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_TRGO_OC2REF;
234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Initialize the DMA burst operation state */
236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY;
237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Initialize the TIM channels state */
239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Initialize the TIM state*/
245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY;
246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief DeInitializes the TIM Hall Sensor interface
252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_DeInit(TIM_HandleTypeDef *htim)
256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INSTANCE(htim->Instance));
259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_BUSY;
261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccuT46mL.s page 6
262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Peripheral Clock */
263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (htim->HallSensor_MspDeInitCallback == NULL)
267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->HallSensor_MspDeInitCallback = HAL_TIMEx_HallSensor_MspDeInit;
269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* DeInit the low level hardware */
271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->HallSensor_MspDeInitCallback(htim);
272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else
273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC */
274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIMEx_HallSensor_MspDeInit(htim);
275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the DMA burst operation state */
278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_RESET;
279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the TIM channels state */
281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET);
282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET);
283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET);
284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET);
285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change TIM state */
287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_RESET;
288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Release Lock */
290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Initializes the TIM Hall Sensor MSP.
297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_HallSensor_MspInit(TIM_HandleTypeDef *htim)
301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim);
304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_HallSensor_MspInit could be implemented in the user file
307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief DeInitializes TIM Hall Sensor MSP.
312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_HallSensor_MspDeInit(TIM_HandleTypeDef *htim)
316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim);
ARM GAS /tmp/ccuT46mL.s page 7
319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_HallSensor_MspDeInit could be implemented in the user file
322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM Hall Sensor Interface.
327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start(TIM_HandleTypeDef *htim)
331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
335: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
336: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
337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance));
340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM channels state */
342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */
351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Input Capture channel 1
357: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, TIM
358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE);
359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
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 **** }
373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
ARM GAS /tmp/ccuT46mL.s page 8
376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
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 **** * @brief Stops the TIM Hall sensor Interface.
380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop(TIM_HandleTypeDef *htim)
384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance));
387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Input Capture channels 1, 2 and 3
389: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, T
390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE);
391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */
393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */
396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM Hall Sensor Interface in interrupt mode.
407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start_IT(TIM_HandleTypeDef *htim)
411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
415: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
416: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
417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance));
420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM channels state */
422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */
431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
432: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/ccuT46mL.s page 9
433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the capture compare Interrupts 1 event */
437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1);
438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Input Capture channel 1
440: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, T
441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE);
442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM Hall Sensor Interface in interrupt mode.
463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_IT(TIM_HandleTypeDef *htim)
467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance));
470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Input Capture channel 1
472: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, T
473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE);
474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the capture compare Interrupts event */
476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1);
477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */
479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */
482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
ARM GAS /tmp/ccuT46mL.s page 10
490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM Hall Sensor Interface in DMA mode.
493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param pData The destination Buffer address.
495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Length The length of data to be transferred from TIM peripheral to memory.
496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
498: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
499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
502: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
503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance));
506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channel state */
508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY)
509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY))
510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_BUSY;
512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if ((channel_1_state == HAL_TIM_CHANNEL_STATE_READY)
514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY))
515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((pData == NULL) && (Length > 0U))
517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Input Capture channel 1
532: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, T
533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE);
534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA Input Capture 1 Callbacks */
536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMACaptureCplt;
537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ;
540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel for Capture 1*/
542: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
543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */
545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
ARM GAS /tmp/ccuT46mL.s page 11
547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the capture compare 1 Interrupt */
548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1);
549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
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 **** /**
569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM Hall Sensor Interface in DMA mode.
570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_DMA(TIM_HandleTypeDef *htim)
574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance));
577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Input Capture channel 1
579: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, T
580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE);
581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the capture compare Interrupts 1 event */
584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1);
585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */
589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channel state */
592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @}
601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group2 Extended Timer Complementary Output Compare functions
ARM GAS /tmp/ccuT46mL.s page 12
604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Timer Complementary Output Compare functions
605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim
607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Timer Complementary Output Compare functions #####
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 **** This section provides functions allowing to:
612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary Output Compare/PWM.
613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary Output Compare/PWM.
614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary Output Compare/PWM and enable interrupts.
615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary Output Compare/PWM and disable interrupts.
616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary Output Compare/PWM and enable DMA transfers.
617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary Output Compare/PWM and disable DMA transfers.
618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim
620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{
621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM Output Compare signal generation on the complementary
625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * output.
626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Output Compare handle
627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be enabled
628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Start(TIM_HandleTypeDef *htim, uint32_t Channel)
636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM complementary channel state */
643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY)
644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Capture compare channel N */
652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE);
653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */
655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim);
656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
ARM GAS /tmp/ccuT46mL.s page 13
661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
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 **** * @brief Stops the TIM Output Compare signal generation on the complementary
677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * output.
678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled
680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel)
688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Capture compare channel N */
693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE);
694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */
696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim);
697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */
699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM Output Compare signal generation in interrupt mode
710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * on the complementary output.
711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM OC handle
712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be enabled
713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
ARM GAS /tmp/ccuT46mL.s page 14
718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel)
721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM complementary channel state */
728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY)
729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel)
737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare interrupt */
741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1);
742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2:
746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare interrupt */
748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2);
749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare interrupt */
755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC3);
756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4:
761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare interrupt */
763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC4);
764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
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 **** /* Enable the TIM Break interrupt */
772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_BREAK);
773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Capture compare channel N */
ARM GAS /tmp/ccuT46mL.s page 15
775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE);
776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */
778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim);
779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM Output Compare signal generation in interrupt mode
800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * on the complementary output.
801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Output Compare handle
802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled
803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel)
811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpccer;
813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel)
817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare interrupt */
821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1);
822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2:
826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare interrupt */
828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2);
829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccuT46mL.s page 16
832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare interrupt */
835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC3);
836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4:
840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare interrupt */
842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC4);
843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Capture compare channel N */
851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE);
852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Break interrupt (only if no more channel is active) */
854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpccer = htim->Instance->CCER;
855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & (TIM_CCER_CC1NE | TIM_CCER_CC2NE | TIM_CCER_CC3NE | TIM_CCER_CC4NE)) == (uint32_t
856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_BREAK);
858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */
861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim);
862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */
864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM Output Compare signal generation in DMA mode
875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * on the complementary output.
876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Output Compare handle
877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be enabled
878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param pData The source Buffer address.
884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Length The length of data to be transferred from memory to TIM peripheral
885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pDat
888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
ARM GAS /tmp/ccuT46mL.s page 17
889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_BUSY)
896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_BUSY;
898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_READY)
900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((pData == NULL) && (Length > 0U))
902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel)
916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */
920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMADelayPulseNCplt;
921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAErrorCCxN ;
925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */
927: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->
928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */
930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare DMA request */
933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1);
934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2:
938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */
940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMADelayPulseNCplt;
941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAErrorCCxN ;
945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccuT46mL.s page 18
946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */
947: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->
948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */
950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare DMA request */
953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2);
954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */
960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferCpltCallback = TIM_DMADelayPulseNCplt;
961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
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 error callback */
964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferErrorCallback = TIM_DMAErrorCCxN ;
965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */
967: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->
968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */
970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare DMA request */
973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC3);
974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4:
978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */
980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferCpltCallback = TIM_DMADelayPulseNCplt;
981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferErrorCallback = TIM_DMAErrorCCxN ;
985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */
987: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->
988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */
990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Output Compare DMA request */
993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC4);
994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Capture compare channel N */
1002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE);
ARM GAS /tmp/ccuT46mL.s page 19
1003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */
1005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim);
1006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
1008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
1009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
1011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
1012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
1014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
1017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
1019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
1022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
1023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM Output Compare signal generation in DMA mode
1027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * on the complementary output.
1028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Output Compare handle
1029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled
1030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
1032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
1033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
1034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
1035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
1036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel)
1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
1041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel)
1043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
1045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare DMA request */
1047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1);
1048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
1049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
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 **** case TIM_CHANNEL_2:
1053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare DMA request */
1055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2);
1056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]);
1057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccuT46mL.s page 20
1060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
1061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare DMA request */
1063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC3);
1064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]);
1065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4:
1069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Output Compare interrupt */
1071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC4);
1072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]);
1073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Capture compare channel N */
1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE);
1082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */
1084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim);
1085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */
1087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
1088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
1090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
1091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
1093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
1094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @}
1098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group3 Extended Timer Complementary PWM functions
1101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Timer Complementary PWM functions
1102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
1103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim
1104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
1105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Timer Complementary PWM functions #####
1106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
1107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..]
1108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** This section provides functions allowing to:
1109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary PWM.
1110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary PWM.
1111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary PWM and enable interrupts.
1112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary PWM and disable interrupts.
1113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary PWM and enable DMA transfers.
1114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary PWM and disable DMA transfers.
1115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary Input Capture measurement.
1116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary Input Capture.
ARM GAS /tmp/ccuT46mL.s page 21
1117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary Input Capture and enable interrupts.
1118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary Input Capture and disable interrupts.
1119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary Input Capture and enable DMA transfers.
1120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary Input Capture and disable DMA transfers.
1121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary One Pulse generation.
1122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary One Pulse.
1123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary One Pulse and enable interrupts.
1124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary One Pulse and disable interrupts.
1125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim
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 ****
1130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the PWM signal generation on the complementary output.
1132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
1133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be enabled
1134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
1136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
1137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
1138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
1139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
1140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Start(TIM_HandleTypeDef *htim, uint32_t Channel)
1142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
1144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
1147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM complementary channel state */
1149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY)
1150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
1152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
1155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
1156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the complementary PWM output */
1158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE);
1159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */
1161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim);
1162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
1164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
1165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
1167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
1168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
1170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
1173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
ARM GAS /tmp/ccuT46mL.s page 22
1174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
1175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
1178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
1179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the PWM signal generation on the complementary output.
1183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
1184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled
1185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
1187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
1188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
1189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
1190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
1191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel)
1193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
1196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the complementary PWM output */
1198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE);
1199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */
1201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim);
1202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */
1204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
1205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
1207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
1208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
1210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
1211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the PWM signal generation in interrupt mode on the
1215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * complementary output.
1216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
1217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled
1218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
1220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
1221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
1222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
1223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
1224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel)
1226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
1228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
ARM GAS /tmp/ccuT46mL.s page 23
1231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM complementary channel state */
1233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(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 HAL_ERROR;
1236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
1239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
1240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel)
1242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
1244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 1 interrupt */
1246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1);
1247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2:
1251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 2 interrupt */
1253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2);
1254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
1258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 3 interrupt */
1260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC3);
1261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4:
1265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 4 interrupt */
1267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC4);
1268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
1272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Break interrupt */
1276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_BREAK);
1277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the complementary PWM output */
1279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE);
1280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */
1282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim);
1283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
1285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
1286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
ARM GAS /tmp/ccuT46mL.s page 24
1288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
1289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
1291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
1294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
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 **** /* Return function status */
1299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
1300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
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 **** * @brief Stops the PWM signal generation in interrupt mode on the
1304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * complementary output.
1305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
1306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled
1307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
1309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
1310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
1311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
1312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
1313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel)
1315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpccer;
1317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
1320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel)
1322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
1324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 1 interrupt */
1326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1);
1327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2:
1331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 2 interrupt */
1333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2);
1334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
1338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 3 interrupt */
1340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC3);
1341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4:
ARM GAS /tmp/ccuT46mL.s page 25
1345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 4 interrupt */
1347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC4);
1348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
1352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the complementary PWM output */
1356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE);
1357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Break interrupt (only if no more channel is active) */
1359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpccer = htim->Instance->CCER;
1360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & (TIM_CCER_CC1NE | TIM_CCER_CC2NE | TIM_CCER_CC3NE | TIM_CCER_CC4NE)) == (uint32_t
1361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_BREAK);
1363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */
1366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim);
1367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */
1369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
1370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
1372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
1373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
1375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
1376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM PWM signal generation in DMA mode on the
1380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * complementary output
1381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
1382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be enabled
1383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
1385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
1386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
1387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
1388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param pData The source Buffer address.
1389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Length The length of data to be transferred from memory to TIM peripheral
1390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
1391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pDa
1393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
1395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
1398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
1400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_BUSY)
1401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
ARM GAS /tmp/ccuT46mL.s page 26
1402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_BUSY;
1403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_READY)
1405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((pData == NULL) && (Length > 0U))
1407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
1409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
1411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
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 **** else
1416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
1418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel)
1421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
1423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */
1425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMADelayPulseNCplt;
1426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
1427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
1429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAErrorCCxN ;
1430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */
1432: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->
1433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */
1435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
1436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 1 DMA request */
1438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1);
1439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2:
1443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */
1445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMADelayPulseNCplt;
1446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
1447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
1449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAErrorCCxN ;
1450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */
1452: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->
1453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */
1455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
1456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 2 DMA request */
1458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2);
ARM GAS /tmp/ccuT46mL.s page 27
1459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
1463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */
1465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferCpltCallback = TIM_DMADelayPulseNCplt;
1466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
1467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
1469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferErrorCallback = TIM_DMAErrorCCxN ;
1470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */
1472: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->
1473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return error status */
1475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
1476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 3 DMA request */
1478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC3);
1479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4:
1483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */
1485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferCpltCallback = TIM_DMADelayPulseNCplt;
1486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
1487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
1489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferErrorCallback = TIM_DMAErrorCCxN ;
1490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the DMA channel */
1492: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->
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 4 DMA request */
1498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC4);
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 **** default:
1503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the complementary PWM output */
1507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE);
1508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */
1510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim);
1511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
1513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
1514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
ARM GAS /tmp/ccuT46mL.s page 28
1516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
1517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
1519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
1522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
1524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
1527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
1528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM PWM signal generation in DMA mode on the complementary
1532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * output
1533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
1534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled
1535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
1537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
1538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
1539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
1540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
1541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel)
1543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
1546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel)
1548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
1550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 1 DMA request */
1552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1);
1553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
1554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2:
1558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 2 DMA request */
1560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2);
1561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]);
1562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
1566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 3 DMA request */
1568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC3);
1569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]);
1570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccuT46mL.s page 29
1573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4:
1574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 4 DMA request */
1576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC4);
1577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]);
1578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
1582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the complementary PWM output */
1586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE);
1587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */
1589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim);
1590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */
1592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
1593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
1595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
1596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
1598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
1599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @}
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 **** /** @defgroup TIMEx_Exported_Functions_Group4 Extended Timer Complementary One Pulse functions
1606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Timer Complementary One Pulse functions
1607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
1608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim
1609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
1610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Timer Complementary One Pulse functions #####
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 **** This section provides functions allowing to:
1614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary One Pulse generation.
1615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary One Pulse.
1616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Start the Complementary One Pulse and enable interrupts.
1617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Stop the Complementary One Pulse and disable interrupts.
1618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim
1620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{
1621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM One Pulse signal generation on the complementary
1625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * output.
1626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note OutputChannel must match the pulse output channel chosen when calling
1627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @ref HAL_TIM_OnePulse_ConfigChannel().
1628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM One Pulse handle
1629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param OutputChannel pulse output channel to enable
ARM GAS /tmp/ccuT46mL.s page 30
1630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
1632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
1633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
1634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start(TIM_HandleTypeDef *htim, uint32_t OutputChannel)
1636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
1638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
1639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
1640: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
1641: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
1642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, OutputChannel));
1645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM channels state */
1647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
1648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
1649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
1650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
1651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
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 **** /* Set the TIM channels state */
1656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
1657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
1658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
1659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
1660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the complementary One Pulse output channel and the Input Capture channel */
1662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, OutputChannel, TIM_CCxN_ENABLE);
1663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE);
1664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */
1666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim);
1667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
1669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
1670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM One Pulse signal generation on the complementary
1674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * output.
1675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note OutputChannel must match the pulse output channel chosen when calling
1676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @ref HAL_TIM_OnePulse_ConfigChannel().
1677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM One Pulse handle
1678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param OutputChannel pulse output channel to disable
1679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
1681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
1682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
1683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop(TIM_HandleTypeDef *htim, uint32_t OutputChannel)
1685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1686: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/ccuT46mL.s page 31
1687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, OutputChannel));
1690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the complementary One Pulse output channel and the Input Capture channel */
1692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, OutputChannel, TIM_CCxN_DISABLE);
1693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_DISABLE);
1694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */
1696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim);
1697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */
1699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
1700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */
1702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
1703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
1704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
1705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
1706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
1708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Starts the TIM One Pulse signal generation in interrupt mode on the
1713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * complementary channel.
1714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note OutputChannel must match the pulse output channel chosen when calling
1715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @ref HAL_TIM_OnePulse_ConfigChannel().
1716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM One Pulse handle
1717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param OutputChannel pulse output channel to enable
1718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
1720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
1721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
1722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel)
1724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
1726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
1727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
1728: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
1729: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
1730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, OutputChannel));
1733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the TIM channels state */
1735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
1736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
1737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
1738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
1739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_ERROR;
1741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */
ARM GAS /tmp/ccuT46mL.s page 32
1744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
1745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
1747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
1748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 1 interrupt */
1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1);
1751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 2 interrupt */
1753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2);
1754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the complementary One Pulse output channel and the Input Capture channel */
1756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, OutputChannel, TIM_CCxN_ENABLE);
1757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE);
1758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Main Output */
1760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim);
1761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
1763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
1764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Stops the TIM One Pulse signal generation in interrupt mode on the
1768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * complementary channel.
1769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note OutputChannel must match the pulse output channel chosen when calling
1770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @ref HAL_TIM_OnePulse_ConfigChannel().
1771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM One Pulse handle
1772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param OutputChannel pulse output channel to disable
1773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
1775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
1776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
1777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel)
1779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
1781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, OutputChannel));
1784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 1 interrupt */
1786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1);
1787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 2 interrupt */
1789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2);
1790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the complementary One Pulse output channel and the Input Capture channel */
1792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, OutputChannel, TIM_CCxN_DISABLE);
1793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_DISABLE);
1794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Main Output */
1796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim);
1797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable the Peripheral */
1799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
1800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccuT46mL.s page 33
1801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM channels state */
1802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
1803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
1804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
1805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
1806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Return function status */
1808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
1809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @}
1813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group5 Extended Peripheral Control functions
1816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Peripheral Control functions
1817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
1818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim
1819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
1820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Peripheral Control functions #####
1821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
1822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..]
1823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** This section provides functions allowing to:
1824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure the commutation event in case of use of the Hall sensor interface.
1825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure Output channels for OC and PWM mode.
1826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure Complementary channels, break features and dead time.
1828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure Master synchronization.
1829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure timer remapping capabilities.
1830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Select timer input source.
1831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Enable or disable channel grouping.
1832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure Pulse on compare.
1833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Configure Encoder index.
1834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim
1836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{
1837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configure the TIM commutation event sequence.
1841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note This function is mandatory to use the commutation event in order to
1842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * update the configuration at each commutation detection on the TRGI input of the Timer,
1843: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)
1844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * configured in Hall sensor interface, this interface Timer will generate the
1845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * commutation at its TRGO output (connected to Timer used in this function) each time
1846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * the TI1 of the Interface Timer detect a commutation at its input TI1.
1847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
1848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param InputTrigger the Internal trigger corresponding to the Timer Interfacing with the Hall
1849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR0: Internal trigger 0 selected
1851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR1: Internal trigger 1 selected
1852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR2: Internal trigger 2 selected
1853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR3: Internal trigger 3 selected
1854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR4: Internal trigger 4 selected (*)
1855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR5: Internal trigger 5 selected
1856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR6: Internal trigger 6 selected
1857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR7: Internal trigger 7 selected
ARM GAS /tmp/ccuT46mL.s page 34
1858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR8: Internal trigger 8 selected
1859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR9: Internal trigger 9 selected (*)
1860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR10: Internal trigger 10 selected
1861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR11: Internal trigger 11 selected
1862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_NONE: No trigger is needed
1863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
1864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (*) Value not defined in all devices.
1865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
1866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param CommutationSource the Commutation Event source
1867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_TRGI: Commutation source is the TRGI of the Interface Timer
1869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_SOFTWARE: Commutation source is set by software using the COMG
1870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
1871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent(TIM_HandleTypeDef *htim, uint32_t InputTrigger,
1873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t CommutationSource)
1874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_COMMUTATION_EVENT_INSTANCE(htim->Instance));
1877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_INSTANCE(htim->Instance, InputTrigger));
1878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim);
1880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined(TIM5) && defined(TIM20)
1882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
1883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
1884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR4) || (InputTrigger == TIM_TS_ITR5) ||
1885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR6) || (InputTrigger == TIM_TS_ITR7) ||
1886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR8) || (InputTrigger == TIM_TS_ITR9) ||
1887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR10) || (InputTrigger == TIM_TS_ITR11))
1888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #elif defined(TIM5)
1889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
1890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
1891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR4) || (InputTrigger == TIM_TS_ITR5) ||
1892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR6) || (InputTrigger == TIM_TS_ITR7) ||
1893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR8) || (InputTrigger == TIM_TS_ITR11))
1894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #elif defined(TIM20)
1895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
1896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
1897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) ||
1898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) ||
1899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR9) || (InputTrigger == TIM_TS_ITR11))
1900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else
1901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
1902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
1903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) ||
1904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) ||
1905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR11))
1906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* TIM5 && TIM20 */
1907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Input trigger */
1909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS;
1910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
1911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Capture Compare preload feature */
1914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_CR2_CCPC;
ARM GAS /tmp/ccuT46mL.s page 35
1915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */
1916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 &= ~TIM_CR2_CCUS;
1917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
1918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable Commutation Interrupt */
1920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_COM);
1921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable Commutation DMA request */
1923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_COM);
1924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
1926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
1928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
1931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configure the TIM commutation event sequence with interrupt.
1932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note This function is mandatory to use the commutation event in order to
1933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * update the configuration at each commutation detection on the TRGI input of the Timer,
1934: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)
1935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * configured in Hall sensor interface, this interface Timer will generate the
1936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * commutation at its TRGO output (connected to Timer used in this function) each time
1937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * the TI1 of the Interface Timer detect a commutation at its input TI1.
1938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
1939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param InputTrigger the Internal trigger corresponding to the Timer Interfacing with the Hall
1940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR0: Internal trigger 0 selected
1942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR1: Internal trigger 1 selected
1943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR2: Internal trigger 2 selected
1944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR3: Internal trigger 3 selected
1945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR4: Internal trigger 4 selected (*)
1946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR5: Internal trigger 5 selected
1947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR6: Internal trigger 6 selected
1948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR7: Internal trigger 7 selected
1949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR8: Internal trigger 8 selected
1950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR9: Internal trigger 9 selected (*)
1951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR10: Internal trigger 10 selected
1952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR11: Internal trigger 11 selected
1953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_NONE: No trigger is needed
1954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
1955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (*) Value not defined in all devices.
1956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
1957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param CommutationSource the Commutation Event source
1958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
1959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_TRGI: Commutation source is the TRGI of the Interface Timer
1960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_SOFTWARE: Commutation source is set by software using the COMG
1961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
1962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
1963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent_IT(TIM_HandleTypeDef *htim, uint32_t InputTrigger,
1964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t CommutationSource)
1965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_COMMUTATION_EVENT_INSTANCE(htim->Instance));
1968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_INSTANCE(htim->Instance, InputTrigger));
1969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim);
1971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccuT46mL.s page 36
1972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined(TIM5) && defined(TIM20)
1973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
1974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
1975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR4) || (InputTrigger == TIM_TS_ITR5) ||
1976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR6) || (InputTrigger == TIM_TS_ITR7) ||
1977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR8) || (InputTrigger == TIM_TS_ITR9) ||
1978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR10) || (InputTrigger == TIM_TS_ITR11))
1979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #elif defined(TIM5)
1980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
1981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
1982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR4) || (InputTrigger == TIM_TS_ITR5) ||
1983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR6) || (InputTrigger == TIM_TS_ITR7) ||
1984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR8) || (InputTrigger == TIM_TS_ITR11))
1985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #elif defined(TIM20)
1986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
1987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
1988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) ||
1989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) ||
1990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR9) || (InputTrigger == TIM_TS_ITR11))
1991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else
1992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
1993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
1994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) ||
1995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) ||
1996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR11))
1997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* TIM5 && TIM20 */
1998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Input trigger */
2000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS;
2001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
2002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Capture Compare preload feature */
2005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_CR2_CCPC;
2006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */
2007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 &= ~TIM_CR2_CCUS;
2008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
2009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable Commutation DMA request */
2011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_COM);
2012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Commutation Interrupt */
2014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_COM);
2015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
2017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
2019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
2022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configure the TIM commutation event sequence with DMA.
2023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note This function is mandatory to use the commutation event in order to
2024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * update the configuration at each commutation detection on the TRGI input of the Timer,
2025: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)
2026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * configured in Hall sensor interface, this interface Timer will generate the
2027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * commutation at its TRGO output (connected to Timer used in this function) each time
2028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * the TI1 of the Interface Timer detect a commutation at its input TI1.
ARM GAS /tmp/ccuT46mL.s page 37
2029: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
2030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
2031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param InputTrigger the Internal trigger corresponding to the Timer Interfacing with the Hall
2032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
2033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR0: Internal trigger 0 selected
2034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR1: Internal trigger 1 selected
2035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR2: Internal trigger 2 selected
2036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR3: Internal trigger 3 selected
2037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR4: Internal trigger 4 selected (*)
2038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR5: Internal trigger 5 selected
2039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR6: Internal trigger 6 selected
2040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR7: Internal trigger 7 selected
2041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR8: Internal trigger 8 selected
2042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR9: Internal trigger 9 selected (*)
2043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR10: Internal trigger 10 selected
2044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_ITR11: Internal trigger 11 selected
2045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TS_NONE: No trigger is needed
2046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (*) Value not defined in all devices.
2048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param CommutationSource the Commutation Event source
2050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
2051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_TRGI: Commutation source is the TRGI of the Interface Timer
2052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_SOFTWARE: Commutation source is set by software using the COMG
2053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
2054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
2055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent_DMA(TIM_HandleTypeDef *htim, uint32_t InputTrigger,
2056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t CommutationSource)
2057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
2059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_COMMUTATION_EVENT_INSTANCE(htim->Instance));
2060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_INSTANCE(htim->Instance, InputTrigger));
2061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim);
2063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined(TIM5) && defined(TIM20)
2065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
2066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
2067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR4) || (InputTrigger == TIM_TS_ITR5) ||
2068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR6) || (InputTrigger == TIM_TS_ITR7) ||
2069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR8) || (InputTrigger == TIM_TS_ITR9) ||
2070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR10) || (InputTrigger == TIM_TS_ITR11))
2071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #elif defined(TIM5)
2072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
2073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
2074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR4) || (InputTrigger == TIM_TS_ITR5) ||
2075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR6) || (InputTrigger == TIM_TS_ITR7) ||
2076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR8) || (InputTrigger == TIM_TS_ITR11))
2077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #elif defined(TIM20)
2078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
2079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
2080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) ||
2081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) ||
2082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR9) || (InputTrigger == TIM_TS_ITR11))
2083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else
2084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
2085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
ARM GAS /tmp/ccuT46mL.s page 38
2086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) ||
2087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) ||
2088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR11))
2089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* TIM5 && TIM20 */
2090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Input trigger */
2092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS;
2093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
2094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Capture Compare preload feature */
2097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_CR2_CCPC;
2098:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */
2099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 &= ~TIM_CR2_CCUS;
2100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
2101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Commutation DMA Request */
2103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA Commutation Callback */
2104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferCpltCallback = TIMEx_DMACommutationCplt;
2105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt;
2106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
2107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferErrorCallback = TIM_DMAError;
2108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Disable Commutation Interrupt */
2110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_COM);
2111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the Commutation DMA Request */
2113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_COM);
2114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
2116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
2118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
2121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configures the TIM in master mode.
2122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle.
2123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param sMasterConfig pointer to a TIM_MasterConfigTypeDef structure that
2124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * contains the selected trigger output (TRGO) and the Master/Slave
2125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * mode.
2126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
2127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
2128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_MasterConfigSynchronization(TIM_HandleTypeDef *htim,
2129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_MasterConfigTypeDef *sMasterConfig)
2130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpcr2;
2132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
2133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
2135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_MASTER_INSTANCE(htim->Instance));
2136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_TRGO_SOURCE(sMasterConfig->MasterOutputTrigger));
2137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_MSM_STATE(sMasterConfig->MasterSlaveMode));
2138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check input state */
2140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim);
2141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the handler state */
ARM GAS /tmp/ccuT46mL.s page 39
2143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_BUSY;
2144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Get the TIMx CR2 register value */
2146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpcr2 = htim->Instance->CR2;
2147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Get the TIMx SMCR register value */
2149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR;
2150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* If the timer supports ADC synchronization through TRGO2, set the master mode selection 2 */
2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_TRGO2_INSTANCE(htim->Instance))
2153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
2155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_TRGO2_SOURCE(sMasterConfig->MasterOutputTrigger2));
2156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Clear the MMS2 bits */
2158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpcr2 &= ~TIM_CR2_MMS2;
2159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO2 source*/
2160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpcr2 |= sMasterConfig->MasterOutputTrigger2;
2161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the MMS Bits */
2164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpcr2 &= ~TIM_CR2_MMS;
2165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO source */
2166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpcr2 |= sMasterConfig->MasterOutputTrigger;
2167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Update TIMx CR2 */
2169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 = tmpcr2;
2170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
2172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the MSM Bit */
2174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr &= ~TIM_SMCR_MSM;
2175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set master mode */
2176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpsmcr |= sMasterConfig->MasterSlaveMode;
2177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Update TIMx SMCR */
2179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR = tmpsmcr;
2180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the htim state */
2183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY;
2184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
2186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
2188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
2191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configures the Break feature, dead time, Lock level, OSSI/OSSR State
2192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * and the AOE(automatic output enable).
2193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
2194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param sBreakDeadTimeConfig pointer to a TIM_ConfigBreakDeadConfigTypeDef structure that
2195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * contains the BDTR Register configuration information for the TIM peripheral.
2196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Interrupts can be generated when an active level is detected on the
2197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * break input, the break 2 input or the system break input. Break
2198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * interrupt can be enabled by calling the @ref __HAL_TIM_ENABLE_IT macro.
2199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
ARM GAS /tmp/ccuT46mL.s page 40
2200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
2201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigBreakDeadTime(TIM_HandleTypeDef *htim,
2202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_BreakDeadTimeConfigTypeDef *sBreakDeadTimeConfi
2203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Keep this variable initialized to 0 as it is used to configure BDTR register */
2205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr = 0U;
2206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
2208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance));
2209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_OSSR_STATE(sBreakDeadTimeConfig->OffStateRunMode));
2210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_OSSI_STATE(sBreakDeadTimeConfig->OffStateIDLEMode));
2211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_LOCK_LEVEL(sBreakDeadTimeConfig->LockLevel));
2212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_DEADTIME(sBreakDeadTimeConfig->DeadTime));
2213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_STATE(sBreakDeadTimeConfig->BreakState));
2214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_POLARITY(sBreakDeadTimeConfig->BreakPolarity));
2215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_FILTER(sBreakDeadTimeConfig->BreakFilter));
2216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_AUTOMATIC_OUTPUT_STATE(sBreakDeadTimeConfig->AutomaticOutput));
2217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check input state */
2219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim);
2220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the Lock level, the Break enable Bit and the Polarity, the OSSR State,
2222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the OSSI State, the dead time value and the Automatic Output Enable Bit */
2223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the BDTR bits */
2225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_DTG, sBreakDeadTimeConfig->DeadTime);
2226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_LOCK, sBreakDeadTimeConfig->LockLevel);
2227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSI, sBreakDeadTimeConfig->OffStateIDLEMode);
2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSR, sBreakDeadTimeConfig->OffStateRunMode);
2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKE, sBreakDeadTimeConfig->BreakState);
2230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKP, sBreakDeadTimeConfig->BreakPolarity);
2231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_AOE, sBreakDeadTimeConfig->AutomaticOutput);
2232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKF, (sBreakDeadTimeConfig->BreakFilter << TIM_BDTR_BKF_Pos));
2233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_ADVANCED_INSTANCE(htim->Instance))
2235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
2237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_AFMODE(sBreakDeadTimeConfig->BreakAFMode));
2238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set BREAK AF mode */
2240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKBID, sBreakDeadTimeConfig->BreakAFMode);
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 **** if (IS_TIM_BKIN2_INSTANCE(htim->Instance))
2244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
2246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK2_STATE(sBreakDeadTimeConfig->Break2State));
2247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK2_POLARITY(sBreakDeadTimeConfig->Break2Polarity));
2248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_FILTER(sBreakDeadTimeConfig->Break2Filter));
2249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the BREAK2 input related BDTR bits */
2251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2F, (sBreakDeadTimeConfig->Break2Filter << TIM_BDTR_BK2F_Pos));
2252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2E, sBreakDeadTimeConfig->Break2State);
2253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2P, sBreakDeadTimeConfig->Break2Polarity);
2254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_ADVANCED_INSTANCE(htim->Instance))
2256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
ARM GAS /tmp/ccuT46mL.s page 41
2257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
2258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK2_AFMODE(sBreakDeadTimeConfig->Break2AFMode));
2259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set BREAK2 AF mode */
2261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2BID, sBreakDeadTimeConfig->Break2AFMode);
2262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set TIMx_BDTR */
2266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->BDTR = tmpbdtr;
2267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
2269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
2271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
2274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configures the break input source.
2275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle.
2276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param BreakInput Break input to configure
2277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
2278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_BREAKINPUT_BRK: Timer break input
2279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_BREAKINPUT_BRK2: Timer break 2 input
2280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param sBreakInputConfig Break input source configuration
2281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
2282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
2283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigBreakInput(TIM_HandleTypeDef *htim,
2284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t BreakInput,
2285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIMEx_BreakInputConfigTypeDef *sBreakInputConfig)
2286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmporx;
2289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_enable_mask;
2290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_polarity_mask;
2291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_enable_bitpos;
2292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t bkin_polarity_bitpos;
2293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
2295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance));
2296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUT(BreakInput));
2297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUTSOURCE(sBreakInputConfig->Source));
2298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUTSOURCE_STATE(sBreakInputConfig->Enable));
2299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUTSOURCE_POLARITY(sBreakInputConfig->Polarity));
2300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check input state */
2302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim);
2303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (sBreakInputConfig->Source)
2305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_BKIN:
2307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKINE;
2309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKINE_Pos;
2310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKINP;
2311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKINP_Pos;
2312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
ARM GAS /tmp/ccuT46mL.s page 42
2314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP1:
2315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP1E;
2317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP1E_Pos;
2318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP1P;
2319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP1P_Pos;
2320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP2:
2323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP2E;
2325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP2E_Pos;
2326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP2P;
2327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP2P_Pos;
2328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP3:
2331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP3E;
2333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP3E_Pos;
2334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP3P;
2335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP3P_Pos;
2336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP4:
2339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP4E;
2341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP4E_Pos;
2342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = TIM1_AF1_BKCMP4P;
2343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = TIM1_AF1_BKCMP4P_Pos;
2344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined (COMP5)
2347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP5:
2348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP5E;
2350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP5E_Pos;
2351: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 */
2352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = 0U;
2353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = 0U;
2354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* COMP5 */
2357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined (COMP6)
2358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP6:
2359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP6E;
2361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP6E_Pos;
2362: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 */
2363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = 0U;
2364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = 0U;
2365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* COMP7 */
2368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if defined (COMP7)
2369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUTSOURCE_COMP7:
2370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
ARM GAS /tmp/ccuT46mL.s page 43
2371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = TIM1_AF1_BKCMP7E;
2372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = TIM1_AF1_BKCMP7E_Pos;
2373: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 */
2374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = 0U;
2375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = 0U;
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 **** #endif /* COMP7 */
2379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
2381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_mask = 0U;
2383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_mask = 0U;
2384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_enable_bitpos = 0U;
2385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** bkin_polarity_bitpos = 0U;
2386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (BreakInput)
2391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUT_BRK:
2393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Get the TIMx_AF1 register value */
2395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx = htim->Instance->AF1;
2396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the break input */
2398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx &= ~bkin_enable_mask;
2399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Enable << bkin_enable_bitpos) & bkin_enable_mask;
2400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the break input polarity */
2402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx &= ~bkin_polarity_mask;
2403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Polarity << bkin_polarity_bitpos) & bkin_polarity_mask;
2404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set TIMx_AF1 */
2406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->AF1 = tmporx;
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 **** case TIM_BREAKINPUT_BRK2:
2410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Get the TIMx_AF2 register value */
2412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx = htim->Instance->AF2;
2413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Enable the break input */
2415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx &= ~bkin_enable_mask;
2416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Enable << bkin_enable_bitpos) & bkin_enable_mask;
2417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the break input polarity */
2419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx &= ~bkin_polarity_mask;
2420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmporx |= (sBreakInputConfig->Polarity << bkin_polarity_bitpos) & bkin_polarity_mask;
2421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set TIMx_AF2 */
2423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->AF2 = tmporx;
2424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
2427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
ARM GAS /tmp/ccuT46mL.s page 44
2428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
2431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
2433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
2436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configures the TIMx Remapping input capabilities.
2437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle.
2438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Remap specifies the TIM remapping source.
2439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM1, the parameter can take one of the following values:
2440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_GPIO TIM1 ETR is connected to GPIO
2441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP1 TIM1 ETR is connected to COMP1 output
2442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP2 TIM1 ETR is connected to COMP2 output
2443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP3 TIM1 ETR is connected to COMP3 output
2444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP4 TIM1 ETR is connected to COMP4 output
2445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP5 TIM1 ETR is connected to COMP5 output (*)
2446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP6 TIM1 ETR is connected to COMP6 output (*)
2447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_COMP7 TIM1 ETR is connected to COMP7 output (*)
2448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_ADC1_AWD1 TIM1 ETR is connected to ADC1 AWD1
2449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_ADC1_AWD2 TIM1 ETR is connected to ADC1 AWD2
2450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_ADC1_AWD3 TIM1 ETR is connected to ADC1 AWD3
2451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_ADC4_AWD1 TIM1 ETR is connected to ADC4 AWD1 (*)
2452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_ADC4_AWD2 TIM1 ETR is connected to ADC4 AWD2 (*)
2453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_ETR_ADC4_AWD3 TIM1 ETR is connected to ADC4 AWD3 (*)
2454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM2, the parameter can take one of the following values:
2456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_GPIO TIM2 ETR is connected to GPIO
2457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP1 TIM2 ETR is connected to COMP1 output
2458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP2 TIM2 ETR is connected to COMP2 output
2459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP3 TIM2 ETR is connected to COMP3 output
2460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP4 TIM2 ETR is connected to COMP4 output
2461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP5 TIM2 ETR is connected to COMP5 output (*)
2462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP6 TIM2 ETR is connected to COMP6 output (*)
2463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_COMP7 TIM2 ETR is connected to COMP7 output (*)
2464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_TIM3_ETR TIM2 ETR is connected to TIM3 ETR pin
2465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_TIM4_ETR TIM2 ETR is connected to TIM4 ETR pin
2466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_TIM5_ETR TIM2 ETR is connected to TIM5 ETR pin (*)
2467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_ETR_LSE
2468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM3, the parameter can take one of the following values:
2470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_GPIO TIM3 ETR is connected to GPIO
2471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP1 TIM3 ETR is connected to COMP1 output
2472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP2 TIM3 ETR is connected to COMP2 output
2473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP3 TIM3 ETR is connected to COMP3 output
2474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP4 TIM3 ETR is connected to COMP4 output
2475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP5 TIM3 ETR is connected to COMP5 output (*)
2476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP6 TIM3 ETR is connected to COMP6 output (*)
2477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_COMP7 TIM3 ETR is connected to COMP7 output (*)
2478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_TIM2_ETR TIM3 ETR is connected to TIM2 ETR pin
2479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_TIM4_ETR TIM3 ETR is connected to TIM4 ETR pin
2480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_ADC2_AWD1 TIM3 ETR is connected to ADC2 AWD1
2481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_ADC2_AWD2 TIM3 ETR is connected to ADC2 AWD2
2482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_ETR_ADC2_AWD3 TIM3 ETR is connected to ADC2 AWD3
2483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM4, the parameter can take one of the following values:
ARM GAS /tmp/ccuT46mL.s page 45
2485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_GPIO TIM4 ETR is connected to GPIO
2486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP1 TIM4 ETR is connected to COMP1 output
2487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP2 TIM4 ETR is connected to COMP2 output
2488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP3 TIM4 ETR is connected to COMP3 output
2489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP4 TIM4 ETR is connected to COMP4 output
2490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP5 TIM4 ETR is connected to COMP5 output (*)
2491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP6 TIM4 ETR is connected to COMP6 output (*)
2492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_COMP7 TIM4 ETR is connected to COMP7 output (*)
2493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_TIM3_ETR TIM4 ETR is connected to TIM3 ETR pin
2494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_ETR_TIM5_ETR TIM4 ETR is connected to TIM5 ETR pin (*)
2495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM5, the parameter can take one of the following values: (**)
2497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_GPIO TIM5 ETR is connected to GPIO (*)
2498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP1 TIM5 ETR is connected to COMP1 output (*)
2499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP2 TIM5 ETR is connected to COMP2 output (*)
2500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP3 TIM5 ETR is connected to COMP3 output (*)
2501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP4 TIM5 ETR is connected to COMP4 output (*)
2502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP5 TIM5 ETR is connected to COMP5 output (*)
2503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP6 TIM5 ETR is connected to COMP6 output (*)
2504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_COMP7 TIM5 ETR is connected to COMP7 output (*)
2505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_TIM2_ETR TIM5 ETR is connected to TIM2 ETR pin (*)
2506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_ETR_TIM3_ETR TIM5 ETR is connected to TIM3 ETR pin (*)
2507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM8, the parameter can take one of the following values:
2509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_GPIO TIM8 ETR is connected to GPIO
2510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP1 TIM8 ETR is connected to COMP1 output
2511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP2 TIM8 ETR is connected to COMP2 output
2512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP3 TIM8 ETR is connected to COMP3 output
2513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP4 TIM8 ETR is connected to COMP4 output
2514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP5 TIM8 ETR is connected to COMP5 output (*)
2515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP6 TIM8 ETR is connected to COMP6 output (*)
2516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_COMP7 TIM8 ETR is connected to COMP7 output (*)
2517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_ADC2_AWD1 TIM8 ETR is connected to ADC2 AWD1
2518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_ADC2_AWD2 TIM8 ETR is connected to ADC2 AWD2
2519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_ADC2_AWD3 TIM8 ETR is connected to ADC2 AWD3
2520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_ADC3_AWD1 TIM8 ETR is connected to ADC3 AWD1 (*)
2521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_ADC3_AWD2 TIM8 ETR is connected to ADC3 AWD2 (*)
2522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_ETR_ADC3_AWD3 TIM8 ETR is connected to ADC3 AWD3 (*)
2523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM20, the parameter can take one of the following values: (**)
2525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_GPIO TIM20 ETR is connected to GPIO
2526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP1 TIM20 ETR is connected to COMP1 output (*)
2527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP2 TIM20 ETR is connected to COMP2 output (*)
2528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP3 TIM20 ETR is connected to COMP3 output (*)
2529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP4 TIM20 ETR is connected to COMP4 output (*)
2530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP5 TIM20 ETR is connected to COMP5 output (*)
2531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP6 TIM20 ETR is connected to COMP6 output (*)
2532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_COMP7 TIM20 ETR is connected to COMP7 output (*)
2533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_ADC3_AWD1 TIM20 ETR is connected to ADC3 AWD1 (*)
2534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_ADC3_AWD2 TIM20 ETR is connected to ADC3 AWD2 (*)
2535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_ADC3_AWD3 TIM20 ETR is connected to ADC3 AWD3 (*)
2536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_ADC5_AWD1 TIM20 ETR is connected to ADC5 AWD1 (*)
2537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_ADC5_AWD2 TIM20 ETR is connected to ADC5 AWD2 (*)
2538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_ETR_ADC5_AWD3 TIM20 ETR is connected to ADC5 AWD3 (*)
2539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (*) Value not defined in all devices. \n
2541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (**) Register not available in all devices.
ARM GAS /tmp/ccuT46mL.s page 46
2542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
2544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
2545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_RemapConfig(TIM_HandleTypeDef *htim, uint32_t Remap)
2546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check parameters */
2548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_REMAP_INSTANCE(htim->Instance));
2549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_REMAP(Remap));
2550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim);
2552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->AF1, TIM1_AF1_ETRSEL_Msk, Remap);
2554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
2556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
2558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
2561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Select the timer input source
2562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle.
2563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel specifies the TIM Channel
2564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
2565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TI1 input channel
2566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TI2 input channel
2567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TI3 input channel
2568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TI4 input channel
2569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param TISelection specifies the timer input source
2570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM1 this parameter can be one of the following values:
2571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_TI1_GPIO: TIM1 TI1 is connected to GPIO
2572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_TI1_COMP1: TIM1 TI1 is connected to COMP1 output
2573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_TI1_COMP2: TIM1 TI1 is connected to COMP2 output
2574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_TI1_COMP3: TIM1 TI1 is connected to COMP3 output
2575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM1_TI1_COMP4: TIM1 TI1 is connected to COMP4 output
2576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM2 this parameter can be one of the following values:
2578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI1_GPIO: TIM2 TI1 is connected to GPIO
2579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI1_COMP1: TIM2 TI1 is connected to COMP1 output
2580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI1_COMP2: TIM2 TI1 is connected to COMP2 output
2581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI1_COMP3: TIM2 TI1 is connected to COMP3 output
2582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI1_COMP4: TIM2 TI1 is connected to COMP4 output
2583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI1_COMP5: TIM2 TI1 is connected to COMP5 output (*)
2584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI2_GPIO: TIM1 TI2 is connected to GPIO
2586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI2_COMP1: TIM2 TI2 is connected to COMP1 output
2587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI2_COMP2: TIM2 TI2 is connected to COMP2 output
2588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI2_COMP3: TIM2 TI2 is connected to COMP3 output
2589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI2_COMP4: TIM2 TI2 is connected to COMP4 output
2590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI2_COMP6: TIM2 TI2 is connected to COMP6 output (*)
2591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI3_GPIO: TIM2 TI3 is connected to GPIO
2593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI3_COMP4: TIM2 TI3 is connected to COMP4 output
2594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI4_GPIO: TIM2 TI4 is connected to GPIO
2596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI4_COMP1: TIM2 TI4 is connected to COMP1 output
2597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM2_TI4_COMP2: TIM2 TI4 is connected to COMP2 output
2598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
ARM GAS /tmp/ccuT46mL.s page 47
2599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM3 this parameter can be one of the following values:
2600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_GPIO: TIM3 TI1 is connected to GPIO
2601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP1: TIM3 TI1 is connected to COMP1 output
2602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP2: TIM3 TI1 is connected to COMP2 output
2603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP3: TIM3 TI1 is connected to COMP3 output
2604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP4: TIM3 TI1 is connected to COMP4 output
2605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP5: TIM3 TI1 is connected to COMP5 output (*)
2606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP6: TIM3 TI1 is connected to COMP6 output (*)
2607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI1_COMP7: TIM3 TI1 is connected to COMP7 output (*)
2608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_GPIO: TIM3 TI2 is connected to GPIO
2610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP1: TIM3 TI2 is connected to COMP1 output
2611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP2: TIM3 TI2 is connected to COMP2 output
2612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP3: TIM3 TI2 is connected to COMP3 output
2613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP4: TIM3 TI2 is connected to COMP4 output
2614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP5: TIM3 TI2 is connected to COMP5 output (*)
2615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP6: TIM3 TI2 is connected to COMP6 output (*)
2616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI2_COMP7: TIM3 TI2 is connected to COMP7 output (*)
2617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI3_GPIO: TIM3 TI3 is connected to GPIO
2619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM3_TI3_COMP3: TIM3 TI3 is connected to COMP3 output
2620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM4 this parameter can be one of the following values:
2622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_GPIO: TIM4 TI1 is connected to GPIO
2623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP1: TIM4 TI1 is connected to COMP1 output
2624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP2: TIM4 TI1 is connected to COMP2 output
2625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP3: TIM4 TI1 is connected to COMP3 output
2626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP4: TIM4 TI1 is connected to COMP4 output
2627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP5: TIM4 TI1 is connected to COMP5 output (*)
2628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP6: TIM4 TI1 is connected to COMP6 output (*)
2629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI1_COMP7: TIM4 TI1 is connected to COMP7 output (*)
2630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_GPIO: TIM4 TI2 is connected to GPIO
2632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP1: TIM4 TI2 is connected to COMP1 output
2633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP2: TIM4 TI2 is connected to COMP2 output
2634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP3: TIM4 TI2 is connected to COMP3 output
2635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP4: TIM4 TI2 is connected to COMP4 output
2636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP5: TIM4 TI2 is connected to COMP5 output (*)
2637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP6: TIM4 TI2 is connected to COMP6 output (*)
2638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI2_COMP7: TIM4 TI2 is connected to COMP7 output (*)
2639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI3_GPIO: TIM4 TI3 is connected to GPIO
2641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI3_COMP5: TIM4 TI3 is connected to COMP5 output (*)
2642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI4_GPIO: TIM4 TI4 is connected to GPIO
2644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM4_TI4_COMP6: TIM4 TI4 is connected to COMP6 output (*)
2645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM5 this parameter can be one of the following values: (**)
2647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_GPIO: TIM5 TI1 is connected to GPIO
2648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_LSI: TIM5 TI1 is connected to LSI clock (*)
2649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_LSE: TIM5 TI1 is connected to LSE clock (*)
2650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_RTC_WK: TIM5 TI1 is connected to RTC Wakeup (*)
2651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP1: TIM5 TI1 is connected to COMP1 output (*)
2652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP2: TIM5 TI1 is connected to COMP2 output (*)
2653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP3: TIM5 TI1 is connected to COMP3 output (*)
2654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP4: TIM5 TI1 is connected to COMP4 output (*)
2655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP5: TIM5 TI1 is connected to COMP5 output (*)
ARM GAS /tmp/ccuT46mL.s page 48
2656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP6: TIM5 TI1 is connected to COMP6 output (*)
2657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI1_COMP7: TIM5 TI1 is connected to COMP7 output (*)
2658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_GPIO: TIM5 TI2 is connected to GPIO
2660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP1: TIM5 TI2 is connected to COMP1 output
2661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP2: TIM5 TI2 is connected to COMP2 output
2662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP3: TIM5 TI2 is connected to COMP3 output
2663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP4: TIM5 TI2 is connected to COMP4 output
2664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP5: TIM5 TI2 is connected to COMP5 output (*)
2665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP6: TIM5 TI2 is connected to COMP6 output (*)
2666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM5_TI2_COMP7: TIM5 TI2 is connected to COMP7 output (*)
2667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM8 this parameter can be one of the following values:
2669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_TI1_GPIO: TIM8 TI1 is connected to GPIO
2670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_TI1_COMP1: TIM8 TI1 is connected to COMP1 output
2671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_TI1_COMP2: TIM8 TI1 is connected to COMP2 output
2672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_TI1_COMP3: TIM8 TI1 is connected to COMP3 output
2673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM8_TI1_COMP4: TIM8 TI1 is connected to COMP4 output
2674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM15 this parameter can be one of the following values:
2676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI1_GPIO: TIM15 TI1 is connected to GPIO
2677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI1_LSE: TIM15 TI1 is connected to LSE clock
2678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI1_COMP1: TIM15 TI1 is connected to COMP1 output
2679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI1_COMP2: TIM15 TI1 is connected to COMP2 output
2680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI1_COMP5: TIM15 TI1 is connected to COMP5 output (
2681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI1_COMP7: TIM15 TI1 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_TIM15_TI2_GPIO: TIM15 TI2 is connected to GPIO
2684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI2_COMP2: TIM15 TI2 is connected to COMP2 output
2685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI2_COMP3: TIM15 TI2 is connected to COMP3 output
2686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI2_COMP6: TIM15 TI2 is connected to COMP6 output (
2687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM15_TI2_COMP7: TIM15 TI2 is connected to COMP7 output (
2688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM16 this parameter can be one of the following values:
2690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_GPIO: TIM16 TI1 is connected to GPIO
2691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_COMP6: TIM16 TI1 is connected to COMP6 output (
2692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_MCO: TIM15 TI1 is connected to MCO output
2693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_HSE_32: TIM15 TI1 is connected to HSE div 32
2694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_RTC_WK: TIM15 TI1 is connected to RTC wakeup
2695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_LSE: TIM15 TI1 is connected to LSE clock
2696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM16_TI1_LSI: TIM15 TI1 is connected to LSI clock
2697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM17 this parameter can be one of the following values:
2699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_GPIO: TIM17 TI1 is connected to GPIO
2700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_COMP5: TIM17 TI1 is connected to COMP5 output (
2701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_MCO: TIM17 TI1 is connected to MCO output
2702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_HSE_32: TIM17 TI1 is connected to HSE div 32
2703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_RTC_WK: TIM17 TI1 is connected to RTC wakeup
2704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_LSE: TIM17 TI1 is connected to LSE clock
2705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM17_TI1_LSI: TIM17 TI1 is connected to LSI clock
2706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * For TIM20 this parameter can be one of the following values: (**)
2708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_TI1_GPIO: TIM20 TI1 is connected to GPIO
2709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_TI1_COMP1: TIM20 TI1 is connected to COMP1 output (
2710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_TI1_COMP2: TIM20 TI1 is connected to COMP2 output (
2711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_TI1_COMP3: TIM20 TI1 is connected to COMP3 output (
2712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_TIM20_TI1_COMP4: TIM20 TI1 is connected to COMP4 output (
ARM GAS /tmp/ccuT46mL.s page 49
2713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (*) Value not defined in all devices. \n
2715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (**) Register not available in all devices.
2716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
2717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
2718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
2719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_TISelection(TIM_HandleTypeDef *htim, uint32_t TISelection, uint32_t Ch
2720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
2722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check parameters */
2724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_TISEL_TIX_INSTANCE(htim->Instance, Channel));
2725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_TISEL(TISelection));
2726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim);
2728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (Channel)
2730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
2732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->TISEL, TIM_TISEL_TI1SEL, TISelection);
2733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* If required, set OR bit to request HSE/32 clock */
2735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (IS_TIM_HSE32_INSTANCE(htim->Instance))
2736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->OR, TIM_OR_HSE32EN);
2738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
2740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->OR, TIM_OR_HSE32EN);
2742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_2:
2745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->TISEL, TIM_TISEL_TI2SEL, TISelection);
2746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
2748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->TISEL, TIM_TISEL_TI3SEL, TISelection);
2749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_CHANNEL_4:
2751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->TISEL, TIM_TISEL_TI4SEL, TISelection);
2752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
2754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** status = HAL_ERROR;
2755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
2759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return status;
2761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
2764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Group channel 5 and channel 1, 2 or 3
2765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle.
2766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channels specifies the reference signal(s) the OC5REF is combined with.
2767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be any combination of the following values:
2768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * TIM_GROUPCH5_NONE: No effect of OC5REF on OC1REFC, OC2REFC and OC3REFC
2769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * TIM_GROUPCH5_OC1REFC: OC1REFC is the logical AND of OC1REFC and OC5REF
ARM GAS /tmp/ccuT46mL.s page 50
2770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * TIM_GROUPCH5_OC2REFC: OC2REFC is the logical AND of OC2REFC and OC5REF
2771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * TIM_GROUPCH5_OC3REFC: OC3REFC is the logical AND of OC3REFC and OC5REF
2772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
2773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
2774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_GroupChannel5(TIM_HandleTypeDef *htim, uint32_t Channels)
2775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check parameters */
2777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_COMBINED3PHASEPWM_INSTANCE(htim->Instance));
2778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_GROUPCH5(Channels));
2779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Process Locked */
2781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim);
2782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_BUSY;
2784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Clear GC5Cx bit fields */
2786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CCR5 &= ~(TIM_CCR5_GC5C3 | TIM_CCR5_GC5C2 | TIM_CCR5_GC5C1);
2787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set GC5Cx bit fields */
2789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CCR5 |= Channels;
2790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the htim state */
2792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY;
2793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
2795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
2797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
2800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disarm the designated break input (when it operates in bidirectional mode).
2801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle.
2802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param BreakInput Break input to disarm
2803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
2804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_BREAKINPUT_BRK: Timer break input
2805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_BREAKINPUT_BRK2: Timer break 2 input
2806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note The break input can be disarmed only when it is configured in
2807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * bidirectional mode and when when MOE is reset.
2808: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,
2809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * whatever the time constant on the output .
2810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
2811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
2812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DisarmBreakInput(TIM_HandleTypeDef *htim, uint32_t BreakInput)
2813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr;
2815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
2817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ADVANCED_INSTANCE(htim->Instance));
2818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUT(BreakInput));
2819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (BreakInput)
2821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUT_BRK:
2823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check initial conditions */
2825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpbdtr = READ_REG(htim->Instance->BDTR);
2826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BKBID) == TIM_BDTR_BKBID) &&
ARM GAS /tmp/ccuT46mL.s page 51
2827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U))
2828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Break input BRK is disarmed */
2830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->BDTR, TIM_BDTR_BKDSRM);
2831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUT_BRK2:
2836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check initial conditions */
2838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpbdtr = READ_REG(htim->Instance->BDTR);
2839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BK2BID) == TIM_BDTR_BK2BID) &&
2840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U))
2841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Break input BRK is disarmed */
2843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->BDTR, TIM_BDTR_BK2DSRM);
2844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
2848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
2852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
2855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Arm the designated break input (when it operates in bidirectional mode).
2856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle.
2857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param BreakInput Break input to arm
2858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
2859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_BREAKINPUT_BRK: Timer break input
2860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_BREAKINPUT_BRK2: Timer break 2 input
2861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Arming is possible at anytime, even if fault is present.
2862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Break input is automatically armed as soon as MOE bit is set.
2863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
2864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
2865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ReArmBreakInput(TIM_HandleTypeDef *htim, uint32_t BreakInput)
2866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart;
2868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
2870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ADVANCED_INSTANCE(htim->Instance));
2871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAKINPUT(BreakInput));
2872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** switch (BreakInput)
2874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUT_BRK:
2876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check initial conditions */
2878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BKBID) == TIM_BDTR_BKBID)
2879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2880: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
2881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Init tickstart for timeout management */
2882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tickstart = HAL_GetTick();
2883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** do
ARM GAS /tmp/ccuT46mL.s page 52
2884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BKDSRM) != TIM_BDTR_BKDSRM)
2886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
2888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } while ((HAL_GetTick() - tickstart) <= TIM_BREAKINPUT_REARM_TIMEOUT);
2890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_TIMEOUT;
2892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** case TIM_BREAKINPUT_BRK2:
2897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check initial conditions */
2899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BK2BID) == TIM_BDTR_BK2BID)
2900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2901: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
2902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Init tickstart for timeout management */
2903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tickstart = HAL_GetTick();
2904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** do
2905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (READ_BIT(htim->Instance->BDTR, TIM_BDTR_BK2DSRM) != TIM_BDTR_BK2DSRM)
2907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
2909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** } while ((HAL_GetTick() - tickstart) <= TIM_BREAKINPUT_REARM_TIMEOUT);
2911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_TIMEOUT;
2913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** default:
2917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
2921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
2924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enable dithering
2925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
2926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Main usage is PWM mode
2927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note This function must be called when timer is stopped or disabled (CEN =0)
2928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note If dithering is activated, pay attention to ARR, CCRx, CNT interpretation:
2929: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
2930: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
2931: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
2932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * - ARR and CCRx values are limited to 0xFFEF in dithering mode for 16b timers
2933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (corresponds to 4094 for the integer part and 15 for the dithered part).
2934: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
2935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * can be used to calculate period (ARR) and delay (CCRx) value.
2936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Enabling dithering, modifies automatically values of registers ARR/CCRx to keep the sam
2937: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
2938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * and if necessary update Init structure field htim->Init.Period .
2939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
2940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
ARM GAS /tmp/ccuT46mL.s page 53
2941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DitheringEnable(TIM_HandleTypeDef *htim)
2942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
2944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INSTANCE(htim->Instance));
2945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->CR1, TIM_CR1_DITHEN);
2947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
2948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
2951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disable dithering
2952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
2953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note This function must be called when timer is stopped or disabled (CEN =0)
2954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note If dithering is activated, pay attention to ARR, CCRx, CNT interpretation:
2955: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
2956: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
2957: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
2958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * - ARR and CCRx values are limited to 0xFFEF in dithering mode
2959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * (corresponds to 4094 for the integer part and 15 for the dithered part).
2960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note Disabling dithering, modifies automatically values of registers ARR/CCRx to keep the sa
2961: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
2962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * and if necessary update Init structure field htim->Init.Period .
2963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
2964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
2965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DitheringDisable(TIM_HandleTypeDef *htim)
2966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
2968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_INSTANCE(htim->Instance));
2969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->CR1, TIM_CR1_DITHEN);
2971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
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 **** /**
2975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Initializes the pulse on compare pulse width and pulse prescaler
2976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Output Compare handle
2977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param PulseWidthPrescaler Pulse width prescaler
2978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be a number between Min_Data = 0x0 and Max_Data = 0x7
2979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param PulseWidth Pulse width
2980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be a number between Min_Data = 0x00 and Max_Data = 0xFF
2981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
2982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
2983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OC_ConfigPulseOnCompare(TIM_HandleTypeDef *htim,
2984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t PulseWidthPrescaler,
2985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t PulseWidth)
2986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpecr;
2988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
2990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_PULSEONCOMPARE_INSTANCE(htim->Instance));
2991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_PULSEONCOMPARE_WIDTH(PulseWidth));
2992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_PULSEONCOMPARE_WIDTHPRESCALER(PulseWidthPrescaler));
2993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Process Locked */
2995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim);
2996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the TIM state */
ARM GAS /tmp/ccuT46mL.s page 54
2998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_BUSY;
2999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Get the TIMx ECR register value */
3001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpecr = htim->Instance->ECR;
3002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the Pulse width prescaler and the Pulse width */
3003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpecr &= ~(TIM_ECR_PWPRSC | TIM_ECR_PW);
3004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the Pulse width prescaler and Pulse width*/
3005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpecr |= PulseWidthPrescaler << TIM_ECR_PWPRSC_Pos;
3006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmpecr |= PulseWidth << TIM_ECR_PW_Pos;
3007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Write to TIMx ECR */
3008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->ECR = tmpecr;
3009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the TIM state */
3011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY;
3012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Release Lock */
3014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
3015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configure preload source of Slave Mode Selection bitfield (SMS in SMCR register)
3021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Source Source of slave mode selection preload
3023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
3024: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
3025: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
3026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigSlaveModePreload(TIM_HandleTypeDef *htim, uint32_t Source)
3029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_SLAVE_INSTANCE(htim->Instance));
3032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_SLAVE_PRELOAD_SOURCE(Source));
3033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->SMCR, TIM_SMCR_SMSPS, Source);
3035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enable preload of Slave Mode Selection bitfield (SMS in SMCR register)
3040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_EnableSlaveModePreload(TIM_HandleTypeDef *htim)
3044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_SLAVE_INSTANCE(htim->Instance));
3047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->SMCR, TIM_SMCR_SMSPE);
3049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disable preload of Slave Mode Selection bitfield (SMS in SMCR register)
3054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
ARM GAS /tmp/ccuT46mL.s page 55
3055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DisableSlaveModePreload(TIM_HandleTypeDef *htim)
3058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_SLAVE_INSTANCE(htim->Instance));
3061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->SMCR, TIM_SMCR_SMSPE);
3063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enable deadtime preload
3068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_EnableDeadTimePreload(TIM_HandleTypeDef *htim)
3072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance));
3075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->DTR2, TIM_DTR2_DTPE);
3077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disable deadtime preload
3082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DisableDeadTimePreload(TIM_HandleTypeDef *htim)
3086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance));
3089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->DTR2, TIM_DTR2_DTPE);
3091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3095:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configure deadtime
3096:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Deadtime Deadtime value
3098: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
3099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigDeadTime(TIM_HandleTypeDef *htim, uint32_t Deadtime)
3102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance));
3105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_DEADTIME(Deadtime));
3106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->BDTR, TIM_BDTR_DTG, Deadtime);
3108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
ARM GAS /tmp/ccuT46mL.s page 56
3112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configure asymmetrical deadtime
3113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param FallingDeadtime Falling edge deadtime value
3115: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
3116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigAsymmetricalDeadTime(TIM_HandleTypeDef *htim, uint32_t FallingDea
3119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance));
3122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_DEADTIME(FallingDeadtime));
3123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->DTR2, TIM_DTR2_DTGF, FallingDeadtime);
3125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enable asymmetrical deadtime
3130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_EnableAsymmetricalDeadTime(TIM_HandleTypeDef *htim)
3134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance));
3137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->DTR2, TIM_DTR2_DTAE);
3139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disable asymmetrical deadtime
3144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DisableAsymmetricalDeadTime(TIM_HandleTypeDef *htim)
3148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance));
3151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->DTR2, TIM_DTR2_DTAE);
3153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Configures the encoder index.
3158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @note warning in case of encoder mode clock plus direction
3159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @ref TIM_ENCODERMODE_CLOCKPLUSDIRECTION_X1 or @ref TIM_ENCODERMODE_CLOCKPLUS
3160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * Direction must be set to @ref TIM_ENCODERINDEX_DIRECTION_UP_DOWN
3161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle.
3162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param sEncoderIndexConfig Encoder index configuration
3163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigEncoderIndex(TIM_HandleTypeDef *htim,
3166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIMEx_EncoderIndexConfigTypeDef *sEncoderIndexConfig
3167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
ARM GAS /tmp/ccuT46mL.s page 57
3169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance));
3170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_POLARITY(sEncoderIndexConfig->Polarity));
3171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_PRESCALER(sEncoderIndexConfig->Prescaler));
3172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_FILTER(sEncoderIndexConfig->Filter));
3173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_FUNCTIONAL_STATE(sEncoderIndexConfig->FirstIndexEnable));
3174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_POSITION(sEncoderIndexConfig->Position));
3175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODERINDEX_DIRECTION(sEncoderIndexConfig->Direction));
3176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Process Locked */
3178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_LOCK(htim);
3179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Configures the TIMx External Trigger (ETR) which is used as Index input */
3181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ETR_SetConfig(htim->Instance,
3182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Prescaler,
3183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Polarity,
3184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Filter);
3185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Configures the encoder index */
3187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(htim->Instance->ECR,
3188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ECR_IDIR_Msk | TIM_ECR_FIDX_Msk | TIM_ECR_IPOS_Msk,
3189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (sEncoderIndexConfig->Direction |
3190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ((sEncoderIndexConfig->FirstIndexEnable == ENABLE) ? (0x1U << TIM_ECR_FIDX_Pos) : 0U)
3191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Position |
3192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ECR_IE));
3193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
3195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enable encoder index
3201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_EnableEncoderIndex(TIM_HandleTypeDef *htim)
3205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance));
3208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->ECR, TIM_ECR_IE);
3210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disable encoder index
3215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DisableEncoderIndex(TIM_HandleTypeDef *htim)
3219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance));
3222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->ECR, TIM_ECR_IE);
3224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
ARM GAS /tmp/ccuT46mL.s page 58
3226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enable encoder first index
3229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_EnableEncoderFirstIndex(TIM_HandleTypeDef *htim)
3233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance));
3236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** SET_BIT(htim->Instance->ECR, TIM_ECR_FIDX);
3238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Disable encoder first index
3243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL status
3245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_DisableEncoderFirstIndex(TIM_HandleTypeDef *htim)
3247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance));
3250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** CLEAR_BIT(htim->Instance->ECR, TIM_ECR_FIDX);
3252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
3253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @}
3257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group6 Extended Callbacks functions
3260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Extended Callbacks functions
3261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
3262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim
3263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
3264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Extended Callbacks functions #####
3265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
3266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..]
3267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** This section provides Extended TIM callback functions:
3268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Timer Commutation callback
3269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (+) Timer Break callback
3270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim
3272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{
3273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Hall commutation changed callback in non-blocking mode
3277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_CommutCallback(TIM_HandleTypeDef *htim)
3281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
ARM GAS /tmp/ccuT46mL.s page 59
3283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim);
3284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
3286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_CommutCallback could be implemented in the user file
3287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Hall commutation changed half complete callback in non-blocking mode
3291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_CommutHalfCpltCallback(TIM_HandleTypeDef *htim)
3295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
3297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim);
3298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
3300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_CommutHalfCpltCallback could be implemented in the user file
3301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Hall Break detection callback in non-blocking mode
3306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_BreakCallback(TIM_HandleTypeDef *htim)
3310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
3312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim);
3313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
3315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_BreakCallback could be implemented in the user file
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 ****
3319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Hall Break2 detection callback in non blocking mode
3321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim: TIM handle
3322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_Break2Callback(TIM_HandleTypeDef *htim)
3325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
3327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim);
3328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function Should not be modified, when the callback is needed,
3330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_Break2Callback could be implemented in the user file
3331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Encoder index callback in non-blocking mode
3336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_EncoderIndexCallback(TIM_HandleTypeDef *htim)
ARM GAS /tmp/ccuT46mL.s page 60
3340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
3342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim);
3343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
3345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_EncoderIndexCallback could be implemented in the user file
3346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Direction change callback in non-blocking mode
3351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_DirectionChangeCallback(TIM_HandleTypeDef *htim)
3355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
3357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim);
3358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
3360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_DirectionChangeCallback could be implemented in the user file
3361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Index error callback in non-blocking mode
3366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_IndexErrorCallback(TIM_HandleTypeDef *htim)
3370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
3372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim);
3373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
3375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_IndexErrorCallback could be implemented in the user file
3376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Transition error callback in non-blocking mode
3381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** __weak void HAL_TIMEx_TransitionErrorCallback(TIM_HandleTypeDef *htim)
3385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
3387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** UNUSED(htim);
3388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
3390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** the HAL_TIMEx_TransitionErrorCallback could be implemented in the user file
3391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @}
3396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
ARM GAS /tmp/ccuT46mL.s page 61
3397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group7 Extended Peripheral State functions
3399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Extended Peripheral State functions
3400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** *
3401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @verbatim
3402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
3403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ##### Extended Peripheral State functions #####
3404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** ==============================================================================
3405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** [..]
3406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** This subsection permits to get in run-time the status of the peripheral
3407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** and the data flow.
3408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** @endverbatim
3410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @{
3411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
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 **** * @brief Return the TIM Hall Sensor interface handle state.
3415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor handle
3416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval HAL state
3417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_StateTypeDef HAL_TIMEx_HallSensor_GetState(TIM_HandleTypeDef *htim)
3419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return htim->State;
3421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Return actual state of the TIM complementary channel.
3425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param htim TIM handle
3426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param ChannelN TIM Complementary channel
3427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
3428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1
3429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2
3430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3
3431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4
3432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval TIM Complementary channel state
3433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef HAL_TIMEx_GetChannelNState(TIM_HandleTypeDef *htim, uint32_t ChannelN)
3435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_state;
3437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, ChannelN));
3440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** channel_state = TIM_CHANNEL_N_STATE_GET(htim, ChannelN);
3442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return channel_state;
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 **** /**
3450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @}
3451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Private functions ---------------------------------------------------------*/
ARM GAS /tmp/ccuT46mL.s page 62
3454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /** @defgroup TIMEx_Private_Functions TIMEx Private 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 ****
3458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief TIM DMA Commutation callback.
3460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param hdma pointer to DMA handle.
3461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** void TIMEx_DMACommutationCplt(DMA_HandleTypeDef *hdma)
3464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
3466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the htim state */
3468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY;
3469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
3471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->CommutationCallback(htim);
3472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else
3473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIMEx_CommutCallback(htim);
3474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
3475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief TIM DMA Commutation half complete callback.
3479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param hdma pointer to DMA handle.
3480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** void TIMEx_DMACommutationHalfCplt(DMA_HandleTypeDef *hdma)
3483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
3485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Change the htim state */
3487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY;
3488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
3490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->CommutationHalfCpltCallback(htim);
3491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else
3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIMEx_CommutHalfCpltCallback(htim);
3493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
3494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
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 **** * @brief TIM DMA Delay Pulse complete callback (complementary channel).
3499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param hdma pointer to DMA handle.
3500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** static void TIM_DMADelayPulseNCplt(DMA_HandleTypeDef *hdma)
3503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
3505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (hdma == htim->hdma[TIM_DMA_ID_CC1])
3507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1;
3509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (hdma->Init.Mode == DMA_NORMAL)
ARM GAS /tmp/ccuT46mL.s page 63
3511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
3513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC2])
3516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2;
3518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (hdma->Init.Mode == DMA_NORMAL)
3520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
3522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC3])
3525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3;
3527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (hdma->Init.Mode == DMA_NORMAL)
3529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY);
3531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC4])
3534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4;
3536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (hdma->Init.Mode == DMA_NORMAL)
3538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY);
3540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
3543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* nothing to do */
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 **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
3548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->PWM_PulseFinishedCallback(htim);
3549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else
3550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_PWM_PulseFinishedCallback(htim);
3551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
3552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED;
3554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief TIM DMA error callback (complementary channel)
3558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param hdma pointer to DMA handle.
3559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** static void TIM_DMAErrorCCxN(DMA_HandleTypeDef *hdma)
3562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
26 .loc 1 3562 0
27 .cfi_startproc
28 @ args = 0, pretend = 0, frame = 0
29 @ frame_needed = 0, uses_anonymous_args = 0
30 .LVL0:
ARM GAS /tmp/ccuT46mL.s page 64
31 0000 10B5 push {r4, lr}
32 .LCFI0:
33 .cfi_def_cfa_offset 8
34 .cfi_offset 4, -8
35 .cfi_offset 14, -4
3563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
36 .loc 1 3563 0
37 0002 846A ldr r4, [r0, #40]
38 .LVL1:
3564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (hdma == htim->hdma[TIM_DMA_ID_CC1])
39 .loc 1 3565 0
40 0004 636A ldr r3, [r4, #36]
41 0006 8342 cmp r3, r0
42 0008 0BD0 beq .L7
3566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1;
3568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
3569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC2])
43 .loc 1 3570 0
44 000a A36A ldr r3, [r4, #40]
45 000c 8342 cmp r3, r0
46 000e 1DD0 beq .L8
3571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2;
3573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
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])
47 .loc 1 3575 0
48 0010 E36A ldr r3, [r4, #44]
49 0012 8342 cmp r3, r0
50 0014 0FD0 beq .L9
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 **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY);
3579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** else
3581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* nothing to do */
3583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
3586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->ErrorCallback(htim);
3587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #else
3588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ErrorCallback(htim);
51 .loc 1 3588 0
52 0016 2046 mov r0, r4
53 .LVL2:
54 0018 FFF7FEFF bl HAL_TIM_ErrorCallback
55 .LVL3:
3589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
3590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED;
56 .loc 1 3591 0
57 001c 0023 movs r3, #0
58 001e 2377 strb r3, [r4, #28]
ARM GAS /tmp/ccuT46mL.s page 65
3592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
59 .loc 1 3592 0
60 0020 10BD pop {r4, pc}
61 .LVL4:
62 .L7:
3567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
63 .loc 1 3567 0
64 0022 0123 movs r3, #1
65 0024 2377 strb r3, [r4, #28]
3568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
66 .loc 1 3568 0
67 0026 84F84430 strb r3, [r4, #68]
3588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
68 .loc 1 3588 0
69 002a 2046 mov r0, r4
70 .LVL5:
71 002c FFF7FEFF bl HAL_TIM_ErrorCallback
72 .LVL6:
3591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
73 .loc 1 3591 0
74 0030 0023 movs r3, #0
75 0032 2377 strb r3, [r4, #28]
76 .loc 1 3592 0
77 0034 10BD pop {r4, pc}
78 .LVL7:
79 .L9:
3578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
80 .loc 1 3578 0
81 0036 0123 movs r3, #1
3577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY);
82 .loc 1 3577 0
83 0038 0422 movs r2, #4
3578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
84 .loc 1 3578 0
85 003a 84F84630 strb r3, [r4, #70]
3577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY);
86 .loc 1 3577 0
87 003e 2277 strb r2, [r4, #28]
3588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
88 .loc 1 3588 0
89 0040 2046 mov r0, r4
90 .LVL8:
91 0042 FFF7FEFF bl HAL_TIM_ErrorCallback
92 .LVL9:
3591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
93 .loc 1 3591 0
94 0046 0023 movs r3, #0
95 0048 2377 strb r3, [r4, #28]
96 .loc 1 3592 0
97 004a 10BD pop {r4, pc}
98 .LVL10:
99 .L8:
3573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
100 .loc 1 3573 0
101 004c 0123 movs r3, #1
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);
102 .loc 1 3572 0
ARM GAS /tmp/ccuT46mL.s page 66
103 004e 0222 movs r2, #2
3573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
104 .loc 1 3573 0
105 0050 84F84530 strb r3, [r4, #69]
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);
106 .loc 1 3572 0
107 0054 2277 strb r2, [r4, #28]
3588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
108 .loc 1 3588 0
109 0056 2046 mov r0, r4
110 .LVL11:
111 0058 FFF7FEFF bl HAL_TIM_ErrorCallback
112 .LVL12:
3591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
113 .loc 1 3591 0
114 005c 0023 movs r3, #0
115 005e 2377 strb r3, [r4, #28]
116 .loc 1 3592 0
117 0060 10BD pop {r4, pc}
118 .cfi_endproc
119 .LFE396:
121 0062 00BF .section .text.TIM_DMADelayPulseNCplt,"ax",%progbits
122 .align 1
123 .p2align 2,,3
124 .syntax unified
125 .thumb
126 .thumb_func
127 .fpu fpv4-sp-d16
129 TIM_DMADelayPulseNCplt:
130 .LFB395:
3503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
131 .loc 1 3503 0
132 .cfi_startproc
133 @ args = 0, pretend = 0, frame = 0
134 @ frame_needed = 0, uses_anonymous_args = 0
135 .LVL13:
136 0000 10B5 push {r4, lr}
137 .LCFI1:
138 .cfi_def_cfa_offset 8
139 .cfi_offset 4, -8
140 .cfi_offset 14, -4
3504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
141 .loc 1 3504 0
142 0002 846A ldr r4, [r0, #40]
143 .LVL14:
3506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
144 .loc 1 3506 0
145 0004 636A ldr r3, [r4, #36]
146 0006 8342 cmp r3, r0
147 0008 1CD0 beq .L18
3515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
148 .loc 1 3515 0
149 000a A36A ldr r3, [r4, #40]
150 000c 8342 cmp r3, r0
151 000e 0BD0 beq .L19
3524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
152 .loc 1 3524 0
ARM GAS /tmp/ccuT46mL.s page 67
153 0010 E36A ldr r3, [r4, #44]
154 0012 8342 cmp r3, r0
155 0014 23D0 beq .L20
3533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
156 .loc 1 3533 0
157 0016 236B ldr r3, [r4, #48]
158 0018 8342 cmp r3, r0
159 001a 29D0 beq .L21
160 .L13:
3550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
161 .loc 1 3550 0
162 001c 2046 mov r0, r4
163 .LVL15:
164 001e FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback
165 .LVL16:
3553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
166 .loc 1 3553 0
167 0022 0023 movs r3, #0
168 0024 2377 strb r3, [r4, #28]
3554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
169 .loc 1 3554 0
170 0026 10BD pop {r4, pc}
171 .LVL17:
172 .L19:
3519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
173 .loc 1 3519 0
174 0028 DB69 ldr r3, [r3, #28]
3517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
175 .loc 1 3517 0
176 002a 0222 movs r2, #2
177 002c 2277 strb r2, [r4, #28]
3519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
178 .loc 1 3519 0
179 002e 002B cmp r3, #0
180 0030 F4D1 bne .L13
3521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
181 .loc 1 3521 0
182 0032 0123 movs r3, #1
183 0034 84F84530 strb r3, [r4, #69]
3550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
184 .loc 1 3550 0
185 0038 2046 mov r0, r4
186 .LVL18:
187 003a FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback
188 .LVL19:
3553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
189 .loc 1 3553 0
190 003e 0023 movs r3, #0
191 0040 2377 strb r3, [r4, #28]
3554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
192 .loc 1 3554 0
193 0042 10BD pop {r4, pc}
194 .LVL20:
195 .L18:
3510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
196 .loc 1 3510 0
197 0044 DA69 ldr r2, [r3, #28]
ARM GAS /tmp/ccuT46mL.s page 68
3508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
198 .loc 1 3508 0
199 0046 0123 movs r3, #1
200 0048 2377 strb r3, [r4, #28]
3510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
201 .loc 1 3510 0
202 004a 002A cmp r2, #0
203 004c E6D1 bne .L13
3512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
204 .loc 1 3512 0
205 004e 84F84430 strb r3, [r4, #68]
3550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
206 .loc 1 3550 0
207 0052 2046 mov r0, r4
208 .LVL21:
209 0054 FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback
210 .LVL22:
3553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
211 .loc 1 3553 0
212 0058 0023 movs r3, #0
213 005a 2377 strb r3, [r4, #28]
3554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
214 .loc 1 3554 0
215 005c 10BD pop {r4, pc}
216 .LVL23:
217 .L20:
3528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
218 .loc 1 3528 0
219 005e DB69 ldr r3, [r3, #28]
3526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
220 .loc 1 3526 0
221 0060 0422 movs r2, #4
222 0062 2277 strb r2, [r4, #28]
3528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
223 .loc 1 3528 0
224 0064 002B cmp r3, #0
225 0066 D9D1 bne .L13
3530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
226 .loc 1 3530 0
227 0068 0123 movs r3, #1
228 006a 84F84630 strb r3, [r4, #70]
229 006e D5E7 b .L13
230 .L21:
3537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
231 .loc 1 3537 0
232 0070 DB69 ldr r3, [r3, #28]
3535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
233 .loc 1 3535 0
234 0072 0822 movs r2, #8
235 0074 2277 strb r2, [r4, #28]
3537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
236 .loc 1 3537 0
237 0076 002B cmp r3, #0
238 0078 D0D1 bne .L13
3539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
239 .loc 1 3539 0
240 007a 0123 movs r3, #1
ARM GAS /tmp/ccuT46mL.s page 69
241 007c 84F84730 strb r3, [r4, #71]
242 0080 CCE7 b .L13
243 .cfi_endproc
244 .LFE395:
246 0082 00BF .section .text.HAL_TIMEx_HallSensor_MspInit,"ax",%progbits
247 .align 1
248 .p2align 2,,3
249 .weak HAL_TIMEx_HallSensor_MspInit
250 .syntax unified
251 .thumb
252 .thumb_func
253 .fpu fpv4-sp-d16
255 HAL_TIMEx_HallSensor_MspInit:
256 .LFB331:
301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
257 .loc 1 301 0
258 .cfi_startproc
259 @ args = 0, pretend = 0, frame = 0
260 @ frame_needed = 0, uses_anonymous_args = 0
261 @ link register save eliminated.
262 .LVL24:
308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
263 .loc 1 308 0
264 0000 7047 bx lr
265 .cfi_endproc
266 .LFE331:
268 0002 00BF .section .text.HAL_TIMEx_HallSensor_Init,"ax",%progbits
269 .align 1
270 .p2align 2,,3
271 .global HAL_TIMEx_HallSensor_Init
272 .syntax unified
273 .thumb
274 .thumb_func
275 .fpu fpv4-sp-d16
277 HAL_TIMEx_HallSensor_Init:
278 .LFB329:
155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_OC_InitTypeDef OC_Config;
279 .loc 1 155 0
280 .cfi_startproc
281 @ args = 0, pretend = 0, frame = 32
282 @ frame_needed = 0, uses_anonymous_args = 0
283 .LVL25:
159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
284 .loc 1 159 0
285 0000 0028 cmp r0, #0
286 0002 64D0 beq .L26
155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_OC_InitTypeDef OC_Config;
287 .loc 1 155 0
288 0004 70B5 push {r4, r5, r6, lr}
289 .LCFI2:
290 .cfi_def_cfa_offset 16
291 .cfi_offset 4, -16
292 .cfi_offset 5, -12
293 .cfi_offset 6, -8
294 .cfi_offset 14, -4
173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
295 .loc 1 173 0
ARM GAS /tmp/ccuT46mL.s page 70
296 0006 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_OC_InitTypeDef OC_Config;
297 .loc 1 155 0
298 000a 88B0 sub sp, sp, #32
299 .LCFI3:
300 .cfi_def_cfa_offset 48
301 000c 0446 mov r4, r0
302 000e 0D46 mov r5, r1
173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
303 .loc 1 173 0
304 0010 03F0FF02 and r2, r3, #255
305 0014 002B cmp r3, #0
306 0016 55D0 beq .L31
307 .LVL26:
308 .L25:
195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
309 .loc 1 195 0
310 0018 0223 movs r3, #2
311 001a 84F83D30 strb r3, [r4, #61]
198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
312 .loc 1 198 0
313 001e 211D adds r1, r4, #4
314 0020 2068 ldr r0, [r4]
315 0022 FFF7FEFF bl TIM_Base_SetConfig
316 .LVL27:
201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
317 .loc 1 201 0
318 0026 AB68 ldr r3, [r5, #8]
319 0028 2968 ldr r1, [r5]
320 002a 2068 ldr r0, [r4]
321 002c 0322 movs r2, #3
322 002e FFF7FEFF bl TIM_TI1_SetConfig
323 .LVL28:
204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the IC1PSC value */
324 .loc 1 204 0
325 0032 2068 ldr r0, [r4]
206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
326 .loc 1 206 0
327 0034 6E68 ldr r6, [r5, #4]
204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the IC1PSC value */
328 .loc 1 204 0
329 0036 8269 ldr r2, [r0, #24]
226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
330 .loc 1 226 0
331 0038 E968 ldr r1, [r5, #12]
204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the IC1PSC value */
332 .loc 1 204 0
333 003a 22F00C02 bic r2, r2, #12
334 003e 8261 str r2, [r0, #24]
206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
335 .loc 1 206 0
336 0040 8369 ldr r3, [r0, #24]
337 0042 3343 orrs r3, r3, r6
338 0044 8361 str r3, [r0, #24]
209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
339 .loc 1 209 0
340 0046 4368 ldr r3, [r0, #4]
ARM GAS /tmp/ccuT46mL.s page 71
341 0048 43F08003 orr r3, r3, #128
342 004c 4360 str r3, [r0, #4]
212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_TS_TI1F_ED;
343 .loc 1 212 0
344 004e 8368 ldr r3, [r0, #8]
226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
345 .loc 1 226 0
346 0050 0291 str r1, [sp, #8]
212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_TS_TI1F_ED;
347 .loc 1 212 0
348 0052 23F44013 bic r3, r3, #3145728
349 0056 23F07003 bic r3, r3, #112
350 005a 8360 str r3, [r0, #8]
213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
351 .loc 1 213 0
352 005c 8368 ldr r3, [r0, #8]
353 005e 43F04003 orr r3, r3, #64
354 0062 8360 str r3, [r0, #8]
216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_RESET;
355 .loc 1 216 0
356 0064 8368 ldr r3, [r0, #8]
357 0066 23F48033 bic r3, r3, #65536
358 006a 23F00703 bic r3, r3, #7
359 006e 8360 str r3, [r0, #8]
217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
360 .loc 1 217 0
361 0070 8368 ldr r3, [r0, #8]
362 0072 43F00403 orr r3, r3, #4
363 0076 8360 str r3, [r0, #8]
220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCIdleState = TIM_OCIDLESTATE_RESET;
364 .loc 1 220 0
365 0078 0025 movs r5, #0
366 .LVL29:
222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCNIdleState = TIM_OCNIDLESTATE_RESET;
367 .loc 1 222 0
368 007a 7023 movs r3, #112
228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
369 .loc 1 228 0
370 007c 01A9 add r1, sp, #4
222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCNIdleState = TIM_OCNIDLESTATE_RESET;
371 .loc 1 222 0
372 007e 0193 str r3, [sp, #4]
221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCMode = TIM_OCMODE_PWM2;
373 .loc 1 221 0
374 0080 CDE90555 strd r5, r5, [sp, #20]
223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.OCNPolarity = TIM_OCNPOLARITY_HIGH;
375 .loc 1 223 0
376 0084 0795 str r5, [sp, #28]
225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** OC_Config.Pulse = sConfig->Commutation_Delay;
377 .loc 1 225 0
378 0086 CDE90355 strd r5, r5, [sp, #12]
228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
379 .loc 1 228 0
380 008a FFF7FEFF bl TIM_OC2_SetConfig
381 .LVL30:
232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_TRGO_OC2REF;
382 .loc 1 232 0
ARM GAS /tmp/ccuT46mL.s page 72
383 008e 2268 ldr r2, [r4]
384 0090 5368 ldr r3, [r2, #4]
385 0092 23F00073 bic r3, r3, #33554432
386 0096 23F07003 bic r3, r3, #112
387 009a 5360 str r3, [r2, #4]
233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
388 .loc 1 233 0
389 009c 5168 ldr r1, [r2, #4]
236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
390 .loc 1 236 0
391 009e 0123 movs r3, #1
233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
392 .loc 1 233 0
393 00a0 41F05001 orr r1, r1, #80
247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
394 .loc 1 247 0
395 00a4 2846 mov r0, r5
233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
396 .loc 1 233 0
397 00a6 5160 str r1, [r2, #4]
236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
398 .loc 1 236 0
399 00a8 84F84830 strb r3, [r4, #72]
239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
400 .loc 1 239 0
401 00ac 84F83E30 strb r3, [r4, #62]
240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
402 .loc 1 240 0
403 00b0 84F83F30 strb r3, [r4, #63]
241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
404 .loc 1 241 0
405 00b4 84F84430 strb r3, [r4, #68]
242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
406 .loc 1 242 0
407 00b8 84F84530 strb r3, [r4, #69]
245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
408 .loc 1 245 0
409 00bc 84F83D30 strb r3, [r4, #61]
248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
410 .loc 1 248 0
411 00c0 08B0 add sp, sp, #32
412 .LCFI4:
413 .cfi_remember_state
414 .cfi_def_cfa_offset 16
415 @ sp needed
416 00c2 70BD pop {r4, r5, r6, pc}
417 .LVL31:
418 .L31:
419 .LCFI5:
420 .cfi_restore_state
176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
421 .loc 1 176 0
422 00c4 80F83C20 strb r2, [r0, #60]
190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
423 .loc 1 190 0
424 00c8 FFF7FEFF bl HAL_TIMEx_HallSensor_MspInit
425 .LVL32:
ARM GAS /tmp/ccuT46mL.s page 73
426 00cc A4E7 b .L25
427 .LVL33:
428 .L26:
429 .LCFI6:
430 .cfi_def_cfa_offset 0
431 .cfi_restore 4
432 .cfi_restore 5
433 .cfi_restore 6
434 .cfi_restore 14
161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
435 .loc 1 161 0
436 00ce 0120 movs r0, #1
437 .LVL34:
248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
438 .loc 1 248 0
439 00d0 7047 bx lr
440 .cfi_endproc
441 .LFE329:
443 00d2 00BF .section .text.HAL_TIMEx_HallSensor_MspDeInit,"ax",%progbits
444 .align 1
445 .p2align 2,,3
446 .weak HAL_TIMEx_HallSensor_MspDeInit
447 .syntax unified
448 .thumb
449 .thumb_func
450 .fpu fpv4-sp-d16
452 HAL_TIMEx_HallSensor_MspDeInit:
453 .LFB399:
454 .cfi_startproc
455 @ args = 0, pretend = 0, frame = 0
456 @ frame_needed = 0, uses_anonymous_args = 0
457 @ link register save eliminated.
458 0000 7047 bx lr
459 .cfi_endproc
460 .LFE399:
462 0002 00BF .section .text.HAL_TIMEx_HallSensor_DeInit,"ax",%progbits
463 .align 1
464 .p2align 2,,3
465 .global HAL_TIMEx_HallSensor_DeInit
466 .syntax unified
467 .thumb
468 .thumb_func
469 .fpu fpv4-sp-d16
471 HAL_TIMEx_HallSensor_DeInit:
472 .LFB330:
256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
473 .loc 1 256 0
474 .cfi_startproc
475 @ args = 0, pretend = 0, frame = 0
476 @ frame_needed = 0, uses_anonymous_args = 0
477 .LVL35:
260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
478 .loc 1 260 0
479 0000 0222 movs r2, #2
263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
480 .loc 1 263 0
481 0002 0368 ldr r3, [r0]
ARM GAS /tmp/ccuT46mL.s page 74
256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
482 .loc 1 256 0
483 0004 10B5 push {r4, lr}
484 .LCFI7:
485 .cfi_def_cfa_offset 8
486 .cfi_offset 4, -8
487 .cfi_offset 14, -4
260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
488 .loc 1 260 0
489 0006 80F83D20 strb r2, [r0, #61]
263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
490 .loc 1 263 0
491 000a 196A ldr r1, [r3, #32]
492 000c 41F21112 movw r2, #4369
493 0010 1142 tst r1, r2
256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
494 .loc 1 256 0
495 0012 0446 mov r4, r0
263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
496 .loc 1 263 0
497 0014 08D1 bne .L34
263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
498 .loc 1 263 0 is_stmt 0 discriminator 1
499 0016 196A ldr r1, [r3, #32]
500 0018 44F24442 movw r2, #17476
501 001c 1142 tst r1, r2
502 001e 03D1 bne .L34
263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
503 .loc 1 263 0 discriminator 2
504 0020 1A68 ldr r2, [r3]
505 0022 22F00102 bic r2, r2, #1
506 0026 1A60 str r2, [r3]
507 .L34:
274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
508 .loc 1 274 0 is_stmt 1
509 0028 2046 mov r0, r4
510 .LVL36:
511 002a FFF7FEFF bl HAL_TIMEx_HallSensor_MspDeInit
512 .LVL37:
278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
513 .loc 1 278 0
514 002e 0023 movs r3, #0
515 0030 84F84830 strb r3, [r4, #72]
290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
516 .loc 1 290 0
517 0034 84F83C30 strb r3, [r4, #60]
281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET);
518 .loc 1 281 0
519 0038 84F83E30 strb r3, [r4, #62]
293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
520 .loc 1 293 0
521 003c 1846 mov r0, r3
282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET);
522 .loc 1 282 0
523 003e 84F83F30 strb r3, [r4, #63]
283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET);
524 .loc 1 283 0
ARM GAS /tmp/ccuT46mL.s page 75
525 0042 84F84430 strb r3, [r4, #68]
284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
526 .loc 1 284 0
527 0046 84F84530 strb r3, [r4, #69]
287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
528 .loc 1 287 0
529 004a 84F83D30 strb r3, [r4, #61]
293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
530 .loc 1 293 0
531 004e 10BD pop {r4, pc}
532 .cfi_endproc
533 .LFE330:
535 .section .text.HAL_TIMEx_HallSensor_Start,"ax",%progbits
536 .align 1
537 .p2align 2,,3
538 .global HAL_TIMEx_HallSensor_Start
539 .syntax unified
540 .thumb
541 .thumb_func
542 .fpu fpv4-sp-d16
544 HAL_TIMEx_HallSensor_Start:
545 .LFB333:
331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
546 .loc 1 331 0
547 .cfi_startproc
548 @ args = 0, pretend = 0, frame = 0
549 @ frame_needed = 0, uses_anonymous_args = 0
550 .LVL38:
333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
551 .loc 1 333 0
552 0000 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2
334: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
553 .loc 1 334 0
554 0004 90F83F10 ldrb r1, [r0, #63] @ zero_extendqisi2
333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
555 .loc 1 333 0
556 0008 DBB2 uxtb r3, r3
557 .LVL39:
342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
558 .loc 1 342 0
559 000a 012B cmp r3, #1
331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
560 .loc 1 331 0
561 000c 10B5 push {r4, lr}
562 .LCFI8:
563 .cfi_def_cfa_offset 8
564 .cfi_offset 4, -8
565 .cfi_offset 14, -4
335: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
566 .loc 1 335 0
567 000e 90F84440 ldrb r4, [r0, #68] @ zero_extendqisi2
568 .LVL40:
336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
569 .loc 1 336 0
570 0012 90F84520 ldrb r2, [r0, #69] @ zero_extendqisi2
571 .LVL41:
342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
ARM GAS /tmp/ccuT46mL.s page 76
572 .loc 1 342 0
573 0016 01D0 beq .L50
574 .LVL42:
575 .L40:
347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
576 .loc 1 347 0
577 0018 0120 movs r0, #1
578 .LVL43:
376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
579 .loc 1 376 0
580 001a 10BD pop {r4, pc}
581 .LVL44:
582 .L50:
583 001c C9B2 uxtb r1, r1
343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
584 .loc 1 343 0
585 001e 0129 cmp r1, #1
586 0020 FAD1 bne .L40
587 0022 E4B2 uxtb r4, r4
344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
588 .loc 1 344 0
589 0024 012C cmp r4, #1
590 0026 F7D1 bne .L40
591 0028 D2B2 uxtb r2, r2
345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
592 .loc 1 345 0
593 002a 012A cmp r2, #1
594 002c F4D1 bne .L40
595 002e 0446 mov r4, r0
596 .LVL45:
351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
597 .loc 1 351 0
598 0030 0223 movs r3, #2
599 .LVL46:
600 0032 80F83E30 strb r3, [r0, #62]
358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
601 .loc 1 358 0
602 0036 0021 movs r1, #0
603 .LVL47:
352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
604 .loc 1 352 0
605 0038 80F83F30 strb r3, [r0, #63]
358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
606 .loc 1 358 0
607 003c 0068 ldr r0, [r0]
608 .LVL48:
353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
609 .loc 1 353 0
610 003e 84F84430 strb r3, [r4, #68]
354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
611 .loc 1 354 0
612 0042 84F84530 strb r3, [r4, #69]
358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
613 .loc 1 358 0
614 0046 FFF7FEFF bl TIM_CCxChannelCmd
615 .LVL49:
361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
ARM GAS /tmp/ccuT46mL.s page 77
616 .loc 1 361 0
617 004a 2368 ldr r3, [r4]
618 004c 124A ldr r2, .L51
619 004e 9342 cmp r3, r2
620 0050 18D0 beq .L38
361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
621 .loc 1 361 0 is_stmt 0 discriminator 1
622 0052 B3F1804F cmp r3, #1073741824
623 0056 15D0 beq .L38
361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
624 .loc 1 361 0 discriminator 2
625 0058 A2F59432 sub r2, r2, #75776
626 005c 9342 cmp r3, r2
627 005e 11D0 beq .L38
361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
628 .loc 1 361 0 discriminator 3
629 0060 02F58062 add r2, r2, #1024
630 0064 9342 cmp r3, r2
631 0066 0DD0 beq .L38
361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
632 .loc 1 361 0 discriminator 4
633 0068 02F59632 add r2, r2, #76800
634 006c 9342 cmp r3, r2
635 006e 09D0 beq .L38
361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
636 .loc 1 361 0 discriminator 5
637 0070 02F54062 add r2, r2, #3072
638 0074 9342 cmp r3, r2
639 0076 05D0 beq .L38
640 .L39:
371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
641 .loc 1 371 0 is_stmt 1
642 0078 1A68 ldr r2, [r3]
643 007a 42F00102 orr r2, r2, #1
644 007e 1A60 str r2, [r3]
375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
645 .loc 1 375 0
646 0080 0020 movs r0, #0
376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
647 .loc 1 376 0
648 0082 10BD pop {r4, pc}
649 .LVL50:
650 .L38:
363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
651 .loc 1 363 0
652 0084 9968 ldr r1, [r3, #8]
653 0086 054A ldr r2, .L51+4
654 0088 0A40 ands r2, r2, r1
655 .LVL51:
364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
656 .loc 1 364 0
657 008a 062A cmp r2, #6
658 008c 02D0 beq .L45
364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
659 .loc 1 364 0 is_stmt 0 discriminator 1
660 008e B2F5803F cmp r2, #65536
661 0092 F1D1 bne .L39
ARM GAS /tmp/ccuT46mL.s page 78
662 .L45:
375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
663 .loc 1 375 0 is_stmt 1
664 0094 0020 movs r0, #0
376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
665 .loc 1 376 0
666 0096 10BD pop {r4, pc}
667 .LVL52:
668 .L52:
669 .align 2
670 .L51:
671 0098 002C0140 .word 1073818624
672 009c 07000100 .word 65543
673 .cfi_endproc
674 .LFE333:
676 .section .text.HAL_TIMEx_HallSensor_Stop,"ax",%progbits
677 .align 1
678 .p2align 2,,3
679 .global HAL_TIMEx_HallSensor_Stop
680 .syntax unified
681 .thumb
682 .thumb_func
683 .fpu fpv4-sp-d16
685 HAL_TIMEx_HallSensor_Stop:
686 .LFB334:
384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
687 .loc 1 384 0
688 .cfi_startproc
689 @ args = 0, pretend = 0, frame = 0
690 @ frame_needed = 0, uses_anonymous_args = 0
691 .LVL53:
390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
692 .loc 1 390 0
693 0000 0022 movs r2, #0
384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
694 .loc 1 384 0
695 0002 10B5 push {r4, lr}
696 .LCFI9:
697 .cfi_def_cfa_offset 8
698 .cfi_offset 4, -8
699 .cfi_offset 14, -4
384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
700 .loc 1 384 0
701 0004 0446 mov r4, r0
390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
702 .loc 1 390 0
703 0006 1146 mov r1, r2
704 0008 0068 ldr r0, [r0]
705 .LVL54:
706 000a FFF7FEFF bl TIM_CCxChannelCmd
707 .LVL55:
393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
708 .loc 1 393 0
709 000e 2368 ldr r3, [r4]
710 0010 196A ldr r1, [r3, #32]
711 0012 41F21112 movw r2, #4369
712 0016 1142 tst r1, r2
ARM GAS /tmp/ccuT46mL.s page 79
713 0018 08D1 bne .L54
393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
714 .loc 1 393 0 is_stmt 0 discriminator 1
715 001a 196A ldr r1, [r3, #32]
716 001c 44F24442 movw r2, #17476
717 0020 1142 tst r1, r2
718 0022 03D1 bne .L54
393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
719 .loc 1 393 0 discriminator 2
720 0024 1A68 ldr r2, [r3]
721 0026 22F00102 bic r2, r2, #1
722 002a 1A60 str r2, [r3]
723 .L54:
396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
724 .loc 1 396 0 is_stmt 1
725 002c 0123 movs r3, #1
726 002e 84F83E30 strb r3, [r4, #62]
403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
727 .loc 1 403 0
728 0032 0020 movs r0, #0
397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
729 .loc 1 397 0
730 0034 84F83F30 strb r3, [r4, #63]
398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
731 .loc 1 398 0
732 0038 84F84430 strb r3, [r4, #68]
399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
733 .loc 1 399 0
734 003c 84F84530 strb r3, [r4, #69]
403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
735 .loc 1 403 0
736 0040 10BD pop {r4, pc}
737 .cfi_endproc
738 .LFE334:
740 0042 00BF .section .text.HAL_TIMEx_HallSensor_Start_IT,"ax",%progbits
741 .align 1
742 .p2align 2,,3
743 .global HAL_TIMEx_HallSensor_Start_IT
744 .syntax unified
745 .thumb
746 .thumb_func
747 .fpu fpv4-sp-d16
749 HAL_TIMEx_HallSensor_Start_IT:
750 .LFB335:
411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
751 .loc 1 411 0
752 .cfi_startproc
753 @ args = 0, pretend = 0, frame = 0
754 @ frame_needed = 0, uses_anonymous_args = 0
755 .LVL56:
413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
756 .loc 1 413 0
757 0000 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2
414: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
758 .loc 1 414 0
759 0004 90F83F10 ldrb r1, [r0, #63] @ zero_extendqisi2
413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
ARM GAS /tmp/ccuT46mL.s page 80
760 .loc 1 413 0
761 0008 DBB2 uxtb r3, r3
762 .LVL57:
422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
763 .loc 1 422 0
764 000a 012B cmp r3, #1
411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
765 .loc 1 411 0
766 000c 10B5 push {r4, lr}
767 .LCFI10:
768 .cfi_def_cfa_offset 8
769 .cfi_offset 4, -8
770 .cfi_offset 14, -4
415: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
771 .loc 1 415 0
772 000e 90F84440 ldrb r4, [r0, #68] @ zero_extendqisi2
773 .LVL58:
416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
774 .loc 1 416 0
775 0012 90F84520 ldrb r2, [r0, #69] @ zero_extendqisi2
776 .LVL59:
422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
777 .loc 1 422 0
778 0016 01D0 beq .L70
779 .LVL60:
780 .L60:
427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
781 .loc 1 427 0
782 0018 0120 movs r0, #1
783 .LVL61:
459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
784 .loc 1 459 0
785 001a 10BD pop {r4, pc}
786 .LVL62:
787 .L70:
788 001c C9B2 uxtb r1, r1
423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
789 .loc 1 423 0
790 001e 0129 cmp r1, #1
791 0020 FAD1 bne .L60
792 0022 E4B2 uxtb r4, r4
424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
793 .loc 1 424 0
794 0024 012C cmp r4, #1
795 0026 F7D1 bne .L60
796 0028 D2B2 uxtb r2, r2
425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
797 .loc 1 425 0
798 002a 012A cmp r2, #1
799 002c F4D1 bne .L60
800 002e 0446 mov r4, r0
801 .LVL63:
431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
802 .loc 1 431 0
803 0030 0223 movs r3, #2
804 .LVL64:
437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccuT46mL.s page 81
805 .loc 1 437 0
806 0032 0068 ldr r0, [r0]
807 .LVL65:
431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
808 .loc 1 431 0
809 0034 84F83E30 strb r3, [r4, #62]
432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
810 .loc 1 432 0
811 0038 84F83F30 strb r3, [r4, #63]
433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
812 .loc 1 433 0
813 003c 84F84430 strb r3, [r4, #68]
434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
814 .loc 1 434 0
815 0040 84F84530 strb r3, [r4, #69]
437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
816 .loc 1 437 0
817 0044 C368 ldr r3, [r0, #12]
818 0046 43F00203 orr r3, r3, #2
819 004a C360 str r3, [r0, #12]
441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
820 .loc 1 441 0
821 004c 0021 movs r1, #0
822 .LVL66:
823 004e FFF7FEFF bl TIM_CCxChannelCmd
824 .LVL67:
444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
825 .loc 1 444 0
826 0052 2368 ldr r3, [r4]
827 0054 124A ldr r2, .L71
828 0056 9342 cmp r3, r2
829 0058 18D0 beq .L58
444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
830 .loc 1 444 0 is_stmt 0 discriminator 1
831 005a B3F1804F cmp r3, #1073741824
832 005e 15D0 beq .L58
444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
833 .loc 1 444 0 discriminator 2
834 0060 A2F59432 sub r2, r2, #75776
835 0064 9342 cmp r3, r2
836 0066 11D0 beq .L58
444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
837 .loc 1 444 0 discriminator 3
838 0068 02F58062 add r2, r2, #1024
839 006c 9342 cmp r3, r2
840 006e 0DD0 beq .L58
444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
841 .loc 1 444 0 discriminator 4
842 0070 02F59632 add r2, r2, #76800
843 0074 9342 cmp r3, r2
844 0076 09D0 beq .L58
444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
845 .loc 1 444 0 discriminator 5
846 0078 02F54062 add r2, r2, #3072
847 007c 9342 cmp r3, r2
848 007e 05D0 beq .L58
849 .L59:
ARM GAS /tmp/ccuT46mL.s page 82
454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
850 .loc 1 454 0 is_stmt 1
851 0080 1A68 ldr r2, [r3]
852 0082 42F00102 orr r2, r2, #1
853 0086 1A60 str r2, [r3]
458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
854 .loc 1 458 0
855 0088 0020 movs r0, #0
459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
856 .loc 1 459 0
857 008a 10BD pop {r4, pc}
858 .LVL68:
859 .L58:
446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
860 .loc 1 446 0
861 008c 9968 ldr r1, [r3, #8]
862 008e 054A ldr r2, .L71+4
863 0090 0A40 ands r2, r2, r1
864 .LVL69:
447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
865 .loc 1 447 0
866 0092 062A cmp r2, #6
867 0094 02D0 beq .L65
447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
868 .loc 1 447 0 is_stmt 0 discriminator 1
869 0096 B2F5803F cmp r2, #65536
870 009a F1D1 bne .L59
871 .L65:
458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
872 .loc 1 458 0 is_stmt 1
873 009c 0020 movs r0, #0
459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
874 .loc 1 459 0
875 009e 10BD pop {r4, pc}
876 .LVL70:
877 .L72:
878 .align 2
879 .L71:
880 00a0 002C0140 .word 1073818624
881 00a4 07000100 .word 65543
882 .cfi_endproc
883 .LFE335:
885 .section .text.HAL_TIMEx_HallSensor_Stop_IT,"ax",%progbits
886 .align 1
887 .p2align 2,,3
888 .global HAL_TIMEx_HallSensor_Stop_IT
889 .syntax unified
890 .thumb
891 .thumb_func
892 .fpu fpv4-sp-d16
894 HAL_TIMEx_HallSensor_Stop_IT:
895 .LFB336:
467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
896 .loc 1 467 0
897 .cfi_startproc
898 @ args = 0, pretend = 0, frame = 0
899 @ frame_needed = 0, uses_anonymous_args = 0
ARM GAS /tmp/ccuT46mL.s page 83
900 .LVL71:
473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
901 .loc 1 473 0
902 0000 0022 movs r2, #0
467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
903 .loc 1 467 0
904 0002 10B5 push {r4, lr}
905 .LCFI11:
906 .cfi_def_cfa_offset 8
907 .cfi_offset 4, -8
908 .cfi_offset 14, -4
467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
909 .loc 1 467 0
910 0004 0446 mov r4, r0
473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
911 .loc 1 473 0
912 0006 1146 mov r1, r2
913 0008 0068 ldr r0, [r0]
914 .LVL72:
915 000a FFF7FEFF bl TIM_CCxChannelCmd
916 .LVL73:
476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
917 .loc 1 476 0
918 000e 2368 ldr r3, [r4]
919 0010 DA68 ldr r2, [r3, #12]
920 0012 22F00202 bic r2, r2, #2
921 0016 DA60 str r2, [r3, #12]
479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
922 .loc 1 479 0
923 0018 196A ldr r1, [r3, #32]
924 001a 41F21112 movw r2, #4369
925 001e 1142 tst r1, r2
926 0020 08D1 bne .L74
479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
927 .loc 1 479 0 is_stmt 0 discriminator 1
928 0022 196A ldr r1, [r3, #32]
929 0024 44F24442 movw r2, #17476
930 0028 1142 tst r1, r2
931 002a 03D1 bne .L74
479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
932 .loc 1 479 0 discriminator 2
933 002c 1A68 ldr r2, [r3]
934 002e 22F00102 bic r2, r2, #1
935 0032 1A60 str r2, [r3]
936 .L74:
482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
937 .loc 1 482 0 is_stmt 1
938 0034 0123 movs r3, #1
939 0036 84F83E30 strb r3, [r4, #62]
489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
940 .loc 1 489 0
941 003a 0020 movs r0, #0
483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
942 .loc 1 483 0
943 003c 84F83F30 strb r3, [r4, #63]
484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
944 .loc 1 484 0
ARM GAS /tmp/ccuT46mL.s page 84
945 0040 84F84430 strb r3, [r4, #68]
485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
946 .loc 1 485 0
947 0044 84F84530 strb r3, [r4, #69]
489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
948 .loc 1 489 0
949 0048 10BD pop {r4, pc}
950 .cfi_endproc
951 .LFE336:
953 004a 00BF .section .text.HAL_TIMEx_HallSensor_Start_DMA,"ax",%progbits
954 .align 1
955 .p2align 2,,3
956 .global HAL_TIMEx_HallSensor_Start_DMA
957 .syntax unified
958 .thumb
959 .thumb_func
960 .fpu fpv4-sp-d16
962 HAL_TIMEx_HallSensor_Start_DMA:
963 .LFB337:
499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
964 .loc 1 499 0
965 .cfi_startproc
966 @ args = 0, pretend = 0, frame = 0
967 @ frame_needed = 0, uses_anonymous_args = 0
968 .LVL74:
969 0000 F8B5 push {r3, r4, r5, r6, r7, lr}
970 .LCFI12:
971 .cfi_def_cfa_offset 24
972 .cfi_offset 3, -24
973 .cfi_offset 4, -20
974 .cfi_offset 5, -16
975 .cfi_offset 6, -12
976 .cfi_offset 7, -8
977 .cfi_offset 14, -4
501: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
978 .loc 1 501 0
979 0002 90F83E40 ldrb r4, [r0, #62] @ zero_extendqisi2
502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
980 .loc 1 502 0
981 0006 90F84450 ldrb r5, [r0, #68] @ zero_extendqisi2
501: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
982 .loc 1 501 0
983 000a E4B2 uxtb r4, r4
984 .LVL75:
508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY))
985 .loc 1 508 0
986 000c 022C cmp r4, #2
987 000e 45D0 beq .L83
988 0010 EDB2 uxtb r5, r5
509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
989 .loc 1 509 0
990 0012 022D cmp r5, #2
991 0014 44D0 beq .L84
513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY))
992 .loc 1 513 0
993 0016 012C cmp r4, #1
994 0018 01D0 beq .L78
ARM GAS /tmp/ccuT46mL.s page 85
995 .LVL76:
996 .L79:
528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
997 .loc 1 528 0
998 001a 0120 movs r0, #1
999 .L77:
566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1000 .loc 1 566 0
1001 001c F8BD pop {r3, r4, r5, r6, r7, pc}
1002 .LVL77:
1003 .L78:
514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1004 .loc 1 514 0
1005 001e 012D cmp r5, #1
1006 0020 FBD1 bne .L79
516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1007 .loc 1 516 0
1008 0022 0029 cmp r1, #0
1009 0024 3ED0 beq .L96
1010 .L80:
522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
1011 .loc 1 522 0
1012 0026 0223 movs r3, #2
1013 0028 0446 mov r4, r0
1014 .LVL78:
1015 002a 80F83E30 strb r3, [r0, #62]
1016 002e 1646 mov r6, r2
523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1017 .loc 1 523 0
1018 0030 80F84430 strb r3, [r0, #68]
1019 0034 0D46 mov r5, r1
1020 .LVL79:
533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1021 .loc 1 533 0
1022 0036 0122 movs r2, #1
1023 .LVL80:
1024 0038 0021 movs r1, #0
1025 .LVL81:
1026 003a 0068 ldr r0, [r0]
1027 .LVL82:
539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1028 .loc 1 539 0
1029 003c 1F4F ldr r7, .L97
533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1030 .loc 1 533 0
1031 003e FFF7FEFF bl TIM_CCxChannelCmd
1032 .LVL83:
542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1033 .loc 1 542 0
1034 0042 2168 ldr r1, [r4]
536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
1035 .loc 1 536 0
1036 0044 606A ldr r0, [r4, #36]
1037 0046 1E4A ldr r2, .L97+4
537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
1038 .loc 1 537 0
1039 0048 1E4B ldr r3, .L97+8
ARM GAS /tmp/ccuT46mL.s page 86
536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
1040 .loc 1 536 0
1041 004a C262 str r2, [r0, #44]
537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
1042 .loc 1 537 0
1043 004c 0363 str r3, [r0, #48]
542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1044 .loc 1 542 0
1045 004e 2A46 mov r2, r5
1046 0050 3346 mov r3, r6
539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1047 .loc 1 539 0
1048 0052 4763 str r7, [r0, #52]
542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1049 .loc 1 542 0
1050 0054 3431 adds r1, r1, #52
1051 0056 FFF7FEFF bl HAL_DMA_Start_IT
1052 .LVL84:
1053 005a 0028 cmp r0, #0
1054 005c DDD1 bne .L79
548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1055 .loc 1 548 0
1056 005e 2368 ldr r3, [r4]
551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1057 .loc 1 551 0
1058 0060 1949 ldr r1, .L97+12
548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1059 .loc 1 548 0
1060 0062 DA68 ldr r2, [r3, #12]
551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1061 .loc 1 551 0
1062 0064 8B42 cmp r3, r1
548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1063 .loc 1 548 0
1064 0066 42F40072 orr r2, r2, #512
1065 006a DA60 str r2, [r3, #12]
551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1066 .loc 1 551 0
1067 006c 1DD0 beq .L81
551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1068 .loc 1 551 0 is_stmt 0 discriminator 1
1069 006e B3F1804F cmp r3, #1073741824
1070 0072 1AD0 beq .L81
551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1071 .loc 1 551 0 discriminator 2
1072 0074 154A ldr r2, .L97+16
1073 0076 9342 cmp r3, r2
1074 0078 17D0 beq .L81
551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1075 .loc 1 551 0 discriminator 3
1076 007a 02F58062 add r2, r2, #1024
1077 007e 9342 cmp r3, r2
1078 0080 13D0 beq .L81
551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1079 .loc 1 551 0 discriminator 4
1080 0082 02F59632 add r2, r2, #76800
1081 0086 9342 cmp r3, r2
ARM GAS /tmp/ccuT46mL.s page 87
1082 0088 0FD0 beq .L81
551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1083 .loc 1 551 0 discriminator 5
1084 008a 02F54062 add r2, r2, #3072
1085 008e 9342 cmp r3, r2
1086 0090 0BD0 beq .L81
1087 .L82:
561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1088 .loc 1 561 0 is_stmt 1
1089 0092 1A68 ldr r2, [r3]
1090 0094 42F00102 orr r2, r2, #1
1091 0098 1A60 str r2, [r3]
566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1092 .loc 1 566 0
1093 009a F8BD pop {r3, r4, r5, r6, r7, pc}
1094 .LVL85:
1095 .L83:
511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1096 .loc 1 511 0
1097 009c 2046 mov r0, r4
1098 .LVL86:
566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1099 .loc 1 566 0
1100 009e F8BD pop {r3, r4, r5, r6, r7, pc}
1101 .LVL87:
1102 .L84:
511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1103 .loc 1 511 0
1104 00a0 2846 mov r0, r5
1105 .LVL88:
566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1106 .loc 1 566 0
1107 00a2 F8BD pop {r3, r4, r5, r6, r7, pc}
1108 .LVL89:
1109 .L96:
516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1110 .loc 1 516 0 discriminator 1
1111 00a4 002A cmp r2, #0
1112 00a6 BED0 beq .L80
1113 00a8 B7E7 b .L79
1114 .LVL90:
1115 .L81:
553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
1116 .loc 1 553 0
1117 00aa 9968 ldr r1, [r3, #8]
1118 00ac 084A ldr r2, .L97+20
1119 00ae 0A40 ands r2, r2, r1
1120 .LVL91:
554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1121 .loc 1 554 0
1122 00b0 062A cmp r2, #6
1123 00b2 B3D0 beq .L77
554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1124 .loc 1 554 0 is_stmt 0 discriminator 1
1125 00b4 B2F5803F cmp r2, #65536
1126 00b8 EBD1 bne .L82
566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccuT46mL.s page 88
1127 .loc 1 566 0 is_stmt 1
1128 00ba F8BD pop {r3, r4, r5, r6, r7, pc}
1129 .LVL92:
1130 .L98:
1131 .align 2
1132 .L97:
1133 00bc 00000000 .word TIM_DMAError
1134 00c0 00000000 .word TIM_DMACaptureCplt
1135 00c4 00000000 .word TIM_DMACaptureHalfCplt
1136 00c8 002C0140 .word 1073818624
1137 00cc 00040040 .word 1073742848
1138 00d0 07000100 .word 65543
1139 .cfi_endproc
1140 .LFE337:
1142 .section .text.HAL_TIMEx_HallSensor_Stop_DMA,"ax",%progbits
1143 .align 1
1144 .p2align 2,,3
1145 .global HAL_TIMEx_HallSensor_Stop_DMA
1146 .syntax unified
1147 .thumb
1148 .thumb_func
1149 .fpu fpv4-sp-d16
1151 HAL_TIMEx_HallSensor_Stop_DMA:
1152 .LFB338:
574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1153 .loc 1 574 0
1154 .cfi_startproc
1155 @ args = 0, pretend = 0, frame = 0
1156 @ frame_needed = 0, uses_anonymous_args = 0
1157 .LVL93:
1158 0000 10B5 push {r4, lr}
1159 .LCFI13:
1160 .cfi_def_cfa_offset 8
1161 .cfi_offset 4, -8
1162 .cfi_offset 14, -4
580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1163 .loc 1 580 0
1164 0002 0022 movs r2, #0
574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1165 .loc 1 574 0
1166 0004 0446 mov r4, r0
580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1167 .loc 1 580 0
1168 0006 1146 mov r1, r2
1169 0008 0068 ldr r0, [r0]
1170 .LVL94:
1171 000a FFF7FEFF bl TIM_CCxChannelCmd
1172 .LVL95:
584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1173 .loc 1 584 0
1174 000e 2268 ldr r2, [r4]
586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1175 .loc 1 586 0
1176 0010 606A ldr r0, [r4, #36]
584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1177 .loc 1 584 0
1178 0012 D368 ldr r3, [r2, #12]
ARM GAS /tmp/ccuT46mL.s page 89
1179 0014 23F40073 bic r3, r3, #512
1180 0018 D360 str r3, [r2, #12]
586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1181 .loc 1 586 0
1182 001a FFF7FEFF bl HAL_DMA_Abort_IT
1183 .LVL96:
589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1184 .loc 1 589 0
1185 001e 2368 ldr r3, [r4]
1186 0020 196A ldr r1, [r3, #32]
1187 0022 41F21112 movw r2, #4369
1188 0026 1142 tst r1, r2
1189 0028 08D1 bne .L100
589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1190 .loc 1 589 0 is_stmt 0 discriminator 1
1191 002a 196A ldr r1, [r3, #32]
1192 002c 44F24442 movw r2, #17476
1193 0030 1142 tst r1, r2
1194 0032 03D1 bne .L100
589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1195 .loc 1 589 0 discriminator 2
1196 0034 1A68 ldr r2, [r3]
1197 0036 22F00102 bic r2, r2, #1
1198 003a 1A60 str r2, [r3]
1199 .L100:
592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
1200 .loc 1 592 0 is_stmt 1
1201 003c 0123 movs r3, #1
1202 003e 84F83E30 strb r3, [r4, #62]
597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1203 .loc 1 597 0
1204 0042 0020 movs r0, #0
593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1205 .loc 1 593 0
1206 0044 84F84430 strb r3, [r4, #68]
597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1207 .loc 1 597 0
1208 0048 10BD pop {r4, pc}
1209 .cfi_endproc
1210 .LFE338:
1212 004a 00BF .section .text.HAL_TIMEx_OCN_Start,"ax",%progbits
1213 .align 1
1214 .p2align 2,,3
1215 .global HAL_TIMEx_OCN_Start
1216 .syntax unified
1217 .thumb
1218 .thumb_func
1219 .fpu fpv4-sp-d16
1221 HAL_TIMEx_OCN_Start:
1222 .LFB339:
636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
1223 .loc 1 636 0
1224 .cfi_startproc
1225 @ args = 0, pretend = 0, frame = 0
1226 @ frame_needed = 0, uses_anonymous_args = 0
1227 @ link register save eliminated.
1228 .LVL97:
ARM GAS /tmp/ccuT46mL.s page 90
643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1229 .loc 1 643 0
1230 0000 0029 cmp r1, #0
1231 0002 3DD1 bne .L103
643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1232 .loc 1 643 0 is_stmt 0 discriminator 1
1233 0004 90F84430 ldrb r3, [r0, #68] @ zero_extendqisi2
1234 0008 012B cmp r3, #1
1235 000a 45D1 bne .L117
649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1236 .loc 1 649 0 is_stmt 1 discriminator 1
1237 000c 0223 movs r3, #2
1238 000e 80F84430 strb r3, [r0, #68]
1239 .L111:
652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1240 .loc 1 652 0
1241 0012 0368 ldr r3, [r0]
1242 .LVL98:
1243 .LBB36:
1244 .LBB37:
3593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
3595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @brief Enables or disables the TIM Capture Compare Channel xN.
3596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param TIMx to select the TIM peripheral
3597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param Channel specifies the TIM Channel
3598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be one of the following values:
3599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1
3600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2
3601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3
3602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_4: TIM Channel 4
3603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @param ChannelNState specifies the TIM Channel CCxNE bit new state.
3604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * This parameter can be: TIM_CCxN_ENABLE or TIM_CCxN_Disable.
3605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** * @retval None
3606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** */
3607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** static void TIM_CCxNChannelCmd(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ChannelNState)
3608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmp;
3610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** tmp = TIM_CCER_CC1NE << (Channel & 0x1FU); /* 0x1FU = 31 bits max shift */
1245 .loc 1 3611 0
1246 0014 0422 movs r2, #4
3612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the CCxNE Bit */
3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIMx->CCER &= ~tmp;
1247 .loc 1 3614 0
1248 0016 186A ldr r0, [r3, #32]
1249 .LVL99:
3611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1250 .loc 1 3611 0
1251 0018 01F01F01 and r1, r1, #31
1252 .LVL100:
1253 001c 02FA01F1 lsl r1, r2, r1
1254 .LVL101:
1255 .loc 1 3614 0
1256 0020 20EA0100 bic r0, r0, r1
1257 .LBE37:
1258 .LBE36:
ARM GAS /tmp/ccuT46mL.s page 91
636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
1259 .loc 1 636 0
1260 0024 10B4 push {r4}
1261 .LCFI14:
1262 .cfi_def_cfa_offset 4
1263 .cfi_offset 4, -4
1264 .LBB40:
1265 .LBB38:
1266 .loc 1 3614 0
1267 0026 1862 str r0, [r3, #32]
3615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set or reset the CCxNE Bit */
3617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIMx->CCER |= (uint32_t)(ChannelNState << (Channel & 0x1FU)); /* 0x1FU = 31 bits max shift */
1268 .loc 1 3617 0
1269 0028 1A6A ldr r2, [r3, #32]
1270 .LBE38:
1271 .LBE40:
658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1272 .loc 1 658 0
1273 002a 264C ldr r4, .L132
1274 .LBB41:
1275 .LBB39:
1276 .loc 1 3617 0
1277 002c 1143 orrs r1, r1, r2
1278 .LVL102:
1279 002e 1962 str r1, [r3, #32]
1280 .LVL103:
1281 .LBE39:
1282 .LBE41:
655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1283 .loc 1 655 0
1284 0030 5A6C ldr r2, [r3, #68]
658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1285 .loc 1 658 0
1286 0032 A342 cmp r3, r4
655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1287 .loc 1 655 0
1288 0034 42F40042 orr r2, r2, #32768
1289 0038 5A64 str r2, [r3, #68]
658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1290 .loc 1 658 0
1291 003a 11D0 beq .L112
658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1292 .loc 1 658 0 is_stmt 0 discriminator 1
1293 003c B3F1804F cmp r3, #1073741824
1294 0040 0ED0 beq .L112
658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1295 .loc 1 658 0 discriminator 2
1296 0042 214A ldr r2, .L132+4
1297 0044 9342 cmp r3, r2
1298 0046 0BD0 beq .L112
658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1299 .loc 1 658 0 discriminator 3
1300 0048 02F58062 add r2, r2, #1024
1301 004c 9342 cmp r3, r2
1302 004e 07D0 beq .L112
658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
ARM GAS /tmp/ccuT46mL.s page 92
1303 .loc 1 658 0 discriminator 4
1304 0050 02F59632 add r2, r2, #76800
1305 0054 9342 cmp r3, r2
1306 0056 03D0 beq .L112
658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1307 .loc 1 658 0 discriminator 5
1308 0058 02F54062 add r2, r2, #3072
1309 005c 9342 cmp r3, r2
1310 005e 07D1 bne .L113
1311 .L112:
660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
1312 .loc 1 660 0 is_stmt 1
1313 0060 9968 ldr r1, [r3, #8]
1314 0062 1A4A ldr r2, .L132+8
1315 0064 0A40 ands r2, r2, r1
1316 .LVL104:
661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1317 .loc 1 661 0
1318 0066 062A cmp r2, #6
1319 0068 18D0 beq .L119
661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1320 .loc 1 661 0 is_stmt 0 discriminator 1
1321 006a B2F5803F cmp r2, #65536
1322 006e 15D0 beq .L119
1323 .LVL105:
1324 .L113:
668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1325 .loc 1 668 0 is_stmt 1
1326 0070 1A68 ldr r2, [r3]
673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1327 .loc 1 673 0
1328 0072 5DF8044B ldr r4, [sp], #4
1329 .LCFI15:
1330 .cfi_restore 4
1331 .cfi_def_cfa_offset 0
668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1332 .loc 1 668 0
1333 0076 42F00102 orr r2, r2, #1
672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1334 .loc 1 672 0
1335 007a 0020 movs r0, #0
668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1336 .loc 1 668 0
1337 007c 1A60 str r2, [r3]
673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1338 .loc 1 673 0
1339 007e 7047 bx lr
1340 .LVL106:
1341 .L103:
643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1342 .loc 1 643 0 discriminator 2
1343 0080 0429 cmp r1, #4
1344 0082 0FD0 beq .L130
643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1345 .loc 1 643 0 is_stmt 0 discriminator 5
1346 0084 0829 cmp r1, #8
1347 0086 15D0 beq .L131
ARM GAS /tmp/ccuT46mL.s page 93
643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1348 .loc 1 643 0 discriminator 8
1349 0088 90F84730 ldrb r3, [r0, #71] @ zero_extendqisi2
1350 008c 012B cmp r3, #1
1351 008e 03D1 bne .L117
649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1352 .loc 1 649 0 is_stmt 1 discriminator 7
1353 0090 0223 movs r3, #2
1354 0092 80F84730 strb r3, [r0, #71]
1355 0096 BCE7 b .L111
1356 .L117:
645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1357 .loc 1 645 0
1358 0098 0120 movs r0, #1
1359 .LVL107:
673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1360 .loc 1 673 0
1361 009a 7047 bx lr
1362 .LVL108:
1363 .L119:
1364 .LCFI16:
1365 .cfi_def_cfa_offset 4
1366 .cfi_offset 4, -4
672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1367 .loc 1 672 0
1368 009c 0020 movs r0, #0
673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1369 .loc 1 673 0
1370 009e 5DF8044B ldr r4, [sp], #4
1371 .LCFI17:
1372 .cfi_restore 4
1373 .cfi_def_cfa_offset 0
1374 00a2 7047 bx lr
1375 .LVL109:
1376 .L130:
643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1377 .loc 1 643 0 discriminator 4
1378 00a4 90F84530 ldrb r3, [r0, #69] @ zero_extendqisi2
1379 00a8 012B cmp r3, #1
1380 00aa F5D1 bne .L117
649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1381 .loc 1 649 0 discriminator 3
1382 00ac 0223 movs r3, #2
1383 00ae 80F84530 strb r3, [r0, #69]
1384 00b2 AEE7 b .L111
1385 .L131:
643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1386 .loc 1 643 0 discriminator 7
1387 00b4 90F84630 ldrb r3, [r0, #70] @ zero_extendqisi2
1388 00b8 012B cmp r3, #1
1389 00ba EDD1 bne .L117
649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1390 .loc 1 649 0 discriminator 6
1391 00bc 0223 movs r3, #2
1392 00be 80F84630 strb r3, [r0, #70]
1393 00c2 A6E7 b .L111
1394 .L133:
ARM GAS /tmp/ccuT46mL.s page 94
1395 .align 2
1396 .L132:
1397 00c4 002C0140 .word 1073818624
1398 00c8 00040040 .word 1073742848
1399 00cc 07000100 .word 65543
1400 .cfi_endproc
1401 .LFE339:
1403 .section .text.HAL_TIMEx_OCN_Stop,"ax",%progbits
1404 .align 1
1405 .p2align 2,,3
1406 .global HAL_TIMEx_OCN_Stop
1407 .syntax unified
1408 .thumb
1409 .thumb_func
1410 .fpu fpv4-sp-d16
1412 HAL_TIMEx_OCN_Stop:
1413 .LFB340:
688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1414 .loc 1 688 0
1415 .cfi_startproc
1416 @ args = 0, pretend = 0, frame = 0
1417 @ frame_needed = 0, uses_anonymous_args = 0
1418 @ link register save eliminated.
1419 .LVL110:
693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1420 .loc 1 693 0
1421 0000 0368 ldr r3, [r0]
1422 .LVL111:
688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
1423 .loc 1 688 0
1424 0002 30B4 push {r4, r5}
1425 .LCFI18:
1426 .cfi_def_cfa_offset 8
1427 .cfi_offset 4, -8
1428 .cfi_offset 5, -4
1429 .LBB44:
1430 .LBB45:
3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1431 .loc 1 3614 0
1432 0004 1A6A ldr r2, [r3, #32]
3611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1433 .loc 1 3611 0
1434 0006 01F01F05 and r5, r1, #31
1435 000a 0424 movs r4, #4
1436 000c AC40 lsls r4, r4, r5
1437 .LVL112:
3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1438 .loc 1 3614 0
1439 000e 22EA0402 bic r2, r2, r4
1440 0012 1A62 str r2, [r3, #32]
1441 .loc 1 3617 0
1442 0014 1A6A ldr r2, [r3, #32]
1443 0016 1A62 str r2, [r3, #32]
1444 .LVL113:
1445 .LBE45:
1446 .LBE44:
696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccuT46mL.s page 95
1447 .loc 1 696 0
1448 0018 1C6A ldr r4, [r3, #32]
1449 001a 41F21112 movw r2, #4369
1450 001e 1442 tst r4, r2
1451 0020 04D1 bne .L135
696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1452 .loc 1 696 0 is_stmt 0 discriminator 1
1453 0022 1C6A ldr r4, [r3, #32]
1454 0024 44F24442 movw r2, #17476
1455 0028 1442 tst r4, r2
1456 002a 22D0 beq .L142
1457 .L135:
699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1458 .loc 1 699 0 is_stmt 1
1459 002c 1C6A ldr r4, [r3, #32]
1460 002e 41F21112 movw r2, #4369
1461 0032 1442 tst r4, r2
1462 0034 04D1 bne .L136
699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1463 .loc 1 699 0 is_stmt 0 discriminator 1
1464 0036 1C6A ldr r4, [r3, #32]
1465 0038 44F24442 movw r2, #17476
1466 003c 1442 tst r4, r2
1467 003e 0CD0 beq .L143
1468 .L136:
702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1469 .loc 1 702 0 is_stmt 1
1470 0040 0123 movs r3, #1
1471 0042 89B1 cbz r1, .L144
1472 .L137:
702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1473 .loc 1 702 0 is_stmt 0 discriminator 2
1474 0044 0429 cmp r1, #4
1475 0046 19D0 beq .L145
702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1476 .loc 1 702 0 discriminator 4
1477 0048 0829 cmp r1, #8
1478 004a 0CBF ite eq
1479 004c 80F84630 strbeq r3, [r0, #70]
1480 0050 80F84730 strbne r3, [r0, #71]
706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1481 .loc 1 706 0 is_stmt 1 discriminator 4
1482 0054 30BC pop {r4, r5}
1483 .LCFI19:
1484 .cfi_remember_state
1485 .cfi_restore 5
1486 .cfi_restore 4
1487 .cfi_def_cfa_offset 0
1488 0056 0020 movs r0, #0
1489 .LVL114:
1490 0058 7047 bx lr
1491 .LVL115:
1492 .L143:
1493 .LCFI20:
1494 .cfi_restore_state
699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1495 .loc 1 699 0 discriminator 2
ARM GAS /tmp/ccuT46mL.s page 96
1496 005a 1A68 ldr r2, [r3]
1497 005c 22F00102 bic r2, r2, #1
1498 0060 1A60 str r2, [r3]
702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1499 .loc 1 702 0 discriminator 2
1500 0062 0123 movs r3, #1
1501 0064 0029 cmp r1, #0
1502 0066 EDD1 bne .L137
1503 .L144:
702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1504 .loc 1 702 0 is_stmt 0 discriminator 1
1505 0068 80F84430 strb r3, [r0, #68]
706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1506 .loc 1 706 0 is_stmt 1 discriminator 1
1507 006c 30BC pop {r4, r5}
1508 .LCFI21:
1509 .cfi_remember_state
1510 .cfi_restore 5
1511 .cfi_restore 4
1512 .cfi_def_cfa_offset 0
1513 006e 0020 movs r0, #0
1514 .LVL116:
1515 0070 7047 bx lr
1516 .LVL117:
1517 .L142:
1518 .LCFI22:
1519 .cfi_restore_state
696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1520 .loc 1 696 0 discriminator 2
1521 0072 5A6C ldr r2, [r3, #68]
1522 0074 22F40042 bic r2, r2, #32768
1523 0078 5A64 str r2, [r3, #68]
1524 007a D7E7 b .L135
1525 .L145:
702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1526 .loc 1 702 0 discriminator 3
1527 007c 80F84530 strb r3, [r0, #69]
706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1528 .loc 1 706 0 discriminator 3
1529 0080 30BC pop {r4, r5}
1530 .LCFI23:
1531 .cfi_restore 5
1532 .cfi_restore 4
1533 .cfi_def_cfa_offset 0
1534 0082 0020 movs r0, #0
1535 .LVL118:
1536 0084 7047 bx lr
1537 .cfi_endproc
1538 .LFE340:
1540 0086 00BF .section .text.HAL_TIMEx_OCN_Start_IT,"ax",%progbits
1541 .align 1
1542 .p2align 2,,3
1543 .global HAL_TIMEx_OCN_Start_IT
1544 .syntax unified
1545 .thumb
1546 .thumb_func
1547 .fpu fpv4-sp-d16
ARM GAS /tmp/ccuT46mL.s page 97
1549 HAL_TIMEx_OCN_Start_IT:
1550 .LFB341:
721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
1551 .loc 1 721 0
1552 .cfi_startproc
1553 @ args = 0, pretend = 0, frame = 0
1554 @ frame_needed = 0, uses_anonymous_args = 0
1555 @ link register save eliminated.
1556 .LVL119:
1557 0000 10B4 push {r4}
1558 .LCFI24:
1559 .cfi_def_cfa_offset 4
1560 .cfi_offset 4, -4
728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1561 .loc 1 728 0
1562 0002 0029 cmp r1, #0
1563 0004 45D1 bne .L147
728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1564 .loc 1 728 0 is_stmt 0 discriminator 1
1565 0006 90F84430 ldrb r3, [r0, #68] @ zero_extendqisi2
1566 000a 012B cmp r3, #1
1567 000c 55D1 bne .L164
734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1568 .loc 1 734 0 is_stmt 1 discriminator 1
1569 000e 0223 movs r3, #2
1570 0010 0268 ldr r2, [r0]
1571 0012 80F84430 strb r3, [r0, #68]
1572 .L155:
741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1573 .loc 1 741 0
1574 0016 1346 mov r3, r2
1575 0018 D268 ldr r2, [r2, #12]
1576 001a 42F00202 orr r2, r2, #2
1577 001e DA60 str r2, [r3, #12]
1578 .L156:
772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1579 .loc 1 772 0
1580 0020 DA68 ldr r2, [r3, #12]
781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1581 .loc 1 781 0
1582 0022 394C ldr r4, .L184
772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1583 .loc 1 772 0
1584 0024 42F08002 orr r2, r2, #128
1585 0028 DA60 str r2, [r3, #12]
1586 .LVL120:
1587 .LBB48:
1588 .LBB49:
3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1589 .loc 1 3614 0
1590 002a 186A ldr r0, [r3, #32]
1591 .LVL121:
3611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1592 .loc 1 3611 0
1593 002c 0422 movs r2, #4
1594 002e 01F01F01 and r1, r1, #31
1595 .LVL122:
ARM GAS /tmp/ccuT46mL.s page 98
1596 0032 02FA01F1 lsl r1, r2, r1
1597 .LVL123:
3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1598 .loc 1 3614 0
1599 0036 20EA0100 bic r0, r0, r1
1600 003a 1862 str r0, [r3, #32]
1601 .loc 1 3617 0
1602 003c 1A6A ldr r2, [r3, #32]
1603 003e 1143 orrs r1, r1, r2
1604 .LVL124:
1605 0040 1962 str r1, [r3, #32]
1606 .LVL125:
1607 .LBE49:
1608 .LBE48:
778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1609 .loc 1 778 0
1610 0042 5A6C ldr r2, [r3, #68]
781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1611 .loc 1 781 0
1612 0044 A342 cmp r3, r4
778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1613 .loc 1 778 0
1614 0046 42F40042 orr r2, r2, #32768
1615 004a 5A64 str r2, [r3, #68]
781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1616 .loc 1 781 0
1617 004c 11D0 beq .L159
781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1618 .loc 1 781 0 is_stmt 0 discriminator 1
1619 004e B3F1804F cmp r3, #1073741824
1620 0052 0ED0 beq .L159
781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1621 .loc 1 781 0 discriminator 2
1622 0054 2D4A ldr r2, .L184+4
1623 0056 9342 cmp r3, r2
1624 0058 0BD0 beq .L159
781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1625 .loc 1 781 0 discriminator 3
1626 005a 02F58062 add r2, r2, #1024
1627 005e 9342 cmp r3, r2
1628 0060 07D0 beq .L159
781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1629 .loc 1 781 0 discriminator 4
1630 0062 02F59632 add r2, r2, #76800
1631 0066 9342 cmp r3, r2
1632 0068 03D0 beq .L159
781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1633 .loc 1 781 0 discriminator 5
1634 006a 02F54062 add r2, r2, #3072
1635 006e 9342 cmp r3, r2
1636 0070 07D1 bne .L160
1637 .L159:
783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
1638 .loc 1 783 0 is_stmt 1
1639 0072 9968 ldr r1, [r3, #8]
1640 0074 264A ldr r2, .L184+8
1641 0076 0A40 ands r2, r2, r1
ARM GAS /tmp/ccuT46mL.s page 99
1642 .LVL126:
784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1643 .loc 1 784 0
1644 0078 062A cmp r2, #6
1645 007a 22D0 beq .L166
784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1646 .loc 1 784 0 is_stmt 0 discriminator 1
1647 007c B2F5803F cmp r2, #65536
1648 0080 1FD0 beq .L166
1649 .LVL127:
1650 .L160:
791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1651 .loc 1 791 0 is_stmt 1
1652 0082 1A68 ldr r2, [r3]
796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1653 .loc 1 796 0
1654 0084 5DF8044B ldr r4, [sp], #4
1655 .LCFI25:
1656 .cfi_remember_state
1657 .cfi_restore 4
1658 .cfi_def_cfa_offset 0
791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1659 .loc 1 791 0
1660 0088 42F00102 orr r2, r2, #1
795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1661 .loc 1 795 0
1662 008c 0020 movs r0, #0
791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1663 .loc 1 791 0
1664 008e 1A60 str r2, [r3]
796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1665 .loc 1 796 0
1666 0090 7047 bx lr
1667 .LVL128:
1668 .L147:
1669 .LCFI26:
1670 .cfi_restore_state
728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1671 .loc 1 728 0 discriminator 2
1672 0092 0429 cmp r1, #4
1673 0094 19D0 beq .L182
728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1674 .loc 1 728 0 is_stmt 0 discriminator 5
1675 0096 0829 cmp r1, #8
1676 0098 24D0 beq .L183
728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1677 .loc 1 728 0 discriminator 8
1678 009a 90F84730 ldrb r3, [r0, #71] @ zero_extendqisi2
1679 009e 012B cmp r3, #1
1680 00a0 0BD1 bne .L164
1681 00a2 0368 ldr r3, [r0]
734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1682 .loc 1 734 0 is_stmt 1 discriminator 7
1683 00a4 0224 movs r4, #2
736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1684 .loc 1 736 0 discriminator 7
1685 00a6 0429 cmp r1, #4
ARM GAS /tmp/ccuT46mL.s page 100
1686 00a8 1A46 mov r2, r3
734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1687 .loc 1 734 0 discriminator 7
1688 00aa 80F84740 strb r4, [r0, #71]
736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1689 .loc 1 736 0 discriminator 7
1690 00ae 14D0 beq .L157
1691 00b0 0C29 cmp r1, #12
1692 00b2 24D0 beq .L158
1693 00b4 0029 cmp r1, #0
1694 00b6 B3D1 bne .L156
1695 00b8 ADE7 b .L155
1696 .L164:
730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1697 .loc 1 730 0
1698 00ba 0120 movs r0, #1
1699 .LVL129:
796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1700 .loc 1 796 0
1701 00bc 5DF8044B ldr r4, [sp], #4
1702 .LCFI27:
1703 .cfi_remember_state
1704 .cfi_restore 4
1705 .cfi_def_cfa_offset 0
1706 00c0 7047 bx lr
1707 .LVL130:
1708 .L166:
1709 .LCFI28:
1710 .cfi_restore_state
795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1711 .loc 1 795 0
1712 00c2 0020 movs r0, #0
796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1713 .loc 1 796 0
1714 00c4 5DF8044B ldr r4, [sp], #4
1715 .LCFI29:
1716 .cfi_remember_state
1717 .cfi_restore 4
1718 .cfi_def_cfa_offset 0
1719 00c8 7047 bx lr
1720 .LVL131:
1721 .L182:
1722 .LCFI30:
1723 .cfi_restore_state
728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1724 .loc 1 728 0 discriminator 4
1725 00ca 90F84530 ldrb r3, [r0, #69] @ zero_extendqisi2
1726 00ce 012B cmp r3, #1
1727 00d0 F3D1 bne .L164
734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1728 .loc 1 734 0
1729 00d2 0223 movs r3, #2
1730 00d4 80F84530 strb r3, [r0, #69]
1731 00d8 0368 ldr r3, [r0]
1732 .L157:
748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1733 .loc 1 748 0
ARM GAS /tmp/ccuT46mL.s page 101
1734 00da DA68 ldr r2, [r3, #12]
1735 00dc 42F00402 orr r2, r2, #4
1736 00e0 DA60 str r2, [r3, #12]
749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1737 .loc 1 749 0
1738 00e2 9DE7 b .L156
1739 .L183:
728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1740 .loc 1 728 0 discriminator 7
1741 00e4 90F84630 ldrb r3, [r0, #70] @ zero_extendqisi2
1742 00e8 012B cmp r3, #1
1743 00ea E6D1 bne .L164
734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1744 .loc 1 734 0
1745 00ec 0222 movs r2, #2
1746 00ee 0368 ldr r3, [r0]
1747 00f0 80F84620 strb r2, [r0, #70]
755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1748 .loc 1 755 0
1749 00f4 DA68 ldr r2, [r3, #12]
1750 00f6 42F00802 orr r2, r2, #8
1751 00fa DA60 str r2, [r3, #12]
756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1752 .loc 1 756 0
1753 00fc 90E7 b .L156
1754 .L158:
763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1755 .loc 1 763 0
1756 00fe DA68 ldr r2, [r3, #12]
1757 0100 42F01002 orr r2, r2, #16
1758 0104 DA60 str r2, [r3, #12]
764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1759 .loc 1 764 0
1760 0106 8BE7 b .L156
1761 .L185:
1762 .align 2
1763 .L184:
1764 0108 002C0140 .word 1073818624
1765 010c 00040040 .word 1073742848
1766 0110 07000100 .word 65543
1767 .cfi_endproc
1768 .LFE341:
1770 .section .text.HAL_TIMEx_OCN_Stop_IT,"ax",%progbits
1771 .align 1
1772 .p2align 2,,3
1773 .global HAL_TIMEx_OCN_Stop_IT
1774 .syntax unified
1775 .thumb
1776 .thumb_func
1777 .fpu fpv4-sp-d16
1779 HAL_TIMEx_OCN_Stop_IT:
1780 .LFB342:
811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpccer;
1781 .loc 1 811 0
1782 .cfi_startproc
1783 @ args = 0, pretend = 0, frame = 0
1784 @ frame_needed = 0, uses_anonymous_args = 0
ARM GAS /tmp/ccuT46mL.s page 102
1785 @ link register save eliminated.
1786 .LVL132:
1787 0000 30B4 push {r4, r5}
1788 .LCFI31:
1789 .cfi_def_cfa_offset 8
1790 .cfi_offset 4, -8
1791 .cfi_offset 5, -4
1792 0002 0368 ldr r3, [r0]
816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1793 .loc 1 816 0
1794 0004 0C29 cmp r1, #12
1795 0006 0CD8 bhi .L187
1796 0008 DFE801F0 tbb [pc, r1]
1797 .L189:
1798 000c 07 .byte (.L188-.L189)/2
1799 000d 0B .byte (.L187-.L189)/2
1800 000e 0B .byte (.L187-.L189)/2
1801 000f 0B .byte (.L187-.L189)/2
1802 0010 5A .byte (.L190-.L189)/2
1803 0011 0B .byte (.L187-.L189)/2
1804 0012 0B .byte (.L187-.L189)/2
1805 0013 0B .byte (.L187-.L189)/2
1806 0014 55 .byte (.L191-.L189)/2
1807 0015 0B .byte (.L187-.L189)/2
1808 0016 0B .byte (.L187-.L189)/2
1809 0017 0B .byte (.L187-.L189)/2
1810 0018 50 .byte (.L192-.L189)/2
1811 0019 00 .p2align 1
1812 .L188:
821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1813 .loc 1 821 0
1814 001a DA68 ldr r2, [r3, #12]
1815 001c 22F00202 bic r2, r2, #2
1816 0020 DA60 str r2, [r3, #12]
1817 .L187:
1818 .LVL133:
1819 .LBB52:
1820 .LBB53:
3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1821 .loc 1 3614 0
1822 0022 1A6A ldr r2, [r3, #32]
3611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1823 .loc 1 3611 0
1824 0024 01F01F05 and r5, r1, #31
1825 0028 0424 movs r4, #4
1826 002a AC40 lsls r4, r4, r5
1827 .LVL134:
3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1828 .loc 1 3614 0
1829 002c 22EA0402 bic r2, r2, r4
1830 0030 1A62 str r2, [r3, #32]
1831 .loc 1 3617 0
1832 0032 1A6A ldr r2, [r3, #32]
1833 0034 1A62 str r2, [r3, #32]
1834 .LVL135:
1835 .LBE53:
1836 .LBE52:
ARM GAS /tmp/ccuT46mL.s page 103
854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((tmpccer & (TIM_CCER_CC1NE | TIM_CCER_CC2NE | TIM_CCER_CC3NE | TIM_CCER_CC4NE)) == (uint32_t
1837 .loc 1 854 0
1838 0036 1C6A ldr r4, [r3, #32]
1839 .LVL136:
855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1840 .loc 1 855 0
1841 0038 44F24442 movw r2, #17476
1842 003c 1442 tst r4, r2
1843 003e 03D1 bne .L193
857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1844 .loc 1 857 0
1845 0040 DA68 ldr r2, [r3, #12]
1846 0042 22F08002 bic r2, r2, #128
1847 0046 DA60 str r2, [r3, #12]
1848 .L193:
861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1849 .loc 1 861 0
1850 0048 1C6A ldr r4, [r3, #32]
1851 .LVL137:
1852 004a 41F21112 movw r2, #4369
1853 004e 1442 tst r4, r2
1854 0050 04D1 bne .L194
861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1855 .loc 1 861 0 is_stmt 0 discriminator 1
1856 0052 1C6A ldr r4, [r3, #32]
1857 0054 44F24442 movw r2, #17476
1858 0058 1442 tst r4, r2
1859 005a 22D0 beq .L201
1860 .L194:
864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1861 .loc 1 864 0 is_stmt 1
1862 005c 1C6A ldr r4, [r3, #32]
1863 005e 41F21112 movw r2, #4369
1864 0062 1442 tst r4, r2
1865 0064 04D1 bne .L195
864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1866 .loc 1 864 0 is_stmt 0 discriminator 1
1867 0066 1C6A ldr r4, [r3, #32]
1868 0068 44F24442 movw r2, #17476
1869 006c 1442 tst r4, r2
1870 006e 0CD0 beq .L202
1871 .L195:
867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1872 .loc 1 867 0 is_stmt 1
1873 0070 0123 movs r3, #1
1874 0072 89B1 cbz r1, .L203
1875 .L196:
867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1876 .loc 1 867 0 is_stmt 0 discriminator 2
1877 0074 0429 cmp r1, #4
1878 0076 28D0 beq .L204
867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1879 .loc 1 867 0 discriminator 4
1880 0078 0829 cmp r1, #8
1881 007a 0CBF ite eq
1882 007c 80F84630 strbeq r3, [r0, #70]
1883 0080 80F84730 strbne r3, [r0, #71]
ARM GAS /tmp/ccuT46mL.s page 104
871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1884 .loc 1 871 0 is_stmt 1 discriminator 4
1885 0084 30BC pop {r4, r5}
1886 .LCFI32:
1887 .cfi_remember_state
1888 .cfi_restore 5
1889 .cfi_restore 4
1890 .cfi_def_cfa_offset 0
1891 0086 0020 movs r0, #0
1892 .LVL138:
1893 0088 7047 bx lr
1894 .LVL139:
1895 .L202:
1896 .LCFI33:
1897 .cfi_restore_state
864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1898 .loc 1 864 0 discriminator 2
1899 008a 1A68 ldr r2, [r3]
1900 008c 22F00102 bic r2, r2, #1
1901 0090 1A60 str r2, [r3]
867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1902 .loc 1 867 0 discriminator 2
1903 0092 0123 movs r3, #1
1904 0094 0029 cmp r1, #0
1905 0096 EDD1 bne .L196
1906 .L203:
867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1907 .loc 1 867 0 is_stmt 0 discriminator 1
1908 0098 80F84430 strb r3, [r0, #68]
871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1909 .loc 1 871 0 is_stmt 1 discriminator 1
1910 009c 30BC pop {r4, r5}
1911 .LCFI34:
1912 .cfi_remember_state
1913 .cfi_restore 5
1914 .cfi_restore 4
1915 .cfi_def_cfa_offset 0
1916 009e 0020 movs r0, #0
1917 .LVL140:
1918 00a0 7047 bx lr
1919 .LVL141:
1920 .L201:
1921 .LCFI35:
1922 .cfi_restore_state
861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1923 .loc 1 861 0 discriminator 2
1924 00a2 5A6C ldr r2, [r3, #68]
1925 00a4 22F40042 bic r2, r2, #32768
1926 00a8 5A64 str r2, [r3, #68]
1927 00aa D7E7 b .L194
1928 .L192:
842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1929 .loc 1 842 0
1930 00ac DA68 ldr r2, [r3, #12]
1931 00ae 22F01002 bic r2, r2, #16
1932 00b2 DA60 str r2, [r3, #12]
843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
ARM GAS /tmp/ccuT46mL.s page 105
1933 .loc 1 843 0
1934 00b4 B5E7 b .L187
1935 .L191:
835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1936 .loc 1 835 0
1937 00b6 DA68 ldr r2, [r3, #12]
1938 00b8 22F00802 bic r2, r2, #8
1939 00bc DA60 str r2, [r3, #12]
836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1940 .loc 1 836 0
1941 00be B0E7 b .L187
1942 .L190:
828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
1943 .loc 1 828 0
1944 00c0 DA68 ldr r2, [r3, #12]
1945 00c2 22F00402 bic r2, r2, #4
1946 00c6 DA60 str r2, [r3, #12]
829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
1947 .loc 1 829 0
1948 00c8 ABE7 b .L187
1949 .L204:
867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1950 .loc 1 867 0 discriminator 3
1951 00ca 80F84530 strb r3, [r0, #69]
871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
1952 .loc 1 871 0 discriminator 3
1953 00ce 30BC pop {r4, r5}
1954 .LCFI36:
1955 .cfi_restore 5
1956 .cfi_restore 4
1957 .cfi_def_cfa_offset 0
1958 00d0 0020 movs r0, #0
1959 .LVL142:
1960 00d2 7047 bx lr
1961 .cfi_endproc
1962 .LFE342:
1964 .section .text.HAL_TIMEx_OCN_Start_DMA,"ax",%progbits
1965 .align 1
1966 .p2align 2,,3
1967 .global HAL_TIMEx_OCN_Start_DMA
1968 .syntax unified
1969 .thumb
1970 .thumb_func
1971 .fpu fpv4-sp-d16
1973 HAL_TIMEx_OCN_Start_DMA:
1974 .LFB343:
888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpsmcr;
1975 .loc 1 888 0
1976 .cfi_startproc
1977 @ args = 0, pretend = 0, frame = 0
1978 @ frame_needed = 0, uses_anonymous_args = 0
1979 .LVL143:
1980 0000 F8B5 push {r3, r4, r5, r6, r7, lr}
1981 .LCFI37:
1982 .cfi_def_cfa_offset 24
1983 .cfi_offset 3, -24
1984 .cfi_offset 4, -20
ARM GAS /tmp/ccuT46mL.s page 106
1985 .cfi_offset 5, -16
1986 .cfi_offset 6, -12
1987 .cfi_offset 7, -8
1988 .cfi_offset 14, -4
895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1989 .loc 1 895 0
1990 0002 0029 cmp r1, #0
1991 0004 57D1 bne .L206
895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1992 .loc 1 895 0 is_stmt 0 discriminator 1
1993 0006 90F84440 ldrb r4, [r0, #68] @ zero_extendqisi2
1994 000a E4B2 uxtb r4, r4
1995 000c 022C cmp r4, #2
1996 000e 66D0 beq .L231
899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
1997 .loc 1 899 0 is_stmt 1 discriminator 1
1998 0010 90F84440 ldrb r4, [r0, #68] @ zero_extendqisi2
1999 0014 A4F10104 sub r4, #1
2000 0018 B4FA84F4 clz r4, r4
2001 001c 6409 lsrs r4, r4, #5
2002 .L214:
899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2003 .loc 1 899 0 is_stmt 0 discriminator 12
2004 001e 002C cmp r4, #0
2005 0020 5BD0 beq .L217
2006 .L215:
901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2007 .loc 1 901 0 is_stmt 1
2008 0022 002A cmp r2, #0
2009 0024 00F0A080 beq .L249
2010 .L216:
2011 0028 0D46 mov r5, r1
2012 002a 0646 mov r6, r0
2013 002c 1146 mov r1, r2
2014 .LVL144:
2015 002e 0468 ldr r4, [r0]
907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2016 .loc 1 907 0
2017 0030 002D cmp r5, #0
2018 0032 63D0 beq .L250
2019 .LVL145:
907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2020 .loc 1 907 0 is_stmt 0 discriminator 2
2021 0034 042D cmp r5, #4
2022 0036 00F09B80 beq .L251
907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2023 .loc 1 907 0 discriminator 4
2024 003a 082D cmp r5, #8
2025 003c 00F0AE80 beq .L252
907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2026 .loc 1 907 0 discriminator 7
2027 0040 0222 movs r2, #2
915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2028 .loc 1 915 0 is_stmt 1 discriminator 7
2029 0042 042D cmp r5, #4
907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2030 .loc 1 907 0 discriminator 7
ARM GAS /tmp/ccuT46mL.s page 107
2031 0044 80F84720 strb r2, [r0, #71]
915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2032 .loc 1 915 0 discriminator 7
2033 0048 00F09580 beq .L221
2034 004c 0C2D cmp r5, #12
2035 004e 6BD0 beq .L225
2036 0050 002D cmp r5, #0
2037 0052 56D0 beq .L219
2038 .LVL146:
2039 .L224:
2040 .LBB56:
2041 .LBB57:
3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2042 .loc 1 3614 0
2043 0054 236A ldr r3, [r4, #32]
2044 .LBE57:
2045 .LBE56:
1008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2046 .loc 1 1008 0
2047 0056 634A ldr r2, .L255
2048 .LBB59:
2049 .LBB58:
3611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2050 .loc 1 3611 0
2051 0058 05F01F01 and r1, r5, #31
2052 005c 0425 movs r5, #4
2053 .LVL147:
2054 005e 05FA01F1 lsl r1, r5, r1
2055 .LVL148:
3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2056 .loc 1 3614 0
2057 0062 23EA0103 bic r3, r3, r1
2058 0066 2362 str r3, [r4, #32]
2059 .loc 1 3617 0
2060 0068 256A ldr r5, [r4, #32]
2061 006a 2943 orrs r1, r1, r5
2062 .LVL149:
2063 006c 2162 str r1, [r4, #32]
2064 .LVL150:
2065 .LBE58:
2066 .LBE59:
1005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2067 .loc 1 1005 0
2068 006e 636C ldr r3, [r4, #68]
1008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2069 .loc 1 1008 0
2070 0070 9442 cmp r4, r2
1005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2071 .loc 1 1005 0
2072 0072 43F40043 orr r3, r3, #32768
2073 0076 6364 str r3, [r4, #68]
1008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2074 .loc 1 1008 0
2075 0078 00F0A980 beq .L226
1008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2076 .loc 1 1008 0 is_stmt 0 discriminator 1
2077 007c B4F1804F cmp r4, #1073741824
ARM GAS /tmp/ccuT46mL.s page 108
2078 0080 00F0A580 beq .L226
1008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2079 .loc 1 1008 0 discriminator 2
2080 0084 584B ldr r3, .L255+4
2081 0086 9C42 cmp r4, r3
2082 0088 00F0A180 beq .L226
1008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2083 .loc 1 1008 0 discriminator 3
2084 008c 03F58063 add r3, r3, #1024
2085 0090 9C42 cmp r4, r3
2086 0092 00F09C80 beq .L226
1008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2087 .loc 1 1008 0 discriminator 4
2088 0096 03F59633 add r3, r3, #76800
2089 009a 9C42 cmp r4, r3
2090 009c 00F09780 beq .L226
1008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2091 .loc 1 1008 0 discriminator 5
2092 00a0 03F54063 add r3, r3, #3072
2093 00a4 9C42 cmp r4, r3
2094 00a6 00F09280 beq .L226
2095 .L227:
1018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2096 .loc 1 1018 0 is_stmt 1
2097 00aa 2368 ldr r3, [r4]
2098 00ac 43F00103 orr r3, r3, #1
2099 00b0 2360 str r3, [r4]
1022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2100 .loc 1 1022 0
2101 00b2 0020 movs r0, #0
1023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2102 .loc 1 1023 0
2103 00b4 F8BD pop {r3, r4, r5, r6, r7, pc}
2104 .LVL151:
2105 .L206:
895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2106 .loc 1 895 0 discriminator 2
2107 00b6 0429 cmp r1, #4
2108 00b8 13D0 beq .L253
895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2109 .loc 1 895 0 is_stmt 0 discriminator 5
2110 00ba 0829 cmp r1, #8
2111 00bc 47D0 beq .L254
895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2112 .loc 1 895 0 discriminator 8
2113 00be 90F84740 ldrb r4, [r0, #71] @ zero_extendqisi2
2114 00c2 E4B2 uxtb r4, r4
2115 00c4 022C cmp r4, #2
2116 00c6 0AD0 beq .L231
899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2117 .loc 1 899 0 is_stmt 1 discriminator 8
2118 00c8 90F84740 ldrb r4, [r0, #71] @ zero_extendqisi2
2119 00cc A4F10104 sub r4, #1
2120 00d0 B4FA84F4 clz r4, r4
2121 00d4 6409 lsrs r4, r4, #5
2122 00d6 002C cmp r4, #0
2123 00d8 A3D1 bne .L215
ARM GAS /tmp/ccuT46mL.s page 109
2124 .LVL152:
2125 .L217:
912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2126 .loc 1 912 0
2127 00da 0120 movs r0, #1
1023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2128 .loc 1 1023 0
2129 00dc F8BD pop {r3, r4, r5, r6, r7, pc}
2130 .LVL153:
2131 .L231:
897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2132 .loc 1 897 0
2133 00de 2046 mov r0, r4
2134 .LVL154:
1023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2135 .loc 1 1023 0
2136 00e0 F8BD pop {r3, r4, r5, r6, r7, pc}
2137 .LVL155:
2138 .L253:
895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2139 .loc 1 895 0 discriminator 4
2140 00e2 90F84540 ldrb r4, [r0, #69] @ zero_extendqisi2
2141 00e6 E4B2 uxtb r4, r4
2142 00e8 022C cmp r4, #2
2143 00ea F8D0 beq .L231
899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2144 .loc 1 899 0 discriminator 4
2145 00ec 90F84540 ldrb r4, [r0, #69] @ zero_extendqisi2
2146 00f0 A4F10104 sub r4, #1
2147 00f4 B4FA84F4 clz r4, r4
2148 00f8 6409 lsrs r4, r4, #5
2149 00fa 90E7 b .L214
2150 .LVL156:
2151 .L250:
907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2152 .loc 1 907 0 discriminator 1
2153 00fc 0222 movs r2, #2
2154 00fe 80F84420 strb r2, [r0, #68]
2155 .L219:
920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
2156 .loc 1 920 0
2157 0102 706A ldr r0, [r6, #36]
2158 .LVL157:
2159 0104 394F ldr r7, .L255+8
921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2160 .loc 1 921 0
2161 0106 3A4A ldr r2, .L255+12
920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
2162 .loc 1 920 0
2163 0108 C762 str r7, [r0, #44]
924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2164 .loc 1 924 0
2165 010a 3A4F ldr r7, .L255+16
921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2166 .loc 1 921 0
2167 010c 0263 str r2, [r0, #48]
924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccuT46mL.s page 110
2168 .loc 1 924 0
2169 010e 4763 str r7, [r0, #52]
927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2170 .loc 1 927 0
2171 0110 04F13402 add r2, r4, #52
2172 0114 FFF7FEFF bl HAL_DMA_Start_IT
2173 .LVL158:
2174 0118 0028 cmp r0, #0
2175 011a DED1 bne .L217
933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2176 .loc 1 933 0
2177 011c 3468 ldr r4, [r6]
2178 011e E368 ldr r3, [r4, #12]
2179 0120 43F40073 orr r3, r3, #512
2180 0124 E360 str r3, [r4, #12]
934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2181 .loc 1 934 0
2182 0126 95E7 b .L224
2183 .LVL159:
2184 .L225:
980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
2185 .loc 1 980 0
2186 0128 006B ldr r0, [r0, #48]
2187 .LVL160:
2188 012a 304F ldr r7, .L255+8
981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2189 .loc 1 981 0
2190 012c 304A ldr r2, .L255+12
980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
2191 .loc 1 980 0
2192 012e C762 str r7, [r0, #44]
984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2193 .loc 1 984 0
2194 0130 304F ldr r7, .L255+16
981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2195 .loc 1 981 0
2196 0132 0263 str r2, [r0, #48]
984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2197 .loc 1 984 0
2198 0134 4763 str r7, [r0, #52]
987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2199 .loc 1 987 0
2200 0136 04F14002 add r2, r4, #64
2201 013a FFF7FEFF bl HAL_DMA_Start_IT
2202 .LVL161:
2203 013e 0028 cmp r0, #0
2204 0140 CBD1 bne .L217
993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2205 .loc 1 993 0
2206 0142 3468 ldr r4, [r6]
2207 0144 E368 ldr r3, [r4, #12]
2208 0146 43F48053 orr r3, r3, #4096
2209 014a E360 str r3, [r4, #12]
994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2210 .loc 1 994 0
2211 014c 82E7 b .L224
2212 .LVL162:
ARM GAS /tmp/ccuT46mL.s page 111
2213 .L254:
895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2214 .loc 1 895 0 discriminator 7
2215 014e 90F84640 ldrb r4, [r0, #70] @ zero_extendqisi2
2216 0152 E4B2 uxtb r4, r4
2217 0154 022C cmp r4, #2
2218 0156 C2D0 beq .L231
899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2219 .loc 1 899 0 discriminator 7
2220 0158 90F84640 ldrb r4, [r0, #70] @ zero_extendqisi2
2221 015c A4F10104 sub r4, #1
2222 0160 B4FA84F4 clz r4, r4
2223 0164 6409 lsrs r4, r4, #5
2224 0166 5AE7 b .L214
2225 .L249:
901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2226 .loc 1 901 0 discriminator 1
2227 0168 002B cmp r3, #0
2228 016a 3FF45DAF beq .L216
2229 016e B4E7 b .L217
2230 .LVL163:
2231 .L251:
907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2232 .loc 1 907 0 discriminator 3
2233 0170 0222 movs r2, #2
2234 0172 80F84520 strb r2, [r0, #69]
2235 .L221:
940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
2236 .loc 1 940 0
2237 0176 B06A ldr r0, [r6, #40]
2238 .LVL164:
2239 0178 1C4F ldr r7, .L255+8
941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2240 .loc 1 941 0
2241 017a 1D4A ldr r2, .L255+12
940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
2242 .loc 1 940 0
2243 017c C762 str r7, [r0, #44]
944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2244 .loc 1 944 0
2245 017e 1D4F ldr r7, .L255+16
941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2246 .loc 1 941 0
2247 0180 0263 str r2, [r0, #48]
944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2248 .loc 1 944 0
2249 0182 4763 str r7, [r0, #52]
947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2250 .loc 1 947 0
2251 0184 04F13802 add r2, r4, #56
2252 0188 FFF7FEFF bl HAL_DMA_Start_IT
2253 .LVL165:
2254 018c 0028 cmp r0, #0
2255 018e A4D1 bne .L217
953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2256 .loc 1 953 0
2257 0190 3468 ldr r4, [r6]
ARM GAS /tmp/ccuT46mL.s page 112
2258 0192 E368 ldr r3, [r4, #12]
2259 0194 43F48063 orr r3, r3, #1024
2260 0198 E360 str r3, [r4, #12]
954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2261 .loc 1 954 0
2262 019a 5BE7 b .L224
2263 .LVL166:
2264 .L252:
960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
2265 .loc 1 960 0 discriminator 6
2266 019c C06A ldr r0, [r0, #44]
2267 .LVL167:
961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2268 .loc 1 961 0 discriminator 6
2269 019e 144F ldr r7, .L255+12
960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
2270 .loc 1 960 0 discriminator 6
2271 01a0 DFF848C0 ldr ip, .L255+8
967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2272 .loc 1 967 0 discriminator 6
2273 01a4 04F13C02 add r2, r4, #60
964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2274 .loc 1 964 0 discriminator 6
2275 01a8 124C ldr r4, .L255+16
907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2276 .loc 1 907 0 discriminator 6
2277 01aa 4FF0020E mov lr, #2
2278 01ae 86F846E0 strb lr, [r6, #70]
960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
2279 .loc 1 960 0 discriminator 6
2280 01b2 C0F82CC0 str ip, [r0, #44]
964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2281 .loc 1 964 0 discriminator 6
2282 01b6 C0E90C74 strd r7, r4, [r0, #48]
967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2283 .loc 1 967 0 discriminator 6
2284 01ba FFF7FEFF bl HAL_DMA_Start_IT
2285 .LVL168:
2286 01be 0028 cmp r0, #0
2287 01c0 8BD1 bne .L217
973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2288 .loc 1 973 0
2289 01c2 3468 ldr r4, [r6]
2290 01c4 E368 ldr r3, [r4, #12]
2291 01c6 43F40063 orr r3, r3, #2048
2292 01ca E360 str r3, [r4, #12]
974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2293 .loc 1 974 0
2294 01cc 42E7 b .L224
2295 .LVL169:
2296 .L226:
1010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
2297 .loc 1 1010 0
2298 01ce A268 ldr r2, [r4, #8]
2299 01d0 094B ldr r3, .L255+20
2300 01d2 1340 ands r3, r3, r2
2301 .LVL170:
ARM GAS /tmp/ccuT46mL.s page 113
1011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2302 .loc 1 1011 0
2303 01d4 062B cmp r3, #6
2304 01d6 03D0 beq .L233
1011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2305 .loc 1 1011 0 is_stmt 0 discriminator 1
2306 01d8 B3F5803F cmp r3, #65536
2307 01dc 7FF465AF bne .L227
2308 .L233:
1022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2309 .loc 1 1022 0 is_stmt 1
2310 01e0 0020 movs r0, #0
1023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2311 .loc 1 1023 0
2312 01e2 F8BD pop {r3, r4, r5, r6, r7, pc}
2313 .LVL171:
2314 .L256:
2315 .align 2
2316 .L255:
2317 01e4 002C0140 .word 1073818624
2318 01e8 00040040 .word 1073742848
2319 01ec 00000000 .word TIM_DMADelayPulseNCplt
2320 01f0 00000000 .word TIM_DMADelayPulseHalfCplt
2321 01f4 00000000 .word TIM_DMAErrorCCxN
2322 01f8 07000100 .word 65543
2323 .cfi_endproc
2324 .LFE343:
2326 .section .text.HAL_TIMEx_OCN_Stop_DMA,"ax",%progbits
2327 .align 1
2328 .p2align 2,,3
2329 .global HAL_TIMEx_OCN_Stop_DMA
2330 .syntax unified
2331 .thumb
2332 .thumb_func
2333 .fpu fpv4-sp-d16
2335 HAL_TIMEx_OCN_Stop_DMA:
2336 .LFB344:
1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
2337 .loc 1 1038 0
2338 .cfi_startproc
2339 @ args = 0, pretend = 0, frame = 0
2340 @ frame_needed = 0, uses_anonymous_args = 0
2341 .LVL172:
2342 0000 38B5 push {r3, r4, r5, lr}
2343 .LCFI38:
2344 .cfi_def_cfa_offset 16
2345 .cfi_offset 3, -16
2346 .cfi_offset 4, -12
2347 .cfi_offset 5, -8
2348 .cfi_offset 14, -4
1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
2349 .loc 1 1038 0
2350 0002 0546 mov r5, r0
2351 0004 0C46 mov r4, r1
2352 0006 0368 ldr r3, [r0]
1042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
2353 .loc 1 1042 0
ARM GAS /tmp/ccuT46mL.s page 114
2354 0008 0C29 cmp r1, #12
2355 000a 10D8 bhi .L258
2356 000c DFE801F0 tbb [pc, r1]
2357 .L260:
2358 0010 07 .byte (.L259-.L260)/2
2359 0011 0F .byte (.L258-.L260)/2
2360 0012 0F .byte (.L258-.L260)/2
2361 0013 0F .byte (.L258-.L260)/2
2362 0014 5B .byte (.L261-.L260)/2
2363 0015 0F .byte (.L258-.L260)/2
2364 0016 0F .byte (.L258-.L260)/2
2365 0017 0F .byte (.L258-.L260)/2
2366 0018 52 .byte (.L262-.L260)/2
2367 0019 0F .byte (.L258-.L260)/2
2368 001a 0F .byte (.L258-.L260)/2
2369 001b 0F .byte (.L258-.L260)/2
2370 001c 49 .byte (.L263-.L260)/2
2371 001d 00 .p2align 1
2372 .L259:
1047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
2373 .loc 1 1047 0
2374 001e DA68 ldr r2, [r3, #12]
1048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2375 .loc 1 1048 0
2376 0020 406A ldr r0, [r0, #36]
2377 .LVL173:
1047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
2378 .loc 1 1047 0
2379 0022 22F40072 bic r2, r2, #512
2380 0026 DA60 str r2, [r3, #12]
1048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2381 .loc 1 1048 0
2382 0028 FFF7FEFF bl HAL_DMA_Abort_IT
2383 .LVL174:
2384 002c 2B68 ldr r3, [r5]
2385 .L258:
2386 .LVL175:
2387 .LBB62:
2388 .LBB63:
3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2389 .loc 1 3614 0
2390 002e 1A6A ldr r2, [r3, #32]
3611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2391 .loc 1 3611 0
2392 0030 04F01F00 and r0, r4, #31
2393 0034 0421 movs r1, #4
2394 0036 8140 lsls r1, r1, r0
2395 .LVL176:
3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2396 .loc 1 3614 0
2397 0038 22EA0102 bic r2, r2, r1
2398 003c 1A62 str r2, [r3, #32]
2399 .loc 1 3617 0
2400 003e 1A6A ldr r2, [r3, #32]
2401 0040 1A62 str r2, [r3, #32]
2402 .LVL177:
2403 .LBE63:
ARM GAS /tmp/ccuT46mL.s page 115
2404 .LBE62:
1084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2405 .loc 1 1084 0
2406 0042 196A ldr r1, [r3, #32]
2407 0044 41F21112 movw r2, #4369
2408 0048 1142 tst r1, r2
2409 004a 04D1 bne .L264
1084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2410 .loc 1 1084 0 is_stmt 0 discriminator 1
2411 004c 196A ldr r1, [r3, #32]
2412 004e 44F24442 movw r2, #17476
2413 0052 1142 tst r1, r2
2414 0054 20D0 beq .L271
2415 .L264:
1087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2416 .loc 1 1087 0 is_stmt 1
2417 0056 196A ldr r1, [r3, #32]
2418 0058 41F21112 movw r2, #4369
2419 005c 1142 tst r1, r2
2420 005e 04D1 bne .L265
1087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2421 .loc 1 1087 0 is_stmt 0 discriminator 1
2422 0060 196A ldr r1, [r3, #32]
2423 0062 44F24442 movw r2, #17476
2424 0066 1142 tst r1, r2
2425 0068 0BD0 beq .L272
2426 .L265:
1090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2427 .loc 1 1090 0 is_stmt 1
2428 006a 0123 movs r3, #1
2429 006c 84B1 cbz r4, .L273
2430 .L266:
1090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2431 .loc 1 1090 0 is_stmt 0 discriminator 2
2432 006e 042C cmp r4, #4
2433 0070 32D0 beq .L274
1090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2434 .loc 1 1090 0 discriminator 4
2435 0072 082C cmp r4, #8
2436 0074 0CBF ite eq
2437 0076 85F84630 strbeq r3, [r5, #70]
2438 007a 85F84730 strbne r3, [r5, #71]
1094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2439 .loc 1 1094 0 is_stmt 1 discriminator 4
2440 007e 0020 movs r0, #0
2441 0080 38BD pop {r3, r4, r5, pc}
2442 .LVL178:
2443 .L272:
1087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2444 .loc 1 1087 0 discriminator 2
2445 0082 1A68 ldr r2, [r3]
2446 0084 22F00102 bic r2, r2, #1
2447 0088 1A60 str r2, [r3]
1090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2448 .loc 1 1090 0 discriminator 2
2449 008a 0123 movs r3, #1
2450 008c 002C cmp r4, #0
ARM GAS /tmp/ccuT46mL.s page 116
2451 008e EED1 bne .L266
2452 .L273:
1090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2453 .loc 1 1090 0 is_stmt 0 discriminator 1
2454 0090 85F84430 strb r3, [r5, #68]
1094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2455 .loc 1 1094 0 is_stmt 1 discriminator 1
2456 0094 0020 movs r0, #0
2457 0096 38BD pop {r3, r4, r5, pc}
2458 .LVL179:
2459 .L271:
1084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2460 .loc 1 1084 0 discriminator 2
2461 0098 5A6C ldr r2, [r3, #68]
2462 009a 22F40042 bic r2, r2, #32768
2463 009e 5A64 str r2, [r3, #68]
2464 00a0 D9E7 b .L264
2465 .LVL180:
2466 .L263:
1071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]);
2467 .loc 1 1071 0
2468 00a2 DA68 ldr r2, [r3, #12]
1072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2469 .loc 1 1072 0
2470 00a4 006B ldr r0, [r0, #48]
2471 .LVL181:
1071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]);
2472 .loc 1 1071 0
2473 00a6 22F48052 bic r2, r2, #4096
2474 00aa DA60 str r2, [r3, #12]
1072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2475 .loc 1 1072 0
2476 00ac FFF7FEFF bl HAL_DMA_Abort_IT
2477 .LVL182:
2478 00b0 2B68 ldr r3, [r5]
1073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2479 .loc 1 1073 0
2480 00b2 BCE7 b .L258
2481 .LVL183:
2482 .L262:
1063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]);
2483 .loc 1 1063 0
2484 00b4 DA68 ldr r2, [r3, #12]
1064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2485 .loc 1 1064 0
2486 00b6 C06A ldr r0, [r0, #44]
2487 .LVL184:
1063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]);
2488 .loc 1 1063 0
2489 00b8 22F40062 bic r2, r2, #2048
2490 00bc DA60 str r2, [r3, #12]
1064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2491 .loc 1 1064 0
2492 00be FFF7FEFF bl HAL_DMA_Abort_IT
2493 .LVL185:
2494 00c2 2B68 ldr r3, [r5]
1065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
ARM GAS /tmp/ccuT46mL.s page 117
2495 .loc 1 1065 0
2496 00c4 B3E7 b .L258
2497 .LVL186:
2498 .L261:
1055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]);
2499 .loc 1 1055 0
2500 00c6 DA68 ldr r2, [r3, #12]
1056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2501 .loc 1 1056 0
2502 00c8 806A ldr r0, [r0, #40]
2503 .LVL187:
1055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]);
2504 .loc 1 1055 0
2505 00ca 22F48062 bic r2, r2, #1024
2506 00ce DA60 str r2, [r3, #12]
1056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
2507 .loc 1 1056 0
2508 00d0 FFF7FEFF bl HAL_DMA_Abort_IT
2509 .LVL188:
2510 00d4 2B68 ldr r3, [r5]
1057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
2511 .loc 1 1057 0
2512 00d6 AAE7 b .L258
2513 .L274:
1090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2514 .loc 1 1090 0 discriminator 3
2515 00d8 85F84530 strb r3, [r5, #69]
1094:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
2516 .loc 1 1094 0 discriminator 3
2517 00dc 0020 movs r0, #0
2518 00de 38BD pop {r3, r4, r5, pc}
2519 .cfi_endproc
2520 .LFE344:
2522 .section .text.HAL_TIMEx_PWMN_Start,"ax",%progbits
2523 .align 1
2524 .p2align 2,,3
2525 .global HAL_TIMEx_PWMN_Start
2526 .syntax unified
2527 .thumb
2528 .thumb_func
2529 .fpu fpv4-sp-d16
2531 HAL_TIMEx_PWMN_Start:
2532 .LFB417:
2533 .cfi_startproc
2534 @ args = 0, pretend = 0, frame = 0
2535 @ frame_needed = 0, uses_anonymous_args = 0
2536 @ link register save eliminated.
2537 0000 0029 cmp r1, #0
2538 0002 3DD1 bne .L276
2539 0004 90F84430 ldrb r3, [r0, #68] @ zero_extendqisi2
2540 0008 012B cmp r3, #1
2541 000a 45D1 bne .L290
2542 000c 0223 movs r3, #2
2543 000e 80F84430 strb r3, [r0, #68]
2544 .L284:
2545 0012 0368 ldr r3, [r0]
2546 0014 0422 movs r2, #4
ARM GAS /tmp/ccuT46mL.s page 118
2547 0016 186A ldr r0, [r3, #32]
2548 0018 01F01F01 and r1, r1, #31
2549 001c 02FA01F1 lsl r1, r2, r1
2550 0020 20EA0100 bic r0, r0, r1
2551 0024 10B4 push {r4}
2552 .LCFI39:
2553 .cfi_def_cfa_offset 4
2554 .cfi_offset 4, -4
2555 0026 1862 str r0, [r3, #32]
2556 0028 1A6A ldr r2, [r3, #32]
2557 002a 264C ldr r4, .L305
2558 002c 1143 orrs r1, r1, r2
2559 002e 1962 str r1, [r3, #32]
2560 0030 5A6C ldr r2, [r3, #68]
2561 0032 A342 cmp r3, r4
2562 0034 42F40042 orr r2, r2, #32768
2563 0038 5A64 str r2, [r3, #68]
2564 003a 11D0 beq .L285
2565 003c B3F1804F cmp r3, #1073741824
2566 0040 0ED0 beq .L285
2567 0042 214A ldr r2, .L305+4
2568 0044 9342 cmp r3, r2
2569 0046 0BD0 beq .L285
2570 0048 02F58062 add r2, r2, #1024
2571 004c 9342 cmp r3, r2
2572 004e 07D0 beq .L285
2573 0050 02F59632 add r2, r2, #76800
2574 0054 9342 cmp r3, r2
2575 0056 03D0 beq .L285
2576 0058 02F54062 add r2, r2, #3072
2577 005c 9342 cmp r3, r2
2578 005e 07D1 bne .L286
2579 .L285:
2580 0060 9968 ldr r1, [r3, #8]
2581 0062 1A4A ldr r2, .L305+8
2582 0064 0A40 ands r2, r2, r1
2583 0066 062A cmp r2, #6
2584 0068 18D0 beq .L292
2585 006a B2F5803F cmp r2, #65536
2586 006e 15D0 beq .L292
2587 .L286:
2588 0070 1A68 ldr r2, [r3]
2589 0072 5DF8044B ldr r4, [sp], #4
2590 .LCFI40:
2591 .cfi_restore 4
2592 .cfi_def_cfa_offset 0
2593 0076 42F00102 orr r2, r2, #1
2594 007a 0020 movs r0, #0
2595 007c 1A60 str r2, [r3]
2596 007e 7047 bx lr
2597 .L276:
2598 0080 0429 cmp r1, #4
2599 0082 0FD0 beq .L303
2600 0084 0829 cmp r1, #8
2601 0086 15D0 beq .L304
2602 0088 90F84730 ldrb r3, [r0, #71] @ zero_extendqisi2
2603 008c 012B cmp r3, #1
ARM GAS /tmp/ccuT46mL.s page 119
2604 008e 03D1 bne .L290
2605 0090 0223 movs r3, #2
2606 0092 80F84730 strb r3, [r0, #71]
2607 0096 BCE7 b .L284
2608 .L290:
2609 0098 0120 movs r0, #1
2610 009a 7047 bx lr
2611 .L292:
2612 .LCFI41:
2613 .cfi_def_cfa_offset 4
2614 .cfi_offset 4, -4
2615 009c 0020 movs r0, #0
2616 009e 5DF8044B ldr r4, [sp], #4
2617 .LCFI42:
2618 .cfi_restore 4
2619 .cfi_def_cfa_offset 0
2620 00a2 7047 bx lr
2621 .L303:
2622 00a4 90F84530 ldrb r3, [r0, #69] @ zero_extendqisi2
2623 00a8 012B cmp r3, #1
2624 00aa F5D1 bne .L290
2625 00ac 0223 movs r3, #2
2626 00ae 80F84530 strb r3, [r0, #69]
2627 00b2 AEE7 b .L284
2628 .L304:
2629 00b4 90F84630 ldrb r3, [r0, #70] @ zero_extendqisi2
2630 00b8 012B cmp r3, #1
2631 00ba EDD1 bne .L290
2632 00bc 0223 movs r3, #2
2633 00be 80F84630 strb r3, [r0, #70]
2634 00c2 A6E7 b .L284
2635 .L306:
2636 .align 2
2637 .L305:
2638 00c4 002C0140 .word 1073818624
2639 00c8 00040040 .word 1073742848
2640 00cc 07000100 .word 65543
2641 .cfi_endproc
2642 .LFE417:
2644 .section .text.HAL_TIMEx_PWMN_Stop,"ax",%progbits
2645 .align 1
2646 .p2align 2,,3
2647 .global HAL_TIMEx_PWMN_Stop
2648 .syntax unified
2649 .thumb
2650 .thumb_func
2651 .fpu fpv4-sp-d16
2653 HAL_TIMEx_PWMN_Stop:
2654 .LFB419:
2655 .cfi_startproc
2656 @ args = 0, pretend = 0, frame = 0
2657 @ frame_needed = 0, uses_anonymous_args = 0
2658 @ link register save eliminated.
2659 0000 0368 ldr r3, [r0]
2660 0002 30B4 push {r4, r5}
2661 .LCFI43:
2662 .cfi_def_cfa_offset 8
ARM GAS /tmp/ccuT46mL.s page 120
2663 .cfi_offset 4, -8
2664 .cfi_offset 5, -4
2665 0004 1A6A ldr r2, [r3, #32]
2666 0006 01F01F05 and r5, r1, #31
2667 000a 0424 movs r4, #4
2668 000c AC40 lsls r4, r4, r5
2669 000e 22EA0402 bic r2, r2, r4
2670 0012 1A62 str r2, [r3, #32]
2671 0014 1A6A ldr r2, [r3, #32]
2672 0016 1A62 str r2, [r3, #32]
2673 0018 1C6A ldr r4, [r3, #32]
2674 001a 41F21112 movw r2, #4369
2675 001e 1442 tst r4, r2
2676 0020 04D1 bne .L308
2677 0022 1C6A ldr r4, [r3, #32]
2678 0024 44F24442 movw r2, #17476
2679 0028 1442 tst r4, r2
2680 002a 22D0 beq .L315
2681 .L308:
2682 002c 1C6A ldr r4, [r3, #32]
2683 002e 41F21112 movw r2, #4369
2684 0032 1442 tst r4, r2
2685 0034 04D1 bne .L309
2686 0036 1C6A ldr r4, [r3, #32]
2687 0038 44F24442 movw r2, #17476
2688 003c 1442 tst r4, r2
2689 003e 0CD0 beq .L316
2690 .L309:
2691 0040 0123 movs r3, #1
2692 0042 89B1 cbz r1, .L317
2693 .L310:
2694 0044 0429 cmp r1, #4
2695 0046 19D0 beq .L318
2696 0048 0829 cmp r1, #8
2697 004a 0CBF ite eq
2698 004c 80F84630 strbeq r3, [r0, #70]
2699 0050 80F84730 strbne r3, [r0, #71]
2700 0054 30BC pop {r4, r5}
2701 .LCFI44:
2702 .cfi_remember_state
2703 .cfi_restore 5
2704 .cfi_restore 4
2705 .cfi_def_cfa_offset 0
2706 0056 0020 movs r0, #0
2707 0058 7047 bx lr
2708 .L316:
2709 .LCFI45:
2710 .cfi_restore_state
2711 005a 1A68 ldr r2, [r3]
2712 005c 22F00102 bic r2, r2, #1
2713 0060 1A60 str r2, [r3]
2714 0062 0123 movs r3, #1
2715 0064 0029 cmp r1, #0
2716 0066 EDD1 bne .L310
2717 .L317:
2718 0068 80F84430 strb r3, [r0, #68]
2719 006c 30BC pop {r4, r5}
ARM GAS /tmp/ccuT46mL.s page 121
2720 .LCFI46:
2721 .cfi_remember_state
2722 .cfi_restore 5
2723 .cfi_restore 4
2724 .cfi_def_cfa_offset 0
2725 006e 0020 movs r0, #0
2726 0070 7047 bx lr
2727 .L315:
2728 .LCFI47:
2729 .cfi_restore_state
2730 0072 5A6C ldr r2, [r3, #68]
2731 0074 22F40042 bic r2, r2, #32768
2732 0078 5A64 str r2, [r3, #68]
2733 007a D7E7 b .L308
2734 .L318:
2735 007c 80F84530 strb r3, [r0, #69]
2736 0080 30BC pop {r4, r5}
2737 .LCFI48:
2738 .cfi_restore 5
2739 .cfi_restore 4
2740 .cfi_def_cfa_offset 0
2741 0082 0020 movs r0, #0
2742 0084 7047 bx lr
2743 .cfi_endproc
2744 .LFE419:
2746 0086 00BF .section .text.HAL_TIMEx_PWMN_Start_IT,"ax",%progbits
2747 .align 1
2748 .p2align 2,,3
2749 .global HAL_TIMEx_PWMN_Start_IT
2750 .syntax unified
2751 .thumb
2752 .thumb_func
2753 .fpu fpv4-sp-d16
2755 HAL_TIMEx_PWMN_Start_IT:
2756 .LFB421:
2757 .cfi_startproc
2758 @ args = 0, pretend = 0, frame = 0
2759 @ frame_needed = 0, uses_anonymous_args = 0
2760 @ link register save eliminated.
2761 0000 10B4 push {r4}
2762 .LCFI49:
2763 .cfi_def_cfa_offset 4
2764 .cfi_offset 4, -4
2765 0002 0029 cmp r1, #0
2766 0004 45D1 bne .L320
2767 0006 90F84430 ldrb r3, [r0, #68] @ zero_extendqisi2
2768 000a 012B cmp r3, #1
2769 000c 55D1 bne .L337
2770 000e 0223 movs r3, #2
2771 0010 0268 ldr r2, [r0]
2772 0012 80F84430 strb r3, [r0, #68]
2773 .L328:
2774 0016 1346 mov r3, r2
2775 0018 D268 ldr r2, [r2, #12]
2776 001a 42F00202 orr r2, r2, #2
2777 001e DA60 str r2, [r3, #12]
2778 .L329:
ARM GAS /tmp/ccuT46mL.s page 122
2779 0020 DA68 ldr r2, [r3, #12]
2780 0022 394C ldr r4, .L357
2781 0024 42F08002 orr r2, r2, #128
2782 0028 DA60 str r2, [r3, #12]
2783 002a 186A ldr r0, [r3, #32]
2784 002c 0422 movs r2, #4
2785 002e 01F01F01 and r1, r1, #31
2786 0032 02FA01F1 lsl r1, r2, r1
2787 0036 20EA0100 bic r0, r0, r1
2788 003a 1862 str r0, [r3, #32]
2789 003c 1A6A ldr r2, [r3, #32]
2790 003e 1143 orrs r1, r1, r2
2791 0040 1962 str r1, [r3, #32]
2792 0042 5A6C ldr r2, [r3, #68]
2793 0044 A342 cmp r3, r4
2794 0046 42F40042 orr r2, r2, #32768
2795 004a 5A64 str r2, [r3, #68]
2796 004c 11D0 beq .L332
2797 004e B3F1804F cmp r3, #1073741824
2798 0052 0ED0 beq .L332
2799 0054 2D4A ldr r2, .L357+4
2800 0056 9342 cmp r3, r2
2801 0058 0BD0 beq .L332
2802 005a 02F58062 add r2, r2, #1024
2803 005e 9342 cmp r3, r2
2804 0060 07D0 beq .L332
2805 0062 02F59632 add r2, r2, #76800
2806 0066 9342 cmp r3, r2
2807 0068 03D0 beq .L332
2808 006a 02F54062 add r2, r2, #3072
2809 006e 9342 cmp r3, r2
2810 0070 07D1 bne .L333
2811 .L332:
2812 0072 9968 ldr r1, [r3, #8]
2813 0074 264A ldr r2, .L357+8
2814 0076 0A40 ands r2, r2, r1
2815 0078 062A cmp r2, #6
2816 007a 22D0 beq .L339
2817 007c B2F5803F cmp r2, #65536
2818 0080 1FD0 beq .L339
2819 .L333:
2820 0082 1A68 ldr r2, [r3]
2821 0084 5DF8044B ldr r4, [sp], #4
2822 .LCFI50:
2823 .cfi_remember_state
2824 .cfi_restore 4
2825 .cfi_def_cfa_offset 0
2826 0088 42F00102 orr r2, r2, #1
2827 008c 0020 movs r0, #0
2828 008e 1A60 str r2, [r3]
2829 0090 7047 bx lr
2830 .L320:
2831 .LCFI51:
2832 .cfi_restore_state
2833 0092 0429 cmp r1, #4
2834 0094 19D0 beq .L355
2835 0096 0829 cmp r1, #8
ARM GAS /tmp/ccuT46mL.s page 123
2836 0098 24D0 beq .L356
2837 009a 90F84730 ldrb r3, [r0, #71] @ zero_extendqisi2
2838 009e 012B cmp r3, #1
2839 00a0 0BD1 bne .L337
2840 00a2 0368 ldr r3, [r0]
2841 00a4 0224 movs r4, #2
2842 00a6 0429 cmp r1, #4
2843 00a8 1A46 mov r2, r3
2844 00aa 80F84740 strb r4, [r0, #71]
2845 00ae 14D0 beq .L330
2846 00b0 0C29 cmp r1, #12
2847 00b2 24D0 beq .L331
2848 00b4 0029 cmp r1, #0
2849 00b6 B3D1 bne .L329
2850 00b8 ADE7 b .L328
2851 .L337:
2852 00ba 0120 movs r0, #1
2853 00bc 5DF8044B ldr r4, [sp], #4
2854 .LCFI52:
2855 .cfi_remember_state
2856 .cfi_restore 4
2857 .cfi_def_cfa_offset 0
2858 00c0 7047 bx lr
2859 .L339:
2860 .LCFI53:
2861 .cfi_restore_state
2862 00c2 0020 movs r0, #0
2863 00c4 5DF8044B ldr r4, [sp], #4
2864 .LCFI54:
2865 .cfi_remember_state
2866 .cfi_restore 4
2867 .cfi_def_cfa_offset 0
2868 00c8 7047 bx lr
2869 .L355:
2870 .LCFI55:
2871 .cfi_restore_state
2872 00ca 90F84530 ldrb r3, [r0, #69] @ zero_extendqisi2
2873 00ce 012B cmp r3, #1
2874 00d0 F3D1 bne .L337
2875 00d2 0223 movs r3, #2
2876 00d4 80F84530 strb r3, [r0, #69]
2877 00d8 0368 ldr r3, [r0]
2878 .L330:
2879 00da DA68 ldr r2, [r3, #12]
2880 00dc 42F00402 orr r2, r2, #4
2881 00e0 DA60 str r2, [r3, #12]
2882 00e2 9DE7 b .L329
2883 .L356:
2884 00e4 90F84630 ldrb r3, [r0, #70] @ zero_extendqisi2
2885 00e8 012B cmp r3, #1
2886 00ea E6D1 bne .L337
2887 00ec 0222 movs r2, #2
2888 00ee 0368 ldr r3, [r0]
2889 00f0 80F84620 strb r2, [r0, #70]
2890 00f4 DA68 ldr r2, [r3, #12]
2891 00f6 42F00802 orr r2, r2, #8
2892 00fa DA60 str r2, [r3, #12]
ARM GAS /tmp/ccuT46mL.s page 124
2893 00fc 90E7 b .L329
2894 .L331:
2895 00fe DA68 ldr r2, [r3, #12]
2896 0100 42F01002 orr r2, r2, #16
2897 0104 DA60 str r2, [r3, #12]
2898 0106 8BE7 b .L329
2899 .L358:
2900 .align 2
2901 .L357:
2902 0108 002C0140 .word 1073818624
2903 010c 00040040 .word 1073742848
2904 0110 07000100 .word 65543
2905 .cfi_endproc
2906 .LFE421:
2908 .section .text.HAL_TIMEx_PWMN_Stop_IT,"ax",%progbits
2909 .align 1
2910 .p2align 2,,3
2911 .global HAL_TIMEx_PWMN_Stop_IT
2912 .syntax unified
2913 .thumb
2914 .thumb_func
2915 .fpu fpv4-sp-d16
2917 HAL_TIMEx_PWMN_Stop_IT:
2918 .LFB423:
2919 .cfi_startproc
2920 @ args = 0, pretend = 0, frame = 0
2921 @ frame_needed = 0, uses_anonymous_args = 0
2922 @ link register save eliminated.
2923 0000 30B4 push {r4, r5}
2924 .LCFI56:
2925 .cfi_def_cfa_offset 8
2926 .cfi_offset 4, -8
2927 .cfi_offset 5, -4
2928 0002 0368 ldr r3, [r0]
2929 0004 0C29 cmp r1, #12
2930 0006 0CD8 bhi .L360
2931 0008 DFE801F0 tbb [pc, r1]
2932 .L362:
2933 000c 5A .byte (.L361-.L362)/2
2934 000d 0B .byte (.L360-.L362)/2
2935 000e 0B .byte (.L360-.L362)/2
2936 000f 0B .byte (.L360-.L362)/2
2937 0010 55 .byte (.L363-.L362)/2
2938 0011 0B .byte (.L360-.L362)/2
2939 0012 0B .byte (.L360-.L362)/2
2940 0013 0B .byte (.L360-.L362)/2
2941 0014 50 .byte (.L364-.L362)/2
2942 0015 0B .byte (.L360-.L362)/2
2943 0016 0B .byte (.L360-.L362)/2
2944 0017 0B .byte (.L360-.L362)/2
2945 0018 07 .byte (.L365-.L362)/2
2946 0019 00 .p2align 1
2947 .L365:
2948 001a DA68 ldr r2, [r3, #12]
2949 001c 22F01002 bic r2, r2, #16
2950 0020 DA60 str r2, [r3, #12]
2951 .L360:
ARM GAS /tmp/ccuT46mL.s page 125
2952 0022 1A6A ldr r2, [r3, #32]
2953 0024 01F01F05 and r5, r1, #31
2954 0028 0424 movs r4, #4
2955 002a AC40 lsls r4, r4, r5
2956 002c 22EA0402 bic r2, r2, r4
2957 0030 1A62 str r2, [r3, #32]
2958 0032 1A6A ldr r2, [r3, #32]
2959 0034 1A62 str r2, [r3, #32]
2960 0036 1C6A ldr r4, [r3, #32]
2961 0038 44F24442 movw r2, #17476
2962 003c 1442 tst r4, r2
2963 003e 03D1 bne .L366
2964 0040 DA68 ldr r2, [r3, #12]
2965 0042 22F08002 bic r2, r2, #128
2966 0046 DA60 str r2, [r3, #12]
2967 .L366:
2968 0048 1C6A ldr r4, [r3, #32]
2969 004a 41F21112 movw r2, #4369
2970 004e 1442 tst r4, r2
2971 0050 04D1 bne .L367
2972 0052 1C6A ldr r4, [r3, #32]
2973 0054 44F24442 movw r2, #17476
2974 0058 1442 tst r4, r2
2975 005a 22D0 beq .L374
2976 .L367:
2977 005c 1C6A ldr r4, [r3, #32]
2978 005e 41F21112 movw r2, #4369
2979 0062 1442 tst r4, r2
2980 0064 04D1 bne .L368
2981 0066 1C6A ldr r4, [r3, #32]
2982 0068 44F24442 movw r2, #17476
2983 006c 1442 tst r4, r2
2984 006e 0CD0 beq .L375
2985 .L368:
2986 0070 0123 movs r3, #1
2987 0072 89B1 cbz r1, .L376
2988 .L369:
2989 0074 0429 cmp r1, #4
2990 0076 28D0 beq .L377
2991 0078 0829 cmp r1, #8
2992 007a 0CBF ite eq
2993 007c 80F84630 strbeq r3, [r0, #70]
2994 0080 80F84730 strbne r3, [r0, #71]
2995 0084 30BC pop {r4, r5}
2996 .LCFI57:
2997 .cfi_remember_state
2998 .cfi_restore 5
2999 .cfi_restore 4
3000 .cfi_def_cfa_offset 0
3001 0086 0020 movs r0, #0
3002 0088 7047 bx lr
3003 .L375:
3004 .LCFI58:
3005 .cfi_restore_state
3006 008a 1A68 ldr r2, [r3]
3007 008c 22F00102 bic r2, r2, #1
3008 0090 1A60 str r2, [r3]
ARM GAS /tmp/ccuT46mL.s page 126
3009 0092 0123 movs r3, #1
3010 0094 0029 cmp r1, #0
3011 0096 EDD1 bne .L369
3012 .L376:
3013 0098 80F84430 strb r3, [r0, #68]
3014 009c 30BC pop {r4, r5}
3015 .LCFI59:
3016 .cfi_remember_state
3017 .cfi_restore 5
3018 .cfi_restore 4
3019 .cfi_def_cfa_offset 0
3020 009e 0020 movs r0, #0
3021 00a0 7047 bx lr
3022 .L374:
3023 .LCFI60:
3024 .cfi_restore_state
3025 00a2 5A6C ldr r2, [r3, #68]
3026 00a4 22F40042 bic r2, r2, #32768
3027 00a8 5A64 str r2, [r3, #68]
3028 00aa D7E7 b .L367
3029 .L364:
3030 00ac DA68 ldr r2, [r3, #12]
3031 00ae 22F00802 bic r2, r2, #8
3032 00b2 DA60 str r2, [r3, #12]
3033 00b4 B5E7 b .L360
3034 .L363:
3035 00b6 DA68 ldr r2, [r3, #12]
3036 00b8 22F00402 bic r2, r2, #4
3037 00bc DA60 str r2, [r3, #12]
3038 00be B0E7 b .L360
3039 .L361:
3040 00c0 DA68 ldr r2, [r3, #12]
3041 00c2 22F00202 bic r2, r2, #2
3042 00c6 DA60 str r2, [r3, #12]
3043 00c8 ABE7 b .L360
3044 .L377:
3045 00ca 80F84530 strb r3, [r0, #69]
3046 00ce 30BC pop {r4, r5}
3047 .LCFI61:
3048 .cfi_restore 5
3049 .cfi_restore 4
3050 .cfi_def_cfa_offset 0
3051 00d0 0020 movs r0, #0
3052 00d2 7047 bx lr
3053 .cfi_endproc
3054 .LFE423:
3056 .section .text.HAL_TIMEx_PWMN_Start_DMA,"ax",%progbits
3057 .align 1
3058 .p2align 2,,3
3059 .global HAL_TIMEx_PWMN_Start_DMA
3060 .syntax unified
3061 .thumb
3062 .thumb_func
3063 .fpu fpv4-sp-d16
3065 HAL_TIMEx_PWMN_Start_DMA:
3066 .LFB425:
3067 .cfi_startproc
ARM GAS /tmp/ccuT46mL.s page 127
3068 @ args = 0, pretend = 0, frame = 0
3069 @ frame_needed = 0, uses_anonymous_args = 0
3070 0000 F8B5 push {r3, r4, r5, r6, r7, lr}
3071 .LCFI62:
3072 .cfi_def_cfa_offset 24
3073 .cfi_offset 3, -24
3074 .cfi_offset 4, -20
3075 .cfi_offset 5, -16
3076 .cfi_offset 6, -12
3077 .cfi_offset 7, -8
3078 .cfi_offset 14, -4
3079 0002 0029 cmp r1, #0
3080 0004 57D1 bne .L379
3081 0006 90F84440 ldrb r4, [r0, #68] @ zero_extendqisi2
3082 000a E4B2 uxtb r4, r4
3083 000c 022C cmp r4, #2
3084 000e 66D0 beq .L404
3085 0010 90F84440 ldrb r4, [r0, #68] @ zero_extendqisi2
3086 0014 A4F10104 sub r4, #1
3087 0018 B4FA84F4 clz r4, r4
3088 001c 6409 lsrs r4, r4, #5
3089 .L387:
3090 001e 002C cmp r4, #0
3091 0020 5BD0 beq .L390
3092 .L388:
3093 0022 002A cmp r2, #0
3094 0024 00F0A080 beq .L422
3095 .L389:
3096 0028 0D46 mov r5, r1
3097 002a 0646 mov r6, r0
3098 002c 1146 mov r1, r2
3099 002e 0468 ldr r4, [r0]
3100 0030 002D cmp r5, #0
3101 0032 63D0 beq .L423
3102 0034 042D cmp r5, #4
3103 0036 00F09B80 beq .L424
3104 003a 082D cmp r5, #8
3105 003c 00F0AE80 beq .L425
3106 0040 0222 movs r2, #2
3107 0042 042D cmp r5, #4
3108 0044 80F84720 strb r2, [r0, #71]
3109 0048 00F09580 beq .L394
3110 004c 0C2D cmp r5, #12
3111 004e 6BD0 beq .L398
3112 0050 002D cmp r5, #0
3113 0052 56D0 beq .L392
3114 .L397:
3115 0054 236A ldr r3, [r4, #32]
3116 0056 634A ldr r2, .L428
3117 0058 05F01F01 and r1, r5, #31
3118 005c 0425 movs r5, #4
3119 005e 05FA01F1 lsl r1, r5, r1
3120 0062 23EA0103 bic r3, r3, r1
3121 0066 2362 str r3, [r4, #32]
3122 0068 256A ldr r5, [r4, #32]
3123 006a 2943 orrs r1, r1, r5
3124 006c 2162 str r1, [r4, #32]
ARM GAS /tmp/ccuT46mL.s page 128
3125 006e 636C ldr r3, [r4, #68]
3126 0070 9442 cmp r4, r2
3127 0072 43F40043 orr r3, r3, #32768
3128 0076 6364 str r3, [r4, #68]
3129 0078 00F0A980 beq .L399
3130 007c B4F1804F cmp r4, #1073741824
3131 0080 00F0A580 beq .L399
3132 0084 584B ldr r3, .L428+4
3133 0086 9C42 cmp r4, r3
3134 0088 00F0A180 beq .L399
3135 008c 03F58063 add r3, r3, #1024
3136 0090 9C42 cmp r4, r3
3137 0092 00F09C80 beq .L399
3138 0096 03F59633 add r3, r3, #76800
3139 009a 9C42 cmp r4, r3
3140 009c 00F09780 beq .L399
3141 00a0 03F54063 add r3, r3, #3072
3142 00a4 9C42 cmp r4, r3
3143 00a6 00F09280 beq .L399
3144 .L400:
3145 00aa 2368 ldr r3, [r4]
3146 00ac 43F00103 orr r3, r3, #1
3147 00b0 2360 str r3, [r4]
3148 00b2 0020 movs r0, #0
3149 00b4 F8BD pop {r3, r4, r5, r6, r7, pc}
3150 .L379:
3151 00b6 0429 cmp r1, #4
3152 00b8 13D0 beq .L426
3153 00ba 0829 cmp r1, #8
3154 00bc 47D0 beq .L427
3155 00be 90F84740 ldrb r4, [r0, #71] @ zero_extendqisi2
3156 00c2 E4B2 uxtb r4, r4
3157 00c4 022C cmp r4, #2
3158 00c6 0AD0 beq .L404
3159 00c8 90F84740 ldrb r4, [r0, #71] @ zero_extendqisi2
3160 00cc A4F10104 sub r4, #1
3161 00d0 B4FA84F4 clz r4, r4
3162 00d4 6409 lsrs r4, r4, #5
3163 00d6 002C cmp r4, #0
3164 00d8 A3D1 bne .L388
3165 .L390:
3166 00da 0120 movs r0, #1
3167 00dc F8BD pop {r3, r4, r5, r6, r7, pc}
3168 .L404:
3169 00de 2046 mov r0, r4
3170 00e0 F8BD pop {r3, r4, r5, r6, r7, pc}
3171 .L426:
3172 00e2 90F84540 ldrb r4, [r0, #69] @ zero_extendqisi2
3173 00e6 E4B2 uxtb r4, r4
3174 00e8 022C cmp r4, #2
3175 00ea F8D0 beq .L404
3176 00ec 90F84540 ldrb r4, [r0, #69] @ zero_extendqisi2
3177 00f0 A4F10104 sub r4, #1
3178 00f4 B4FA84F4 clz r4, r4
3179 00f8 6409 lsrs r4, r4, #5
3180 00fa 90E7 b .L387
3181 .L423:
ARM GAS /tmp/ccuT46mL.s page 129
3182 00fc 0222 movs r2, #2
3183 00fe 80F84420 strb r2, [r0, #68]
3184 .L392:
3185 0102 706A ldr r0, [r6, #36]
3186 0104 394F ldr r7, .L428+8
3187 0106 3A4A ldr r2, .L428+12
3188 0108 C762 str r7, [r0, #44]
3189 010a 3A4F ldr r7, .L428+16
3190 010c 0263 str r2, [r0, #48]
3191 010e 4763 str r7, [r0, #52]
3192 0110 04F13402 add r2, r4, #52
3193 0114 FFF7FEFF bl HAL_DMA_Start_IT
3194 0118 0028 cmp r0, #0
3195 011a DED1 bne .L390
3196 011c 3468 ldr r4, [r6]
3197 011e E368 ldr r3, [r4, #12]
3198 0120 43F40073 orr r3, r3, #512
3199 0124 E360 str r3, [r4, #12]
3200 0126 95E7 b .L397
3201 .L398:
3202 0128 006B ldr r0, [r0, #48]
3203 012a 304F ldr r7, .L428+8
3204 012c 304A ldr r2, .L428+12
3205 012e C762 str r7, [r0, #44]
3206 0130 304F ldr r7, .L428+16
3207 0132 0263 str r2, [r0, #48]
3208 0134 4763 str r7, [r0, #52]
3209 0136 04F14002 add r2, r4, #64
3210 013a FFF7FEFF bl HAL_DMA_Start_IT
3211 013e 0028 cmp r0, #0
3212 0140 CBD1 bne .L390
3213 0142 3468 ldr r4, [r6]
3214 0144 E368 ldr r3, [r4, #12]
3215 0146 43F48053 orr r3, r3, #4096
3216 014a E360 str r3, [r4, #12]
3217 014c 82E7 b .L397
3218 .L427:
3219 014e 90F84640 ldrb r4, [r0, #70] @ zero_extendqisi2
3220 0152 E4B2 uxtb r4, r4
3221 0154 022C cmp r4, #2
3222 0156 C2D0 beq .L404
3223 0158 90F84640 ldrb r4, [r0, #70] @ zero_extendqisi2
3224 015c A4F10104 sub r4, #1
3225 0160 B4FA84F4 clz r4, r4
3226 0164 6409 lsrs r4, r4, #5
3227 0166 5AE7 b .L387
3228 .L422:
3229 0168 002B cmp r3, #0
3230 016a 3FF45DAF beq .L389
3231 016e B4E7 b .L390
3232 .L424:
3233 0170 0222 movs r2, #2
3234 0172 80F84520 strb r2, [r0, #69]
3235 .L394:
3236 0176 B06A ldr r0, [r6, #40]
3237 0178 1C4F ldr r7, .L428+8
3238 017a 1D4A ldr r2, .L428+12
ARM GAS /tmp/ccuT46mL.s page 130
3239 017c C762 str r7, [r0, #44]
3240 017e 1D4F ldr r7, .L428+16
3241 0180 0263 str r2, [r0, #48]
3242 0182 4763 str r7, [r0, #52]
3243 0184 04F13802 add r2, r4, #56
3244 0188 FFF7FEFF bl HAL_DMA_Start_IT
3245 018c 0028 cmp r0, #0
3246 018e A4D1 bne .L390
3247 0190 3468 ldr r4, [r6]
3248 0192 E368 ldr r3, [r4, #12]
3249 0194 43F48063 orr r3, r3, #1024
3250 0198 E360 str r3, [r4, #12]
3251 019a 5BE7 b .L397
3252 .L425:
3253 019c C06A ldr r0, [r0, #44]
3254 019e 144F ldr r7, .L428+12
3255 01a0 DFF848C0 ldr ip, .L428+8
3256 01a4 04F13C02 add r2, r4, #60
3257 01a8 124C ldr r4, .L428+16
3258 01aa 4FF0020E mov lr, #2
3259 01ae 86F846E0 strb lr, [r6, #70]
3260 01b2 C0F82CC0 str ip, [r0, #44]
3261 01b6 C0E90C74 strd r7, r4, [r0, #48]
3262 01ba FFF7FEFF bl HAL_DMA_Start_IT
3263 01be 0028 cmp r0, #0
3264 01c0 8BD1 bne .L390
3265 01c2 3468 ldr r4, [r6]
3266 01c4 E368 ldr r3, [r4, #12]
3267 01c6 43F40063 orr r3, r3, #2048
3268 01ca E360 str r3, [r4, #12]
3269 01cc 42E7 b .L397
3270 .L399:
3271 01ce A268 ldr r2, [r4, #8]
3272 01d0 094B ldr r3, .L428+20
3273 01d2 1340 ands r3, r3, r2
3274 01d4 062B cmp r3, #6
3275 01d6 03D0 beq .L406
3276 01d8 B3F5803F cmp r3, #65536
3277 01dc 7FF465AF bne .L400
3278 .L406:
3279 01e0 0020 movs r0, #0
3280 01e2 F8BD pop {r3, r4, r5, r6, r7, pc}
3281 .L429:
3282 .align 2
3283 .L428:
3284 01e4 002C0140 .word 1073818624
3285 01e8 00040040 .word 1073742848
3286 01ec 00000000 .word TIM_DMADelayPulseNCplt
3287 01f0 00000000 .word TIM_DMADelayPulseHalfCplt
3288 01f4 00000000 .word TIM_DMAErrorCCxN
3289 01f8 07000100 .word 65543
3290 .cfi_endproc
3291 .LFE425:
3293 .section .text.HAL_TIMEx_PWMN_Stop_DMA,"ax",%progbits
3294 .align 1
3295 .p2align 2,,3
3296 .global HAL_TIMEx_PWMN_Stop_DMA
ARM GAS /tmp/ccuT46mL.s page 131
3297 .syntax unified
3298 .thumb
3299 .thumb_func
3300 .fpu fpv4-sp-d16
3302 HAL_TIMEx_PWMN_Stop_DMA:
3303 .LFB427:
3304 .cfi_startproc
3305 @ args = 0, pretend = 0, frame = 0
3306 @ frame_needed = 0, uses_anonymous_args = 0
3307 0000 38B5 push {r3, r4, r5, lr}
3308 .LCFI63:
3309 .cfi_def_cfa_offset 16
3310 .cfi_offset 3, -16
3311 .cfi_offset 4, -12
3312 .cfi_offset 5, -8
3313 .cfi_offset 14, -4
3314 0002 0546 mov r5, r0
3315 0004 0C46 mov r4, r1
3316 0006 0368 ldr r3, [r0]
3317 0008 0C29 cmp r1, #12
3318 000a 10D8 bhi .L431
3319 000c DFE801F0 tbb [pc, r1]
3320 .L433:
3321 0010 5B .byte (.L432-.L433)/2
3322 0011 0F .byte (.L431-.L433)/2
3323 0012 0F .byte (.L431-.L433)/2
3324 0013 0F .byte (.L431-.L433)/2
3325 0014 52 .byte (.L434-.L433)/2
3326 0015 0F .byte (.L431-.L433)/2
3327 0016 0F .byte (.L431-.L433)/2
3328 0017 0F .byte (.L431-.L433)/2
3329 0018 49 .byte (.L435-.L433)/2
3330 0019 0F .byte (.L431-.L433)/2
3331 001a 0F .byte (.L431-.L433)/2
3332 001b 0F .byte (.L431-.L433)/2
3333 001c 07 .byte (.L436-.L433)/2
3334 001d 00 .p2align 1
3335 .L436:
3336 001e DA68 ldr r2, [r3, #12]
3337 0020 006B ldr r0, [r0, #48]
3338 0022 22F48052 bic r2, r2, #4096
3339 0026 DA60 str r2, [r3, #12]
3340 0028 FFF7FEFF bl HAL_DMA_Abort_IT
3341 002c 2B68 ldr r3, [r5]
3342 .L431:
3343 002e 1A6A ldr r2, [r3, #32]
3344 0030 04F01F00 and r0, r4, #31
3345 0034 0421 movs r1, #4
3346 0036 8140 lsls r1, r1, r0
3347 0038 22EA0102 bic r2, r2, r1
3348 003c 1A62 str r2, [r3, #32]
3349 003e 1A6A ldr r2, [r3, #32]
3350 0040 1A62 str r2, [r3, #32]
3351 0042 196A ldr r1, [r3, #32]
3352 0044 41F21112 movw r2, #4369
3353 0048 1142 tst r1, r2
3354 004a 04D1 bne .L437
ARM GAS /tmp/ccuT46mL.s page 132
3355 004c 196A ldr r1, [r3, #32]
3356 004e 44F24442 movw r2, #17476
3357 0052 1142 tst r1, r2
3358 0054 20D0 beq .L444
3359 .L437:
3360 0056 196A ldr r1, [r3, #32]
3361 0058 41F21112 movw r2, #4369
3362 005c 1142 tst r1, r2
3363 005e 04D1 bne .L438
3364 0060 196A ldr r1, [r3, #32]
3365 0062 44F24442 movw r2, #17476
3366 0066 1142 tst r1, r2
3367 0068 0BD0 beq .L445
3368 .L438:
3369 006a 0123 movs r3, #1
3370 006c 84B1 cbz r4, .L446
3371 .L439:
3372 006e 042C cmp r4, #4
3373 0070 32D0 beq .L447
3374 0072 082C cmp r4, #8
3375 0074 0CBF ite eq
3376 0076 85F84630 strbeq r3, [r5, #70]
3377 007a 85F84730 strbne r3, [r5, #71]
3378 007e 0020 movs r0, #0
3379 0080 38BD pop {r3, r4, r5, pc}
3380 .L445:
3381 0082 1A68 ldr r2, [r3]
3382 0084 22F00102 bic r2, r2, #1
3383 0088 1A60 str r2, [r3]
3384 008a 0123 movs r3, #1
3385 008c 002C cmp r4, #0
3386 008e EED1 bne .L439
3387 .L446:
3388 0090 85F84430 strb r3, [r5, #68]
3389 0094 0020 movs r0, #0
3390 0096 38BD pop {r3, r4, r5, pc}
3391 .L444:
3392 0098 5A6C ldr r2, [r3, #68]
3393 009a 22F40042 bic r2, r2, #32768
3394 009e 5A64 str r2, [r3, #68]
3395 00a0 D9E7 b .L437
3396 .L435:
3397 00a2 DA68 ldr r2, [r3, #12]
3398 00a4 C06A ldr r0, [r0, #44]
3399 00a6 22F40062 bic r2, r2, #2048
3400 00aa DA60 str r2, [r3, #12]
3401 00ac FFF7FEFF bl HAL_DMA_Abort_IT
3402 00b0 2B68 ldr r3, [r5]
3403 00b2 BCE7 b .L431
3404 .L434:
3405 00b4 DA68 ldr r2, [r3, #12]
3406 00b6 806A ldr r0, [r0, #40]
3407 00b8 22F48062 bic r2, r2, #1024
3408 00bc DA60 str r2, [r3, #12]
3409 00be FFF7FEFF bl HAL_DMA_Abort_IT
3410 00c2 2B68 ldr r3, [r5]
3411 00c4 B3E7 b .L431
ARM GAS /tmp/ccuT46mL.s page 133
3412 .L432:
3413 00c6 DA68 ldr r2, [r3, #12]
3414 00c8 406A ldr r0, [r0, #36]
3415 00ca 22F40072 bic r2, r2, #512
3416 00ce DA60 str r2, [r3, #12]
3417 00d0 FFF7FEFF bl HAL_DMA_Abort_IT
3418 00d4 2B68 ldr r3, [r5]
3419 00d6 AAE7 b .L431
3420 .L447:
3421 00d8 85F84530 strb r3, [r5, #69]
3422 00dc 0020 movs r0, #0
3423 00de 38BD pop {r3, r4, r5, pc}
3424 .cfi_endproc
3425 .LFE427:
3427 .section .text.HAL_TIMEx_OnePulseN_Start,"ax",%progbits
3428 .align 1
3429 .p2align 2,,3
3430 .global HAL_TIMEx_OnePulseN_Start
3431 .syntax unified
3432 .thumb
3433 .thumb_func
3434 .fpu fpv4-sp-d16
3436 HAL_TIMEx_OnePulseN_Start:
3437 .LFB351:
1636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
3438 .loc 1 1636 0
3439 .cfi_startproc
3440 @ args = 0, pretend = 0, frame = 0
3441 @ frame_needed = 0, uses_anonymous_args = 0
3442 .LVL189:
1638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
3443 .loc 1 1638 0
3444 0000 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2
3445 0004 DBB2 uxtb r3, r3
1636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
3446 .loc 1 1636 0
3447 0006 70B5 push {r4, r5, r6, lr}
3448 .LCFI64:
3449 .cfi_def_cfa_offset 16
3450 .cfi_offset 4, -16
3451 .cfi_offset 5, -12
3452 .cfi_offset 6, -8
3453 .cfi_offset 14, -4
1637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
3454 .loc 1 1637 0
3455 0008 0029 cmp r1, #0
3456 000a 0CBF ite eq
3457 000c 0426 moveq r6, #4
3458 000e 0026 movne r6, #0
1647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
3459 .loc 1 1647 0
3460 0010 012B cmp r3, #1
1639: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
3461 .loc 1 1639 0
3462 0012 90F83F40 ldrb r4, [r0, #63] @ zero_extendqisi2
1640: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
3463 .loc 1 1640 0
ARM GAS /tmp/ccuT46mL.s page 134
3464 0016 90F84450 ldrb r5, [r0, #68] @ zero_extendqisi2
1641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3465 .loc 1 1641 0
3466 001a 90F84520 ldrb r2, [r0, #69] @ zero_extendqisi2
3467 .LVL190:
1647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
3468 .loc 1 1647 0
3469 001e 01D0 beq .L457
3470 .LVL191:
3471 .L452:
1652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3472 .loc 1 1652 0
3473 0020 0120 movs r0, #1
3474 .LVL192:
1670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3475 .loc 1 1670 0
3476 0022 70BD pop {r4, r5, r6, pc}
3477 .LVL193:
3478 .L457:
3479 0024 E4B2 uxtb r4, r4
1648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
3480 .loc 1 1648 0
3481 0026 012C cmp r4, #1
3482 0028 FAD1 bne .L452
3483 002a EDB2 uxtb r5, r5
1649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
3484 .loc 1 1649 0
3485 002c 012D cmp r5, #1
3486 002e F7D1 bne .L452
3487 0030 D2B2 uxtb r2, r2
1650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3488 .loc 1 1650 0
3489 0032 012A cmp r2, #1
3490 0034 01D0 beq .L458
1652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3491 .loc 1 1652 0
3492 0036 2846 mov r0, r5
3493 .LVL194:
1670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3494 .loc 1 1670 0
3495 0038 70BD pop {r4, r5, r6, pc}
3496 .LVL195:
3497 .L458:
3498 003a 0446 mov r4, r0
3499 .LVL196:
3500 003c 0B46 mov r3, r1
3501 .LVL197:
1662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE);
3502 .loc 1 1662 0
3503 003e 0068 ldr r0, [r0]
3504 .LVL198:
1656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
3505 .loc 1 1656 0
3506 0040 0221 movs r1, #2
3507 .LVL199:
3508 0042 84F83E10 strb r1, [r4, #62]
1657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
ARM GAS /tmp/ccuT46mL.s page 135
3509 .loc 1 1657 0
3510 0046 84F83F10 strb r1, [r4, #63]
1658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
3511 .loc 1 1658 0
3512 004a 84F84410 strb r1, [r4, #68]
1659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3513 .loc 1 1659 0
3514 004e 84F84510 strb r1, [r4, #69]
3515 .LBB64:
3516 .LBB65:
3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3517 .loc 1 3614 0
3518 0052 056A ldr r5, [r0, #32]
3519 .LVL200:
3611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3520 .loc 1 3611 0
3521 0054 0421 movs r1, #4
3522 0056 03F01F03 and r3, r3, #31
3523 .LVL201:
3524 005a 01FA03F3 lsl r3, r1, r3
3525 .LVL202:
3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3526 .loc 1 3614 0
3527 005e 25EA0305 bic r5, r5, r3
3528 0062 0562 str r5, [r0, #32]
3529 .loc 1 3617 0
3530 0064 016A ldr r1, [r0, #32]
3531 0066 0B43 orrs r3, r3, r1
3532 .LVL203:
3533 0068 0362 str r3, [r0, #32]
3534 .LVL204:
3535 .LBE65:
3536 .LBE64:
1663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3537 .loc 1 1663 0
3538 006a 3146 mov r1, r6
3539 006c FFF7FEFF bl TIM_CCxChannelCmd
3540 .LVL205:
1666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3541 .loc 1 1666 0
3542 0070 2268 ldr r2, [r4]
3543 0072 536C ldr r3, [r2, #68]
3544 0074 43F40043 orr r3, r3, #32768
3545 0078 5364 str r3, [r2, #68]
1669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3546 .loc 1 1669 0
3547 007a 0020 movs r0, #0
1670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3548 .loc 1 1670 0
3549 007c 70BD pop {r4, r5, r6, pc}
3550 .cfi_endproc
3551 .LFE351:
3553 007e 00BF .section .text.HAL_TIMEx_OnePulseN_Stop,"ax",%progbits
3554 .align 1
3555 .p2align 2,,3
3556 .global HAL_TIMEx_OnePulseN_Stop
3557 .syntax unified
ARM GAS /tmp/ccuT46mL.s page 136
3558 .thumb
3559 .thumb_func
3560 .fpu fpv4-sp-d16
3562 HAL_TIMEx_OnePulseN_Stop:
3563 .LFB352:
1685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
3564 .loc 1 1685 0
3565 .cfi_startproc
3566 @ args = 0, pretend = 0, frame = 0
3567 @ frame_needed = 0, uses_anonymous_args = 0
3568 .LVL206:
3569 0000 38B5 push {r3, r4, r5, lr}
3570 .LCFI65:
3571 .cfi_def_cfa_offset 16
3572 .cfi_offset 3, -16
3573 .cfi_offset 4, -12
3574 .cfi_offset 5, -8
3575 .cfi_offset 14, -4
1685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
3576 .loc 1 1685 0
3577 0002 0446 mov r4, r0
1692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_DISABLE);
3578 .loc 1 1692 0
3579 0004 0068 ldr r0, [r0]
3580 .LVL207:
3581 .LBB66:
3582 .LBB67:
3611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3583 .loc 1 3611 0
3584 0006 01F01F05 and r5, r1, #31
3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3585 .loc 1 3614 0
3586 000a 036A ldr r3, [r0, #32]
3611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3587 .loc 1 3611 0
3588 000c 0422 movs r2, #4
3589 000e AA40 lsls r2, r2, r5
3590 .LVL208:
3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3591 .loc 1 3614 0
3592 0010 23EA0203 bic r3, r3, r2
3593 0014 0362 str r3, [r0, #32]
3594 .loc 1 3617 0
3595 0016 036A ldr r3, [r0, #32]
3596 0018 0362 str r3, [r0, #32]
3597 .LVL209:
3598 .LBE67:
3599 .LBE66:
1693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3600 .loc 1 1693 0
3601 001a 0029 cmp r1, #0
3602 001c 0CBF ite eq
3603 001e 0421 moveq r1, #4
3604 0020 0021 movne r1, #0
3605 .LVL210:
3606 0022 0022 movs r2, #0
3607 0024 FFF7FEFF bl TIM_CCxChannelCmd
ARM GAS /tmp/ccuT46mL.s page 137
3608 .LVL211:
1696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3609 .loc 1 1696 0
3610 0028 2368 ldr r3, [r4]
3611 002a 196A ldr r1, [r3, #32]
3612 002c 41F21112 movw r2, #4369
3613 0030 1142 tst r1, r2
3614 0032 04D1 bne .L461
1696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3615 .loc 1 1696 0 is_stmt 0 discriminator 1
3616 0034 196A ldr r1, [r3, #32]
3617 0036 44F24442 movw r2, #17476
3618 003a 1142 tst r1, r2
3619 003c 18D0 beq .L465
3620 .L461:
1699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3621 .loc 1 1699 0 is_stmt 1
3622 003e 196A ldr r1, [r3, #32]
3623 0040 41F21112 movw r2, #4369
3624 0044 1142 tst r1, r2
3625 0046 08D1 bne .L462
1699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3626 .loc 1 1699 0 is_stmt 0 discriminator 1
3627 0048 196A ldr r1, [r3, #32]
3628 004a 44F24442 movw r2, #17476
3629 004e 1142 tst r1, r2
3630 0050 03D1 bne .L462
1699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3631 .loc 1 1699 0 discriminator 2
3632 0052 1A68 ldr r2, [r3]
3633 0054 22F00102 bic r2, r2, #1
3634 0058 1A60 str r2, [r3]
3635 .L462:
1702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
3636 .loc 1 1702 0 is_stmt 1
3637 005a 0123 movs r3, #1
3638 005c 84F83E30 strb r3, [r4, #62]
1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3639 .loc 1 1709 0
3640 0060 0020 movs r0, #0
1703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
3641 .loc 1 1703 0
3642 0062 84F83F30 strb r3, [r4, #63]
1704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
3643 .loc 1 1704 0
3644 0066 84F84430 strb r3, [r4, #68]
1705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3645 .loc 1 1705 0
3646 006a 84F84530 strb r3, [r4, #69]
1709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3647 .loc 1 1709 0
3648 006e 38BD pop {r3, r4, r5, pc}
3649 .LVL212:
3650 .L465:
1696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3651 .loc 1 1696 0 discriminator 2
3652 0070 5A6C ldr r2, [r3, #68]
ARM GAS /tmp/ccuT46mL.s page 138
3653 0072 22F40042 bic r2, r2, #32768
3654 0076 5A64 str r2, [r3, #68]
3655 0078 E1E7 b .L461
3656 .cfi_endproc
3657 .LFE352:
3659 007a 00BF .section .text.HAL_TIMEx_OnePulseN_Start_IT,"ax",%progbits
3660 .align 1
3661 .p2align 2,,3
3662 .global HAL_TIMEx_OnePulseN_Start_IT
3663 .syntax unified
3664 .thumb
3665 .thumb_func
3666 .fpu fpv4-sp-d16
3668 HAL_TIMEx_OnePulseN_Start_IT:
3669 .LFB353:
1724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
3670 .loc 1 1724 0
3671 .cfi_startproc
3672 @ args = 0, pretend = 0, frame = 0
3673 @ frame_needed = 0, uses_anonymous_args = 0
3674 .LVL213:
1726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
3675 .loc 1 1726 0
3676 0000 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2
3677 0004 DBB2 uxtb r3, r3
1724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
3678 .loc 1 1724 0
3679 0006 70B5 push {r4, r5, r6, lr}
3680 .LCFI66:
3681 .cfi_def_cfa_offset 16
3682 .cfi_offset 4, -16
3683 .cfi_offset 5, -12
3684 .cfi_offset 6, -8
3685 .cfi_offset 14, -4
1725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
3686 .loc 1 1725 0
3687 0008 0029 cmp r1, #0
3688 000a 0CBF ite eq
3689 000c 0426 moveq r6, #4
3690 000e 0026 movne r6, #0
1735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
3691 .loc 1 1735 0
3692 0010 012B cmp r3, #1
1727: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
3693 .loc 1 1727 0
3694 0012 90F83F40 ldrb r4, [r0, #63] @ zero_extendqisi2
1728: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
3695 .loc 1 1728 0
3696 0016 90F84450 ldrb r5, [r0, #68] @ zero_extendqisi2
1729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3697 .loc 1 1729 0
3698 001a 90F84520 ldrb r2, [r0, #69] @ zero_extendqisi2
3699 .LVL214:
1735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
3700 .loc 1 1735 0
3701 001e 01D0 beq .L475
3702 .LVL215:
ARM GAS /tmp/ccuT46mL.s page 139
3703 .L470:
1740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3704 .loc 1 1740 0
3705 0020 0120 movs r0, #1
3706 .LVL216:
1764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3707 .loc 1 1764 0
3708 0022 70BD pop {r4, r5, r6, pc}
3709 .LVL217:
3710 .L475:
3711 0024 E4B2 uxtb r4, r4
1736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
3712 .loc 1 1736 0
3713 0026 012C cmp r4, #1
3714 0028 FAD1 bne .L470
3715 002a EDB2 uxtb r5, r5
1737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
3716 .loc 1 1737 0
3717 002c 012D cmp r5, #1
3718 002e F7D1 bne .L470
3719 0030 D2B2 uxtb r2, r2
1738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
3720 .loc 1 1738 0
3721 0032 012A cmp r2, #1
3722 0034 01D0 beq .L476
1740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3723 .loc 1 1740 0
3724 0036 2846 mov r0, r5
3725 .LVL218:
1764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3726 .loc 1 1764 0
3727 0038 70BD pop {r4, r5, r6, pc}
3728 .LVL219:
3729 .L476:
3730 003a 0446 mov r4, r0
3731 .LVL220:
3732 003c 0B46 mov r3, r1
3733 .LVL221:
1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3734 .loc 1 1750 0
3735 003e 0068 ldr r0, [r0]
3736 .LVL222:
1744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
3737 .loc 1 1744 0
3738 0040 0221 movs r1, #2
3739 .LVL223:
3740 0042 84F83E10 strb r1, [r4, #62]
1745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
3741 .loc 1 1745 0
3742 0046 84F83F10 strb r1, [r4, #63]
1746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
3743 .loc 1 1746 0
3744 004a 84F84410 strb r1, [r4, #68]
1747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3745 .loc 1 1747 0
3746 004e 84F84510 strb r1, [r4, #69]
1750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccuT46mL.s page 140
3747 .loc 1 1750 0
3748 0052 C168 ldr r1, [r0, #12]
3749 0054 41F00201 orr r1, r1, #2
3750 0058 C160 str r1, [r0, #12]
1753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3751 .loc 1 1753 0
3752 005a C168 ldr r1, [r0, #12]
3753 005c 41F00401 orr r1, r1, #4
3754 0060 C160 str r1, [r0, #12]
3755 .LVL224:
3756 .LBB68:
3757 .LBB69:
3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3758 .loc 1 3614 0
3759 0062 056A ldr r5, [r0, #32]
3760 .LVL225:
3611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3761 .loc 1 3611 0
3762 0064 0421 movs r1, #4
3763 0066 03F01F03 and r3, r3, #31
3764 .LVL226:
3765 006a 01FA03F3 lsl r3, r1, r3
3766 .LVL227:
3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3767 .loc 1 3614 0
3768 006e 25EA0305 bic r5, r5, r3
3769 0072 0562 str r5, [r0, #32]
3770 .loc 1 3617 0
3771 0074 016A ldr r1, [r0, #32]
3772 0076 0B43 orrs r3, r3, r1
3773 .LVL228:
3774 0078 0362 str r3, [r0, #32]
3775 .LVL229:
3776 .LBE69:
3777 .LBE68:
1757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3778 .loc 1 1757 0
3779 007a 3146 mov r1, r6
3780 007c FFF7FEFF bl TIM_CCxChannelCmd
3781 .LVL230:
1760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3782 .loc 1 1760 0
3783 0080 2268 ldr r2, [r4]
3784 0082 536C ldr r3, [r2, #68]
3785 0084 43F40043 orr r3, r3, #32768
3786 0088 5364 str r3, [r2, #68]
1763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3787 .loc 1 1763 0
3788 008a 0020 movs r0, #0
1764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3789 .loc 1 1764 0
3790 008c 70BD pop {r4, r5, r6, pc}
3791 .cfi_endproc
3792 .LFE353:
3794 008e 00BF .section .text.HAL_TIMEx_OnePulseN_Stop_IT,"ax",%progbits
3795 .align 1
3796 .p2align 2,,3
ARM GAS /tmp/ccuT46mL.s page 141
3797 .global HAL_TIMEx_OnePulseN_Stop_IT
3798 .syntax unified
3799 .thumb
3800 .thumb_func
3801 .fpu fpv4-sp-d16
3803 HAL_TIMEx_OnePulseN_Stop_IT:
3804 .LFB354:
1779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
3805 .loc 1 1779 0
3806 .cfi_startproc
3807 @ args = 0, pretend = 0, frame = 0
3808 @ frame_needed = 0, uses_anonymous_args = 0
3809 .LVL231:
3810 0000 70B5 push {r4, r5, r6, lr}
3811 .LCFI67:
3812 .cfi_def_cfa_offset 16
3813 .cfi_offset 4, -16
3814 .cfi_offset 5, -12
3815 .cfi_offset 6, -8
3816 .cfi_offset 14, -4
1779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
3817 .loc 1 1779 0
3818 0002 0446 mov r4, r0
1786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3819 .loc 1 1786 0
3820 0004 0068 ldr r0, [r0]
3821 .LVL232:
3822 0006 C568 ldr r5, [r0, #12]
3823 0008 25F00205 bic r5, r5, #2
3824 000c C560 str r5, [r0, #12]
1789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3825 .loc 1 1789 0
3826 000e C568 ldr r5, [r0, #12]
3827 0010 25F00405 bic r5, r5, #4
3828 0014 C560 str r5, [r0, #12]
3829 .LVL233:
3830 .LBB70:
3831 .LBB71:
3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3832 .loc 1 3614 0
3833 0016 036A ldr r3, [r0, #32]
3611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3834 .loc 1 3611 0
3835 0018 01F01F06 and r6, r1, #31
3836 001c 0422 movs r2, #4
3837 001e B240 lsls r2, r2, r6
3838 .LVL234:
3614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3839 .loc 1 3614 0
3840 0020 23EA0203 bic r3, r3, r2
3841 0024 0362 str r3, [r0, #32]
3842 .loc 1 3617 0
3843 0026 036A ldr r3, [r0, #32]
3844 0028 0362 str r3, [r0, #32]
3845 .LVL235:
3846 .LBE71:
3847 .LBE70:
ARM GAS /tmp/ccuT46mL.s page 142
1793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3848 .loc 1 1793 0
3849 002a 0029 cmp r1, #0
3850 002c 0CBF ite eq
3851 002e 0421 moveq r1, #4
3852 0030 0021 movne r1, #0
3853 .LVL236:
3854 0032 0022 movs r2, #0
3855 0034 FFF7FEFF bl TIM_CCxChannelCmd
3856 .LVL237:
1796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3857 .loc 1 1796 0
3858 0038 2368 ldr r3, [r4]
3859 003a 196A ldr r1, [r3, #32]
3860 003c 41F21112 movw r2, #4369
3861 0040 1142 tst r1, r2
3862 0042 04D1 bne .L479
1796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3863 .loc 1 1796 0 is_stmt 0 discriminator 1
3864 0044 196A ldr r1, [r3, #32]
3865 0046 44F24442 movw r2, #17476
3866 004a 1142 tst r1, r2
3867 004c 18D0 beq .L483
3868 .L479:
1799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3869 .loc 1 1799 0 is_stmt 1
3870 004e 196A ldr r1, [r3, #32]
3871 0050 41F21112 movw r2, #4369
3872 0054 1142 tst r1, r2
3873 0056 08D1 bne .L480
1799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3874 .loc 1 1799 0 is_stmt 0 discriminator 1
3875 0058 196A ldr r1, [r3, #32]
3876 005a 44F24442 movw r2, #17476
3877 005e 1142 tst r1, r2
3878 0060 03D1 bne .L480
1799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3879 .loc 1 1799 0 discriminator 2
3880 0062 1A68 ldr r2, [r3]
3881 0064 22F00102 bic r2, r2, #1
3882 0068 1A60 str r2, [r3]
3883 .L480:
1802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
3884 .loc 1 1802 0 is_stmt 1
3885 006a 0123 movs r3, #1
3886 006c 84F83E30 strb r3, [r4, #62]
1809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3887 .loc 1 1809 0
3888 0070 0020 movs r0, #0
1803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
3889 .loc 1 1803 0
3890 0072 84F83F30 strb r3, [r4, #63]
1804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
3891 .loc 1 1804 0
3892 0076 84F84430 strb r3, [r4, #68]
1805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3893 .loc 1 1805 0
ARM GAS /tmp/ccuT46mL.s page 143
3894 007a 84F84530 strb r3, [r4, #69]
1809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3895 .loc 1 1809 0
3896 007e 70BD pop {r4, r5, r6, pc}
3897 .LVL238:
3898 .L483:
1796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3899 .loc 1 1796 0 discriminator 2
3900 0080 5A6C ldr r2, [r3, #68]
3901 0082 22F40042 bic r2, r2, #32768
3902 0086 5A64 str r2, [r3, #68]
3903 0088 E1E7 b .L479
3904 .cfi_endproc
3905 .LFE354:
3907 008a 00BF .section .text.HAL_TIMEx_ConfigCommutEvent,"ax",%progbits
3908 .align 1
3909 .p2align 2,,3
3910 .global HAL_TIMEx_ConfigCommutEvent
3911 .syntax unified
3912 .thumb
3913 .thumb_func
3914 .fpu fpv4-sp-d16
3916 HAL_TIMEx_ConfigCommutEvent:
3917 .LFB355:
1874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3918 .loc 1 1874 0
3919 .cfi_startproc
3920 @ args = 0, pretend = 0, frame = 0
3921 @ frame_needed = 0, uses_anonymous_args = 0
3922 @ link register save eliminated.
3923 .LVL239:
1879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3924 .loc 1 1879 0
3925 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
3926 0004 012B cmp r3, #1
3927 0006 38D0 beq .L488
1874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
3928 .loc 1 1874 0 discriminator 2
3929 0008 10B4 push {r4}
3930 .LCFI68:
3931 .cfi_def_cfa_offset 4
3932 .cfi_offset 4, -4
1879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3933 .loc 1 1879 0 discriminator 2
3934 000a 0123 movs r3, #1
1901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
3935 .loc 1 1901 0 discriminator 2
3936 000c 31F03004 bics r4, r1, #48
1879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3937 .loc 1 1879 0 discriminator 2
3938 0010 80F83C30 strb r3, [r0, #60]
3939 0014 0368 ldr r3, [r0]
1901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
3940 .loc 1 1901 0 discriminator 2
3941 0016 0DD0 beq .L486
1902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) ||
3942 .loc 1 1902 0 discriminator 1
ARM GAS /tmp/ccuT46mL.s page 144
3943 0018 21F02004 bic r4, r1, #32
3944 001c B4F1101F cmp r4, #1048592
3945 0020 08D0 beq .L486
1903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) ||
3946 .loc 1 1903 0
3947 0022 174C ldr r4, .L499
3948 0024 A142 cmp r1, r4
3949 0026 05D0 beq .L486
1904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR11))
3950 .loc 1 1904 0
3951 0028 2034 adds r4, r4, #32
3952 002a A142 cmp r1, r4
3953 002c 02D0 beq .L486
1904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR11))
3954 .loc 1 1904 0 is_stmt 0 discriminator 1
3955 002e 3034 adds r4, r4, #48
3956 0030 A142 cmp r1, r4
3957 0032 08D1 bne .L487
3958 .L486:
1909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
3959 .loc 1 1909 0 is_stmt 1
3960 0034 9C68 ldr r4, [r3, #8]
3961 0036 24F44014 bic r4, r4, #3145728
3962 003a 24F07004 bic r4, r4, #112
3963 003e 9C60 str r4, [r3, #8]
1910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
3964 .loc 1 1910 0
3965 0040 9C68 ldr r4, [r3, #8]
3966 0042 2143 orrs r1, r1, r4
3967 .LVL240:
3968 0044 9960 str r1, [r3, #8]
3969 .L487:
1914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */
3970 .loc 1 1914 0
3971 0046 5968 ldr r1, [r3, #4]
1928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3972 .loc 1 1928 0
3973 0048 5DF8044B ldr r4, [sp], #4
3974 .LCFI69:
3975 .cfi_restore 4
3976 .cfi_def_cfa_offset 0
1914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */
3977 .loc 1 1914 0
3978 004c 41F00101 orr r1, r1, #1
3979 0050 5960 str r1, [r3, #4]
1916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
3980 .loc 1 1916 0
3981 0052 5968 ldr r1, [r3, #4]
3982 0054 21F00401 bic r1, r1, #4
3983 0058 5960 str r1, [r3, #4]
1917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3984 .loc 1 1917 0
3985 005a 5968 ldr r1, [r3, #4]
3986 005c 0A43 orrs r2, r2, r1
3987 .LVL241:
3988 005e 5A60 str r2, [r3, #4]
1920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccuT46mL.s page 145
3989 .loc 1 1920 0
3990 0060 DA68 ldr r2, [r3, #12]
3991 0062 22F02002 bic r2, r2, #32
3992 0066 DA60 str r2, [r3, #12]
1923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3993 .loc 1 1923 0
3994 0068 DA68 ldr r2, [r3, #12]
1925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3995 .loc 1 1925 0
3996 006a 0021 movs r1, #0
1923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
3997 .loc 1 1923 0
3998 006c 22F40052 bic r2, r2, #8192
3999 0070 DA60 str r2, [r3, #12]
1925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4000 .loc 1 1925 0
4001 0072 80F83C10 strb r1, [r0, #60]
1928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4002 .loc 1 1928 0
4003 0076 0846 mov r0, r1
4004 .LVL242:
4005 0078 7047 bx lr
4006 .LVL243:
4007 .L488:
1879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4008 .loc 1 1879 0
4009 007a 0223 movs r3, #2
1928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4010 .loc 1 1928 0
4011 007c 1846 mov r0, r3
4012 .LVL244:
4013 007e 7047 bx lr
4014 .L500:
4015 .align 2
4016 .L499:
4017 0080 20001000 .word 1048608
4018 .cfi_endproc
4019 .LFE355:
4021 .section .text.HAL_TIMEx_ConfigCommutEvent_IT,"ax",%progbits
4022 .align 1
4023 .p2align 2,,3
4024 .global HAL_TIMEx_ConfigCommutEvent_IT
4025 .syntax unified
4026 .thumb
4027 .thumb_func
4028 .fpu fpv4-sp-d16
4030 HAL_TIMEx_ConfigCommutEvent_IT:
4031 .LFB356:
1965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
4032 .loc 1 1965 0
4033 .cfi_startproc
4034 @ args = 0, pretend = 0, frame = 0
4035 @ frame_needed = 0, uses_anonymous_args = 0
4036 @ link register save eliminated.
4037 .LVL245:
1970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4038 .loc 1 1970 0
ARM GAS /tmp/ccuT46mL.s page 146
4039 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
4040 0004 012B cmp r3, #1
4041 0006 38D0 beq .L505
1965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
4042 .loc 1 1965 0 discriminator 2
4043 0008 10B4 push {r4}
4044 .LCFI70:
4045 .cfi_def_cfa_offset 4
4046 .cfi_offset 4, -4
1970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4047 .loc 1 1970 0 discriminator 2
4048 000a 0123 movs r3, #1
1992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
4049 .loc 1 1992 0 discriminator 2
4050 000c 31F03004 bics r4, r1, #48
1970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4051 .loc 1 1970 0 discriminator 2
4052 0010 80F83C30 strb r3, [r0, #60]
4053 0014 0368 ldr r3, [r0]
1992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
4054 .loc 1 1992 0 discriminator 2
4055 0016 0DD0 beq .L503
1993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) ||
4056 .loc 1 1993 0 discriminator 1
4057 0018 21F02004 bic r4, r1, #32
4058 001c B4F1101F cmp r4, #1048592
4059 0020 08D0 beq .L503
1994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) ||
4060 .loc 1 1994 0
4061 0022 174C ldr r4, .L516
4062 0024 A142 cmp r1, r4
4063 0026 05D0 beq .L503
1995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR11))
4064 .loc 1 1995 0
4065 0028 2034 adds r4, r4, #32
4066 002a A142 cmp r1, r4
4067 002c 02D0 beq .L503
1995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR11))
4068 .loc 1 1995 0 is_stmt 0 discriminator 1
4069 002e 3034 adds r4, r4, #48
4070 0030 A142 cmp r1, r4
4071 0032 08D1 bne .L504
4072 .L503:
2000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
4073 .loc 1 2000 0 is_stmt 1
4074 0034 9C68 ldr r4, [r3, #8]
4075 0036 24F44014 bic r4, r4, #3145728
4076 003a 24F07004 bic r4, r4, #112
4077 003e 9C60 str r4, [r3, #8]
2001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4078 .loc 1 2001 0
4079 0040 9C68 ldr r4, [r3, #8]
4080 0042 2143 orrs r1, r1, r4
4081 .LVL246:
4082 0044 9960 str r1, [r3, #8]
4083 .L504:
2005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */
ARM GAS /tmp/ccuT46mL.s page 147
4084 .loc 1 2005 0
4085 0046 5968 ldr r1, [r3, #4]
2019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4086 .loc 1 2019 0
4087 0048 5DF8044B ldr r4, [sp], #4
4088 .LCFI71:
4089 .cfi_restore 4
4090 .cfi_def_cfa_offset 0
2005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */
4091 .loc 1 2005 0
4092 004c 41F00101 orr r1, r1, #1
4093 0050 5960 str r1, [r3, #4]
2007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
4094 .loc 1 2007 0
4095 0052 5968 ldr r1, [r3, #4]
4096 0054 21F00401 bic r1, r1, #4
4097 0058 5960 str r1, [r3, #4]
2008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4098 .loc 1 2008 0
4099 005a 5968 ldr r1, [r3, #4]
4100 005c 0A43 orrs r2, r2, r1
4101 .LVL247:
4102 005e 5A60 str r2, [r3, #4]
2011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4103 .loc 1 2011 0
4104 0060 DA68 ldr r2, [r3, #12]
4105 0062 22F40052 bic r2, r2, #8192
4106 0066 DA60 str r2, [r3, #12]
2014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4107 .loc 1 2014 0
4108 0068 DA68 ldr r2, [r3, #12]
2016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4109 .loc 1 2016 0
4110 006a 0021 movs r1, #0
2014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4111 .loc 1 2014 0
4112 006c 42F02002 orr r2, r2, #32
4113 0070 DA60 str r2, [r3, #12]
2016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4114 .loc 1 2016 0
4115 0072 80F83C10 strb r1, [r0, #60]
2019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4116 .loc 1 2019 0
4117 0076 0846 mov r0, r1
4118 .LVL248:
4119 0078 7047 bx lr
4120 .LVL249:
4121 .L505:
1970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4122 .loc 1 1970 0
4123 007a 0223 movs r3, #2
2019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4124 .loc 1 2019 0
4125 007c 1846 mov r0, r3
4126 .LVL250:
4127 007e 7047 bx lr
4128 .L517:
ARM GAS /tmp/ccuT46mL.s page 148
4129 .align 2
4130 .L516:
4131 0080 20001000 .word 1048608
4132 .cfi_endproc
4133 .LFE356:
4135 .section .text.HAL_TIMEx_ConfigCommutEvent_DMA,"ax",%progbits
4136 .align 1
4137 .p2align 2,,3
4138 .global HAL_TIMEx_ConfigCommutEvent_DMA
4139 .syntax unified
4140 .thumb
4141 .thumb_func
4142 .fpu fpv4-sp-d16
4144 HAL_TIMEx_ConfigCommutEvent_DMA:
4145 .LFB357:
2057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
4146 .loc 1 2057 0
4147 .cfi_startproc
4148 @ args = 0, pretend = 0, frame = 0
4149 @ frame_needed = 0, uses_anonymous_args = 0
4150 @ link register save eliminated.
4151 .LVL251:
2062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4152 .loc 1 2062 0
4153 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
4154 0004 012B cmp r3, #1
4155 0006 3ED0 beq .L522
2057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
4156 .loc 1 2057 0 discriminator 2
4157 0008 70B4 push {r4, r5, r6}
4158 .LCFI72:
4159 .cfi_def_cfa_offset 12
4160 .cfi_offset 4, -12
4161 .cfi_offset 5, -8
4162 .cfi_offset 6, -4
2062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4163 .loc 1 2062 0 discriminator 2
4164 000a 0123 movs r3, #1
2084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
4165 .loc 1 2084 0 discriminator 2
4166 000c 31F03004 bics r4, r1, #48
2062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4167 .loc 1 2062 0 discriminator 2
4168 0010 80F83C30 strb r3, [r0, #60]
4169 0014 0368 ldr r3, [r0]
2084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3) ||
4170 .loc 1 2084 0 discriminator 2
4171 0016 0DD0 beq .L520
2085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR5) || (InputTrigger == TIM_TS_ITR6) ||
4172 .loc 1 2085 0 discriminator 1
4173 0018 21F02004 bic r4, r1, #32
4174 001c B4F1101F cmp r4, #1048592
4175 0020 08D0 beq .L520
2086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR7) || (InputTrigger == TIM_TS_ITR8) ||
4176 .loc 1 2086 0
4177 0022 1A4C ldr r4, .L533
4178 0024 A142 cmp r1, r4
ARM GAS /tmp/ccuT46mL.s page 149
4179 0026 05D0 beq .L520
2087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR11))
4180 .loc 1 2087 0
4181 0028 2034 adds r4, r4, #32
4182 002a A142 cmp r1, r4
4183 002c 02D0 beq .L520
2087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR11))
4184 .loc 1 2087 0 is_stmt 0 discriminator 1
4185 002e 3034 adds r4, r4, #48
4186 0030 A142 cmp r1, r4
4187 0032 08D1 bne .L521
4188 .L520:
2092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
4189 .loc 1 2092 0 is_stmt 1
4190 0034 9C68 ldr r4, [r3, #8]
4191 0036 24F44014 bic r4, r4, #3145728
4192 003a 24F07004 bic r4, r4, #112
4193 003e 9C60 str r4, [r3, #8]
2093:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4194 .loc 1 2093 0
4195 0040 9C68 ldr r4, [r3, #8]
4196 0042 2143 orrs r1, r1, r4
4197 .LVL252:
4198 0044 9960 str r1, [r3, #8]
4199 .L521:
2097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */
4200 .loc 1 2097 0
4201 0046 5C68 ldr r4, [r3, #4]
2104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt;
4202 .loc 1 2104 0
4203 0048 416B ldr r1, [r0, #52]
2105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the DMA error callback */
4204 .loc 1 2105 0
4205 004a 114D ldr r5, .L533+4
2104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt;
4206 .loc 1 2104 0
4207 004c 114E ldr r6, .L533+8
2097:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the Commutation event source */
4208 .loc 1 2097 0
4209 004e 44F00104 orr r4, r4, #1
4210 0052 5C60 str r4, [r3, #4]
2099:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
4211 .loc 1 2099 0
4212 0054 5C68 ldr r4, [r3, #4]
4213 0056 24F00404 bic r4, r4, #4
4214 005a 5C60 str r4, [r3, #4]
2100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4215 .loc 1 2100 0
4216 005c 5C68 ldr r4, [r3, #4]
4217 005e 2243 orrs r2, r2, r4
4218 .LVL253:
4219 0060 5A60 str r2, [r3, #4]
2110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4220 .loc 1 2110 0
4221 0062 DA68 ldr r2, [r3, #12]
2107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4222 .loc 1 2107 0
ARM GAS /tmp/ccuT46mL.s page 150
4223 0064 0C4C ldr r4, .L533+12
2104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt;
4224 .loc 1 2104 0
4225 0066 CE62 str r6, [r1, #44]
2110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4226 .loc 1 2110 0
4227 0068 22F02002 bic r2, r2, #32
2107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4228 .loc 1 2107 0
4229 006c C1E90C54 strd r5, r4, [r1, #48]
2110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4230 .loc 1 2110 0
4231 0070 DA60 str r2, [r3, #12]
2113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4232 .loc 1 2113 0
4233 0072 DA68 ldr r2, [r3, #12]
2115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4234 .loc 1 2115 0
4235 0074 0021 movs r1, #0
2113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4236 .loc 1 2113 0
4237 0076 42F40052 orr r2, r2, #8192
4238 007a DA60 str r2, [r3, #12]
2118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4239 .loc 1 2118 0
4240 007c 70BC pop {r4, r5, r6}
4241 .LCFI73:
4242 .cfi_restore 6
4243 .cfi_restore 5
4244 .cfi_restore 4
4245 .cfi_def_cfa_offset 0
2115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4246 .loc 1 2115 0
4247 007e 80F83C10 strb r1, [r0, #60]
2118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4248 .loc 1 2118 0
4249 0082 0846 mov r0, r1
4250 .LVL254:
4251 0084 7047 bx lr
4252 .LVL255:
4253 .L522:
2062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4254 .loc 1 2062 0
4255 0086 0223 movs r3, #2
2118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4256 .loc 1 2118 0
4257 0088 1846 mov r0, r3
4258 .LVL256:
4259 008a 7047 bx lr
4260 .L534:
4261 .align 2
4262 .L533:
4263 008c 20001000 .word 1048608
4264 0090 00000000 .word TIMEx_DMACommutationHalfCplt
4265 0094 00000000 .word TIMEx_DMACommutationCplt
4266 0098 00000000 .word TIM_DMAError
4267 .cfi_endproc
ARM GAS /tmp/ccuT46mL.s page 151
4268 .LFE357:
4270 .section .text.HAL_TIMEx_MasterConfigSynchronization,"ax",%progbits
4271 .align 1
4272 .p2align 2,,3
4273 .global HAL_TIMEx_MasterConfigSynchronization
4274 .syntax unified
4275 .thumb
4276 .thumb_func
4277 .fpu fpv4-sp-d16
4279 HAL_TIMEx_MasterConfigSynchronization:
4280 .LFB358:
2130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpcr2;
4281 .loc 1 2130 0
4282 .cfi_startproc
4283 @ args = 0, pretend = 0, frame = 0
4284 @ frame_needed = 0, uses_anonymous_args = 0
4285 @ link register save eliminated.
4286 .LVL257:
2140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4287 .loc 1 2140 0
4288 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
4289 0004 012B cmp r3, #1
4290 0006 49D0 beq .L543
2130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpcr2;
4291 .loc 1 2130 0 discriminator 2
4292 0008 F0B4 push {r4, r5, r6, r7}
4293 .LCFI74:
4294 .cfi_def_cfa_offset 16
4295 .cfi_offset 4, -16
4296 .cfi_offset 5, -12
4297 .cfi_offset 6, -8
4298 .cfi_offset 7, -4
2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4299 .loc 1 2152 0 discriminator 2
4300 000a 254A ldr r2, .L555
2146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4301 .loc 1 2146 0 discriminator 2
4302 000c 0568 ldr r5, [r0]
4303 000e 0F68 ldr r7, [r1]
2143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4304 .loc 1 2143 0 discriminator 2
4305 0010 0223 movs r3, #2
4306 0012 80F83D30 strb r3, [r0, #61]
2140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4307 .loc 1 2140 0 discriminator 2
4308 0016 0124 movs r4, #1
2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4309 .loc 1 2152 0 discriminator 2
4310 0018 9542 cmp r5, r2
2146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4311 .loc 1 2146 0 discriminator 2
4312 001a 6B68 ldr r3, [r5, #4]
4313 .LVL258:
2140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4314 .loc 1 2140 0 discriminator 2
4315 001c 80F83C40 strb r4, [r0, #60]
2149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
ARM GAS /tmp/ccuT46mL.s page 152
4316 .loc 1 2149 0 discriminator 2
4317 0020 AE68 ldr r6, [r5, #8]
4318 .LVL259:
2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4319 .loc 1 2152 0 discriminator 2
4320 0022 25D0 beq .L537
2152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4321 .loc 1 2152 0 is_stmt 0 discriminator 1
4322 0024 02F50062 add r2, r2, #2048
4323 0028 9542 cmp r5, r2
4324 002a 2CD0 beq .L554
2164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO source */
4325 .loc 1 2164 0 is_stmt 1
4326 002c 23F00073 bic r3, r3, #33554432
4327 .LVL260:
4328 0030 23F07003 bic r3, r3, #112
4329 .LVL261:
2166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4330 .loc 1 2166 0
4331 0034 3B43 orrs r3, r3, r7
4332 .LVL262:
2171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4333 .loc 1 2171 0
4334 0036 B5F1804F cmp r5, #1073741824
2169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4335 .loc 1 2169 0
4336 003a 6B60 str r3, [r5, #4]
4337 .LVL263:
2171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4338 .loc 1 2171 0
4339 003c 0AD0 beq .L540
2171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4340 .loc 1 2171 0 is_stmt 0 discriminator 2
4341 003e 194B ldr r3, .L555+4
4342 0040 9D42 cmp r5, r3
4343 0042 07D0 beq .L540
2171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4344 .loc 1 2171 0 discriminator 3
4345 0044 03F58063 add r3, r3, #1024
4346 0048 9D42 cmp r5, r3
4347 004a 03D0 beq .L540
2171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4348 .loc 1 2171 0 discriminator 5
4349 004c 03F59C33 add r3, r3, #79872
4350 0050 9D42 cmp r5, r3
4351 0052 04D1 bne .L541
4352 .L540:
2176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4353 .loc 1 2176 0 is_stmt 1
4354 0054 8B68 ldr r3, [r1, #8]
2174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set master mode */
4355 .loc 1 2174 0
4356 0056 26F08006 bic r6, r6, #128
4357 .LVL264:
2176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4358 .loc 1 2176 0
4359 005a 1E43 orrs r6, r6, r3
ARM GAS /tmp/ccuT46mL.s page 153
4360 .LVL265:
2179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4361 .loc 1 2179 0
4362 005c AE60 str r6, [r5, #8]
4363 .L541:
2185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4364 .loc 1 2185 0
4365 005e 0023 movs r3, #0
2183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4366 .loc 1 2183 0
4367 0060 0122 movs r2, #1
4368 0062 80F83D20 strb r2, [r0, #61]
2185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4369 .loc 1 2185 0
4370 0066 80F83C30 strb r3, [r0, #60]
2188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4371 .loc 1 2188 0
4372 006a F0BC pop {r4, r5, r6, r7}
4373 .LCFI75:
4374 .cfi_remember_state
4375 .cfi_restore 7
4376 .cfi_restore 6
4377 .cfi_restore 5
4378 .cfi_restore 4
4379 .cfi_def_cfa_offset 0
4380 .LVL266:
2187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4381 .loc 1 2187 0
4382 006c 1846 mov r0, r3
4383 .LVL267:
2188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4384 .loc 1 2188 0
4385 006e 7047 bx lr
4386 .LVL268:
4387 .L537:
4388 .LCFI76:
4389 .cfi_restore_state
2160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4390 .loc 1 2160 0
4391 0070 4C68 ldr r4, [r1, #4]
2158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO2 source*/
4392 .loc 1 2158 0
4393 0072 23F47002 bic r2, r3, #15728640
4394 .LVL269:
2160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4395 .loc 1 2160 0
4396 0076 2243 orrs r2, r2, r4
4397 .LVL270:
2164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO source */
4398 .loc 1 2164 0
4399 0078 22F00072 bic r2, r2, #33554432
4400 .LVL271:
4401 007c 22F07002 bic r2, r2, #112
4402 .LVL272:
2166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4403 .loc 1 2166 0
4404 0080 3A43 orrs r2, r2, r7
ARM GAS /tmp/ccuT46mL.s page 154
4405 .LVL273:
2169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4406 .loc 1 2169 0
4407 0082 6A60 str r2, [r5, #4]
4408 0084 E6E7 b .L540
4409 .LVL274:
4410 .L554:
2160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4411 .loc 1 2160 0
4412 0086 4A68 ldr r2, [r1, #4]
2158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO2 source*/
4413 .loc 1 2158 0
4414 0088 23F47004 bic r4, r3, #15728640
4415 .LVL275:
2160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4416 .loc 1 2160 0
4417 008c 1443 orrs r4, r4, r2
4418 .LVL276:
2164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Select the TRGO source */
4419 .loc 1 2164 0
4420 008e 24F00074 bic r4, r4, #33554432
4421 .LVL277:
4422 0092 24F07004 bic r4, r4, #112
4423 .LVL278:
2166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4424 .loc 1 2166 0
4425 0096 3C43 orrs r4, r4, r7
4426 .LVL279:
2169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4427 .loc 1 2169 0
4428 0098 6C60 str r4, [r5, #4]
4429 .LVL280:
4430 009a DBE7 b .L540
4431 .LVL281:
4432 .L543:
4433 .LCFI77:
4434 .cfi_def_cfa_offset 0
4435 .cfi_restore 4
4436 .cfi_restore 5
4437 .cfi_restore 6
4438 .cfi_restore 7
2140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4439 .loc 1 2140 0
4440 009c 0220 movs r0, #2
4441 .LVL282:
2188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4442 .loc 1 2188 0
4443 009e 7047 bx lr
4444 .L556:
4445 .align 2
4446 .L555:
4447 00a0 002C0140 .word 1073818624
4448 00a4 00040040 .word 1073742848
4449 .cfi_endproc
4450 .LFE358:
4452 .section .text.HAL_TIMEx_ConfigBreakDeadTime,"ax",%progbits
4453 .align 1
ARM GAS /tmp/ccuT46mL.s page 155
4454 .p2align 2,,3
4455 .global HAL_TIMEx_ConfigBreakDeadTime
4456 .syntax unified
4457 .thumb
4458 .thumb_func
4459 .fpu fpv4-sp-d16
4461 HAL_TIMEx_ConfigBreakDeadTime:
4462 .LFB359:
2203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Keep this variable initialized to 0 as it is used to configure BDTR register */
4463 .loc 1 2203 0
4464 .cfi_startproc
4465 @ args = 0, pretend = 0, frame = 0
4466 @ frame_needed = 0, uses_anonymous_args = 0
4467 @ link register save eliminated.
4468 .LVL283:
2219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4469 .loc 1 2219 0
4470 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
4471 0004 012B cmp r3, #1
4472 0006 44D0 beq .L563
4473 .LVL284:
2203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Keep this variable initialized to 0 as it is used to configure BDTR register */
4474 .loc 1 2203 0 discriminator 2
4475 0008 30B4 push {r4, r5}
4476 .LCFI78:
4477 .cfi_def_cfa_offset 8
4478 .cfi_offset 4, -8
4479 .cfi_offset 5, -4
2226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSI, sBreakDeadTimeConfig->OffStateIDLEMode);
4480 .loc 1 2226 0 discriminator 2
4481 000a D1E90253 ldrd r5, r3, [r1, #8]
4482 000e 0246 mov r2, r0
4483 0010 23F44073 bic r3, r3, #768
2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKE, sBreakDeadTimeConfig->BreakState);
4484 .loc 1 2228 0 discriminator 2
4485 0014 D1E90004 ldrd r0, r4, [r1]
4486 .LVL285:
2226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSI, sBreakDeadTimeConfig->OffStateIDLEMode);
4487 .loc 1 2226 0 discriminator 2
4488 0018 2B43 orrs r3, r3, r5
2227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSR, sBreakDeadTimeConfig->OffStateRunMode);
4489 .loc 1 2227 0 discriminator 2
4490 001a 23F48063 bic r3, r3, #1024
4491 .LVL286:
4492 001e 2343 orrs r3, r3, r4
4493 .LVL287:
2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKE, sBreakDeadTimeConfig->BreakState);
4494 .loc 1 2228 0 discriminator 2
4495 0020 23F40063 bic r3, r3, #2048
4496 .LVL288:
2230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_AOE, sBreakDeadTimeConfig->AutomaticOutput);
4497 .loc 1 2230 0 discriminator 2
4498 0024 D1E90454 ldrd r5, r4, [r1, #16]
2228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKE, sBreakDeadTimeConfig->BreakState);
4499 .loc 1 2228 0 discriminator 2
4500 0028 0343 orrs r3, r3, r0
4501 .LVL289:
ARM GAS /tmp/ccuT46mL.s page 156
2229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKP, sBreakDeadTimeConfig->BreakPolarity);
4502 .loc 1 2229 0 discriminator 2
4503 002a 23F48053 bic r3, r3, #4096
4504 .LVL290:
4505 002e 2B43 orrs r3, r3, r5
4506 .LVL291:
2230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_AOE, sBreakDeadTimeConfig->AutomaticOutput);
4507 .loc 1 2230 0 discriminator 2
4508 0030 23F40053 bic r3, r3, #8192
4509 .LVL292:
2231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKF, (sBreakDeadTimeConfig->BreakFilter << TIM_BDTR_BKF_Pos));
4510 .loc 1 2231 0 discriminator 2
4511 0034 086B ldr r0, [r1, #48]
2232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4512 .loc 1 2232 0 discriminator 2
4513 0036 8D69 ldr r5, [r1, #24]
2230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_AOE, sBreakDeadTimeConfig->AutomaticOutput);
4514 .loc 1 2230 0 discriminator 2
4515 0038 2343 orrs r3, r3, r4
4516 .LVL293:
2231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKF, (sBreakDeadTimeConfig->BreakFilter << TIM_BDTR_BKF_Pos));
4517 .loc 1 2231 0 discriminator 2
4518 003a 23F48043 bic r3, r3, #16384
4519 .LVL294:
4520 003e 0343 orrs r3, r3, r0
4521 .LVL295:
2234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4522 .loc 1 2234 0 discriminator 2
4523 0040 154C ldr r4, .L569
4524 0042 1068 ldr r0, [r2]
2232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4525 .loc 1 2232 0 discriminator 2
4526 0044 23F47023 bic r3, r3, #983040
4527 .LVL296:
2234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4528 .loc 1 2234 0 discriminator 2
4529 0048 A042 cmp r0, r4
2232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4530 .loc 1 2232 0 discriminator 2
4531 004a 43EA0543 orr r3, r3, r5, lsl #16
4532 .LVL297:
2234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4533 .loc 1 2234 0 discriminator 2
4534 004e 0AD0 beq .L560
2234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4535 .loc 1 2234 0 is_stmt 0 discriminator 1
4536 0050 04F50064 add r4, r4, #2048
4537 0054 A042 cmp r0, r4
4538 0056 06D0 beq .L560
4539 .LVL298:
4540 .L561:
2268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4541 .loc 1 2268 0 is_stmt 1
4542 0058 0021 movs r1, #0
2266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4543 .loc 1 2266 0
4544 005a 4364 str r3, [r0, #68]
ARM GAS /tmp/ccuT46mL.s page 157
2271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4545 .loc 1 2271 0
4546 005c 30BC pop {r4, r5}
4547 .LCFI79:
4548 .cfi_remember_state
4549 .cfi_restore 5
4550 .cfi_restore 4
4551 .cfi_def_cfa_offset 0
2270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4552 .loc 1 2270 0
4553 005e 0846 mov r0, r1
2268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4554 .loc 1 2268 0
4555 0060 82F83C10 strb r1, [r2, #60]
2271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4556 .loc 1 2271 0
4557 0064 7047 bx lr
4558 .LVL299:
4559 .L560:
4560 .LCFI80:
4561 .cfi_restore_state
2240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4562 .loc 1 2240 0
4563 0066 CD69 ldr r5, [r1, #28]
2251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2E, sBreakDeadTimeConfig->Break2State);
4564 .loc 1 2251 0
4565 0068 8C6A ldr r4, [r1, #40]
2240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4566 .loc 1 2240 0
4567 006a 23F08053 bic r3, r3, #268435456
4568 .LVL300:
4569 006e 2B43 orrs r3, r3, r5
4570 .LVL301:
2251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2E, sBreakDeadTimeConfig->Break2State);
4571 .loc 1 2251 0
4572 0070 23F47003 bic r3, r3, #15728640
4573 .LVL302:
4574 0074 43EA0453 orr r3, r3, r4, lsl #20
4575 .LVL303:
2253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4576 .loc 1 2253 0
4577 0078 D1E90854 ldrd r5, r4, [r1, #32]
2252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BK2P, sBreakDeadTimeConfig->Break2Polarity);
4578 .loc 1 2252 0
4579 007c 23F08073 bic r3, r3, #16777216
4580 .LVL304:
4581 0080 2B43 orrs r3, r3, r5
4582 .LVL305:
2253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4583 .loc 1 2253 0
4584 0082 23F00073 bic r3, r3, #33554432
4585 .LVL306:
4586 0086 2343 orrs r3, r3, r4
4587 .LVL307:
2261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4588 .loc 1 2261 0
4589 0088 C96A ldr r1, [r1, #44]
ARM GAS /tmp/ccuT46mL.s page 158
4590 .LVL308:
4591 008a 23F00053 bic r3, r3, #536870912
4592 .LVL309:
4593 008e 0B43 orrs r3, r3, r1
4594 .LVL310:
4595 0090 E2E7 b .L561
4596 .LVL311:
4597 .L563:
4598 .LCFI81:
4599 .cfi_def_cfa_offset 0
4600 .cfi_restore 4
4601 .cfi_restore 5
2219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4602 .loc 1 2219 0
4603 0092 0220 movs r0, #2
4604 .LVL312:
2271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4605 .loc 1 2271 0
4606 0094 7047 bx lr
4607 .L570:
4608 0096 00BF .align 2
4609 .L569:
4610 0098 002C0140 .word 1073818624
4611 .cfi_endproc
4612 .LFE359:
4614 .section .text.HAL_TIMEx_ConfigBreakInput,"ax",%progbits
4615 .align 1
4616 .p2align 2,,3
4617 .global HAL_TIMEx_ConfigBreakInput
4618 .syntax unified
4619 .thumb
4620 .thumb_func
4621 .fpu fpv4-sp-d16
4623 HAL_TIMEx_ConfigBreakInput:
4624 .LFB360:
2287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmporx;
4625 .loc 1 2287 0
4626 .cfi_startproc
4627 @ args = 0, pretend = 0, frame = 0
4628 @ frame_needed = 0, uses_anonymous_args = 0
4629 @ link register save eliminated.
4630 .LVL313:
2302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4631 .loc 1 2302 0
4632 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
4633 0004 012B cmp r3, #1
4634 0006 4AD0 beq .L577
4635 0008 1368 ldr r3, [r2]
4636 000a 013B subs r3, r3, #1
2287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmporx;
4637 .loc 1 2287 0 discriminator 2
4638 000c F0B4 push {r4, r5, r6, r7}
4639 .LCFI82:
4640 .cfi_def_cfa_offset 16
4641 .cfi_offset 4, -16
4642 .cfi_offset 5, -12
4643 .cfi_offset 6, -8
ARM GAS /tmp/ccuT46mL.s page 159
4644 .cfi_offset 7, -4
4645 000e 0F2B cmp r3, #15
2302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4646 .loc 1 2302 0 discriminator 2
4647 0010 4FF00104 mov r4, #1
4648 0014 80F83C40 strb r4, [r0, #60]
4649 0018 1DD9 bls .L583
2304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4650 .loc 1 2304 0
4651 001a 0025 movs r5, #0
2390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4652 .loc 1 2390 0
4653 001c 0129 cmp r1, #1
2304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4654 .loc 1 2304 0
4655 001e 2F46 mov r7, r5
4656 0020 2C46 mov r4, r5
4657 0022 2E46 mov r6, r5
4658 .LVL314:
2390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4659 .loc 1 2390 0
4660 0024 25D0 beq .L575
4661 .LVL315:
4662 .L584:
4663 0026 0229 cmp r1, #2
4664 0028 0FD1 bne .L574
2412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4665 .loc 1 2412 0
4666 002a 0168 ldr r1, [r0]
4667 .LVL316:
2416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4668 .loc 1 2416 0
4669 002c 5368 ldr r3, [r2, #4]
2412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4670 .loc 1 2412 0
4671 002e D1F864C0 ldr ip, [r1, #100]
4672 .LVL317:
2420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4673 .loc 1 2420 0
4674 0032 9268 ldr r2, [r2, #8]
4675 .LVL318:
2416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4676 .loc 1 2416 0
4677 0034 BB40 lsls r3, r3, r7
4678 0036 83EA0C03 eor r3, r3, ip
4679 003a 3340 ands r3, r3, r6
4680 003c 83EA0C03 eor r3, r3, ip
4681 .LVL319:
2420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4682 .loc 1 2420 0
4683 0040 AA40 lsls r2, r2, r5
4684 0042 5A40 eors r2, r2, r3
4685 0044 2240 ands r2, r2, r4
4686 0046 5340 eors r3, r3, r2
4687 .LVL320:
2423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
4688 .loc 1 2423 0
ARM GAS /tmp/ccuT46mL.s page 160
4689 0048 4B66 str r3, [r1, #100]
4690 .LVL321:
4691 .L574:
2430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4692 .loc 1 2430 0
4693 004a 0023 movs r3, #0
4694 004c 80F83C30 strb r3, [r0, #60]
2433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4695 .loc 1 2433 0
4696 0050 F0BC pop {r4, r5, r6, r7}
4697 .LCFI83:
4698 .cfi_remember_state
4699 .cfi_restore 7
4700 .cfi_restore 6
4701 .cfi_restore 5
4702 .cfi_restore 4
4703 .cfi_def_cfa_offset 0
4704 .LVL322:
2432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4705 .loc 1 2432 0
4706 0052 1846 mov r0, r3
4707 .LVL323:
2433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4708 .loc 1 2433 0
4709 0054 7047 bx lr
4710 .LVL324:
4711 .L583:
4712 .LCFI84:
4713 .cfi_restore_state
4714 0056 134E ldr r6, .L585
4715 0058 134C ldr r4, .L585+4
4716 005a 144F ldr r7, .L585+8
4717 005c 144D ldr r5, .L585+12
4718 005e 56F82360 ldr r6, [r6, r3, lsl #2]
4719 0062 54F82340 ldr r4, [r4, r3, lsl #2]
4720 0066 57F82370 ldr r7, [r7, r3, lsl #2]
4721 006a 55F82350 ldr r5, [r5, r3, lsl #2]
4722 .LVL325:
2390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4723 .loc 1 2390 0 discriminator 2
4724 006e 0129 cmp r1, #1
4725 0070 D9D1 bne .L584
4726 .L575:
2395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4727 .loc 1 2395 0
4728 0072 0168 ldr r1, [r0]
4729 .LVL326:
2399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4730 .loc 1 2399 0
4731 0074 5368 ldr r3, [r2, #4]
2395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4732 .loc 1 2395 0
4733 0076 D1F860C0 ldr ip, [r1, #96]
4734 .LVL327:
2403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4735 .loc 1 2403 0
4736 007a 9268 ldr r2, [r2, #8]
ARM GAS /tmp/ccuT46mL.s page 161
4737 .LVL328:
2399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4738 .loc 1 2399 0
4739 007c BB40 lsls r3, r3, r7
4740 007e 83EA0C03 eor r3, r3, ip
4741 0082 3340 ands r3, r3, r6
4742 0084 83EA0C03 eor r3, r3, ip
4743 .LVL329:
2403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4744 .loc 1 2403 0
4745 0088 AA40 lsls r2, r2, r5
4746 008a 5A40 eors r2, r2, r3
4747 008c 2240 ands r2, r2, r4
4748 008e 5340 eors r3, r3, r2
4749 .LVL330:
2406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
4750 .loc 1 2406 0
4751 0090 0B66 str r3, [r1, #96]
2430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4752 .loc 1 2430 0
4753 0092 0023 movs r3, #0
4754 .LVL331:
4755 0094 80F83C30 strb r3, [r0, #60]
2433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4756 .loc 1 2433 0
4757 0098 F0BC pop {r4, r5, r6, r7}
4758 .LCFI85:
4759 .cfi_restore 7
4760 .cfi_restore 6
4761 .cfi_restore 5
4762 .cfi_restore 4
4763 .cfi_def_cfa_offset 0
4764 .LVL332:
2432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4765 .loc 1 2432 0
4766 009a 1846 mov r0, r3
4767 .LVL333:
2433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4768 .loc 1 2433 0
4769 009c 7047 bx lr
4770 .LVL334:
4771 .L577:
2302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4772 .loc 1 2302 0
4773 009e 0220 movs r0, #2
4774 .LVL335:
2433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4775 .loc 1 2433 0
4776 00a0 7047 bx lr
4777 .L586:
4778 00a2 00BF .align 2
4779 .L585:
4780 00a4 00000000 .word .LANCHOR0
4781 00a8 00000000 .word .LANCHOR1
4782 00ac 00000000 .word .LANCHOR2
4783 00b0 00000000 .word .LANCHOR3
4784 .cfi_endproc
ARM GAS /tmp/ccuT46mL.s page 162
4785 .LFE360:
4787 .section .text.HAL_TIMEx_RemapConfig,"ax",%progbits
4788 .align 1
4789 .p2align 2,,3
4790 .global HAL_TIMEx_RemapConfig
4791 .syntax unified
4792 .thumb
4793 .thumb_func
4794 .fpu fpv4-sp-d16
4796 HAL_TIMEx_RemapConfig:
4797 .LFB361:
2546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check parameters */
4798 .loc 1 2546 0
4799 .cfi_startproc
4800 @ args = 0, pretend = 0, frame = 0
4801 @ frame_needed = 0, uses_anonymous_args = 0
4802 @ link register save eliminated.
4803 .LVL336:
2551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4804 .loc 1 2551 0
4805 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
4806 0004 012B cmp r3, #1
2546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check parameters */
4807 .loc 1 2546 0
4808 0006 0246 mov r2, r0
2551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4809 .loc 1 2551 0
4810 0008 0AD0 beq .L589
2553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4811 .loc 1 2553 0 discriminator 2
4812 000a 0068 ldr r0, [r0]
4813 .LVL337:
4814 000c 036E ldr r3, [r0, #96]
4815 000e 23F47033 bic r3, r3, #245760
4816 0012 1943 orrs r1, r1, r3
4817 .LVL338:
2555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4818 .loc 1 2555 0 discriminator 2
4819 0014 0023 movs r3, #0
2553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4820 .loc 1 2553 0 discriminator 2
4821 0016 0166 str r1, [r0, #96]
2557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4822 .loc 1 2557 0 discriminator 2
4823 0018 1846 mov r0, r3
2555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4824 .loc 1 2555 0 discriminator 2
4825 001a 82F83C30 strb r3, [r2, #60]
2557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4826 .loc 1 2557 0 discriminator 2
4827 001e 7047 bx lr
4828 .LVL339:
4829 .L589:
2551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4830 .loc 1 2551 0
4831 0020 0220 movs r0, #2
4832 .LVL340:
ARM GAS /tmp/ccuT46mL.s page 163
2558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4833 .loc 1 2558 0
4834 0022 7047 bx lr
4835 .cfi_endproc
4836 .LFE361:
4838 .section .text.HAL_TIMEx_TISelection,"ax",%progbits
4839 .align 1
4840 .p2align 2,,3
4841 .global HAL_TIMEx_TISelection
4842 .syntax unified
4843 .thumb
4844 .thumb_func
4845 .fpu fpv4-sp-d16
4847 HAL_TIMEx_TISelection:
4848 .LFB362:
2720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
4849 .loc 1 2720 0
4850 .cfi_startproc
4851 @ args = 0, pretend = 0, frame = 0
4852 @ frame_needed = 0, uses_anonymous_args = 0
4853 @ link register save eliminated.
4854 .LVL341:
4855 0000 0346 mov r3, r0
2727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4856 .loc 1 2727 0
4857 0002 90F83C00 ldrb r0, [r0, #60] @ zero_extendqisi2
4858 .LVL342:
4859 0006 0128 cmp r0, #1
4860 0008 48D0 beq .L600
2727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4861 .loc 1 2727 0 is_stmt 0 discriminator 2
4862 000a 0120 movs r0, #1
4863 000c 83F83C00 strb r0, [r3, #60]
2729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4864 .loc 1 2729 0 is_stmt 1 discriminator 2
4865 0010 0C2A cmp r2, #12
4866 0012 41D8 bhi .L601
4867 0014 DFE802F0 tbb [pc, r2]
4868 .L594:
4869 0018 12 .byte (.L593-.L594)/2
4870 0019 40 .byte (.L601-.L594)/2
4871 001a 40 .byte (.L601-.L594)/2
4872 001b 40 .byte (.L601-.L594)/2
4873 001c 2A .byte (.L595-.L594)/2
4874 001d 40 .byte (.L601-.L594)/2
4875 001e 40 .byte (.L601-.L594)/2
4876 001f 40 .byte (.L601-.L594)/2
4877 0020 35 .byte (.L596-.L594)/2
4878 0021 40 .byte (.L601-.L594)/2
4879 0022 40 .byte (.L601-.L594)/2
4880 0023 40 .byte (.L601-.L594)/2
4881 0024 07 .byte (.L597-.L594)/2
4882 0025 00 .p2align 1
4883 .L597:
2751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
4884 .loc 1 2751 0
4885 0026 1868 ldr r0, [r3]
ARM GAS /tmp/ccuT46mL.s page 164
4886 0028 C26D ldr r2, [r0, #92]
4887 .LVL343:
4888 002a 22F07062 bic r2, r2, #251658240
4889 002e 1143 orrs r1, r1, r2
4890 .LVL344:
4891 0030 C165 str r1, [r0, #92]
2721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4892 .loc 1 2721 0
4893 0032 0020 movs r0, #0
4894 .L603:
4895 .LVL345:
2758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4896 .loc 1 2758 0
4897 0034 0022 movs r2, #0
4898 0036 83F83C20 strb r2, [r3, #60]
2761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4899 .loc 1 2761 0
4900 003a 7047 bx lr
4901 .LVL346:
4902 .L593:
2732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4903 .loc 1 2732 0
4904 003c 1A68 ldr r2, [r3]
4905 .LVL347:
4906 003e D06D ldr r0, [r2, #92]
2720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_StatusTypeDef status = HAL_OK;
4907 .loc 1 2720 0
4908 0040 10B4 push {r4}
4909 .LCFI86:
4910 .cfi_def_cfa_offset 4
4911 .cfi_offset 4, -4
2735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4912 .loc 1 2735 0
4913 0042 1A4C ldr r4, .L606
2732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4914 .loc 1 2732 0
4915 0044 20F00F00 bic r0, r0, #15
4916 0048 0143 orrs r1, r1, r0
4917 .LVL348:
2735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4918 .loc 1 2735 0
4919 004a A242 cmp r2, r4
2732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4920 .loc 1 2732 0
4921 004c D165 str r1, [r2, #92]
2735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4922 .loc 1 2735 0
4923 004e 27D0 beq .L598
2735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
4924 .loc 1 2735 0 is_stmt 0 discriminator 1
4925 0050 1749 ldr r1, .L606+4
4926 0052 8A42 cmp r2, r1
4927 0054 24D0 beq .L598
2741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4928 .loc 1 2741 0 is_stmt 1
4929 0056 916E ldr r1, [r2, #104]
4930 0058 21F00101 bic r1, r1, #1
ARM GAS /tmp/ccuT46mL.s page 165
4931 005c 9166 str r1, [r2, #104]
2721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4932 .loc 1 2721 0
4933 005e 0020 movs r0, #0
4934 .L592:
4935 .LVL349:
2758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4936 .loc 1 2758 0
4937 0060 0022 movs r2, #0
4938 0062 83F83C20 strb r2, [r3, #60]
2761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4939 .loc 1 2761 0
4940 0066 5DF8044B ldr r4, [sp], #4
4941 .LCFI87:
4942 .cfi_restore 4
4943 .cfi_def_cfa_offset 0
4944 006a 7047 bx lr
4945 .LVL350:
4946 .L595:
2745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
4947 .loc 1 2745 0
4948 006c 1868 ldr r0, [r3]
4949 006e C26D ldr r2, [r0, #92]
4950 .LVL351:
4951 0070 22F47062 bic r2, r2, #3840
4952 0074 1143 orrs r1, r1, r2
4953 .LVL352:
2758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4954 .loc 1 2758 0
4955 0076 0022 movs r2, #0
2745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
4956 .loc 1 2745 0
4957 0078 C165 str r1, [r0, #92]
2721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4958 .loc 1 2721 0
4959 007a 0020 movs r0, #0
4960 .LVL353:
2758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4961 .loc 1 2758 0
4962 007c 83F83C20 strb r2, [r3, #60]
2761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4963 .loc 1 2761 0
4964 0080 7047 bx lr
4965 .LVL354:
4966 .L596:
2748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
4967 .loc 1 2748 0
4968 0082 1868 ldr r0, [r3]
4969 0084 C26D ldr r2, [r0, #92]
4970 .LVL355:
4971 0086 22F47022 bic r2, r2, #983040
4972 008a 1143 orrs r1, r1, r2
4973 .LVL356:
2758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4974 .loc 1 2758 0
4975 008c 0022 movs r2, #0
2748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
ARM GAS /tmp/ccuT46mL.s page 166
4976 .loc 1 2748 0
4977 008e C165 str r1, [r0, #92]
2721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4978 .loc 1 2721 0
4979 0090 0020 movs r0, #0
4980 .LVL357:
2758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4981 .loc 1 2758 0
4982 0092 83F83C20 strb r2, [r3, #60]
2761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4983 .loc 1 2761 0
4984 0096 7047 bx lr
4985 .LVL358:
4986 .L601:
2754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** break;
4987 .loc 1 2754 0
4988 0098 0120 movs r0, #1
4989 009a CBE7 b .L603
4990 .L600:
2727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
4991 .loc 1 2727 0
4992 009c 0220 movs r0, #2
4993 009e 7047 bx lr
4994 .LVL359:
4995 .L598:
4996 .LCFI88:
4997 .cfi_def_cfa_offset 4
4998 .cfi_offset 4, -4
2737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
4999 .loc 1 2737 0
5000 00a0 916E ldr r1, [r2, #104]
5001 00a2 41F00101 orr r1, r1, #1
5002 00a6 9166 str r1, [r2, #104]
2721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5003 .loc 1 2721 0
5004 00a8 0020 movs r0, #0
2737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5005 .loc 1 2737 0
5006 00aa D9E7 b .L592
5007 .L607:
5008 .align 2
5009 .L606:
5010 00ac 00440140 .word 1073824768
5011 00b0 00480140 .word 1073825792
5012 .cfi_endproc
5013 .LFE362:
5015 .section .text.HAL_TIMEx_GroupChannel5,"ax",%progbits
5016 .align 1
5017 .p2align 2,,3
5018 .global HAL_TIMEx_GroupChannel5
5019 .syntax unified
5020 .thumb
5021 .thumb_func
5022 .fpu fpv4-sp-d16
5024 HAL_TIMEx_GroupChannel5:
5025 .LFB363:
2775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check parameters */
ARM GAS /tmp/ccuT46mL.s page 167
5026 .loc 1 2775 0
5027 .cfi_startproc
5028 @ args = 0, pretend = 0, frame = 0
5029 @ frame_needed = 0, uses_anonymous_args = 0
5030 @ link register save eliminated.
5031 .LVL360:
2781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5032 .loc 1 2781 0
5033 0000 90F83C20 ldrb r2, [r0, #60] @ zero_extendqisi2
5034 0004 012A cmp r2, #1
5035 0006 15D0 beq .L610
5036 0008 0346 mov r3, r0
2783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5037 .loc 1 2783 0 discriminator 2
5038 000a 0220 movs r0, #2
5039 .LVL361:
2786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5040 .loc 1 2786 0 discriminator 2
5041 000c 1A68 ldr r2, [r3]
2775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check parameters */
5042 .loc 1 2775 0 discriminator 2
5043 000e 30B4 push {r4, r5}
5044 .LCFI89:
5045 .cfi_def_cfa_offset 8
5046 .cfi_offset 4, -8
5047 .cfi_offset 5, -4
2783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5048 .loc 1 2783 0 discriminator 2
5049 0010 83F83D00 strb r0, [r3, #61]
2786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5050 .loc 1 2786 0 discriminator 2
5051 0014 906C ldr r0, [r2, #72]
5052 0016 20F06040 bic r0, r0, #-536870912
5053 001a 9064 str r0, [r2, #72]
2789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5054 .loc 1 2789 0 discriminator 2
5055 001c 906C ldr r0, [r2, #72]
2794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5056 .loc 1 2794 0 discriminator 2
5057 001e 0024 movs r4, #0
2792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5058 .loc 1 2792 0 discriminator 2
5059 0020 0125 movs r5, #1
2789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5060 .loc 1 2789 0 discriminator 2
5061 0022 0143 orrs r1, r1, r0
5062 .LVL362:
5063 0024 9164 str r1, [r2, #72]
2796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5064 .loc 1 2796 0 discriminator 2
5065 0026 2046 mov r0, r4
2792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5066 .loc 1 2792 0 discriminator 2
5067 0028 83F83D50 strb r5, [r3, #61]
2794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5068 .loc 1 2794 0 discriminator 2
5069 002c 83F83C40 strb r4, [r3, #60]
ARM GAS /tmp/ccuT46mL.s page 168
2797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5070 .loc 1 2797 0 discriminator 2
5071 0030 30BC pop {r4, r5}
5072 .LCFI90:
5073 .cfi_restore 5
5074 .cfi_restore 4
5075 .cfi_def_cfa_offset 0
5076 0032 7047 bx lr
5077 .LVL363:
5078 .L610:
2781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5079 .loc 1 2781 0
5080 0034 0220 movs r0, #2
5081 .LVL364:
2797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5082 .loc 1 2797 0
5083 0036 7047 bx lr
5084 .cfi_endproc
5085 .LFE363:
5087 .section .text.HAL_TIMEx_DisarmBreakInput,"ax",%progbits
5088 .align 1
5089 .p2align 2,,3
5090 .global HAL_TIMEx_DisarmBreakInput
5091 .syntax unified
5092 .thumb
5093 .thumb_func
5094 .fpu fpv4-sp-d16
5096 HAL_TIMEx_DisarmBreakInput:
5097 .LFB364:
2813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpbdtr;
5098 .loc 1 2813 0
5099 .cfi_startproc
5100 @ args = 0, pretend = 0, frame = 0
5101 @ frame_needed = 0, uses_anonymous_args = 0
5102 @ link register save eliminated.
5103 .LVL365:
2820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5104 .loc 1 2820 0
5105 0000 0129 cmp r1, #1
5106 0002 0AD0 beq .L617
5107 0004 0229 cmp r1, #2
5108 0006 06D1 bne .L616
2838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BK2BID) == TIM_BDTR_BK2BID) &&
5109 .loc 1 2838 0
5110 0008 0268 ldr r2, [r0]
2839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U))
5111 .loc 1 2839 0
5112 000a 0D4B ldr r3, .L620
2838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BK2BID) == TIM_BDTR_BK2BID) &&
5113 .loc 1 2838 0
5114 000c 516C ldr r1, [r2, #68]
5115 .LVL366:
2839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U))
5116 .loc 1 2839 0
5117 000e 0B40 ands r3, r3, r1
5118 0010 B3F1005F cmp r3, #536870912
5119 0014 0ED0 beq .L619
ARM GAS /tmp/ccuT46mL.s page 169
5120 .LVL367:
5121 .L616:
2852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5122 .loc 1 2852 0
5123 0016 0020 movs r0, #0
5124 .LVL368:
5125 0018 7047 bx lr
5126 .LVL369:
5127 .L617:
2825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BKBID) == TIM_BDTR_BKBID) &&
5128 .loc 1 2825 0
5129 001a 0268 ldr r2, [r0]
2826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U))
5130 .loc 1 2826 0
5131 001c 094B ldr r3, .L620+4
2825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** if ((READ_BIT(tmpbdtr, TIM_BDTR_BKBID) == TIM_BDTR_BKBID) &&
5132 .loc 1 2825 0
5133 001e 516C ldr r1, [r2, #68]
5134 .LVL370:
2826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** (READ_BIT(tmpbdtr, TIM_BDTR_MOE) == 0U))
5135 .loc 1 2826 0
5136 0020 0B40 ands r3, r3, r1
5137 0022 B3F1805F cmp r3, #268435456
5138 0026 F6D1 bne .L616
2830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5139 .loc 1 2830 0
5140 0028 536C ldr r3, [r2, #68]
5141 002a 43F08063 orr r3, r3, #67108864
5142 002e 5364 str r3, [r2, #68]
2852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5143 .loc 1 2852 0
5144 0030 0020 movs r0, #0
5145 .LVL371:
5146 0032 7047 bx lr
5147 .LVL372:
5148 .L619:
2843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5149 .loc 1 2843 0
5150 0034 536C ldr r3, [r2, #68]
5151 0036 43F00063 orr r3, r3, #134217728
5152 003a 5364 str r3, [r2, #68]
2852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5153 .loc 1 2852 0
5154 003c 0020 movs r0, #0
5155 .LVL373:
5156 003e 7047 bx lr
5157 .L621:
5158 .align 2
5159 .L620:
5160 0040 00800020 .word 536903680
5161 0044 00800010 .word 268468224
5162 .cfi_endproc
5163 .LFE364:
5165 .section .text.HAL_TIMEx_ReArmBreakInput,"ax",%progbits
5166 .align 1
5167 .p2align 2,,3
5168 .global HAL_TIMEx_ReArmBreakInput
ARM GAS /tmp/ccuT46mL.s page 170
5169 .syntax unified
5170 .thumb
5171 .thumb_func
5172 .fpu fpv4-sp-d16
5174 HAL_TIMEx_ReArmBreakInput:
5175 .LFB365:
2866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart;
5176 .loc 1 2866 0
5177 .cfi_startproc
5178 @ args = 0, pretend = 0, frame = 0
5179 @ frame_needed = 0, uses_anonymous_args = 0
5180 .LVL374:
2873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5181 .loc 1 2873 0
5182 0000 0129 cmp r1, #1
2866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart;
5183 .loc 1 2866 0
5184 0002 38B5 push {r3, r4, r5, lr}
5185 .LCFI91:
5186 .cfi_def_cfa_offset 16
5187 .cfi_offset 3, -16
5188 .cfi_offset 4, -12
5189 .cfi_offset 5, -8
5190 .cfi_offset 14, -4
2866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tickstart;
5191 .loc 1 2866 0
5192 0004 0446 mov r4, r0
2873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5193 .loc 1 2873 0
5194 0006 07D0 beq .L624
5195 0008 0229 cmp r1, #2
5196 000a 03D1 bne .L643
2899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5197 .loc 1 2899 0
5198 000c 0368 ldr r3, [r0]
5199 000e 5B6C ldr r3, [r3, #68]
5200 0010 9A00 lsls r2, r3, #2
5201 0012 13D4 bmi .L645
5202 .LVL375:
5203 .L643:
2920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5204 .loc 1 2920 0
5205 0014 0020 movs r0, #0
2921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5206 .loc 1 2921 0
5207 0016 38BD pop {r3, r4, r5, pc}
5208 .LVL376:
5209 .L624:
2878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5210 .loc 1 2878 0
5211 0018 0368 ldr r3, [r0]
5212 001a 5B6C ldr r3, [r3, #68]
5213 001c D800 lsls r0, r3, #3
5214 .LVL377:
5215 001e F9D5 bpl .L643
2882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** do
5216 .loc 1 2882 0
ARM GAS /tmp/ccuT46mL.s page 171
5217 0020 FFF7FEFF bl HAL_GetTick
5218 .LVL378:
5219 0024 0546 mov r5, r0
5220 .LVL379:
5221 0026 04E0 b .L628
5222 .LVL380:
5223 .L646:
2889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5224 .loc 1 2889 0
5225 0028 FFF7FEFF bl HAL_GetTick
5226 .LVL381:
5227 002c 401B subs r0, r0, r5
5228 002e 0528 cmp r0, #5
5229 0030 12D8 bhi .L630
5230 .L628:
2885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5231 .loc 1 2885 0
5232 0032 2368 ldr r3, [r4]
5233 0034 5B6C ldr r3, [r3, #68]
5234 0036 5901 lsls r1, r3, #5
5235 0038 ECD5 bpl .L643
5236 003a F5E7 b .L646
5237 .LVL382:
5238 .L645:
2903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** do
5239 .loc 1 2903 0
5240 003c FFF7FEFF bl HAL_GetTick
5241 .LVL383:
5242 0040 0546 mov r5, r0
5243 .LVL384:
5244 0042 04E0 b .L629
5245 .LVL385:
5246 .L647:
2910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5247 .loc 1 2910 0
5248 0044 FFF7FEFF bl HAL_GetTick
5249 .LVL386:
5250 0048 401B subs r0, r0, r5
5251 004a 0528 cmp r0, #5
5252 004c 04D8 bhi .L630
5253 .L629:
2906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** {
5254 .loc 1 2906 0
5255 004e 2368 ldr r3, [r4]
5256 0050 5B6C ldr r3, [r3, #68]
5257 0052 1B01 lsls r3, r3, #4
5258 0054 DED5 bpl .L643
5259 0056 F5E7 b .L647
5260 .L630:
2891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5261 .loc 1 2891 0
5262 0058 0320 movs r0, #3
2921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5263 .loc 1 2921 0
5264 005a 38BD pop {r3, r4, r5, pc}
5265 .cfi_endproc
5266 .LFE365:
ARM GAS /tmp/ccuT46mL.s page 172
5268 .section .text.HAL_TIMEx_DitheringEnable,"ax",%progbits
5269 .align 1
5270 .p2align 2,,3
5271 .global HAL_TIMEx_DitheringEnable
5272 .syntax unified
5273 .thumb
5274 .thumb_func
5275 .fpu fpv4-sp-d16
5277 HAL_TIMEx_DitheringEnable:
5278 .LFB366:
2942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
5279 .loc 1 2942 0
5280 .cfi_startproc
5281 @ args = 0, pretend = 0, frame = 0
5282 @ frame_needed = 0, uses_anonymous_args = 0
5283 @ link register save eliminated.
5284 .LVL387:
2946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
5285 .loc 1 2946 0
5286 0000 0268 ldr r2, [r0]
5287 0002 1368 ldr r3, [r2]
5288 0004 43F48053 orr r3, r3, #4096
5289 0008 1360 str r3, [r2]
2948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5290 .loc 1 2948 0
5291 000a 0020 movs r0, #0
5292 .LVL388:
5293 000c 7047 bx lr
5294 .cfi_endproc
5295 .LFE366:
5297 000e 00BF .section .text.HAL_TIMEx_DitheringDisable,"ax",%progbits
5298 .align 1
5299 .p2align 2,,3
5300 .global HAL_TIMEx_DitheringDisable
5301 .syntax unified
5302 .thumb
5303 .thumb_func
5304 .fpu fpv4-sp-d16
5306 HAL_TIMEx_DitheringDisable:
5307 .LFB367:
2966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
5308 .loc 1 2966 0
5309 .cfi_startproc
5310 @ args = 0, pretend = 0, frame = 0
5311 @ frame_needed = 0, uses_anonymous_args = 0
5312 @ link register save eliminated.
5313 .LVL389:
2970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
5314 .loc 1 2970 0
5315 0000 0268 ldr r2, [r0]
5316 0002 1368 ldr r3, [r2]
5317 0004 23F48053 bic r3, r3, #4096
5318 0008 1360 str r3, [r2]
2972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5319 .loc 1 2972 0
5320 000a 0020 movs r0, #0
5321 .LVL390:
ARM GAS /tmp/ccuT46mL.s page 173
5322 000c 7047 bx lr
5323 .cfi_endproc
5324 .LFE367:
5326 000e 00BF .section .text.HAL_TIMEx_OC_ConfigPulseOnCompare,"ax",%progbits
5327 .align 1
5328 .p2align 2,,3
5329 .global HAL_TIMEx_OC_ConfigPulseOnCompare
5330 .syntax unified
5331 .thumb
5332 .thumb_func
5333 .fpu fpv4-sp-d16
5335 HAL_TIMEx_OC_ConfigPulseOnCompare:
5336 .LFB368:
2986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpecr;
5337 .loc 1 2986 0
5338 .cfi_startproc
5339 @ args = 0, pretend = 0, frame = 0
5340 @ frame_needed = 0, uses_anonymous_args = 0
5341 @ link register save eliminated.
5342 .LVL391:
5343 0000 0346 mov r3, r0
2995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5344 .loc 1 2995 0
5345 0002 90F83C00 ldrb r0, [r0, #60] @ zero_extendqisi2
5346 .LVL392:
5347 0006 0128 cmp r0, #1
5348 0008 17D0 beq .L652
2986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** uint32_t tmpecr;
5349 .loc 1 2986 0 discriminator 2
5350 000a 30B4 push {r4, r5}
5351 .LCFI92:
5352 .cfi_def_cfa_offset 8
5353 .cfi_offset 4, -8
5354 .cfi_offset 5, -4
2998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5355 .loc 1 2998 0 discriminator 2
5356 000c 0220 movs r0, #2
3001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the Pulse width prescaler and the Pulse width */
5357 .loc 1 3001 0 discriminator 2
5358 000e 1C68 ldr r4, [r3]
2998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5359 .loc 1 2998 0 discriminator 2
5360 0010 83F83D00 strb r0, [r3, #61]
3001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Reset the Pulse width prescaler and the Pulse width */
5361 .loc 1 3001 0 discriminator 2
5362 0014 A06D ldr r0, [r4, #88]
5363 .LVL393:
3006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Write to TIMx ECR */
5364 .loc 1 3006 0 discriminator 2
5365 0016 1204 lsls r2, r2, #16
5366 .LVL394:
3003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the Pulse width prescaler and Pulse width*/
5367 .loc 1 3003 0 discriminator 2
5368 0018 20F0FF60 bic r0, r0, #133693440
5369 .LVL395:
3006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Write to TIMx ECR */
5370 .loc 1 3006 0 discriminator 2
ARM GAS /tmp/ccuT46mL.s page 174
5371 001c 42EA0162 orr r2, r2, r1, lsl #24
3003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Set the Pulse width prescaler and Pulse width*/
5372 .loc 1 3003 0 discriminator 2
5373 0020 20F4E020 bic r0, r0, #458752
5374 .LVL396:
3006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Write to TIMx ECR */
5375 .loc 1 3006 0 discriminator 2
5376 0024 0243 orrs r2, r2, r0
5377 .LVL397:
3011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5378 .loc 1 3011 0 discriminator 2
5379 0026 0125 movs r5, #1
3014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5380 .loc 1 3014 0 discriminator 2
5381 0028 0021 movs r1, #0
5382 .LVL398:
3008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5383 .loc 1 3008 0 discriminator 2
5384 002a A265 str r2, [r4, #88]
3016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5385 .loc 1 3016 0 discriminator 2
5386 002c 0846 mov r0, r1
3011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5387 .loc 1 3011 0 discriminator 2
5388 002e 83F83D50 strb r5, [r3, #61]
3014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5389 .loc 1 3014 0 discriminator 2
5390 0032 83F83C10 strb r1, [r3, #60]
3017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5391 .loc 1 3017 0 discriminator 2
5392 0036 30BC pop {r4, r5}
5393 .LCFI93:
5394 .cfi_restore 5
5395 .cfi_restore 4
5396 .cfi_def_cfa_offset 0
5397 0038 7047 bx lr
5398 .LVL399:
5399 .L652:
2995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5400 .loc 1 2995 0
5401 003a 0220 movs r0, #2
3017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5402 .loc 1 3017 0
5403 003c 7047 bx lr
5404 .cfi_endproc
5405 .LFE368:
5407 003e 00BF .section .text.HAL_TIMEx_ConfigSlaveModePreload,"ax",%progbits
5408 .align 1
5409 .p2align 2,,3
5410 .global HAL_TIMEx_ConfigSlaveModePreload
5411 .syntax unified
5412 .thumb
5413 .thumb_func
5414 .fpu fpv4-sp-d16
5416 HAL_TIMEx_ConfigSlaveModePreload:
5417 .LFB369:
3029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
ARM GAS /tmp/ccuT46mL.s page 175
5418 .loc 1 3029 0
5419 .cfi_startproc
5420 @ args = 0, pretend = 0, frame = 0
5421 @ frame_needed = 0, uses_anonymous_args = 0
5422 @ link register save eliminated.
5423 .LVL400:
3034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
5424 .loc 1 3034 0
5425 0000 0268 ldr r2, [r0]
5426 0002 9368 ldr r3, [r2, #8]
5427 0004 23F00073 bic r3, r3, #33554432
5428 0008 1943 orrs r1, r1, r3
5429 .LVL401:
5430 000a 9160 str r1, [r2, #8]
3036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5431 .loc 1 3036 0
5432 000c 0020 movs r0, #0
5433 .LVL402:
5434 000e 7047 bx lr
5435 .cfi_endproc
5436 .LFE369:
5438 .section .text.HAL_TIMEx_EnableSlaveModePreload,"ax",%progbits
5439 .align 1
5440 .p2align 2,,3
5441 .global HAL_TIMEx_EnableSlaveModePreload
5442 .syntax unified
5443 .thumb
5444 .thumb_func
5445 .fpu fpv4-sp-d16
5447 HAL_TIMEx_EnableSlaveModePreload:
5448 .LFB370:
3044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
5449 .loc 1 3044 0
5450 .cfi_startproc
5451 @ args = 0, pretend = 0, frame = 0
5452 @ frame_needed = 0, uses_anonymous_args = 0
5453 @ link register save eliminated.
5454 .LVL403:
3048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
5455 .loc 1 3048 0
5456 0000 0268 ldr r2, [r0]
5457 0002 9368 ldr r3, [r2, #8]
5458 0004 43F08073 orr r3, r3, #16777216
5459 0008 9360 str r3, [r2, #8]
3050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5460 .loc 1 3050 0
5461 000a 0020 movs r0, #0
5462 .LVL404:
5463 000c 7047 bx lr
5464 .cfi_endproc
5465 .LFE370:
5467 000e 00BF .section .text.HAL_TIMEx_DisableSlaveModePreload,"ax",%progbits
5468 .align 1
5469 .p2align 2,,3
5470 .global HAL_TIMEx_DisableSlaveModePreload
5471 .syntax unified
5472 .thumb
ARM GAS /tmp/ccuT46mL.s page 176
5473 .thumb_func
5474 .fpu fpv4-sp-d16
5476 HAL_TIMEx_DisableSlaveModePreload:
5477 .LFB371:
3058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
5478 .loc 1 3058 0
5479 .cfi_startproc
5480 @ args = 0, pretend = 0, frame = 0
5481 @ frame_needed = 0, uses_anonymous_args = 0
5482 @ link register save eliminated.
5483 .LVL405:
3062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
5484 .loc 1 3062 0
5485 0000 0268 ldr r2, [r0]
5486 0002 9368 ldr r3, [r2, #8]
5487 0004 23F08073 bic r3, r3, #16777216
5488 0008 9360 str r3, [r2, #8]
3064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5489 .loc 1 3064 0
5490 000a 0020 movs r0, #0
5491 .LVL406:
5492 000c 7047 bx lr
5493 .cfi_endproc
5494 .LFE371:
5496 000e 00BF .section .text.HAL_TIMEx_EnableDeadTimePreload,"ax",%progbits
5497 .align 1
5498 .p2align 2,,3
5499 .global HAL_TIMEx_EnableDeadTimePreload
5500 .syntax unified
5501 .thumb
5502 .thumb_func
5503 .fpu fpv4-sp-d16
5505 HAL_TIMEx_EnableDeadTimePreload:
5506 .LFB372:
3072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
5507 .loc 1 3072 0
5508 .cfi_startproc
5509 @ args = 0, pretend = 0, frame = 0
5510 @ frame_needed = 0, uses_anonymous_args = 0
5511 @ link register save eliminated.
5512 .LVL407:
3076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
5513 .loc 1 3076 0
5514 0000 0268 ldr r2, [r0]
5515 0002 536D ldr r3, [r2, #84]
5516 0004 43F40033 orr r3, r3, #131072
5517 0008 5365 str r3, [r2, #84]
3078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5518 .loc 1 3078 0
5519 000a 0020 movs r0, #0
5520 .LVL408:
5521 000c 7047 bx lr
5522 .cfi_endproc
5523 .LFE372:
5525 000e 00BF .section .text.HAL_TIMEx_DisableDeadTimePreload,"ax",%progbits
5526 .align 1
5527 .p2align 2,,3
ARM GAS /tmp/ccuT46mL.s page 177
5528 .global HAL_TIMEx_DisableDeadTimePreload
5529 .syntax unified
5530 .thumb
5531 .thumb_func
5532 .fpu fpv4-sp-d16
5534 HAL_TIMEx_DisableDeadTimePreload:
5535 .LFB373:
3086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
5536 .loc 1 3086 0
5537 .cfi_startproc
5538 @ args = 0, pretend = 0, frame = 0
5539 @ frame_needed = 0, uses_anonymous_args = 0
5540 @ link register save eliminated.
5541 .LVL409:
3090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
5542 .loc 1 3090 0
5543 0000 0268 ldr r2, [r0]
5544 0002 536D ldr r3, [r2, #84]
5545 0004 23F40033 bic r3, r3, #131072
5546 0008 5365 str r3, [r2, #84]
3092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5547 .loc 1 3092 0
5548 000a 0020 movs r0, #0
5549 .LVL410:
5550 000c 7047 bx lr
5551 .cfi_endproc
5552 .LFE373:
5554 000e 00BF .section .text.HAL_TIMEx_ConfigDeadTime,"ax",%progbits
5555 .align 1
5556 .p2align 2,,3
5557 .global HAL_TIMEx_ConfigDeadTime
5558 .syntax unified
5559 .thumb
5560 .thumb_func
5561 .fpu fpv4-sp-d16
5563 HAL_TIMEx_ConfigDeadTime:
5564 .LFB374:
3102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
5565 .loc 1 3102 0
5566 .cfi_startproc
5567 @ args = 0, pretend = 0, frame = 0
5568 @ frame_needed = 0, uses_anonymous_args = 0
5569 @ link register save eliminated.
5570 .LVL411:
3107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
5571 .loc 1 3107 0
5572 0000 0268 ldr r2, [r0]
5573 0002 536C ldr r3, [r2, #68]
5574 0004 23F0FF03 bic r3, r3, #255
5575 0008 1943 orrs r1, r1, r3
5576 .LVL412:
5577 000a 5164 str r1, [r2, #68]
3109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5578 .loc 1 3109 0
5579 000c 0020 movs r0, #0
5580 .LVL413:
5581 000e 7047 bx lr
ARM GAS /tmp/ccuT46mL.s page 178
5582 .cfi_endproc
5583 .LFE374:
5585 .section .text.HAL_TIMEx_ConfigAsymmetricalDeadTime,"ax",%progbits
5586 .align 1
5587 .p2align 2,,3
5588 .global HAL_TIMEx_ConfigAsymmetricalDeadTime
5589 .syntax unified
5590 .thumb
5591 .thumb_func
5592 .fpu fpv4-sp-d16
5594 HAL_TIMEx_ConfigAsymmetricalDeadTime:
5595 .LFB375:
3119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
5596 .loc 1 3119 0
5597 .cfi_startproc
5598 @ args = 0, pretend = 0, frame = 0
5599 @ frame_needed = 0, uses_anonymous_args = 0
5600 @ link register save eliminated.
5601 .LVL414:
3124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
5602 .loc 1 3124 0
5603 0000 0268 ldr r2, [r0]
5604 0002 536D ldr r3, [r2, #84]
5605 0004 23F0FF03 bic r3, r3, #255
5606 0008 1943 orrs r1, r1, r3
5607 .LVL415:
5608 000a 5165 str r1, [r2, #84]
3126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5609 .loc 1 3126 0
5610 000c 0020 movs r0, #0
5611 .LVL416:
5612 000e 7047 bx lr
5613 .cfi_endproc
5614 .LFE375:
5616 .section .text.HAL_TIMEx_EnableAsymmetricalDeadTime,"ax",%progbits
5617 .align 1
5618 .p2align 2,,3
5619 .global HAL_TIMEx_EnableAsymmetricalDeadTime
5620 .syntax unified
5621 .thumb
5622 .thumb_func
5623 .fpu fpv4-sp-d16
5625 HAL_TIMEx_EnableAsymmetricalDeadTime:
5626 .LFB376:
3134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
5627 .loc 1 3134 0
5628 .cfi_startproc
5629 @ args = 0, pretend = 0, frame = 0
5630 @ frame_needed = 0, uses_anonymous_args = 0
5631 @ link register save eliminated.
5632 .LVL417:
3138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
5633 .loc 1 3138 0
5634 0000 0268 ldr r2, [r0]
5635 0002 536D ldr r3, [r2, #84]
5636 0004 43F48033 orr r3, r3, #65536
5637 0008 5365 str r3, [r2, #84]
ARM GAS /tmp/ccuT46mL.s page 179
3140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5638 .loc 1 3140 0
5639 000a 0020 movs r0, #0
5640 .LVL418:
5641 000c 7047 bx lr
5642 .cfi_endproc
5643 .LFE376:
5645 000e 00BF .section .text.HAL_TIMEx_DisableAsymmetricalDeadTime,"ax",%progbits
5646 .align 1
5647 .p2align 2,,3
5648 .global HAL_TIMEx_DisableAsymmetricalDeadTime
5649 .syntax unified
5650 .thumb
5651 .thumb_func
5652 .fpu fpv4-sp-d16
5654 HAL_TIMEx_DisableAsymmetricalDeadTime:
5655 .LFB377:
3148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
5656 .loc 1 3148 0
5657 .cfi_startproc
5658 @ args = 0, pretend = 0, frame = 0
5659 @ frame_needed = 0, uses_anonymous_args = 0
5660 @ link register save eliminated.
5661 .LVL419:
3152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
5662 .loc 1 3152 0
5663 0000 0268 ldr r2, [r0]
5664 0002 536D ldr r3, [r2, #84]
5665 0004 23F48033 bic r3, r3, #65536
5666 0008 5365 str r3, [r2, #84]
3154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5667 .loc 1 3154 0
5668 000a 0020 movs r0, #0
5669 .LVL420:
5670 000c 7047 bx lr
5671 .cfi_endproc
5672 .LFE377:
5674 000e 00BF .section .text.HAL_TIMEx_ConfigEncoderIndex,"ax",%progbits
5675 .align 1
5676 .p2align 2,,3
5677 .global HAL_TIMEx_ConfigEncoderIndex
5678 .syntax unified
5679 .thumb
5680 .thumb_func
5681 .fpu fpv4-sp-d16
5683 HAL_TIMEx_ConfigEncoderIndex:
5684 .LFB378:
3167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
5685 .loc 1 3167 0
5686 .cfi_startproc
5687 @ args = 0, pretend = 0, frame = 0
5688 @ frame_needed = 0, uses_anonymous_args = 0
5689 .LVL421:
3178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5690 .loc 1 3178 0
5691 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
5692 0004 012B cmp r3, #1
ARM GAS /tmp/ccuT46mL.s page 180
5693 0006 22D0 beq .L669
3167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
5694 .loc 1 3167 0 discriminator 2
5695 0008 70B5 push {r4, r5, r6, lr}
5696 .LCFI94:
5697 .cfi_def_cfa_offset 16
5698 .cfi_offset 4, -16
5699 .cfi_offset 5, -12
5700 .cfi_offset 6, -8
5701 .cfi_offset 14, -4
3178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5702 .loc 1 3178 0 discriminator 2
5703 000a 0123 movs r3, #1
5704 000c 0546 mov r5, r0
5705 000e 0C46 mov r4, r1
5706 0010 80F83C30 strb r3, [r0, #60]
3181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** sEncoderIndexConfig->Prescaler,
5707 .loc 1 3181 0 discriminator 2
5708 0014 8B68 ldr r3, [r1, #8]
5709 0016 0068 ldr r0, [r0]
5710 .LVL422:
5711 0018 D1E90021 ldrd r2, r1, [r1]
5712 .LVL423:
5713 001c FFF7FEFF bl TIM_ETR_SetConfig
5714 .LVL424:
3187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ECR_IDIR_Msk | TIM_ECR_FIDX_Msk | TIM_ECR_IPOS_Msk,
5715 .loc 1 3187 0 discriminator 2
5716 0020 D4E90463 ldrd r6, r3, [r4, #16]
5717 0024 2968 ldr r1, [r5]
5718 0026 207B ldrb r0, [r4, #12] @ zero_extendqisi2
5719 0028 8A6D ldr r2, [r1, #88]
5720 002a 3343 orrs r3, r3, r6
5721 002c 22F0E602 bic r2, r2, #230
5722 0030 0128 cmp r0, #1
5723 0032 43F00103 orr r3, r3, #1
5724 0036 43EA0203 orr r3, r3, r2
5725 003a 0CBF ite eq
5726 003c 2022 moveq r2, #32
5727 003e 0022 movne r2, #0
5728 0040 1343 orrs r3, r3, r2
3194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5729 .loc 1 3194 0 discriminator 2
5730 0042 0022 movs r2, #0
3187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_ECR_IDIR_Msk | TIM_ECR_FIDX_Msk | TIM_ECR_IPOS_Msk,
5731 .loc 1 3187 0 discriminator 2
5732 0044 8B65 str r3, [r1, #88]
3196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
5733 .loc 1 3196 0 discriminator 2
5734 0046 1046 mov r0, r2
3194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5735 .loc 1 3194 0 discriminator 2
5736 0048 85F83C20 strb r2, [r5, #60]
3197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5737 .loc 1 3197 0 discriminator 2
5738 004c 70BD pop {r4, r5, r6, pc}
5739 .LVL425:
5740 .L669:
ARM GAS /tmp/ccuT46mL.s page 181
5741 .LCFI95:
5742 .cfi_def_cfa_offset 0
5743 .cfi_restore 4
5744 .cfi_restore 5
5745 .cfi_restore 6
5746 .cfi_restore 14
3178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5747 .loc 1 3178 0
5748 004e 0220 movs r0, #2
5749 .LVL426:
3197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5750 .loc 1 3197 0
5751 0050 7047 bx lr
5752 .cfi_endproc
5753 .LFE378:
5755 0052 00BF .section .text.HAL_TIMEx_EnableEncoderIndex,"ax",%progbits
5756 .align 1
5757 .p2align 2,,3
5758 .global HAL_TIMEx_EnableEncoderIndex
5759 .syntax unified
5760 .thumb
5761 .thumb_func
5762 .fpu fpv4-sp-d16
5764 HAL_TIMEx_EnableEncoderIndex:
5765 .LFB379:
3205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
5766 .loc 1 3205 0
5767 .cfi_startproc
5768 @ args = 0, pretend = 0, frame = 0
5769 @ frame_needed = 0, uses_anonymous_args = 0
5770 @ link register save eliminated.
5771 .LVL427:
3209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
5772 .loc 1 3209 0
5773 0000 0268 ldr r2, [r0]
5774 0002 936D ldr r3, [r2, #88]
5775 0004 43F00103 orr r3, r3, #1
5776 0008 9365 str r3, [r2, #88]
3211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5777 .loc 1 3211 0
5778 000a 0020 movs r0, #0
5779 .LVL428:
5780 000c 7047 bx lr
5781 .cfi_endproc
5782 .LFE379:
5784 000e 00BF .section .text.HAL_TIMEx_DisableEncoderIndex,"ax",%progbits
5785 .align 1
5786 .p2align 2,,3
5787 .global HAL_TIMEx_DisableEncoderIndex
5788 .syntax unified
5789 .thumb
5790 .thumb_func
5791 .fpu fpv4-sp-d16
5793 HAL_TIMEx_DisableEncoderIndex:
5794 .LFB380:
3219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
5795 .loc 1 3219 0
ARM GAS /tmp/ccuT46mL.s page 182
5796 .cfi_startproc
5797 @ args = 0, pretend = 0, frame = 0
5798 @ frame_needed = 0, uses_anonymous_args = 0
5799 @ link register save eliminated.
5800 .LVL429:
3223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
5801 .loc 1 3223 0
5802 0000 0268 ldr r2, [r0]
5803 0002 936D ldr r3, [r2, #88]
5804 0004 23F00103 bic r3, r3, #1
5805 0008 9365 str r3, [r2, #88]
3225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5806 .loc 1 3225 0
5807 000a 0020 movs r0, #0
5808 .LVL430:
5809 000c 7047 bx lr
5810 .cfi_endproc
5811 .LFE380:
5813 000e 00BF .section .text.HAL_TIMEx_EnableEncoderFirstIndex,"ax",%progbits
5814 .align 1
5815 .p2align 2,,3
5816 .global HAL_TIMEx_EnableEncoderFirstIndex
5817 .syntax unified
5818 .thumb
5819 .thumb_func
5820 .fpu fpv4-sp-d16
5822 HAL_TIMEx_EnableEncoderFirstIndex:
5823 .LFB381:
3233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
5824 .loc 1 3233 0
5825 .cfi_startproc
5826 @ args = 0, pretend = 0, frame = 0
5827 @ frame_needed = 0, uses_anonymous_args = 0
5828 @ link register save eliminated.
5829 .LVL431:
3237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
5830 .loc 1 3237 0
5831 0000 0268 ldr r2, [r0]
5832 0002 936D ldr r3, [r2, #88]
5833 0004 43F02003 orr r3, r3, #32
5834 0008 9365 str r3, [r2, #88]
3239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5835 .loc 1 3239 0
5836 000a 0020 movs r0, #0
5837 .LVL432:
5838 000c 7047 bx lr
5839 .cfi_endproc
5840 .LFE381:
5842 000e 00BF .section .text.HAL_TIMEx_DisableEncoderFirstIndex,"ax",%progbits
5843 .align 1
5844 .p2align 2,,3
5845 .global HAL_TIMEx_DisableEncoderFirstIndex
5846 .syntax unified
5847 .thumb
5848 .thumb_func
5849 .fpu fpv4-sp-d16
5851 HAL_TIMEx_DisableEncoderFirstIndex:
ARM GAS /tmp/ccuT46mL.s page 183
5852 .LFB382:
3247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /* Check the parameters */
5853 .loc 1 3247 0
5854 .cfi_startproc
5855 @ args = 0, pretend = 0, frame = 0
5856 @ frame_needed = 0, uses_anonymous_args = 0
5857 @ link register save eliminated.
5858 .LVL433:
3251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return HAL_OK;
5859 .loc 1 3251 0
5860 0000 0268 ldr r2, [r0]
5861 0002 936D ldr r3, [r2, #88]
5862 0004 23F02003 bic r3, r3, #32
5863 0008 9365 str r3, [r2, #88]
3253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5864 .loc 1 3253 0
5865 000a 0020 movs r0, #0
5866 .LVL434:
5867 000c 7047 bx lr
5868 .cfi_endproc
5869 .LFE382:
5871 000e 00BF .section .text.HAL_TIMEx_CommutCallback,"ax",%progbits
5872 .align 1
5873 .p2align 2,,3
5874 .weak HAL_TIMEx_CommutCallback
5875 .syntax unified
5876 .thumb
5877 .thumb_func
5878 .fpu fpv4-sp-d16
5880 HAL_TIMEx_CommutCallback:
5881 .LFB401:
5882 .cfi_startproc
5883 @ args = 0, pretend = 0, frame = 0
5884 @ frame_needed = 0, uses_anonymous_args = 0
5885 @ link register save eliminated.
5886 0000 7047 bx lr
5887 .cfi_endproc
5888 .LFE401:
5890 0002 00BF .section .text.TIMEx_DMACommutationCplt,"ax",%progbits
5891 .align 1
5892 .p2align 2,,3
5893 .global TIMEx_DMACommutationCplt
5894 .syntax unified
5895 .thumb
5896 .thumb_func
5897 .fpu fpv4-sp-d16
5899 TIMEx_DMACommutationCplt:
5900 .LFB393:
3464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
5901 .loc 1 3464 0
5902 .cfi_startproc
5903 @ args = 0, pretend = 0, frame = 0
5904 @ frame_needed = 0, uses_anonymous_args = 0
5905 .LVL435:
3464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
5906 .loc 1 3464 0
5907 0000 08B5 push {r3, lr}
ARM GAS /tmp/ccuT46mL.s page 184
5908 .LCFI96:
5909 .cfi_def_cfa_offset 8
5910 .cfi_offset 3, -8
5911 .cfi_offset 14, -4
3465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5912 .loc 1 3465 0
5913 0002 806A ldr r0, [r0, #40]
5914 .LVL436:
3468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5915 .loc 1 3468 0
5916 0004 0123 movs r3, #1
5917 0006 80F83D30 strb r3, [r0, #61]
3473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
5918 .loc 1 3473 0
5919 000a FFF7FEFF bl HAL_TIMEx_CommutCallback
5920 .LVL437:
3475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5921 .loc 1 3475 0
5922 000e 08BD pop {r3, pc}
5923 .cfi_endproc
5924 .LFE393:
5926 .section .text.HAL_TIMEx_CommutHalfCpltCallback,"ax",%progbits
5927 .align 1
5928 .p2align 2,,3
5929 .weak HAL_TIMEx_CommutHalfCpltCallback
5930 .syntax unified
5931 .thumb
5932 .thumb_func
5933 .fpu fpv4-sp-d16
5935 HAL_TIMEx_CommutHalfCpltCallback:
5936 .LFB403:
5937 .cfi_startproc
5938 @ args = 0, pretend = 0, frame = 0
5939 @ frame_needed = 0, uses_anonymous_args = 0
5940 @ link register save eliminated.
5941 0000 7047 bx lr
5942 .cfi_endproc
5943 .LFE403:
5945 0002 00BF .section .text.TIMEx_DMACommutationHalfCplt,"ax",%progbits
5946 .align 1
5947 .p2align 2,,3
5948 .global TIMEx_DMACommutationHalfCplt
5949 .syntax unified
5950 .thumb
5951 .thumb_func
5952 .fpu fpv4-sp-d16
5954 TIMEx_DMACommutationHalfCplt:
5955 .LFB394:
3483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
5956 .loc 1 3483 0
5957 .cfi_startproc
5958 @ args = 0, pretend = 0, frame = 0
5959 @ frame_needed = 0, uses_anonymous_args = 0
5960 .LVL438:
3483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
5961 .loc 1 3483 0
5962 0000 08B5 push {r3, lr}
ARM GAS /tmp/ccuT46mL.s page 185
5963 .LCFI97:
5964 .cfi_def_cfa_offset 8
5965 .cfi_offset 3, -8
5966 .cfi_offset 14, -4
3484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5967 .loc 1 3484 0
5968 0002 806A ldr r0, [r0, #40]
5969 .LVL439:
3487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5970 .loc 1 3487 0
5971 0004 0123 movs r3, #1
5972 0006 80F83D30 strb r3, [r0, #61]
3492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
5973 .loc 1 3492 0
5974 000a FFF7FEFF bl HAL_TIMEx_CommutHalfCpltCallback
5975 .LVL440:
3494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
5976 .loc 1 3494 0
5977 000e 08BD pop {r3, pc}
5978 .cfi_endproc
5979 .LFE394:
5981 .section .text.HAL_TIMEx_BreakCallback,"ax",%progbits
5982 .align 1
5983 .p2align 2,,3
5984 .weak HAL_TIMEx_BreakCallback
5985 .syntax unified
5986 .thumb
5987 .thumb_func
5988 .fpu fpv4-sp-d16
5990 HAL_TIMEx_BreakCallback:
5991 .LFB405:
5992 .cfi_startproc
5993 @ args = 0, pretend = 0, frame = 0
5994 @ frame_needed = 0, uses_anonymous_args = 0
5995 @ link register save eliminated.
5996 0000 7047 bx lr
5997 .cfi_endproc
5998 .LFE405:
6000 0002 00BF .section .text.HAL_TIMEx_Break2Callback,"ax",%progbits
6001 .align 1
6002 .p2align 2,,3
6003 .weak HAL_TIMEx_Break2Callback
6004 .syntax unified
6005 .thumb
6006 .thumb_func
6007 .fpu fpv4-sp-d16
6009 HAL_TIMEx_Break2Callback:
6010 .LFB407:
6011 .cfi_startproc
6012 @ args = 0, pretend = 0, frame = 0
6013 @ frame_needed = 0, uses_anonymous_args = 0
6014 @ link register save eliminated.
6015 0000 7047 bx lr
6016 .cfi_endproc
6017 .LFE407:
6019 0002 00BF .section .text.HAL_TIMEx_EncoderIndexCallback,"ax",%progbits
6020 .align 1
ARM GAS /tmp/ccuT46mL.s page 186
6021 .p2align 2,,3
6022 .weak HAL_TIMEx_EncoderIndexCallback
6023 .syntax unified
6024 .thumb
6025 .thumb_func
6026 .fpu fpv4-sp-d16
6028 HAL_TIMEx_EncoderIndexCallback:
6029 .LFB409:
6030 .cfi_startproc
6031 @ args = 0, pretend = 0, frame = 0
6032 @ frame_needed = 0, uses_anonymous_args = 0
6033 @ link register save eliminated.
6034 0000 7047 bx lr
6035 .cfi_endproc
6036 .LFE409:
6038 0002 00BF .section .text.HAL_TIMEx_DirectionChangeCallback,"ax",%progbits
6039 .align 1
6040 .p2align 2,,3
6041 .weak HAL_TIMEx_DirectionChangeCallback
6042 .syntax unified
6043 .thumb
6044 .thumb_func
6045 .fpu fpv4-sp-d16
6047 HAL_TIMEx_DirectionChangeCallback:
6048 .LFB411:
6049 .cfi_startproc
6050 @ args = 0, pretend = 0, frame = 0
6051 @ frame_needed = 0, uses_anonymous_args = 0
6052 @ link register save eliminated.
6053 0000 7047 bx lr
6054 .cfi_endproc
6055 .LFE411:
6057 0002 00BF .section .text.HAL_TIMEx_IndexErrorCallback,"ax",%progbits
6058 .align 1
6059 .p2align 2,,3
6060 .weak HAL_TIMEx_IndexErrorCallback
6061 .syntax unified
6062 .thumb
6063 .thumb_func
6064 .fpu fpv4-sp-d16
6066 HAL_TIMEx_IndexErrorCallback:
6067 .LFB413:
6068 .cfi_startproc
6069 @ args = 0, pretend = 0, frame = 0
6070 @ frame_needed = 0, uses_anonymous_args = 0
6071 @ link register save eliminated.
6072 0000 7047 bx lr
6073 .cfi_endproc
6074 .LFE413:
6076 0002 00BF .section .text.HAL_TIMEx_TransitionErrorCallback,"ax",%progbits
6077 .align 1
6078 .p2align 2,,3
6079 .weak HAL_TIMEx_TransitionErrorCallback
6080 .syntax unified
6081 .thumb
6082 .thumb_func
6083 .fpu fpv4-sp-d16
ARM GAS /tmp/ccuT46mL.s page 187
6085 HAL_TIMEx_TransitionErrorCallback:
6086 .LFB415:
6087 .cfi_startproc
6088 @ args = 0, pretend = 0, frame = 0
6089 @ frame_needed = 0, uses_anonymous_args = 0
6090 @ link register save eliminated.
6091 0000 7047 bx lr
6092 .cfi_endproc
6093 .LFE415:
6095 0002 00BF .section .text.HAL_TIMEx_HallSensor_GetState,"ax",%progbits
6096 .align 1
6097 .p2align 2,,3
6098 .global HAL_TIMEx_HallSensor_GetState
6099 .syntax unified
6100 .thumb
6101 .thumb_func
6102 .fpu fpv4-sp-d16
6104 HAL_TIMEx_HallSensor_GetState:
6105 .LFB391:
3419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** return htim->State;
6106 .loc 1 3419 0
6107 .cfi_startproc
6108 @ args = 0, pretend = 0, frame = 0
6109 @ frame_needed = 0, uses_anonymous_args = 0
6110 @ link register save eliminated.
6111 .LVL441:
3420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** }
6112 .loc 1 3420 0
6113 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2
6114 .LVL442:
3421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6115 .loc 1 3421 0
6116 0004 7047 bx lr
6117 .cfi_endproc
6118 .LFE391:
6120 0006 00BF .section .text.HAL_TIMEx_GetChannelNState,"ax",%progbits
6121 .align 1
6122 .p2align 2,,3
6123 .global HAL_TIMEx_GetChannelNState
6124 .syntax unified
6125 .thumb
6126 .thumb_func
6127 .fpu fpv4-sp-d16
6129 HAL_TIMEx_GetChannelNState:
6130 .LFB392:
3435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_state;
6131 .loc 1 3435 0
6132 .cfi_startproc
6133 @ args = 0, pretend = 0, frame = 0
6134 @ frame_needed = 0, uses_anonymous_args = 0
6135 @ link register save eliminated.
6136 .LVL443:
3441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6137 .loc 1 3441 0
6138 0000 49B1 cbz r1, .L697
3441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6139 .loc 1 3441 0 is_stmt 0 discriminator 2
ARM GAS /tmp/ccuT46mL.s page 188
6140 0002 0429 cmp r1, #4
6141 0004 0BD0 beq .L698
3441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6142 .loc 1 3441 0 discriminator 5
6143 0006 0829 cmp r1, #8
6144 0008 0CBF ite eq
6145 000a 90F84600 ldrbeq r0, [r0, #70] @ zero_extendqisi2
6146 .LVL444:
6147 000e 90F84700 ldrbne r0, [r0, #71] @ zero_extendqisi2
6148 0012 C0B2 uxtb r0, r0
6149 .LVL445:
3444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c **** /**
6150 .loc 1 3444 0 is_stmt 1 discriminator 5
6151 0014 7047 bx lr
6152 .LVL446:
6153 .L697:
3441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6154 .loc 1 3441 0 discriminator 1
6155 0016 90F84400 ldrb r0, [r0, #68] @ zero_extendqisi2
6156 .LVL447:
6157 001a C0B2 uxtb r0, r0
6158 001c 7047 bx lr
6159 .LVL448:
6160 .L698:
3441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c ****
6161 .loc 1 3441 0 is_stmt 0 discriminator 4
6162 001e 90F84500 ldrb r0, [r0, #69] @ zero_extendqisi2
6163 .LVL449:
6164 0022 C0B2 uxtb r0, r0
6165 0024 7047 bx lr
6166 .cfi_endproc
6167 .LFE392:
6169 0026 00BF .section .rodata.CSWTCH.112,"a",%progbits
6170 .align 2
6171 .set .LANCHOR0,. + 0
6174 CSWTCH.112:
6175 0000 01000000 .word 1
6176 0004 02000000 .word 2
6177 0008 00000000 .word 0
6178 000c 04000000 .word 4
6179 0010 00000000 .word 0
6180 0014 00000000 .word 0
6181 0018 00000000 .word 0
6182 001c 08000000 .word 8
6183 0020 00000000 .word 0
6184 0024 00000000 .word 0
6185 0028 00000000 .word 0
6186 002c 00000000 .word 0
6187 0030 00000000 .word 0
6188 0034 00000000 .word 0
6189 0038 00000000 .word 0
6190 003c 10000000 .word 16
6191 .section .rodata.CSWTCH.113,"a",%progbits
6192 .align 2
6193 .set .LANCHOR1,. + 0
6196 CSWTCH.113:
6197 0000 00020000 .word 512
ARM GAS /tmp/ccuT46mL.s page 189
6198 0004 00040000 .word 1024
6199 0008 00000000 .word 0
6200 000c 00080000 .word 2048
6201 0010 00000000 .word 0
6202 0014 00000000 .word 0
6203 0018 00000000 .word 0
6204 001c 00100000 .word 4096
6205 0020 00000000 .word 0
6206 0024 00000000 .word 0
6207 0028 00000000 .word 0
6208 002c 00000000 .word 0
6209 0030 00000000 .word 0
6210 0034 00000000 .word 0
6211 0038 00000000 .word 0
6212 003c 00200000 .word 8192
6213 .section .rodata.CSWTCH.114,"a",%progbits
6214 .align 2
6215 .set .LANCHOR2,. + 0
6218 CSWTCH.114:
6219 0000 00000000 .word 0
6220 0004 01000000 .word 1
6221 0008 00000000 .word 0
6222 000c 02000000 .word 2
6223 0010 00000000 .word 0
6224 0014 00000000 .word 0
6225 0018 00000000 .word 0
6226 001c 03000000 .word 3
6227 0020 00000000 .word 0
6228 0024 00000000 .word 0
6229 0028 00000000 .word 0
6230 002c 00000000 .word 0
6231 0030 00000000 .word 0
6232 0034 00000000 .word 0
6233 0038 00000000 .word 0
6234 003c 04000000 .word 4
6235 .section .rodata.CSWTCH.115,"a",%progbits
6236 .align 2
6237 .set .LANCHOR3,. + 0
6240 CSWTCH.115:
6241 0000 09000000 .word 9
6242 0004 0A000000 .word 10
6243 0008 00000000 .word 0
6244 000c 0B000000 .word 11
6245 0010 00000000 .word 0
6246 0014 00000000 .word 0
6247 0018 00000000 .word 0
6248 001c 0C000000 .word 12
6249 0020 00000000 .word 0
6250 0024 00000000 .word 0
6251 0028 00000000 .word 0
6252 002c 00000000 .word 0
6253 0030 00000000 .word 0
6254 0034 00000000 .word 0
6255 0038 00000000 .word 0
6256 003c 0D000000 .word 13
6257 .text
6258 .Letext0:
ARM GAS /tmp/ccuT46mL.s page 190
6259 .file 2 "/usr/include/newlib/machine/_default_types.h"
6260 .file 3 "/usr/include/newlib/sys/_stdint.h"
6261 .file 4 "Drivers/CMSIS/Include/core_cm4.h"
6262 .file 5 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/system_stm32g4xx.h"
6263 .file 6 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g431xx.h"
6264 .file 7 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g4xx.h"
6265 .file 8 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_def.h"
6266 .file 9 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_dma.h"
6267 .file 10 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_flash.h"
6268 .file 11 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_tim.h"
6269 .file 12 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_tim_ex.h"
6270 .file 13 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_uart.h"
6271 .file 14 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal.h"
ARM GAS /tmp/ccuT46mL.s page 191
DEFINED SYMBOLS
*ABS*:0000000000000000 stm32g4xx_hal_tim_ex.c
/tmp/ccuT46mL.s:16 .text.TIM_DMAErrorCCxN:0000000000000000 $t
/tmp/ccuT46mL.s:23 .text.TIM_DMAErrorCCxN:0000000000000000 TIM_DMAErrorCCxN
/tmp/ccuT46mL.s:122 .text.TIM_DMADelayPulseNCplt:0000000000000000 $t
/tmp/ccuT46mL.s:129 .text.TIM_DMADelayPulseNCplt:0000000000000000 TIM_DMADelayPulseNCplt
/tmp/ccuT46mL.s:247 .text.HAL_TIMEx_HallSensor_MspInit:0000000000000000 $t
/tmp/ccuT46mL.s:255 .text.HAL_TIMEx_HallSensor_MspInit:0000000000000000 HAL_TIMEx_HallSensor_MspInit
/tmp/ccuT46mL.s:269 .text.HAL_TIMEx_HallSensor_Init:0000000000000000 $t
/tmp/ccuT46mL.s:277 .text.HAL_TIMEx_HallSensor_Init:0000000000000000 HAL_TIMEx_HallSensor_Init
/tmp/ccuT46mL.s:444 .text.HAL_TIMEx_HallSensor_MspDeInit:0000000000000000 $t
/tmp/ccuT46mL.s:452 .text.HAL_TIMEx_HallSensor_MspDeInit:0000000000000000 HAL_TIMEx_HallSensor_MspDeInit
/tmp/ccuT46mL.s:463 .text.HAL_TIMEx_HallSensor_DeInit:0000000000000000 $t
/tmp/ccuT46mL.s:471 .text.HAL_TIMEx_HallSensor_DeInit:0000000000000000 HAL_TIMEx_HallSensor_DeInit
/tmp/ccuT46mL.s:536 .text.HAL_TIMEx_HallSensor_Start:0000000000000000 $t
/tmp/ccuT46mL.s:544 .text.HAL_TIMEx_HallSensor_Start:0000000000000000 HAL_TIMEx_HallSensor_Start
/tmp/ccuT46mL.s:671 .text.HAL_TIMEx_HallSensor_Start:0000000000000098 $d
/tmp/ccuT46mL.s:677 .text.HAL_TIMEx_HallSensor_Stop:0000000000000000 $t
/tmp/ccuT46mL.s:685 .text.HAL_TIMEx_HallSensor_Stop:0000000000000000 HAL_TIMEx_HallSensor_Stop
/tmp/ccuT46mL.s:741 .text.HAL_TIMEx_HallSensor_Start_IT:0000000000000000 $t
/tmp/ccuT46mL.s:749 .text.HAL_TIMEx_HallSensor_Start_IT:0000000000000000 HAL_TIMEx_HallSensor_Start_IT
/tmp/ccuT46mL.s:880 .text.HAL_TIMEx_HallSensor_Start_IT:00000000000000a0 $d
/tmp/ccuT46mL.s:886 .text.HAL_TIMEx_HallSensor_Stop_IT:0000000000000000 $t
/tmp/ccuT46mL.s:894 .text.HAL_TIMEx_HallSensor_Stop_IT:0000000000000000 HAL_TIMEx_HallSensor_Stop_IT
/tmp/ccuT46mL.s:954 .text.HAL_TIMEx_HallSensor_Start_DMA:0000000000000000 $t
/tmp/ccuT46mL.s:962 .text.HAL_TIMEx_HallSensor_Start_DMA:0000000000000000 HAL_TIMEx_HallSensor_Start_DMA
/tmp/ccuT46mL.s:1133 .text.HAL_TIMEx_HallSensor_Start_DMA:00000000000000bc $d
/tmp/ccuT46mL.s:1143 .text.HAL_TIMEx_HallSensor_Stop_DMA:0000000000000000 $t
/tmp/ccuT46mL.s:1151 .text.HAL_TIMEx_HallSensor_Stop_DMA:0000000000000000 HAL_TIMEx_HallSensor_Stop_DMA
/tmp/ccuT46mL.s:1213 .text.HAL_TIMEx_OCN_Start:0000000000000000 $t
/tmp/ccuT46mL.s:1221 .text.HAL_TIMEx_OCN_Start:0000000000000000 HAL_TIMEx_OCN_Start
/tmp/ccuT46mL.s:1397 .text.HAL_TIMEx_OCN_Start:00000000000000c4 $d
/tmp/ccuT46mL.s:1404 .text.HAL_TIMEx_OCN_Stop:0000000000000000 $t
/tmp/ccuT46mL.s:1412 .text.HAL_TIMEx_OCN_Stop:0000000000000000 HAL_TIMEx_OCN_Stop
/tmp/ccuT46mL.s:1541 .text.HAL_TIMEx_OCN_Start_IT:0000000000000000 $t
/tmp/ccuT46mL.s:1549 .text.HAL_TIMEx_OCN_Start_IT:0000000000000000 HAL_TIMEx_OCN_Start_IT
/tmp/ccuT46mL.s:1764 .text.HAL_TIMEx_OCN_Start_IT:0000000000000108 $d
/tmp/ccuT46mL.s:1771 .text.HAL_TIMEx_OCN_Stop_IT:0000000000000000 $t
/tmp/ccuT46mL.s:1779 .text.HAL_TIMEx_OCN_Stop_IT:0000000000000000 HAL_TIMEx_OCN_Stop_IT
/tmp/ccuT46mL.s:1798 .text.HAL_TIMEx_OCN_Stop_IT:000000000000000c $d
/tmp/ccuT46mL.s:1965 .text.HAL_TIMEx_OCN_Start_DMA:0000000000000000 $t
/tmp/ccuT46mL.s:1973 .text.HAL_TIMEx_OCN_Start_DMA:0000000000000000 HAL_TIMEx_OCN_Start_DMA
/tmp/ccuT46mL.s:2317 .text.HAL_TIMEx_OCN_Start_DMA:00000000000001e4 $d
/tmp/ccuT46mL.s:2327 .text.HAL_TIMEx_OCN_Stop_DMA:0000000000000000 $t
/tmp/ccuT46mL.s:2335 .text.HAL_TIMEx_OCN_Stop_DMA:0000000000000000 HAL_TIMEx_OCN_Stop_DMA
/tmp/ccuT46mL.s:2358 .text.HAL_TIMEx_OCN_Stop_DMA:0000000000000010 $d
/tmp/ccuT46mL.s:2523 .text.HAL_TIMEx_PWMN_Start:0000000000000000 $t
/tmp/ccuT46mL.s:2531 .text.HAL_TIMEx_PWMN_Start:0000000000000000 HAL_TIMEx_PWMN_Start
/tmp/ccuT46mL.s:2638 .text.HAL_TIMEx_PWMN_Start:00000000000000c4 $d
/tmp/ccuT46mL.s:2645 .text.HAL_TIMEx_PWMN_Stop:0000000000000000 $t
/tmp/ccuT46mL.s:2653 .text.HAL_TIMEx_PWMN_Stop:0000000000000000 HAL_TIMEx_PWMN_Stop
/tmp/ccuT46mL.s:2747 .text.HAL_TIMEx_PWMN_Start_IT:0000000000000000 $t
/tmp/ccuT46mL.s:2755 .text.HAL_TIMEx_PWMN_Start_IT:0000000000000000 HAL_TIMEx_PWMN_Start_IT
/tmp/ccuT46mL.s:2902 .text.HAL_TIMEx_PWMN_Start_IT:0000000000000108 $d
/tmp/ccuT46mL.s:2909 .text.HAL_TIMEx_PWMN_Stop_IT:0000000000000000 $t
/tmp/ccuT46mL.s:2917 .text.HAL_TIMEx_PWMN_Stop_IT:0000000000000000 HAL_TIMEx_PWMN_Stop_IT
/tmp/ccuT46mL.s:2933 .text.HAL_TIMEx_PWMN_Stop_IT:000000000000000c $d
ARM GAS /tmp/ccuT46mL.s page 192
/tmp/ccuT46mL.s:3057 .text.HAL_TIMEx_PWMN_Start_DMA:0000000000000000 $t
/tmp/ccuT46mL.s:3065 .text.HAL_TIMEx_PWMN_Start_DMA:0000000000000000 HAL_TIMEx_PWMN_Start_DMA
/tmp/ccuT46mL.s:3284 .text.HAL_TIMEx_PWMN_Start_DMA:00000000000001e4 $d
/tmp/ccuT46mL.s:3294 .text.HAL_TIMEx_PWMN_Stop_DMA:0000000000000000 $t
/tmp/ccuT46mL.s:3302 .text.HAL_TIMEx_PWMN_Stop_DMA:0000000000000000 HAL_TIMEx_PWMN_Stop_DMA
/tmp/ccuT46mL.s:3321 .text.HAL_TIMEx_PWMN_Stop_DMA:0000000000000010 $d
/tmp/ccuT46mL.s:3428 .text.HAL_TIMEx_OnePulseN_Start:0000000000000000 $t
/tmp/ccuT46mL.s:3436 .text.HAL_TIMEx_OnePulseN_Start:0000000000000000 HAL_TIMEx_OnePulseN_Start
/tmp/ccuT46mL.s:3554 .text.HAL_TIMEx_OnePulseN_Stop:0000000000000000 $t
/tmp/ccuT46mL.s:3562 .text.HAL_TIMEx_OnePulseN_Stop:0000000000000000 HAL_TIMEx_OnePulseN_Stop
/tmp/ccuT46mL.s:3660 .text.HAL_TIMEx_OnePulseN_Start_IT:0000000000000000 $t
/tmp/ccuT46mL.s:3668 .text.HAL_TIMEx_OnePulseN_Start_IT:0000000000000000 HAL_TIMEx_OnePulseN_Start_IT
/tmp/ccuT46mL.s:3795 .text.HAL_TIMEx_OnePulseN_Stop_IT:0000000000000000 $t
/tmp/ccuT46mL.s:3803 .text.HAL_TIMEx_OnePulseN_Stop_IT:0000000000000000 HAL_TIMEx_OnePulseN_Stop_IT
/tmp/ccuT46mL.s:3908 .text.HAL_TIMEx_ConfigCommutEvent:0000000000000000 $t
/tmp/ccuT46mL.s:3916 .text.HAL_TIMEx_ConfigCommutEvent:0000000000000000 HAL_TIMEx_ConfigCommutEvent
/tmp/ccuT46mL.s:4017 .text.HAL_TIMEx_ConfigCommutEvent:0000000000000080 $d
/tmp/ccuT46mL.s:4022 .text.HAL_TIMEx_ConfigCommutEvent_IT:0000000000000000 $t
/tmp/ccuT46mL.s:4030 .text.HAL_TIMEx_ConfigCommutEvent_IT:0000000000000000 HAL_TIMEx_ConfigCommutEvent_IT
/tmp/ccuT46mL.s:4131 .text.HAL_TIMEx_ConfigCommutEvent_IT:0000000000000080 $d
/tmp/ccuT46mL.s:4136 .text.HAL_TIMEx_ConfigCommutEvent_DMA:0000000000000000 $t
/tmp/ccuT46mL.s:4144 .text.HAL_TIMEx_ConfigCommutEvent_DMA:0000000000000000 HAL_TIMEx_ConfigCommutEvent_DMA
/tmp/ccuT46mL.s:4263 .text.HAL_TIMEx_ConfigCommutEvent_DMA:000000000000008c $d
/tmp/ccuT46mL.s:5954 .text.TIMEx_DMACommutationHalfCplt:0000000000000000 TIMEx_DMACommutationHalfCplt
/tmp/ccuT46mL.s:5899 .text.TIMEx_DMACommutationCplt:0000000000000000 TIMEx_DMACommutationCplt
/tmp/ccuT46mL.s:4271 .text.HAL_TIMEx_MasterConfigSynchronization:0000000000000000 $t
/tmp/ccuT46mL.s:4279 .text.HAL_TIMEx_MasterConfigSynchronization:0000000000000000 HAL_TIMEx_MasterConfigSynchronization
/tmp/ccuT46mL.s:4447 .text.HAL_TIMEx_MasterConfigSynchronization:00000000000000a0 $d
/tmp/ccuT46mL.s:4453 .text.HAL_TIMEx_ConfigBreakDeadTime:0000000000000000 $t
/tmp/ccuT46mL.s:4461 .text.HAL_TIMEx_ConfigBreakDeadTime:0000000000000000 HAL_TIMEx_ConfigBreakDeadTime
/tmp/ccuT46mL.s:4610 .text.HAL_TIMEx_ConfigBreakDeadTime:0000000000000098 $d
/tmp/ccuT46mL.s:4615 .text.HAL_TIMEx_ConfigBreakInput:0000000000000000 $t
/tmp/ccuT46mL.s:4623 .text.HAL_TIMEx_ConfigBreakInput:0000000000000000 HAL_TIMEx_ConfigBreakInput
/tmp/ccuT46mL.s:4780 .text.HAL_TIMEx_ConfigBreakInput:00000000000000a4 $d
/tmp/ccuT46mL.s:4788 .text.HAL_TIMEx_RemapConfig:0000000000000000 $t
/tmp/ccuT46mL.s:4796 .text.HAL_TIMEx_RemapConfig:0000000000000000 HAL_TIMEx_RemapConfig
/tmp/ccuT46mL.s:4839 .text.HAL_TIMEx_TISelection:0000000000000000 $t
/tmp/ccuT46mL.s:4847 .text.HAL_TIMEx_TISelection:0000000000000000 HAL_TIMEx_TISelection
/tmp/ccuT46mL.s:4869 .text.HAL_TIMEx_TISelection:0000000000000018 $d
/tmp/ccuT46mL.s:5010 .text.HAL_TIMEx_TISelection:00000000000000ac $d
/tmp/ccuT46mL.s:5016 .text.HAL_TIMEx_GroupChannel5:0000000000000000 $t
/tmp/ccuT46mL.s:5024 .text.HAL_TIMEx_GroupChannel5:0000000000000000 HAL_TIMEx_GroupChannel5
/tmp/ccuT46mL.s:5088 .text.HAL_TIMEx_DisarmBreakInput:0000000000000000 $t
/tmp/ccuT46mL.s:5096 .text.HAL_TIMEx_DisarmBreakInput:0000000000000000 HAL_TIMEx_DisarmBreakInput
/tmp/ccuT46mL.s:5160 .text.HAL_TIMEx_DisarmBreakInput:0000000000000040 $d
/tmp/ccuT46mL.s:5166 .text.HAL_TIMEx_ReArmBreakInput:0000000000000000 $t
/tmp/ccuT46mL.s:5174 .text.HAL_TIMEx_ReArmBreakInput:0000000000000000 HAL_TIMEx_ReArmBreakInput
/tmp/ccuT46mL.s:5269 .text.HAL_TIMEx_DitheringEnable:0000000000000000 $t
/tmp/ccuT46mL.s:5277 .text.HAL_TIMEx_DitheringEnable:0000000000000000 HAL_TIMEx_DitheringEnable
/tmp/ccuT46mL.s:5298 .text.HAL_TIMEx_DitheringDisable:0000000000000000 $t
/tmp/ccuT46mL.s:5306 .text.HAL_TIMEx_DitheringDisable:0000000000000000 HAL_TIMEx_DitheringDisable
/tmp/ccuT46mL.s:5327 .text.HAL_TIMEx_OC_ConfigPulseOnCompare:0000000000000000 $t
/tmp/ccuT46mL.s:5335 .text.HAL_TIMEx_OC_ConfigPulseOnCompare:0000000000000000 HAL_TIMEx_OC_ConfigPulseOnCompare
/tmp/ccuT46mL.s:5408 .text.HAL_TIMEx_ConfigSlaveModePreload:0000000000000000 $t
/tmp/ccuT46mL.s:5416 .text.HAL_TIMEx_ConfigSlaveModePreload:0000000000000000 HAL_TIMEx_ConfigSlaveModePreload
/tmp/ccuT46mL.s:5439 .text.HAL_TIMEx_EnableSlaveModePreload:0000000000000000 $t
/tmp/ccuT46mL.s:5447 .text.HAL_TIMEx_EnableSlaveModePreload:0000000000000000 HAL_TIMEx_EnableSlaveModePreload
ARM GAS /tmp/ccuT46mL.s page 193
/tmp/ccuT46mL.s:5468 .text.HAL_TIMEx_DisableSlaveModePreload:0000000000000000 $t
/tmp/ccuT46mL.s:5476 .text.HAL_TIMEx_DisableSlaveModePreload:0000000000000000 HAL_TIMEx_DisableSlaveModePreload
/tmp/ccuT46mL.s:5497 .text.HAL_TIMEx_EnableDeadTimePreload:0000000000000000 $t
/tmp/ccuT46mL.s:5505 .text.HAL_TIMEx_EnableDeadTimePreload:0000000000000000 HAL_TIMEx_EnableDeadTimePreload
/tmp/ccuT46mL.s:5526 .text.HAL_TIMEx_DisableDeadTimePreload:0000000000000000 $t
/tmp/ccuT46mL.s:5534 .text.HAL_TIMEx_DisableDeadTimePreload:0000000000000000 HAL_TIMEx_DisableDeadTimePreload
/tmp/ccuT46mL.s:5555 .text.HAL_TIMEx_ConfigDeadTime:0000000000000000 $t
/tmp/ccuT46mL.s:5563 .text.HAL_TIMEx_ConfigDeadTime:0000000000000000 HAL_TIMEx_ConfigDeadTime
/tmp/ccuT46mL.s:5586 .text.HAL_TIMEx_ConfigAsymmetricalDeadTime:0000000000000000 $t
/tmp/ccuT46mL.s:5594 .text.HAL_TIMEx_ConfigAsymmetricalDeadTime:0000000000000000 HAL_TIMEx_ConfigAsymmetricalDeadTime
/tmp/ccuT46mL.s:5617 .text.HAL_TIMEx_EnableAsymmetricalDeadTime:0000000000000000 $t
/tmp/ccuT46mL.s:5625 .text.HAL_TIMEx_EnableAsymmetricalDeadTime:0000000000000000 HAL_TIMEx_EnableAsymmetricalDeadTime
/tmp/ccuT46mL.s:5646 .text.HAL_TIMEx_DisableAsymmetricalDeadTime:0000000000000000 $t
/tmp/ccuT46mL.s:5654 .text.HAL_TIMEx_DisableAsymmetricalDeadTime:0000000000000000 HAL_TIMEx_DisableAsymmetricalDeadTime
/tmp/ccuT46mL.s:5675 .text.HAL_TIMEx_ConfigEncoderIndex:0000000000000000 $t
/tmp/ccuT46mL.s:5683 .text.HAL_TIMEx_ConfigEncoderIndex:0000000000000000 HAL_TIMEx_ConfigEncoderIndex
/tmp/ccuT46mL.s:5756 .text.HAL_TIMEx_EnableEncoderIndex:0000000000000000 $t
/tmp/ccuT46mL.s:5764 .text.HAL_TIMEx_EnableEncoderIndex:0000000000000000 HAL_TIMEx_EnableEncoderIndex
/tmp/ccuT46mL.s:5785 .text.HAL_TIMEx_DisableEncoderIndex:0000000000000000 $t
/tmp/ccuT46mL.s:5793 .text.HAL_TIMEx_DisableEncoderIndex:0000000000000000 HAL_TIMEx_DisableEncoderIndex
/tmp/ccuT46mL.s:5814 .text.HAL_TIMEx_EnableEncoderFirstIndex:0000000000000000 $t
/tmp/ccuT46mL.s:5822 .text.HAL_TIMEx_EnableEncoderFirstIndex:0000000000000000 HAL_TIMEx_EnableEncoderFirstIndex
/tmp/ccuT46mL.s:5843 .text.HAL_TIMEx_DisableEncoderFirstIndex:0000000000000000 $t
/tmp/ccuT46mL.s:5851 .text.HAL_TIMEx_DisableEncoderFirstIndex:0000000000000000 HAL_TIMEx_DisableEncoderFirstIndex
/tmp/ccuT46mL.s:5872 .text.HAL_TIMEx_CommutCallback:0000000000000000 $t
/tmp/ccuT46mL.s:5880 .text.HAL_TIMEx_CommutCallback:0000000000000000 HAL_TIMEx_CommutCallback
/tmp/ccuT46mL.s:5891 .text.TIMEx_DMACommutationCplt:0000000000000000 $t
/tmp/ccuT46mL.s:5927 .text.HAL_TIMEx_CommutHalfCpltCallback:0000000000000000 $t
/tmp/ccuT46mL.s:5935 .text.HAL_TIMEx_CommutHalfCpltCallback:0000000000000000 HAL_TIMEx_CommutHalfCpltCallback
/tmp/ccuT46mL.s:5946 .text.TIMEx_DMACommutationHalfCplt:0000000000000000 $t
/tmp/ccuT46mL.s:5982 .text.HAL_TIMEx_BreakCallback:0000000000000000 $t
/tmp/ccuT46mL.s:5990 .text.HAL_TIMEx_BreakCallback:0000000000000000 HAL_TIMEx_BreakCallback
/tmp/ccuT46mL.s:6001 .text.HAL_TIMEx_Break2Callback:0000000000000000 $t
/tmp/ccuT46mL.s:6009 .text.HAL_TIMEx_Break2Callback:0000000000000000 HAL_TIMEx_Break2Callback
/tmp/ccuT46mL.s:6020 .text.HAL_TIMEx_EncoderIndexCallback:0000000000000000 $t
/tmp/ccuT46mL.s:6028 .text.HAL_TIMEx_EncoderIndexCallback:0000000000000000 HAL_TIMEx_EncoderIndexCallback
/tmp/ccuT46mL.s:6039 .text.HAL_TIMEx_DirectionChangeCallback:0000000000000000 $t
/tmp/ccuT46mL.s:6047 .text.HAL_TIMEx_DirectionChangeCallback:0000000000000000 HAL_TIMEx_DirectionChangeCallback
/tmp/ccuT46mL.s:6058 .text.HAL_TIMEx_IndexErrorCallback:0000000000000000 $t
/tmp/ccuT46mL.s:6066 .text.HAL_TIMEx_IndexErrorCallback:0000000000000000 HAL_TIMEx_IndexErrorCallback
/tmp/ccuT46mL.s:6077 .text.HAL_TIMEx_TransitionErrorCallback:0000000000000000 $t
/tmp/ccuT46mL.s:6085 .text.HAL_TIMEx_TransitionErrorCallback:0000000000000000 HAL_TIMEx_TransitionErrorCallback
/tmp/ccuT46mL.s:6096 .text.HAL_TIMEx_HallSensor_GetState:0000000000000000 $t
/tmp/ccuT46mL.s:6104 .text.HAL_TIMEx_HallSensor_GetState:0000000000000000 HAL_TIMEx_HallSensor_GetState
/tmp/ccuT46mL.s:6121 .text.HAL_TIMEx_GetChannelNState:0000000000000000 $t
/tmp/ccuT46mL.s:6129 .text.HAL_TIMEx_GetChannelNState:0000000000000000 HAL_TIMEx_GetChannelNState
/tmp/ccuT46mL.s:6170 .rodata.CSWTCH.112:0000000000000000 $d
/tmp/ccuT46mL.s:6174 .rodata.CSWTCH.112:0000000000000000 CSWTCH.112
/tmp/ccuT46mL.s:6192 .rodata.CSWTCH.113:0000000000000000 $d
/tmp/ccuT46mL.s:6196 .rodata.CSWTCH.113:0000000000000000 CSWTCH.113
/tmp/ccuT46mL.s:6214 .rodata.CSWTCH.114:0000000000000000 $d
/tmp/ccuT46mL.s:6218 .rodata.CSWTCH.114:0000000000000000 CSWTCH.114
/tmp/ccuT46mL.s:6236 .rodata.CSWTCH.115:0000000000000000 $d
/tmp/ccuT46mL.s:6240 .rodata.CSWTCH.115:0000000000000000 CSWTCH.115
/tmp/ccuT46mL.s:1811 .text.HAL_TIMEx_OCN_Stop_IT:0000000000000019 $d
/tmp/ccuT46mL.s:1811 .text.HAL_TIMEx_OCN_Stop_IT:000000000000001a $t
/tmp/ccuT46mL.s:2371 .text.HAL_TIMEx_OCN_Stop_DMA:000000000000001d $d
ARM GAS /tmp/ccuT46mL.s page 194
/tmp/ccuT46mL.s:2371 .text.HAL_TIMEx_OCN_Stop_DMA:000000000000001e $t
/tmp/ccuT46mL.s:2946 .text.HAL_TIMEx_PWMN_Stop_IT:0000000000000019 $d
/tmp/ccuT46mL.s:2946 .text.HAL_TIMEx_PWMN_Stop_IT:000000000000001a $t
/tmp/ccuT46mL.s:3334 .text.HAL_TIMEx_PWMN_Stop_DMA:000000000000001d $d
/tmp/ccuT46mL.s:3334 .text.HAL_TIMEx_PWMN_Stop_DMA:000000000000001e $t
/tmp/ccuT46mL.s:4882 .text.HAL_TIMEx_TISelection:0000000000000025 $d
/tmp/ccuT46mL.s:4882 .text.HAL_TIMEx_TISelection:0000000000000026 $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_DMAError
TIM_DMACaptureCplt
TIM_DMACaptureHalfCplt
HAL_DMA_Abort_IT
TIM_DMADelayPulseHalfCplt
HAL_GetTick
TIM_ETR_SetConfig