adc.lst 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510
  1. ARM GAS /tmp/ccsyoZIu.s page 1
  2. 1 .cpu cortex-m4
  3. 2 .arch armv7e-m
  4. 3 .fpu fpv4-sp-d16
  5. 4 .eabi_attribute 27, 1
  6. 5 .eabi_attribute 28, 1
  7. 6 .eabi_attribute 20, 1
  8. 7 .eabi_attribute 21, 1
  9. 8 .eabi_attribute 23, 3
  10. 9 .eabi_attribute 24, 1
  11. 10 .eabi_attribute 25, 1
  12. 11 .eabi_attribute 26, 1
  13. 12 .eabi_attribute 30, 1
  14. 13 .eabi_attribute 34, 1
  15. 14 .eabi_attribute 18, 4
  16. 15 .file "adc.c"
  17. 16 .text
  18. 17 .Ltext0:
  19. 18 .cfi_sections .debug_frame
  20. 19 .section .text.MX_ADC1_Init,"ax",%progbits
  21. 20 .align 1
  22. 21 .global MX_ADC1_Init
  23. 22 .syntax unified
  24. 23 .thumb
  25. 24 .thumb_func
  26. 26 MX_ADC1_Init:
  27. 27 .LFB130:
  28. 28 .file 1 "Src/adc.c"
  29. 1:Src/adc.c **** /**
  30. 2:Src/adc.c **** ******************************************************************************
  31. 3:Src/adc.c **** * File Name : ADC.c
  32. 4:Src/adc.c **** * Description : This file provides code for the configuration
  33. 5:Src/adc.c **** * of the ADC instances.
  34. 6:Src/adc.c **** ******************************************************************************
  35. 7:Src/adc.c **** * @attention
  36. 8:Src/adc.c **** *
  37. 9:Src/adc.c **** * <h2><center>&copy; Copyright (c) 2022 STMicroelectronics.
  38. 10:Src/adc.c **** * All rights reserved.</center></h2>
  39. 11:Src/adc.c **** *
  40. 12:Src/adc.c **** * This software component is licensed by ST under BSD 3-Clause license,
  41. 13:Src/adc.c **** * the "License"; You may not use this file except in compliance with the
  42. 14:Src/adc.c **** * License. You may obtain a copy of the License at:
  43. 15:Src/adc.c **** * opensource.org/licenses/BSD-3-Clause
  44. 16:Src/adc.c **** *
  45. 17:Src/adc.c **** ******************************************************************************
  46. 18:Src/adc.c **** */
  47. 19:Src/adc.c ****
  48. 20:Src/adc.c **** /* Includes ------------------------------------------------------------------*/
  49. 21:Src/adc.c **** #include "adc.h"
  50. 22:Src/adc.c ****
  51. 23:Src/adc.c **** /* USER CODE BEGIN 0 */
  52. 24:Src/adc.c ****
  53. 25:Src/adc.c **** /* USER CODE END 0 */
  54. 26:Src/adc.c ****
  55. 27:Src/adc.c **** ADC_HandleTypeDef hadc1;
  56. 28:Src/adc.c ****
  57. 29:Src/adc.c **** /* ADC1 init function */
  58. 30:Src/adc.c **** void MX_ADC1_Init(void)
  59. ARM GAS /tmp/ccsyoZIu.s page 2
  60. 31:Src/adc.c **** {
  61. 29 .loc 1 31 1 view -0
  62. 30 .cfi_startproc
  63. 31 @ args = 0, pretend = 0, frame = 16
  64. 32 @ frame_needed = 0, uses_anonymous_args = 0
  65. 33 0000 00B5 push {lr}
  66. 34 .LCFI0:
  67. 35 .cfi_def_cfa_offset 4
  68. 36 .cfi_offset 14, -4
  69. 37 0002 85B0 sub sp, sp, #20
  70. 38 .LCFI1:
  71. 39 .cfi_def_cfa_offset 24
  72. 32:Src/adc.c **** ADC_ChannelConfTypeDef sConfig = {0};
  73. 40 .loc 1 32 3 view .LVU1
  74. 41 .loc 1 32 26 is_stmt 0 view .LVU2
  75. 42 0004 0023 movs r3, #0
  76. 43 0006 0093 str r3, [sp]
  77. 44 0008 0193 str r3, [sp, #4]
  78. 45 000a 0293 str r3, [sp, #8]
  79. 46 000c 0393 str r3, [sp, #12]
  80. 33:Src/adc.c ****
  81. 34:Src/adc.c **** /** Configure the global features of the ADC (Clock, Resolution, Data Alignment and number of con
  82. 35:Src/adc.c **** */
  83. 36:Src/adc.c **** hadc1.Instance = ADC1;
  84. 47 .loc 1 36 3 is_stmt 1 view .LVU3
  85. 48 .loc 1 36 18 is_stmt 0 view .LVU4
  86. 49 000e 1448 ldr r0, .L7
  87. 50 0010 144A ldr r2, .L7+4
  88. 51 0012 0260 str r2, [r0]
  89. 37:Src/adc.c **** hadc1.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV2;
  90. 52 .loc 1 37 3 is_stmt 1 view .LVU5
  91. 53 .loc 1 37 29 is_stmt 0 view .LVU6
  92. 54 0014 4360 str r3, [r0, #4]
  93. 38:Src/adc.c **** hadc1.Init.Resolution = ADC_RESOLUTION_12B;
  94. 55 .loc 1 38 3 is_stmt 1 view .LVU7
  95. 56 .loc 1 38 25 is_stmt 0 view .LVU8
  96. 57 0016 8360 str r3, [r0, #8]
  97. 39:Src/adc.c **** hadc1.Init.ScanConvMode = DISABLE;
  98. 58 .loc 1 39 3 is_stmt 1 view .LVU9
  99. 59 .loc 1 39 27 is_stmt 0 view .LVU10
  100. 60 0018 0361 str r3, [r0, #16]
  101. 40:Src/adc.c **** hadc1.Init.ContinuousConvMode = DISABLE;
  102. 61 .loc 1 40 3 is_stmt 1 view .LVU11
  103. 62 .loc 1 40 33 is_stmt 0 view .LVU12
  104. 63 001a 0376 strb r3, [r0, #24]
  105. 41:Src/adc.c **** hadc1.Init.DiscontinuousConvMode = DISABLE;
  106. 64 .loc 1 41 3 is_stmt 1 view .LVU13
  107. 65 .loc 1 41 36 is_stmt 0 view .LVU14
  108. 66 001c 80F82030 strb r3, [r0, #32]
  109. 42:Src/adc.c **** hadc1.Init.ExternalTrigConvEdge = ADC_EXTERNALTRIGCONVEDGE_NONE;
  110. 67 .loc 1 42 3 is_stmt 1 view .LVU15
  111. 68 .loc 1 42 35 is_stmt 0 view .LVU16
  112. 69 0020 C362 str r3, [r0, #44]
  113. 43:Src/adc.c **** hadc1.Init.ExternalTrigConv = ADC_SOFTWARE_START;
  114. 70 .loc 1 43 3 is_stmt 1 view .LVU17
  115. 71 .loc 1 43 31 is_stmt 0 view .LVU18
  116. 72 0022 114A ldr r2, .L7+8
  117. ARM GAS /tmp/ccsyoZIu.s page 3
  118. 73 0024 8262 str r2, [r0, #40]
  119. 44:Src/adc.c **** hadc1.Init.DataAlign = ADC_DATAALIGN_RIGHT;
  120. 74 .loc 1 44 3 is_stmt 1 view .LVU19
  121. 75 .loc 1 44 24 is_stmt 0 view .LVU20
  122. 76 0026 C360 str r3, [r0, #12]
  123. 45:Src/adc.c **** hadc1.Init.NbrOfConversion = 1;
  124. 77 .loc 1 45 3 is_stmt 1 view .LVU21
  125. 78 .loc 1 45 30 is_stmt 0 view .LVU22
  126. 79 0028 0122 movs r2, #1
  127. 80 002a C261 str r2, [r0, #28]
  128. 46:Src/adc.c **** hadc1.Init.DMAContinuousRequests = DISABLE;
  129. 81 .loc 1 46 3 is_stmt 1 view .LVU23
  130. 82 .loc 1 46 36 is_stmt 0 view .LVU24
  131. 83 002c 80F83030 strb r3, [r0, #48]
  132. 47:Src/adc.c **** hadc1.Init.EOCSelection = ADC_EOC_SINGLE_CONV;
  133. 84 .loc 1 47 3 is_stmt 1 view .LVU25
  134. 85 .loc 1 47 27 is_stmt 0 view .LVU26
  135. 86 0030 4261 str r2, [r0, #20]
  136. 48:Src/adc.c **** if (HAL_ADC_Init(&hadc1) != HAL_OK)
  137. 87 .loc 1 48 3 is_stmt 1 view .LVU27
  138. 88 .loc 1 48 7 is_stmt 0 view .LVU28
  139. 89 0032 FFF7FEFF bl HAL_ADC_Init
  140. 90 .LVL0:
  141. 91 .loc 1 48 6 view .LVU29
  142. 92 0036 68B9 cbnz r0, .L5
  143. 93 .L2:
  144. 49:Src/adc.c **** {
  145. 50:Src/adc.c **** Error_Handler();
  146. 51:Src/adc.c **** }
  147. 52:Src/adc.c **** /** Configure for the selected ADC regular channel its corresponding rank in the sequencer and it
  148. 53:Src/adc.c **** */
  149. 54:Src/adc.c **** sConfig.Channel = ADC_CHANNEL_4;
  150. 94 .loc 1 54 3 is_stmt 1 view .LVU30
  151. 95 .loc 1 54 19 is_stmt 0 view .LVU31
  152. 96 0038 0423 movs r3, #4
  153. 97 003a 0093 str r3, [sp]
  154. 55:Src/adc.c **** sConfig.Rank = 1;
  155. 98 .loc 1 55 3 is_stmt 1 view .LVU32
  156. 99 .loc 1 55 16 is_stmt 0 view .LVU33
  157. 100 003c 0123 movs r3, #1
  158. 101 003e 0193 str r3, [sp, #4]
  159. 56:Src/adc.c **** sConfig.SamplingTime = ADC_SAMPLETIME_3CYCLES;
  160. 102 .loc 1 56 3 is_stmt 1 view .LVU34
  161. 103 .loc 1 56 24 is_stmt 0 view .LVU35
  162. 104 0040 0023 movs r3, #0
  163. 105 0042 0293 str r3, [sp, #8]
  164. 57:Src/adc.c **** if (HAL_ADC_ConfigChannel(&hadc1, &sConfig) != HAL_OK)
  165. 106 .loc 1 57 3 is_stmt 1 view .LVU36
  166. 107 .loc 1 57 7 is_stmt 0 view .LVU37
  167. 108 0044 6946 mov r1, sp
  168. 109 0046 0648 ldr r0, .L7
  169. 110 0048 FFF7FEFF bl HAL_ADC_ConfigChannel
  170. 111 .LVL1:
  171. 112 .loc 1 57 6 view .LVU38
  172. 113 004c 28B9 cbnz r0, .L6
  173. 114 .L1:
  174. 58:Src/adc.c **** {
  175. ARM GAS /tmp/ccsyoZIu.s page 4
  176. 59:Src/adc.c **** Error_Handler();
  177. 60:Src/adc.c **** }
  178. 61:Src/adc.c ****
  179. 62:Src/adc.c **** }
  180. 115 .loc 1 62 1 view .LVU39
  181. 116 004e 05B0 add sp, sp, #20
  182. 117 .LCFI2:
  183. 118 .cfi_remember_state
  184. 119 .cfi_def_cfa_offset 4
  185. 120 @ sp needed
  186. 121 0050 5DF804FB ldr pc, [sp], #4
  187. 122 .L5:
  188. 123 .LCFI3:
  189. 124 .cfi_restore_state
  190. 50:Src/adc.c **** }
  191. 125 .loc 1 50 5 is_stmt 1 view .LVU40
  192. 126 0054 FFF7FEFF bl Error_Handler
  193. 127 .LVL2:
  194. 128 0058 EEE7 b .L2
  195. 129 .L6:
  196. 59:Src/adc.c **** }
  197. 130 .loc 1 59 5 view .LVU41
  198. 131 005a FFF7FEFF bl Error_Handler
  199. 132 .LVL3:
  200. 133 .loc 1 62 1 is_stmt 0 view .LVU42
  201. 134 005e F6E7 b .L1
  202. 135 .L8:
  203. 136 .align 2
  204. 137 .L7:
  205. 138 0060 00000000 .word .LANCHOR0
  206. 139 0064 00200140 .word 1073815552
  207. 140 0068 0100000F .word 251658241
  208. 141 .cfi_endproc
  209. 142 .LFE130:
  210. 144 .section .text.HAL_ADC_MspInit,"ax",%progbits
  211. 145 .align 1
  212. 146 .global HAL_ADC_MspInit
  213. 147 .syntax unified
  214. 148 .thumb
  215. 149 .thumb_func
  216. 151 HAL_ADC_MspInit:
  217. 152 .LVL4:
  218. 153 .LFB131:
  219. 63:Src/adc.c ****
  220. 64:Src/adc.c **** void HAL_ADC_MspInit(ADC_HandleTypeDef* adcHandle)
  221. 65:Src/adc.c **** {
  222. 154 .loc 1 65 1 is_stmt 1 view -0
  223. 155 .cfi_startproc
  224. 156 @ args = 0, pretend = 0, frame = 32
  225. 157 @ frame_needed = 0, uses_anonymous_args = 0
  226. 158 .loc 1 65 1 is_stmt 0 view .LVU44
  227. 159 0000 00B5 push {lr}
  228. 160 .LCFI4:
  229. 161 .cfi_def_cfa_offset 4
  230. 162 .cfi_offset 14, -4
  231. 163 0002 89B0 sub sp, sp, #36
  232. 164 .LCFI5:
  233. ARM GAS /tmp/ccsyoZIu.s page 5
  234. 165 .cfi_def_cfa_offset 40
  235. 66:Src/adc.c ****
  236. 67:Src/adc.c **** GPIO_InitTypeDef GPIO_InitStruct = {0};
  237. 166 .loc 1 67 3 is_stmt 1 view .LVU45
  238. 167 .loc 1 67 20 is_stmt 0 view .LVU46
  239. 168 0004 0023 movs r3, #0
  240. 169 0006 0393 str r3, [sp, #12]
  241. 170 0008 0493 str r3, [sp, #16]
  242. 171 000a 0593 str r3, [sp, #20]
  243. 172 000c 0693 str r3, [sp, #24]
  244. 173 000e 0793 str r3, [sp, #28]
  245. 68:Src/adc.c **** if(adcHandle->Instance==ADC1)
  246. 174 .loc 1 68 3 is_stmt 1 view .LVU47
  247. 175 .loc 1 68 15 is_stmt 0 view .LVU48
  248. 176 0010 0268 ldr r2, [r0]
  249. 177 .loc 1 68 5 view .LVU49
  250. 178 0012 03F18043 add r3, r3, #1073741824
  251. 179 0016 03F59033 add r3, r3, #73728
  252. 180 001a 9A42 cmp r2, r3
  253. 181 001c 02D0 beq .L12
  254. 182 .LVL5:
  255. 183 .L9:
  256. 69:Src/adc.c **** {
  257. 70:Src/adc.c **** /* USER CODE BEGIN ADC1_MspInit 0 */
  258. 71:Src/adc.c ****
  259. 72:Src/adc.c **** /* USER CODE END ADC1_MspInit 0 */
  260. 73:Src/adc.c **** /* ADC1 clock enable */
  261. 74:Src/adc.c **** __HAL_RCC_ADC1_CLK_ENABLE();
  262. 75:Src/adc.c ****
  263. 76:Src/adc.c **** __HAL_RCC_GPIOA_CLK_ENABLE();
  264. 77:Src/adc.c **** /**ADC1 GPIO Configuration
  265. 78:Src/adc.c **** PA4 ------> ADC1_IN4
  266. 79:Src/adc.c **** */
  267. 80:Src/adc.c **** GPIO_InitStruct.Pin = GPIO_PIN_4;
  268. 81:Src/adc.c **** GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
  269. 82:Src/adc.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
  270. 83:Src/adc.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
  271. 84:Src/adc.c ****
  272. 85:Src/adc.c **** /* USER CODE BEGIN ADC1_MspInit 1 */
  273. 86:Src/adc.c ****
  274. 87:Src/adc.c **** /* USER CODE END ADC1_MspInit 1 */
  275. 88:Src/adc.c **** }
  276. 89:Src/adc.c **** }
  277. 184 .loc 1 89 1 view .LVU50
  278. 185 001e 09B0 add sp, sp, #36
  279. 186 .LCFI6:
  280. 187 .cfi_remember_state
  281. 188 .cfi_def_cfa_offset 4
  282. 189 @ sp needed
  283. 190 0020 5DF804FB ldr pc, [sp], #4
  284. 191 .LVL6:
  285. 192 .L12:
  286. 193 .LCFI7:
  287. 194 .cfi_restore_state
  288. 74:Src/adc.c ****
  289. 195 .loc 1 74 5 is_stmt 1 view .LVU51
  290. 196 .LBB2:
  291. ARM GAS /tmp/ccsyoZIu.s page 6
  292. 74:Src/adc.c ****
  293. 197 .loc 1 74 5 view .LVU52
  294. 198 0024 0021 movs r1, #0
  295. 199 0026 0191 str r1, [sp, #4]
  296. 74:Src/adc.c ****
  297. 200 .loc 1 74 5 view .LVU53
  298. 201 0028 03F58C33 add r3, r3, #71680
  299. 202 002c 5A6C ldr r2, [r3, #68]
  300. 203 002e 42F48072 orr r2, r2, #256
  301. 204 0032 5A64 str r2, [r3, #68]
  302. 74:Src/adc.c ****
  303. 205 .loc 1 74 5 view .LVU54
  304. 206 0034 5A6C ldr r2, [r3, #68]
  305. 207 0036 02F48072 and r2, r2, #256
  306. 208 003a 0192 str r2, [sp, #4]
  307. 74:Src/adc.c ****
  308. 209 .loc 1 74 5 view .LVU55
  309. 210 003c 019A ldr r2, [sp, #4]
  310. 211 .LBE2:
  311. 74:Src/adc.c ****
  312. 212 .loc 1 74 5 view .LVU56
  313. 76:Src/adc.c **** /**ADC1 GPIO Configuration
  314. 213 .loc 1 76 5 view .LVU57
  315. 214 .LBB3:
  316. 76:Src/adc.c **** /**ADC1 GPIO Configuration
  317. 215 .loc 1 76 5 view .LVU58
  318. 216 003e 0291 str r1, [sp, #8]
  319. 76:Src/adc.c **** /**ADC1 GPIO Configuration
  320. 217 .loc 1 76 5 view .LVU59
  321. 218 0040 1A6B ldr r2, [r3, #48]
  322. 219 0042 42F00102 orr r2, r2, #1
  323. 220 0046 1A63 str r2, [r3, #48]
  324. 76:Src/adc.c **** /**ADC1 GPIO Configuration
  325. 221 .loc 1 76 5 view .LVU60
  326. 222 0048 1B6B ldr r3, [r3, #48]
  327. 223 004a 03F00103 and r3, r3, #1
  328. 224 004e 0293 str r3, [sp, #8]
  329. 76:Src/adc.c **** /**ADC1 GPIO Configuration
  330. 225 .loc 1 76 5 view .LVU61
  331. 226 0050 029B ldr r3, [sp, #8]
  332. 227 .LBE3:
  333. 76:Src/adc.c **** /**ADC1 GPIO Configuration
  334. 228 .loc 1 76 5 view .LVU62
  335. 80:Src/adc.c **** GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
  336. 229 .loc 1 80 5 view .LVU63
  337. 80:Src/adc.c **** GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
  338. 230 .loc 1 80 25 is_stmt 0 view .LVU64
  339. 231 0052 1023 movs r3, #16
  340. 232 0054 0393 str r3, [sp, #12]
  341. 81:Src/adc.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
  342. 233 .loc 1 81 5 is_stmt 1 view .LVU65
  343. 81:Src/adc.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
  344. 234 .loc 1 81 26 is_stmt 0 view .LVU66
  345. 235 0056 0323 movs r3, #3
  346. 236 0058 0493 str r3, [sp, #16]
  347. 82:Src/adc.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
  348. 237 .loc 1 82 5 is_stmt 1 view .LVU67
  349. ARM GAS /tmp/ccsyoZIu.s page 7
  350. 83:Src/adc.c ****
  351. 238 .loc 1 83 5 view .LVU68
  352. 239 005a 03A9 add r1, sp, #12
  353. 240 005c 0148 ldr r0, .L13
  354. 241 .LVL7:
  355. 83:Src/adc.c ****
  356. 242 .loc 1 83 5 is_stmt 0 view .LVU69
  357. 243 005e FFF7FEFF bl HAL_GPIO_Init
  358. 244 .LVL8:
  359. 245 .loc 1 89 1 view .LVU70
  360. 246 0062 DCE7 b .L9
  361. 247 .L14:
  362. 248 .align 2
  363. 249 .L13:
  364. 250 0064 00000240 .word 1073872896
  365. 251 .cfi_endproc
  366. 252 .LFE131:
  367. 254 .section .text.HAL_ADC_MspDeInit,"ax",%progbits
  368. 255 .align 1
  369. 256 .global HAL_ADC_MspDeInit
  370. 257 .syntax unified
  371. 258 .thumb
  372. 259 .thumb_func
  373. 261 HAL_ADC_MspDeInit:
  374. 262 .LVL9:
  375. 263 .LFB132:
  376. 90:Src/adc.c ****
  377. 91:Src/adc.c **** void HAL_ADC_MspDeInit(ADC_HandleTypeDef* adcHandle)
  378. 92:Src/adc.c **** {
  379. 264 .loc 1 92 1 is_stmt 1 view -0
  380. 265 .cfi_startproc
  381. 266 @ args = 0, pretend = 0, frame = 0
  382. 267 @ frame_needed = 0, uses_anonymous_args = 0
  383. 268 .loc 1 92 1 is_stmt 0 view .LVU72
  384. 269 0000 08B5 push {r3, lr}
  385. 270 .LCFI8:
  386. 271 .cfi_def_cfa_offset 8
  387. 272 .cfi_offset 3, -8
  388. 273 .cfi_offset 14, -4
  389. 93:Src/adc.c ****
  390. 94:Src/adc.c **** if(adcHandle->Instance==ADC1)
  391. 274 .loc 1 94 3 is_stmt 1 view .LVU73
  392. 275 .loc 1 94 15 is_stmt 0 view .LVU74
  393. 276 0002 0268 ldr r2, [r0]
  394. 277 .loc 1 94 5 view .LVU75
  395. 278 0004 064B ldr r3, .L19
  396. 279 0006 9A42 cmp r2, r3
  397. 280 0008 00D0 beq .L18
  398. 281 .LVL10:
  399. 282 .L15:
  400. 95:Src/adc.c **** {
  401. 96:Src/adc.c **** /* USER CODE BEGIN ADC1_MspDeInit 0 */
  402. 97:Src/adc.c ****
  403. 98:Src/adc.c **** /* USER CODE END ADC1_MspDeInit 0 */
  404. 99:Src/adc.c **** /* Peripheral clock disable */
  405. 100:Src/adc.c **** __HAL_RCC_ADC1_CLK_DISABLE();
  406. 101:Src/adc.c ****
  407. ARM GAS /tmp/ccsyoZIu.s page 8
  408. 102:Src/adc.c **** /**ADC1 GPIO Configuration
  409. 103:Src/adc.c **** PA4 ------> ADC1_IN4
  410. 104:Src/adc.c **** */
  411. 105:Src/adc.c **** HAL_GPIO_DeInit(GPIOA, GPIO_PIN_4);
  412. 106:Src/adc.c ****
  413. 107:Src/adc.c **** /* USER CODE BEGIN ADC1_MspDeInit 1 */
  414. 108:Src/adc.c ****
  415. 109:Src/adc.c **** /* USER CODE END ADC1_MspDeInit 1 */
  416. 110:Src/adc.c **** }
  417. 111:Src/adc.c **** }
  418. 283 .loc 1 111 1 view .LVU76
  419. 284 000a 08BD pop {r3, pc}
  420. 285 .LVL11:
  421. 286 .L18:
  422. 100:Src/adc.c ****
  423. 287 .loc 1 100 5 is_stmt 1 view .LVU77
  424. 288 000c 054A ldr r2, .L19+4
  425. 289 000e 536C ldr r3, [r2, #68]
  426. 290 0010 23F48073 bic r3, r3, #256
  427. 291 0014 5364 str r3, [r2, #68]
  428. 105:Src/adc.c ****
  429. 292 .loc 1 105 5 view .LVU78
  430. 293 0016 1021 movs r1, #16
  431. 294 0018 0348 ldr r0, .L19+8
  432. 295 .LVL12:
  433. 105:Src/adc.c ****
  434. 296 .loc 1 105 5 is_stmt 0 view .LVU79
  435. 297 001a FFF7FEFF bl HAL_GPIO_DeInit
  436. 298 .LVL13:
  437. 299 .loc 1 111 1 view .LVU80
  438. 300 001e F4E7 b .L15
  439. 301 .L20:
  440. 302 .align 2
  441. 303 .L19:
  442. 304 0020 00200140 .word 1073815552
  443. 305 0024 00380240 .word 1073887232
  444. 306 0028 00000240 .word 1073872896
  445. 307 .cfi_endproc
  446. 308 .LFE132:
  447. 310 .global hadc1
  448. 311 .section .bss.hadc1,"aw",%nobits
  449. 312 .align 2
  450. 313 .set .LANCHOR0,. + 0
  451. 316 hadc1:
  452. 317 0000 00000000 .space 72
  453. 317 00000000
  454. 317 00000000
  455. 317 00000000
  456. 317 00000000
  457. 318 .text
  458. 319 .Letext0:
  459. 320 .file 2 "/home/gitc/\346\241\214\351\235\242/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include/
  460. 321 .file 3 "/home/gitc/\346\241\214\351\235\242/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include/
  461. 322 .file 4 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h"
  462. 323 .file 5 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h"
  463. 324 .file 6 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h"
  464. 325 .file 7 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h"
  465. ARM GAS /tmp/ccsyoZIu.s page 9
  466. 326 .file 8 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h"
  467. 327 .file 9 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h"
  468. 328 .file 10 "Inc/main.h"
  469. 329 .file 11 "Inc/adc.h"
  470. ARM GAS /tmp/ccsyoZIu.s page 10
  471. DEFINED SYMBOLS
  472. *ABS*:0000000000000000 adc.c
  473. /tmp/ccsyoZIu.s:20 .text.MX_ADC1_Init:0000000000000000 $t
  474. /tmp/ccsyoZIu.s:26 .text.MX_ADC1_Init:0000000000000000 MX_ADC1_Init
  475. /tmp/ccsyoZIu.s:138 .text.MX_ADC1_Init:0000000000000060 $d
  476. /tmp/ccsyoZIu.s:145 .text.HAL_ADC_MspInit:0000000000000000 $t
  477. /tmp/ccsyoZIu.s:151 .text.HAL_ADC_MspInit:0000000000000000 HAL_ADC_MspInit
  478. /tmp/ccsyoZIu.s:250 .text.HAL_ADC_MspInit:0000000000000064 $d
  479. /tmp/ccsyoZIu.s:255 .text.HAL_ADC_MspDeInit:0000000000000000 $t
  480. /tmp/ccsyoZIu.s:261 .text.HAL_ADC_MspDeInit:0000000000000000 HAL_ADC_MspDeInit
  481. /tmp/ccsyoZIu.s:304 .text.HAL_ADC_MspDeInit:0000000000000020 $d
  482. /tmp/ccsyoZIu.s:316 .bss.hadc1:0000000000000000 hadc1
  483. /tmp/ccsyoZIu.s:312 .bss.hadc1:0000000000000000 $d
  484. UNDEFINED SYMBOLS
  485. HAL_ADC_Init
  486. HAL_ADC_ConfigChannel
  487. Error_Handler
  488. HAL_GPIO_Init
  489. HAL_GPIO_DeInit