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