gpio.lst 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516
  1. ARM GAS C:\Users\zl835\AppData\Local\Temp\cckVA8bc.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, 2
  14. 13 .eabi_attribute 34, 1
  15. 14 .eabi_attribute 18, 4
  16. 15 .file "gpio.c"
  17. 16 .text
  18. 17 .Ltext0:
  19. 18 .cfi_sections .debug_frame
  20. 19 .section .text.MX_GPIO_Init,"ax",%progbits
  21. 20 .align 1
  22. 21 .p2align 2,,3
  23. 22 .global MX_GPIO_Init
  24. 23 .syntax unified
  25. 24 .thumb
  26. 25 .thumb_func
  27. 27 MX_GPIO_Init:
  28. 28 .LFB130:
  29. 29 .file 1 "Core/Src/gpio.c"
  30. 1:Core/Src/gpio.c **** /* USER CODE BEGIN Header */
  31. 2:Core/Src/gpio.c **** /**
  32. 3:Core/Src/gpio.c **** ******************************************************************************
  33. 4:Core/Src/gpio.c **** * @file gpio.c
  34. 5:Core/Src/gpio.c **** * @brief This file provides code for the configuration
  35. 6:Core/Src/gpio.c **** * of all used GPIO pins.
  36. 7:Core/Src/gpio.c **** ******************************************************************************
  37. 8:Core/Src/gpio.c **** * @attention
  38. 9:Core/Src/gpio.c **** *
  39. 10:Core/Src/gpio.c **** * Copyright (c) 2025 STMicroelectronics.
  40. 11:Core/Src/gpio.c **** * All rights reserved.
  41. 12:Core/Src/gpio.c **** *
  42. 13:Core/Src/gpio.c **** * This software is licensed under terms that can be found in the LICENSE file
  43. 14:Core/Src/gpio.c **** * in the root directory of this software component.
  44. 15:Core/Src/gpio.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
  45. 16:Core/Src/gpio.c **** *
  46. 17:Core/Src/gpio.c **** ******************************************************************************
  47. 18:Core/Src/gpio.c **** */
  48. 19:Core/Src/gpio.c **** /* USER CODE END Header */
  49. 20:Core/Src/gpio.c ****
  50. 21:Core/Src/gpio.c **** /* Includes ------------------------------------------------------------------*/
  51. 22:Core/Src/gpio.c **** #include "gpio.h"
  52. 23:Core/Src/gpio.c ****
  53. 24:Core/Src/gpio.c **** /* USER CODE BEGIN 0 */
  54. 25:Core/Src/gpio.c ****
  55. 26:Core/Src/gpio.c **** /* USER CODE END 0 */
  56. 27:Core/Src/gpio.c ****
  57. 28:Core/Src/gpio.c **** /*----------------------------------------------------------------------------*/
  58. 29:Core/Src/gpio.c **** /* Configure GPIO */
  59. ARM GAS C:\Users\zl835\AppData\Local\Temp\cckVA8bc.s page 2
  60. 30:Core/Src/gpio.c **** /*----------------------------------------------------------------------------*/
  61. 31:Core/Src/gpio.c **** /* USER CODE BEGIN 1 */
  62. 32:Core/Src/gpio.c ****
  63. 33:Core/Src/gpio.c **** /* USER CODE END 1 */
  64. 34:Core/Src/gpio.c ****
  65. 35:Core/Src/gpio.c **** /** Configure pins as
  66. 36:Core/Src/gpio.c **** * Analog
  67. 37:Core/Src/gpio.c **** * Input
  68. 38:Core/Src/gpio.c **** * Output
  69. 39:Core/Src/gpio.c **** * EVENT_OUT
  70. 40:Core/Src/gpio.c **** * EXTI
  71. 41:Core/Src/gpio.c **** * Free pins are configured automatically as Analog (this feature is enabled through
  72. 42:Core/Src/gpio.c **** * the Code Generation settings)
  73. 43:Core/Src/gpio.c **** */
  74. 44:Core/Src/gpio.c **** void MX_GPIO_Init(void)
  75. 45:Core/Src/gpio.c **** {
  76. 30 .loc 1 45 1 view -0
  77. 31 .cfi_startproc
  78. 32 @ args = 0, pretend = 0, frame = 40
  79. 33 @ frame_needed = 0, uses_anonymous_args = 0
  80. 46:Core/Src/gpio.c ****
  81. 47:Core/Src/gpio.c **** GPIO_InitTypeDef GPIO_InitStruct = {0};
  82. 34 .loc 1 47 3 view .LVU1
  83. 45:Core/Src/gpio.c ****
  84. 35 .loc 1 45 1 is_stmt 0 view .LVU2
  85. 36 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr}
  86. 37 .LCFI0:
  87. 38 .cfi_def_cfa_offset 24
  88. 39 .cfi_offset 4, -24
  89. 40 .cfi_offset 5, -20
  90. 41 .cfi_offset 6, -16
  91. 42 .cfi_offset 7, -12
  92. 43 .cfi_offset 8, -8
  93. 44 .cfi_offset 14, -4
  94. 45 .loc 1 47 20 view .LVU3
  95. 46 0004 0024 movs r4, #0
  96. 45:Core/Src/gpio.c ****
  97. 47 .loc 1 45 1 view .LVU4
  98. 48 0006 8AB0 sub sp, sp, #40
  99. 49 .LCFI1:
  100. 50 .cfi_def_cfa_offset 64
  101. 51 .loc 1 47 20 view .LVU5
  102. 52 0008 CDE90544 strd r4, r4, [sp, #20]
  103. 53 000c CDE90744 strd r4, r4, [sp, #28]
  104. 54 .LBB2:
  105. 48:Core/Src/gpio.c ****
  106. 49:Core/Src/gpio.c **** /* GPIO Ports Clock Enable */
  107. 50:Core/Src/gpio.c **** __HAL_RCC_GPIOC_CLK_ENABLE();
  108. 55 .loc 1 50 3 view .LVU6
  109. 56 0010 444B ldr r3, .L4
  110. 57 .LBE2:
  111. 47:Core/Src/gpio.c ****
  112. 58 .loc 1 47 20 view .LVU7
  113. 59 0012 0994 str r4, [sp, #36]
  114. 60 .loc 1 50 3 is_stmt 1 view .LVU8
  115. 61 .LBB3:
  116. 62 .loc 1 50 3 view .LVU9
  117. ARM GAS C:\Users\zl835\AppData\Local\Temp\cckVA8bc.s page 3
  118. 63 .loc 1 50 3 view .LVU10
  119. 64 0014 5969 ldr r1, [r3, #20]
  120. 65 .LBE3:
  121. 51:Core/Src/gpio.c **** __HAL_RCC_GPIOF_CLK_ENABLE();
  122. 52:Core/Src/gpio.c **** __HAL_RCC_GPIOA_CLK_ENABLE();
  123. 53:Core/Src/gpio.c **** __HAL_RCC_GPIOB_CLK_ENABLE();
  124. 54:Core/Src/gpio.c ****
  125. 55:Core/Src/gpio.c **** HAL_GPIO_WritePin(GPIOA,GPIO_PIN_4 | GPIO_PIN_5 | GPIO_PIN_6 , GPIO_PIN_SET);
  126. 56:Core/Src/gpio.c ****
  127. 57:Core/Src/gpio.c **** GPIO_InitStruct.Pin = GPIO_PIN_4 | GPIO_PIN_6;
  128. 58:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
  129. 59:Core/Src/gpio.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
  130. 60:Core/Src/gpio.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
  131. 61:Core/Src/gpio.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
  132. 62:Core/Src/gpio.c ****
  133. 63:Core/Src/gpio.c **** GPIO_InitStruct.Pin = GPIO_PIN_5;
  134. 64:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_OD;
  135. 65:Core/Src/gpio.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
  136. 66:Core/Src/gpio.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
  137. 67:Core/Src/gpio.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
  138. 68:Core/Src/gpio.c ****
  139. 69:Core/Src/gpio.c **** GPIO_InitStruct.Pin = GPIO_PIN_15;
  140. 70:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
  141. 71:Core/Src/gpio.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
  142. 72:Core/Src/gpio.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
  143. 73:Core/Src/gpio.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
  144. 74:Core/Src/gpio.c ****
  145. 75:Core/Src/gpio.c **** GPIO_InitStruct.Pin = GPIO_PIN_3 | GPIO_PIN_4 | GPIO_PIN_5;
  146. 76:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
  147. 77:Core/Src/gpio.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
  148. 78:Core/Src/gpio.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
  149. 79:Core/Src/gpio.c **** HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
  150. 66 .loc 1 79 3 is_stmt 0 view .LVU11
  151. 67 0016 444D ldr r5, .L4+4
  152. 68 .LBB4:
  153. 50:Core/Src/gpio.c **** __HAL_RCC_GPIOF_CLK_ENABLE();
  154. 69 .loc 1 50 3 view .LVU12
  155. 70 0018 41F40021 orr r1, r1, #524288
  156. 71 001c 5961 str r1, [r3, #20]
  157. 50:Core/Src/gpio.c **** __HAL_RCC_GPIOF_CLK_ENABLE();
  158. 72 .loc 1 50 3 is_stmt 1 view .LVU13
  159. 73 001e 5969 ldr r1, [r3, #20]
  160. 74 0020 01F40021 and r1, r1, #524288
  161. 75 0024 0191 str r1, [sp, #4]
  162. 50:Core/Src/gpio.c **** __HAL_RCC_GPIOF_CLK_ENABLE();
  163. 76 .loc 1 50 3 view .LVU14
  164. 77 0026 0199 ldr r1, [sp, #4]
  165. 78 .LBE4:
  166. 50:Core/Src/gpio.c **** __HAL_RCC_GPIOF_CLK_ENABLE();
  167. 79 .loc 1 50 3 view .LVU15
  168. 51:Core/Src/gpio.c **** __HAL_RCC_GPIOF_CLK_ENABLE();
  169. 80 .loc 1 51 3 view .LVU16
  170. 81 .LBB5:
  171. 51:Core/Src/gpio.c **** __HAL_RCC_GPIOF_CLK_ENABLE();
  172. 82 .loc 1 51 3 view .LVU17
  173. 51:Core/Src/gpio.c **** __HAL_RCC_GPIOF_CLK_ENABLE();
  174. 83 .loc 1 51 3 view .LVU18
  175. ARM GAS C:\Users\zl835\AppData\Local\Temp\cckVA8bc.s page 4
  176. 84 0028 5969 ldr r1, [r3, #20]
  177. 85 002a 41F48001 orr r1, r1, #4194304
  178. 86 002e 5961 str r1, [r3, #20]
  179. 51:Core/Src/gpio.c **** __HAL_RCC_GPIOF_CLK_ENABLE();
  180. 87 .loc 1 51 3 view .LVU19
  181. 88 0030 5969 ldr r1, [r3, #20]
  182. 89 0032 01F48001 and r1, r1, #4194304
  183. 90 0036 0291 str r1, [sp, #8]
  184. 51:Core/Src/gpio.c **** __HAL_RCC_GPIOF_CLK_ENABLE();
  185. 91 .loc 1 51 3 view .LVU20
  186. 92 0038 0299 ldr r1, [sp, #8]
  187. 93 .LBE5:
  188. 51:Core/Src/gpio.c **** __HAL_RCC_GPIOF_CLK_ENABLE();
  189. 94 .loc 1 51 3 view .LVU21
  190. 52:Core/Src/gpio.c **** __HAL_RCC_GPIOB_CLK_ENABLE();
  191. 95 .loc 1 52 3 view .LVU22
  192. 96 .LBB6:
  193. 52:Core/Src/gpio.c **** __HAL_RCC_GPIOB_CLK_ENABLE();
  194. 97 .loc 1 52 3 view .LVU23
  195. 52:Core/Src/gpio.c **** __HAL_RCC_GPIOB_CLK_ENABLE();
  196. 98 .loc 1 52 3 view .LVU24
  197. 99 003a 5969 ldr r1, [r3, #20]
  198. 100 003c 41F40031 orr r1, r1, #131072
  199. 101 0040 5961 str r1, [r3, #20]
  200. 52:Core/Src/gpio.c **** __HAL_RCC_GPIOB_CLK_ENABLE();
  201. 102 .loc 1 52 3 view .LVU25
  202. 103 0042 5969 ldr r1, [r3, #20]
  203. 104 0044 01F40031 and r1, r1, #131072
  204. 105 0048 0391 str r1, [sp, #12]
  205. 52:Core/Src/gpio.c **** __HAL_RCC_GPIOB_CLK_ENABLE();
  206. 106 .loc 1 52 3 view .LVU26
  207. 107 004a 0399 ldr r1, [sp, #12]
  208. 108 .LBE6:
  209. 52:Core/Src/gpio.c **** __HAL_RCC_GPIOB_CLK_ENABLE();
  210. 109 .loc 1 52 3 view .LVU27
  211. 53:Core/Src/gpio.c ****
  212. 110 .loc 1 53 3 view .LVU28
  213. 111 .LBB7:
  214. 53:Core/Src/gpio.c ****
  215. 112 .loc 1 53 3 view .LVU29
  216. 53:Core/Src/gpio.c ****
  217. 113 .loc 1 53 3 view .LVU30
  218. 114 004c 5969 ldr r1, [r3, #20]
  219. 115 004e 41F48021 orr r1, r1, #262144
  220. 116 0052 5961 str r1, [r3, #20]
  221. 53:Core/Src/gpio.c ****
  222. 117 .loc 1 53 3 view .LVU31
  223. 118 0054 5B69 ldr r3, [r3, #20]
  224. 119 0056 03F48023 and r3, r3, #262144
  225. 120 .LBE7:
  226. 55:Core/Src/gpio.c ****
  227. 121 .loc 1 55 3 is_stmt 0 view .LVU32
  228. 122 005a 0122 movs r2, #1
  229. 123 .LBB8:
  230. 53:Core/Src/gpio.c ****
  231. 124 .loc 1 53 3 view .LVU33
  232. 125 005c 0493 str r3, [sp, #16]
  233. ARM GAS C:\Users\zl835\AppData\Local\Temp\cckVA8bc.s page 5
  234. 53:Core/Src/gpio.c ****
  235. 126 .loc 1 53 3 is_stmt 1 view .LVU34
  236. 127 .LBE8:
  237. 55:Core/Src/gpio.c ****
  238. 128 .loc 1 55 3 is_stmt 0 view .LVU35
  239. 129 005e 7021 movs r1, #112
  240. 130 0060 4FF09040 mov r0, #1207959552
  241. 58:Core/Src/gpio.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
  242. 131 .loc 1 58 24 view .LVU36
  243. 132 0064 0126 movs r6, #1
  244. 133 .LBB9:
  245. 53:Core/Src/gpio.c ****
  246. 134 .loc 1 53 3 view .LVU37
  247. 135 0066 049B ldr r3, [sp, #16]
  248. 136 .LBE9:
  249. 53:Core/Src/gpio.c ****
  250. 137 .loc 1 53 3 is_stmt 1 view .LVU38
  251. 55:Core/Src/gpio.c ****
  252. 138 .loc 1 55 3 view .LVU39
  253. 139 0068 FFF7FEFF bl HAL_GPIO_WritePin
  254. 140 .LVL0:
  255. 57:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
  256. 141 .loc 1 57 3 view .LVU40
  257. 61:Core/Src/gpio.c ****
  258. 142 .loc 1 61 3 is_stmt 0 view .LVU41
  259. 143 006c 05A9 add r1, sp, #20
  260. 57:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
  261. 144 .loc 1 57 23 view .LVU42
  262. 145 006e 5023 movs r3, #80
  263. 61:Core/Src/gpio.c ****
  264. 146 .loc 1 61 3 view .LVU43
  265. 147 0070 4FF09040 mov r0, #1207959552
  266. 58:Core/Src/gpio.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
  267. 148 .loc 1 58 24 view .LVU44
  268. 149 0074 CDE90536 strd r3, r6, [sp, #20]
  269. 59:Core/Src/gpio.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
  270. 150 .loc 1 59 3 is_stmt 1 view .LVU45
  271. 64:Core/Src/gpio.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
  272. 151 .loc 1 64 24 is_stmt 0 view .LVU46
  273. 152 0078 2027 movs r7, #32
  274. 60:Core/Src/gpio.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
  275. 153 .loc 1 60 25 view .LVU47
  276. 154 007a CDE90744 strd r4, r4, [sp, #28]
  277. 61:Core/Src/gpio.c ****
  278. 155 .loc 1 61 3 is_stmt 1 view .LVU48
  279. 156 007e FFF7FEFF bl HAL_GPIO_Init
  280. 157 .LVL1:
  281. 63:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_OD;
  282. 158 .loc 1 63 3 view .LVU49
  283. 64:Core/Src/gpio.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
  284. 159 .loc 1 64 24 is_stmt 0 view .LVU50
  285. 160 0082 1123 movs r3, #17
  286. 67:Core/Src/gpio.c ****
  287. 161 .loc 1 67 3 view .LVU51
  288. 162 0084 05A9 add r1, sp, #20
  289. 163 0086 4FF09040 mov r0, #1207959552
  290. 64:Core/Src/gpio.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
  291. ARM GAS C:\Users\zl835\AppData\Local\Temp\cckVA8bc.s page 6
  292. 164 .loc 1 64 24 view .LVU52
  293. 165 008a CDE90573 strd r7, r3, [sp, #20]
  294. 65:Core/Src/gpio.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
  295. 166 .loc 1 65 3 is_stmt 1 view .LVU53
  296. 69:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
  297. 167 .loc 1 69 23 is_stmt 0 view .LVU54
  298. 168 008e 4FF40048 mov r8, #32768
  299. 66:Core/Src/gpio.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
  300. 169 .loc 1 66 25 view .LVU55
  301. 170 0092 CDE90744 strd r4, r4, [sp, #28]
  302. 67:Core/Src/gpio.c ****
  303. 171 .loc 1 67 3 is_stmt 1 view .LVU56
  304. 172 0096 FFF7FEFF bl HAL_GPIO_Init
  305. 173 .LVL2:
  306. 69:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
  307. 174 .loc 1 69 3 view .LVU57
  308. 73:Core/Src/gpio.c ****
  309. 175 .loc 1 73 3 is_stmt 0 view .LVU58
  310. 176 009a 05A9 add r1, sp, #20
  311. 177 009c 4FF09040 mov r0, #1207959552
  312. 71:Core/Src/gpio.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
  313. 178 .loc 1 71 24 view .LVU59
  314. 179 00a0 CDE90664 strd r6, r4, [sp, #24]
  315. 72:Core/Src/gpio.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
  316. 180 .loc 1 72 25 view .LVU60
  317. 181 00a4 0894 str r4, [sp, #32]
  318. 69:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
  319. 182 .loc 1 69 23 view .LVU61
  320. 183 00a6 CDF81480 str r8, [sp, #20]
  321. 70:Core/Src/gpio.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
  322. 184 .loc 1 70 3 is_stmt 1 view .LVU62
  323. 71:Core/Src/gpio.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
  324. 185 .loc 1 71 3 view .LVU63
  325. 72:Core/Src/gpio.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
  326. 186 .loc 1 72 3 view .LVU64
  327. 73:Core/Src/gpio.c ****
  328. 187 .loc 1 73 3 view .LVU65
  329. 188 00aa FFF7FEFF bl HAL_GPIO_Init
  330. 189 .LVL3:
  331. 75:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
  332. 190 .loc 1 75 3 view .LVU66
  333. 191 .loc 1 79 3 is_stmt 0 view .LVU67
  334. 192 00ae 05A9 add r1, sp, #20
  335. 193 00b0 2846 mov r0, r5
  336. 75:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
  337. 194 .loc 1 75 23 view .LVU68
  338. 195 00b2 3823 movs r3, #56
  339. 77:Core/Src/gpio.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
  340. 196 .loc 1 77 24 view .LVU69
  341. 197 00b4 CDE90664 strd r6, r4, [sp, #24]
  342. 75:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
  343. 198 .loc 1 75 23 view .LVU70
  344. 199 00b8 0593 str r3, [sp, #20]
  345. 76:Core/Src/gpio.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
  346. 200 .loc 1 76 3 is_stmt 1 view .LVU71
  347. 77:Core/Src/gpio.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
  348. 201 .loc 1 77 3 view .LVU72
  349. ARM GAS C:\Users\zl835\AppData\Local\Temp\cckVA8bc.s page 7
  350. 78:Core/Src/gpio.c **** HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
  351. 202 .loc 1 78 3 view .LVU73
  352. 203 .loc 1 79 3 view .LVU74
  353. 80:Core/Src/gpio.c ****
  354. 81:Core/Src/gpio.c ****
  355. 82:Core/Src/gpio.c ****
  356. 83:Core/Src/gpio.c **** GPIO_InitStruct.Pin = GPIO_PIN_8 | GPIO_PIN_1|GPIO_PIN_9|GPIO_PIN_10;
  357. 84:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
  358. 204 .loc 1 84 24 is_stmt 0 view .LVU75
  359. 205 00ba 0326 movs r6, #3
  360. 78:Core/Src/gpio.c **** HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
  361. 206 .loc 1 78 25 view .LVU76
  362. 207 00bc 0894 str r4, [sp, #32]
  363. 79:Core/Src/gpio.c ****
  364. 208 .loc 1 79 3 view .LVU77
  365. 209 00be FFF7FEFF bl HAL_GPIO_Init
  366. 210 .LVL4:
  367. 83:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
  368. 211 .loc 1 83 3 is_stmt 1 view .LVU78
  369. 85:Core/Src/gpio.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
  370. 212 .loc 1 85 3 is_stmt 0 view .LVU79
  371. 213 00c2 05A9 add r1, sp, #20
  372. 83:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
  373. 214 .loc 1 83 23 view .LVU80
  374. 215 00c4 40F20273 movw r3, #1794
  375. 216 .loc 1 85 3 view .LVU81
  376. 217 00c8 4FF09040 mov r0, #1207959552
  377. 83:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
  378. 218 .loc 1 83 23 view .LVU82
  379. 219 00cc 0593 str r3, [sp, #20]
  380. 84:Core/Src/gpio.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
  381. 220 .loc 1 84 3 is_stmt 1 view .LVU83
  382. 221 .loc 1 85 3 view .LVU84
  383. 84:Core/Src/gpio.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
  384. 222 .loc 1 84 24 is_stmt 0 view .LVU85
  385. 223 00ce 0696 str r6, [sp, #24]
  386. 224 .loc 1 85 3 view .LVU86
  387. 225 00d0 FFF7FEFF bl HAL_GPIO_Init
  388. 226 .LVL5:
  389. 86:Core/Src/gpio.c ****
  390. 87:Core/Src/gpio.c **** GPIO_InitStruct.Pin = GPIO_PIN_0 | GPIO_PIN_1 | GPIO_PIN_2 |GPIO_PIN_6 | GPIO_PIN_7 |GPIO_PIN_8 |
  391. 227 .loc 1 87 3 is_stmt 1 view .LVU87
  392. 88:Core/Src/gpio.c **** GPIO_PIN_9 | GPIO_PIN_12 | GPIO_PIN_13 | GPIO_PIN_14 | GPIO_PIN_15;
  393. 89:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
  394. 90:Core/Src/gpio.c **** HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
  395. 228 .loc 1 90 3 is_stmt 0 view .LVU88
  396. 229 00d4 05A9 add r1, sp, #20
  397. 230 00d6 2846 mov r0, r5
  398. 87:Core/Src/gpio.c **** GPIO_PIN_9 | GPIO_PIN_12 | GPIO_PIN_13 | GPIO_PIN_14 | GPIO_PIN_15;
  399. 231 .loc 1 87 23 view .LVU89
  400. 232 00d8 4FF2C733 movw r3, #62407
  401. 233 00dc 0593 str r3, [sp, #20]
  402. 89:Core/Src/gpio.c **** HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
  403. 234 .loc 1 89 3 is_stmt 1 view .LVU90
  404. 235 .loc 1 90 3 view .LVU91
  405. 89:Core/Src/gpio.c **** HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
  406. 236 .loc 1 89 24 is_stmt 0 view .LVU92
  407. ARM GAS C:\Users\zl835\AppData\Local\Temp\cckVA8bc.s page 8
  408. 237 00de 0696 str r6, [sp, #24]
  409. 238 .loc 1 90 3 view .LVU93
  410. 239 00e0 FFF7FEFF bl HAL_GPIO_Init
  411. 240 .LVL6:
  412. 91:Core/Src/gpio.c ****
  413. 92:Core/Src/gpio.c **** GPIO_InitStruct.Pin = GPIO_PIN_13|GPIO_PIN_14|GPIO_PIN_15;
  414. 241 .loc 1 92 3 is_stmt 1 view .LVU94
  415. 242 .loc 1 92 23 is_stmt 0 view .LVU95
  416. 243 00e4 4FF46043 mov r3, #57344
  417. 93:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
  418. 94:Core/Src/gpio.c **** HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
  419. 244 .loc 1 94 3 view .LVU96
  420. 245 00e8 05A9 add r1, sp, #20
  421. 246 00ea 1048 ldr r0, .L4+8
  422. 92:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
  423. 247 .loc 1 92 23 view .LVU97
  424. 248 00ec 0593 str r3, [sp, #20]
  425. 93:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
  426. 249 .loc 1 93 3 is_stmt 1 view .LVU98
  427. 250 .loc 1 94 3 view .LVU99
  428. 93:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
  429. 251 .loc 1 93 24 is_stmt 0 view .LVU100
  430. 252 00ee 0696 str r6, [sp, #24]
  431. 253 .loc 1 94 3 view .LVU101
  432. 254 00f0 FFF7FEFF bl HAL_GPIO_Init
  433. 255 .LVL7:
  434. 95:Core/Src/gpio.c ****
  435. 96:Core/Src/gpio.c ****
  436. 97:Core/Src/gpio.c **** HAL_GPIO_WritePin(GPIOA,GPIO_PIN_15, GPIO_PIN_RESET);
  437. 256 .loc 1 97 3 is_stmt 1 view .LVU102
  438. 257 00f4 2246 mov r2, r4
  439. 258 00f6 4146 mov r1, r8
  440. 259 00f8 4FF09040 mov r0, #1207959552
  441. 260 00fc FFF7FEFF bl HAL_GPIO_WritePin
  442. 261 .LVL8:
  443. 98:Core/Src/gpio.c **** HAL_GPIO_WritePin(GPIOB,GPIO_PIN_3, GPIO_PIN_RESET);
  444. 262 .loc 1 98 3 view .LVU103
  445. 263 0100 2246 mov r2, r4
  446. 264 0102 2846 mov r0, r5
  447. 265 0104 0821 movs r1, #8
  448. 266 0106 FFF7FEFF bl HAL_GPIO_WritePin
  449. 267 .LVL9:
  450. 99:Core/Src/gpio.c **** HAL_GPIO_WritePin(GPIOB,GPIO_PIN_4, GPIO_PIN_RESET);
  451. 268 .loc 1 99 3 view .LVU104
  452. 269 010a 2246 mov r2, r4
  453. 270 010c 2846 mov r0, r5
  454. 271 010e 1021 movs r1, #16
  455. 272 0110 FFF7FEFF bl HAL_GPIO_WritePin
  456. 273 .LVL10:
  457. 100:Core/Src/gpio.c **** HAL_GPIO_WritePin(GPIOB,GPIO_PIN_5, GPIO_PIN_RESET);
  458. 274 .loc 1 100 3 view .LVU105
  459. 275 0114 2246 mov r2, r4
  460. 276 0116 3946 mov r1, r7
  461. 277 0118 2846 mov r0, r5
  462. 278 011a FFF7FEFF bl HAL_GPIO_WritePin
  463. 279 .LVL11:
  464. 101:Core/Src/gpio.c ****
  465. ARM GAS C:\Users\zl835\AppData\Local\Temp\cckVA8bc.s page 9
  466. 102:Core/Src/gpio.c **** }
  467. 280 .loc 1 102 1 is_stmt 0 view .LVU106
  468. 281 011e 0AB0 add sp, sp, #40
  469. 282 .LCFI2:
  470. 283 .cfi_def_cfa_offset 24
  471. 284 @ sp needed
  472. 285 0120 BDE8F081 pop {r4, r5, r6, r7, r8, pc}
  473. 286 .L5:
  474. 287 .align 2
  475. 288 .L4:
  476. 289 0124 00100240 .word 1073876992
  477. 290 0128 00040048 .word 1207960576
  478. 291 012c 00080048 .word 1207961600
  479. 292 .cfi_endproc
  480. 293 .LFE130:
  481. 295 .text
  482. 296 .Letext0:
  483. 297 .file 2 "d:\\arm-gcc\\arm-none-eabi\\include\\machine\\_default_types.h"
  484. 298 .file 3 "d:\\arm-gcc\\arm-none-eabi\\include\\sys\\_stdint.h"
  485. 299 .file 4 "Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f302xc.h"
  486. 300 .file 5 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_gpio.h"
  487. ARM GAS C:\Users\zl835\AppData\Local\Temp\cckVA8bc.s page 10
  488. DEFINED SYMBOLS
  489. *ABS*:00000000 gpio.c
  490. C:\Users\zl835\AppData\Local\Temp\cckVA8bc.s:20 .text.MX_GPIO_Init:00000000 $t
  491. C:\Users\zl835\AppData\Local\Temp\cckVA8bc.s:27 .text.MX_GPIO_Init:00000000 MX_GPIO_Init
  492. C:\Users\zl835\AppData\Local\Temp\cckVA8bc.s:289 .text.MX_GPIO_Init:00000124 $d
  493. UNDEFINED SYMBOLS
  494. HAL_GPIO_WritePin
  495. HAL_GPIO_Init