Files
squeow/squeow_sw/build/stm32g4xx_hal_msp.lst

1954 lines
89 KiB
Plaintext
Raw Normal View History

2023-07-02 17:09:41 +02:00
ARM GAS /tmp/ccN6WdXz.s page 1
1 .cpu cortex-m4
2 .arch armv7e-m
3 .fpu fpv4-sp-d16
4 .eabi_attribute 27, 1
5 .eabi_attribute 28, 1
6 .eabi_attribute 20, 1
7 .eabi_attribute 21, 1
8 .eabi_attribute 23, 3
9 .eabi_attribute 24, 1
10 .eabi_attribute 25, 1
11 .eabi_attribute 26, 1
12 .eabi_attribute 30, 1
13 .eabi_attribute 34, 1
14 .eabi_attribute 18, 4
15 .file "stm32g4xx_hal_msp.c"
16 .text
17 .Ltext0:
18 .cfi_sections .debug_frame
19 .file 1 "Src/stm32g4xx_hal_msp.c"
20 .section .text.HAL_MspInit,"ax",%progbits
21 .align 1
22 .global HAL_MspInit
23 .syntax unified
24 .thumb
25 .thumb_func
27 HAL_MspInit:
28 .LFB329:
1:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN Header */
2:Src/stm32g4xx_hal_msp.c **** /**
3:Src/stm32g4xx_hal_msp.c **** ******************************************************************************
4:Src/stm32g4xx_hal_msp.c **** * @file stm32g4xx_hal_msp.c
5:Src/stm32g4xx_hal_msp.c **** * @brief This file provides code for the MSP Initialization
6:Src/stm32g4xx_hal_msp.c **** * and de-Initialization codes.
7:Src/stm32g4xx_hal_msp.c **** ******************************************************************************
8:Src/stm32g4xx_hal_msp.c **** * @attention
9:Src/stm32g4xx_hal_msp.c **** *
10:Src/stm32g4xx_hal_msp.c **** * Copyright (c) 2022 STMicroelectronics.
11:Src/stm32g4xx_hal_msp.c **** * All rights reserved.
12:Src/stm32g4xx_hal_msp.c **** *
13:Src/stm32g4xx_hal_msp.c **** * This software is licensed under terms that can be found in the LICENSE file
14:Src/stm32g4xx_hal_msp.c **** * in the root directory of this software component.
15:Src/stm32g4xx_hal_msp.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
16:Src/stm32g4xx_hal_msp.c **** *
17:Src/stm32g4xx_hal_msp.c **** ******************************************************************************
18:Src/stm32g4xx_hal_msp.c **** */
19:Src/stm32g4xx_hal_msp.c **** /* USER CODE END Header */
20:Src/stm32g4xx_hal_msp.c ****
21:Src/stm32g4xx_hal_msp.c **** /* Includes ------------------------------------------------------------------*/
22:Src/stm32g4xx_hal_msp.c **** #include "main.h"
23:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN Includes */
24:Src/stm32g4xx_hal_msp.c ****
25:Src/stm32g4xx_hal_msp.c **** /* USER CODE END Includes */
26:Src/stm32g4xx_hal_msp.c ****
27:Src/stm32g4xx_hal_msp.c **** /* Private typedef -----------------------------------------------------------*/
28:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN TD */
29:Src/stm32g4xx_hal_msp.c ****
30:Src/stm32g4xx_hal_msp.c **** /* USER CODE END TD */
ARM GAS /tmp/ccN6WdXz.s page 2
31:Src/stm32g4xx_hal_msp.c ****
32:Src/stm32g4xx_hal_msp.c **** /* Private define ------------------------------------------------------------*/
33:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN Define */
34:Src/stm32g4xx_hal_msp.c ****
35:Src/stm32g4xx_hal_msp.c **** /* USER CODE END Define */
36:Src/stm32g4xx_hal_msp.c ****
37:Src/stm32g4xx_hal_msp.c **** /* Private macro -------------------------------------------------------------*/
38:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN Macro */
39:Src/stm32g4xx_hal_msp.c ****
40:Src/stm32g4xx_hal_msp.c **** /* USER CODE END Macro */
41:Src/stm32g4xx_hal_msp.c ****
42:Src/stm32g4xx_hal_msp.c **** /* Private variables ---------------------------------------------------------*/
43:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN PV */
44:Src/stm32g4xx_hal_msp.c ****
45:Src/stm32g4xx_hal_msp.c **** /* USER CODE END PV */
46:Src/stm32g4xx_hal_msp.c ****
47:Src/stm32g4xx_hal_msp.c **** /* Private function prototypes -----------------------------------------------*/
48:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN PFP */
49:Src/stm32g4xx_hal_msp.c ****
50:Src/stm32g4xx_hal_msp.c **** /* USER CODE END PFP */
51:Src/stm32g4xx_hal_msp.c ****
52:Src/stm32g4xx_hal_msp.c **** /* External functions --------------------------------------------------------*/
53:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN ExternalFunctions */
54:Src/stm32g4xx_hal_msp.c ****
55:Src/stm32g4xx_hal_msp.c **** /* USER CODE END ExternalFunctions */
56:Src/stm32g4xx_hal_msp.c ****
57:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN 0 */
58:Src/stm32g4xx_hal_msp.c ****
59:Src/stm32g4xx_hal_msp.c **** /* USER CODE END 0 */
60:Src/stm32g4xx_hal_msp.c ****
61:Src/stm32g4xx_hal_msp.c **** void HAL_TIM_MspPostInit(TIM_HandleTypeDef *htim);
62:Src/stm32g4xx_hal_msp.c **** /**
63:Src/stm32g4xx_hal_msp.c **** * Initializes the Global MSP.
64:Src/stm32g4xx_hal_msp.c **** */
65:Src/stm32g4xx_hal_msp.c **** void HAL_MspInit(void)
66:Src/stm32g4xx_hal_msp.c **** {
29 .loc 1 66 1 view -0
30 .cfi_startproc
31 @ args = 0, pretend = 0, frame = 8
32 @ frame_needed = 0, uses_anonymous_args = 0
33 0000 00B5 push {lr}
34 .LCFI0:
35 .cfi_def_cfa_offset 4
36 .cfi_offset 14, -4
37 0002 83B0 sub sp, sp, #12
38 .LCFI1:
39 .cfi_def_cfa_offset 16
67:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN MspInit 0 */
68:Src/stm32g4xx_hal_msp.c ****
69:Src/stm32g4xx_hal_msp.c **** /* USER CODE END MspInit 0 */
70:Src/stm32g4xx_hal_msp.c ****
71:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_SYSCFG_CLK_ENABLE();
40 .loc 1 71 3 view .LVU1
41 .LBB2:
42 .loc 1 71 3 view .LVU2
43 .loc 1 71 3 view .LVU3
44 0004 0B4B ldr r3, .L3
ARM GAS /tmp/ccN6WdXz.s page 3
45 0006 1A6E ldr r2, [r3, #96]
46 0008 42F00102 orr r2, r2, #1
47 000c 1A66 str r2, [r3, #96]
48 .loc 1 71 3 view .LVU4
49 000e 1A6E ldr r2, [r3, #96]
50 0010 02F00102 and r2, r2, #1
51 0014 0092 str r2, [sp]
52 .loc 1 71 3 view .LVU5
53 0016 009A ldr r2, [sp]
54 .LBE2:
55 .loc 1 71 3 view .LVU6
72:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_PWR_CLK_ENABLE();
56 .loc 1 72 3 view .LVU7
57 .LBB3:
58 .loc 1 72 3 view .LVU8
59 .loc 1 72 3 view .LVU9
60 0018 9A6D ldr r2, [r3, #88]
61 001a 42F08052 orr r2, r2, #268435456
62 001e 9A65 str r2, [r3, #88]
63 .loc 1 72 3 view .LVU10
64 0020 9B6D ldr r3, [r3, #88]
65 0022 03F08053 and r3, r3, #268435456
66 0026 0193 str r3, [sp, #4]
67 .loc 1 72 3 view .LVU11
68 0028 019B ldr r3, [sp, #4]
69 .LBE3:
70 .loc 1 72 3 view .LVU12
73:Src/stm32g4xx_hal_msp.c ****
74:Src/stm32g4xx_hal_msp.c **** /* System interrupt init*/
75:Src/stm32g4xx_hal_msp.c ****
76:Src/stm32g4xx_hal_msp.c **** /** Disable the internal Pull-Up in Dead Battery pins of UCPD peripheral
77:Src/stm32g4xx_hal_msp.c **** */
78:Src/stm32g4xx_hal_msp.c **** HAL_PWREx_DisableUCPDDeadBattery();
71 .loc 1 78 3 view .LVU13
72 002a FFF7FEFF bl HAL_PWREx_DisableUCPDDeadBattery
73 .LVL0:
79:Src/stm32g4xx_hal_msp.c ****
80:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN MspInit 1 */
81:Src/stm32g4xx_hal_msp.c ****
82:Src/stm32g4xx_hal_msp.c **** /* USER CODE END MspInit 1 */
83:Src/stm32g4xx_hal_msp.c **** }
74 .loc 1 83 1 is_stmt 0 view .LVU14
75 002e 03B0 add sp, sp, #12
76 .LCFI2:
77 .cfi_def_cfa_offset 4
78 @ sp needed
79 0030 5DF804FB ldr pc, [sp], #4
80 .L4:
81 .align 2
82 .L3:
83 0034 00100240 .word 1073876992
84 .cfi_endproc
85 .LFE329:
87 .section .text.HAL_ADC_MspInit,"ax",%progbits
88 .align 1
89 .global HAL_ADC_MspInit
90 .syntax unified
ARM GAS /tmp/ccN6WdXz.s page 4
91 .thumb
92 .thumb_func
94 HAL_ADC_MspInit:
95 .LVL1:
96 .LFB330:
84:Src/stm32g4xx_hal_msp.c ****
85:Src/stm32g4xx_hal_msp.c **** static uint32_t HAL_RCC_ADC12_CLK_ENABLED=0;
86:Src/stm32g4xx_hal_msp.c ****
87:Src/stm32g4xx_hal_msp.c **** /**
88:Src/stm32g4xx_hal_msp.c **** * @brief ADC MSP Initialization
89:Src/stm32g4xx_hal_msp.c **** * This function configures the hardware resources used in this example
90:Src/stm32g4xx_hal_msp.c **** * @param hadc: ADC handle pointer
91:Src/stm32g4xx_hal_msp.c **** * @retval None
92:Src/stm32g4xx_hal_msp.c **** */
93:Src/stm32g4xx_hal_msp.c **** void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc)
94:Src/stm32g4xx_hal_msp.c **** {
97 .loc 1 94 1 is_stmt 1 view -0
98 .cfi_startproc
99 @ args = 0, pretend = 0, frame = 104
100 @ frame_needed = 0, uses_anonymous_args = 0
101 .loc 1 94 1 is_stmt 0 view .LVU16
102 0000 10B5 push {r4, lr}
103 .LCFI3:
104 .cfi_def_cfa_offset 8
105 .cfi_offset 4, -8
106 .cfi_offset 14, -4
107 0002 9AB0 sub sp, sp, #104
108 .LCFI4:
109 .cfi_def_cfa_offset 112
110 0004 0446 mov r4, r0
95:Src/stm32g4xx_hal_msp.c **** GPIO_InitTypeDef GPIO_InitStruct = {0};
111 .loc 1 95 3 is_stmt 1 view .LVU17
112 .loc 1 95 20 is_stmt 0 view .LVU18
113 0006 0021 movs r1, #0
114 0008 1591 str r1, [sp, #84]
115 000a 1691 str r1, [sp, #88]
116 000c 1791 str r1, [sp, #92]
117 000e 1891 str r1, [sp, #96]
118 0010 1991 str r1, [sp, #100]
96:Src/stm32g4xx_hal_msp.c **** RCC_PeriphCLKInitTypeDef PeriphClkInit = {0};
119 .loc 1 96 3 is_stmt 1 view .LVU19
120 .loc 1 96 28 is_stmt 0 view .LVU20
121 0012 4422 movs r2, #68
122 0014 04A8 add r0, sp, #16
123 .LVL2:
124 .loc 1 96 28 view .LVU21
125 0016 FFF7FEFF bl memset
126 .LVL3:
97:Src/stm32g4xx_hal_msp.c **** if(hadc->Instance==ADC1)
127 .loc 1 97 3 is_stmt 1 view .LVU22
128 .loc 1 97 10 is_stmt 0 view .LVU23
129 001a 2368 ldr r3, [r4]
130 .loc 1 97 5 view .LVU24
131 001c B3F1A04F cmp r3, #1342177280
132 0020 04D0 beq .L13
98:Src/stm32g4xx_hal_msp.c **** {
99:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN ADC1_MspInit 0 */
ARM GAS /tmp/ccN6WdXz.s page 5
100:Src/stm32g4xx_hal_msp.c ****
101:Src/stm32g4xx_hal_msp.c **** /* USER CODE END ADC1_MspInit 0 */
102:Src/stm32g4xx_hal_msp.c ****
103:Src/stm32g4xx_hal_msp.c **** /** Initializes the peripherals clocks
104:Src/stm32g4xx_hal_msp.c **** */
105:Src/stm32g4xx_hal_msp.c **** PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_ADC12;
106:Src/stm32g4xx_hal_msp.c **** PeriphClkInit.Adc12ClockSelection = RCC_ADC12CLKSOURCE_SYSCLK;
107:Src/stm32g4xx_hal_msp.c **** if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
108:Src/stm32g4xx_hal_msp.c **** {
109:Src/stm32g4xx_hal_msp.c **** Error_Handler();
110:Src/stm32g4xx_hal_msp.c **** }
111:Src/stm32g4xx_hal_msp.c ****
112:Src/stm32g4xx_hal_msp.c **** /* Peripheral clock enable */
113:Src/stm32g4xx_hal_msp.c **** HAL_RCC_ADC12_CLK_ENABLED++;
114:Src/stm32g4xx_hal_msp.c **** if(HAL_RCC_ADC12_CLK_ENABLED==1){
115:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_ADC12_CLK_ENABLE();
116:Src/stm32g4xx_hal_msp.c **** }
117:Src/stm32g4xx_hal_msp.c ****
118:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_GPIOB_CLK_ENABLE();
119:Src/stm32g4xx_hal_msp.c **** /**ADC1 GPIO Configuration
120:Src/stm32g4xx_hal_msp.c **** PB0 ------> ADC1_IN15
121:Src/stm32g4xx_hal_msp.c **** */
122:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Pin = AUDIO_IN_Pin;
123:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
124:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
125:Src/stm32g4xx_hal_msp.c **** HAL_GPIO_Init(AUDIO_IN_GPIO_Port, &GPIO_InitStruct);
126:Src/stm32g4xx_hal_msp.c ****
127:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN ADC1_MspInit 1 */
128:Src/stm32g4xx_hal_msp.c ****
129:Src/stm32g4xx_hal_msp.c **** /* USER CODE END ADC1_MspInit 1 */
130:Src/stm32g4xx_hal_msp.c **** }
131:Src/stm32g4xx_hal_msp.c **** else if(hadc->Instance==ADC2)
133 .loc 1 131 8 is_stmt 1 view .LVU25
134 .loc 1 131 10 is_stmt 0 view .LVU26
135 0022 364A ldr r2, .L19
136 0024 9342 cmp r3, r2
137 0026 34D0 beq .L14
138 .L5:
132:Src/stm32g4xx_hal_msp.c **** {
133:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN ADC2_MspInit 0 */
134:Src/stm32g4xx_hal_msp.c ****
135:Src/stm32g4xx_hal_msp.c **** /* USER CODE END ADC2_MspInit 0 */
136:Src/stm32g4xx_hal_msp.c ****
137:Src/stm32g4xx_hal_msp.c **** /** Initializes the peripherals clocks
138:Src/stm32g4xx_hal_msp.c **** */
139:Src/stm32g4xx_hal_msp.c **** PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_ADC12;
140:Src/stm32g4xx_hal_msp.c **** PeriphClkInit.Adc12ClockSelection = RCC_ADC12CLKSOURCE_SYSCLK;
141:Src/stm32g4xx_hal_msp.c **** if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
142:Src/stm32g4xx_hal_msp.c **** {
143:Src/stm32g4xx_hal_msp.c **** Error_Handler();
144:Src/stm32g4xx_hal_msp.c **** }
145:Src/stm32g4xx_hal_msp.c ****
146:Src/stm32g4xx_hal_msp.c **** /* Peripheral clock enable */
147:Src/stm32g4xx_hal_msp.c **** HAL_RCC_ADC12_CLK_ENABLED++;
148:Src/stm32g4xx_hal_msp.c **** if(HAL_RCC_ADC12_CLK_ENABLED==1){
149:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_ADC12_CLK_ENABLE();
150:Src/stm32g4xx_hal_msp.c **** }
ARM GAS /tmp/ccN6WdXz.s page 6
151:Src/stm32g4xx_hal_msp.c ****
152:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_GPIOA_CLK_ENABLE();
153:Src/stm32g4xx_hal_msp.c **** /**ADC2 GPIO Configuration
154:Src/stm32g4xx_hal_msp.c **** PA4 ------> ADC2_IN17
155:Src/stm32g4xx_hal_msp.c **** PA5 ------> ADC2_IN13
156:Src/stm32g4xx_hal_msp.c **** PA6 ------> ADC2_IN3
157:Src/stm32g4xx_hal_msp.c **** PA7 ------> ADC2_IN4
158:Src/stm32g4xx_hal_msp.c **** */
159:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Pin = TEMPERATURA_Pin|CORRENTE_Pin|DIRETTA_Pin|RIFLESSA_Pin;
160:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
161:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
162:Src/stm32g4xx_hal_msp.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
163:Src/stm32g4xx_hal_msp.c ****
164:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN ADC2_MspInit 1 */
165:Src/stm32g4xx_hal_msp.c ****
166:Src/stm32g4xx_hal_msp.c **** /* USER CODE END ADC2_MspInit 1 */
167:Src/stm32g4xx_hal_msp.c **** }
168:Src/stm32g4xx_hal_msp.c ****
169:Src/stm32g4xx_hal_msp.c **** }
139 .loc 1 169 1 view .LVU27
140 0028 1AB0 add sp, sp, #104
141 .LCFI5:
142 .cfi_remember_state
143 .cfi_def_cfa_offset 8
144 @ sp needed
145 002a 10BD pop {r4, pc}
146 .LVL4:
147 .L13:
148 .LCFI6:
149 .cfi_restore_state
105:Src/stm32g4xx_hal_msp.c **** PeriphClkInit.Adc12ClockSelection = RCC_ADC12CLKSOURCE_SYSCLK;
150 .loc 1 105 5 is_stmt 1 view .LVU28
105:Src/stm32g4xx_hal_msp.c **** PeriphClkInit.Adc12ClockSelection = RCC_ADC12CLKSOURCE_SYSCLK;
151 .loc 1 105 40 is_stmt 0 view .LVU29
152 002c 4FF40043 mov r3, #32768
153 0030 0493 str r3, [sp, #16]
106:Src/stm32g4xx_hal_msp.c **** if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
154 .loc 1 106 5 is_stmt 1 view .LVU30
106:Src/stm32g4xx_hal_msp.c **** if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
155 .loc 1 106 39 is_stmt 0 view .LVU31
156 0032 4FF00053 mov r3, #536870912
157 0036 1393 str r3, [sp, #76]
107:Src/stm32g4xx_hal_msp.c **** {
158 .loc 1 107 5 is_stmt 1 view .LVU32
107:Src/stm32g4xx_hal_msp.c **** {
159 .loc 1 107 9 is_stmt 0 view .LVU33
160 0038 04A8 add r0, sp, #16
161 003a FFF7FEFF bl HAL_RCCEx_PeriphCLKConfig
162 .LVL5:
107:Src/stm32g4xx_hal_msp.c **** {
163 .loc 1 107 8 view .LVU34
164 003e D0B9 cbnz r0, .L15
165 .L7:
113:Src/stm32g4xx_hal_msp.c **** if(HAL_RCC_ADC12_CLK_ENABLED==1){
166 .loc 1 113 5 is_stmt 1 view .LVU35
113:Src/stm32g4xx_hal_msp.c **** if(HAL_RCC_ADC12_CLK_ENABLED==1){
167 .loc 1 113 30 is_stmt 0 view .LVU36
ARM GAS /tmp/ccN6WdXz.s page 7
168 0040 2F4A ldr r2, .L19+4
169 0042 1368 ldr r3, [r2]
170 0044 0133 adds r3, r3, #1
171 0046 1360 str r3, [r2]
114:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_ADC12_CLK_ENABLE();
172 .loc 1 114 5 is_stmt 1 view .LVU37
114:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_ADC12_CLK_ENABLE();
173 .loc 1 114 7 is_stmt 0 view .LVU38
174 0048 012B cmp r3, #1
175 004a 17D0 beq .L16
176 .L8:
115:Src/stm32g4xx_hal_msp.c **** }
177 .loc 1 115 7 is_stmt 1 discriminator 1 view .LVU39
118:Src/stm32g4xx_hal_msp.c **** /**ADC1 GPIO Configuration
178 .loc 1 118 5 discriminator 1 view .LVU40
179 .LBB4:
118:Src/stm32g4xx_hal_msp.c **** /**ADC1 GPIO Configuration
180 .loc 1 118 5 discriminator 1 view .LVU41
118:Src/stm32g4xx_hal_msp.c **** /**ADC1 GPIO Configuration
181 .loc 1 118 5 discriminator 1 view .LVU42
182 004c 2D4B ldr r3, .L19+8
183 004e DA6C ldr r2, [r3, #76]
184 0050 42F00202 orr r2, r2, #2
185 0054 DA64 str r2, [r3, #76]
118:Src/stm32g4xx_hal_msp.c **** /**ADC1 GPIO Configuration
186 .loc 1 118 5 discriminator 1 view .LVU43
187 0056 DB6C ldr r3, [r3, #76]
188 0058 03F00203 and r3, r3, #2
189 005c 0193 str r3, [sp, #4]
118:Src/stm32g4xx_hal_msp.c **** /**ADC1 GPIO Configuration
190 .loc 1 118 5 discriminator 1 view .LVU44
191 005e 019B ldr r3, [sp, #4]
192 .LBE4:
118:Src/stm32g4xx_hal_msp.c **** /**ADC1 GPIO Configuration
193 .loc 1 118 5 discriminator 1 view .LVU45
122:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
194 .loc 1 122 5 discriminator 1 view .LVU46
122:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
195 .loc 1 122 25 is_stmt 0 discriminator 1 view .LVU47
196 0060 0123 movs r3, #1
197 0062 1593 str r3, [sp, #84]
123:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
198 .loc 1 123 5 is_stmt 1 discriminator 1 view .LVU48
123:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
199 .loc 1 123 26 is_stmt 0 discriminator 1 view .LVU49
200 0064 0323 movs r3, #3
201 0066 1693 str r3, [sp, #88]
124:Src/stm32g4xx_hal_msp.c **** HAL_GPIO_Init(AUDIO_IN_GPIO_Port, &GPIO_InitStruct);
202 .loc 1 124 5 is_stmt 1 discriminator 1 view .LVU50
124:Src/stm32g4xx_hal_msp.c **** HAL_GPIO_Init(AUDIO_IN_GPIO_Port, &GPIO_InitStruct);
203 .loc 1 124 26 is_stmt 0 discriminator 1 view .LVU51
204 0068 0023 movs r3, #0
205 006a 1793 str r3, [sp, #92]
125:Src/stm32g4xx_hal_msp.c ****
206 .loc 1 125 5 is_stmt 1 discriminator 1 view .LVU52
207 006c 15A9 add r1, sp, #84
208 006e 2648 ldr r0, .L19+12
ARM GAS /tmp/ccN6WdXz.s page 8
209 0070 FFF7FEFF bl HAL_GPIO_Init
210 .LVL6:
211 0074 D8E7 b .L5
212 .L15:
109:Src/stm32g4xx_hal_msp.c **** }
213 .loc 1 109 7 view .LVU53
214 0076 FFF7FEFF bl Error_Handler
215 .LVL7:
216 007a E1E7 b .L7
217 .L16:
115:Src/stm32g4xx_hal_msp.c **** }
218 .loc 1 115 7 view .LVU54
219 .LBB5:
115:Src/stm32g4xx_hal_msp.c **** }
220 .loc 1 115 7 view .LVU55
115:Src/stm32g4xx_hal_msp.c **** }
221 .loc 1 115 7 view .LVU56
222 007c 214B ldr r3, .L19+8
223 007e DA6C ldr r2, [r3, #76]
224 0080 42F40052 orr r2, r2, #8192
225 0084 DA64 str r2, [r3, #76]
115:Src/stm32g4xx_hal_msp.c **** }
226 .loc 1 115 7 view .LVU57
227 0086 DB6C ldr r3, [r3, #76]
228 0088 03F40053 and r3, r3, #8192
229 008c 0093 str r3, [sp]
115:Src/stm32g4xx_hal_msp.c **** }
230 .loc 1 115 7 view .LVU58
231 008e 009B ldr r3, [sp]
232 0090 DCE7 b .L8
233 .L14:
234 .LBE5:
139:Src/stm32g4xx_hal_msp.c **** PeriphClkInit.Adc12ClockSelection = RCC_ADC12CLKSOURCE_SYSCLK;
235 .loc 1 139 5 view .LVU59
139:Src/stm32g4xx_hal_msp.c **** PeriphClkInit.Adc12ClockSelection = RCC_ADC12CLKSOURCE_SYSCLK;
236 .loc 1 139 40 is_stmt 0 view .LVU60
237 0092 4FF40043 mov r3, #32768
238 0096 0493 str r3, [sp, #16]
140:Src/stm32g4xx_hal_msp.c **** if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
239 .loc 1 140 5 is_stmt 1 view .LVU61
140:Src/stm32g4xx_hal_msp.c **** if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
240 .loc 1 140 39 is_stmt 0 view .LVU62
241 0098 4FF00053 mov r3, #536870912
242 009c 1393 str r3, [sp, #76]
141:Src/stm32g4xx_hal_msp.c **** {
243 .loc 1 141 5 is_stmt 1 view .LVU63
141:Src/stm32g4xx_hal_msp.c **** {
244 .loc 1 141 9 is_stmt 0 view .LVU64
245 009e 04A8 add r0, sp, #16
246 00a0 FFF7FEFF bl HAL_RCCEx_PeriphCLKConfig
247 .LVL8:
141:Src/stm32g4xx_hal_msp.c **** {
248 .loc 1 141 8 view .LVU65
249 00a4 D8B9 cbnz r0, .L17
250 .L10:
147:Src/stm32g4xx_hal_msp.c **** if(HAL_RCC_ADC12_CLK_ENABLED==1){
251 .loc 1 147 5 is_stmt 1 view .LVU66
ARM GAS /tmp/ccN6WdXz.s page 9
147:Src/stm32g4xx_hal_msp.c **** if(HAL_RCC_ADC12_CLK_ENABLED==1){
252 .loc 1 147 30 is_stmt 0 view .LVU67
253 00a6 164A ldr r2, .L19+4
254 00a8 1368 ldr r3, [r2]
255 00aa 0133 adds r3, r3, #1
256 00ac 1360 str r3, [r2]
148:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_ADC12_CLK_ENABLE();
257 .loc 1 148 5 is_stmt 1 view .LVU68
148:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_ADC12_CLK_ENABLE();
258 .loc 1 148 7 is_stmt 0 view .LVU69
259 00ae 012B cmp r3, #1
260 00b0 18D0 beq .L18
261 .L11:
149:Src/stm32g4xx_hal_msp.c **** }
262 .loc 1 149 7 is_stmt 1 discriminator 1 view .LVU70
152:Src/stm32g4xx_hal_msp.c **** /**ADC2 GPIO Configuration
263 .loc 1 152 5 discriminator 1 view .LVU71
264 .LBB6:
152:Src/stm32g4xx_hal_msp.c **** /**ADC2 GPIO Configuration
265 .loc 1 152 5 discriminator 1 view .LVU72
152:Src/stm32g4xx_hal_msp.c **** /**ADC2 GPIO Configuration
266 .loc 1 152 5 discriminator 1 view .LVU73
267 00b2 144B ldr r3, .L19+8
268 00b4 DA6C ldr r2, [r3, #76]
269 00b6 42F00102 orr r2, r2, #1
270 00ba DA64 str r2, [r3, #76]
152:Src/stm32g4xx_hal_msp.c **** /**ADC2 GPIO Configuration
271 .loc 1 152 5 discriminator 1 view .LVU74
272 00bc DB6C ldr r3, [r3, #76]
273 00be 03F00103 and r3, r3, #1
274 00c2 0393 str r3, [sp, #12]
152:Src/stm32g4xx_hal_msp.c **** /**ADC2 GPIO Configuration
275 .loc 1 152 5 discriminator 1 view .LVU75
276 00c4 039B ldr r3, [sp, #12]
277 .LBE6:
152:Src/stm32g4xx_hal_msp.c **** /**ADC2 GPIO Configuration
278 .loc 1 152 5 discriminator 1 view .LVU76
159:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
279 .loc 1 159 5 discriminator 1 view .LVU77
159:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
280 .loc 1 159 25 is_stmt 0 discriminator 1 view .LVU78
281 00c6 F023 movs r3, #240
282 00c8 1593 str r3, [sp, #84]
160:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
283 .loc 1 160 5 is_stmt 1 discriminator 1 view .LVU79
160:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
284 .loc 1 160 26 is_stmt 0 discriminator 1 view .LVU80
285 00ca 0323 movs r3, #3
286 00cc 1693 str r3, [sp, #88]
161:Src/stm32g4xx_hal_msp.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
287 .loc 1 161 5 is_stmt 1 discriminator 1 view .LVU81
161:Src/stm32g4xx_hal_msp.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
288 .loc 1 161 26 is_stmt 0 discriminator 1 view .LVU82
289 00ce 0023 movs r3, #0
290 00d0 1793 str r3, [sp, #92]
162:Src/stm32g4xx_hal_msp.c ****
291 .loc 1 162 5 is_stmt 1 discriminator 1 view .LVU83
ARM GAS /tmp/ccN6WdXz.s page 10
292 00d2 15A9 add r1, sp, #84
293 00d4 4FF09040 mov r0, #1207959552
294 00d8 FFF7FEFF bl HAL_GPIO_Init
295 .LVL9:
296 .loc 1 169 1 is_stmt 0 discriminator 1 view .LVU84
297 00dc A4E7 b .L5
298 .L17:
143:Src/stm32g4xx_hal_msp.c **** }
299 .loc 1 143 7 is_stmt 1 view .LVU85
300 00de FFF7FEFF bl Error_Handler
301 .LVL10:
302 00e2 E0E7 b .L10
303 .L18:
149:Src/stm32g4xx_hal_msp.c **** }
304 .loc 1 149 7 view .LVU86
305 .LBB7:
149:Src/stm32g4xx_hal_msp.c **** }
306 .loc 1 149 7 view .LVU87
149:Src/stm32g4xx_hal_msp.c **** }
307 .loc 1 149 7 view .LVU88
308 00e4 074B ldr r3, .L19+8
309 00e6 DA6C ldr r2, [r3, #76]
310 00e8 42F40052 orr r2, r2, #8192
311 00ec DA64 str r2, [r3, #76]
149:Src/stm32g4xx_hal_msp.c **** }
312 .loc 1 149 7 view .LVU89
313 00ee DB6C ldr r3, [r3, #76]
314 00f0 03F40053 and r3, r3, #8192
315 00f4 0293 str r3, [sp, #8]
149:Src/stm32g4xx_hal_msp.c **** }
316 .loc 1 149 7 view .LVU90
317 00f6 029B ldr r3, [sp, #8]
318 00f8 DBE7 b .L11
319 .L20:
320 00fa 00BF .align 2
321 .L19:
322 00fc 00010050 .word 1342177536
323 0100 00000000 .word HAL_RCC_ADC12_CLK_ENABLED
324 0104 00100240 .word 1073876992
325 0108 00040048 .word 1207960576
326 .LBE7:
327 .cfi_endproc
328 .LFE330:
330 .section .text.HAL_ADC_MspDeInit,"ax",%progbits
331 .align 1
332 .global HAL_ADC_MspDeInit
333 .syntax unified
334 .thumb
335 .thumb_func
337 HAL_ADC_MspDeInit:
338 .LVL11:
339 .LFB331:
170:Src/stm32g4xx_hal_msp.c ****
171:Src/stm32g4xx_hal_msp.c **** /**
172:Src/stm32g4xx_hal_msp.c **** * @brief ADC MSP De-Initialization
173:Src/stm32g4xx_hal_msp.c **** * This function freeze the hardware resources used in this example
174:Src/stm32g4xx_hal_msp.c **** * @param hadc: ADC handle pointer
ARM GAS /tmp/ccN6WdXz.s page 11
175:Src/stm32g4xx_hal_msp.c **** * @retval None
176:Src/stm32g4xx_hal_msp.c **** */
177:Src/stm32g4xx_hal_msp.c **** void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc)
178:Src/stm32g4xx_hal_msp.c **** {
340 .loc 1 178 1 view -0
341 .cfi_startproc
342 @ args = 0, pretend = 0, frame = 0
343 @ frame_needed = 0, uses_anonymous_args = 0
344 .loc 1 178 1 is_stmt 0 view .LVU92
345 0000 08B5 push {r3, lr}
346 .LCFI7:
347 .cfi_def_cfa_offset 8
348 .cfi_offset 3, -8
349 .cfi_offset 14, -4
179:Src/stm32g4xx_hal_msp.c **** if(hadc->Instance==ADC1)
350 .loc 1 179 3 is_stmt 1 view .LVU93
351 .loc 1 179 10 is_stmt 0 view .LVU94
352 0002 0368 ldr r3, [r0]
353 .loc 1 179 5 view .LVU95
354 0004 B3F1A04F cmp r3, #1342177280
355 0008 03D0 beq .L27
180:Src/stm32g4xx_hal_msp.c **** {
181:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN ADC1_MspDeInit 0 */
182:Src/stm32g4xx_hal_msp.c ****
183:Src/stm32g4xx_hal_msp.c **** /* USER CODE END ADC1_MspDeInit 0 */
184:Src/stm32g4xx_hal_msp.c **** /* Peripheral clock disable */
185:Src/stm32g4xx_hal_msp.c **** HAL_RCC_ADC12_CLK_ENABLED--;
186:Src/stm32g4xx_hal_msp.c **** if(HAL_RCC_ADC12_CLK_ENABLED==0){
187:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_ADC12_CLK_DISABLE();
188:Src/stm32g4xx_hal_msp.c **** }
189:Src/stm32g4xx_hal_msp.c ****
190:Src/stm32g4xx_hal_msp.c **** /**ADC1 GPIO Configuration
191:Src/stm32g4xx_hal_msp.c **** PB0 ------> ADC1_IN15
192:Src/stm32g4xx_hal_msp.c **** */
193:Src/stm32g4xx_hal_msp.c **** HAL_GPIO_DeInit(AUDIO_IN_GPIO_Port, AUDIO_IN_Pin);
194:Src/stm32g4xx_hal_msp.c ****
195:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN ADC1_MspDeInit 1 */
196:Src/stm32g4xx_hal_msp.c ****
197:Src/stm32g4xx_hal_msp.c **** /* USER CODE END ADC1_MspDeInit 1 */
198:Src/stm32g4xx_hal_msp.c **** }
199:Src/stm32g4xx_hal_msp.c **** else if(hadc->Instance==ADC2)
356 .loc 1 199 8 is_stmt 1 view .LVU96
357 .loc 1 199 10 is_stmt 0 view .LVU97
358 000a 114A ldr r2, .L29
359 000c 9342 cmp r3, r2
360 000e 0FD0 beq .L28
361 .LVL12:
362 .L21:
200:Src/stm32g4xx_hal_msp.c **** {
201:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN ADC2_MspDeInit 0 */
202:Src/stm32g4xx_hal_msp.c ****
203:Src/stm32g4xx_hal_msp.c **** /* USER CODE END ADC2_MspDeInit 0 */
204:Src/stm32g4xx_hal_msp.c **** /* Peripheral clock disable */
205:Src/stm32g4xx_hal_msp.c **** HAL_RCC_ADC12_CLK_ENABLED--;
206:Src/stm32g4xx_hal_msp.c **** if(HAL_RCC_ADC12_CLK_ENABLED==0){
207:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_ADC12_CLK_DISABLE();
208:Src/stm32g4xx_hal_msp.c **** }
ARM GAS /tmp/ccN6WdXz.s page 12
209:Src/stm32g4xx_hal_msp.c ****
210:Src/stm32g4xx_hal_msp.c **** /**ADC2 GPIO Configuration
211:Src/stm32g4xx_hal_msp.c **** PA4 ------> ADC2_IN17
212:Src/stm32g4xx_hal_msp.c **** PA5 ------> ADC2_IN13
213:Src/stm32g4xx_hal_msp.c **** PA6 ------> ADC2_IN3
214:Src/stm32g4xx_hal_msp.c **** PA7 ------> ADC2_IN4
215:Src/stm32g4xx_hal_msp.c **** */
216:Src/stm32g4xx_hal_msp.c **** HAL_GPIO_DeInit(GPIOA, TEMPERATURA_Pin|CORRENTE_Pin|DIRETTA_Pin|RIFLESSA_Pin);
217:Src/stm32g4xx_hal_msp.c ****
218:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN ADC2_MspDeInit 1 */
219:Src/stm32g4xx_hal_msp.c ****
220:Src/stm32g4xx_hal_msp.c **** /* USER CODE END ADC2_MspDeInit 1 */
221:Src/stm32g4xx_hal_msp.c **** }
222:Src/stm32g4xx_hal_msp.c ****
223:Src/stm32g4xx_hal_msp.c **** }
363 .loc 1 223 1 view .LVU98
364 0010 08BD pop {r3, pc}
365 .LVL13:
366 .L27:
185:Src/stm32g4xx_hal_msp.c **** if(HAL_RCC_ADC12_CLK_ENABLED==0){
367 .loc 1 185 5 is_stmt 1 view .LVU99
185:Src/stm32g4xx_hal_msp.c **** if(HAL_RCC_ADC12_CLK_ENABLED==0){
368 .loc 1 185 30 is_stmt 0 view .LVU100
369 0012 104A ldr r2, .L29+4
370 0014 1368 ldr r3, [r2]
371 0016 013B subs r3, r3, #1
372 0018 1360 str r3, [r2]
186:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_ADC12_CLK_DISABLE();
373 .loc 1 186 5 is_stmt 1 view .LVU101
186:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_ADC12_CLK_DISABLE();
374 .loc 1 186 7 is_stmt 0 view .LVU102
375 001a 23B9 cbnz r3, .L23
187:Src/stm32g4xx_hal_msp.c **** }
376 .loc 1 187 7 is_stmt 1 view .LVU103
377 001c 0E4A ldr r2, .L29+8
378 001e D36C ldr r3, [r2, #76]
379 0020 23F40053 bic r3, r3, #8192
380 0024 D364 str r3, [r2, #76]
381 .L23:
193:Src/stm32g4xx_hal_msp.c ****
382 .loc 1 193 5 view .LVU104
383 0026 0121 movs r1, #1
384 0028 0C48 ldr r0, .L29+12
385 .LVL14:
193:Src/stm32g4xx_hal_msp.c ****
386 .loc 1 193 5 is_stmt 0 view .LVU105
387 002a FFF7FEFF bl HAL_GPIO_DeInit
388 .LVL15:
389 002e EFE7 b .L21
390 .LVL16:
391 .L28:
205:Src/stm32g4xx_hal_msp.c **** if(HAL_RCC_ADC12_CLK_ENABLED==0){
392 .loc 1 205 5 is_stmt 1 view .LVU106
205:Src/stm32g4xx_hal_msp.c **** if(HAL_RCC_ADC12_CLK_ENABLED==0){
393 .loc 1 205 30 is_stmt 0 view .LVU107
394 0030 084A ldr r2, .L29+4
395 0032 1368 ldr r3, [r2]
ARM GAS /tmp/ccN6WdXz.s page 13
396 0034 013B subs r3, r3, #1
397 0036 1360 str r3, [r2]
206:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_ADC12_CLK_DISABLE();
398 .loc 1 206 5 is_stmt 1 view .LVU108
206:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_ADC12_CLK_DISABLE();
399 .loc 1 206 7 is_stmt 0 view .LVU109
400 0038 23B9 cbnz r3, .L25
207:Src/stm32g4xx_hal_msp.c **** }
401 .loc 1 207 7 is_stmt 1 view .LVU110
402 003a 074A ldr r2, .L29+8
403 003c D36C ldr r3, [r2, #76]
404 003e 23F40053 bic r3, r3, #8192
405 0042 D364 str r3, [r2, #76]
406 .L25:
216:Src/stm32g4xx_hal_msp.c ****
407 .loc 1 216 5 view .LVU111
408 0044 F021 movs r1, #240
409 0046 4FF09040 mov r0, #1207959552
410 .LVL17:
216:Src/stm32g4xx_hal_msp.c ****
411 .loc 1 216 5 is_stmt 0 view .LVU112
412 004a FFF7FEFF bl HAL_GPIO_DeInit
413 .LVL18:
414 .loc 1 223 1 view .LVU113
415 004e DFE7 b .L21
416 .L30:
417 .align 2
418 .L29:
419 0050 00010050 .word 1342177536
420 0054 00000000 .word HAL_RCC_ADC12_CLK_ENABLED
421 0058 00100240 .word 1073876992
422 005c 00040048 .word 1207960576
423 .cfi_endproc
424 .LFE331:
426 .section .text.HAL_I2C_MspInit,"ax",%progbits
427 .align 1
428 .global HAL_I2C_MspInit
429 .syntax unified
430 .thumb
431 .thumb_func
433 HAL_I2C_MspInit:
434 .LVL19:
435 .LFB332:
224:Src/stm32g4xx_hal_msp.c ****
225:Src/stm32g4xx_hal_msp.c **** /**
226:Src/stm32g4xx_hal_msp.c **** * @brief I2C MSP Initialization
227:Src/stm32g4xx_hal_msp.c **** * This function configures the hardware resources used in this example
228:Src/stm32g4xx_hal_msp.c **** * @param hi2c: I2C handle pointer
229:Src/stm32g4xx_hal_msp.c **** * @retval None
230:Src/stm32g4xx_hal_msp.c **** */
231:Src/stm32g4xx_hal_msp.c **** void HAL_I2C_MspInit(I2C_HandleTypeDef* hi2c)
232:Src/stm32g4xx_hal_msp.c **** {
436 .loc 1 232 1 is_stmt 1 view -0
437 .cfi_startproc
438 @ args = 0, pretend = 0, frame = 104
439 @ frame_needed = 0, uses_anonymous_args = 0
440 .loc 1 232 1 is_stmt 0 view .LVU115
ARM GAS /tmp/ccN6WdXz.s page 14
441 0000 F0B5 push {r4, r5, r6, r7, lr}
442 .LCFI8:
443 .cfi_def_cfa_offset 20
444 .cfi_offset 4, -20
445 .cfi_offset 5, -16
446 .cfi_offset 6, -12
447 .cfi_offset 7, -8
448 .cfi_offset 14, -4
449 0002 9BB0 sub sp, sp, #108
450 .LCFI9:
451 .cfi_def_cfa_offset 128
452 0004 0446 mov r4, r0
233:Src/stm32g4xx_hal_msp.c **** GPIO_InitTypeDef GPIO_InitStruct = {0};
453 .loc 1 233 3 is_stmt 1 view .LVU116
454 .loc 1 233 20 is_stmt 0 view .LVU117
455 0006 0021 movs r1, #0
456 0008 1591 str r1, [sp, #84]
457 000a 1691 str r1, [sp, #88]
458 000c 1791 str r1, [sp, #92]
459 000e 1891 str r1, [sp, #96]
460 0010 1991 str r1, [sp, #100]
234:Src/stm32g4xx_hal_msp.c **** RCC_PeriphCLKInitTypeDef PeriphClkInit = {0};
461 .loc 1 234 3 is_stmt 1 view .LVU118
462 .loc 1 234 28 is_stmt 0 view .LVU119
463 0012 4422 movs r2, #68
464 0014 04A8 add r0, sp, #16
465 .LVL20:
466 .loc 1 234 28 view .LVU120
467 0016 FFF7FEFF bl memset
468 .LVL21:
235:Src/stm32g4xx_hal_msp.c **** if(hi2c->Instance==I2C1)
469 .loc 1 235 3 is_stmt 1 view .LVU121
470 .loc 1 235 10 is_stmt 0 view .LVU122
471 001a 2268 ldr r2, [r4]
472 .loc 1 235 5 view .LVU123
473 001c 224B ldr r3, .L37
474 001e 9A42 cmp r2, r3
475 0020 01D0 beq .L35
476 .LVL22:
477 .L31:
236:Src/stm32g4xx_hal_msp.c **** {
237:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN I2C1_MspInit 0 */
238:Src/stm32g4xx_hal_msp.c ****
239:Src/stm32g4xx_hal_msp.c **** /* USER CODE END I2C1_MspInit 0 */
240:Src/stm32g4xx_hal_msp.c ****
241:Src/stm32g4xx_hal_msp.c **** /** Initializes the peripherals clocks
242:Src/stm32g4xx_hal_msp.c **** */
243:Src/stm32g4xx_hal_msp.c **** PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_I2C1;
244:Src/stm32g4xx_hal_msp.c **** PeriphClkInit.I2c1ClockSelection = RCC_I2C1CLKSOURCE_PCLK1;
245:Src/stm32g4xx_hal_msp.c **** if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
246:Src/stm32g4xx_hal_msp.c **** {
247:Src/stm32g4xx_hal_msp.c **** Error_Handler();
248:Src/stm32g4xx_hal_msp.c **** }
249:Src/stm32g4xx_hal_msp.c ****
250:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_GPIOA_CLK_ENABLE();
251:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_GPIOB_CLK_ENABLE();
252:Src/stm32g4xx_hal_msp.c **** /**I2C1 GPIO Configuration
ARM GAS /tmp/ccN6WdXz.s page 15
253:Src/stm32g4xx_hal_msp.c **** PA15 ------> I2C1_SCL
254:Src/stm32g4xx_hal_msp.c **** PB7 ------> I2C1_SDA
255:Src/stm32g4xx_hal_msp.c **** */
256:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Pin = GPIO_PIN_15;
257:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
258:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
259:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
260:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Alternate = GPIO_AF4_I2C1;
261:Src/stm32g4xx_hal_msp.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
262:Src/stm32g4xx_hal_msp.c ****
263:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Pin = GPIO_PIN_7;
264:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
265:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
266:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
267:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Alternate = GPIO_AF4_I2C1;
268:Src/stm32g4xx_hal_msp.c **** HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
269:Src/stm32g4xx_hal_msp.c ****
270:Src/stm32g4xx_hal_msp.c **** /* Peripheral clock enable */
271:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_I2C1_CLK_ENABLE();
272:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN I2C1_MspInit 1 */
273:Src/stm32g4xx_hal_msp.c ****
274:Src/stm32g4xx_hal_msp.c **** /* USER CODE END I2C1_MspInit 1 */
275:Src/stm32g4xx_hal_msp.c **** }
276:Src/stm32g4xx_hal_msp.c ****
277:Src/stm32g4xx_hal_msp.c **** }
478 .loc 1 277 1 view .LVU124
479 0022 1BB0 add sp, sp, #108
480 .LCFI10:
481 .cfi_remember_state
482 .cfi_def_cfa_offset 20
483 @ sp needed
484 0024 F0BD pop {r4, r5, r6, r7, pc}
485 .LVL23:
486 .L35:
487 .LCFI11:
488 .cfi_restore_state
243:Src/stm32g4xx_hal_msp.c **** PeriphClkInit.I2c1ClockSelection = RCC_I2C1CLKSOURCE_PCLK1;
489 .loc 1 243 5 is_stmt 1 view .LVU125
243:Src/stm32g4xx_hal_msp.c **** PeriphClkInit.I2c1ClockSelection = RCC_I2C1CLKSOURCE_PCLK1;
490 .loc 1 243 40 is_stmt 0 view .LVU126
491 0026 4023 movs r3, #64
492 0028 0493 str r3, [sp, #16]
244:Src/stm32g4xx_hal_msp.c **** if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
493 .loc 1 244 5 is_stmt 1 view .LVU127
245:Src/stm32g4xx_hal_msp.c **** {
494 .loc 1 245 5 view .LVU128
245:Src/stm32g4xx_hal_msp.c **** {
495 .loc 1 245 9 is_stmt 0 view .LVU129
496 002a 04A8 add r0, sp, #16
497 002c FFF7FEFF bl HAL_RCCEx_PeriphCLKConfig
498 .LVL24:
245:Src/stm32g4xx_hal_msp.c **** {
499 .loc 1 245 8 view .LVU130
500 0030 0028 cmp r0, #0
501 0032 35D1 bne .L36
502 .L33:
250:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_GPIOB_CLK_ENABLE();
ARM GAS /tmp/ccN6WdXz.s page 16
503 .loc 1 250 5 is_stmt 1 view .LVU131
504 .LBB8:
250:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_GPIOB_CLK_ENABLE();
505 .loc 1 250 5 view .LVU132
250:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_GPIOB_CLK_ENABLE();
506 .loc 1 250 5 view .LVU133
507 0034 1D4C ldr r4, .L37+4
508 .LVL25:
250:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_GPIOB_CLK_ENABLE();
509 .loc 1 250 5 is_stmt 0 view .LVU134
510 0036 E36C ldr r3, [r4, #76]
511 0038 43F00103 orr r3, r3, #1
512 003c E364 str r3, [r4, #76]
250:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_GPIOB_CLK_ENABLE();
513 .loc 1 250 5 is_stmt 1 view .LVU135
514 003e E36C ldr r3, [r4, #76]
515 0040 03F00103 and r3, r3, #1
516 0044 0193 str r3, [sp, #4]
250:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_GPIOB_CLK_ENABLE();
517 .loc 1 250 5 view .LVU136
518 0046 019B ldr r3, [sp, #4]
519 .LBE8:
250:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_GPIOB_CLK_ENABLE();
520 .loc 1 250 5 view .LVU137
251:Src/stm32g4xx_hal_msp.c **** /**I2C1 GPIO Configuration
521 .loc 1 251 5 view .LVU138
522 .LBB9:
251:Src/stm32g4xx_hal_msp.c **** /**I2C1 GPIO Configuration
523 .loc 1 251 5 view .LVU139
251:Src/stm32g4xx_hal_msp.c **** /**I2C1 GPIO Configuration
524 .loc 1 251 5 view .LVU140
525 0048 E36C ldr r3, [r4, #76]
526 004a 43F00203 orr r3, r3, #2
527 004e E364 str r3, [r4, #76]
251:Src/stm32g4xx_hal_msp.c **** /**I2C1 GPIO Configuration
528 .loc 1 251 5 view .LVU141
529 0050 E36C ldr r3, [r4, #76]
530 0052 03F00203 and r3, r3, #2
531 0056 0293 str r3, [sp, #8]
251:Src/stm32g4xx_hal_msp.c **** /**I2C1 GPIO Configuration
532 .loc 1 251 5 view .LVU142
533 0058 029B ldr r3, [sp, #8]
534 .LBE9:
251:Src/stm32g4xx_hal_msp.c **** /**I2C1 GPIO Configuration
535 .loc 1 251 5 view .LVU143
256:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
536 .loc 1 256 5 view .LVU144
256:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
537 .loc 1 256 25 is_stmt 0 view .LVU145
538 005a 4FF40043 mov r3, #32768
539 005e 1593 str r3, [sp, #84]
257:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
540 .loc 1 257 5 is_stmt 1 view .LVU146
257:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
541 .loc 1 257 26 is_stmt 0 view .LVU147
542 0060 1227 movs r7, #18
543 0062 1697 str r7, [sp, #88]
ARM GAS /tmp/ccN6WdXz.s page 17
258:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
544 .loc 1 258 5 is_stmt 1 view .LVU148
258:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
545 .loc 1 258 26 is_stmt 0 view .LVU149
546 0064 0025 movs r5, #0
547 0066 1795 str r5, [sp, #92]
259:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Alternate = GPIO_AF4_I2C1;
548 .loc 1 259 5 is_stmt 1 view .LVU150
259:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Alternate = GPIO_AF4_I2C1;
549 .loc 1 259 27 is_stmt 0 view .LVU151
550 0068 1895 str r5, [sp, #96]
260:Src/stm32g4xx_hal_msp.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
551 .loc 1 260 5 is_stmt 1 view .LVU152
260:Src/stm32g4xx_hal_msp.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
552 .loc 1 260 31 is_stmt 0 view .LVU153
553 006a 0426 movs r6, #4
554 006c 1996 str r6, [sp, #100]
261:Src/stm32g4xx_hal_msp.c ****
555 .loc 1 261 5 is_stmt 1 view .LVU154
556 006e 15A9 add r1, sp, #84
557 0070 4FF09040 mov r0, #1207959552
558 0074 FFF7FEFF bl HAL_GPIO_Init
559 .LVL26:
263:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
560 .loc 1 263 5 view .LVU155
263:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
561 .loc 1 263 25 is_stmt 0 view .LVU156
562 0078 8023 movs r3, #128
563 007a 1593 str r3, [sp, #84]
264:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
564 .loc 1 264 5 is_stmt 1 view .LVU157
264:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
565 .loc 1 264 26 is_stmt 0 view .LVU158
566 007c 1697 str r7, [sp, #88]
265:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
567 .loc 1 265 5 is_stmt 1 view .LVU159
265:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
568 .loc 1 265 26 is_stmt 0 view .LVU160
569 007e 1795 str r5, [sp, #92]
266:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Alternate = GPIO_AF4_I2C1;
570 .loc 1 266 5 is_stmt 1 view .LVU161
266:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Alternate = GPIO_AF4_I2C1;
571 .loc 1 266 27 is_stmt 0 view .LVU162
572 0080 1895 str r5, [sp, #96]
267:Src/stm32g4xx_hal_msp.c **** HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
573 .loc 1 267 5 is_stmt 1 view .LVU163
267:Src/stm32g4xx_hal_msp.c **** HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
574 .loc 1 267 31 is_stmt 0 view .LVU164
575 0082 1996 str r6, [sp, #100]
268:Src/stm32g4xx_hal_msp.c ****
576 .loc 1 268 5 is_stmt 1 view .LVU165
577 0084 15A9 add r1, sp, #84
578 0086 0A48 ldr r0, .L37+8
579 0088 FFF7FEFF bl HAL_GPIO_Init
580 .LVL27:
271:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN I2C1_MspInit 1 */
581 .loc 1 271 5 view .LVU166
ARM GAS /tmp/ccN6WdXz.s page 18
582 .LBB10:
271:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN I2C1_MspInit 1 */
583 .loc 1 271 5 view .LVU167
271:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN I2C1_MspInit 1 */
584 .loc 1 271 5 view .LVU168
585 008c A36D ldr r3, [r4, #88]
586 008e 43F40013 orr r3, r3, #2097152
587 0092 A365 str r3, [r4, #88]
271:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN I2C1_MspInit 1 */
588 .loc 1 271 5 view .LVU169
589 0094 A36D ldr r3, [r4, #88]
590 0096 03F40013 and r3, r3, #2097152
591 009a 0393 str r3, [sp, #12]
271:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN I2C1_MspInit 1 */
592 .loc 1 271 5 view .LVU170
593 009c 039B ldr r3, [sp, #12]
594 .LBE10:
271:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN I2C1_MspInit 1 */
595 .loc 1 271 5 view .LVU171
596 .loc 1 277 1 is_stmt 0 view .LVU172
597 009e C0E7 b .L31
598 .LVL28:
599 .L36:
247:Src/stm32g4xx_hal_msp.c **** }
600 .loc 1 247 7 is_stmt 1 view .LVU173
601 00a0 FFF7FEFF bl Error_Handler
602 .LVL29:
603 00a4 C6E7 b .L33
604 .L38:
605 00a6 00BF .align 2
606 .L37:
607 00a8 00540040 .word 1073763328
608 00ac 00100240 .word 1073876992
609 00b0 00040048 .word 1207960576
610 .cfi_endproc
611 .LFE332:
613 .section .text.HAL_I2C_MspDeInit,"ax",%progbits
614 .align 1
615 .global HAL_I2C_MspDeInit
616 .syntax unified
617 .thumb
618 .thumb_func
620 HAL_I2C_MspDeInit:
621 .LVL30:
622 .LFB333:
278:Src/stm32g4xx_hal_msp.c ****
279:Src/stm32g4xx_hal_msp.c **** /**
280:Src/stm32g4xx_hal_msp.c **** * @brief I2C MSP De-Initialization
281:Src/stm32g4xx_hal_msp.c **** * This function freeze the hardware resources used in this example
282:Src/stm32g4xx_hal_msp.c **** * @param hi2c: I2C handle pointer
283:Src/stm32g4xx_hal_msp.c **** * @retval None
284:Src/stm32g4xx_hal_msp.c **** */
285:Src/stm32g4xx_hal_msp.c **** void HAL_I2C_MspDeInit(I2C_HandleTypeDef* hi2c)
286:Src/stm32g4xx_hal_msp.c **** {
623 .loc 1 286 1 view -0
624 .cfi_startproc
625 @ args = 0, pretend = 0, frame = 0
ARM GAS /tmp/ccN6WdXz.s page 19
626 @ frame_needed = 0, uses_anonymous_args = 0
627 .loc 1 286 1 is_stmt 0 view .LVU175
628 0000 08B5 push {r3, lr}
629 .LCFI12:
630 .cfi_def_cfa_offset 8
631 .cfi_offset 3, -8
632 .cfi_offset 14, -4
287:Src/stm32g4xx_hal_msp.c **** if(hi2c->Instance==I2C1)
633 .loc 1 287 3 is_stmt 1 view .LVU176
634 .loc 1 287 10 is_stmt 0 view .LVU177
635 0002 0268 ldr r2, [r0]
636 .loc 1 287 5 view .LVU178
637 0004 094B ldr r3, .L43
638 0006 9A42 cmp r2, r3
639 0008 00D0 beq .L42
640 .LVL31:
641 .L39:
288:Src/stm32g4xx_hal_msp.c **** {
289:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN I2C1_MspDeInit 0 */
290:Src/stm32g4xx_hal_msp.c ****
291:Src/stm32g4xx_hal_msp.c **** /* USER CODE END I2C1_MspDeInit 0 */
292:Src/stm32g4xx_hal_msp.c **** /* Peripheral clock disable */
293:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_I2C1_CLK_DISABLE();
294:Src/stm32g4xx_hal_msp.c ****
295:Src/stm32g4xx_hal_msp.c **** /**I2C1 GPIO Configuration
296:Src/stm32g4xx_hal_msp.c **** PA15 ------> I2C1_SCL
297:Src/stm32g4xx_hal_msp.c **** PB7 ------> I2C1_SDA
298:Src/stm32g4xx_hal_msp.c **** */
299:Src/stm32g4xx_hal_msp.c **** HAL_GPIO_DeInit(GPIOA, GPIO_PIN_15);
300:Src/stm32g4xx_hal_msp.c ****
301:Src/stm32g4xx_hal_msp.c **** HAL_GPIO_DeInit(GPIOB, GPIO_PIN_7);
302:Src/stm32g4xx_hal_msp.c ****
303:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN I2C1_MspDeInit 1 */
304:Src/stm32g4xx_hal_msp.c ****
305:Src/stm32g4xx_hal_msp.c **** /* USER CODE END I2C1_MspDeInit 1 */
306:Src/stm32g4xx_hal_msp.c **** }
307:Src/stm32g4xx_hal_msp.c ****
308:Src/stm32g4xx_hal_msp.c **** }
642 .loc 1 308 1 view .LVU179
643 000a 08BD pop {r3, pc}
644 .LVL32:
645 .L42:
293:Src/stm32g4xx_hal_msp.c ****
646 .loc 1 293 5 is_stmt 1 view .LVU180
647 000c 084A ldr r2, .L43+4
648 000e 936D ldr r3, [r2, #88]
649 0010 23F40013 bic r3, r3, #2097152
650 0014 9365 str r3, [r2, #88]
299:Src/stm32g4xx_hal_msp.c ****
651 .loc 1 299 5 view .LVU181
652 0016 4FF40041 mov r1, #32768
653 001a 4FF09040 mov r0, #1207959552
654 .LVL33:
299:Src/stm32g4xx_hal_msp.c ****
655 .loc 1 299 5 is_stmt 0 view .LVU182
656 001e FFF7FEFF bl HAL_GPIO_DeInit
657 .LVL34:
ARM GAS /tmp/ccN6WdXz.s page 20
301:Src/stm32g4xx_hal_msp.c ****
658 .loc 1 301 5 is_stmt 1 view .LVU183
659 0022 8021 movs r1, #128
660 0024 0348 ldr r0, .L43+8
661 0026 FFF7FEFF bl HAL_GPIO_DeInit
662 .LVL35:
663 .loc 1 308 1 is_stmt 0 view .LVU184
664 002a EEE7 b .L39
665 .L44:
666 .align 2
667 .L43:
668 002c 00540040 .word 1073763328
669 0030 00100240 .word 1073876992
670 0034 00040048 .word 1207960576
671 .cfi_endproc
672 .LFE333:
674 .section .text.HAL_TIM_Base_MspInit,"ax",%progbits
675 .align 1
676 .global HAL_TIM_Base_MspInit
677 .syntax unified
678 .thumb
679 .thumb_func
681 HAL_TIM_Base_MspInit:
682 .LVL36:
683 .LFB334:
309:Src/stm32g4xx_hal_msp.c ****
310:Src/stm32g4xx_hal_msp.c **** /**
311:Src/stm32g4xx_hal_msp.c **** * @brief TIM_Base MSP Initialization
312:Src/stm32g4xx_hal_msp.c **** * This function configures the hardware resources used in this example
313:Src/stm32g4xx_hal_msp.c **** * @param htim_base: TIM_Base handle pointer
314:Src/stm32g4xx_hal_msp.c **** * @retval None
315:Src/stm32g4xx_hal_msp.c **** */
316:Src/stm32g4xx_hal_msp.c **** void HAL_TIM_Base_MspInit(TIM_HandleTypeDef* htim_base)
317:Src/stm32g4xx_hal_msp.c **** {
684 .loc 1 317 1 is_stmt 1 view -0
685 .cfi_startproc
686 @ args = 0, pretend = 0, frame = 8
687 @ frame_needed = 0, uses_anonymous_args = 0
688 .loc 1 317 1 is_stmt 0 view .LVU186
689 0000 00B5 push {lr}
690 .LCFI13:
691 .cfi_def_cfa_offset 4
692 .cfi_offset 14, -4
693 0002 83B0 sub sp, sp, #12
694 .LCFI14:
695 .cfi_def_cfa_offset 16
318:Src/stm32g4xx_hal_msp.c **** if(htim_base->Instance==TIM2)
696 .loc 1 318 3 is_stmt 1 view .LVU187
697 .loc 1 318 15 is_stmt 0 view .LVU188
698 0004 0368 ldr r3, [r0]
699 .loc 1 318 5 view .LVU189
700 0006 B3F1804F cmp r3, #1073741824
701 000a 05D0 beq .L49
319:Src/stm32g4xx_hal_msp.c **** {
320:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN TIM2_MspInit 0 */
321:Src/stm32g4xx_hal_msp.c ****
322:Src/stm32g4xx_hal_msp.c **** /* USER CODE END TIM2_MspInit 0 */
ARM GAS /tmp/ccN6WdXz.s page 21
323:Src/stm32g4xx_hal_msp.c **** /* Peripheral clock enable */
324:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_TIM2_CLK_ENABLE();
325:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN TIM2_MspInit 1 */
326:Src/stm32g4xx_hal_msp.c ****
327:Src/stm32g4xx_hal_msp.c **** /* USER CODE END TIM2_MspInit 1 */
328:Src/stm32g4xx_hal_msp.c **** }
329:Src/stm32g4xx_hal_msp.c **** else if(htim_base->Instance==TIM3)
702 .loc 1 329 8 is_stmt 1 view .LVU190
703 .loc 1 329 10 is_stmt 0 view .LVU191
704 000c 124A ldr r2, .L51
705 000e 9342 cmp r3, r2
706 0010 0ED0 beq .L50
707 .LVL37:
708 .L45:
330:Src/stm32g4xx_hal_msp.c **** {
331:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN TIM3_MspInit 0 */
332:Src/stm32g4xx_hal_msp.c ****
333:Src/stm32g4xx_hal_msp.c **** /* USER CODE END TIM3_MspInit 0 */
334:Src/stm32g4xx_hal_msp.c **** /* Peripheral clock enable */
335:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_TIM3_CLK_ENABLE();
336:Src/stm32g4xx_hal_msp.c **** /* TIM3 interrupt Init */
337:Src/stm32g4xx_hal_msp.c **** HAL_NVIC_SetPriority(TIM3_IRQn, 0, 0);
338:Src/stm32g4xx_hal_msp.c **** HAL_NVIC_EnableIRQ(TIM3_IRQn);
339:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN TIM3_MspInit 1 */
340:Src/stm32g4xx_hal_msp.c ****
341:Src/stm32g4xx_hal_msp.c **** /* USER CODE END TIM3_MspInit 1 */
342:Src/stm32g4xx_hal_msp.c **** }
343:Src/stm32g4xx_hal_msp.c ****
344:Src/stm32g4xx_hal_msp.c **** }
709 .loc 1 344 1 view .LVU192
710 0012 03B0 add sp, sp, #12
711 .LCFI15:
712 .cfi_remember_state
713 .cfi_def_cfa_offset 4
714 @ sp needed
715 0014 5DF804FB ldr pc, [sp], #4
716 .LVL38:
717 .L49:
718 .LCFI16:
719 .cfi_restore_state
324:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN TIM2_MspInit 1 */
720 .loc 1 324 5 is_stmt 1 view .LVU193
721 .LBB11:
324:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN TIM2_MspInit 1 */
722 .loc 1 324 5 view .LVU194
324:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN TIM2_MspInit 1 */
723 .loc 1 324 5 view .LVU195
724 0018 03F50433 add r3, r3, #135168
725 001c 9A6D ldr r2, [r3, #88]
726 001e 42F00102 orr r2, r2, #1
727 0022 9A65 str r2, [r3, #88]
324:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN TIM2_MspInit 1 */
728 .loc 1 324 5 view .LVU196
729 0024 9B6D ldr r3, [r3, #88]
730 0026 03F00103 and r3, r3, #1
731 002a 0093 str r3, [sp]
324:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN TIM2_MspInit 1 */
ARM GAS /tmp/ccN6WdXz.s page 22
732 .loc 1 324 5 view .LVU197
733 002c 009B ldr r3, [sp]
734 .LBE11:
324:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN TIM2_MspInit 1 */
735 .loc 1 324 5 view .LVU198
736 002e F0E7 b .L45
737 .L50:
335:Src/stm32g4xx_hal_msp.c **** /* TIM3 interrupt Init */
738 .loc 1 335 5 view .LVU199
739 .LBB12:
335:Src/stm32g4xx_hal_msp.c **** /* TIM3 interrupt Init */
740 .loc 1 335 5 view .LVU200
335:Src/stm32g4xx_hal_msp.c **** /* TIM3 interrupt Init */
741 .loc 1 335 5 view .LVU201
742 0030 0A4B ldr r3, .L51+4
743 0032 9A6D ldr r2, [r3, #88]
744 0034 42F00202 orr r2, r2, #2
745 0038 9A65 str r2, [r3, #88]
335:Src/stm32g4xx_hal_msp.c **** /* TIM3 interrupt Init */
746 .loc 1 335 5 view .LVU202
747 003a 9B6D ldr r3, [r3, #88]
748 003c 03F00203 and r3, r3, #2
749 0040 0193 str r3, [sp, #4]
335:Src/stm32g4xx_hal_msp.c **** /* TIM3 interrupt Init */
750 .loc 1 335 5 view .LVU203
751 0042 019B ldr r3, [sp, #4]
752 .LBE12:
335:Src/stm32g4xx_hal_msp.c **** /* TIM3 interrupt Init */
753 .loc 1 335 5 view .LVU204
337:Src/stm32g4xx_hal_msp.c **** HAL_NVIC_EnableIRQ(TIM3_IRQn);
754 .loc 1 337 5 view .LVU205
755 0044 0022 movs r2, #0
756 0046 1146 mov r1, r2
757 0048 1D20 movs r0, #29
758 .LVL39:
337:Src/stm32g4xx_hal_msp.c **** HAL_NVIC_EnableIRQ(TIM3_IRQn);
759 .loc 1 337 5 is_stmt 0 view .LVU206
760 004a FFF7FEFF bl HAL_NVIC_SetPriority
761 .LVL40:
338:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN TIM3_MspInit 1 */
762 .loc 1 338 5 is_stmt 1 view .LVU207
763 004e 1D20 movs r0, #29
764 0050 FFF7FEFF bl HAL_NVIC_EnableIRQ
765 .LVL41:
766 .loc 1 344 1 is_stmt 0 view .LVU208
767 0054 DDE7 b .L45
768 .L52:
769 0056 00BF .align 2
770 .L51:
771 0058 00040040 .word 1073742848
772 005c 00100240 .word 1073876992
773 .cfi_endproc
774 .LFE334:
776 .section .text.HAL_TIM_MspPostInit,"ax",%progbits
777 .align 1
778 .global HAL_TIM_MspPostInit
779 .syntax unified
ARM GAS /tmp/ccN6WdXz.s page 23
780 .thumb
781 .thumb_func
783 HAL_TIM_MspPostInit:
784 .LVL42:
785 .LFB335:
345:Src/stm32g4xx_hal_msp.c ****
346:Src/stm32g4xx_hal_msp.c **** void HAL_TIM_MspPostInit(TIM_HandleTypeDef* htim)
347:Src/stm32g4xx_hal_msp.c **** {
786 .loc 1 347 1 is_stmt 1 view -0
787 .cfi_startproc
788 @ args = 0, pretend = 0, frame = 24
789 @ frame_needed = 0, uses_anonymous_args = 0
790 .loc 1 347 1 is_stmt 0 view .LVU210
791 0000 00B5 push {lr}
792 .LCFI17:
793 .cfi_def_cfa_offset 4
794 .cfi_offset 14, -4
795 0002 87B0 sub sp, sp, #28
796 .LCFI18:
797 .cfi_def_cfa_offset 32
348:Src/stm32g4xx_hal_msp.c **** GPIO_InitTypeDef GPIO_InitStruct = {0};
798 .loc 1 348 3 is_stmt 1 view .LVU211
799 .loc 1 348 20 is_stmt 0 view .LVU212
800 0004 0023 movs r3, #0
801 0006 0193 str r3, [sp, #4]
802 0008 0293 str r3, [sp, #8]
803 000a 0393 str r3, [sp, #12]
804 000c 0493 str r3, [sp, #16]
805 000e 0593 str r3, [sp, #20]
349:Src/stm32g4xx_hal_msp.c **** if(htim->Instance==TIM2)
806 .loc 1 349 3 is_stmt 1 view .LVU213
807 .loc 1 349 10 is_stmt 0 view .LVU214
808 0010 0368 ldr r3, [r0]
809 .loc 1 349 5 view .LVU215
810 0012 B3F1804F cmp r3, #1073741824
811 0016 02D0 beq .L56
812 .LVL43:
813 .L53:
350:Src/stm32g4xx_hal_msp.c **** {
351:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN TIM2_MspPostInit 0 */
352:Src/stm32g4xx_hal_msp.c ****
353:Src/stm32g4xx_hal_msp.c **** /* USER CODE END TIM2_MspPostInit 0 */
354:Src/stm32g4xx_hal_msp.c ****
355:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_GPIOA_CLK_ENABLE();
356:Src/stm32g4xx_hal_msp.c **** /**TIM2 GPIO Configuration
357:Src/stm32g4xx_hal_msp.c **** PA0 ------> TIM2_CH1
358:Src/stm32g4xx_hal_msp.c **** PA1 ------> TIM2_CH2
359:Src/stm32g4xx_hal_msp.c **** PA2 ------> TIM2_CH3
360:Src/stm32g4xx_hal_msp.c **** PA3 ------> TIM2_CH4
361:Src/stm32g4xx_hal_msp.c **** */
362:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Pin = GPIO_PIN_0|GPIO_PIN_1|GPIO_PIN_2|GPIO_PIN_3;
363:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
364:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
365:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
366:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Alternate = GPIO_AF1_TIM2;
367:Src/stm32g4xx_hal_msp.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
368:Src/stm32g4xx_hal_msp.c ****
ARM GAS /tmp/ccN6WdXz.s page 24
369:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN TIM2_MspPostInit 1 */
370:Src/stm32g4xx_hal_msp.c ****
371:Src/stm32g4xx_hal_msp.c **** /* USER CODE END TIM2_MspPostInit 1 */
372:Src/stm32g4xx_hal_msp.c **** }
373:Src/stm32g4xx_hal_msp.c ****
374:Src/stm32g4xx_hal_msp.c **** }
814 .loc 1 374 1 view .LVU216
815 0018 07B0 add sp, sp, #28
816 .LCFI19:
817 .cfi_remember_state
818 .cfi_def_cfa_offset 4
819 @ sp needed
820 001a 5DF804FB ldr pc, [sp], #4
821 .LVL44:
822 .L56:
823 .LCFI20:
824 .cfi_restore_state
355:Src/stm32g4xx_hal_msp.c **** /**TIM2 GPIO Configuration
825 .loc 1 355 5 is_stmt 1 view .LVU217
826 .LBB13:
355:Src/stm32g4xx_hal_msp.c **** /**TIM2 GPIO Configuration
827 .loc 1 355 5 view .LVU218
355:Src/stm32g4xx_hal_msp.c **** /**TIM2 GPIO Configuration
828 .loc 1 355 5 view .LVU219
829 001e 03F50433 add r3, r3, #135168
830 0022 DA6C ldr r2, [r3, #76]
831 0024 42F00102 orr r2, r2, #1
832 0028 DA64 str r2, [r3, #76]
355:Src/stm32g4xx_hal_msp.c **** /**TIM2 GPIO Configuration
833 .loc 1 355 5 view .LVU220
834 002a DB6C ldr r3, [r3, #76]
835 002c 03F00103 and r3, r3, #1
836 0030 0093 str r3, [sp]
355:Src/stm32g4xx_hal_msp.c **** /**TIM2 GPIO Configuration
837 .loc 1 355 5 view .LVU221
838 0032 009B ldr r3, [sp]
839 .LBE13:
355:Src/stm32g4xx_hal_msp.c **** /**TIM2 GPIO Configuration
840 .loc 1 355 5 view .LVU222
362:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
841 .loc 1 362 5 view .LVU223
362:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
842 .loc 1 362 25 is_stmt 0 view .LVU224
843 0034 0F23 movs r3, #15
844 0036 0193 str r3, [sp, #4]
363:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
845 .loc 1 363 5 is_stmt 1 view .LVU225
363:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
846 .loc 1 363 26 is_stmt 0 view .LVU226
847 0038 0223 movs r3, #2
848 003a 0293 str r3, [sp, #8]
364:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
849 .loc 1 364 5 is_stmt 1 view .LVU227
365:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Alternate = GPIO_AF1_TIM2;
850 .loc 1 365 5 view .LVU228
366:Src/stm32g4xx_hal_msp.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
851 .loc 1 366 5 view .LVU229
ARM GAS /tmp/ccN6WdXz.s page 25
366:Src/stm32g4xx_hal_msp.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
852 .loc 1 366 31 is_stmt 0 view .LVU230
853 003c 0123 movs r3, #1
854 003e 0593 str r3, [sp, #20]
367:Src/stm32g4xx_hal_msp.c ****
855 .loc 1 367 5 is_stmt 1 view .LVU231
856 0040 01A9 add r1, sp, #4
857 0042 4FF09040 mov r0, #1207959552
858 .LVL45:
367:Src/stm32g4xx_hal_msp.c ****
859 .loc 1 367 5 is_stmt 0 view .LVU232
860 0046 FFF7FEFF bl HAL_GPIO_Init
861 .LVL46:
862 .loc 1 374 1 view .LVU233
863 004a E5E7 b .L53
864 .cfi_endproc
865 .LFE335:
867 .section .text.HAL_TIM_Base_MspDeInit,"ax",%progbits
868 .align 1
869 .global HAL_TIM_Base_MspDeInit
870 .syntax unified
871 .thumb
872 .thumb_func
874 HAL_TIM_Base_MspDeInit:
875 .LVL47:
876 .LFB336:
375:Src/stm32g4xx_hal_msp.c **** /**
376:Src/stm32g4xx_hal_msp.c **** * @brief TIM_Base MSP De-Initialization
377:Src/stm32g4xx_hal_msp.c **** * This function freeze the hardware resources used in this example
378:Src/stm32g4xx_hal_msp.c **** * @param htim_base: TIM_Base handle pointer
379:Src/stm32g4xx_hal_msp.c **** * @retval None
380:Src/stm32g4xx_hal_msp.c **** */
381:Src/stm32g4xx_hal_msp.c **** void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef* htim_base)
382:Src/stm32g4xx_hal_msp.c **** {
877 .loc 1 382 1 is_stmt 1 view -0
878 .cfi_startproc
879 @ args = 0, pretend = 0, frame = 0
880 @ frame_needed = 0, uses_anonymous_args = 0
881 .loc 1 382 1 is_stmt 0 view .LVU235
882 0000 08B5 push {r3, lr}
883 .LCFI21:
884 .cfi_def_cfa_offset 8
885 .cfi_offset 3, -8
886 .cfi_offset 14, -4
383:Src/stm32g4xx_hal_msp.c **** if(htim_base->Instance==TIM2)
887 .loc 1 383 3 is_stmt 1 view .LVU236
888 .loc 1 383 15 is_stmt 0 view .LVU237
889 0002 0368 ldr r3, [r0]
890 .loc 1 383 5 view .LVU238
891 0004 B3F1804F cmp r3, #1073741824
892 0008 03D0 beq .L61
384:Src/stm32g4xx_hal_msp.c **** {
385:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN TIM2_MspDeInit 0 */
386:Src/stm32g4xx_hal_msp.c ****
387:Src/stm32g4xx_hal_msp.c **** /* USER CODE END TIM2_MspDeInit 0 */
388:Src/stm32g4xx_hal_msp.c **** /* Peripheral clock disable */
389:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_TIM2_CLK_DISABLE();
ARM GAS /tmp/ccN6WdXz.s page 26
390:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN TIM2_MspDeInit 1 */
391:Src/stm32g4xx_hal_msp.c ****
392:Src/stm32g4xx_hal_msp.c **** /* USER CODE END TIM2_MspDeInit 1 */
393:Src/stm32g4xx_hal_msp.c **** }
394:Src/stm32g4xx_hal_msp.c **** else if(htim_base->Instance==TIM3)
893 .loc 1 394 8 is_stmt 1 view .LVU239
894 .loc 1 394 10 is_stmt 0 view .LVU240
895 000a 0A4A ldr r2, .L63
896 000c 9342 cmp r3, r2
897 000e 06D0 beq .L62
898 .LVL48:
899 .L57:
395:Src/stm32g4xx_hal_msp.c **** {
396:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN TIM3_MspDeInit 0 */
397:Src/stm32g4xx_hal_msp.c ****
398:Src/stm32g4xx_hal_msp.c **** /* USER CODE END TIM3_MspDeInit 0 */
399:Src/stm32g4xx_hal_msp.c **** /* Peripheral clock disable */
400:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_TIM3_CLK_DISABLE();
401:Src/stm32g4xx_hal_msp.c ****
402:Src/stm32g4xx_hal_msp.c **** /* TIM3 interrupt DeInit */
403:Src/stm32g4xx_hal_msp.c **** HAL_NVIC_DisableIRQ(TIM3_IRQn);
404:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN TIM3_MspDeInit 1 */
405:Src/stm32g4xx_hal_msp.c ****
406:Src/stm32g4xx_hal_msp.c **** /* USER CODE END TIM3_MspDeInit 1 */
407:Src/stm32g4xx_hal_msp.c **** }
408:Src/stm32g4xx_hal_msp.c ****
409:Src/stm32g4xx_hal_msp.c **** }
900 .loc 1 409 1 view .LVU241
901 0010 08BD pop {r3, pc}
902 .LVL49:
903 .L61:
389:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN TIM2_MspDeInit 1 */
904 .loc 1 389 5 is_stmt 1 view .LVU242
905 0012 094A ldr r2, .L63+4
906 0014 936D ldr r3, [r2, #88]
907 0016 23F00103 bic r3, r3, #1
908 001a 9365 str r3, [r2, #88]
909 001c F8E7 b .L57
910 .L62:
400:Src/stm32g4xx_hal_msp.c ****
911 .loc 1 400 5 view .LVU243
912 001e 02F50332 add r2, r2, #134144
913 0022 936D ldr r3, [r2, #88]
914 0024 23F00203 bic r3, r3, #2
915 0028 9365 str r3, [r2, #88]
403:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN TIM3_MspDeInit 1 */
916 .loc 1 403 5 view .LVU244
917 002a 1D20 movs r0, #29
918 .LVL50:
403:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN TIM3_MspDeInit 1 */
919 .loc 1 403 5 is_stmt 0 view .LVU245
920 002c FFF7FEFF bl HAL_NVIC_DisableIRQ
921 .LVL51:
922 .loc 1 409 1 view .LVU246
923 0030 EEE7 b .L57
924 .L64:
925 0032 00BF .align 2
ARM GAS /tmp/ccN6WdXz.s page 27
926 .L63:
927 0034 00040040 .word 1073742848
928 0038 00100240 .word 1073876992
929 .cfi_endproc
930 .LFE336:
932 .section .text.HAL_UART_MspInit,"ax",%progbits
933 .align 1
934 .global HAL_UART_MspInit
935 .syntax unified
936 .thumb
937 .thumb_func
939 HAL_UART_MspInit:
940 .LVL52:
941 .LFB337:
410:Src/stm32g4xx_hal_msp.c ****
411:Src/stm32g4xx_hal_msp.c **** /**
412:Src/stm32g4xx_hal_msp.c **** * @brief UART MSP Initialization
413:Src/stm32g4xx_hal_msp.c **** * This function configures the hardware resources used in this example
414:Src/stm32g4xx_hal_msp.c **** * @param huart: UART handle pointer
415:Src/stm32g4xx_hal_msp.c **** * @retval None
416:Src/stm32g4xx_hal_msp.c **** */
417:Src/stm32g4xx_hal_msp.c **** void HAL_UART_MspInit(UART_HandleTypeDef* huart)
418:Src/stm32g4xx_hal_msp.c **** {
942 .loc 1 418 1 is_stmt 1 view -0
943 .cfi_startproc
944 @ args = 0, pretend = 0, frame = 96
945 @ frame_needed = 0, uses_anonymous_args = 0
946 .loc 1 418 1 is_stmt 0 view .LVU248
947 0000 10B5 push {r4, lr}
948 .LCFI22:
949 .cfi_def_cfa_offset 8
950 .cfi_offset 4, -8
951 .cfi_offset 14, -4
952 0002 98B0 sub sp, sp, #96
953 .LCFI23:
954 .cfi_def_cfa_offset 104
955 0004 0446 mov r4, r0
419:Src/stm32g4xx_hal_msp.c **** GPIO_InitTypeDef GPIO_InitStruct = {0};
956 .loc 1 419 3 is_stmt 1 view .LVU249
957 .loc 1 419 20 is_stmt 0 view .LVU250
958 0006 0021 movs r1, #0
959 0008 1391 str r1, [sp, #76]
960 000a 1491 str r1, [sp, #80]
961 000c 1591 str r1, [sp, #84]
962 000e 1691 str r1, [sp, #88]
963 0010 1791 str r1, [sp, #92]
420:Src/stm32g4xx_hal_msp.c **** RCC_PeriphCLKInitTypeDef PeriphClkInit = {0};
964 .loc 1 420 3 is_stmt 1 view .LVU251
965 .loc 1 420 28 is_stmt 0 view .LVU252
966 0012 4422 movs r2, #68
967 0014 02A8 add r0, sp, #8
968 .LVL53:
969 .loc 1 420 28 view .LVU253
970 0016 FFF7FEFF bl memset
971 .LVL54:
421:Src/stm32g4xx_hal_msp.c **** if(huart->Instance==USART1)
972 .loc 1 421 3 is_stmt 1 view .LVU254
ARM GAS /tmp/ccN6WdXz.s page 28
973 .loc 1 421 11 is_stmt 0 view .LVU255
974 001a 2268 ldr r2, [r4]
975 .loc 1 421 5 view .LVU256
976 001c 184B ldr r3, .L71
977 001e 9A42 cmp r2, r3
978 0020 01D0 beq .L69
979 .L65:
422:Src/stm32g4xx_hal_msp.c **** {
423:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN USART1_MspInit 0 */
424:Src/stm32g4xx_hal_msp.c ****
425:Src/stm32g4xx_hal_msp.c **** /* USER CODE END USART1_MspInit 0 */
426:Src/stm32g4xx_hal_msp.c ****
427:Src/stm32g4xx_hal_msp.c **** /** Initializes the peripherals clocks
428:Src/stm32g4xx_hal_msp.c **** */
429:Src/stm32g4xx_hal_msp.c **** PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_USART1;
430:Src/stm32g4xx_hal_msp.c **** PeriphClkInit.Usart1ClockSelection = RCC_USART1CLKSOURCE_PCLK2;
431:Src/stm32g4xx_hal_msp.c **** if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
432:Src/stm32g4xx_hal_msp.c **** {
433:Src/stm32g4xx_hal_msp.c **** Error_Handler();
434:Src/stm32g4xx_hal_msp.c **** }
435:Src/stm32g4xx_hal_msp.c ****
436:Src/stm32g4xx_hal_msp.c **** /* Peripheral clock enable */
437:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_USART1_CLK_ENABLE();
438:Src/stm32g4xx_hal_msp.c ****
439:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_GPIOA_CLK_ENABLE();
440:Src/stm32g4xx_hal_msp.c **** /**USART1 GPIO Configuration
441:Src/stm32g4xx_hal_msp.c **** PA9 ------> USART1_TX
442:Src/stm32g4xx_hal_msp.c **** PA10 ------> USART1_RX
443:Src/stm32g4xx_hal_msp.c **** */
444:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Pin = GPIO_PIN_9|GPIO_PIN_10;
445:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
446:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
447:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
448:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Alternate = GPIO_AF7_USART1;
449:Src/stm32g4xx_hal_msp.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
450:Src/stm32g4xx_hal_msp.c ****
451:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN USART1_MspInit 1 */
452:Src/stm32g4xx_hal_msp.c ****
453:Src/stm32g4xx_hal_msp.c **** /* USER CODE END USART1_MspInit 1 */
454:Src/stm32g4xx_hal_msp.c **** }
455:Src/stm32g4xx_hal_msp.c ****
456:Src/stm32g4xx_hal_msp.c **** }
980 .loc 1 456 1 view .LVU257
981 0022 18B0 add sp, sp, #96
982 .LCFI24:
983 .cfi_remember_state
984 .cfi_def_cfa_offset 8
985 @ sp needed
986 0024 10BD pop {r4, pc}
987 .LVL55:
988 .L69:
989 .LCFI25:
990 .cfi_restore_state
429:Src/stm32g4xx_hal_msp.c **** PeriphClkInit.Usart1ClockSelection = RCC_USART1CLKSOURCE_PCLK2;
991 .loc 1 429 5 is_stmt 1 view .LVU258
429:Src/stm32g4xx_hal_msp.c **** PeriphClkInit.Usart1ClockSelection = RCC_USART1CLKSOURCE_PCLK2;
992 .loc 1 429 40 is_stmt 0 view .LVU259
ARM GAS /tmp/ccN6WdXz.s page 29
993 0026 0123 movs r3, #1
994 0028 0293 str r3, [sp, #8]
430:Src/stm32g4xx_hal_msp.c **** if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
995 .loc 1 430 5 is_stmt 1 view .LVU260
431:Src/stm32g4xx_hal_msp.c **** {
996 .loc 1 431 5 view .LVU261
431:Src/stm32g4xx_hal_msp.c **** {
997 .loc 1 431 9 is_stmt 0 view .LVU262
998 002a 02A8 add r0, sp, #8
999 002c FFF7FEFF bl HAL_RCCEx_PeriphCLKConfig
1000 .LVL56:
431:Src/stm32g4xx_hal_msp.c **** {
1001 .loc 1 431 8 view .LVU263
1002 0030 10BB cbnz r0, .L70
1003 .L67:
437:Src/stm32g4xx_hal_msp.c ****
1004 .loc 1 437 5 is_stmt 1 view .LVU264
1005 .LBB14:
437:Src/stm32g4xx_hal_msp.c ****
1006 .loc 1 437 5 view .LVU265
437:Src/stm32g4xx_hal_msp.c ****
1007 .loc 1 437 5 view .LVU266
1008 0032 144B ldr r3, .L71+4
1009 0034 1A6E ldr r2, [r3, #96]
1010 0036 42F48042 orr r2, r2, #16384
1011 003a 1A66 str r2, [r3, #96]
437:Src/stm32g4xx_hal_msp.c ****
1012 .loc 1 437 5 view .LVU267
1013 003c 1A6E ldr r2, [r3, #96]
1014 003e 02F48042 and r2, r2, #16384
1015 0042 0092 str r2, [sp]
437:Src/stm32g4xx_hal_msp.c ****
1016 .loc 1 437 5 view .LVU268
1017 0044 009A ldr r2, [sp]
1018 .LBE14:
437:Src/stm32g4xx_hal_msp.c ****
1019 .loc 1 437 5 view .LVU269
439:Src/stm32g4xx_hal_msp.c **** /**USART1 GPIO Configuration
1020 .loc 1 439 5 view .LVU270
1021 .LBB15:
439:Src/stm32g4xx_hal_msp.c **** /**USART1 GPIO Configuration
1022 .loc 1 439 5 view .LVU271
439:Src/stm32g4xx_hal_msp.c **** /**USART1 GPIO Configuration
1023 .loc 1 439 5 view .LVU272
1024 0046 DA6C ldr r2, [r3, #76]
1025 0048 42F00102 orr r2, r2, #1
1026 004c DA64 str r2, [r3, #76]
439:Src/stm32g4xx_hal_msp.c **** /**USART1 GPIO Configuration
1027 .loc 1 439 5 view .LVU273
1028 004e DB6C ldr r3, [r3, #76]
1029 0050 03F00103 and r3, r3, #1
1030 0054 0193 str r3, [sp, #4]
439:Src/stm32g4xx_hal_msp.c **** /**USART1 GPIO Configuration
1031 .loc 1 439 5 view .LVU274
1032 0056 019B ldr r3, [sp, #4]
1033 .LBE15:
439:Src/stm32g4xx_hal_msp.c **** /**USART1 GPIO Configuration
ARM GAS /tmp/ccN6WdXz.s page 30
1034 .loc 1 439 5 view .LVU275
444:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
1035 .loc 1 444 5 view .LVU276
444:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
1036 .loc 1 444 25 is_stmt 0 view .LVU277
1037 0058 4FF4C063 mov r3, #1536
1038 005c 1393 str r3, [sp, #76]
445:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
1039 .loc 1 445 5 is_stmt 1 view .LVU278
445:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
1040 .loc 1 445 26 is_stmt 0 view .LVU279
1041 005e 0223 movs r3, #2
1042 0060 1493 str r3, [sp, #80]
446:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
1043 .loc 1 446 5 is_stmt 1 view .LVU280
446:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
1044 .loc 1 446 26 is_stmt 0 view .LVU281
1045 0062 0023 movs r3, #0
1046 0064 1593 str r3, [sp, #84]
447:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Alternate = GPIO_AF7_USART1;
1047 .loc 1 447 5 is_stmt 1 view .LVU282
447:Src/stm32g4xx_hal_msp.c **** GPIO_InitStruct.Alternate = GPIO_AF7_USART1;
1048 .loc 1 447 27 is_stmt 0 view .LVU283
1049 0066 1693 str r3, [sp, #88]
448:Src/stm32g4xx_hal_msp.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
1050 .loc 1 448 5 is_stmt 1 view .LVU284
448:Src/stm32g4xx_hal_msp.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
1051 .loc 1 448 31 is_stmt 0 view .LVU285
1052 0068 0723 movs r3, #7
1053 006a 1793 str r3, [sp, #92]
449:Src/stm32g4xx_hal_msp.c ****
1054 .loc 1 449 5 is_stmt 1 view .LVU286
1055 006c 13A9 add r1, sp, #76
1056 006e 4FF09040 mov r0, #1207959552
1057 0072 FFF7FEFF bl HAL_GPIO_Init
1058 .LVL57:
1059 .loc 1 456 1 is_stmt 0 view .LVU287
1060 0076 D4E7 b .L65
1061 .L70:
433:Src/stm32g4xx_hal_msp.c **** }
1062 .loc 1 433 7 is_stmt 1 view .LVU288
1063 0078 FFF7FEFF bl Error_Handler
1064 .LVL58:
1065 007c D9E7 b .L67
1066 .L72:
1067 007e 00BF .align 2
1068 .L71:
1069 0080 00380140 .word 1073821696
1070 0084 00100240 .word 1073876992
1071 .cfi_endproc
1072 .LFE337:
1074 .section .text.HAL_UART_MspDeInit,"ax",%progbits
1075 .align 1
1076 .global HAL_UART_MspDeInit
1077 .syntax unified
1078 .thumb
1079 .thumb_func
ARM GAS /tmp/ccN6WdXz.s page 31
1081 HAL_UART_MspDeInit:
1082 .LVL59:
1083 .LFB338:
457:Src/stm32g4xx_hal_msp.c ****
458:Src/stm32g4xx_hal_msp.c **** /**
459:Src/stm32g4xx_hal_msp.c **** * @brief UART MSP De-Initialization
460:Src/stm32g4xx_hal_msp.c **** * This function freeze the hardware resources used in this example
461:Src/stm32g4xx_hal_msp.c **** * @param huart: UART handle pointer
462:Src/stm32g4xx_hal_msp.c **** * @retval None
463:Src/stm32g4xx_hal_msp.c **** */
464:Src/stm32g4xx_hal_msp.c **** void HAL_UART_MspDeInit(UART_HandleTypeDef* huart)
465:Src/stm32g4xx_hal_msp.c **** {
1084 .loc 1 465 1 view -0
1085 .cfi_startproc
1086 @ args = 0, pretend = 0, frame = 0
1087 @ frame_needed = 0, uses_anonymous_args = 0
1088 .loc 1 465 1 is_stmt 0 view .LVU290
1089 0000 08B5 push {r3, lr}
1090 .LCFI26:
1091 .cfi_def_cfa_offset 8
1092 .cfi_offset 3, -8
1093 .cfi_offset 14, -4
466:Src/stm32g4xx_hal_msp.c **** if(huart->Instance==USART1)
1094 .loc 1 466 3 is_stmt 1 view .LVU291
1095 .loc 1 466 11 is_stmt 0 view .LVU292
1096 0002 0268 ldr r2, [r0]
1097 .loc 1 466 5 view .LVU293
1098 0004 074B ldr r3, .L77
1099 0006 9A42 cmp r2, r3
1100 0008 00D0 beq .L76
1101 .LVL60:
1102 .L73:
467:Src/stm32g4xx_hal_msp.c **** {
468:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN USART1_MspDeInit 0 */
469:Src/stm32g4xx_hal_msp.c ****
470:Src/stm32g4xx_hal_msp.c **** /* USER CODE END USART1_MspDeInit 0 */
471:Src/stm32g4xx_hal_msp.c **** /* Peripheral clock disable */
472:Src/stm32g4xx_hal_msp.c **** __HAL_RCC_USART1_CLK_DISABLE();
473:Src/stm32g4xx_hal_msp.c ****
474:Src/stm32g4xx_hal_msp.c **** /**USART1 GPIO Configuration
475:Src/stm32g4xx_hal_msp.c **** PA9 ------> USART1_TX
476:Src/stm32g4xx_hal_msp.c **** PA10 ------> USART1_RX
477:Src/stm32g4xx_hal_msp.c **** */
478:Src/stm32g4xx_hal_msp.c **** HAL_GPIO_DeInit(GPIOA, GPIO_PIN_9|GPIO_PIN_10);
479:Src/stm32g4xx_hal_msp.c ****
480:Src/stm32g4xx_hal_msp.c **** /* USER CODE BEGIN USART1_MspDeInit 1 */
481:Src/stm32g4xx_hal_msp.c ****
482:Src/stm32g4xx_hal_msp.c **** /* USER CODE END USART1_MspDeInit 1 */
483:Src/stm32g4xx_hal_msp.c **** }
484:Src/stm32g4xx_hal_msp.c ****
485:Src/stm32g4xx_hal_msp.c **** }
1103 .loc 1 485 1 view .LVU294
1104 000a 08BD pop {r3, pc}
1105 .LVL61:
1106 .L76:
472:Src/stm32g4xx_hal_msp.c ****
1107 .loc 1 472 5 is_stmt 1 view .LVU295
ARM GAS /tmp/ccN6WdXz.s page 32
1108 000c 064A ldr r2, .L77+4
1109 000e 136E ldr r3, [r2, #96]
1110 0010 23F48043 bic r3, r3, #16384
1111 0014 1366 str r3, [r2, #96]
478:Src/stm32g4xx_hal_msp.c ****
1112 .loc 1 478 5 view .LVU296
1113 0016 4FF4C061 mov r1, #1536
1114 001a 4FF09040 mov r0, #1207959552
1115 .LVL62:
478:Src/stm32g4xx_hal_msp.c ****
1116 .loc 1 478 5 is_stmt 0 view .LVU297
1117 001e FFF7FEFF bl HAL_GPIO_DeInit
1118 .LVL63:
1119 .loc 1 485 1 view .LVU298
1120 0022 F2E7 b .L73
1121 .L78:
1122 .align 2
1123 .L77:
1124 0024 00380140 .word 1073821696
1125 0028 00100240 .word 1073876992
1126 .cfi_endproc
1127 .LFE338:
1129 .section .bss.HAL_RCC_ADC12_CLK_ENABLED,"aw",%nobits
1130 .align 2
1133 HAL_RCC_ADC12_CLK_ENABLED:
1134 0000 00000000 .space 4
1135 .text
1136 .Letext0:
1137 .file 2 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g431xx.h"
1138 .file 3 "/usr/lib/gcc/arm-none-eabi/12.2.1/include/stdint.h"
1139 .file 4 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g4xx.h"
1140 .file 5 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_def.h"
1141 .file 6 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_rcc_ex.h"
1142 .file 7 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_gpio.h"
1143 .file 8 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_dma.h"
1144 .file 9 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_adc.h"
1145 .file 10 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_i2c.h"
1146 .file 11 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_tim.h"
1147 .file 12 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_uart.h"
1148 .file 13 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_cortex.h"
1149 .file 14 "Inc/main.h"
1150 .file 15 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_pwr_ex.h"
1151 .file 16 "<built-in>"
ARM GAS /tmp/ccN6WdXz.s page 33
DEFINED SYMBOLS
*ABS*:00000000 stm32g4xx_hal_msp.c
/tmp/ccN6WdXz.s:21 .text.HAL_MspInit:00000000 $t
/tmp/ccN6WdXz.s:27 .text.HAL_MspInit:00000000 HAL_MspInit
/tmp/ccN6WdXz.s:83 .text.HAL_MspInit:00000034 $d
/tmp/ccN6WdXz.s:88 .text.HAL_ADC_MspInit:00000000 $t
/tmp/ccN6WdXz.s:94 .text.HAL_ADC_MspInit:00000000 HAL_ADC_MspInit
/tmp/ccN6WdXz.s:322 .text.HAL_ADC_MspInit:000000fc $d
/tmp/ccN6WdXz.s:1133 .bss.HAL_RCC_ADC12_CLK_ENABLED:00000000 HAL_RCC_ADC12_CLK_ENABLED
/tmp/ccN6WdXz.s:331 .text.HAL_ADC_MspDeInit:00000000 $t
/tmp/ccN6WdXz.s:337 .text.HAL_ADC_MspDeInit:00000000 HAL_ADC_MspDeInit
/tmp/ccN6WdXz.s:419 .text.HAL_ADC_MspDeInit:00000050 $d
/tmp/ccN6WdXz.s:427 .text.HAL_I2C_MspInit:00000000 $t
/tmp/ccN6WdXz.s:433 .text.HAL_I2C_MspInit:00000000 HAL_I2C_MspInit
/tmp/ccN6WdXz.s:607 .text.HAL_I2C_MspInit:000000a8 $d
/tmp/ccN6WdXz.s:614 .text.HAL_I2C_MspDeInit:00000000 $t
/tmp/ccN6WdXz.s:620 .text.HAL_I2C_MspDeInit:00000000 HAL_I2C_MspDeInit
/tmp/ccN6WdXz.s:668 .text.HAL_I2C_MspDeInit:0000002c $d
/tmp/ccN6WdXz.s:675 .text.HAL_TIM_Base_MspInit:00000000 $t
/tmp/ccN6WdXz.s:681 .text.HAL_TIM_Base_MspInit:00000000 HAL_TIM_Base_MspInit
/tmp/ccN6WdXz.s:771 .text.HAL_TIM_Base_MspInit:00000058 $d
/tmp/ccN6WdXz.s:777 .text.HAL_TIM_MspPostInit:00000000 $t
/tmp/ccN6WdXz.s:783 .text.HAL_TIM_MspPostInit:00000000 HAL_TIM_MspPostInit
/tmp/ccN6WdXz.s:868 .text.HAL_TIM_Base_MspDeInit:00000000 $t
/tmp/ccN6WdXz.s:874 .text.HAL_TIM_Base_MspDeInit:00000000 HAL_TIM_Base_MspDeInit
/tmp/ccN6WdXz.s:927 .text.HAL_TIM_Base_MspDeInit:00000034 $d
/tmp/ccN6WdXz.s:933 .text.HAL_UART_MspInit:00000000 $t
/tmp/ccN6WdXz.s:939 .text.HAL_UART_MspInit:00000000 HAL_UART_MspInit
/tmp/ccN6WdXz.s:1069 .text.HAL_UART_MspInit:00000080 $d
/tmp/ccN6WdXz.s:1075 .text.HAL_UART_MspDeInit:00000000 $t
/tmp/ccN6WdXz.s:1081 .text.HAL_UART_MspDeInit:00000000 HAL_UART_MspDeInit
/tmp/ccN6WdXz.s:1124 .text.HAL_UART_MspDeInit:00000024 $d
/tmp/ccN6WdXz.s:1130 .bss.HAL_RCC_ADC12_CLK_ENABLED:00000000 $d
UNDEFINED SYMBOLS
HAL_PWREx_DisableUCPDDeadBattery
memset
HAL_RCCEx_PeriphCLKConfig
HAL_GPIO_Init
Error_Handler
HAL_GPIO_DeInit
HAL_NVIC_SetPriority
HAL_NVIC_EnableIRQ
HAL_NVIC_DisableIRQ