stm32f3xx_hal_gpio.lst 128 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184
  1. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.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 "stm32f3xx_hal_gpio.c"
  17. 16 .text
  18. 17 .Ltext0:
  19. 18 .cfi_sections .debug_frame
  20. 19 .section .rodata.HAL_GPIO_Init.str1.4,"aMS",%progbits,1
  21. 20 .align 2
  22. 21 .LC0:
  23. 22 0000 44726976 .ascii "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio"
  24. 22 6572732F
  25. 22 53544D33
  26. 22 32463378
  27. 22 785F4841
  28. 23 0033 2E6300 .ascii ".c\000"
  29. 24 .section .text.HAL_GPIO_Init,"ax",%progbits
  30. 25 .align 1
  31. 26 .p2align 2,,3
  32. 27 .global HAL_GPIO_Init
  33. 28 .syntax unified
  34. 29 .thumb
  35. 30 .thumb_func
  36. 32 HAL_GPIO_Init:
  37. 33 .LVL0:
  38. 34 .LFB130:
  39. 35 .file 1 "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c"
  40. 1:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /**
  41. 2:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** ******************************************************************************
  42. 3:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @file stm32f3xx_hal_gpio.c
  43. 4:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @author MCD Application Team
  44. 5:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @brief GPIO HAL module driver.
  45. 6:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * This file provides firmware functions to manage the following
  46. 7:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * functionalities of the General Purpose Input/Output (GPIO) peripheral:
  47. 8:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * + Initialization and de-initialization functions
  48. 9:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * + IO operation functions
  49. 10:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** *
  50. 11:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** ******************************************************************************
  51. 12:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @attention
  52. 13:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** *
  53. 14:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * Copyright (c) 2016 STMicroelectronics.
  54. 15:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * All rights reserved.
  55. 16:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** *
  56. 17:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * This software is licensed under terms that can be found in the LICENSE file
  57. 18:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * in the root directory of this software component.
  58. 19:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
  59. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 2
  60. 20:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** *
  61. 21:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** ******************************************************************************
  62. 22:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** @verbatim
  63. 23:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** ==============================================================================
  64. 24:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** ##### GPIO Peripheral features #####
  65. 25:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** ==============================================================================
  66. 26:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** [..]
  67. 27:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (+) Each port bit of the general-purpose I/O (GPIO) ports can be individually
  68. 28:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** configured by software in several modes:
  69. 29:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (++) Input mode
  70. 30:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (++) Analog mode
  71. 31:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (++) Output mode
  72. 32:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (++) Alternate function mode
  73. 33:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (++) External interrupt/event lines
  74. 34:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  75. 35:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (+) During and just after reset, the alternate functions and external interrupt
  76. 36:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** lines are not active and the I/O ports are configured in input floating mode.
  77. 37:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  78. 38:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (+) All GPIO pins have weak internal pull-up and pull-down resistors, which can be
  79. 39:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** activated or not.
  80. 40:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  81. 41:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (+) In Output or Alternate mode, each IO can be configured on open-drain or push-pull
  82. 42:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** type and the IO speed can be selected depending on the VDD value.
  83. 43:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  84. 44:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (+) The microcontroller IO pins are connected to onboard peripherals/modules through a
  85. 45:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** multiplexer that allows only one peripheral alternate function (AF) connected
  86. 46:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** to an IO pin at a time. In this way, there can be no conflict between peripherals
  87. 47:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** sharing the same IO pin.
  88. 48:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  89. 49:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (+) All ports have external interrupt/event capability. To use external interrupt
  90. 50:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** lines, the port must be configured in input mode. All available GPIO pins are
  91. 51:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** connected to the 16 external interrupt/event lines from EXTI0 to EXTI15.
  92. 52:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  93. 53:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (+) The external interrupt/event controller consists of up to 23 edge detectors
  94. 54:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (16 lines are connected to GPIO) for generating event/interrupt requests (each
  95. 55:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** input line can be independently configured to select the type (interrupt or event)
  96. 56:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** and the corresponding trigger event (rising or falling or both). Each line can
  97. 57:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** also be masked independently.
  98. 58:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  99. 59:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** ##### How to use this driver #####
  100. 60:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** ==============================================================================
  101. 61:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** [..]
  102. 62:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (#) Enable the GPIO AHB clock using the following function: __HAL_RCC_GPIOx_CLK_ENABLE().
  103. 63:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  104. 64:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (#) Configure the GPIO pin(s) using HAL_GPIO_Init().
  105. 65:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (++) Configure the IO mode using "Mode" member from GPIO_InitTypeDef structure
  106. 66:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (++) Activate Pull-up, Pull-down resistor using "Pull" member from GPIO_InitTypeDef
  107. 67:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** structure.
  108. 68:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (++) In case of Output or alternate function mode selection: the speed is
  109. 69:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** configured through "Speed" member from GPIO_InitTypeDef structure.
  110. 70:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (++) In alternate mode is selection, the alternate function connected to the IO
  111. 71:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** is configured through "Alternate" member from GPIO_InitTypeDef structure.
  112. 72:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (++) Analog mode is required when a pin is to be used as ADC channel
  113. 73:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** or DAC output.
  114. 74:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (++) In case of external interrupt/event selection the "Mode" member from
  115. 75:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIO_InitTypeDef structure select the type (interrupt or event) and
  116. 76:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** the corresponding trigger event (rising or falling or both).
  117. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 3
  118. 77:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  119. 78:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (#) In case of external interrupt/event mode selection, configure NVIC IRQ priority
  120. 79:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** mapped to the EXTI line using HAL_NVIC_SetPriority() and enable it using
  121. 80:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** HAL_NVIC_EnableIRQ().
  122. 81:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  123. 82:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (#) To get the level of a pin configured in input mode use HAL_GPIO_ReadPin().
  124. 83:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  125. 84:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (#) To set/reset the level of a pin configured in output mode use
  126. 85:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** HAL_GPIO_WritePin()/HAL_GPIO_TogglePin().
  127. 86:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  128. 87:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (#) To lock pin configuration until next reset use HAL_GPIO_LockPin().
  129. 88:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  130. 89:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (#) During and just after reset, the alternate functions are not
  131. 90:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** active and the GPIO pins are configured in input floating mode (except JTAG
  132. 91:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** pins).
  133. 92:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  134. 93:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (#) The LSE oscillator pins OSC32_IN and OSC32_OUT can be used as general purpose
  135. 94:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (PC14 and PC15U, respectively) when the LSE oscillator is off. The LSE has
  136. 95:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** priority over the GPIO function.
  137. 96:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  138. 97:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** (#) The HSE oscillator pins OSC_IN/OSC_OUT can be used as
  139. 98:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** general purpose PF0 and PF1, respectively, when the HSE oscillator is off.
  140. 99:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** The HSE has priority over the GPIO function.
  141. 100:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  142. 101:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** @endverbatim
  143. 102:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** ******************************************************************************
  144. 103:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** */
  145. 104:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  146. 105:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Includes ------------------------------------------------------------------*/
  147. 106:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** #include "stm32f3xx_hal.h"
  148. 107:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  149. 108:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /** @addtogroup STM32F3xx_HAL_Driver
  150. 109:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @{
  151. 110:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** */
  152. 111:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  153. 112:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /** @defgroup GPIO GPIO
  154. 113:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @brief GPIO HAL module driver
  155. 114:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @{
  156. 115:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** */
  157. 116:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  158. 117:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /** MISRA C:2012 deviation rule has been granted for following rules:
  159. 118:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * Rule-18.1_d - Medium: Array pointer `GPIOx' is accessed with index [..,..]
  160. 119:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * which may be out of array bounds [..,UNKNOWN] in following APIs:
  161. 120:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * HAL_GPIO_Init
  162. 121:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * HAL_GPIO_DeInit
  163. 122:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** */
  164. 123:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  165. 124:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** #ifdef HAL_GPIO_MODULE_ENABLED
  166. 125:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  167. 126:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Private typedef -----------------------------------------------------------*/
  168. 127:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Private defines -----------------------------------------------------------*/
  169. 128:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /** @addtogroup GPIO_Private_Constants
  170. 129:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @{
  171. 130:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** */
  172. 131:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** #define GPIO_NUMBER (16U)
  173. 132:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /**
  174. 133:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @}
  175. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 4
  176. 134:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** */
  177. 135:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  178. 136:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Private macros ------------------------------------------------------------*/
  179. 137:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Private macros ------------------------------------------------------------*/
  180. 138:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /** @defgroup GPIO_Private_Macros GPIO Private Macros
  181. 139:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @{
  182. 140:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** */
  183. 141:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /**
  184. 142:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @}
  185. 143:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** */
  186. 144:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Private variables ---------------------------------------------------------*/
  187. 145:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Private function prototypes -----------------------------------------------*/
  188. 146:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Exported functions --------------------------------------------------------*/
  189. 147:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  190. 148:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /** @defgroup GPIO_Exported_Functions GPIO Exported Functions
  191. 149:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @{
  192. 150:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** */
  193. 151:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  194. 152:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /** @defgroup GPIO_Exported_Functions_Group1 Initialization/de-initialization functions
  195. 153:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @brief Initialization and Configuration functions
  196. 154:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** *
  197. 155:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** @verbatim
  198. 156:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** ===============================================================================
  199. 157:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** ##### Initialization and de-initialization functions #####
  200. 158:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** ===============================================================================
  201. 159:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  202. 160:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** @endverbatim
  203. 161:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @{
  204. 162:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** */
  205. 163:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  206. 164:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /**
  207. 165:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @brief Initialize the GPIOx peripheral according to the specified parameters in the GPIO_Init.
  208. 166:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @param GPIOx where x can be (A..F) to select the GPIO peripheral for STM32F3 family devices
  209. 167:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @param GPIO_Init pointer to a GPIO_InitTypeDef structure that contains
  210. 168:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * the configuration information for the specified GPIO peripheral.
  211. 169:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @retval None
  212. 170:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** */
  213. 171:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** void HAL_GPIO_Init(GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_Init)
  214. 172:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  215. 36 .loc 1 172 1 view -0
  216. 37 .cfi_startproc
  217. 38 @ args = 0, pretend = 0, frame = 16
  218. 39 @ frame_needed = 0, uses_anonymous_args = 0
  219. 173:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** uint32_t position = 0x00u;
  220. 40 .loc 1 173 3 view .LVU1
  221. 174:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** uint32_t iocurrent;
  222. 41 .loc 1 174 3 view .LVU2
  223. 175:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** uint32_t temp;
  224. 42 .loc 1 175 3 view .LVU3
  225. 176:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  226. 177:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Check the parameters */
  227. 178:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_ALL_INSTANCE(GPIOx));
  228. 43 .loc 1 178 3 view .LVU4
  229. 172:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** uint32_t position = 0x00u;
  230. 44 .loc 1 172 1 is_stmt 0 view .LVU5
  231. 45 0000 2DE9F04F push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
  232. 46 .LCFI0:
  233. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 5
  234. 47 .cfi_def_cfa_offset 36
  235. 48 .cfi_offset 4, -36
  236. 49 .cfi_offset 5, -32
  237. 50 .cfi_offset 6, -28
  238. 51 .cfi_offset 7, -24
  239. 52 .cfi_offset 8, -20
  240. 53 .cfi_offset 9, -16
  241. 54 .cfi_offset 10, -12
  242. 55 .cfi_offset 11, -8
  243. 56 .cfi_offset 14, -4
  244. 57 .loc 1 178 3 view .LVU6
  245. 58 0004 B0F1904F cmp r0, #1207959552
  246. 172:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** uint32_t position = 0x00u;
  247. 59 .loc 1 172 1 view .LVU7
  248. 60 0008 85B0 sub sp, sp, #20
  249. 61 .LCFI1:
  250. 62 .cfi_def_cfa_offset 56
  251. 172:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** uint32_t position = 0x00u;
  252. 63 .loc 1 172 1 view .LVU8
  253. 64 000a 0646 mov r6, r0
  254. 65 000c 8846 mov r8, r1
  255. 66 .loc 1 178 3 view .LVU9
  256. 67 000e 16D0 beq .L2
  257. 68 .loc 1 178 3 discriminator 1 view .LVU10
  258. 69 0010 B54B ldr r3, .L77
  259. 70 0012 9842 cmp r0, r3
  260. 71 0014 13D0 beq .L2
  261. 72 .loc 1 178 3 discriminator 2 view .LVU11
  262. 73 0016 03F58063 add r3, r3, #1024
  263. 74 001a 9842 cmp r0, r3
  264. 75 001c 0FD0 beq .L2
  265. 76 .loc 1 178 3 discriminator 3 view .LVU12
  266. 77 001e 03F58063 add r3, r3, #1024
  267. 78 0022 9842 cmp r0, r3
  268. 79 0024 0BD0 beq .L2
  269. 80 .loc 1 178 3 discriminator 4 view .LVU13
  270. 81 0026 03F58063 add r3, r3, #1024
  271. 82 002a 9842 cmp r0, r3
  272. 83 002c 07D0 beq .L2
  273. 84 .loc 1 178 3 discriminator 5 view .LVU14
  274. 85 002e 03F58063 add r3, r3, #1024
  275. 86 0032 9842 cmp r0, r3
  276. 87 0034 03D0 beq .L2
  277. 88 .loc 1 178 3 discriminator 6 view .LVU15
  278. 89 0036 AD48 ldr r0, .L77+4
  279. 90 .LVL1:
  280. 91 .loc 1 178 3 discriminator 6 view .LVU16
  281. 92 0038 B221 movs r1, #178
  282. 93 .LVL2:
  283. 94 .loc 1 178 3 discriminator 6 view .LVU17
  284. 95 003a FFF7FEFF bl assert_failed
  285. 96 .LVL3:
  286. 97 .L2:
  287. 179:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_PIN(GPIO_Init->Pin));
  288. 98 .loc 1 179 3 is_stmt 1 view .LVU18
  289. 99 003e D8F80010 ldr r1, [r8]
  290. 100 0042 8BB2 uxth r3, r1
  291. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 6
  292. 101 0044 23B1 cbz r3, .L3
  293. 102 .loc 1 179 3 is_stmt 0 discriminator 2 view .LVU19
  294. 103 0046 0B0C lsrs r3, r1, #16
  295. 104 0048 1B04 lsls r3, r3, #16
  296. 105 004a 002B cmp r3, #0
  297. 106 004c 00F02E81 beq .L4
  298. 107 .L3:
  299. 108 .loc 1 179 3 discriminator 3 view .LVU20
  300. 109 0050 A648 ldr r0, .L77+4
  301. 110 0052 B321 movs r1, #179
  302. 111 0054 FFF7FEFF bl assert_failed
  303. 112 .LVL4:
  304. 180:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_MODE(GPIO_Init->Mode));
  305. 113 .loc 1 180 3 is_stmt 1 discriminator 3 view .LVU21
  306. 114 0058 D8F80430 ldr r3, [r8, #4]
  307. 115 005c 012B cmp r3, #1
  308. 116 005e 18D9 bls .L6
  309. 117 .loc 1 180 3 is_stmt 0 discriminator 1 view .LVU22
  310. 118 0060 A3F11102 sub r2, r3, #17
  311. 119 0064 012A cmp r2, #1
  312. 120 0066 14D9 bls .L6
  313. 121 .L76:
  314. 122 .loc 1 180 3 discriminator 2 view .LVU23
  315. 123 0068 9A1E subs r2, r3, #2
  316. 124 006a 012A cmp r2, #1
  317. 125 006c 11D9 bls .L6
  318. 126 .loc 1 180 3 discriminator 4 view .LVU24
  319. 127 006e 23F40012 bic r2, r3, #2097152
  320. 128 0072 B2F5881F cmp r2, #1114112
  321. 129 0076 0CD0 beq .L6
  322. 130 .loc 1 180 3 discriminator 5 view .LVU25
  323. 131 0078 B3F5041F cmp r3, #2162688
  324. 132 007c 09D0 beq .L6
  325. 133 .loc 1 180 3 discriminator 7 view .LVU26
  326. 134 007e B2F5901F cmp r2, #1179648
  327. 135 0082 06D0 beq .L6
  328. 136 .loc 1 180 3 discriminator 8 view .LVU27
  329. 137 0084 B3F5081F cmp r3, #2228224
  330. 138 0088 03D0 beq .L6
  331. 139 .loc 1 180 3 discriminator 11 view .LVU28
  332. 140 008a 9848 ldr r0, .L77+4
  333. 141 008c B421 movs r1, #180
  334. 142 008e FFF7FEFF bl assert_failed
  335. 143 .LVL5:
  336. 144 .L6:
  337. 181:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  338. 182:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Configure the port pins */
  339. 183:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** while (((GPIO_Init->Pin) >> position) != 0x00u)
  340. 145 .loc 1 183 9 is_stmt 1 view .LVU29
  341. 146 .loc 1 183 21 is_stmt 0 view .LVU30
  342. 147 0092 D8F80010 ldr r1, [r8]
  343. 148 .loc 1 183 9 view .LVU31
  344. 149 0096 0029 cmp r1, #0
  345. 150 0098 00F0CE80 beq .L1
  346. 151 .L8:
  347. 152 .LVL6:
  348. 153 .LBB2:
  349. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 7
  350. 184:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  351. 185:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Get current io position */
  352. 186:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** iocurrent = (GPIO_Init->Pin) & (1uL << position);
  353. 187:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  354. 188:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** if (iocurrent != 0x00u)
  355. 189:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  356. 190:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /*--------------------- GPIO Mode Configuration ------------------------*/
  357. 191:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* In case of Output or Alternate function mode selection */
  358. 192:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** if(((GPIO_Init->Mode & GPIO_MODE) == MODE_OUTPUT) || ((GPIO_Init->Mode & GPIO_MODE) == MODE_A
  359. 193:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  360. 194:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Check the Speed parameter */
  361. 195:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_SPEED(GPIO_Init->Speed));
  362. 196:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Configure the IO Speed */
  363. 197:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp = GPIOx->OSPEEDR;
  364. 198:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(GPIO_OSPEEDER_OSPEEDR0 << (position * 2u));
  365. 199:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= (GPIO_Init->Speed << (position * 2u));
  366. 200:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->OSPEEDR = temp;
  367. 201:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  368. 202:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Configure the IO Output Type */
  369. 203:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp = GPIOx->OTYPER;
  370. 204:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(GPIO_OTYPER_OT_0 << position) ;
  371. 205:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= (((GPIO_Init->Mode & OUTPUT_TYPE) >> OUTPUT_TYPE_Pos) << position);
  372. 206:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->OTYPER = temp;
  373. 207:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  374. 208:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  375. 209:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** if((GPIO_Init->Mode & GPIO_MODE) != MODE_ANALOG)
  376. 210:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  377. 211:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Check the Pull parameter */
  378. 212:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_PULL(GPIO_Init->Pull));
  379. 213:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  380. 214:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Activate the Pull-up or Pull down resistor for the current IO */
  381. 215:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp = GPIOx->PUPDR;
  382. 216:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(GPIO_PUPDR_PUPDR0 << (position * 2u));
  383. 217:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= ((GPIO_Init->Pull) << (position * 2u));
  384. 218:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->PUPDR = temp;
  385. 219:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  386. 220:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  387. 221:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /*--------------------- GPIO Mode Configuration ------------------------*/
  388. 222:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* In case of Alternate function mode selection */
  389. 223:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** if((GPIO_Init->Mode & GPIO_MODE) == MODE_AF)
  390. 224:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  391. 225:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Check the Alternate function parameters */
  392. 226:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_AF_INSTANCE(GPIOx));
  393. 227:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_AF(GPIO_Init->Alternate));
  394. 228:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  395. 229:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Configure Alternate function mapped with the current IO */
  396. 230:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp = GPIOx->AFR[position >> 3u];
  397. 231:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(0xFu << ((position & 0x07u) * 4u));
  398. 232:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= ((GPIO_Init->Alternate) << ((position & 0x07u) * 4u));
  399. 233:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->AFR[position >> 3u] = temp;
  400. 234:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  401. 235:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  402. 236:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Configure IO Direction mode (Input, Output, Alternate or Analog) */
  403. 237:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp = GPIOx->MODER;
  404. 238:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(GPIO_MODER_MODER0 << (position * 2u));
  405. 239:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= ((GPIO_Init->Mode & GPIO_MODE) << (position * 2u));
  406. 240:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->MODER = temp;
  407. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 8
  408. 241:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  409. 242:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /*--------------------- EXTI Mode Configuration ------------------------*/
  410. 243:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Configure the External Interrupt or event for the current IO */
  411. 244:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** if((GPIO_Init->Mode & EXTI_MODE) != 0x00u)
  412. 245:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  413. 246:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Enable SYSCFG Clock */
  414. 247:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** __HAL_RCC_SYSCFG_CLK_ENABLE();
  415. 154 .loc 1 247 9 view .LVU32
  416. 155 009c DFF85CB2 ldr fp, .L77+20
  417. 156 .LBE2:
  418. 248:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  419. 249:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp = SYSCFG->EXTICR[position >> 2u];
  420. 250:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(0x0FuL << (4u * (position & 0x03u)));
  421. 251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= (GPIO_GET_INDEX(GPIOx) << (4u * (position & 0x03u)));
  422. 252:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** SYSCFG->EXTICR[position >> 2u] = temp;
  423. 253:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  424. 254:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Clear Rising Falling edge configuration */
  425. 255:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp = EXTI->RTSR;
  426. 157 .loc 1 255 14 view .LVU33
  427. 158 00a0 DFF85C92 ldr r9, .L77+24
  428. 172:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** uint32_t position = 0x00u;
  429. 159 .loc 1 172 1 view .LVU34
  430. 160 00a4 0024 movs r4, #0
  431. 161 .L32:
  432. 162 .LVL7:
  433. 186:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  434. 163 .loc 1 186 5 is_stmt 1 view .LVU35
  435. 186:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  436. 164 .loc 1 186 41 is_stmt 0 view .LVU36
  437. 165 00a6 0125 movs r5, #1
  438. 166 00a8 A540 lsls r5, r5, r4
  439. 167 .LVL8:
  440. 188:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  441. 168 .loc 1 188 5 is_stmt 1 view .LVU37
  442. 188:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  443. 169 .loc 1 188 8 is_stmt 0 view .LVU38
  444. 170 00aa 15EA0103 ands r3, r5, r1
  445. 171 .LVL9:
  446. 188:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  447. 172 .loc 1 188 8 view .LVU39
  448. 173 00ae 00F0BE80 beq .L10
  449. 192:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  450. 174 .loc 1 192 7 is_stmt 1 view .LVU40
  451. 192:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  452. 175 .loc 1 192 21 is_stmt 0 view .LVU41
  453. 176 00b2 D8F80400 ldr r0, [r8, #4]
  454. 192:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  455. 177 .loc 1 192 28 view .LVU42
  456. 178 00b6 00F00301 and r1, r0, #3
  457. 192:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  458. 179 .loc 1 192 57 view .LVU43
  459. 180 00ba 4F1E subs r7, r1, #1
  460. 192:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  461. 181 .loc 1 192 9 view .LVU44
  462. 182 00bc 012F cmp r7, #1
  463. 183 00be 40F2BE80 bls .L11
  464. 184 00c2 4FEA440A lsl r10, r4, #1
  465. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 9
  466. 198:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= (GPIO_Init->Speed << (position * 2u));
  467. 185 .loc 1 198 42 view .LVU45
  468. 186 00c6 0327 movs r7, #3
  469. 187 00c8 07FA0AF7 lsl r7, r7, r10
  470. 198:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= (GPIO_Init->Speed << (position * 2u));
  471. 188 .loc 1 198 17 view .LVU46
  472. 189 00cc FF43 mvns r7, r7
  473. 190 .LVL10:
  474. 191 .L12:
  475. 209:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  476. 192 .loc 1 209 7 is_stmt 1 view .LVU47
  477. 209:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  478. 193 .loc 1 209 9 is_stmt 0 view .LVU48
  479. 194 00ce 0329 cmp r1, #3
  480. 195 00d0 4DD0 beq .L14
  481. 212:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  482. 196 .loc 1 212 9 is_stmt 1 view .LVU49
  483. 197 00d2 D8F80850 ldr r5, [r8, #8]
  484. 198 00d6 022D cmp r5, #2
  485. 199 00d8 00F2DD80 bhi .L72
  486. 200 .L15:
  487. 215:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(GPIO_PUPDR_PUPDR0 << (position * 2u));
  488. 201 .loc 1 215 9 view .LVU50
  489. 215:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(GPIO_PUPDR_PUPDR0 << (position * 2u));
  490. 202 .loc 1 215 14 is_stmt 0 view .LVU51
  491. 203 00dc F268 ldr r2, [r6, #12]
  492. 204 .LVL11:
  493. 216:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= ((GPIO_Init->Pull) << (position * 2u));
  494. 205 .loc 1 216 9 is_stmt 1 view .LVU52
  495. 217:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->PUPDR = temp;
  496. 206 .loc 1 217 36 is_stmt 0 view .LVU53
  497. 207 00de 05FA0AF5 lsl r5, r5, r10
  498. 216:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= ((GPIO_Init->Pull) << (position * 2u));
  499. 208 .loc 1 216 14 view .LVU54
  500. 209 00e2 02EA070C and ip, r2, r7
  501. 210 .LVL12:
  502. 217:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->PUPDR = temp;
  503. 211 .loc 1 217 9 is_stmt 1 view .LVU55
  504. 217:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->PUPDR = temp;
  505. 212 .loc 1 217 14 is_stmt 0 view .LVU56
  506. 213 00e6 45EA0C05 orr r5, r5, ip
  507. 214 .LVL13:
  508. 218:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  509. 215 .loc 1 218 9 is_stmt 1 view .LVU57
  510. 223:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  511. 216 .loc 1 223 9 is_stmt 0 view .LVU58
  512. 217 00ea 0229 cmp r1, #2
  513. 218:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  514. 218 .loc 1 218 22 view .LVU59
  515. 219 00ec F560 str r5, [r6, #12]
  516. 223:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  517. 220 .loc 1 223 7 is_stmt 1 view .LVU60
  518. 223:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  519. 221 .loc 1 223 9 is_stmt 0 view .LVU61
  520. 222 00ee 3ED1 bne .L14
  521. 226:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_AF(GPIO_Init->Alternate));
  522. 223 .loc 1 226 9 is_stmt 1 view .LVU62
  523. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 10
  524. 224 00f0 B6F1904F cmp r6, #1207959552
  525. 225 00f4 17D0 beq .L16
  526. 226:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_AF(GPIO_Init->Alternate));
  527. 226 .loc 1 226 9 is_stmt 0 discriminator 1 view .LVU63
  528. 227 00f6 7C4A ldr r2, .L77
  529. 228 00f8 9642 cmp r6, r2
  530. 229 00fa 14D0 beq .L16
  531. 226:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_AF(GPIO_Init->Alternate));
  532. 230 .loc 1 226 9 discriminator 2 view .LVU64
  533. 231 00fc 7C49 ldr r1, .L77+8
  534. 232 00fe 8E42 cmp r6, r1
  535. 233 0100 11D0 beq .L16
  536. 226:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_AF(GPIO_Init->Alternate));
  537. 234 .loc 1 226 9 discriminator 3 view .LVU65
  538. 235 0102 01F58061 add r1, r1, #1024
  539. 236 0106 8E42 cmp r6, r1
  540. 237 0108 0DD0 beq .L16
  541. 226:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_AF(GPIO_Init->Alternate));
  542. 238 .loc 1 226 9 discriminator 4 view .LVU66
  543. 239 010a 01F58061 add r1, r1, #1024
  544. 240 010e 8E42 cmp r6, r1
  545. 241 0110 09D0 beq .L16
  546. 226:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_AF(GPIO_Init->Alternate));
  547. 242 .loc 1 226 9 discriminator 5 view .LVU67
  548. 243 0112 01F58061 add r1, r1, #1024
  549. 244 0116 8E42 cmp r6, r1
  550. 245 0118 05D0 beq .L16
  551. 226:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_AF(GPIO_Init->Alternate));
  552. 246 .loc 1 226 9 discriminator 6 view .LVU68
  553. 247 011a 7448 ldr r0, .L77+4
  554. 248 011c 0193 str r3, [sp, #4]
  555. 249 011e E221 movs r1, #226
  556. 250 0120 FFF7FEFF bl assert_failed
  557. 251 .LVL14:
  558. 252 0124 019B ldr r3, [sp, #4]
  559. 253 .L16:
  560. 227:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  561. 254 .loc 1 227 9 is_stmt 1 view .LVU69
  562. 255 0126 D8F81000 ldr r0, [r8, #16]
  563. 256 012a 0C28 cmp r0, #12
  564. 257 012c 0BD9 bls .L17
  565. 227:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  566. 258 .loc 1 227 9 is_stmt 0 discriminator 1 view .LVU70
  567. 259 012e A0F10E01 sub r1, r0, #14
  568. 260 0132 0129 cmp r1, #1
  569. 261 0134 07D9 bls .L17
  570. 227:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  571. 262 .loc 1 227 9 discriminator 3 view .LVU71
  572. 263 0136 6D48 ldr r0, .L77+4
  573. 264 0138 0193 str r3, [sp, #4]
  574. 265 013a E321 movs r1, #227
  575. 266 013c FFF7FEFF bl assert_failed
  576. 267 .LVL15:
  577. 232:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->AFR[position >> 3u] = temp;
  578. 268 .loc 1 232 28 discriminator 3 view .LVU72
  579. 269 0140 D8F81000 ldr r0, [r8, #16]
  580. 270 0144 019B ldr r3, [sp, #4]
  581. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 11
  582. 271 .L17:
  583. 230:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(0xFu << ((position & 0x07u) * 4u));
  584. 272 .loc 1 230 9 is_stmt 1 view .LVU73
  585. 230:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(0xFu << ((position & 0x07u) * 4u));
  586. 273 .loc 1 230 36 is_stmt 0 view .LVU74
  587. 274 0146 E508 lsrs r5, r4, #3
  588. 275 .LVL16:
  589. 230:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(0xFu << ((position & 0x07u) * 4u));
  590. 276 .loc 1 230 36 view .LVU75
  591. 277 0148 06EB8505 add r5, r6, r5, lsl #2
  592. 231:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= ((GPIO_Init->Alternate) << ((position & 0x07u) * 4u));
  593. 278 .loc 1 231 38 view .LVU76
  594. 279 014c 04F00701 and r1, r4, #7
  595. 230:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(0xFu << ((position & 0x07u) * 4u));
  596. 280 .loc 1 230 14 view .LVU77
  597. 281 0150 2A6A ldr r2, [r5, #32]
  598. 282 .LVL17:
  599. 231:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= ((GPIO_Init->Alternate) << ((position & 0x07u) * 4u));
  600. 283 .loc 1 231 9 is_stmt 1 view .LVU78
  601. 231:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= ((GPIO_Init->Alternate) << ((position & 0x07u) * 4u));
  602. 284 .loc 1 231 47 is_stmt 0 view .LVU79
  603. 285 0152 8900 lsls r1, r1, #2
  604. 231:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= ((GPIO_Init->Alternate) << ((position & 0x07u) * 4u));
  605. 286 .loc 1 231 24 view .LVU80
  606. 287 0154 4FF00F0E mov lr, #15
  607. 232:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->AFR[position >> 3u] = temp;
  608. 288 .loc 1 232 41 view .LVU81
  609. 289 0158 8840 lsls r0, r0, r1
  610. 231:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= ((GPIO_Init->Alternate) << ((position & 0x07u) * 4u));
  611. 290 .loc 1 231 24 view .LVU82
  612. 291 015a 0EFA01F1 lsl r1, lr, r1
  613. 231:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= ((GPIO_Init->Alternate) << ((position & 0x07u) * 4u));
  614. 292 .loc 1 231 14 view .LVU83
  615. 293 015e 22EA0101 bic r1, r2, r1
  616. 294 .LVL18:
  617. 232:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->AFR[position >> 3u] = temp;
  618. 295 .loc 1 232 9 is_stmt 1 view .LVU84
  619. 232:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->AFR[position >> 3u] = temp;
  620. 296 .loc 1 232 14 is_stmt 0 view .LVU85
  621. 297 0162 0143 orrs r1, r1, r0
  622. 298 .LVL19:
  623. 233:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  624. 299 .loc 1 233 9 is_stmt 1 view .LVU86
  625. 239:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->MODER = temp;
  626. 300 .loc 1 239 26 is_stmt 0 view .LVU87
  627. 301 0164 D8F80400 ldr r0, [r8, #4]
  628. 233:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  629. 302 .loc 1 233 36 view .LVU88
  630. 303 0168 2962 str r1, [r5, #32]
  631. 239:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->MODER = temp;
  632. 304 .loc 1 239 33 view .LVU89
  633. 305 016a 00F00301 and r1, r0, #3
  634. 306 .LVL20:
  635. 307 .L14:
  636. 237:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(GPIO_MODER_MODER0 << (position * 2u));
  637. 308 .loc 1 237 7 is_stmt 1 view .LVU90
  638. 237:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(GPIO_MODER_MODER0 << (position * 2u));
  639. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 12
  640. 309 .loc 1 237 12 is_stmt 0 view .LVU91
  641. 310 016e 3568 ldr r5, [r6]
  642. 311 .LVL21:
  643. 238:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= ((GPIO_Init->Mode & GPIO_MODE) << (position * 2u));
  644. 312 .loc 1 238 7 is_stmt 1 view .LVU92
  645. 239:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->MODER = temp;
  646. 313 .loc 1 239 46 is_stmt 0 view .LVU93
  647. 314 0170 01FA0AF1 lsl r1, r1, r10
  648. 238:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= ((GPIO_Init->Mode & GPIO_MODE) << (position * 2u));
  649. 315 .loc 1 238 12 view .LVU94
  650. 316 0174 2F40 ands r7, r7, r5
  651. 317 .LVL22:
  652. 239:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->MODER = temp;
  653. 318 .loc 1 239 7 is_stmt 1 view .LVU95
  654. 239:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->MODER = temp;
  655. 319 .loc 1 239 12 is_stmt 0 view .LVU96
  656. 320 0176 3943 orrs r1, r1, r7
  657. 321 .LVL23:
  658. 240:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  659. 322 .loc 1 240 7 is_stmt 1 view .LVU97
  660. 244:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  661. 323 .loc 1 244 9 is_stmt 0 view .LVU98
  662. 324 0178 10F4403F tst r0, #196608
  663. 240:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  664. 325 .loc 1 240 20 view .LVU99
  665. 326 017c 3160 str r1, [r6]
  666. 244:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  667. 327 .loc 1 244 7 is_stmt 1 view .LVU100
  668. 244:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  669. 328 .loc 1 244 9 is_stmt 0 view .LVU101
  670. 329 017e 54D0 beq .L69
  671. 247:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  672. 330 .loc 1 247 9 is_stmt 1 view .LVU102
  673. 331 .LBB3:
  674. 247:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  675. 332 .loc 1 247 9 view .LVU103
  676. 247:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  677. 333 .loc 1 247 9 view .LVU104
  678. 334 0180 DBF81850 ldr r5, [fp, #24]
  679. 335 0184 45F00105 orr r5, r5, #1
  680. 336 0188 CBF81850 str r5, [fp, #24]
  681. 247:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  682. 337 .loc 1 247 9 view .LVU105
  683. 338 018c DBF81850 ldr r5, [fp, #24]
  684. 339 0190 24F00301 bic r1, r4, #3
  685. 340 .LVL24:
  686. 247:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  687. 341 .loc 1 247 9 is_stmt 0 view .LVU106
  688. 342 0194 01F18041 add r1, r1, #1073741824
  689. 343 0198 05F00105 and r5, r5, #1
  690. 344 019c 01F58031 add r1, r1, #65536
  691. 345 01a0 0395 str r5, [sp, #12]
  692. 247:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  693. 346 .loc 1 247 9 is_stmt 1 view .LVU107
  694. 347 .LBE3:
  695. 250:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= (GPIO_GET_INDEX(GPIOx) << (4u * (position & 0x03u)));
  696. 348 .loc 1 250 45 is_stmt 0 view .LVU108
  697. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 13
  698. 349 01a2 04F0030C and ip, r4, #3
  699. 350 .LBB4:
  700. 247:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  701. 351 .loc 1 247 9 view .LVU109
  702. 352 01a6 039D ldr r5, [sp, #12]
  703. 353 .LBE4:
  704. 247:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  705. 354 .loc 1 247 9 is_stmt 1 view .LVU110
  706. 249:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(0x0FuL << (4u * (position & 0x03u)));
  707. 355 .loc 1 249 9 view .LVU111
  708. 249:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(0x0FuL << (4u * (position & 0x03u)));
  709. 356 .loc 1 249 14 is_stmt 0 view .LVU112
  710. 357 01a8 8F68 ldr r7, [r1, #8]
  711. 358 .LVL25:
  712. 250:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= (GPIO_GET_INDEX(GPIOx) << (4u * (position & 0x03u)));
  713. 359 .loc 1 250 9 is_stmt 1 view .LVU113
  714. 250:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= (GPIO_GET_INDEX(GPIOx) << (4u * (position & 0x03u)));
  715. 360 .loc 1 250 33 is_stmt 0 view .LVU114
  716. 361 01aa 4FEA8C0C lsl ip, ip, #2
  717. 250:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= (GPIO_GET_INDEX(GPIOx) << (4u * (position & 0x03u)));
  718. 362 .loc 1 250 26 view .LVU115
  719. 363 01ae 0F25 movs r5, #15
  720. 364 01b0 05FA0CF5 lsl r5, r5, ip
  721. 251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** SYSCFG->EXTICR[position >> 2u] = temp;
  722. 365 .loc 1 251 18 view .LVU116
  723. 366 01b4 B6F1904F cmp r6, #1207959552
  724. 250:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= (GPIO_GET_INDEX(GPIOx) << (4u * (position & 0x03u)));
  725. 367 .loc 1 250 14 view .LVU117
  726. 368 01b8 27EA0505 bic r5, r7, r5
  727. 369 .LVL26:
  728. 251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** SYSCFG->EXTICR[position >> 2u] = temp;
  729. 370 .loc 1 251 9 is_stmt 1 view .LVU118
  730. 251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** SYSCFG->EXTICR[position >> 2u] = temp;
  731. 371 .loc 1 251 18 is_stmt 0 view .LVU119
  732. 372 01bc 13D0 beq .L19
  733. 251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** SYSCFG->EXTICR[position >> 2u] = temp;
  734. 373 .loc 1 251 18 discriminator 1 view .LVU120
  735. 374 01be 4A4A ldr r2, .L77
  736. 375 01c0 9642 cmp r6, r2
  737. 376 01c2 00F08480 beq .L73
  738. 251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** SYSCFG->EXTICR[position >> 2u] = temp;
  739. 377 .loc 1 251 18 discriminator 3 view .LVU121
  740. 378 01c6 4A4F ldr r7, .L77+8
  741. 379 01c8 BE42 cmp r6, r7
  742. 380 01ca 00F08680 beq .L74
  743. 251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** SYSCFG->EXTICR[position >> 2u] = temp;
  744. 381 .loc 1 251 18 discriminator 5 view .LVU122
  745. 382 01ce 494F ldr r7, .L77+12
  746. 383 01d0 BE42 cmp r6, r7
  747. 384 01d2 76D0 beq .L75
  748. 251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** SYSCFG->EXTICR[position >> 2u] = temp;
  749. 385 .loc 1 251 18 discriminator 7 view .LVU123
  750. 386 01d4 484F ldr r7, .L77+16
  751. 387 01d6 BE42 cmp r6, r7
  752. 251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** SYSCFG->EXTICR[position >> 2u] = temp;
  753. 388 .loc 1 251 40 discriminator 7 view .LVU124
  754. 389 01d8 0CBF ite eq
  755. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 14
  756. 390 01da 0427 moveq r7, #4
  757. 391 01dc 0527 movne r7, #5
  758. 392 01de 07FA0CFC lsl ip, r7, ip
  759. 251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** SYSCFG->EXTICR[position >> 2u] = temp;
  760. 393 .loc 1 251 14 discriminator 7 view .LVU125
  761. 394 01e2 45EA0C05 orr r5, r5, ip
  762. 395 .LVL27:
  763. 396 .L19:
  764. 252:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  765. 397 .loc 1 252 9 is_stmt 1 discriminator 20 view .LVU126
  766. 252:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  767. 398 .loc 1 252 40 is_stmt 0 discriminator 20 view .LVU127
  768. 399 01e6 8D60 str r5, [r1, #8]
  769. 400 .loc 1 255 9 is_stmt 1 discriminator 20 view .LVU128
  770. 401 .loc 1 255 14 is_stmt 0 discriminator 20 view .LVU129
  771. 402 01e8 D9F80810 ldr r1, [r9, #8]
  772. 403 .LVL28:
  773. 256:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(iocurrent);
  774. 404 .loc 1 256 9 is_stmt 1 discriminator 20 view .LVU130
  775. 405 .loc 1 256 17 is_stmt 0 discriminator 20 view .LVU131
  776. 406 01ec DD43 mvns r5, r3
  777. 407 .LVL29:
  778. 257:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** if((GPIO_Init->Mode & TRIGGER_RISING) != 0x00u)
  779. 408 .loc 1 257 9 is_stmt 1 discriminator 20 view .LVU132
  780. 409 .loc 1 257 11 is_stmt 0 discriminator 20 view .LVU133
  781. 410 01ee C702 lsls r7, r0, #11
  782. 256:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(iocurrent);
  783. 411 .loc 1 256 14 discriminator 20 view .LVU134
  784. 412 01f0 54BF ite pl
  785. 413 01f2 2940 andpl r1, r1, r5
  786. 414 .LVL30:
  787. 258:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  788. 259:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= iocurrent;
  789. 415 .loc 1 259 11 is_stmt 1 discriminator 20 view .LVU135
  790. 416 .loc 1 259 16 is_stmt 0 discriminator 20 view .LVU136
  791. 417 01f4 1943 orrmi r1, r1, r3
  792. 418 .LVL31:
  793. 260:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  794. 261:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** EXTI->RTSR = temp;
  795. 419 .loc 1 261 9 is_stmt 1 discriminator 20 view .LVU137
  796. 420 .loc 1 261 20 is_stmt 0 discriminator 20 view .LVU138
  797. 421 01f6 C9F80810 str r1, [r9, #8]
  798. 262:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  799. 263:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp = EXTI->FTSR;
  800. 422 .loc 1 263 9 is_stmt 1 discriminator 20 view .LVU139
  801. 423 .loc 1 263 14 is_stmt 0 discriminator 20 view .LVU140
  802. 424 01fa D9F80C10 ldr r1, [r9, #12]
  803. 425 .LVL32:
  804. 264:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(iocurrent);
  805. 426 .loc 1 264 9 is_stmt 1 discriminator 20 view .LVU141
  806. 265:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** if((GPIO_Init->Mode & TRIGGER_FALLING) != 0x00u)
  807. 427 .loc 1 265 9 discriminator 20 view .LVU142
  808. 428 .loc 1 265 11 is_stmt 0 discriminator 20 view .LVU143
  809. 429 01fe 8202 lsls r2, r0, #10
  810. 264:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(iocurrent);
  811. 430 .loc 1 264 14 discriminator 20 view .LVU144
  812. 431 0200 54BF ite pl
  813. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 15
  814. 432 0202 2940 andpl r1, r1, r5
  815. 433 .LVL33:
  816. 266:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  817. 267:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= iocurrent;
  818. 434 .loc 1 267 11 is_stmt 1 discriminator 20 view .LVU145
  819. 435 .loc 1 267 16 is_stmt 0 discriminator 20 view .LVU146
  820. 436 0204 1943 orrmi r1, r1, r3
  821. 437 .LVL34:
  822. 268:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  823. 269:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** EXTI->FTSR = temp;
  824. 438 .loc 1 269 9 is_stmt 1 discriminator 20 view .LVU147
  825. 439 .loc 1 269 20 is_stmt 0 discriminator 20 view .LVU148
  826. 440 0206 C9F80C10 str r1, [r9, #12]
  827. 270:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  828. 271:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp = EXTI->EMR;
  829. 441 .loc 1 271 9 is_stmt 1 discriminator 20 view .LVU149
  830. 442 .loc 1 271 14 is_stmt 0 discriminator 20 view .LVU150
  831. 443 020a D9F80410 ldr r1, [r9, #4]
  832. 444 .LVL35:
  833. 272:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(iocurrent);
  834. 445 .loc 1 272 9 is_stmt 1 discriminator 20 view .LVU151
  835. 273:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** if((GPIO_Init->Mode & EXTI_EVT) != 0x00u)
  836. 446 .loc 1 273 9 discriminator 20 view .LVU152
  837. 447 .loc 1 273 11 is_stmt 0 discriminator 20 view .LVU153
  838. 448 020e 8703 lsls r7, r0, #14
  839. 272:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(iocurrent);
  840. 449 .loc 1 272 14 discriminator 20 view .LVU154
  841. 450 0210 54BF ite pl
  842. 451 0212 2940 andpl r1, r1, r5
  843. 452 .LVL36:
  844. 274:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  845. 275:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= iocurrent;
  846. 453 .loc 1 275 11 is_stmt 1 discriminator 20 view .LVU155
  847. 454 .loc 1 275 16 is_stmt 0 discriminator 20 view .LVU156
  848. 455 0214 1943 orrmi r1, r1, r3
  849. 456 .LVL37:
  850. 276:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  851. 277:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** EXTI->EMR = temp;
  852. 457 .loc 1 277 9 is_stmt 1 discriminator 20 view .LVU157
  853. 458 .loc 1 277 19 is_stmt 0 discriminator 20 view .LVU158
  854. 459 0216 C9F80410 str r1, [r9, #4]
  855. 278:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  856. 279:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Clear EXTI line configuration */
  857. 280:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp = EXTI->IMR;
  858. 460 .loc 1 280 9 is_stmt 1 discriminator 20 view .LVU159
  859. 461 .loc 1 280 14 is_stmt 0 discriminator 20 view .LVU160
  860. 462 021a D9F80010 ldr r1, [r9]
  861. 463 .LVL38:
  862. 281:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(iocurrent);
  863. 464 .loc 1 281 9 is_stmt 1 discriminator 20 view .LVU161
  864. 282:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** if((GPIO_Init->Mode & EXTI_IT) != 0x00u)
  865. 465 .loc 1 282 9 discriminator 20 view .LVU162
  866. 466 .loc 1 282 11 is_stmt 0 discriminator 20 view .LVU163
  867. 467 021e C203 lsls r2, r0, #15
  868. 281:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(iocurrent);
  869. 468 .loc 1 281 14 discriminator 20 view .LVU164
  870. 469 0220 54BF ite pl
  871. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 16
  872. 470 0222 2940 andpl r1, r1, r5
  873. 471 .LVL39:
  874. 283:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  875. 284:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= iocurrent;
  876. 472 .loc 1 284 11 is_stmt 1 discriminator 20 view .LVU165
  877. 473 .loc 1 284 16 is_stmt 0 discriminator 20 view .LVU166
  878. 474 0224 1943 orrmi r1, r1, r3
  879. 475 .LVL40:
  880. 285:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  881. 286:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** EXTI->IMR = temp;
  882. 476 .loc 1 286 9 is_stmt 1 discriminator 20 view .LVU167
  883. 477 .loc 1 286 19 is_stmt 0 discriminator 20 view .LVU168
  884. 478 0226 C9F80010 str r1, [r9]
  885. 479 .L69:
  886. 480 .loc 1 286 19 discriminator 20 view .LVU169
  887. 481 022a D8F80010 ldr r1, [r8]
  888. 482 .LVL41:
  889. 483 .L10:
  890. 287:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  891. 288:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  892. 289:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  893. 290:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** position++;
  894. 484 .loc 1 290 5 is_stmt 1 view .LVU170
  895. 485 .loc 1 290 13 is_stmt 0 view .LVU171
  896. 486 022e 0134 adds r4, r4, #1
  897. 487 .LVL42:
  898. 183:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  899. 488 .loc 1 183 9 is_stmt 1 view .LVU172
  900. 489 0230 31FA04F3 lsrs r3, r1, r4
  901. 490 0234 7FF437AF bne .L32
  902. 491 .LVL43:
  903. 492 .L1:
  904. 291:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  905. 292:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  906. 493 .loc 1 292 1 is_stmt 0 view .LVU173
  907. 494 0238 05B0 add sp, sp, #20
  908. 495 .LCFI2:
  909. 496 .cfi_remember_state
  910. 497 .cfi_def_cfa_offset 36
  911. 498 @ sp needed
  912. 499 023a BDE8F08F pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
  913. 500 .LVL44:
  914. 501 .L11:
  915. 502 .LCFI3:
  916. 503 .cfi_restore_state
  917. 195:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Configure the IO Speed */
  918. 504 .loc 1 195 9 is_stmt 1 view .LVU174
  919. 505 023e D8F80C20 ldr r2, [r8, #12]
  920. 506 0242 012A cmp r2, #1
  921. 507 0244 0DD9 bls .L13
  922. 195:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Configure the IO Speed */
  923. 508 .loc 1 195 9 is_stmt 0 discriminator 1 view .LVU175
  924. 509 0246 032A cmp r2, #3
  925. 510 0248 0BD0 beq .L13
  926. 195:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Configure the IO Speed */
  927. 511 .loc 1 195 9 discriminator 2 view .LVU176
  928. 512 024a 2848 ldr r0, .L77+4
  929. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 17
  930. 513 024c 0193 str r3, [sp, #4]
  931. 514 024e C321 movs r1, #195
  932. 515 0250 FFF7FEFF bl assert_failed
  933. 516 .LVL45:
  934. 205:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->OTYPER = temp;
  935. 517 .loc 1 205 29 discriminator 2 view .LVU177
  936. 518 0254 D8F80400 ldr r0, [r8, #4]
  937. 199:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->OSPEEDR = temp;
  938. 519 .loc 1 199 27 discriminator 2 view .LVU178
  939. 520 0258 D8F80C20 ldr r2, [r8, #12]
  940. 209:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  941. 521 .loc 1 209 27 discriminator 2 view .LVU179
  942. 522 025c 019B ldr r3, [sp, #4]
  943. 523 025e 00F00301 and r1, r0, #3
  944. 524 .LVL46:
  945. 525 .L13:
  946. 197:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(GPIO_OSPEEDER_OSPEEDR0 << (position * 2u));
  947. 526 .loc 1 197 9 is_stmt 1 view .LVU180
  948. 197:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(GPIO_OSPEEDER_OSPEEDR0 << (position * 2u));
  949. 527 .loc 1 197 14 is_stmt 0 view .LVU181
  950. 528 0262 B768 ldr r7, [r6, #8]
  951. 529 .LVL47:
  952. 198:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= (GPIO_Init->Speed << (position * 2u));
  953. 530 .loc 1 198 9 is_stmt 1 view .LVU182
  954. 531 0264 4FEA440A lsl r10, r4, #1
  955. 198:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= (GPIO_Init->Speed << (position * 2u));
  956. 532 .loc 1 198 42 is_stmt 0 view .LVU183
  957. 533 0268 4FF0030E mov lr, #3
  958. 534 026c 0EFA0AFE lsl lr, lr, r10
  959. 199:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->OSPEEDR = temp;
  960. 535 .loc 1 199 35 view .LVU184
  961. 536 0270 02FA0AFC lsl ip, r2, r10
  962. 198:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= (GPIO_Init->Speed << (position * 2u));
  963. 537 .loc 1 198 14 view .LVU185
  964. 538 0274 27EA0E07 bic r7, r7, lr
  965. 539 .LVL48:
  966. 199:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->OSPEEDR = temp;
  967. 540 .loc 1 199 9 is_stmt 1 view .LVU186
  968. 199:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->OSPEEDR = temp;
  969. 541 .loc 1 199 14 is_stmt 0 view .LVU187
  970. 542 0278 4CEA0707 orr r7, ip, r7
  971. 543 .LVL49:
  972. 200:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  973. 544 .loc 1 200 9 is_stmt 1 view .LVU188
  974. 200:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  975. 545 .loc 1 200 24 is_stmt 0 view .LVU189
  976. 546 027c B760 str r7, [r6, #8]
  977. 203:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(GPIO_OTYPER_OT_0 << position) ;
  978. 547 .loc 1 203 9 is_stmt 1 view .LVU190
  979. 203:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp &= ~(GPIO_OTYPER_OT_0 << position) ;
  980. 548 .loc 1 203 14 is_stmt 0 view .LVU191
  981. 549 027e 7268 ldr r2, [r6, #4]
  982. 550 .LVL50:
  983. 204:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= (((GPIO_Init->Mode & OUTPUT_TYPE) >> OUTPUT_TYPE_Pos) << position);
  984. 551 .loc 1 204 9 is_stmt 1 view .LVU192
  985. 204:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= (((GPIO_Init->Mode & OUTPUT_TYPE) >> OUTPUT_TYPE_Pos) << position);
  986. 552 .loc 1 204 14 is_stmt 0 view .LVU193
  987. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 18
  988. 553 0280 22EA050C bic ip, r2, r5
  989. 554 .LVL51:
  990. 205:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->OTYPER = temp;
  991. 555 .loc 1 205 9 is_stmt 1 view .LVU194
  992. 205:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->OTYPER = temp;
  993. 556 .loc 1 205 51 is_stmt 0 view .LVU195
  994. 557 0284 C0F30015 ubfx r5, r0, #4, #1
  995. 205:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->OTYPER = temp;
  996. 558 .loc 1 205 71 view .LVU196
  997. 559 0288 A540 lsls r5, r5, r4
  998. 205:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->OTYPER = temp;
  999. 560 .loc 1 205 14 view .LVU197
  1000. 561 028a 45EA0C05 orr r5, r5, ip
  1001. 562 .LVL52:
  1002. 206:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  1003. 563 .loc 1 206 9 is_stmt 1 view .LVU198
  1004. 198:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** temp |= (GPIO_Init->Speed << (position * 2u));
  1005. 564 .loc 1 198 17 is_stmt 0 view .LVU199
  1006. 565 028e 6FEA0E07 mvn r7, lr
  1007. 206:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  1008. 566 .loc 1 206 23 view .LVU200
  1009. 567 0292 7560 str r5, [r6, #4]
  1010. 568 0294 1BE7 b .L12
  1011. 569 .LVL53:
  1012. 570 .L72:
  1013. 212:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1014. 571 .loc 1 212 9 discriminator 1 view .LVU201
  1015. 572 0296 1548 ldr r0, .L77+4
  1016. 573 0298 0193 str r3, [sp, #4]
  1017. 574 029a D421 movs r1, #212
  1018. 575 029c FFF7FEFF bl assert_failed
  1019. 576 .LVL54:
  1020. 217:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->PUPDR = temp;
  1021. 577 .loc 1 217 28 discriminator 1 view .LVU202
  1022. 578 02a0 D8E90105 ldrd r0, r5, [r8, #4]
  1023. 223:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1024. 579 .loc 1 223 27 discriminator 1 view .LVU203
  1025. 580 02a4 019B ldr r3, [sp, #4]
  1026. 581 02a6 00F00301 and r1, r0, #3
  1027. 582 02aa 17E7 b .L15
  1028. 583 .LVL55:
  1029. 584 .L4:
  1030. 180:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1031. 585 .loc 1 180 3 is_stmt 1 view .LVU204
  1032. 586 02ac D8F80430 ldr r3, [r8, #4]
  1033. 587 02b0 012B cmp r3, #1
  1034. 588 02b2 7FF6F3AE bls .L8
  1035. 589 02b6 A3F11102 sub r2, r3, #17
  1036. 590 02ba 012A cmp r2, #1
  1037. 591 02bc 3FF6D4AE bhi .L76
  1038. 592 02c0 E7E6 b .L6
  1039. 593 .LVL56:
  1040. 594 .L75:
  1041. 251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** SYSCFG->EXTICR[position >> 2u] = temp;
  1042. 595 .loc 1 251 40 is_stmt 0 view .LVU205
  1043. 596 02c2 0327 movs r7, #3
  1044. 597 02c4 07FA0CFC lsl ip, r7, ip
  1045. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 19
  1046. 251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** SYSCFG->EXTICR[position >> 2u] = temp;
  1047. 598 .loc 1 251 14 view .LVU206
  1048. 599 02c8 45EA0C05 orr r5, r5, ip
  1049. 600 .LVL57:
  1050. 251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** SYSCFG->EXTICR[position >> 2u] = temp;
  1051. 601 .loc 1 251 14 view .LVU207
  1052. 602 02cc 8BE7 b .L19
  1053. 603 .LVL58:
  1054. 604 .L73:
  1055. 251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** SYSCFG->EXTICR[position >> 2u] = temp;
  1056. 605 .loc 1 251 40 view .LVU208
  1057. 606 02ce 0127 movs r7, #1
  1058. 251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** SYSCFG->EXTICR[position >> 2u] = temp;
  1059. 607 .loc 1 251 40 view .LVU209
  1060. 608 02d0 07FA0CFC lsl ip, r7, ip
  1061. 251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** SYSCFG->EXTICR[position >> 2u] = temp;
  1062. 609 .loc 1 251 14 view .LVU210
  1063. 610 02d4 45EA0C05 orr r5, r5, ip
  1064. 611 .LVL59:
  1065. 251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** SYSCFG->EXTICR[position >> 2u] = temp;
  1066. 612 .loc 1 251 14 view .LVU211
  1067. 613 02d8 85E7 b .L19
  1068. 614 .LVL60:
  1069. 615 .L74:
  1070. 251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** SYSCFG->EXTICR[position >> 2u] = temp;
  1071. 616 .loc 1 251 40 view .LVU212
  1072. 617 02da 0227 movs r7, #2
  1073. 618 02dc 07FA0CFC lsl ip, r7, ip
  1074. 251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** SYSCFG->EXTICR[position >> 2u] = temp;
  1075. 619 .loc 1 251 14 view .LVU213
  1076. 620 02e0 45EA0C05 orr r5, r5, ip
  1077. 621 .LVL61:
  1078. 251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** SYSCFG->EXTICR[position >> 2u] = temp;
  1079. 622 .loc 1 251 14 view .LVU214
  1080. 623 02e4 7FE7 b .L19
  1081. 624 .L78:
  1082. 625 02e6 00BF .align 2
  1083. 626 .L77:
  1084. 627 02e8 00040048 .word 1207960576
  1085. 628 02ec 00000000 .word .LC0
  1086. 629 02f0 00080048 .word 1207961600
  1087. 630 02f4 000C0048 .word 1207962624
  1088. 631 02f8 00100048 .word 1207963648
  1089. 632 02fc 00100240 .word 1073876992
  1090. 633 0300 00040140 .word 1073808384
  1091. 634 .cfi_endproc
  1092. 635 .LFE130:
  1093. 637 .section .text.HAL_GPIO_DeInit,"ax",%progbits
  1094. 638 .align 1
  1095. 639 .p2align 2,,3
  1096. 640 .global HAL_GPIO_DeInit
  1097. 641 .syntax unified
  1098. 642 .thumb
  1099. 643 .thumb_func
  1100. 645 HAL_GPIO_DeInit:
  1101. 646 .LVL62:
  1102. 647 .LFB131:
  1103. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 20
  1104. 293:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1105. 294:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /**
  1106. 295:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @brief De-initialize the GPIOx peripheral registers to their default reset values.
  1107. 296:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @param GPIOx where x can be (A..F) to select the GPIO peripheral for STM32F30X device or STM32
  1108. 297:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @param GPIO_Pin specifies the port bit to be written.
  1109. 298:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * This parameter can be one of GPIO_PIN_x where x can be (0..15).
  1110. 299:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @retval None
  1111. 300:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** */
  1112. 301:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** void HAL_GPIO_DeInit(GPIO_TypeDef *GPIOx, uint32_t GPIO_Pin)
  1113. 302:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1114. 648 .loc 1 302 1 is_stmt 1 view -0
  1115. 649 .cfi_startproc
  1116. 650 @ args = 0, pretend = 0, frame = 0
  1117. 651 @ frame_needed = 0, uses_anonymous_args = 0
  1118. 303:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** uint32_t position = 0x00u;
  1119. 652 .loc 1 303 3 view .LVU216
  1120. 304:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** uint32_t iocurrent;
  1121. 653 .loc 1 304 3 view .LVU217
  1122. 305:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** uint32_t tmp;
  1123. 654 .loc 1 305 3 view .LVU218
  1124. 306:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1125. 307:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Check the parameters */
  1126. 308:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_ALL_INSTANCE(GPIOx));
  1127. 655 .loc 1 308 3 view .LVU219
  1128. 656 0000 B0F1904F cmp r0, #1207959552
  1129. 302:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** uint32_t position = 0x00u;
  1130. 657 .loc 1 302 1 is_stmt 0 view .LVU220
  1131. 658 0004 2DE9F84F push {r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
  1132. 659 .LCFI4:
  1133. 660 .cfi_def_cfa_offset 40
  1134. 661 .cfi_offset 3, -40
  1135. 662 .cfi_offset 4, -36
  1136. 663 .cfi_offset 5, -32
  1137. 664 .cfi_offset 6, -28
  1138. 665 .cfi_offset 7, -24
  1139. 666 .cfi_offset 8, -20
  1140. 667 .cfi_offset 9, -16
  1141. 668 .cfi_offset 10, -12
  1142. 669 .cfi_offset 11, -8
  1143. 670 .cfi_offset 14, -4
  1144. 302:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** uint32_t position = 0x00u;
  1145. 671 .loc 1 302 1 view .LVU221
  1146. 672 0008 0446 mov r4, r0
  1147. 673 000a 0D46 mov r5, r1
  1148. 674 .loc 1 308 3 view .LVU222
  1149. 675 000c 17D0 beq .L80
  1150. 676 .loc 1 308 3 discriminator 1 view .LVU223
  1151. 677 000e 534B ldr r3, .L106
  1152. 678 0010 9842 cmp r0, r3
  1153. 679 0012 14D0 beq .L80
  1154. 680 .loc 1 308 3 discriminator 2 view .LVU224
  1155. 681 0014 03F58063 add r3, r3, #1024
  1156. 682 0018 9842 cmp r0, r3
  1157. 683 001a 10D0 beq .L80
  1158. 684 .loc 1 308 3 discriminator 3 view .LVU225
  1159. 685 001c 03F58063 add r3, r3, #1024
  1160. 686 0020 9842 cmp r0, r3
  1161. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 21
  1162. 687 0022 0CD0 beq .L80
  1163. 688 .loc 1 308 3 discriminator 4 view .LVU226
  1164. 689 0024 03F58063 add r3, r3, #1024
  1165. 690 0028 9842 cmp r0, r3
  1166. 691 002a 08D0 beq .L80
  1167. 692 .loc 1 308 3 discriminator 5 view .LVU227
  1168. 693 002c 03F58063 add r3, r3, #1024
  1169. 694 0030 9842 cmp r0, r3
  1170. 695 0032 04D0 beq .L80
  1171. 696 .loc 1 308 3 discriminator 6 view .LVU228
  1172. 697 0034 4A48 ldr r0, .L106+4
  1173. 698 .LVL63:
  1174. 699 .loc 1 308 3 discriminator 6 view .LVU229
  1175. 700 0036 4FF49A71 mov r1, #308
  1176. 701 .LVL64:
  1177. 702 .loc 1 308 3 discriminator 6 view .LVU230
  1178. 703 003a FFF7FEFF bl assert_failed
  1179. 704 .LVL65:
  1180. 705 .L80:
  1181. 309:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_PIN(GPIO_Pin));
  1182. 706 .loc 1 309 3 is_stmt 1 view .LVU231
  1183. 707 003e ABB2 uxth r3, r5
  1184. 708 0040 002B cmp r3, #0
  1185. 709 0042 70D0 beq .L81
  1186. 710 .loc 1 309 3 is_stmt 0 discriminator 2 view .LVU232
  1187. 711 0044 2B0C lsrs r3, r5, #16
  1188. 712 0046 1B04 lsls r3, r3, #16
  1189. 713 0048 002B cmp r3, #0
  1190. 714 004a 7DD1 bne .L82
  1191. 715 .L84:
  1192. 716 .LVL66:
  1193. 310:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1194. 311:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Configure the port pins */
  1195. 312:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** while ((GPIO_Pin >> position) != 0x00u)
  1196. 313:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1197. 314:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Get current io position */
  1198. 315:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** iocurrent = (GPIO_Pin) & (1uL << position);
  1199. 316:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1200. 317:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** if (iocurrent != 0x00u)
  1201. 318:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1202. 319:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /*------------------------- EXTI Mode Configuration --------------------*/
  1203. 320:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Clear the External Interrupt or Event for the current IO */
  1204. 321:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1205. 322:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** tmp = SYSCFG->EXTICR[position >> 2u];
  1206. 323:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** tmp &= (0x0FuL << (4u * (position & 0x03u)));
  1207. 324:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** if (tmp == (GPIO_GET_INDEX(GPIOx) << (4u * (position & 0x03u))))
  1208. 325:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1209. 326:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Clear EXTI line configuration */
  1210. 327:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** EXTI->IMR &= ~((uint32_t)iocurrent);
  1211. 717 .loc 1 327 19 view .LVU233
  1212. 718 004c 454E ldr r6, .L106+8
  1213. 324:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1214. 719 .loc 1 324 19 view .LVU234
  1215. 720 004e DFF80CB1 ldr fp, .L106
  1216. 302:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** uint32_t position = 0x00u;
  1217. 721 .loc 1 302 1 view .LVU235
  1218. 722 0052 0023 movs r3, #0
  1219. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 22
  1220. 323:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** if (tmp == (GPIO_GET_INDEX(GPIOx) << (4u * (position & 0x03u))))
  1221. 723 .loc 1 323 22 view .LVU236
  1222. 724 0054 4FF00F09 mov r9, #15
  1223. 328:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** EXTI->EMR &= ~((uint32_t)iocurrent);
  1224. 329:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1225. 330:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Clear Rising Falling edge configuration */
  1226. 331:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** EXTI->FTSR &= ~((uint32_t)iocurrent);
  1227. 332:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** EXTI->RTSR &= ~((uint32_t)iocurrent);
  1228. 333:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1229. 334:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Configure the External Interrupt or event for the current IO */
  1230. 335:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** tmp = 0x0FuL << (4u * (position & 0x03u));
  1231. 336:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** SYSCFG->EXTICR[position >> 2u] &= ~tmp;
  1232. 337:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  1233. 338:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1234. 339:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /*------------------------- GPIO Mode Configuration --------------------*/
  1235. 340:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Configure IO Direction in Input Floating Mode */
  1236. 341:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->MODER &= ~(GPIO_MODER_MODER0 << (position * 2u));
  1237. 725 .loc 1 341 43 view .LVU237
  1238. 726 0058 4FF0030A mov r10, #3
  1239. 727 005c 4AE0 b .L83
  1240. 728 .LVL67:
  1241. 729 .L105:
  1242. 324:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1243. 730 .loc 1 324 19 discriminator 1 view .LVU238
  1244. 731 005e 5C45 cmp r4, fp
  1245. 732 0060 6AD0 beq .L102
  1246. 324:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1247. 733 .loc 1 324 19 discriminator 3 view .LVU239
  1248. 734 0062 414F ldr r7, .L106+12
  1249. 735 0064 BC42 cmp r4, r7
  1250. 736 0066 6BD0 beq .L103
  1251. 324:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1252. 737 .loc 1 324 19 discriminator 5 view .LVU240
  1253. 738 0068 404F ldr r7, .L106+16
  1254. 739 006a BC42 cmp r4, r7
  1255. 740 006c 72D0 beq .L104
  1256. 324:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1257. 741 .loc 1 324 19 discriminator 7 view .LVU241
  1258. 742 006e 404F ldr r7, .L106+20
  1259. 743 0070 BC42 cmp r4, r7
  1260. 324:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1261. 744 .loc 1 324 41 discriminator 7 view .LVU242
  1262. 745 0072 14BF ite ne
  1263. 746 0074 0527 movne r7, #5
  1264. 747 0076 0427 moveq r7, #4
  1265. 748 0078 07FA01F1 lsl r1, r7, r1
  1266. 749 .L86:
  1267. 324:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1268. 750 .loc 1 324 10 discriminator 20 view .LVU243
  1269. 751 007c 8C45 cmp ip, r1
  1270. 752 007e 13D1 bne .L91
  1271. 327:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** EXTI->EMR &= ~((uint32_t)iocurrent);
  1272. 753 .loc 1 327 9 is_stmt 1 view .LVU244
  1273. 327:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** EXTI->EMR &= ~((uint32_t)iocurrent);
  1274. 754 .loc 1 327 19 is_stmt 0 view .LVU245
  1275. 755 0080 3168 ldr r1, [r6]
  1276. 756 0082 21EA0E01 bic r1, r1, lr
  1277. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 23
  1278. 757 0086 3160 str r1, [r6]
  1279. 328:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** EXTI->EMR &= ~((uint32_t)iocurrent);
  1280. 758 .loc 1 328 9 is_stmt 1 view .LVU246
  1281. 328:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** EXTI->EMR &= ~((uint32_t)iocurrent);
  1282. 759 .loc 1 328 19 is_stmt 0 view .LVU247
  1283. 760 0088 7168 ldr r1, [r6, #4]
  1284. 761 008a 21EA0E01 bic r1, r1, lr
  1285. 762 008e 7160 str r1, [r6, #4]
  1286. 331:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** EXTI->RTSR &= ~((uint32_t)iocurrent);
  1287. 763 .loc 1 331 9 is_stmt 1 view .LVU248
  1288. 331:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** EXTI->RTSR &= ~((uint32_t)iocurrent);
  1289. 764 .loc 1 331 20 is_stmt 0 view .LVU249
  1290. 765 0090 F168 ldr r1, [r6, #12]
  1291. 766 0092 21EA0E01 bic r1, r1, lr
  1292. 767 0096 F160 str r1, [r6, #12]
  1293. 332:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1294. 768 .loc 1 332 9 is_stmt 1 view .LVU250
  1295. 332:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1296. 769 .loc 1 332 20 is_stmt 0 view .LVU251
  1297. 770 0098 B168 ldr r1, [r6, #8]
  1298. 771 009a 21EA0E01 bic r1, r1, lr
  1299. 772 009e B160 str r1, [r6, #8]
  1300. 335:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** SYSCFG->EXTICR[position >> 2u] &= ~tmp;
  1301. 773 .loc 1 335 9 is_stmt 1 view .LVU252
  1302. 774 .LVL68:
  1303. 336:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  1304. 775 .loc 1 336 9 view .LVU253
  1305. 336:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  1306. 776 .loc 1 336 40 is_stmt 0 view .LVU254
  1307. 777 00a0 8168 ldr r1, [r0, #8]
  1308. 778 00a2 21EA0801 bic r1, r1, r8
  1309. 779 00a6 8160 str r1, [r0, #8]
  1310. 780 .LVL69:
  1311. 781 .L91:
  1312. 782 .loc 1 341 7 is_stmt 1 view .LVU255
  1313. 783 .loc 1 341 20 is_stmt 0 view .LVU256
  1314. 784 00a8 2068 ldr r0, [r4]
  1315. 785 .loc 1 341 43 view .LVU257
  1316. 786 00aa 5900 lsls r1, r3, #1
  1317. 787 00ac 0AFA01F1 lsl r1, r10, r1
  1318. 342:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1319. 343:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Configure the default Alternate Function in current IO */
  1320. 344:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->AFR[position >> 3u] &= ~(0xFu << ((uint32_t)(position & 0x07u) * 4u)) ;
  1321. 788 .loc 1 344 34 view .LVU258
  1322. 789 00b0 4FEAD30C lsr ip, r3, #3
  1323. 341:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1324. 790 .loc 1 341 20 view .LVU259
  1325. 791 00b4 20EA0100 bic r0, r0, r1
  1326. 792 00b8 04EB8C0C add ip, r4, ip, lsl #2
  1327. 793 00bc 2060 str r0, [r4]
  1328. 794 .loc 1 344 7 is_stmt 1 view .LVU260
  1329. 795 .loc 1 344 48 is_stmt 0 view .LVU261
  1330. 796 00be 03F00700 and r0, r3, #7
  1331. 797 .loc 1 344 34 view .LVU262
  1332. 798 00c2 DCF820E0 ldr lr, [ip, #32]
  1333. 799 .LVL70:
  1334. 800 .loc 1 344 77 view .LVU263
  1335. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 24
  1336. 801 00c6 8000 lsls r0, r0, #2
  1337. 802 .loc 1 344 44 view .LVU264
  1338. 803 00c8 09FA00F0 lsl r0, r9, r0
  1339. 804 .loc 1 344 34 view .LVU265
  1340. 805 00cc 2EEA0000 bic r0, lr, r0
  1341. 806 00d0 CCF82000 str r0, [ip, #32]
  1342. 345:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1343. 346:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Deactivate the Pull-up and Pull-down resistor for the current IO */
  1344. 347:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->PUPDR &= ~(GPIO_PUPDR_PUPDR0 << (position * 2u));
  1345. 807 .loc 1 347 7 is_stmt 1 view .LVU266
  1346. 808 .loc 1 347 20 is_stmt 0 view .LVU267
  1347. 809 00d4 E068 ldr r0, [r4, #12]
  1348. 810 00d6 20EA0100 bic r0, r0, r1
  1349. 811 00da E060 str r0, [r4, #12]
  1350. 348:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1351. 349:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Configure the default value IO Output Type */
  1352. 350:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->OTYPER &= ~(GPIO_OTYPER_OT_0 << position) ;
  1353. 812 .loc 1 350 7 is_stmt 1 view .LVU268
  1354. 813 .loc 1 350 22 is_stmt 0 view .LVU269
  1355. 814 00dc 6068 ldr r0, [r4, #4]
  1356. 815 00de 20EA0202 bic r2, r0, r2
  1357. 816 .LVL71:
  1358. 817 .loc 1 350 22 view .LVU270
  1359. 818 00e2 6260 str r2, [r4, #4]
  1360. 351:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1361. 352:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Configure the default value for IO Speed */
  1362. 353:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->OSPEEDR &= ~(GPIO_OSPEEDER_OSPEEDR0 << (position * 2u));
  1363. 819 .loc 1 353 7 is_stmt 1 view .LVU271
  1364. 820 .loc 1 353 22 is_stmt 0 view .LVU272
  1365. 821 00e4 A268 ldr r2, [r4, #8]
  1366. 822 00e6 22EA0101 bic r1, r2, r1
  1367. 823 00ea A160 str r1, [r4, #8]
  1368. 824 .L85:
  1369. 354:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  1370. 355:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1371. 356:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** position++;
  1372. 825 .loc 1 356 5 is_stmt 1 view .LVU273
  1373. 826 .loc 1 356 13 is_stmt 0 view .LVU274
  1374. 827 00ec 0133 adds r3, r3, #1
  1375. 828 .LVL72:
  1376. 312:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1377. 829 .loc 1 312 9 is_stmt 1 view .LVU275
  1378. 830 00ee 35FA03F2 lsrs r2, r5, r3
  1379. 831 00f2 1FD0 beq .L79
  1380. 832 .LVL73:
  1381. 833 .L83:
  1382. 315:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1383. 834 .loc 1 315 5 view .LVU276
  1384. 315:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1385. 835 .loc 1 315 35 is_stmt 0 view .LVU277
  1386. 836 00f4 0122 movs r2, #1
  1387. 837 00f6 9A40 lsls r2, r2, r3
  1388. 838 .LVL74:
  1389. 317:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1390. 839 .loc 1 317 5 is_stmt 1 view .LVU278
  1391. 317:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1392. 840 .loc 1 317 8 is_stmt 0 view .LVU279
  1393. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 25
  1394. 841 00f8 12EA050E ands lr, r2, r5
  1395. 842 .LVL75:
  1396. 317:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1397. 843 .loc 1 317 8 view .LVU280
  1398. 844 00fc F6D0 beq .L85
  1399. 322:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** tmp &= (0x0FuL << (4u * (position & 0x03u)));
  1400. 845 .loc 1 322 7 is_stmt 1 view .LVU281
  1401. 846 00fe 23F00300 bic r0, r3, #3
  1402. 847 0102 00F18040 add r0, r0, #1073741824
  1403. 848 0106 00F58030 add r0, r0, #65536
  1404. 323:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** if (tmp == (GPIO_GET_INDEX(GPIOx) << (4u * (position & 0x03u))))
  1405. 849 .loc 1 323 41 is_stmt 0 view .LVU282
  1406. 850 010a 03F00301 and r1, r3, #3
  1407. 322:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** tmp &= (0x0FuL << (4u * (position & 0x03u)));
  1408. 851 .loc 1 322 11 view .LVU283
  1409. 852 010e D0F808C0 ldr ip, [r0, #8]
  1410. 853 .LVL76:
  1411. 323:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** if (tmp == (GPIO_GET_INDEX(GPIOx) << (4u * (position & 0x03u))))
  1412. 854 .loc 1 323 7 is_stmt 1 view .LVU284
  1413. 323:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** if (tmp == (GPIO_GET_INDEX(GPIOx) << (4u * (position & 0x03u))))
  1414. 855 .loc 1 323 29 is_stmt 0 view .LVU285
  1415. 856 0112 8900 lsls r1, r1, #2
  1416. 323:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** if (tmp == (GPIO_GET_INDEX(GPIOx) << (4u * (position & 0x03u))))
  1417. 857 .loc 1 323 22 view .LVU286
  1418. 858 0114 09FA01F8 lsl r8, r9, r1
  1419. 324:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1420. 859 .loc 1 324 19 view .LVU287
  1421. 860 0118 B4F1904F cmp r4, #1207959552
  1422. 323:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** if (tmp == (GPIO_GET_INDEX(GPIOx) << (4u * (position & 0x03u))))
  1423. 861 .loc 1 323 11 view .LVU288
  1424. 862 011c 08EA0C0C and ip, r8, ip
  1425. 863 .LVL77:
  1426. 324:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1427. 864 .loc 1 324 7 is_stmt 1 view .LVU289
  1428. 324:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1429. 865 .loc 1 324 19 is_stmt 0 view .LVU290
  1430. 866 0120 9DD1 bne .L105
  1431. 867 0122 0021 movs r1, #0
  1432. 868 0124 AAE7 b .L86
  1433. 869 .LVL78:
  1434. 870 .L81:
  1435. 309:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1436. 871 .loc 1 309 3 discriminator 3 view .LVU291
  1437. 872 0126 0E48 ldr r0, .L106+4
  1438. 873 0128 40F23511 movw r1, #309
  1439. 874 012c FFF7FEFF bl assert_failed
  1440. 875 .LVL79:
  1441. 312:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1442. 876 .loc 1 312 9 is_stmt 1 discriminator 3 view .LVU292
  1443. 877 0130 002D cmp r5, #0
  1444. 878 0132 8BD1 bne .L84
  1445. 879 .LVL80:
  1446. 880 .L79:
  1447. 357:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  1448. 358:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  1449. 881 .loc 1 358 1 is_stmt 0 view .LVU293
  1450. 882 0134 BDE8F88F pop {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
  1451. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 26
  1452. 883 .LVL81:
  1453. 884 .L102:
  1454. 324:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1455. 885 .loc 1 324 41 view .LVU294
  1456. 886 0138 0127 movs r7, #1
  1457. 887 013a 07FA01F1 lsl r1, r7, r1
  1458. 888 013e 9DE7 b .L86
  1459. 889 .L103:
  1460. 890 0140 0227 movs r7, #2
  1461. 891 0142 07FA01F1 lsl r1, r7, r1
  1462. 892 0146 99E7 b .L86
  1463. 893 .LVL82:
  1464. 894 .L82:
  1465. 309:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1466. 895 .loc 1 309 3 view .LVU295
  1467. 896 0148 0548 ldr r0, .L106+4
  1468. 897 014a 40F23511 movw r1, #309
  1469. 898 014e FFF7FEFF bl assert_failed
  1470. 899 .LVL83:
  1471. 312:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1472. 900 .loc 1 312 9 is_stmt 1 view .LVU296
  1473. 901 0152 7BE7 b .L84
  1474. 902 .LVL84:
  1475. 903 .L104:
  1476. 324:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1477. 904 .loc 1 324 41 is_stmt 0 view .LVU297
  1478. 905 0154 0AFA01F1 lsl r1, r10, r1
  1479. 906 0158 90E7 b .L86
  1480. 907 .L107:
  1481. 908 015a 00BF .align 2
  1482. 909 .L106:
  1483. 910 015c 00040048 .word 1207960576
  1484. 911 0160 00000000 .word .LC0
  1485. 912 0164 00040140 .word 1073808384
  1486. 913 0168 00080048 .word 1207961600
  1487. 914 016c 000C0048 .word 1207962624
  1488. 915 0170 00100048 .word 1207963648
  1489. 916 .cfi_endproc
  1490. 917 .LFE131:
  1491. 919 .section .text.HAL_GPIO_ReadPin,"ax",%progbits
  1492. 920 .align 1
  1493. 921 .p2align 2,,3
  1494. 922 .global HAL_GPIO_ReadPin
  1495. 923 .syntax unified
  1496. 924 .thumb
  1497. 925 .thumb_func
  1498. 927 HAL_GPIO_ReadPin:
  1499. 928 .LVL85:
  1500. 929 .LFB132:
  1501. 359:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1502. 360:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /**
  1503. 361:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @}
  1504. 362:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** */
  1505. 363:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1506. 364:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /** @defgroup GPIO_Exported_Functions_Group2 IO operation functions
  1507. 365:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @brief GPIO Read, Write, Toggle, Lock and EXTI management functions.
  1508. 366:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** *
  1509. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 27
  1510. 367:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** @verbatim
  1511. 368:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** ===============================================================================
  1512. 369:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** ##### IO operation functions #####
  1513. 370:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** ===============================================================================
  1514. 371:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1515. 372:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** @endverbatim
  1516. 373:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @{
  1517. 374:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** */
  1518. 375:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1519. 376:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /**
  1520. 377:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @brief Read the specified input port pin.
  1521. 378:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @param GPIOx where x can be (A..F) to select the GPIO peripheral for STM32F3 family
  1522. 379:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @param GPIO_Pin specifies the port bit to read.
  1523. 380:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * This parameter can be GPIO_PIN_x where x can be (0..15).
  1524. 381:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @retval The input port pin value.
  1525. 382:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** */
  1526. 383:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIO_PinState HAL_GPIO_ReadPin(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin)
  1527. 384:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1528. 930 .loc 1 384 1 is_stmt 1 view -0
  1529. 931 .cfi_startproc
  1530. 932 @ args = 0, pretend = 0, frame = 0
  1531. 933 @ frame_needed = 0, uses_anonymous_args = 0
  1532. 385:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIO_PinState bitstatus;
  1533. 934 .loc 1 385 3 view .LVU299
  1534. 386:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1535. 387:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Check the parameters */
  1536. 388:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_PIN(GPIO_Pin));
  1537. 935 .loc 1 388 3 view .LVU300
  1538. 384:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIO_PinState bitstatus;
  1539. 936 .loc 1 384 1 is_stmt 0 view .LVU301
  1540. 937 0000 38B5 push {r3, r4, r5, lr}
  1541. 938 .LCFI5:
  1542. 939 .cfi_def_cfa_offset 16
  1543. 940 .cfi_offset 3, -16
  1544. 941 .cfi_offset 4, -12
  1545. 942 .cfi_offset 5, -8
  1546. 943 .cfi_offset 14, -4
  1547. 384:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIO_PinState bitstatus;
  1548. 944 .loc 1 384 1 view .LVU302
  1549. 945 0002 0546 mov r5, r0
  1550. 946 .loc 1 388 3 view .LVU303
  1551. 947 0004 0C46 mov r4, r1
  1552. 948 0006 29B1 cbz r1, .L111
  1553. 949 .LVL86:
  1554. 950 .L109:
  1555. 389:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1556. 390:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** if((GPIOx->IDR & GPIO_Pin) != (uint32_t)GPIO_PIN_RESET)
  1557. 951 .loc 1 390 3 is_stmt 1 view .LVU304
  1558. 952 .loc 1 390 12 is_stmt 0 view .LVU305
  1559. 953 0008 2B69 ldr r3, [r5, #16]
  1560. 954 .LVL87:
  1561. 391:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1562. 392:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** bitstatus = GPIO_PIN_SET;
  1563. 393:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  1564. 394:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** else
  1565. 395:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1566. 396:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** bitstatus = GPIO_PIN_RESET;
  1567. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 28
  1568. 397:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  1569. 398:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** return bitstatus;
  1570. 955 .loc 1 398 3 is_stmt 1 view .LVU306
  1571. 390:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1572. 956 .loc 1 390 5 is_stmt 0 view .LVU307
  1573. 957 000a 1C42 tst r4, r3
  1574. 399:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  1575. 958 .loc 1 399 1 view .LVU308
  1576. 959 000c 14BF ite ne
  1577. 960 000e 0120 movne r0, #1
  1578. 961 0010 0020 moveq r0, #0
  1579. 962 0012 38BD pop {r3, r4, r5, pc}
  1580. 963 .LVL88:
  1581. 964 .L111:
  1582. 388:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1583. 965 .loc 1 388 3 discriminator 3 view .LVU309
  1584. 966 0014 0248 ldr r0, .L112
  1585. 967 .LVL89:
  1586. 388:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1587. 968 .loc 1 388 3 discriminator 3 view .LVU310
  1588. 969 0016 4FF4C271 mov r1, #388
  1589. 970 .LVL90:
  1590. 388:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1591. 971 .loc 1 388 3 discriminator 3 view .LVU311
  1592. 972 001a FFF7FEFF bl assert_failed
  1593. 973 .LVL91:
  1594. 974 001e F3E7 b .L109
  1595. 975 .L113:
  1596. 976 .align 2
  1597. 977 .L112:
  1598. 978 0020 00000000 .word .LC0
  1599. 979 .cfi_endproc
  1600. 980 .LFE132:
  1601. 982 .section .text.HAL_GPIO_WritePin,"ax",%progbits
  1602. 983 .align 1
  1603. 984 .p2align 2,,3
  1604. 985 .global HAL_GPIO_WritePin
  1605. 986 .syntax unified
  1606. 987 .thumb
  1607. 988 .thumb_func
  1608. 990 HAL_GPIO_WritePin:
  1609. 991 .LVL92:
  1610. 992 .LFB133:
  1611. 400:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1612. 401:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /**
  1613. 402:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @brief Set or clear the selected data port bit.
  1614. 403:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** *
  1615. 404:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @note This function uses GPIOx_BSRR and GPIOx_BRR registers to allow atomic read/modify
  1616. 405:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * accesses. In this way, there is no risk of an IRQ occurring between
  1617. 406:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * the read and the modify access.
  1618. 407:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** *
  1619. 408:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @param GPIOx where x can be (A..F) to select the GPIO peripheral for STM32F3 family
  1620. 409:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @param GPIO_Pin specifies the port bit to be written.
  1621. 410:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * This parameter can be one of GPIO_PIN_x where x can be (0..15).
  1622. 411:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @param PinState specifies the value to be written to the selected bit.
  1623. 412:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * This parameter can be one of the GPIO_PinState enum values:
  1624. 413:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @arg GPIO_PIN_RESET: to clear the port pin
  1625. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 29
  1626. 414:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @arg GPIO_PIN_SET: to set the port pin
  1627. 415:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @retval None
  1628. 416:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** */
  1629. 417:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** void HAL_GPIO_WritePin(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin, GPIO_PinState PinState)
  1630. 418:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1631. 993 .loc 1 418 1 is_stmt 1 view -0
  1632. 994 .cfi_startproc
  1633. 995 @ args = 0, pretend = 0, frame = 0
  1634. 996 @ frame_needed = 0, uses_anonymous_args = 0
  1635. 419:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Check the parameters */
  1636. 420:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_PIN(GPIO_Pin));
  1637. 997 .loc 1 420 3 view .LVU313
  1638. 418:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Check the parameters */
  1639. 998 .loc 1 418 1 is_stmt 0 view .LVU314
  1640. 999 0000 70B5 push {r4, r5, r6, lr}
  1641. 1000 .LCFI6:
  1642. 1001 .cfi_def_cfa_offset 16
  1643. 1002 .cfi_offset 4, -16
  1644. 1003 .cfi_offset 5, -12
  1645. 1004 .cfi_offset 6, -8
  1646. 1005 .cfi_offset 14, -4
  1647. 418:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Check the parameters */
  1648. 1006 .loc 1 418 1 view .LVU315
  1649. 1007 0002 0646 mov r6, r0
  1650. 1008 0004 1546 mov r5, r2
  1651. 1009 .loc 1 420 3 view .LVU316
  1652. 1010 0006 0C46 mov r4, r1
  1653. 1011 0008 59B1 cbz r1, .L121
  1654. 1012 .LVL93:
  1655. 1013 .L115:
  1656. 421:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_PIN_ACTION(PinState));
  1657. 1014 .loc 1 421 3 is_stmt 1 view .LVU317
  1658. 1015 000a 012D cmp r5, #1
  1659. 1016 000c 02D8 bhi .L122
  1660. 422:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1661. 423:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** if(PinState != GPIO_PIN_RESET)
  1662. 1017 .loc 1 423 3 view .LVU318
  1663. 1018 .loc 1 423 5 is_stmt 0 view .LVU319
  1664. 1019 000e 35B9 cbnz r5, .L117
  1665. 424:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1666. 425:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->BSRR = (uint32_t)GPIO_Pin;
  1667. 426:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  1668. 427:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** else
  1669. 428:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1670. 429:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->BRR = (uint32_t)GPIO_Pin;
  1671. 1020 .loc 1 429 5 is_stmt 1 view .LVU320
  1672. 1021 .loc 1 429 16 is_stmt 0 view .LVU321
  1673. 1022 0010 B462 str r4, [r6, #40]
  1674. 430:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  1675. 431:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  1676. 1023 .loc 1 431 1 view .LVU322
  1677. 1024 0012 70BD pop {r4, r5, r6, pc}
  1678. 1025 .LVL94:
  1679. 1026 .L122:
  1680. 421:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1681. 1027 .loc 1 421 3 discriminator 1 view .LVU323
  1682. 1028 0014 0648 ldr r0, .L123
  1683. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 30
  1684. 1029 0016 40F2A511 movw r1, #421
  1685. 1030 001a FFF7FEFF bl assert_failed
  1686. 1031 .LVL95:
  1687. 423:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1688. 1032 .loc 1 423 3 is_stmt 1 discriminator 1 view .LVU324
  1689. 1033 .L117:
  1690. 425:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  1691. 1034 .loc 1 425 5 view .LVU325
  1692. 425:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  1693. 1035 .loc 1 425 17 is_stmt 0 view .LVU326
  1694. 1036 001e B461 str r4, [r6, #24]
  1695. 1037 .loc 1 431 1 view .LVU327
  1696. 1038 0020 70BD pop {r4, r5, r6, pc}
  1697. 1039 .LVL96:
  1698. 1040 .L121:
  1699. 420:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_PIN_ACTION(PinState));
  1700. 1041 .loc 1 420 3 discriminator 3 view .LVU328
  1701. 1042 0022 0348 ldr r0, .L123
  1702. 1043 .LVL97:
  1703. 420:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_PIN_ACTION(PinState));
  1704. 1044 .loc 1 420 3 discriminator 3 view .LVU329
  1705. 1045 0024 4FF4D271 mov r1, #420
  1706. 1046 .LVL98:
  1707. 420:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_PIN_ACTION(PinState));
  1708. 1047 .loc 1 420 3 discriminator 3 view .LVU330
  1709. 1048 0028 FFF7FEFF bl assert_failed
  1710. 1049 .LVL99:
  1711. 420:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_PIN_ACTION(PinState));
  1712. 1050 .loc 1 420 3 discriminator 3 view .LVU331
  1713. 1051 002c EDE7 b .L115
  1714. 1052 .L124:
  1715. 1053 002e 00BF .align 2
  1716. 1054 .L123:
  1717. 1055 0030 00000000 .word .LC0
  1718. 1056 .cfi_endproc
  1719. 1057 .LFE133:
  1720. 1059 .section .text.HAL_GPIO_TogglePin,"ax",%progbits
  1721. 1060 .align 1
  1722. 1061 .p2align 2,,3
  1723. 1062 .global HAL_GPIO_TogglePin
  1724. 1063 .syntax unified
  1725. 1064 .thumb
  1726. 1065 .thumb_func
  1727. 1067 HAL_GPIO_TogglePin:
  1728. 1068 .LVL100:
  1729. 1069 .LFB134:
  1730. 432:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1731. 433:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /**
  1732. 434:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @brief Toggle the specified GPIO pin.
  1733. 435:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @param GPIOx where x can be (A..F) to select the GPIO peripheral for STM32F3 family
  1734. 436:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @param GPIO_Pin specifies the pin to be toggled.
  1735. 437:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @retval None
  1736. 438:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** */
  1737. 439:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** void HAL_GPIO_TogglePin(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin)
  1738. 440:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1739. 1070 .loc 1 440 1 is_stmt 1 view -0
  1740. 1071 .cfi_startproc
  1741. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 31
  1742. 1072 @ args = 0, pretend = 0, frame = 0
  1743. 1073 @ frame_needed = 0, uses_anonymous_args = 0
  1744. 441:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** uint32_t odr;
  1745. 1074 .loc 1 441 3 view .LVU333
  1746. 442:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1747. 443:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Check the parameters */
  1748. 444:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_PIN(GPIO_Pin));
  1749. 1075 .loc 1 444 3 view .LVU334
  1750. 440:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** uint32_t odr;
  1751. 1076 .loc 1 440 1 is_stmt 0 view .LVU335
  1752. 1077 0000 38B5 push {r3, r4, r5, lr}
  1753. 1078 .LCFI7:
  1754. 1079 .cfi_def_cfa_offset 16
  1755. 1080 .cfi_offset 3, -16
  1756. 1081 .cfi_offset 4, -12
  1757. 1082 .cfi_offset 5, -8
  1758. 1083 .cfi_offset 14, -4
  1759. 440:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** uint32_t odr;
  1760. 1084 .loc 1 440 1 view .LVU336
  1761. 1085 0002 0546 mov r5, r0
  1762. 1086 .loc 1 444 3 view .LVU337
  1763. 1087 0004 0C46 mov r4, r1
  1764. 1088 0006 41B1 cbz r1, .L128
  1765. 1089 .LVL101:
  1766. 1090 .L126:
  1767. 445:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1768. 446:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* get current Output Data Register value */
  1769. 447:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** odr = GPIOx->ODR;
  1770. 1091 .loc 1 447 3 is_stmt 1 view .LVU338
  1771. 1092 .loc 1 447 7 is_stmt 0 view .LVU339
  1772. 1093 0008 6969 ldr r1, [r5, #20]
  1773. 1094 .LVL102:
  1774. 448:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1775. 449:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Set selected pins that were at low level, and reset ones that were high */
  1776. 450:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->BSRR = ((odr & GPIO_Pin) << GPIO_NUMBER) | (~odr & GPIO_Pin);
  1777. 1095 .loc 1 450 3 is_stmt 1 view .LVU340
  1778. 1096 .loc 1 450 23 is_stmt 0 view .LVU341
  1779. 1097 000a 04EA0103 and r3, r4, r1
  1780. 1098 .loc 1 450 59 view .LVU342
  1781. 1099 000e 24EA0104 bic r4, r4, r1
  1782. 1100 .loc 1 450 51 view .LVU343
  1783. 1101 0012 44EA0344 orr r4, r4, r3, lsl #16
  1784. 1102 .loc 1 450 15 view .LVU344
  1785. 1103 0016 AC61 str r4, [r5, #24]
  1786. 451:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  1787. 1104 .loc 1 451 1 view .LVU345
  1788. 1105 0018 38BD pop {r3, r4, r5, pc}
  1789. 1106 .LVL103:
  1790. 1107 .L128:
  1791. 444:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1792. 1108 .loc 1 444 3 discriminator 3 view .LVU346
  1793. 1109 001a 0348 ldr r0, .L129
  1794. 1110 .LVL104:
  1795. 444:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1796. 1111 .loc 1 444 3 discriminator 3 view .LVU347
  1797. 1112 001c 4FF4DE71 mov r1, #444
  1798. 1113 .LVL105:
  1799. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 32
  1800. 444:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1801. 1114 .loc 1 444 3 discriminator 3 view .LVU348
  1802. 1115 0020 FFF7FEFF bl assert_failed
  1803. 1116 .LVL106:
  1804. 1117 0024 F0E7 b .L126
  1805. 1118 .L130:
  1806. 1119 0026 00BF .align 2
  1807. 1120 .L129:
  1808. 1121 0028 00000000 .word .LC0
  1809. 1122 .cfi_endproc
  1810. 1123 .LFE134:
  1811. 1125 .section .text.HAL_GPIO_LockPin,"ax",%progbits
  1812. 1126 .align 1
  1813. 1127 .p2align 2,,3
  1814. 1128 .global HAL_GPIO_LockPin
  1815. 1129 .syntax unified
  1816. 1130 .thumb
  1817. 1131 .thumb_func
  1818. 1133 HAL_GPIO_LockPin:
  1819. 1134 .LVL107:
  1820. 1135 .LFB135:
  1821. 452:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1822. 453:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /**
  1823. 454:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @brief Lock GPIO Pins configuration registers.
  1824. 455:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @note The locked registers are GPIOx_MODER, GPIOx_OTYPER, GPIOx_OSPEEDR,
  1825. 456:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * GPIOx_PUPDR, GPIOx_AFRL and GPIOx_AFRH.
  1826. 457:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @note The configuration of the locked GPIO pins can no longer be modified
  1827. 458:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * until the next reset.
  1828. 459:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @param GPIOx where x can be (A..F) to select the GPIO peripheral for STM32F3 family
  1829. 460:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @param GPIO_Pin specifies the port bits to be locked.
  1830. 461:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * This parameter can be any combination of GPIO_PIN_x where x can be (0..15).
  1831. 462:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @retval None
  1832. 463:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** */
  1833. 464:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** HAL_StatusTypeDef HAL_GPIO_LockPin(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin)
  1834. 465:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1835. 1136 .loc 1 465 1 is_stmt 1 view -0
  1836. 1137 .cfi_startproc
  1837. 1138 @ args = 0, pretend = 0, frame = 8
  1838. 1139 @ frame_needed = 0, uses_anonymous_args = 0
  1839. 466:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** __IO uint32_t tmp = GPIO_LCKR_LCKK;
  1840. 1140 .loc 1 466 3 view .LVU350
  1841. 465:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** __IO uint32_t tmp = GPIO_LCKR_LCKK;
  1842. 1141 .loc 1 465 1 is_stmt 0 view .LVU351
  1843. 1142 0000 30B5 push {r4, r5, lr}
  1844. 1143 .LCFI8:
  1845. 1144 .cfi_def_cfa_offset 12
  1846. 1145 .cfi_offset 4, -12
  1847. 1146 .cfi_offset 5, -8
  1848. 1147 .cfi_offset 14, -4
  1849. 1148 0002 83B0 sub sp, sp, #12
  1850. 1149 .LCFI9:
  1851. 1150 .cfi_def_cfa_offset 24
  1852. 1151 .loc 1 466 17 view .LVU352
  1853. 1152 0004 4FF48033 mov r3, #65536
  1854. 467:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1855. 468:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Check the parameters */
  1856. 469:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_LOCK_INSTANCE(GPIOx));
  1857. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 33
  1858. 1153 .loc 1 469 3 view .LVU353
  1859. 1154 0008 B0F1904F cmp r0, #1207959552
  1860. 465:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** __IO uint32_t tmp = GPIO_LCKR_LCKK;
  1861. 1155 .loc 1 465 1 view .LVU354
  1862. 1156 000c 0446 mov r4, r0
  1863. 466:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1864. 1157 .loc 1 466 17 view .LVU355
  1865. 1158 000e 0193 str r3, [sp, #4]
  1866. 1159 .loc 1 469 3 is_stmt 1 view .LVU356
  1867. 465:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** __IO uint32_t tmp = GPIO_LCKR_LCKK;
  1868. 1160 .loc 1 465 1 is_stmt 0 view .LVU357
  1869. 1161 0010 0D46 mov r5, r1
  1870. 1162 .loc 1 469 3 view .LVU358
  1871. 1163 0012 0BD0 beq .L132
  1872. 1164 .loc 1 469 3 discriminator 1 view .LVU359
  1873. 1165 0014 114B ldr r3, .L139
  1874. 1166 0016 9842 cmp r0, r3
  1875. 1167 0018 08D0 beq .L132
  1876. 1168 .loc 1 469 3 discriminator 2 view .LVU360
  1877. 1169 001a 03F50063 add r3, r3, #2048
  1878. 1170 001e 9842 cmp r0, r3
  1879. 1171 0020 04D0 beq .L132
  1880. 1172 .loc 1 469 3 discriminator 3 view .LVU361
  1881. 1173 0022 0F48 ldr r0, .L139+4
  1882. 1174 .LVL108:
  1883. 1175 .loc 1 469 3 discriminator 3 view .LVU362
  1884. 1176 0024 40F2D511 movw r1, #469
  1885. 1177 .LVL109:
  1886. 1178 .loc 1 469 3 discriminator 3 view .LVU363
  1887. 1179 0028 FFF7FEFF bl assert_failed
  1888. 1180 .LVL110:
  1889. 1181 .L132:
  1890. 470:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** assert_param(IS_GPIO_PIN(GPIO_Pin));
  1891. 1182 .loc 1 470 3 is_stmt 1 view .LVU364
  1892. 1183 002c 85B1 cbz r5, .L138
  1893. 1184 .L133:
  1894. 471:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1895. 472:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Apply lock key write sequence */
  1896. 473:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** tmp |= GPIO_Pin;
  1897. 1185 .loc 1 473 3 view .LVU365
  1898. 1186 .loc 1 473 7 is_stmt 0 view .LVU366
  1899. 1187 002e 019B ldr r3, [sp, #4]
  1900. 1188 0030 2B43 orrs r3, r3, r5
  1901. 1189 0032 0193 str r3, [sp, #4]
  1902. 474:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Set LCKx bit(s): LCKK='1' + LCK[15U-0] */
  1903. 475:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->LCKR = tmp;
  1904. 1190 .loc 1 475 3 is_stmt 1 view .LVU367
  1905. 1191 .loc 1 475 15 is_stmt 0 view .LVU368
  1906. 1192 0034 019B ldr r3, [sp, #4]
  1907. 1193 0036 E361 str r3, [r4, #28]
  1908. 476:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Reset LCKx bit(s): LCKK='0' + LCK[15U-0] */
  1909. 477:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->LCKR = GPIO_Pin;
  1910. 1194 .loc 1 477 3 is_stmt 1 view .LVU369
  1911. 1195 .loc 1 477 15 is_stmt 0 view .LVU370
  1912. 1196 0038 E561 str r5, [r4, #28]
  1913. 478:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Set LCKx bit(s): LCKK='1' + LCK[15U-0] */
  1914. 479:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** GPIOx->LCKR = tmp;
  1915. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 34
  1916. 1197 .loc 1 479 3 is_stmt 1 view .LVU371
  1917. 1198 .loc 1 479 15 is_stmt 0 view .LVU372
  1918. 1199 003a 019B ldr r3, [sp, #4]
  1919. 1200 003c E361 str r3, [r4, #28]
  1920. 480:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Read LCKK register. This read is mandatory to complete key lock sequence */
  1921. 481:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** tmp = GPIOx->LCKR;
  1922. 1201 .loc 1 481 3 is_stmt 1 view .LVU373
  1923. 1202 .loc 1 481 14 is_stmt 0 view .LVU374
  1924. 1203 003e E369 ldr r3, [r4, #28]
  1925. 1204 .loc 1 481 7 view .LVU375
  1926. 1205 0040 0193 str r3, [sp, #4]
  1927. 482:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1928. 483:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* read again in order to confirm lock is active */
  1929. 484:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** if((GPIOx->LCKR & GPIO_LCKR_LCKK) != 0x00u)
  1930. 1206 .loc 1 484 2 is_stmt 1 view .LVU376
  1931. 1207 .loc 1 484 11 is_stmt 0 view .LVU377
  1932. 1208 0042 E069 ldr r0, [r4, #28]
  1933. 1209 .loc 1 484 4 view .LVU378
  1934. 1210 0044 80F48030 eor r0, r0, #65536
  1935. 485:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1936. 486:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** return HAL_OK;
  1937. 487:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  1938. 488:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** else
  1939. 489:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1940. 490:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** return HAL_ERROR;
  1941. 491:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  1942. 492:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  1943. 1211 .loc 1 492 1 view .LVU379
  1944. 1212 0048 C0F30040 ubfx r0, r0, #16, #1
  1945. 1213 004c 03B0 add sp, sp, #12
  1946. 1214 .LCFI10:
  1947. 1215 .cfi_remember_state
  1948. 1216 .cfi_def_cfa_offset 12
  1949. 1217 @ sp needed
  1950. 1218 004e 30BD pop {r4, r5, pc}
  1951. 1219 .LVL111:
  1952. 1220 .L138:
  1953. 1221 .LCFI11:
  1954. 1222 .cfi_restore_state
  1955. 470:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1956. 1223 .loc 1 470 3 discriminator 3 view .LVU380
  1957. 1224 0050 0348 ldr r0, .L139+4
  1958. 1225 0052 4FF4EB71 mov r1, #470
  1959. 1226 0056 FFF7FEFF bl assert_failed
  1960. 1227 .LVL112:
  1961. 1228 005a E8E7 b .L133
  1962. 1229 .L140:
  1963. 1230 .align 2
  1964. 1231 .L139:
  1965. 1232 005c 00040048 .word 1207960576
  1966. 1233 0060 00000000 .word .LC0
  1967. 1234 .cfi_endproc
  1968. 1235 .LFE135:
  1969. 1237 .section .text.HAL_GPIO_EXTI_Callback,"ax",%progbits
  1970. 1238 .align 1
  1971. 1239 .p2align 2,,3
  1972. 1240 .weak HAL_GPIO_EXTI_Callback
  1973. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 35
  1974. 1241 .syntax unified
  1975. 1242 .thumb
  1976. 1243 .thumb_func
  1977. 1245 HAL_GPIO_EXTI_Callback:
  1978. 1246 .LVL113:
  1979. 1247 .LFB137:
  1980. 493:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1981. 494:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /**
  1982. 495:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @brief Handle EXTI interrupt request.
  1983. 496:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @param GPIO_Pin Specifies the port pin connected to corresponding EXTI line.
  1984. 497:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @retval None
  1985. 498:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** */
  1986. 499:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** void HAL_GPIO_EXTI_IRQHandler(uint16_t GPIO_Pin)
  1987. 500:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1988. 501:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* EXTI line interrupt detected */
  1989. 502:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** if(__HAL_GPIO_EXTI_GET_IT(GPIO_Pin) != 0x00u)
  1990. 503:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  1991. 504:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** __HAL_GPIO_EXTI_CLEAR_IT(GPIO_Pin);
  1992. 505:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** HAL_GPIO_EXTI_Callback(GPIO_Pin);
  1993. 506:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  1994. 507:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  1995. 508:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  1996. 509:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /**
  1997. 510:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @brief EXTI line detection callback.
  1998. 511:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @param GPIO_Pin Specifies the port pin connected to corresponding EXTI line.
  1999. 512:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** * @retval None
  2000. 513:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** */
  2001. 514:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** __weak void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin)
  2002. 515:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  2003. 1248 .loc 1 515 1 is_stmt 1 view -0
  2004. 1249 .cfi_startproc
  2005. 1250 @ args = 0, pretend = 0, frame = 0
  2006. 1251 @ frame_needed = 0, uses_anonymous_args = 0
  2007. 1252 @ link register save eliminated.
  2008. 516:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* Prevent unused argument(s) compilation warning */
  2009. 517:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** UNUSED(GPIO_Pin);
  2010. 1253 .loc 1 517 3 view .LVU382
  2011. 518:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  2012. 519:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* NOTE: This function should not be modified, when the callback is needed,
  2013. 520:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** the HAL_GPIO_EXTI_Callback could be implemented in the user file
  2014. 521:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** */
  2015. 522:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  2016. 1254 .loc 1 522 1 is_stmt 0 view .LVU383
  2017. 1255 0000 7047 bx lr
  2018. 1256 .cfi_endproc
  2019. 1257 .LFE137:
  2020. 1259 0002 00BF .section .text.HAL_GPIO_EXTI_IRQHandler,"ax",%progbits
  2021. 1260 .align 1
  2022. 1261 .p2align 2,,3
  2023. 1262 .global HAL_GPIO_EXTI_IRQHandler
  2024. 1263 .syntax unified
  2025. 1264 .thumb
  2026. 1265 .thumb_func
  2027. 1267 HAL_GPIO_EXTI_IRQHandler:
  2028. 1268 .LVL114:
  2029. 1269 .LFB136:
  2030. 500:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* EXTI line interrupt detected */
  2031. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 36
  2032. 1270 .loc 1 500 1 is_stmt 1 view -0
  2033. 1271 .cfi_startproc
  2034. 1272 @ args = 0, pretend = 0, frame = 0
  2035. 1273 @ frame_needed = 0, uses_anonymous_args = 0
  2036. 502:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  2037. 1274 .loc 1 502 3 view .LVU385
  2038. 502:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  2039. 1275 .loc 1 502 6 is_stmt 0 view .LVU386
  2040. 1276 0000 044A ldr r2, .L152
  2041. 1277 0002 5169 ldr r1, [r2, #20]
  2042. 502:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** {
  2043. 1278 .loc 1 502 5 view .LVU387
  2044. 1279 0004 0142 tst r1, r0
  2045. 1280 0006 00D1 bne .L151
  2046. 1281 0008 7047 bx lr
  2047. 1282 .L151:
  2048. 504:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** HAL_GPIO_EXTI_Callback(GPIO_Pin);
  2049. 1283 .loc 1 504 5 is_stmt 1 view .LVU388
  2050. 500:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** /* EXTI line interrupt detected */
  2051. 1284 .loc 1 500 1 is_stmt 0 view .LVU389
  2052. 1285 000a 08B5 push {r3, lr}
  2053. 1286 .LCFI12:
  2054. 1287 .cfi_def_cfa_offset 8
  2055. 1288 .cfi_offset 3, -8
  2056. 1289 .cfi_offset 14, -4
  2057. 504:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** HAL_GPIO_EXTI_Callback(GPIO_Pin);
  2058. 1290 .loc 1 504 5 view .LVU390
  2059. 1291 000c 5061 str r0, [r2, #20]
  2060. 505:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c **** }
  2061. 1292 .loc 1 505 5 is_stmt 1 view .LVU391
  2062. 1293 000e FFF7FEFF bl HAL_GPIO_EXTI_Callback
  2063. 1294 .LVL115:
  2064. 507:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c ****
  2065. 1295 .loc 1 507 1 is_stmt 0 view .LVU392
  2066. 1296 0012 08BD pop {r3, pc}
  2067. 1297 .L153:
  2068. 1298 .align 2
  2069. 1299 .L152:
  2070. 1300 0014 00040140 .word 1073808384
  2071. 1301 .cfi_endproc
  2072. 1302 .LFE136:
  2073. 1304 .text
  2074. 1305 .Letext0:
  2075. 1306 .file 2 "d:\\arm-gcc\\arm-none-eabi\\include\\machine\\_default_types.h"
  2076. 1307 .file 3 "d:\\arm-gcc\\arm-none-eabi\\include\\sys\\_stdint.h"
  2077. 1308 .file 4 "Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f302xc.h"
  2078. 1309 .file 5 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_def.h"
  2079. 1310 .file 6 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_gpio.h"
  2080. 1311 .file 7 "Core/Inc/stm32f3xx_hal_conf.h"
  2081. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s page 37
  2082. DEFINED SYMBOLS
  2083. *ABS*:00000000 stm32f3xx_hal_gpio.c
  2084. C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s:20 .rodata.HAL_GPIO_Init.str1.4:00000000 $d
  2085. C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s:25 .text.HAL_GPIO_Init:00000000 $t
  2086. C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s:32 .text.HAL_GPIO_Init:00000000 HAL_GPIO_Init
  2087. C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s:627 .text.HAL_GPIO_Init:000002e8 $d
  2088. C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s:638 .text.HAL_GPIO_DeInit:00000000 $t
  2089. C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s:645 .text.HAL_GPIO_DeInit:00000000 HAL_GPIO_DeInit
  2090. C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s:910 .text.HAL_GPIO_DeInit:0000015c $d
  2091. C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s:920 .text.HAL_GPIO_ReadPin:00000000 $t
  2092. C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s:927 .text.HAL_GPIO_ReadPin:00000000 HAL_GPIO_ReadPin
  2093. C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s:978 .text.HAL_GPIO_ReadPin:00000020 $d
  2094. C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s:983 .text.HAL_GPIO_WritePin:00000000 $t
  2095. C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s:990 .text.HAL_GPIO_WritePin:00000000 HAL_GPIO_WritePin
  2096. C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s:1055 .text.HAL_GPIO_WritePin:00000030 $d
  2097. C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s:1060 .text.HAL_GPIO_TogglePin:00000000 $t
  2098. C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s:1067 .text.HAL_GPIO_TogglePin:00000000 HAL_GPIO_TogglePin
  2099. C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s:1121 .text.HAL_GPIO_TogglePin:00000028 $d
  2100. C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s:1126 .text.HAL_GPIO_LockPin:00000000 $t
  2101. C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s:1133 .text.HAL_GPIO_LockPin:00000000 HAL_GPIO_LockPin
  2102. C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s:1232 .text.HAL_GPIO_LockPin:0000005c $d
  2103. C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s:1238 .text.HAL_GPIO_EXTI_Callback:00000000 $t
  2104. C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s:1245 .text.HAL_GPIO_EXTI_Callback:00000000 HAL_GPIO_EXTI_Callback
  2105. C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s:1260 .text.HAL_GPIO_EXTI_IRQHandler:00000000 $t
  2106. C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s:1267 .text.HAL_GPIO_EXTI_IRQHandler:00000000 HAL_GPIO_EXTI_IRQHandler
  2107. C:\Users\zl835\AppData\Local\Temp\ccva19Pn.s:1300 .text.HAL_GPIO_EXTI_IRQHandler:00000014 $d
  2108. UNDEFINED SYMBOLS
  2109. assert_failed