stm32f4xx_hal_exti.lst 142 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241
  1. ARM GAS /tmp/cca4EPXq.s page 1
  2. 1 .cpu cortex-m4
  3. 2 .arch armv7e-m
  4. 3 .fpu fpv4-sp-d16
  5. 4 .eabi_attribute 27, 1
  6. 5 .eabi_attribute 28, 1
  7. 6 .eabi_attribute 20, 1
  8. 7 .eabi_attribute 21, 1
  9. 8 .eabi_attribute 23, 3
  10. 9 .eabi_attribute 24, 1
  11. 10 .eabi_attribute 25, 1
  12. 11 .eabi_attribute 26, 1
  13. 12 .eabi_attribute 30, 1
  14. 13 .eabi_attribute 34, 1
  15. 14 .eabi_attribute 18, 4
  16. 15 .file "stm32f4xx_hal_exti.c"
  17. 16 .text
  18. 17 .Ltext0:
  19. 18 .cfi_sections .debug_frame
  20. 19 .section .text.HAL_EXTI_SetConfigLine,"ax",%progbits
  21. 20 .align 1
  22. 21 .global HAL_EXTI_SetConfigLine
  23. 22 .syntax unified
  24. 23 .thumb
  25. 24 .thumb_func
  26. 26 HAL_EXTI_SetConfigLine:
  27. 27 .LVL0:
  28. 28 .LFB130:
  29. 29 .file 1 "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c"
  30. 1:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /**
  31. 2:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** ******************************************************************************
  32. 3:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @file stm32f4xx_hal_exti.c
  33. 4:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @author MCD Application Team
  34. 5:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @brief EXTI HAL module driver.
  35. 6:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * This file provides firmware functions to manage the following
  36. 7:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * functionalities of the Extended Interrupts and events controller (EXTI) peripheral:
  37. 8:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * + Initialization and de-initialization functions
  38. 9:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * + IO operation functions
  39. 10:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** *
  40. 11:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** @verbatim
  41. 12:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** ==============================================================================
  42. 13:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** ##### EXTI Peripheral features #####
  43. 14:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** ==============================================================================
  44. 15:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** [..]
  45. 16:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (+) Each Exti line can be configured within this driver.
  46. 17:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  47. 18:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (+) Exti line can be configured in 3 different modes
  48. 19:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (++) Interrupt
  49. 20:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (++) Event
  50. 21:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (++) Both of them
  51. 22:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  52. 23:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (+) Configurable Exti lines can be configured with 3 different triggers
  53. 24:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (++) Rising
  54. 25:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (++) Falling
  55. 26:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (++) Both of them
  56. 27:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  57. 28:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (+) When set in interrupt mode, configurable Exti lines have two different
  58. 29:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** interrupts pending registers which allow to distinguish which transition
  59. ARM GAS /tmp/cca4EPXq.s page 2
  60. 30:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** occurs:
  61. 31:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (++) Rising edge pending interrupt
  62. 32:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (++) Falling
  63. 33:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  64. 34:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (+) Exti lines 0 to 15 are linked to gpio pin number 0 to 15. Gpio port can
  65. 35:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** be selected through multiplexer.
  66. 36:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  67. 37:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** ##### How to use this driver #####
  68. 38:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** ==============================================================================
  69. 39:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** [..]
  70. 40:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  71. 41:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (#) Configure the EXTI line using HAL_EXTI_SetConfigLine().
  72. 42:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (++) Choose the interrupt line number by setting "Line" member from
  73. 43:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** EXTI_ConfigTypeDef structure.
  74. 44:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (++) Configure the interrupt and/or event mode using "Mode" member from
  75. 45:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** EXTI_ConfigTypeDef structure.
  76. 46:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (++) For configurable lines, configure rising and/or falling trigger
  77. 47:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** "Trigger" member from EXTI_ConfigTypeDef structure.
  78. 48:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  79. 49:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (#) Get current Exti configuration of a dedicated line using
  80. 50:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** HAL_EXTI_GetConfigLine().
  81. 51:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (++) Provide exiting handle as parameter.
  82. 52:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (++) Provide pointer on EXTI_ConfigTypeDef structure as second parameter.
  83. 53:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  84. 54:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (#) Clear Exti configuration of a dedicated line using HAL_EXTI_GetConfigLine().
  85. 55:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (++) Provide exiting handle as parameter.
  86. 56:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  87. 57:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (#) Register callback to treat Exti interrupts using HAL_EXTI_RegisterCallback().
  88. 58:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (++) Provide exiting handle as first parameter.
  89. 59:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (++) Provide which callback will be registered using one value from
  90. 60:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** EXTI_CallbackIDTypeDef.
  91. 61:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (++) Provide callback function pointer.
  92. 62:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  93. 63:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (#) Get interrupt pending bit using HAL_EXTI_GetPending().
  94. 64:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  95. 65:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (#) Clear interrupt pending bit using HAL_EXTI_GetPending().
  96. 66:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  97. 67:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** (#) Generate software interrupt using HAL_EXTI_GenerateSWI().
  98. 68:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  99. 69:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** @endverbatim
  100. 70:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** ******************************************************************************
  101. 71:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @attention
  102. 72:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** *
  103. 73:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * <h2><center>&copy; Copyright (c) 2018 STMicroelectronics.
  104. 74:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * All rights reserved.</center></h2>
  105. 75:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** *
  106. 76:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * This software component is licensed by ST under BSD 3-Clause license,
  107. 77:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * the "License"; You may not use this file except in compliance with the
  108. 78:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * License. You may obtain a copy of the License at:
  109. 79:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * opensource.org/licenses/BSD-3-Clause
  110. 80:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** *
  111. 81:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** ******************************************************************************
  112. 82:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** */
  113. 83:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  114. 84:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Includes ------------------------------------------------------------------*/
  115. 85:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** #include "stm32f4xx_hal.h"
  116. 86:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  117. ARM GAS /tmp/cca4EPXq.s page 3
  118. 87:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /** @addtogroup STM32F4xx_HAL_Driver
  119. 88:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @{
  120. 89:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** */
  121. 90:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  122. 91:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /** @addtogroup EXTI
  123. 92:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @{
  124. 93:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** */
  125. 94:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /** MISRA C:2012 deviation rule has been granted for following rule:
  126. 95:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * Rule-18.1_b - Medium: Array `EXTICR' 1st subscript interval [0,7] may be out
  127. 96:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * of bounds [0,3] in following API :
  128. 97:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * HAL_EXTI_SetConfigLine
  129. 98:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * HAL_EXTI_GetConfigLine
  130. 99:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * HAL_EXTI_ClearConfigLine
  131. 100:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** */
  132. 101:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  133. 102:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** #ifdef HAL_EXTI_MODULE_ENABLED
  134. 103:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  135. 104:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Private typedef -----------------------------------------------------------*/
  136. 105:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Private defines -----------------------------------------------------------*/
  137. 106:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /** @defgroup EXTI_Private_Constants EXTI Private Constants
  138. 107:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @{
  139. 108:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** */
  140. 109:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  141. 110:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /**
  142. 111:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @}
  143. 112:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** */
  144. 113:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  145. 114:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Private macros ------------------------------------------------------------*/
  146. 115:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Private variables ---------------------------------------------------------*/
  147. 116:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Private function prototypes -----------------------------------------------*/
  148. 117:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Exported functions --------------------------------------------------------*/
  149. 118:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  150. 119:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /** @addtogroup EXTI_Exported_Functions
  151. 120:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @{
  152. 121:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** */
  153. 122:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  154. 123:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /** @addtogroup EXTI_Exported_Functions_Group1
  155. 124:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @brief Configuration functions
  156. 125:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** *
  157. 126:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** @verbatim
  158. 127:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** ===============================================================================
  159. 128:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** ##### Configuration functions #####
  160. 129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** ===============================================================================
  161. 130:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  162. 131:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** @endverbatim
  163. 132:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @{
  164. 133:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** */
  165. 134:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  166. 135:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /**
  167. 136:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @brief Set configuration of a dedicated Exti line.
  168. 137:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @param hexti Exti handle.
  169. 138:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @param pExtiConfig Pointer on EXTI configuration to be set.
  170. 139:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @retval HAL Status.
  171. 140:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** */
  172. 141:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** HAL_StatusTypeDef HAL_EXTI_SetConfigLine(EXTI_HandleTypeDef *hexti, EXTI_ConfigTypeDef *pExtiConfig
  173. 142:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  174. 30 .loc 1 142 1 view -0
  175. ARM GAS /tmp/cca4EPXq.s page 4
  176. 31 .cfi_startproc
  177. 32 @ args = 0, pretend = 0, frame = 0
  178. 33 @ frame_needed = 0, uses_anonymous_args = 0
  179. 34 @ link register save eliminated.
  180. 143:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** uint32_t regval;
  181. 35 .loc 1 143 3 view .LVU1
  182. 144:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  183. 145:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Check null pointer */
  184. 146:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** if ((hexti == NULL) || (pExtiConfig == NULL))
  185. 36 .loc 1 146 3 view .LVU2
  186. 37 .loc 1 146 6 is_stmt 0 view .LVU3
  187. 38 0000 0028 cmp r0, #0
  188. 39 0002 3CD0 beq .L4
  189. 40 0004 0346 mov r3, r0
  190. 41 .loc 1 146 23 discriminator 1 view .LVU4
  191. 42 0006 0029 cmp r1, #0
  192. 43 0008 3BD0 beq .L5
  193. 142:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** uint32_t regval;
  194. 44 .loc 1 142 1 view .LVU5
  195. 45 000a 10B4 push {r4}
  196. 46 .LCFI0:
  197. 47 .cfi_def_cfa_offset 4
  198. 48 .cfi_offset 4, -4
  199. 147:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  200. 148:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** return HAL_ERROR;
  201. 149:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  202. 150:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  203. 151:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Check parameters */
  204. 152:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** assert_param(IS_EXTI_LINE(pExtiConfig->Line));
  205. 49 .loc 1 152 3 is_stmt 1 view .LVU6
  206. 153:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** assert_param(IS_EXTI_MODE(pExtiConfig->Mode));
  207. 50 .loc 1 153 3 view .LVU7
  208. 154:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** assert_param(IS_EXTI_TRIGGER(pExtiConfig->Trigger));
  209. 51 .loc 1 154 3 view .LVU8
  210. 155:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  211. 156:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Assign line number to handle */
  212. 157:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** hexti->Line = pExtiConfig->Line;
  213. 52 .loc 1 157 3 view .LVU9
  214. 53 .loc 1 157 28 is_stmt 0 view .LVU10
  215. 54 000c 0868 ldr r0, [r1]
  216. 55 .LVL1:
  217. 56 .loc 1 157 15 view .LVU11
  218. 57 000e 1860 str r0, [r3]
  219. 158:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  220. 159:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Clear EXTI line configuration */
  221. 160:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** EXTI->IMR &= ~pExtiConfig->Line;
  222. 58 .loc 1 160 3 is_stmt 1 view .LVU12
  223. 59 .loc 1 160 13 is_stmt 0 view .LVU13
  224. 60 0010 1D4B ldr r3, .L11
  225. 61 .LVL2:
  226. 62 .loc 1 160 13 view .LVU14
  227. 63 0012 1A68 ldr r2, [r3]
  228. 64 0014 22EA0002 bic r2, r2, r0
  229. 65 0018 1A60 str r2, [r3]
  230. 161:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** EXTI->EMR &= ~pExtiConfig->Line;
  231. 66 .loc 1 161 3 is_stmt 1 view .LVU15
  232. 67 .loc 1 161 13 is_stmt 0 view .LVU16
  233. ARM GAS /tmp/cca4EPXq.s page 5
  234. 68 001a 5A68 ldr r2, [r3, #4]
  235. 69 .loc 1 161 28 view .LVU17
  236. 70 001c 0868 ldr r0, [r1]
  237. 71 .loc 1 161 13 view .LVU18
  238. 72 001e 22EA0002 bic r2, r2, r0
  239. 73 0022 5A60 str r2, [r3, #4]
  240. 162:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  241. 163:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Select the Mode for the selected external interrupts */
  242. 164:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** regval = (uint32_t)EXTI_BASE;
  243. 74 .loc 1 164 3 is_stmt 1 view .LVU19
  244. 75 .LVL3:
  245. 165:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** regval += pExtiConfig->Mode;
  246. 76 .loc 1 165 3 view .LVU20
  247. 77 .loc 1 165 24 is_stmt 0 view .LVU21
  248. 78 0024 4A68 ldr r2, [r1, #4]
  249. 79 .loc 1 165 10 view .LVU22
  250. 80 0026 02F18042 add r2, r2, #1073741824
  251. 81 002a 02F59E32 add r2, r2, #80896
  252. 82 .LVL4:
  253. 166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** *(__IO uint32_t *) regval |= pExtiConfig->Line;
  254. 83 .loc 1 166 3 is_stmt 1 view .LVU23
  255. 84 .loc 1 166 29 is_stmt 0 view .LVU24
  256. 85 002e 1068 ldr r0, [r2]
  257. 86 0030 0C68 ldr r4, [r1]
  258. 87 0032 2043 orrs r0, r0, r4
  259. 88 0034 1060 str r0, [r2]
  260. 167:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  261. 168:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Clear Rising Falling edge configuration */
  262. 169:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** EXTI->RTSR &= ~pExtiConfig->Line;
  263. 89 .loc 1 169 3 is_stmt 1 view .LVU25
  264. 90 .loc 1 169 14 is_stmt 0 view .LVU26
  265. 91 0036 9A68 ldr r2, [r3, #8]
  266. 92 .LVL5:
  267. 93 .loc 1 169 29 view .LVU27
  268. 94 0038 0868 ldr r0, [r1]
  269. 95 .loc 1 169 14 view .LVU28
  270. 96 003a 22EA0002 bic r2, r2, r0
  271. 97 003e 9A60 str r2, [r3, #8]
  272. 170:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** EXTI->FTSR &= ~pExtiConfig->Line;
  273. 98 .loc 1 170 3 is_stmt 1 view .LVU29
  274. 99 .loc 1 170 14 is_stmt 0 view .LVU30
  275. 100 0040 DA68 ldr r2, [r3, #12]
  276. 101 .loc 1 170 29 view .LVU31
  277. 102 0042 0868 ldr r0, [r1]
  278. 103 .loc 1 170 14 view .LVU32
  279. 104 0044 22EA0002 bic r2, r2, r0
  280. 105 0048 DA60 str r2, [r3, #12]
  281. 171:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  282. 172:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Select the trigger for the selected external interrupts */
  283. 173:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** if (pExtiConfig->Trigger == EXTI_TRIGGER_RISING_FALLING)
  284. 106 .loc 1 173 3 is_stmt 1 view .LVU33
  285. 107 .loc 1 173 18 is_stmt 0 view .LVU34
  286. 108 004a 8B68 ldr r3, [r1, #8]
  287. 109 .loc 1 173 6 view .LVU35
  288. 110 004c 102B cmp r3, #16
  289. 111 004e 0BD0 beq .L10
  290. 174:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  291. ARM GAS /tmp/cca4EPXq.s page 6
  292. 175:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Rising Falling edge */
  293. 176:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** EXTI->RTSR |= pExtiConfig->Line;
  294. 177:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** EXTI->FTSR |= pExtiConfig->Line;
  295. 178:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  296. 179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** else
  297. 180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  298. 181:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** regval = (uint32_t)EXTI_BASE;
  299. 112 .loc 1 181 5 is_stmt 1 view .LVU36
  300. 113 .LVL6:
  301. 182:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** regval += pExtiConfig->Trigger;
  302. 114 .loc 1 182 5 view .LVU37
  303. 115 .loc 1 182 12 is_stmt 0 view .LVU38
  304. 116 0050 03F18043 add r3, r3, #1073741824
  305. 117 0054 03F59E33 add r3, r3, #80896
  306. 118 .LVL7:
  307. 183:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** *(__IO uint32_t *) regval |= pExtiConfig->Line;
  308. 119 .loc 1 183 5 is_stmt 1 view .LVU39
  309. 120 .loc 1 183 31 is_stmt 0 view .LVU40
  310. 121 0058 1A68 ldr r2, [r3]
  311. 122 .loc 1 183 45 view .LVU41
  312. 123 005a 0968 ldr r1, [r1]
  313. 124 .LVL8:
  314. 125 .loc 1 183 31 view .LVU42
  315. 126 005c 0A43 orrs r2, r2, r1
  316. 127 005e 1A60 str r2, [r3]
  317. 184:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  318. 185:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** return HAL_OK;
  319. 128 .loc 1 185 10 view .LVU43
  320. 129 0060 0020 movs r0, #0
  321. 130 .LVL9:
  322. 131 .L2:
  323. 186:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  324. 132 .loc 1 186 1 view .LVU44
  325. 133 0062 5DF8044B ldr r4, [sp], #4
  326. 134 .LCFI1:
  327. 135 .cfi_remember_state
  328. 136 .cfi_restore 4
  329. 137 .cfi_def_cfa_offset 0
  330. 138 0066 7047 bx lr
  331. 139 .LVL10:
  332. 140 .L10:
  333. 141 .LCFI2:
  334. 142 .cfi_restore_state
  335. 176:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** EXTI->FTSR |= pExtiConfig->Line;
  336. 143 .loc 1 176 5 is_stmt 1 view .LVU45
  337. 176:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** EXTI->FTSR |= pExtiConfig->Line;
  338. 144 .loc 1 176 16 is_stmt 0 view .LVU46
  339. 145 0068 074B ldr r3, .L11
  340. 146 006a 9A68 ldr r2, [r3, #8]
  341. 176:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** EXTI->FTSR |= pExtiConfig->Line;
  342. 147 .loc 1 176 30 view .LVU47
  343. 148 006c 0868 ldr r0, [r1]
  344. 176:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** EXTI->FTSR |= pExtiConfig->Line;
  345. 149 .loc 1 176 16 view .LVU48
  346. 150 006e 0243 orrs r2, r2, r0
  347. 151 0070 9A60 str r2, [r3, #8]
  348. 177:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  349. ARM GAS /tmp/cca4EPXq.s page 7
  350. 152 .loc 1 177 5 is_stmt 1 view .LVU49
  351. 177:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  352. 153 .loc 1 177 16 is_stmt 0 view .LVU50
  353. 154 0072 DA68 ldr r2, [r3, #12]
  354. 177:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  355. 155 .loc 1 177 30 view .LVU51
  356. 156 0074 0968 ldr r1, [r1]
  357. 157 .LVL11:
  358. 177:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  359. 158 .loc 1 177 16 view .LVU52
  360. 159 0076 0A43 orrs r2, r2, r1
  361. 160 0078 DA60 str r2, [r3, #12]
  362. 185:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  363. 161 .loc 1 185 10 view .LVU53
  364. 162 007a 0020 movs r0, #0
  365. 163 007c F1E7 b .L2
  366. 164 .LVL12:
  367. 165 .L4:
  368. 166 .LCFI3:
  369. 167 .cfi_def_cfa_offset 0
  370. 168 .cfi_restore 4
  371. 148:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  372. 169 .loc 1 148 12 view .LVU54
  373. 170 007e 0120 movs r0, #1
  374. 171 .LVL13:
  375. 148:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  376. 172 .loc 1 148 12 view .LVU55
  377. 173 0080 7047 bx lr
  378. 174 .LVL14:
  379. 175 .L5:
  380. 148:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  381. 176 .loc 1 148 12 view .LVU56
  382. 177 0082 0120 movs r0, #1
  383. 178 .LVL15:
  384. 179 .loc 1 186 1 view .LVU57
  385. 180 0084 7047 bx lr
  386. 181 .L12:
  387. 182 0086 00BF .align 2
  388. 183 .L11:
  389. 184 0088 003C0140 .word 1073822720
  390. 185 .cfi_endproc
  391. 186 .LFE130:
  392. 188 .section .text.HAL_EXTI_GetConfigLine,"ax",%progbits
  393. 189 .align 1
  394. 190 .global HAL_EXTI_GetConfigLine
  395. 191 .syntax unified
  396. 192 .thumb
  397. 193 .thumb_func
  398. 195 HAL_EXTI_GetConfigLine:
  399. 196 .LVL16:
  400. 197 .LFB131:
  401. 187:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  402. 188:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /**
  403. 189:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @brief Get configuration of a dedicated Exti line.
  404. 190:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @param hexti Exti handle.
  405. 191:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @param pExtiConfig Pointer on structure to store Exti configuration.
  406. 192:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @retval HAL Status.
  407. ARM GAS /tmp/cca4EPXq.s page 8
  408. 193:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** */
  409. 194:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** HAL_StatusTypeDef HAL_EXTI_GetConfigLine(EXTI_HandleTypeDef *hexti, EXTI_ConfigTypeDef *pExtiConfig
  410. 195:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  411. 198 .loc 1 195 1 is_stmt 1 view -0
  412. 199 .cfi_startproc
  413. 200 @ args = 0, pretend = 0, frame = 0
  414. 201 @ frame_needed = 0, uses_anonymous_args = 0
  415. 202 @ link register save eliminated.
  416. 196:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Check null pointer */
  417. 197:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** if ((hexti == NULL) || (pExtiConfig == NULL))
  418. 203 .loc 1 197 3 view .LVU59
  419. 204 .loc 1 197 6 is_stmt 0 view .LVU60
  420. 205 0000 0246 mov r2, r0
  421. 206 0002 0028 cmp r0, #0
  422. 207 0004 31D0 beq .L21
  423. 208 .loc 1 197 23 discriminator 1 view .LVU61
  424. 209 0006 0029 cmp r1, #0
  425. 210 0008 31D0 beq .L22
  426. 198:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  427. 199:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** return HAL_ERROR;
  428. 200:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  429. 201:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  430. 202:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Check the parameter */
  431. 203:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** assert_param(IS_EXTI_LINE(hexti->Line));
  432. 211 .loc 1 203 3 is_stmt 1 view .LVU62
  433. 204:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  434. 205:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Store handle line number to configuration structure */
  435. 206:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** pExtiConfig->Line = hexti->Line;
  436. 212 .loc 1 206 3 view .LVU63
  437. 213 .loc 1 206 28 is_stmt 0 view .LVU64
  438. 214 000a 0368 ldr r3, [r0]
  439. 215 .loc 1 206 21 view .LVU65
  440. 216 000c 0B60 str r3, [r1]
  441. 207:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  442. 208:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Get EXTI mode to configiguration structure */
  443. 209:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** if ((EXTI->IMR & hexti->Line) == hexti->Line)
  444. 217 .loc 1 209 3 is_stmt 1 view .LVU66
  445. 218 .loc 1 209 12 is_stmt 0 view .LVU67
  446. 219 000e 1948 ldr r0, .L28
  447. 220 .LVL17:
  448. 221 .loc 1 209 12 view .LVU68
  449. 222 0010 0068 ldr r0, [r0]
  450. 223 .loc 1 209 6 view .LVU69
  451. 224 0012 33EA0000 bics r0, r3, r0
  452. 225 0016 12D0 beq .L23
  453. 210:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  454. 211:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** pExtiConfig->Mode = EXTI_MODE_INTERRUPT;
  455. 212:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  456. 213:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** else if ((EXTI->EMR & hexti->Line) == hexti->Line)
  457. 226 .loc 1 213 8 is_stmt 1 view .LVU70
  458. 227 .loc 1 213 17 is_stmt 0 view .LVU71
  459. 228 0018 1648 ldr r0, .L28
  460. 229 001a 4068 ldr r0, [r0, #4]
  461. 230 .loc 1 213 11 view .LVU72
  462. 231 001c 8343 bics r3, r3, r0
  463. 232 001e 11D0 beq .L24
  464. 214:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  465. ARM GAS /tmp/cca4EPXq.s page 9
  466. 215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** pExtiConfig->Mode = EXTI_MODE_EVENT;
  467. 216:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  468. 217:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** else
  469. 218:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  470. 219:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* No MODE selected */
  471. 220:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** pExtiConfig->Mode = 0x0Bu;
  472. 233 .loc 1 220 5 is_stmt 1 view .LVU73
  473. 234 .loc 1 220 23 is_stmt 0 view .LVU74
  474. 235 0020 0B23 movs r3, #11
  475. 236 0022 4B60 str r3, [r1, #4]
  476. 237 .L16:
  477. 221:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  478. 222:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  479. 223:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Get EXTI Trigger to configiguration structure */
  480. 224:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** if ((EXTI->RTSR & hexti->Line) == hexti->Line)
  481. 238 .loc 1 224 3 is_stmt 1 view .LVU75
  482. 239 .loc 1 224 12 is_stmt 0 view .LVU76
  483. 240 0024 134B ldr r3, .L28
  484. 241 0026 9868 ldr r0, [r3, #8]
  485. 242 .loc 1 224 26 view .LVU77
  486. 243 0028 1368 ldr r3, [r2]
  487. 244 .loc 1 224 6 view .LVU78
  488. 245 002a 33EA0002 bics r2, r3, r0
  489. 246 .LVL18:
  490. 247 .loc 1 224 6 view .LVU79
  491. 248 002e 0CD0 beq .L25
  492. 225:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  493. 226:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** if ((EXTI->FTSR & hexti->Line) == hexti->Line)
  494. 227:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  495. 228:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** pExtiConfig->Trigger = EXTI_TRIGGER_RISING_FALLING;
  496. 229:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  497. 230:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** else
  498. 231:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  499. 232:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** pExtiConfig->Trigger = EXTI_TRIGGER_RISING;
  500. 233:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  501. 234:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  502. 235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** else if ((EXTI->FTSR & hexti->Line) == hexti->Line)
  503. 249 .loc 1 235 8 is_stmt 1 view .LVU80
  504. 250 .loc 1 235 17 is_stmt 0 view .LVU81
  505. 251 0030 104A ldr r2, .L28
  506. 252 0032 D268 ldr r2, [r2, #12]
  507. 253 .loc 1 235 11 view .LVU82
  508. 254 0034 9343 bics r3, r3, r2
  509. 255 0036 14D0 beq .L26
  510. 236:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  511. 237:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** pExtiConfig->Trigger = EXTI_TRIGGER_FALLING;
  512. 238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  513. 239:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** else
  514. 240:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  515. 241:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* No Trigger selected */
  516. 242:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** pExtiConfig->Trigger = 0x00u;
  517. 256 .loc 1 242 5 is_stmt 1 view .LVU83
  518. 257 .loc 1 242 26 is_stmt 0 view .LVU84
  519. 258 0038 0020 movs r0, #0
  520. 259 003a 8860 str r0, [r1, #8]
  521. 260 003c 7047 bx lr
  522. 261 .LVL19:
  523. ARM GAS /tmp/cca4EPXq.s page 10
  524. 262 .L23:
  525. 211:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  526. 263 .loc 1 211 5 is_stmt 1 view .LVU85
  527. 211:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  528. 264 .loc 1 211 23 is_stmt 0 view .LVU86
  529. 265 003e 0023 movs r3, #0
  530. 266 0040 4B60 str r3, [r1, #4]
  531. 267 0042 EFE7 b .L16
  532. 268 .L24:
  533. 215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  534. 269 .loc 1 215 5 is_stmt 1 view .LVU87
  535. 215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  536. 270 .loc 1 215 23 is_stmt 0 view .LVU88
  537. 271 0044 0423 movs r3, #4
  538. 272 0046 4B60 str r3, [r1, #4]
  539. 273 0048 ECE7 b .L16
  540. 274 .LVL20:
  541. 275 .L25:
  542. 226:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  543. 276 .loc 1 226 5 is_stmt 1 view .LVU89
  544. 226:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  545. 277 .loc 1 226 14 is_stmt 0 view .LVU90
  546. 278 004a 0A4A ldr r2, .L28
  547. 279 004c D268 ldr r2, [r2, #12]
  548. 226:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  549. 280 .loc 1 226 8 view .LVU91
  550. 281 004e 9343 bics r3, r3, r2
  551. 282 0050 03D0 beq .L27
  552. 232:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  553. 283 .loc 1 232 7 is_stmt 1 view .LVU92
  554. 232:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  555. 284 .loc 1 232 28 is_stmt 0 view .LVU93
  556. 285 0052 0823 movs r3, #8
  557. 286 0054 8B60 str r3, [r1, #8]
  558. 243:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  559. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  560. 245:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** return HAL_OK;
  561. 287 .loc 1 245 10 view .LVU94
  562. 288 0056 0020 movs r0, #0
  563. 289 0058 7047 bx lr
  564. 290 .L27:
  565. 228:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  566. 291 .loc 1 228 7 is_stmt 1 view .LVU95
  567. 228:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  568. 292 .loc 1 228 28 is_stmt 0 view .LVU96
  569. 293 005a 1023 movs r3, #16
  570. 294 005c 8B60 str r3, [r1, #8]
  571. 295 .loc 1 245 10 view .LVU97
  572. 296 005e 0020 movs r0, #0
  573. 297 0060 7047 bx lr
  574. 298 .L26:
  575. 237:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  576. 299 .loc 1 237 5 is_stmt 1 view .LVU98
  577. 237:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  578. 300 .loc 1 237 26 is_stmt 0 view .LVU99
  579. 301 0062 0C23 movs r3, #12
  580. 302 0064 8B60 str r3, [r1, #8]
  581. ARM GAS /tmp/cca4EPXq.s page 11
  582. 303 .loc 1 245 10 view .LVU100
  583. 304 0066 0020 movs r0, #0
  584. 305 0068 7047 bx lr
  585. 306 .LVL21:
  586. 307 .L21:
  587. 199:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  588. 308 .loc 1 199 12 view .LVU101
  589. 309 006a 0120 movs r0, #1
  590. 310 .LVL22:
  591. 199:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  592. 311 .loc 1 199 12 view .LVU102
  593. 312 006c 7047 bx lr
  594. 313 .LVL23:
  595. 314 .L22:
  596. 199:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  597. 315 .loc 1 199 12 view .LVU103
  598. 316 006e 0120 movs r0, #1
  599. 317 .LVL24:
  600. 246:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  601. 318 .loc 1 246 1 view .LVU104
  602. 319 0070 7047 bx lr
  603. 320 .L29:
  604. 321 0072 00BF .align 2
  605. 322 .L28:
  606. 323 0074 003C0140 .word 1073822720
  607. 324 .cfi_endproc
  608. 325 .LFE131:
  609. 327 .section .text.HAL_EXTI_ClearConfigLine,"ax",%progbits
  610. 328 .align 1
  611. 329 .global HAL_EXTI_ClearConfigLine
  612. 330 .syntax unified
  613. 331 .thumb
  614. 332 .thumb_func
  615. 334 HAL_EXTI_ClearConfigLine:
  616. 335 .LVL25:
  617. 336 .LFB132:
  618. 247:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  619. 248:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /**
  620. 249:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @brief Clear whole configuration of a dedicated Exti line.
  621. 250:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @param hexti Exti handle.
  622. 251:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @retval HAL Status.
  623. 252:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** */
  624. 253:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** HAL_StatusTypeDef HAL_EXTI_ClearConfigLine(EXTI_HandleTypeDef *hexti)
  625. 254:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  626. 337 .loc 1 254 1 is_stmt 1 view -0
  627. 338 .cfi_startproc
  628. 339 @ args = 0, pretend = 0, frame = 0
  629. 340 @ frame_needed = 0, uses_anonymous_args = 0
  630. 341 @ link register save eliminated.
  631. 255:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Check null pointer */
  632. 256:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** if (hexti == NULL)
  633. 342 .loc 1 256 3 view .LVU106
  634. 343 .loc 1 256 6 is_stmt 0 view .LVU107
  635. 344 0000 0246 mov r2, r0
  636. 345 0002 B0B1 cbz r0, .L32
  637. 257:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  638. 258:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** return HAL_ERROR;
  639. ARM GAS /tmp/cca4EPXq.s page 12
  640. 259:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  641. 260:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  642. 261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Check the parameter */
  643. 262:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** assert_param(IS_EXTI_LINE(hexti->Line));
  644. 346 .loc 1 262 3 is_stmt 1 view .LVU108
  645. 263:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  646. 264:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* 1] Clear interrupt mode */
  647. 265:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** EXTI->IMR = (EXTI->IMR & ~hexti->Line);
  648. 347 .loc 1 265 3 view .LVU109
  649. 348 .loc 1 265 20 is_stmt 0 view .LVU110
  650. 349 0004 0C4B ldr r3, .L33
  651. 350 0006 1968 ldr r1, [r3]
  652. 351 .loc 1 265 34 view .LVU111
  653. 352 0008 0068 ldr r0, [r0]
  654. 353 .LVL26:
  655. 354 .loc 1 265 26 view .LVU112
  656. 355 000a 21EA0001 bic r1, r1, r0
  657. 356 .loc 1 265 13 view .LVU113
  658. 357 000e 1960 str r1, [r3]
  659. 266:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  660. 267:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* 2] Clear event mode */
  661. 268:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** EXTI->EMR = (EXTI->EMR & ~hexti->Line);
  662. 358 .loc 1 268 3 is_stmt 1 view .LVU114
  663. 359 .loc 1 268 20 is_stmt 0 view .LVU115
  664. 360 0010 5968 ldr r1, [r3, #4]
  665. 361 .loc 1 268 34 view .LVU116
  666. 362 0012 1068 ldr r0, [r2]
  667. 363 .loc 1 268 26 view .LVU117
  668. 364 0014 21EA0001 bic r1, r1, r0
  669. 365 .loc 1 268 13 view .LVU118
  670. 366 0018 5960 str r1, [r3, #4]
  671. 269:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  672. 270:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* 3] Clear triggers */
  673. 271:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** EXTI->RTSR = (EXTI->RTSR & ~hexti->Line);
  674. 367 .loc 1 271 3 is_stmt 1 view .LVU119
  675. 368 .loc 1 271 21 is_stmt 0 view .LVU120
  676. 369 001a 9968 ldr r1, [r3, #8]
  677. 370 .loc 1 271 36 view .LVU121
  678. 371 001c 1068 ldr r0, [r2]
  679. 372 .loc 1 271 28 view .LVU122
  680. 373 001e 21EA0001 bic r1, r1, r0
  681. 374 .loc 1 271 14 view .LVU123
  682. 375 0022 9960 str r1, [r3, #8]
  683. 272:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** EXTI->FTSR = (EXTI->FTSR & ~hexti->Line);
  684. 376 .loc 1 272 3 is_stmt 1 view .LVU124
  685. 377 .loc 1 272 21 is_stmt 0 view .LVU125
  686. 378 0024 D968 ldr r1, [r3, #12]
  687. 379 .loc 1 272 36 view .LVU126
  688. 380 0026 1268 ldr r2, [r2]
  689. 381 .LVL27:
  690. 382 .loc 1 272 28 view .LVU127
  691. 383 0028 21EA0202 bic r2, r1, r2
  692. 384 .loc 1 272 14 view .LVU128
  693. 385 002c DA60 str r2, [r3, #12]
  694. 273:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  695. 274:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** return HAL_OK;
  696. 386 .loc 1 274 3 is_stmt 1 view .LVU129
  697. ARM GAS /tmp/cca4EPXq.s page 13
  698. 387 .loc 1 274 10 is_stmt 0 view .LVU130
  699. 388 002e 0020 movs r0, #0
  700. 389 0030 7047 bx lr
  701. 390 .LVL28:
  702. 391 .L32:
  703. 258:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  704. 392 .loc 1 258 12 view .LVU131
  705. 393 0032 0120 movs r0, #1
  706. 394 .LVL29:
  707. 275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  708. 395 .loc 1 275 1 view .LVU132
  709. 396 0034 7047 bx lr
  710. 397 .L34:
  711. 398 0036 00BF .align 2
  712. 399 .L33:
  713. 400 0038 003C0140 .word 1073822720
  714. 401 .cfi_endproc
  715. 402 .LFE132:
  716. 404 .section .text.HAL_EXTI_RegisterCallback,"ax",%progbits
  717. 405 .align 1
  718. 406 .global HAL_EXTI_RegisterCallback
  719. 407 .syntax unified
  720. 408 .thumb
  721. 409 .thumb_func
  722. 411 HAL_EXTI_RegisterCallback:
  723. 412 .LVL30:
  724. 413 .LFB133:
  725. 276:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  726. 277:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /**
  727. 278:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @brief Register callback for a dedicated Exti line.
  728. 279:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @param hexti Exti handle.
  729. 280:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @param CallbackID User callback identifier.
  730. 281:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * This parameter can be one of @arg @ref EXTI_CallbackIDTypeDef values.
  731. 282:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @param pPendingCbfn function pointer to be stored as callback.
  732. 283:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @retval HAL Status.
  733. 284:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** */
  734. 285:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** HAL_StatusTypeDef HAL_EXTI_RegisterCallback(EXTI_HandleTypeDef *hexti, EXTI_CallbackIDTypeDef Callb
  735. 286:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  736. 414 .loc 1 286 1 is_stmt 1 view -0
  737. 415 .cfi_startproc
  738. 416 @ args = 0, pretend = 0, frame = 0
  739. 417 @ frame_needed = 0, uses_anonymous_args = 0
  740. 418 @ link register save eliminated.
  741. 419 .loc 1 286 1 is_stmt 0 view .LVU134
  742. 420 0000 0346 mov r3, r0
  743. 287:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** HAL_StatusTypeDef status = HAL_OK;
  744. 421 .loc 1 287 3 is_stmt 1 view .LVU135
  745. 422 .LVL31:
  746. 288:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  747. 289:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** switch (CallbackID)
  748. 423 .loc 1 289 3 view .LVU136
  749. 424 0002 0846 mov r0, r1
  750. 425 .LVL32:
  751. 426 .loc 1 289 3 is_stmt 0 view .LVU137
  752. 427 0004 09B9 cbnz r1, .L37
  753. 290:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  754. 291:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** case HAL_EXTI_COMMON_CB_ID:
  755. ARM GAS /tmp/cca4EPXq.s page 14
  756. 292:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** hexti->RisingCallback = pPendingCbfn;
  757. 428 .loc 1 292 7 is_stmt 1 view .LVU138
  758. 429 .loc 1 292 29 is_stmt 0 view .LVU139
  759. 430 0006 5A60 str r2, [r3, #4]
  760. 293:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** break;
  761. 431 .loc 1 293 7 is_stmt 1 view .LVU140
  762. 432 0008 7047 bx lr
  763. 433 .L37:
  764. 294:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  765. 295:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** default:
  766. 296:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** status = HAL_ERROR;
  767. 434 .loc 1 296 14 is_stmt 0 view .LVU141
  768. 435 000a 0120 movs r0, #1
  769. 436 .LVL33:
  770. 297:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** break;
  771. 298:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  772. 299:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  773. 300:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** return status;
  774. 437 .loc 1 300 3 is_stmt 1 view .LVU142
  775. 301:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  776. 438 .loc 1 301 1 is_stmt 0 view .LVU143
  777. 439 000c 7047 bx lr
  778. 440 .cfi_endproc
  779. 441 .LFE133:
  780. 443 .section .text.HAL_EXTI_GetHandle,"ax",%progbits
  781. 444 .align 1
  782. 445 .global HAL_EXTI_GetHandle
  783. 446 .syntax unified
  784. 447 .thumb
  785. 448 .thumb_func
  786. 450 HAL_EXTI_GetHandle:
  787. 451 .LVL34:
  788. 452 .LFB134:
  789. 302:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  790. 303:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /**
  791. 304:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @brief Store line number as handle private field.
  792. 305:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @param hexti Exti handle.
  793. 306:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @param ExtiLine Exti line number.
  794. 307:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * This parameter can be from 0 to @ref EXTI_LINE_NB.
  795. 308:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @retval HAL Status.
  796. 309:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** */
  797. 310:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** HAL_StatusTypeDef HAL_EXTI_GetHandle(EXTI_HandleTypeDef *hexti, uint32_t ExtiLine)
  798. 311:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  799. 453 .loc 1 311 1 is_stmt 1 view -0
  800. 454 .cfi_startproc
  801. 455 @ args = 0, pretend = 0, frame = 0
  802. 456 @ frame_needed = 0, uses_anonymous_args = 0
  803. 457 @ link register save eliminated.
  804. 312:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Check the parameters */
  805. 313:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** assert_param(IS_EXTI_LINE(ExtiLine));
  806. 458 .loc 1 313 3 view .LVU145
  807. 314:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  808. 315:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Check null pointer */
  809. 316:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** if (hexti == NULL)
  810. 459 .loc 1 316 3 view .LVU146
  811. 460 .loc 1 316 6 is_stmt 0 view .LVU147
  812. 461 0000 10B1 cbz r0, .L40
  813. ARM GAS /tmp/cca4EPXq.s page 15
  814. 317:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  815. 318:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** return HAL_ERROR;
  816. 319:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  817. 320:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** else
  818. 321:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  819. 322:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Store line number as handle private field */
  820. 323:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** hexti->Line = ExtiLine;
  821. 462 .loc 1 323 5 is_stmt 1 view .LVU148
  822. 463 .loc 1 323 17 is_stmt 0 view .LVU149
  823. 464 0002 0160 str r1, [r0]
  824. 324:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  825. 325:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** return HAL_OK;
  826. 465 .loc 1 325 5 is_stmt 1 view .LVU150
  827. 466 .loc 1 325 12 is_stmt 0 view .LVU151
  828. 467 0004 0020 movs r0, #0
  829. 468 .LVL35:
  830. 469 .loc 1 325 12 view .LVU152
  831. 470 0006 7047 bx lr
  832. 471 .LVL36:
  833. 472 .L40:
  834. 318:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  835. 473 .loc 1 318 12 view .LVU153
  836. 474 0008 0120 movs r0, #1
  837. 475 .LVL37:
  838. 326:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  839. 327:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  840. 476 .loc 1 327 1 view .LVU154
  841. 477 000a 7047 bx lr
  842. 478 .cfi_endproc
  843. 479 .LFE134:
  844. 481 .section .text.HAL_EXTI_IRQHandler,"ax",%progbits
  845. 482 .align 1
  846. 483 .global HAL_EXTI_IRQHandler
  847. 484 .syntax unified
  848. 485 .thumb
  849. 486 .thumb_func
  850. 488 HAL_EXTI_IRQHandler:
  851. 489 .LVL38:
  852. 490 .LFB135:
  853. 328:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  854. 329:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /**
  855. 330:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @}
  856. 331:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** */
  857. 332:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  858. 333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /** @addtogroup EXTI_Exported_Functions_Group2
  859. 334:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @brief EXTI IO functions.
  860. 335:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** *
  861. 336:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** @verbatim
  862. 337:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** ===============================================================================
  863. 338:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** ##### IO operation functions #####
  864. 339:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** ===============================================================================
  865. 340:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  866. 341:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** @endverbatim
  867. 342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @{
  868. 343:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** */
  869. 344:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  870. 345:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /**
  871. ARM GAS /tmp/cca4EPXq.s page 16
  872. 346:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @brief Handle EXTI interrupt request.
  873. 347:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @param hexti Exti handle.
  874. 348:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @retval none.
  875. 349:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** */
  876. 350:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** void HAL_EXTI_IRQHandler(EXTI_HandleTypeDef *hexti)
  877. 351:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  878. 491 .loc 1 351 1 is_stmt 1 view -0
  879. 492 .cfi_startproc
  880. 493 @ args = 0, pretend = 0, frame = 0
  881. 494 @ frame_needed = 0, uses_anonymous_args = 0
  882. 495 .loc 1 351 1 is_stmt 0 view .LVU156
  883. 496 0000 08B5 push {r3, lr}
  884. 497 .LCFI4:
  885. 498 .cfi_def_cfa_offset 8
  886. 499 .cfi_offset 3, -8
  887. 500 .cfi_offset 14, -4
  888. 352:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** if (EXTI->PR != 0x00u)
  889. 501 .loc 1 352 3 is_stmt 1 view .LVU157
  890. 502 .loc 1 352 11 is_stmt 0 view .LVU158
  891. 503 0002 054B ldr r3, .L44
  892. 504 0004 5B69 ldr r3, [r3, #20]
  893. 505 .loc 1 352 6 view .LVU159
  894. 506 0006 2BB1 cbz r3, .L41
  895. 353:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  896. 354:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Clear pending bit */
  897. 355:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** EXTI->PR = hexti->Line;
  898. 507 .loc 1 355 5 is_stmt 1 view .LVU160
  899. 508 .loc 1 355 21 is_stmt 0 view .LVU161
  900. 509 0008 0268 ldr r2, [r0]
  901. 510 .loc 1 355 14 view .LVU162
  902. 511 000a 034B ldr r3, .L44
  903. 512 000c 5A61 str r2, [r3, #20]
  904. 356:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  905. 357:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Call callback */
  906. 358:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** if (hexti->RisingCallback != NULL)
  907. 513 .loc 1 358 5 is_stmt 1 view .LVU163
  908. 514 .loc 1 358 14 is_stmt 0 view .LVU164
  909. 515 000e 4368 ldr r3, [r0, #4]
  910. 516 .loc 1 358 8 view .LVU165
  911. 517 0010 03B1 cbz r3, .L41
  912. 359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  913. 360:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** hexti->RisingCallback();
  914. 518 .loc 1 360 7 is_stmt 1 view .LVU166
  915. 519 0012 9847 blx r3
  916. 520 .LVL39:
  917. 521 .L41:
  918. 361:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  919. 362:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  920. 363:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  921. 522 .loc 1 363 1 is_stmt 0 view .LVU167
  922. 523 0014 08BD pop {r3, pc}
  923. 524 .L45:
  924. 525 0016 00BF .align 2
  925. 526 .L44:
  926. 527 0018 003C0140 .word 1073822720
  927. 528 .cfi_endproc
  928. 529 .LFE135:
  929. ARM GAS /tmp/cca4EPXq.s page 17
  930. 531 .section .text.HAL_EXTI_GetPending,"ax",%progbits
  931. 532 .align 1
  932. 533 .global HAL_EXTI_GetPending
  933. 534 .syntax unified
  934. 535 .thumb
  935. 536 .thumb_func
  936. 538 HAL_EXTI_GetPending:
  937. 539 .LVL40:
  938. 540 .LFB136:
  939. 364:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  940. 365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /**
  941. 366:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @brief Get interrupt pending bit of a dedicated line.
  942. 367:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @param hexti Exti handle.
  943. 368:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @param Edge Specify which pending edge as to be checked.
  944. 369:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * This parameter can be one of the following values:
  945. 370:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @arg @ref EXTI_TRIGGER_RISING_FALLING
  946. 371:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * This parameter is kept for compatibility with other series.
  947. 372:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @retval 1 if interrupt is pending else 0.
  948. 373:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** */
  949. 374:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** uint32_t HAL_EXTI_GetPending(EXTI_HandleTypeDef *hexti, uint32_t Edge)
  950. 375:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  951. 541 .loc 1 375 1 is_stmt 1 view -0
  952. 542 .cfi_startproc
  953. 543 @ args = 0, pretend = 0, frame = 0
  954. 544 @ frame_needed = 0, uses_anonymous_args = 0
  955. 545 @ link register save eliminated.
  956. 376:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** __IO uint32_t *regaddr;
  957. 546 .loc 1 376 3 view .LVU169
  958. 377:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** uint32_t regval;
  959. 547 .loc 1 377 3 view .LVU170
  960. 378:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  961. 379:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Check parameters */
  962. 380:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** assert_param(IS_EXTI_LINE(hexti->Line));
  963. 548 .loc 1 380 3 view .LVU171
  964. 381:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** assert_param(IS_EXTI_PENDING_EDGE(Edge));
  965. 549 .loc 1 381 3 view .LVU172
  966. 382:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  967. 383:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Get pending bit */
  968. 384:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** regaddr = &EXTI->PR;
  969. 550 .loc 1 384 3 view .LVU173
  970. 385:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  971. 386:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* return 1 if bit is set else 0 */
  972. 387:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** regval = ((*regaddr & hexti->Line) >> POSITION_VAL(hexti->Line));
  973. 551 .loc 1 387 3 view .LVU174
  974. 552 .loc 1 387 14 is_stmt 0 view .LVU175
  975. 553 0000 054B ldr r3, .L47
  976. 554 0002 D3F8142C ldr r2, [r3, #3092]
  977. 555 .loc 1 387 30 view .LVU176
  978. 556 0006 0368 ldr r3, [r0]
  979. 557 .loc 1 387 23 view .LVU177
  980. 558 0008 02EA0300 and r0, r2, r3
  981. 559 .LVL41:
  982. 560 .LBB4:
  983. 561 .LBI4:
  984. 562 .file 2 "Drivers/CMSIS/Include/cmsis_gcc.h"
  985. 1:Drivers/CMSIS/Include/cmsis_gcc.h **** /**************************************************************************//**
  986. 2:Drivers/CMSIS/Include/cmsis_gcc.h **** * @file cmsis_gcc.h
  987. ARM GAS /tmp/cca4EPXq.s page 18
  988. 3:Drivers/CMSIS/Include/cmsis_gcc.h **** * @brief CMSIS compiler GCC header file
  989. 4:Drivers/CMSIS/Include/cmsis_gcc.h **** * @version V5.0.4
  990. 5:Drivers/CMSIS/Include/cmsis_gcc.h **** * @date 09. April 2018
  991. 6:Drivers/CMSIS/Include/cmsis_gcc.h **** ******************************************************************************/
  992. 7:Drivers/CMSIS/Include/cmsis_gcc.h **** /*
  993. 8:Drivers/CMSIS/Include/cmsis_gcc.h **** * Copyright (c) 2009-2018 Arm Limited. All rights reserved.
  994. 9:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  995. 10:Drivers/CMSIS/Include/cmsis_gcc.h **** * SPDX-License-Identifier: Apache-2.0
  996. 11:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  997. 12:Drivers/CMSIS/Include/cmsis_gcc.h **** * Licensed under the Apache License, Version 2.0 (the License); you may
  998. 13:Drivers/CMSIS/Include/cmsis_gcc.h **** * not use this file except in compliance with the License.
  999. 14:Drivers/CMSIS/Include/cmsis_gcc.h **** * You may obtain a copy of the License at
  1000. 15:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  1001. 16:Drivers/CMSIS/Include/cmsis_gcc.h **** * www.apache.org/licenses/LICENSE-2.0
  1002. 17:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  1003. 18:Drivers/CMSIS/Include/cmsis_gcc.h **** * Unless required by applicable law or agreed to in writing, software
  1004. 19:Drivers/CMSIS/Include/cmsis_gcc.h **** * distributed under the License is distributed on an AS IS BASIS, WITHOUT
  1005. 20:Drivers/CMSIS/Include/cmsis_gcc.h **** * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1006. 21:Drivers/CMSIS/Include/cmsis_gcc.h **** * See the License for the specific language governing permissions and
  1007. 22:Drivers/CMSIS/Include/cmsis_gcc.h **** * limitations under the License.
  1008. 23:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1009. 24:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1010. 25:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __CMSIS_GCC_H
  1011. 26:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_H
  1012. 27:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1013. 28:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ignore some GCC warnings */
  1014. 29:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  1015. 30:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wsign-conversion"
  1016. 31:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wconversion"
  1017. 32:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wunused-parameter"
  1018. 33:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1019. 34:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Fallback for __has_builtin */
  1020. 35:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __has_builtin
  1021. 36:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __has_builtin(x) (0)
  1022. 37:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1023. 38:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1024. 39:Drivers/CMSIS/Include/cmsis_gcc.h **** /* CMSIS compiler specific defines */
  1025. 40:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ASM
  1026. 41:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ASM __asm
  1027. 42:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1028. 43:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __INLINE
  1029. 44:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __INLINE inline
  1030. 45:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1031. 46:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_INLINE
  1032. 47:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_INLINE static inline
  1033. 48:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1034. 49:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_FORCEINLINE
  1035. 50:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_FORCEINLINE __attribute__((always_inline)) static inline
  1036. 51:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1037. 52:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __NO_RETURN
  1038. 53:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NO_RETURN __attribute__((__noreturn__))
  1039. 54:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1040. 55:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __USED
  1041. 56:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __USED __attribute__((used))
  1042. 57:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1043. 58:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __WEAK
  1044. 59:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WEAK __attribute__((weak))
  1045. ARM GAS /tmp/cca4EPXq.s page 19
  1046. 60:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1047. 61:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED
  1048. 62:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED __attribute__((packed, aligned(1)))
  1049. 63:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1050. 64:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_STRUCT
  1051. 65:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_STRUCT struct __attribute__((packed, aligned(1)))
  1052. 66:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1053. 67:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_UNION
  1054. 68:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_UNION union __attribute__((packed, aligned(1)))
  1055. 69:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1056. 70:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32 /* deprecated */
  1057. 71:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  1058. 72:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  1059. 73:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  1060. 74:Drivers/CMSIS/Include/cmsis_gcc.h **** struct __attribute__((packed)) T_UINT32 { uint32_t v; };
  1061. 75:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  1062. 76:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v)
  1063. 77:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1064. 78:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_WRITE
  1065. 79:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  1066. 80:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  1067. 81:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  1068. 82:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; };
  1069. 83:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  1070. 84:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))-
  1071. 85:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1072. 86:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_READ
  1073. 87:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  1074. 88:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  1075. 89:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  1076. 90:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_READ { uint16_t v; };
  1077. 91:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  1078. 92:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(add
  1079. 93:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1080. 94:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_WRITE
  1081. 95:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  1082. 96:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  1083. 97:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  1084. 98:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; };
  1085. 99:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  1086. 100:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))-
  1087. 101:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1088. 102:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_READ
  1089. 103:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  1090. 104:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  1091. 105:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  1092. 106:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_READ { uint32_t v; };
  1093. 107:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  1094. 108:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(add
  1095. 109:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1096. 110:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ALIGNED
  1097. 111:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ALIGNED(x) __attribute__((aligned(x)))
  1098. 112:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1099. 113:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __RESTRICT
  1100. 114:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __RESTRICT __restrict
  1101. 115:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1102. 116:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1103. ARM GAS /tmp/cca4EPXq.s page 20
  1104. 117:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1105. 118:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################### Core Function Access ########################### */
  1106. 119:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \ingroup CMSIS_Core_FunctionInterface
  1107. 120:Drivers/CMSIS/Include/cmsis_gcc.h **** \defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions
  1108. 121:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
  1109. 122:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1110. 123:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1111. 124:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1112. 125:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable IRQ Interrupts
  1113. 126:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables IRQ interrupts by clearing the I-bit in the CPSR.
  1114. 127:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  1115. 128:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1116. 129:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_irq(void)
  1117. 130:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1118. 131:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie i" : : : "memory");
  1119. 132:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1120. 133:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1121. 134:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1122. 135:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1123. 136:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable IRQ Interrupts
  1124. 137:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables IRQ interrupts by setting the I-bit in the CPSR.
  1125. 138:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  1126. 139:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1127. 140:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_irq(void)
  1128. 141:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1129. 142:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid i" : : : "memory");
  1130. 143:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1131. 144:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1132. 145:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1133. 146:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1134. 147:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register
  1135. 148:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the Control Register.
  1136. 149:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Control Register value
  1137. 150:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1138. 151:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_CONTROL(void)
  1139. 152:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1140. 153:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1141. 154:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1142. 155:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control" : "=r" (result) );
  1143. 156:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  1144. 157:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1145. 158:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1146. 159:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1147. 160:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  1148. 161:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1149. 162:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register (non-secure)
  1150. 163:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the non-secure Control Register when in secure mode.
  1151. 164:Drivers/CMSIS/Include/cmsis_gcc.h **** \return non-secure Control Register value
  1152. 165:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1153. 166:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_CONTROL_NS(void)
  1154. 167:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1155. 168:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1156. 169:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1157. 170:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control_ns" : "=r" (result) );
  1158. 171:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  1159. 172:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1160. 173:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1161. ARM GAS /tmp/cca4EPXq.s page 21
  1162. 174:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1163. 175:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1164. 176:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1165. 177:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register
  1166. 178:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the Control Register.
  1167. 179:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
  1168. 180:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1169. 181:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_CONTROL(uint32_t control)
  1170. 182:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1171. 183:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control, %0" : : "r" (control) : "memory");
  1172. 184:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1173. 185:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1174. 186:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1175. 187:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  1176. 188:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1177. 189:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register (non-secure)
  1178. 190:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the non-secure Control Register when in secure state.
  1179. 191:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
  1180. 192:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1181. 193:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_CONTROL_NS(uint32_t control)
  1182. 194:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1183. 195:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control_ns, %0" : : "r" (control) : "memory");
  1184. 196:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1185. 197:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1186. 198:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1187. 199:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1188. 200:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1189. 201:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get IPSR Register
  1190. 202:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the IPSR Register.
  1191. 203:Drivers/CMSIS/Include/cmsis_gcc.h **** \return IPSR Register value
  1192. 204:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1193. 205:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_IPSR(void)
  1194. 206:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1195. 207:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1196. 208:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1197. 209:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, ipsr" : "=r" (result) );
  1198. 210:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  1199. 211:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1200. 212:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1201. 213:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1202. 214:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1203. 215:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get APSR Register
  1204. 216:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the APSR Register.
  1205. 217:Drivers/CMSIS/Include/cmsis_gcc.h **** \return APSR Register value
  1206. 218:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1207. 219:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_APSR(void)
  1208. 220:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1209. 221:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1210. 222:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1211. 223:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, apsr" : "=r" (result) );
  1212. 224:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  1213. 225:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1214. 226:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1215. 227:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1216. 228:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1217. 229:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get xPSR Register
  1218. 230:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the xPSR Register.
  1219. ARM GAS /tmp/cca4EPXq.s page 22
  1220. 231:Drivers/CMSIS/Include/cmsis_gcc.h **** \return xPSR Register value
  1221. 232:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1222. 233:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_xPSR(void)
  1223. 234:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1224. 235:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1225. 236:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1226. 237:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, xpsr" : "=r" (result) );
  1227. 238:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  1228. 239:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1229. 240:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1230. 241:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1231. 242:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1232. 243:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer
  1233. 244:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer (PSP).
  1234. 245:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
  1235. 246:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1236. 247:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSP(void)
  1237. 248:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1238. 249:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1239. 250:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1240. 251:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp" : "=r" (result) );
  1241. 252:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  1242. 253:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1243. 254:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1244. 255:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1245. 256:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  1246. 257:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1247. 258:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer (non-secure)
  1248. 259:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer (PSP) when in secure s
  1249. 260:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
  1250. 261:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1251. 262:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSP_NS(void)
  1252. 263:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1253. 264:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1254. 265:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1255. 266:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp_ns" : "=r" (result) );
  1256. 267:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  1257. 268:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1258. 269:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1259. 270:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1260. 271:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1261. 272:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1262. 273:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer
  1263. 274:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer (PSP).
  1264. 275:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
  1265. 276:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1266. 277:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSP(uint32_t topOfProcStack)
  1267. 278:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1268. 279:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp, %0" : : "r" (topOfProcStack) : );
  1269. 280:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1270. 281:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1271. 282:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1272. 283:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  1273. 284:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1274. 285:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
  1275. 286:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer (PSP) when in secure sta
  1276. 287:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
  1277. ARM GAS /tmp/cca4EPXq.s page 23
  1278. 288:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1279. 289:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSP_NS(uint32_t topOfProcStack)
  1280. 290:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1281. 291:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp_ns, %0" : : "r" (topOfProcStack) : );
  1282. 292:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1283. 293:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1284. 294:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1285. 295:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1286. 296:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1287. 297:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer
  1288. 298:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer (MSP).
  1289. 299:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
  1290. 300:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1291. 301:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSP(void)
  1292. 302:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1293. 303:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1294. 304:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1295. 305:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp" : "=r" (result) );
  1296. 306:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  1297. 307:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1298. 308:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1299. 309:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1300. 310:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  1301. 311:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1302. 312:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer (non-secure)
  1303. 313:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer (MSP) when in secure stat
  1304. 314:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
  1305. 315:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1306. 316:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSP_NS(void)
  1307. 317:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1308. 318:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1309. 319:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1310. 320:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp_ns" : "=r" (result) );
  1311. 321:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  1312. 322:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1313. 323:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1314. 324:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1315. 325:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1316. 326:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1317. 327:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer
  1318. 328:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer (MSP).
  1319. 329:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
  1320. 330:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1321. 331:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSP(uint32_t topOfMainStack)
  1322. 332:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1323. 333:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp, %0" : : "r" (topOfMainStack) : );
  1324. 334:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1325. 335:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1326. 336:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1327. 337:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  1328. 338:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1329. 339:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer (non-secure)
  1330. 340:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer (MSP) when in secure state.
  1331. 341:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
  1332. 342:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1333. 343:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSP_NS(uint32_t topOfMainStack)
  1334. 344:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1335. ARM GAS /tmp/cca4EPXq.s page 24
  1336. 345:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp_ns, %0" : : "r" (topOfMainStack) : );
  1337. 346:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1338. 347:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1339. 348:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1340. 349:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1341. 350:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  1342. 351:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1343. 352:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Stack Pointer (non-secure)
  1344. 353:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Stack Pointer (SP) when in secure state.
  1345. 354:Drivers/CMSIS/Include/cmsis_gcc.h **** \return SP Register value
  1346. 355:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1347. 356:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_SP_NS(void)
  1348. 357:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1349. 358:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1350. 359:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1351. 360:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, sp_ns" : "=r" (result) );
  1352. 361:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  1353. 362:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1354. 363:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1355. 364:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1356. 365:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1357. 366:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Stack Pointer (non-secure)
  1358. 367:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Stack Pointer (SP) when in secure state.
  1359. 368:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfStack Stack Pointer value to set
  1360. 369:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1361. 370:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_SP_NS(uint32_t topOfStack)
  1362. 371:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1363. 372:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR sp_ns, %0" : : "r" (topOfStack) : );
  1364. 373:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1365. 374:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1366. 375:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1367. 376:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1368. 377:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1369. 378:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask
  1370. 379:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the priority mask bit from the Priority Mask Register.
  1371. 380:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
  1372. 381:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1373. 382:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PRIMASK(void)
  1374. 383:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1375. 384:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1376. 385:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1377. 386:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask" : "=r" (result) :: "memory");
  1378. 387:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  1379. 388:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1380. 389:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1381. 390:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1382. 391:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  1383. 392:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1384. 393:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask (non-secure)
  1385. 394:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the non-secure priority mask bit from the Priority Mask Reg
  1386. 395:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
  1387. 396:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1388. 397:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PRIMASK_NS(void)
  1389. 398:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1390. 399:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1391. 400:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1392. 401:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask_ns" : "=r" (result) :: "memory");
  1393. ARM GAS /tmp/cca4EPXq.s page 25
  1394. 402:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  1395. 403:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1396. 404:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1397. 405:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1398. 406:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1399. 407:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1400. 408:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask
  1401. 409:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Priority Mask Register.
  1402. 410:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
  1403. 411:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1404. 412:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PRIMASK(uint32_t priMask)
  1405. 413:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1406. 414:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask, %0" : : "r" (priMask) : "memory");
  1407. 415:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1408. 416:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1409. 417:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1410. 418:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  1411. 419:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1412. 420:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask (non-secure)
  1413. 421:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Priority Mask Register when in secure state.
  1414. 422:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
  1415. 423:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1416. 424:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PRIMASK_NS(uint32_t priMask)
  1417. 425:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1418. 426:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask_ns, %0" : : "r" (priMask) : "memory");
  1419. 427:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1420. 428:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1421. 429:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1422. 430:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1423. 431:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
  1424. 432:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
  1425. 433:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) )
  1426. 434:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1427. 435:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable FIQ
  1428. 436:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables FIQ interrupts by clearing the F-bit in the CPSR.
  1429. 437:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  1430. 438:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1431. 439:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_fault_irq(void)
  1432. 440:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1433. 441:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie f" : : : "memory");
  1434. 442:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1435. 443:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1436. 444:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1437. 445:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1438. 446:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable FIQ
  1439. 447:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables FIQ interrupts by setting the F-bit in the CPSR.
  1440. 448:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  1441. 449:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1442. 450:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_fault_irq(void)
  1443. 451:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1444. 452:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid f" : : : "memory");
  1445. 453:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1446. 454:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1447. 455:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1448. 456:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1449. 457:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority
  1450. 458:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Base Priority register.
  1451. ARM GAS /tmp/cca4EPXq.s page 26
  1452. 459:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value
  1453. 460:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1454. 461:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_BASEPRI(void)
  1455. 462:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1456. 463:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1457. 464:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1458. 465:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri" : "=r" (result) );
  1459. 466:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  1460. 467:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1461. 468:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1462. 469:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1463. 470:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  1464. 471:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1465. 472:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority (non-secure)
  1466. 473:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Base Priority register when in secure state.
  1467. 474:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value
  1468. 475:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1469. 476:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_BASEPRI_NS(void)
  1470. 477:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1471. 478:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1472. 479:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1473. 480:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri_ns" : "=r" (result) );
  1474. 481:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  1475. 482:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1476. 483:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1477. 484:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1478. 485:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1479. 486:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1480. 487:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority
  1481. 488:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register.
  1482. 489:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
  1483. 490:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1484. 491:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI(uint32_t basePri)
  1485. 492:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1486. 493:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri, %0" : : "r" (basePri) : "memory");
  1487. 494:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1488. 495:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1489. 496:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1490. 497:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  1491. 498:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1492. 499:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority (non-secure)
  1493. 500:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Base Priority register when in secure state.
  1494. 501:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
  1495. 502:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1496. 503:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_BASEPRI_NS(uint32_t basePri)
  1497. 504:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1498. 505:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_ns, %0" : : "r" (basePri) : "memory");
  1499. 506:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1500. 507:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1501. 508:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1502. 509:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1503. 510:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1504. 511:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority with condition
  1505. 512:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register only if BASEPRI masking is disable
  1506. 513:Drivers/CMSIS/Include/cmsis_gcc.h **** or the new value increases the BASEPRI priority level.
  1507. 514:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
  1508. 515:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1509. ARM GAS /tmp/cca4EPXq.s page 27
  1510. 516:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI_MAX(uint32_t basePri)
  1511. 517:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1512. 518:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_max, %0" : : "r" (basePri) : "memory");
  1513. 519:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1514. 520:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1515. 521:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1516. 522:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1517. 523:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask
  1518. 524:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Fault Mask register.
  1519. 525:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value
  1520. 526:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1521. 527:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FAULTMASK(void)
  1522. 528:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1523. 529:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1524. 530:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1525. 531:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask" : "=r" (result) );
  1526. 532:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  1527. 533:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1528. 534:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1529. 535:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1530. 536:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  1531. 537:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1532. 538:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask (non-secure)
  1533. 539:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Fault Mask register when in secure state.
  1534. 540:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value
  1535. 541:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1536. 542:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_FAULTMASK_NS(void)
  1537. 543:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1538. 544:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1539. 545:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1540. 546:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask_ns" : "=r" (result) );
  1541. 547:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  1542. 548:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1543. 549:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1544. 550:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1545. 551:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1546. 552:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1547. 553:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask
  1548. 554:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Fault Mask register.
  1549. 555:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set
  1550. 556:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1551. 557:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FAULTMASK(uint32_t faultMask)
  1552. 558:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1553. 559:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask, %0" : : "r" (faultMask) : "memory");
  1554. 560:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1555. 561:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1556. 562:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1557. 563:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  1558. 564:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1559. 565:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask (non-secure)
  1560. 566:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Fault Mask register when in secure state.
  1561. 567:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set
  1562. 568:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1563. 569:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_FAULTMASK_NS(uint32_t faultMask)
  1564. 570:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1565. 571:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask_ns, %0" : : "r" (faultMask) : "memory");
  1566. 572:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1567. ARM GAS /tmp/cca4EPXq.s page 28
  1568. 573:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1569. 574:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1570. 575:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
  1571. 576:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
  1572. 577:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) ) */
  1573. 578:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1574. 579:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1575. 580:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \
  1576. 581:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) )
  1577. 582:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1578. 583:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1579. 584:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit
  1580. 585:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  1581. 586:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure
  1582. 587:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  1583. 588:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1584. 589:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer Limit (PSPLIM).
  1585. 590:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value
  1586. 591:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1587. 592:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSPLIM(void)
  1588. 593:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1589. 594:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  1590. 595:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  1591. 596:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  1592. 597:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  1593. 598:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1594. 599:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1595. 600:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim" : "=r" (result) );
  1596. 601:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  1597. 602:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1598. 603:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1599. 604:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1600. 605:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3))
  1601. 606:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1602. 607:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit (non-secure)
  1603. 608:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  1604. 609:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always.
  1605. 610:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1606. 611:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer Limit (PSPLIM) when in
  1607. 612:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value
  1608. 613:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1609. 614:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSPLIM_NS(void)
  1610. 615:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1611. 616:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  1612. 617:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  1613. 618:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  1614. 619:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1615. 620:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1616. 621:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim_ns" : "=r" (result) );
  1617. 622:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  1618. 623:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1619. 624:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1620. 625:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1621. 626:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1622. 627:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1623. 628:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1624. 629:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer Limit
  1625. ARM GAS /tmp/cca4EPXq.s page 29
  1626. 630:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  1627. 631:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure
  1628. 632:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  1629. 633:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1630. 634:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer Limit (PSPLIM).
  1631. 635:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set
  1632. 636:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1633. 637:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSPLIM(uint32_t ProcStackPtrLimit)
  1634. 638:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1635. 639:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  1636. 640:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  1637. 641:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  1638. 642:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit;
  1639. 643:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1640. 644:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim, %0" : : "r" (ProcStackPtrLimit));
  1641. 645:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1642. 646:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1643. 647:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1644. 648:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1645. 649:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  1646. 650:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1647. 651:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
  1648. 652:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  1649. 653:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored.
  1650. 654:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1651. 655:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer Limit (PSPLIM) when in s
  1652. 656:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set
  1653. 657:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1654. 658:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSPLIM_NS(uint32_t ProcStackPtrLimit)
  1655. 659:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1656. 660:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  1657. 661:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  1658. 662:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit;
  1659. 663:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1660. 664:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim_ns, %0\n" : : "r" (ProcStackPtrLimit));
  1661. 665:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1662. 666:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1663. 667:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1664. 668:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1665. 669:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1666. 670:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1667. 671:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit
  1668. 672:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  1669. 673:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure
  1670. 674:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  1671. 675:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1672. 676:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer Limit (MSPLIM).
  1673. 677:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value
  1674. 678:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1675. 679:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSPLIM(void)
  1676. 680:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1677. 681:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  1678. 682:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  1679. 683:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  1680. 684:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  1681. 685:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1682. 686:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1683. ARM GAS /tmp/cca4EPXq.s page 30
  1684. 687:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim" : "=r" (result) );
  1685. 688:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  1686. 689:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1687. 690:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1688. 691:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1689. 692:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1690. 693:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  1691. 694:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1692. 695:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit (non-secure)
  1693. 696:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  1694. 697:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always.
  1695. 698:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1696. 699:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer Limit(MSPLIM) when in sec
  1697. 700:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value
  1698. 701:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1699. 702:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSPLIM_NS(void)
  1700. 703:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1701. 704:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  1702. 705:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  1703. 706:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  1704. 707:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1705. 708:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1706. 709:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim_ns" : "=r" (result) );
  1707. 710:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  1708. 711:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1709. 712:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1710. 713:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1711. 714:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1712. 715:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1713. 716:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1714. 717:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit
  1715. 718:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  1716. 719:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure
  1717. 720:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  1718. 721:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1719. 722:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer Limit (MSPLIM).
  1720. 723:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer Limit value to set
  1721. 724:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1722. 725:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSPLIM(uint32_t MainStackPtrLimit)
  1723. 726:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1724. 727:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  1725. 728:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  1726. 729:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  1727. 730:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit;
  1728. 731:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1729. 732:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim, %0" : : "r" (MainStackPtrLimit));
  1730. 733:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1731. 734:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1732. 735:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1733. 736:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1734. 737:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  1735. 738:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1736. 739:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit (non-secure)
  1737. 740:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  1738. 741:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored.
  1739. 742:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1740. 743:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer Limit (MSPLIM) when in secu
  1741. ARM GAS /tmp/cca4EPXq.s page 31
  1742. 744:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer value to set
  1743. 745:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1744. 746:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSPLIM_NS(uint32_t MainStackPtrLimit)
  1745. 747:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1746. 748:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  1747. 749:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  1748. 750:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit;
  1749. 751:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1750. 752:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim_ns, %0" : : "r" (MainStackPtrLimit));
  1751. 753:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1752. 754:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1753. 755:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1754. 756:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1755. 757:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \
  1756. 758:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) ) */
  1757. 759:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1758. 760:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1759. 761:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1760. 762:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get FPSCR
  1761. 763:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Floating Point Status/Control register.
  1762. 764:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Floating Point Status/Control register value
  1763. 765:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1764. 766:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FPSCR(void)
  1765. 767:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1766. 768:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
  1767. 769:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) )
  1768. 770:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_get_fpscr)
  1769. 771:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed
  1770. 772:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2)
  1771. 773:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */
  1772. 774:Drivers/CMSIS/Include/cmsis_gcc.h **** return __builtin_arm_get_fpscr();
  1773. 775:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1774. 776:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1775. 777:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1776. 778:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMRS %0, fpscr" : "=r" (result) );
  1777. 779:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  1778. 780:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1779. 781:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1780. 782:Drivers/CMSIS/Include/cmsis_gcc.h **** return(0U);
  1781. 783:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1782. 784:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1783. 785:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1784. 786:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1785. 787:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1786. 788:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set FPSCR
  1787. 789:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Floating Point Status/Control register.
  1788. 790:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] fpscr Floating Point Status/Control value to set
  1789. 791:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1790. 792:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FPSCR(uint32_t fpscr)
  1791. 793:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1792. 794:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
  1793. 795:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) )
  1794. 796:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_set_fpscr)
  1795. 797:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed
  1796. 798:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2)
  1797. 799:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */
  1798. 800:Drivers/CMSIS/Include/cmsis_gcc.h **** __builtin_arm_set_fpscr(fpscr);
  1799. ARM GAS /tmp/cca4EPXq.s page 32
  1800. 801:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1801. 802:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMSR fpscr, %0" : : "r" (fpscr) : "vfpcc", "memory");
  1802. 803:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1803. 804:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1804. 805:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)fpscr;
  1805. 806:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1806. 807:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1807. 808:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1808. 809:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1809. 810:Drivers/CMSIS/Include/cmsis_gcc.h **** /*@} end of CMSIS_Core_RegAccFunctions */
  1810. 811:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1811. 812:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1812. 813:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################## Core Instruction Access ######################### */
  1813. 814:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \defgroup CMSIS_Core_InstructionInterface CMSIS Core Instruction Interface
  1814. 815:Drivers/CMSIS/Include/cmsis_gcc.h **** Access to dedicated instructions
  1815. 816:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
  1816. 817:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1817. 818:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1818. 819:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Define macros for porting to both thumb1 and thumb2.
  1819. 820:Drivers/CMSIS/Include/cmsis_gcc.h **** * For thumb1, use low register (r0-r7), specified by constraint "l"
  1820. 821:Drivers/CMSIS/Include/cmsis_gcc.h **** * Otherwise, use general registers, specified by constraint "r" */
  1821. 822:Drivers/CMSIS/Include/cmsis_gcc.h **** #if defined (__thumb__) && !defined (__thumb2__)
  1822. 823:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=l" (r)
  1823. 824:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+l" (r)
  1824. 825:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "l" (r)
  1825. 826:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1826. 827:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=r" (r)
  1827. 828:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+r" (r)
  1828. 829:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "r" (r)
  1829. 830:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1830. 831:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1831. 832:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1832. 833:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief No Operation
  1833. 834:Drivers/CMSIS/Include/cmsis_gcc.h **** \details No Operation does nothing. This instruction can be used for code alignment purposes.
  1834. 835:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1835. 836:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NOP() __ASM volatile ("nop")
  1836. 837:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1837. 838:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1838. 839:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Interrupt
  1839. 840:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Interrupt is a hint instruction that suspends execution until one of a number o
  1840. 841:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1841. 842:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFI() __ASM volatile ("wfi")
  1842. 843:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1843. 844:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1844. 845:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1845. 846:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Event
  1846. 847:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Event is a hint instruction that permits the processor to enter
  1847. 848:Drivers/CMSIS/Include/cmsis_gcc.h **** a low-power state until one of a number of events occurs.
  1848. 849:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1849. 850:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFE() __ASM volatile ("wfe")
  1850. 851:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1851. 852:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1852. 853:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1853. 854:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Send Event
  1854. 855:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Send Event is a hint instruction. It causes an event to be signaled to the CPU.
  1855. 856:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1856. 857:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __SEV() __ASM volatile ("sev")
  1857. ARM GAS /tmp/cca4EPXq.s page 33
  1858. 858:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1859. 859:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1860. 860:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1861. 861:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Instruction Synchronization Barrier
  1862. 862:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Instruction Synchronization Barrier flushes the pipeline in the processor,
  1863. 863:Drivers/CMSIS/Include/cmsis_gcc.h **** so that all instructions following the ISB are fetched from cache or memory,
  1864. 864:Drivers/CMSIS/Include/cmsis_gcc.h **** after the instruction has been completed.
  1865. 865:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1866. 866:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __ISB(void)
  1867. 867:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1868. 868:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("isb 0xF":::"memory");
  1869. 869:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1870. 870:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1871. 871:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1872. 872:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1873. 873:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Data Synchronization Barrier
  1874. 874:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Acts as a special kind of Data Memory Barrier.
  1875. 875:Drivers/CMSIS/Include/cmsis_gcc.h **** It completes when all explicit memory accesses before this instruction complete.
  1876. 876:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1877. 877:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __DSB(void)
  1878. 878:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1879. 879:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("dsb 0xF":::"memory");
  1880. 880:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1881. 881:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1882. 882:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1883. 883:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1884. 884:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Data Memory Barrier
  1885. 885:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Ensures the apparent order of the explicit memory operations before
  1886. 886:Drivers/CMSIS/Include/cmsis_gcc.h **** and after the instruction, without ensuring their completion.
  1887. 887:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1888. 888:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __DMB(void)
  1889. 889:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1890. 890:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("dmb 0xF":::"memory");
  1891. 891:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1892. 892:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1893. 893:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1894. 894:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1895. 895:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse byte order (32 bit)
  1896. 896:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the byte order in unsigned integer value. For example, 0x12345678 becomes 0x785
  1897. 897:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse
  1898. 898:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value
  1899. 899:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1900. 900:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __REV(uint32_t value)
  1901. 901:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1902. 902:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
  1903. 903:Drivers/CMSIS/Include/cmsis_gcc.h **** return __builtin_bswap32(value);
  1904. 904:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1905. 905:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1906. 906:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1907. 907:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("rev %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) );
  1908. 908:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  1909. 909:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1910. 910:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1911. 911:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1912. 912:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1913. 913:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1914. 914:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse byte order (16 bit)
  1915. ARM GAS /tmp/cca4EPXq.s page 34
  1916. 915:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the byte order within each halfword of a word. For example, 0x12345678 becomes
  1917. 916:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse
  1918. 917:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value
  1919. 918:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1920. 919:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __REV16(uint32_t value)
  1921. 920:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1922. 921:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1923. 922:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1924. 923:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("rev16 %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) );
  1925. 924:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  1926. 925:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1927. 926:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1928. 927:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1929. 928:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1930. 929:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse byte order (16 bit)
  1931. 930:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the byte order in a 16-bit value and returns the signed 16-bit result. For exam
  1932. 931:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse
  1933. 932:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value
  1934. 933:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1935. 934:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE int16_t __REVSH(int16_t value)
  1936. 935:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1937. 936:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)
  1938. 937:Drivers/CMSIS/Include/cmsis_gcc.h **** return (int16_t)__builtin_bswap16(value);
  1939. 938:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1940. 939:Drivers/CMSIS/Include/cmsis_gcc.h **** int16_t result;
  1941. 940:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1942. 941:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("revsh %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) );
  1943. 942:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  1944. 943:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1945. 944:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1946. 945:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1947. 946:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1948. 947:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1949. 948:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Rotate Right in unsigned value (32 bit)
  1950. 949:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Rotate Right (immediate) provides the value of the contents of a register rotated by a v
  1951. 950:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] op1 Value to rotate
  1952. 951:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] op2 Number of Bits to rotate
  1953. 952:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Rotated value
  1954. 953:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1955. 954:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __ROR(uint32_t op1, uint32_t op2)
  1956. 955:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1957. 956:Drivers/CMSIS/Include/cmsis_gcc.h **** op2 %= 32U;
  1958. 957:Drivers/CMSIS/Include/cmsis_gcc.h **** if (op2 == 0U)
  1959. 958:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1960. 959:Drivers/CMSIS/Include/cmsis_gcc.h **** return op1;
  1961. 960:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1962. 961:Drivers/CMSIS/Include/cmsis_gcc.h **** return (op1 >> op2) | (op1 << (32U - op2));
  1963. 962:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1964. 963:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1965. 964:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1966. 965:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1967. 966:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Breakpoint
  1968. 967:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Causes the processor to enter Debug state.
  1969. 968:Drivers/CMSIS/Include/cmsis_gcc.h **** Debug tools can use this to investigate system state when the instruction at a particula
  1970. 969:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value is ignored by the processor.
  1971. 970:Drivers/CMSIS/Include/cmsis_gcc.h **** If required, a debugger can use it to store additional information about the break
  1972. 971:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1973. ARM GAS /tmp/cca4EPXq.s page 35
  1974. 972:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __BKPT(value) __ASM volatile ("bkpt "#value)
  1975. 973:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1976. 974:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1977. 975:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1978. 976:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse bit order of value
  1979. 977:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the bit order of the given value.
  1980. 978:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse
  1981. 979:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value
  1982. 980:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1983. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __RBIT(uint32_t value)
  1984. 563 .loc 2 981 31 is_stmt 1 view .LVU178
  1985. 564 .LBB5:
  1986. 982:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1987. 983:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1988. 565 .loc 2 983 3 view .LVU179
  1989. 984:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1990. 985:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
  1991. 986:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
  1992. 987:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) )
  1993. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("rbit %0, %1" : "=r" (result) : "r" (value) );
  1994. 566 .loc 2 988 4 view .LVU180
  1995. 567 .syntax unified
  1996. 568 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  1997. 569 000c 93FAA3F3 rbit r3, r3
  1998. 570 @ 0 "" 2
  1999. 571 .LVL42:
  2000. 989:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2001. 990:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t s = (4U /*sizeof(v)*/ * 8U) - 1U; /* extra shift needed at end */
  2002. 991:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2003. 992:Drivers/CMSIS/Include/cmsis_gcc.h **** result = value; /* r will be reversed bits of v; first get LSB of v */
  2004. 993:Drivers/CMSIS/Include/cmsis_gcc.h **** for (value >>= 1U; value != 0U; value >>= 1U)
  2005. 994:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2006. 995:Drivers/CMSIS/Include/cmsis_gcc.h **** result <<= 1U;
  2007. 996:Drivers/CMSIS/Include/cmsis_gcc.h **** result |= value & 1U;
  2008. 997:Drivers/CMSIS/Include/cmsis_gcc.h **** s--;
  2009. 998:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2010. 999:Drivers/CMSIS/Include/cmsis_gcc.h **** result <<= s; /* shift when v's highest bits are zero */
  2011. 1000:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2012. 1001:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  2013. 572 .loc 2 1001 3 view .LVU181
  2014. 573 .loc 2 1001 3 is_stmt 0 view .LVU182
  2015. 574 .thumb
  2016. 575 .syntax unified
  2017. 576 .LBE5:
  2018. 577 .LBE4:
  2019. 578 .loc 1 387 10 view .LVU183
  2020. 579 0010 B3FA83F3 clz r3, r3
  2021. 580 .LVL43:
  2022. 388:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  2023. 389:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** return regval;
  2024. 581 .loc 1 389 3 is_stmt 1 view .LVU184
  2025. 390:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  2026. 582 .loc 1 390 1 is_stmt 0 view .LVU185
  2027. 583 0014 D840 lsrs r0, r0, r3
  2028. 584 .LVL44:
  2029. 585 .loc 1 390 1 view .LVU186
  2030. 586 0016 7047 bx lr
  2031. ARM GAS /tmp/cca4EPXq.s page 36
  2032. 587 .L48:
  2033. 588 .align 2
  2034. 589 .L47:
  2035. 590 0018 00300140 .word 1073819648
  2036. 591 .cfi_endproc
  2037. 592 .LFE136:
  2038. 594 .section .text.HAL_EXTI_ClearPending,"ax",%progbits
  2039. 595 .align 1
  2040. 596 .global HAL_EXTI_ClearPending
  2041. 597 .syntax unified
  2042. 598 .thumb
  2043. 599 .thumb_func
  2044. 601 HAL_EXTI_ClearPending:
  2045. 602 .LVL45:
  2046. 603 .LFB137:
  2047. 391:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  2048. 392:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /**
  2049. 393:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @brief Clear interrupt pending bit of a dedicated line.
  2050. 394:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @param hexti Exti handle.
  2051. 395:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @param Edge Specify which pending edge as to be clear.
  2052. 396:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * This parameter can be one of the following values:
  2053. 397:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @arg @ref EXTI_TRIGGER_RISING_FALLING
  2054. 398:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * This parameter is kept for compatibility with other series.
  2055. 399:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @retval None.
  2056. 400:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** */
  2057. 401:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** void HAL_EXTI_ClearPending(EXTI_HandleTypeDef *hexti, uint32_t Edge)
  2058. 402:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  2059. 604 .loc 1 402 1 is_stmt 1 view -0
  2060. 605 .cfi_startproc
  2061. 606 @ args = 0, pretend = 0, frame = 0
  2062. 607 @ frame_needed = 0, uses_anonymous_args = 0
  2063. 608 @ link register save eliminated.
  2064. 403:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Check parameters */
  2065. 404:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** assert_param(IS_EXTI_LINE(hexti->Line));
  2066. 609 .loc 1 404 3 view .LVU188
  2067. 405:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** assert_param(IS_EXTI_PENDING_EDGE(Edge));
  2068. 610 .loc 1 405 3 view .LVU189
  2069. 406:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  2070. 407:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** EXTI->PR = hexti->Line;
  2071. 611 .loc 1 407 3 view .LVU190
  2072. 612 .loc 1 407 20 is_stmt 0 view .LVU191
  2073. 613 0000 0268 ldr r2, [r0]
  2074. 614 .loc 1 407 12 view .LVU192
  2075. 615 0002 014B ldr r3, .L50
  2076. 616 0004 5A61 str r2, [r3, #20]
  2077. 408:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  2078. 617 .loc 1 408 1 view .LVU193
  2079. 618 0006 7047 bx lr
  2080. 619 .L51:
  2081. 620 .align 2
  2082. 621 .L50:
  2083. 622 0008 003C0140 .word 1073822720
  2084. 623 .cfi_endproc
  2085. 624 .LFE137:
  2086. 626 .section .text.HAL_EXTI_GenerateSWI,"ax",%progbits
  2087. 627 .align 1
  2088. 628 .global HAL_EXTI_GenerateSWI
  2089. ARM GAS /tmp/cca4EPXq.s page 37
  2090. 629 .syntax unified
  2091. 630 .thumb
  2092. 631 .thumb_func
  2093. 633 HAL_EXTI_GenerateSWI:
  2094. 634 .LVL46:
  2095. 635 .LFB138:
  2096. 409:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  2097. 410:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /**
  2098. 411:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @brief Generate a software interrupt for a dedicated line.
  2099. 412:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @param hexti Exti handle.
  2100. 413:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** * @retval None.
  2101. 414:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** */
  2102. 415:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** void HAL_EXTI_GenerateSWI(EXTI_HandleTypeDef *hexti)
  2103. 416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** {
  2104. 636 .loc 1 416 1 is_stmt 1 view -0
  2105. 637 .cfi_startproc
  2106. 638 @ args = 0, pretend = 0, frame = 0
  2107. 639 @ frame_needed = 0, uses_anonymous_args = 0
  2108. 640 @ link register save eliminated.
  2109. 417:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** /* Check parameters */
  2110. 418:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** assert_param(IS_EXTI_LINE(hexti->Line));
  2111. 641 .loc 1 418 3 view .LVU195
  2112. 419:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c ****
  2113. 420:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** EXTI->SWIER = hexti->Line;
  2114. 642 .loc 1 420 3 view .LVU196
  2115. 643 .loc 1 420 22 is_stmt 0 view .LVU197
  2116. 644 0000 0268 ldr r2, [r0]
  2117. 645 .loc 1 420 15 view .LVU198
  2118. 646 0002 014B ldr r3, .L53
  2119. 647 0004 1A61 str r2, [r3, #16]
  2120. 421:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c **** }
  2121. 648 .loc 1 421 1 view .LVU199
  2122. 649 0006 7047 bx lr
  2123. 650 .L54:
  2124. 651 .align 2
  2125. 652 .L53:
  2126. 653 0008 003C0140 .word 1073822720
  2127. 654 .cfi_endproc
  2128. 655 .LFE138:
  2129. 657 .text
  2130. 658 .Letext0:
  2131. 659 .file 3 "/home/gitc/\346\241\214\351\235\242/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include/
  2132. 660 .file 4 "/home/gitc/\346\241\214\351\235\242/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include/
  2133. 661 .file 5 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h"
  2134. 662 .file 6 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h"
  2135. 663 .file 7 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h"
  2136. ARM GAS /tmp/cca4EPXq.s page 38
  2137. DEFINED SYMBOLS
  2138. *ABS*:0000000000000000 stm32f4xx_hal_exti.c
  2139. /tmp/cca4EPXq.s:20 .text.HAL_EXTI_SetConfigLine:0000000000000000 $t
  2140. /tmp/cca4EPXq.s:26 .text.HAL_EXTI_SetConfigLine:0000000000000000 HAL_EXTI_SetConfigLine
  2141. /tmp/cca4EPXq.s:184 .text.HAL_EXTI_SetConfigLine:0000000000000088 $d
  2142. /tmp/cca4EPXq.s:189 .text.HAL_EXTI_GetConfigLine:0000000000000000 $t
  2143. /tmp/cca4EPXq.s:195 .text.HAL_EXTI_GetConfigLine:0000000000000000 HAL_EXTI_GetConfigLine
  2144. /tmp/cca4EPXq.s:323 .text.HAL_EXTI_GetConfigLine:0000000000000074 $d
  2145. /tmp/cca4EPXq.s:328 .text.HAL_EXTI_ClearConfigLine:0000000000000000 $t
  2146. /tmp/cca4EPXq.s:334 .text.HAL_EXTI_ClearConfigLine:0000000000000000 HAL_EXTI_ClearConfigLine
  2147. /tmp/cca4EPXq.s:400 .text.HAL_EXTI_ClearConfigLine:0000000000000038 $d
  2148. /tmp/cca4EPXq.s:405 .text.HAL_EXTI_RegisterCallback:0000000000000000 $t
  2149. /tmp/cca4EPXq.s:411 .text.HAL_EXTI_RegisterCallback:0000000000000000 HAL_EXTI_RegisterCallback
  2150. /tmp/cca4EPXq.s:444 .text.HAL_EXTI_GetHandle:0000000000000000 $t
  2151. /tmp/cca4EPXq.s:450 .text.HAL_EXTI_GetHandle:0000000000000000 HAL_EXTI_GetHandle
  2152. /tmp/cca4EPXq.s:482 .text.HAL_EXTI_IRQHandler:0000000000000000 $t
  2153. /tmp/cca4EPXq.s:488 .text.HAL_EXTI_IRQHandler:0000000000000000 HAL_EXTI_IRQHandler
  2154. /tmp/cca4EPXq.s:527 .text.HAL_EXTI_IRQHandler:0000000000000018 $d
  2155. /tmp/cca4EPXq.s:532 .text.HAL_EXTI_GetPending:0000000000000000 $t
  2156. /tmp/cca4EPXq.s:538 .text.HAL_EXTI_GetPending:0000000000000000 HAL_EXTI_GetPending
  2157. /tmp/cca4EPXq.s:590 .text.HAL_EXTI_GetPending:0000000000000018 $d
  2158. /tmp/cca4EPXq.s:595 .text.HAL_EXTI_ClearPending:0000000000000000 $t
  2159. /tmp/cca4EPXq.s:601 .text.HAL_EXTI_ClearPending:0000000000000000 HAL_EXTI_ClearPending
  2160. /tmp/cca4EPXq.s:622 .text.HAL_EXTI_ClearPending:0000000000000008 $d
  2161. /tmp/cca4EPXq.s:627 .text.HAL_EXTI_GenerateSWI:0000000000000000 $t
  2162. /tmp/cca4EPXq.s:633 .text.HAL_EXTI_GenerateSWI:0000000000000000 HAL_EXTI_GenerateSWI
  2163. /tmp/cca4EPXq.s:653 .text.HAL_EXTI_GenerateSWI:0000000000000008 $d
  2164. NO UNDEFINED SYMBOLS