stm32f4xx_hal_adc_ex.lst 198 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262
  1. ARM GAS /tmp/cce1ybXB.s page 1
  2. 1 .cpu cortex-m4
  3. 2 .eabi_attribute 27, 1
  4. 3 .eabi_attribute 28, 1
  5. 4 .eabi_attribute 20, 1
  6. 5 .eabi_attribute 21, 1
  7. 6 .eabi_attribute 23, 3
  8. 7 .eabi_attribute 24, 1
  9. 8 .eabi_attribute 25, 1
  10. 9 .eabi_attribute 26, 1
  11. 10 .eabi_attribute 30, 1
  12. 11 .eabi_attribute 34, 1
  13. 12 .eabi_attribute 18, 4
  14. 13 .file "stm32f4xx_hal_adc_ex.c"
  15. 14 .text
  16. 15 .Ltext0:
  17. 16 .cfi_sections .debug_frame
  18. 17 .section .text.ADC_MultiModeDMAError,"ax",%progbits
  19. 18 .align 1
  20. 19 .syntax unified
  21. 20 .thumb
  22. 21 .thumb_func
  23. 22 .fpu fpv4-sp-d16
  24. 24 ADC_MultiModeDMAError:
  25. 25 .LFB144:
  26. 26 .file 1 "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c"
  27. 1:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  28. 2:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ******************************************************************************
  29. 3:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @file stm32f4xx_hal_adc_ex.c
  30. 4:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @author MCD Application Team
  31. 5:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief This file provides firmware functions to manage the following
  32. 6:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * functionalities of the ADC extension peripheral:
  33. 7:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * + Extended features functions
  34. 8:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *
  35. 9:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** @verbatim
  36. 10:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ==============================================================================
  37. 11:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ##### How to use this driver #####
  38. 12:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ==============================================================================
  39. 13:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** [..]
  40. 14:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (#)Initialize the ADC low level resources by implementing the HAL_ADC_MspInit():
  41. 15:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (##) Enable the ADC interface clock using __HAL_RCC_ADC_CLK_ENABLE()
  42. 16:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (##) ADC pins configuration
  43. 17:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) Enable the clock for the ADC GPIOs using the following function:
  44. 18:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_RCC_GPIOx_CLK_ENABLE()
  45. 19:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) Configure these ADC pins in analog mode using HAL_GPIO_Init()
  46. 20:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (##) In case of using interrupts (e.g. HAL_ADC_Start_IT())
  47. 21:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) Configure the ADC interrupt priority using HAL_NVIC_SetPriority()
  48. 22:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) Enable the ADC IRQ handler using HAL_NVIC_EnableIRQ()
  49. 23:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) In ADC IRQ handler, call HAL_ADC_IRQHandler()
  50. 24:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (##) In case of using DMA to control data transfer (e.g. HAL_ADC_Start_DMA())
  51. 25:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) Enable the DMAx interface clock using __HAL_RCC_DMAx_CLK_ENABLE()
  52. 26:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) Configure and enable two DMA streams stream for managing data
  53. 27:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** transfer from peripheral to memory (output stream)
  54. 28:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) Associate the initialized DMA handle to the ADC DMA handle
  55. 29:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** using __HAL_LINKDMA()
  56. 30:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) Configure the priority and enable the NVIC for the transfer complete
  57. 31:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** interrupt on the two DMA Streams. The output stream should have higher
  58. 32:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** priority than the input stream.
  59. ARM GAS /tmp/cce1ybXB.s page 2
  60. 33:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (#) Configure the ADC Prescaler, conversion resolution and data alignment
  61. 34:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** using the HAL_ADC_Init() function.
  62. 35:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  63. 36:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (#) Configure the ADC Injected channels group features, use HAL_ADC_Init()
  64. 37:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** and HAL_ADC_ConfigChannel() functions.
  65. 38:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  66. 39:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (#) Three operation modes are available within this driver :
  67. 40:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  68. 41:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *** Polling mode IO operation ***
  69. 42:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** =================================
  70. 43:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** [..]
  71. 44:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Start the ADC peripheral using HAL_ADCEx_InjectedStart()
  72. 45:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Wait for end of conversion using HAL_ADC_PollForConversion(), at this stage
  73. 46:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** user can specify the value of timeout according to his end application
  74. 47:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) To read the ADC converted values, use the HAL_ADCEx_InjectedGetValue() function.
  75. 48:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Stop the ADC peripheral using HAL_ADCEx_InjectedStop()
  76. 49:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  77. 50:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *** Interrupt mode IO operation ***
  78. 51:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ===================================
  79. 52:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** [..]
  80. 53:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Start the ADC peripheral using HAL_ADCEx_InjectedStart_IT()
  81. 54:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Use HAL_ADC_IRQHandler() called under ADC_IRQHandler() Interrupt subroutine
  82. 55:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) At ADC end of conversion HAL_ADCEx_InjectedConvCpltCallback() function is executed and u
  83. 56:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** add his own code by customization of function pointer HAL_ADCEx_InjectedConvCpltCallbac
  84. 57:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) In case of ADC Error, HAL_ADCEx_InjectedErrorCallback() function is executed and user ca
  85. 58:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** add his own code by customization of function pointer HAL_ADCEx_InjectedErrorCallback
  86. 59:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Stop the ADC peripheral using HAL_ADCEx_InjectedStop_IT()
  87. 60:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  88. 61:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  89. 62:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *** DMA mode IO operation ***
  90. 63:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ==============================
  91. 64:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** [..]
  92. 65:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Start the ADC peripheral using HAL_ADCEx_InjectedStart_DMA(), at this stage the user spe
  93. 66:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** of data to be transferred at each end of conversion
  94. 67:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) At The end of data transfer ba HAL_ADCEx_InjectedConvCpltCallback() function is executed
  95. 68:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** add his own code by customization of function pointer HAL_ADCEx_InjectedConvCpltCallbac
  96. 69:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) In case of transfer Error, HAL_ADCEx_InjectedErrorCallback() function is executed and us
  97. 70:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** add his own code by customization of function pointer HAL_ADCEx_InjectedErrorCallback
  98. 71:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Stop the ADC peripheral using HAL_ADCEx_InjectedStop_DMA()
  99. 72:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  100. 73:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *** Multi mode ADCs Regular channels configuration ***
  101. 74:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ======================================================
  102. 75:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** [..]
  103. 76:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Select the Multi mode ADC regular channels features (dual or triple mode)
  104. 77:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** and configure the DMA mode using HAL_ADCEx_MultiModeConfigChannel() functions.
  105. 78:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Start the ADC peripheral using HAL_ADCEx_MultiModeStart_DMA(), at this stage the user sp
  106. 79:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** of data to be transferred at each end of conversion
  107. 80:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Read the ADCs converted values using the HAL_ADCEx_MultiModeGetValue() function.
  108. 81:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  109. 82:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  110. 83:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** @endverbatim
  111. 84:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ******************************************************************************
  112. 85:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @attention
  113. 86:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *
  114. 87:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
  115. 88:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * All rights reserved.</center></h2>
  116. 89:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *
  117. ARM GAS /tmp/cce1ybXB.s page 3
  118. 90:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * This software component is licensed by ST under BSD 3-Clause license,
  119. 91:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the "License"; You may not use this file except in compliance with the
  120. 92:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * License. You may obtain a copy of the License at:
  121. 93:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * opensource.org/licenses/BSD-3-Clause
  122. 94:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *
  123. 95:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ******************************************************************************
  124. 96:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  125. 97:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  126. 98:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Includes ------------------------------------------------------------------*/
  127. 99:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** #include "stm32f4xx_hal.h"
  128. 100:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  129. 101:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /** @addtogroup STM32F4xx_HAL_Driver
  130. 102:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @{
  131. 103:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  132. 104:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  133. 105:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /** @defgroup ADCEx ADCEx
  134. 106:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief ADC Extended driver modules
  135. 107:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @{
  136. 108:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  137. 109:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  138. 110:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** #ifdef HAL_ADC_MODULE_ENABLED
  139. 111:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  140. 112:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Private typedef -----------------------------------------------------------*/
  141. 113:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Private define ------------------------------------------------------------*/
  142. 114:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Private macro -------------------------------------------------------------*/
  143. 115:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Private variables ---------------------------------------------------------*/
  144. 116:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /** @addtogroup ADCEx_Private_Functions
  145. 117:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @{
  146. 118:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  147. 119:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Private function prototypes -----------------------------------------------*/
  148. 120:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** static void ADC_MultiModeDMAConvCplt(DMA_HandleTypeDef *hdma);
  149. 121:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** static void ADC_MultiModeDMAError(DMA_HandleTypeDef *hdma);
  150. 122:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** static void ADC_MultiModeDMAHalfConvCplt(DMA_HandleTypeDef *hdma);
  151. 123:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  152. 124:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @}
  153. 125:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  154. 126:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  155. 127:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Exported functions --------------------------------------------------------*/
  156. 128:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /** @defgroup ADCEx_Exported_Functions ADC Exported Functions
  157. 129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @{
  158. 130:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  159. 131:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  160. 132:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /** @defgroup ADCEx_Exported_Functions_Group1 Extended features functions
  161. 133:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Extended features functions
  162. 134:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *
  163. 135:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** @verbatim
  164. 136:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ===============================================================================
  165. 137:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ##### Extended features functions #####
  166. 138:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ===============================================================================
  167. 139:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** [..] This section provides functions allowing to:
  168. 140:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Start conversion of injected channel.
  169. 141:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Stop conversion of injected channel.
  170. 142:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Start multimode and enable DMA transfer.
  171. 143:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Stop multimode and disable DMA transfer.
  172. 144:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Get result of injected channel conversion.
  173. 145:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Get result of multimode conversion.
  174. 146:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Configure injected channels.
  175. ARM GAS /tmp/cce1ybXB.s page 4
  176. 147:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Configure multimode.
  177. 148:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  178. 149:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** @endverbatim
  179. 150:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @{
  180. 151:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  181. 152:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  182. 153:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  183. 154:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Enables the selected ADC software start conversion of the injected channels.
  184. 155:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  185. 156:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
  186. 157:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval HAL status
  187. 158:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  188. 159:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_InjectedStart(ADC_HandleTypeDef* hadc)
  189. 160:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  190. 161:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t counter = 0U;
  191. 162:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tmp1 = 0U, tmp2 = 0U;
  192. 163:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
  193. 164:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  194. 165:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process locked */
  195. 166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
  196. 167:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  197. 168:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the ADC peripheral */
  198. 169:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  199. 170:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if ADC peripheral is disabled in order to enable it and wait during
  200. 171:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** Tstab time the ADC's stabilization */
  201. 172:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance->CR2 & ADC_CR2_ADON) != ADC_CR2_ADON)
  202. 173:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  203. 174:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the Peripheral */
  204. 175:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_ENABLE(hadc);
  205. 176:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  206. 177:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Delay for ADC stabilization time */
  207. 178:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Compute number of CPU cycles to wait for */
  208. 179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U));
  209. 180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
  210. 181:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  211. 182:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** counter--;
  212. 183:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  213. 184:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  214. 185:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  215. 186:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Start conversion if ADC is effectively enabled */
  216. 187:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(HAL_IS_BIT_SET(hadc->Instance->CR2, ADC_CR2_ADON))
  217. 188:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  218. 189:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC state */
  219. 190:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - Clear state bitfield related to injected group conversion results */
  220. 191:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - Set state bitfield related to injected operation */
  221. 192:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
  222. 193:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_INJ_EOC,
  223. 194:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_INJ_BUSY);
  224. 195:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  225. 196:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if a regular conversion is ongoing */
  226. 197:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Note: On this device, there is no ADC error code fields related to */
  227. 198:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* conversions on group injected only. In case of conversion on */
  228. 199:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* going on group regular, no error code is reset. */
  229. 200:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_REG_BUSY))
  230. 201:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  231. 202:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Reset ADC all error code fields */
  232. 203:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_CLEAR_ERRORCODE(hadc);
  233. ARM GAS /tmp/cce1ybXB.s page 5
  234. 204:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  235. 205:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  236. 206:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
  237. 207:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Unlock before starting ADC conversions: in case of potential */
  238. 208:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* interruption, to let the process to ADC IRQ Handler. */
  239. 209:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
  240. 210:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  241. 211:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Clear injected group conversion flag */
  242. 212:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* (To ensure of no unknown state from potential previous ADC operations) */
  243. 213:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_JEOC);
  244. 214:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  245. 215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Pointer to the common control register to which is belonging hadc */
  246. 216:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* (Depending on STM32F4 product, there may be up to 3 ADC and 1 common */
  247. 217:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* control register) */
  248. 218:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
  249. 219:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  250. 220:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if Multimode enabled */
  251. 221:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(HAL_IS_BIT_CLR(tmpADC_Common->CCR, ADC_CCR_MULTI))
  252. 222:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  253. 223:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN);
  254. 224:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
  255. 225:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(tmp1 && tmp2)
  256. 226:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  257. 227:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the selected ADC software conversion for injected group */
  258. 228:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= ADC_CR2_JSWSTART;
  259. 229:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  260. 230:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  261. 231:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
  262. 232:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  263. 233:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN);
  264. 234:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
  265. 235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance == ADC1) && tmp1 && tmp2)
  266. 236:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  267. 237:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the selected ADC software conversion for injected group */
  268. 238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= ADC_CR2_JSWSTART;
  269. 239:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  270. 240:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  271. 241:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  272. 242:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  273. 243:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return function status */
  274. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_OK;
  275. 245:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  276. 246:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  277. 247:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  278. 248:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Enables the interrupt and starts ADC conversion of injected channels.
  279. 249:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  280. 250:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
  281. 251:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *
  282. 252:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval HAL status.
  283. 253:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  284. 254:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_InjectedStart_IT(ADC_HandleTypeDef* hadc)
  285. 255:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  286. 256:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t counter = 0U;
  287. 257:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tmp1 = 0U, tmp2 = 0U;
  288. 258:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
  289. 259:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  290. 260:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process locked */
  291. ARM GAS /tmp/cce1ybXB.s page 6
  292. 261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
  293. 262:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  294. 263:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the ADC peripheral */
  295. 264:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  296. 265:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if ADC peripheral is disabled in order to enable it and wait during
  297. 266:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** Tstab time the ADC's stabilization */
  298. 267:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance->CR2 & ADC_CR2_ADON) != ADC_CR2_ADON)
  299. 268:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  300. 269:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the Peripheral */
  301. 270:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_ENABLE(hadc);
  302. 271:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  303. 272:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Delay for ADC stabilization time */
  304. 273:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Compute number of CPU cycles to wait for */
  305. 274:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U));
  306. 275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
  307. 276:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  308. 277:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** counter--;
  309. 278:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  310. 279:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  311. 280:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  312. 281:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Start conversion if ADC is effectively enabled */
  313. 282:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(HAL_IS_BIT_SET(hadc->Instance->CR2, ADC_CR2_ADON))
  314. 283:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  315. 284:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC state */
  316. 285:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - Clear state bitfield related to injected group conversion results */
  317. 286:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - Set state bitfield related to injected operation */
  318. 287:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
  319. 288:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_INJ_EOC,
  320. 289:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_INJ_BUSY);
  321. 290:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  322. 291:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if a regular conversion is ongoing */
  323. 292:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Note: On this device, there is no ADC error code fields related to */
  324. 293:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* conversions on group injected only. In case of conversion on */
  325. 294:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* going on group regular, no error code is reset. */
  326. 295:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_REG_BUSY))
  327. 296:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  328. 297:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Reset ADC all error code fields */
  329. 298:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_CLEAR_ERRORCODE(hadc);
  330. 299:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  331. 300:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  332. 301:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
  333. 302:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Unlock before starting ADC conversions: in case of potential */
  334. 303:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* interruption, to let the process to ADC IRQ Handler. */
  335. 304:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
  336. 305:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  337. 306:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Clear injected group conversion flag */
  338. 307:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* (To ensure of no unknown state from potential previous ADC operations) */
  339. 308:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_JEOC);
  340. 309:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  341. 310:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable end of conversion interrupt for injected channels */
  342. 311:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_ENABLE_IT(hadc, ADC_IT_JEOC);
  343. 312:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  344. 313:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Pointer to the common control register to which is belonging hadc */
  345. 314:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* (Depending on STM32F4 product, there may be up to 3 ADC and 1 common */
  346. 315:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* control register) */
  347. 316:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
  348. 317:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  349. ARM GAS /tmp/cce1ybXB.s page 7
  350. 318:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if Multimode enabled */
  351. 319:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(HAL_IS_BIT_CLR(tmpADC_Common->CCR, ADC_CCR_MULTI))
  352. 320:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  353. 321:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN);
  354. 322:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
  355. 323:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(tmp1 && tmp2)
  356. 324:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  357. 325:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the selected ADC software conversion for injected group */
  358. 326:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= ADC_CR2_JSWSTART;
  359. 327:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  360. 328:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  361. 329:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
  362. 330:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  363. 331:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN);
  364. 332:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
  365. 333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance == ADC1) && tmp1 && tmp2)
  366. 334:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  367. 335:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the selected ADC software conversion for injected group */
  368. 336:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= ADC_CR2_JSWSTART;
  369. 337:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  370. 338:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  371. 339:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  372. 340:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  373. 341:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return function status */
  374. 342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_OK;
  375. 343:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  376. 344:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  377. 345:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  378. 346:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Stop conversion of injected channels. Disable ADC peripheral if
  379. 347:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * no regular conversion is on going.
  380. 348:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @note If ADC must be disabled and if conversion is on going on
  381. 349:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * regular group, function HAL_ADC_Stop must be used to stop both
  382. 350:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * injected and regular groups, and disable the ADC.
  383. 351:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @note If injected group mode auto-injection is enabled,
  384. 352:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * function HAL_ADC_Stop must be used.
  385. 353:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @note In case of auto-injection mode, HAL_ADC_Stop must be used.
  386. 354:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc ADC handle
  387. 355:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval None
  388. 356:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  389. 357:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_InjectedStop(ADC_HandleTypeDef* hadc)
  390. 358:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  391. 359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
  392. 360:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  393. 361:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check the parameters */
  394. 362:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
  395. 363:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  396. 364:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process locked */
  397. 365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
  398. 366:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  399. 367:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Stop potential conversion and disable ADC peripheral */
  400. 368:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Conditioned to: */
  401. 369:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - No conversion on the other group (regular group) is intended to */
  402. 370:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* continue (injected and regular groups stop conversion and ADC disable */
  403. 371:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* are common) */
  404. 372:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - In case of auto-injection mode, HAL_ADC_Stop must be used. */
  405. 373:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(((hadc->State & HAL_ADC_STATE_REG_BUSY) == RESET) &&
  406. 374:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
  407. ARM GAS /tmp/cce1ybXB.s page 8
  408. 375:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  409. 376:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Stop potential conversion on going, on regular and injected groups */
  410. 377:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable ADC peripheral */
  411. 378:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_DISABLE(hadc);
  412. 379:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  413. 380:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if ADC is effectively disabled */
  414. 381:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_ADON))
  415. 382:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  416. 383:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC state */
  417. 384:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
  418. 385:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
  419. 386:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_READY);
  420. 387:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  421. 388:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  422. 389:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
  423. 390:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  424. 391:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Update ADC state machine to error */
  425. 392:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG);
  426. 393:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  427. 394:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp_hal_status = HAL_ERROR;
  428. 395:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  429. 396:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  430. 397:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
  431. 398:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
  432. 399:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  433. 400:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return function status */
  434. 401:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return tmp_hal_status;
  435. 402:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  436. 403:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  437. 404:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  438. 405:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Poll for injected conversion complete
  439. 406:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  440. 407:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
  441. 408:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param Timeout Timeout value in millisecond.
  442. 409:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval HAL status
  443. 410:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  444. 411:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_InjectedPollForConversion(ADC_HandleTypeDef* hadc, uint32_t Timeout)
  445. 412:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  446. 413:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tickstart = 0U;
  447. 414:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  448. 415:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Get tick */
  449. 416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tickstart = HAL_GetTick();
  450. 417:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  451. 418:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check End of conversion flag */
  452. 419:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(!(__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_JEOC)))
  453. 420:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  454. 421:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check for the Timeout */
  455. 422:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(Timeout != HAL_MAX_DELAY)
  456. 423:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  457. 424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((Timeout == 0U)||((HAL_GetTick() - tickstart ) > Timeout))
  458. 425:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  459. 426:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->State= HAL_ADC_STATE_TIMEOUT;
  460. 427:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
  461. 428:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
  462. 429:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_TIMEOUT;
  463. 430:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  464. 431:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  465. ARM GAS /tmp/cce1ybXB.s page 9
  466. 432:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  467. 433:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  468. 434:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Clear injected group conversion flag */
  469. 435:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_JSTRT | ADC_FLAG_JEOC);
  470. 436:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  471. 437:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Update ADC state machine */
  472. 438:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_INJ_EOC);
  473. 439:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  474. 440:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Determine whether any further conversion upcoming on group injected */
  475. 441:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* by external trigger, continuous mode or scan sequence on going. */
  476. 442:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Note: On STM32F4, there is no independent flag of end of sequence. */
  477. 443:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* The test of scan sequence on going is done either with scan */
  478. 444:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* sequence disabled or with end of conversion flag set to */
  479. 445:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* of end of sequence. */
  480. 446:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(ADC_IS_SOFTWARE_START_INJECTED(hadc) &&
  481. 447:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->JSQR, ADC_JSQR_JL) ||
  482. 448:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) &&
  483. 449:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) &&
  484. 450:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
  485. 451:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (hadc->Init.ContinuousConvMode == DISABLE) ) ) )
  486. 452:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  487. 453:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC state */
  488. 454:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_INJ_BUSY);
  489. 455:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  490. 456:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_REG_BUSY))
  491. 457:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  492. 458:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_READY);
  493. 459:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  494. 460:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  495. 461:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  496. 462:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return ADC state */
  497. 463:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_OK;
  498. 464:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  499. 465:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  500. 466:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  501. 467:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Stop conversion of injected channels, disable interruption of
  502. 468:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * end-of-conversion. Disable ADC peripheral if no regular conversion
  503. 469:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * is on going.
  504. 470:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @note If ADC must be disabled and if conversion is on going on
  505. 471:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * regular group, function HAL_ADC_Stop must be used to stop both
  506. 472:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * injected and regular groups, and disable the ADC.
  507. 473:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @note If injected group mode auto-injection is enabled,
  508. 474:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * function HAL_ADC_Stop must be used.
  509. 475:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc ADC handle
  510. 476:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval None
  511. 477:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  512. 478:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_InjectedStop_IT(ADC_HandleTypeDef* hadc)
  513. 479:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  514. 480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
  515. 481:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  516. 482:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check the parameters */
  517. 483:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
  518. 484:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  519. 485:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process locked */
  520. 486:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
  521. 487:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  522. 488:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Stop potential conversion and disable ADC peripheral */
  523. ARM GAS /tmp/cce1ybXB.s page 10
  524. 489:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Conditioned to: */
  525. 490:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - No conversion on the other group (regular group) is intended to */
  526. 491:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* continue (injected and regular groups stop conversion and ADC disable */
  527. 492:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* are common) */
  528. 493:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - In case of auto-injection mode, HAL_ADC_Stop must be used. */
  529. 494:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(((hadc->State & HAL_ADC_STATE_REG_BUSY) == RESET) &&
  530. 495:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
  531. 496:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  532. 497:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Stop potential conversion on going, on regular and injected groups */
  533. 498:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable ADC peripheral */
  534. 499:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_DISABLE(hadc);
  535. 500:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  536. 501:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if ADC is effectively disabled */
  537. 502:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_ADON))
  538. 503:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  539. 504:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable ADC end of conversion interrupt for injected channels */
  540. 505:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_JEOC);
  541. 506:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  542. 507:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC state */
  543. 508:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
  544. 509:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
  545. 510:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_READY);
  546. 511:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  547. 512:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  548. 513:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
  549. 514:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  550. 515:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Update ADC state machine to error */
  551. 516:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG);
  552. 517:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  553. 518:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp_hal_status = HAL_ERROR;
  554. 519:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  555. 520:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  556. 521:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
  557. 522:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
  558. 523:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  559. 524:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return function status */
  560. 525:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return tmp_hal_status;
  561. 526:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  562. 527:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  563. 528:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  564. 529:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Gets the converted value from data register of injected channel.
  565. 530:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  566. 531:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
  567. 532:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param InjectedRank the ADC injected rank.
  568. 533:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * This parameter can be one of the following values:
  569. 534:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @arg ADC_INJECTED_RANK_1: Injected Channel1 selected
  570. 535:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @arg ADC_INJECTED_RANK_2: Injected Channel2 selected
  571. 536:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @arg ADC_INJECTED_RANK_3: Injected Channel3 selected
  572. 537:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @arg ADC_INJECTED_RANK_4: Injected Channel4 selected
  573. 538:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval None
  574. 539:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  575. 540:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t HAL_ADCEx_InjectedGetValue(ADC_HandleTypeDef* hadc, uint32_t InjectedRank)
  576. 541:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  577. 542:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t tmp = 0U;
  578. 543:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  579. 544:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check the parameters */
  580. 545:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_INJECTED_RANK(InjectedRank));
  581. ARM GAS /tmp/cce1ybXB.s page 11
  582. 546:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  583. 547:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Clear injected group conversion flag to have similar behaviour as */
  584. 548:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* regular group: reading data register also clears end of conversion flag. */
  585. 549:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_JEOC);
  586. 550:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  587. 551:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return the selected ADC converted value */
  588. 552:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** switch(InjectedRank)
  589. 553:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  590. 554:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_4:
  591. 555:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  592. 556:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp = hadc->Instance->JDR4;
  593. 557:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  594. 558:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  595. 559:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_3:
  596. 560:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  597. 561:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp = hadc->Instance->JDR3;
  598. 562:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  599. 563:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  600. 564:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_2:
  601. 565:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  602. 566:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp = hadc->Instance->JDR2;
  603. 567:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  604. 568:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  605. 569:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_1:
  606. 570:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  607. 571:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp = hadc->Instance->JDR1;
  608. 572:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  609. 573:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  610. 574:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** default:
  611. 575:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  612. 576:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  613. 577:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return tmp;
  614. 578:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  615. 579:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  616. 580:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  617. 581:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Enables ADC DMA request after last transfer (Multi-ADC mode) and enables ADC peripheral
  618. 582:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *
  619. 583:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @note Caution: This function must be used only with the ADC master.
  620. 584:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *
  621. 585:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  622. 586:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
  623. 587:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param pData Pointer to buffer in which transferred from ADC peripheral to memory will be st
  624. 588:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param Length The length of data to be transferred from ADC peripheral to memory.
  625. 589:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval HAL status
  626. 590:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  627. 591:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_MultiModeStart_DMA(ADC_HandleTypeDef* hadc, uint32_t* pData, uint32_t L
  628. 592:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  629. 593:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t counter = 0U;
  630. 594:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
  631. 595:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  632. 596:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check the parameters */
  633. 597:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.ContinuousConvMode));
  634. 598:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_EXT_TRIG_EDGE(hadc->Init.ExternalTrigConvEdge));
  635. 599:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.DMAContinuousRequests));
  636. 600:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  637. 601:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process locked */
  638. 602:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
  639. ARM GAS /tmp/cce1ybXB.s page 12
  640. 603:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  641. 604:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if ADC peripheral is disabled in order to enable it and wait during
  642. 605:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** Tstab time the ADC's stabilization */
  643. 606:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance->CR2 & ADC_CR2_ADON) != ADC_CR2_ADON)
  644. 607:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  645. 608:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the Peripheral */
  646. 609:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_ENABLE(hadc);
  647. 610:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  648. 611:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Delay for temperature sensor stabilization time */
  649. 612:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Compute number of CPU cycles to wait for */
  650. 613:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U));
  651. 614:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
  652. 615:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  653. 616:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** counter--;
  654. 617:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  655. 618:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  656. 619:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  657. 620:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Start conversion if ADC is effectively enabled */
  658. 621:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(HAL_IS_BIT_SET(hadc->Instance->CR2, ADC_CR2_ADON))
  659. 622:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  660. 623:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC state */
  661. 624:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - Clear state bitfield related to regular group conversion results */
  662. 625:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - Set state bitfield related to regular group operation */
  663. 626:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
  664. 627:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC | HAL_ADC_STATE_REG_OVR,
  665. 628:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY);
  666. 629:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  667. 630:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* If conversions on group regular are also triggering group injected, */
  668. 631:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* update ADC state. */
  669. 632:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (READ_BIT(hadc->Instance->CR1, ADC_CR1_JAUTO) != RESET)
  670. 633:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  671. 634:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State, HAL_ADC_STATE_INJ_EOC, HAL_ADC_STATE_INJ_BUSY);
  672. 635:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  673. 636:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  674. 637:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* State machine update: Check if an injected conversion is ongoing */
  675. 638:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (HAL_IS_BIT_SET(hadc->State, HAL_ADC_STATE_INJ_BUSY))
  676. 639:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  677. 640:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Reset ADC error code fields related to conversions on group regular */
  678. 641:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** CLEAR_BIT(hadc->ErrorCode, (HAL_ADC_ERROR_OVR | HAL_ADC_ERROR_DMA));
  679. 642:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  680. 643:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
  681. 644:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  682. 645:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Reset ADC all error code fields */
  683. 646:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_CLEAR_ERRORCODE(hadc);
  684. 647:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  685. 648:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  686. 649:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
  687. 650:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Unlock before starting ADC conversions: in case of potential */
  688. 651:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* interruption, to let the process to ADC IRQ Handler. */
  689. 652:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
  690. 653:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  691. 654:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set the DMA transfer complete callback */
  692. 655:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->DMA_Handle->XferCpltCallback = ADC_MultiModeDMAConvCplt;
  693. 656:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  694. 657:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set the DMA half transfer complete callback */
  695. 658:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->DMA_Handle->XferHalfCpltCallback = ADC_MultiModeDMAHalfConvCplt;
  696. 659:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  697. ARM GAS /tmp/cce1ybXB.s page 13
  698. 660:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set the DMA error callback */
  699. 661:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->DMA_Handle->XferErrorCallback = ADC_MultiModeDMAError ;
  700. 662:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  701. 663:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Manage ADC and DMA start: ADC overrun interruption, DMA start, ADC */
  702. 664:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* start (in case of SW start): */
  703. 665:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  704. 666:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Clear regular group conversion flag and overrun flag */
  705. 667:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* (To ensure of no unknown state from potential previous ADC operations) */
  706. 668:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_EOC);
  707. 669:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  708. 670:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable ADC overrun interrupt */
  709. 671:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_ENABLE_IT(hadc, ADC_IT_OVR);
  710. 672:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  711. 673:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Pointer to the common control register to which is belonging hadc */
  712. 674:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* (Depending on STM32F4 product, there may be up to 3 ADC and 1 common */
  713. 675:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* control register) */
  714. 676:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
  715. 677:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  716. 678:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (hadc->Init.DMAContinuousRequests != DISABLE)
  717. 679:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  718. 680:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the selected ADC DMA request after last transfer */
  719. 681:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= ADC_CCR_DDS;
  720. 682:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  721. 683:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
  722. 684:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  723. 685:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable the selected ADC EOC rising on each regular channel conversion */
  724. 686:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR &= ~ADC_CCR_DDS;
  725. 687:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  726. 688:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  727. 689:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the DMA Stream */
  728. 690:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_DMA_Start_IT(hadc->DMA_Handle, (uint32_t)&tmpADC_Common->CDR, (uint32_t)pData, Length);
  729. 691:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  730. 692:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* if no external trigger present enable software conversion of regular channels */
  731. 693:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance->CR2 & ADC_CR2_EXTEN) == RESET)
  732. 694:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  733. 695:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the selected ADC software conversion for regular group */
  734. 696:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= (uint32_t)ADC_CR2_SWSTART;
  735. 697:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  736. 698:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  737. 699:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  738. 700:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return function status */
  739. 701:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_OK;
  740. 702:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  741. 703:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  742. 704:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  743. 705:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Disables ADC DMA (multi-ADC mode) and disables ADC peripheral
  744. 706:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  745. 707:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
  746. 708:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval HAL status
  747. 709:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  748. 710:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_MultiModeStop_DMA(ADC_HandleTypeDef* hadc)
  749. 711:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  750. 712:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
  751. 713:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
  752. 714:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  753. 715:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check the parameters */
  754. 716:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
  755. ARM GAS /tmp/cce1ybXB.s page 14
  756. 717:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  757. 718:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process locked */
  758. 719:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
  759. 720:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  760. 721:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Stop potential conversion on going, on regular and injected groups */
  761. 722:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable ADC peripheral */
  762. 723:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_DISABLE(hadc);
  763. 724:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  764. 725:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Pointer to the common control register to which is belonging hadc */
  765. 726:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* (Depending on STM32F4 product, there may be up to 3 ADC and 1 common */
  766. 727:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* control register) */
  767. 728:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
  768. 729:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  769. 730:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if ADC is effectively disabled */
  770. 731:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_ADON))
  771. 732:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  772. 733:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable the selected ADC DMA mode for multimode */
  773. 734:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR &= ~ADC_CCR_DDS;
  774. 735:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  775. 736:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable the DMA channel (in case of DMA in circular mode or stop while */
  776. 737:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* DMA transfer is on going) */
  777. 738:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp_hal_status = HAL_DMA_Abort(hadc->DMA_Handle);
  778. 739:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  779. 740:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable ADC overrun interrupt */
  780. 741:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_OVR);
  781. 742:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  782. 743:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC state */
  783. 744:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
  784. 745:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
  785. 746:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_READY);
  786. 747:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  787. 748:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  788. 749:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
  789. 750:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
  790. 751:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  791. 752:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return function status */
  792. 753:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return tmp_hal_status;
  793. 754:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  794. 755:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  795. 756:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  796. 757:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Returns the last ADC1, ADC2 and ADC3 regular conversions results
  797. 758:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * data in the selected multi mode.
  798. 759:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  799. 760:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
  800. 761:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval The converted data value.
  801. 762:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  802. 763:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t HAL_ADCEx_MultiModeGetValue(ADC_HandleTypeDef* hadc)
  803. 764:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  804. 765:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
  805. 766:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  806. 767:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Pointer to the common control register to which is belonging hadc */
  807. 768:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* (Depending on STM32F4 product, there may be up to 3 ADC and 1 common */
  808. 769:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* control register) */
  809. 770:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
  810. 771:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  811. 772:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return the multi mode conversion value */
  812. 773:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return tmpADC_Common->CDR;
  813. ARM GAS /tmp/cce1ybXB.s page 15
  814. 774:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  815. 775:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  816. 776:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  817. 777:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Injected conversion complete callback in non blocking mode
  818. 778:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  819. 779:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
  820. 780:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval None
  821. 781:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  822. 782:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __weak void HAL_ADCEx_InjectedConvCpltCallback(ADC_HandleTypeDef* hadc)
  823. 783:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  824. 784:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Prevent unused argument(s) compilation warning */
  825. 785:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** UNUSED(hadc);
  826. 786:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* NOTE : This function Should not be modified, when the callback is needed,
  827. 787:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** the HAL_ADC_InjectedConvCpltCallback could be implemented in the user file
  828. 788:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  829. 789:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  830. 790:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  831. 791:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  832. 792:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Configures for the selected ADC injected channel its corresponding
  833. 793:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * rank in the sequencer and its sample time.
  834. 794:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  835. 795:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
  836. 796:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param sConfigInjected ADC configuration structure for injected channel.
  837. 797:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval None
  838. 798:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  839. 799:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_InjectedConfigChannel(ADC_HandleTypeDef* hadc, ADC_InjectionConfTypeDef
  840. 800:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  841. 801:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  842. 802:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** #ifdef USE_FULL_ASSERT
  843. 803:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tmp = 0U;
  844. 804:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  845. 805:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** #endif /* USE_FULL_ASSERT */
  846. 806:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  847. 807:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
  848. 808:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  849. 809:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check the parameters */
  850. 810:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_CHANNEL(sConfigInjected->InjectedChannel));
  851. 811:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_INJECTED_RANK(sConfigInjected->InjectedRank));
  852. 812:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_SAMPLE_TIME(sConfigInjected->InjectedSamplingTime));
  853. 813:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_EXT_INJEC_TRIG(sConfigInjected->ExternalTrigInjecConv));
  854. 814:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_INJECTED_LENGTH(sConfigInjected->InjectedNbrOfConversion));
  855. 815:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_FUNCTIONAL_STATE(sConfigInjected->AutoInjectedConv));
  856. 816:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_FUNCTIONAL_STATE(sConfigInjected->InjectedDiscontinuousConvMode));
  857. 817:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  858. 818:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** #ifdef USE_FULL_ASSERT
  859. 819:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp = ADC_GET_RESOLUTION(hadc);
  860. 820:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_RANGE(tmp, sConfigInjected->InjectedOffset));
  861. 821:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** #endif /* USE_FULL_ASSERT */
  862. 822:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  863. 823:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(sConfigInjected->ExternalTrigInjecConv != ADC_INJECTED_SOFTWARE_START)
  864. 824:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  865. 825:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_EXT_INJEC_TRIG_EDGE(sConfigInjected->ExternalTrigInjecConvEdge));
  866. 826:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  867. 827:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  868. 828:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process locked */
  869. 829:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
  870. 830:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  871. ARM GAS /tmp/cce1ybXB.s page 16
  872. 831:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* if ADC_Channel_10 ... ADC_Channel_18 is selected */
  873. 832:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (sConfigInjected->InjectedChannel > ADC_CHANNEL_9)
  874. 833:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  875. 834:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Clear the old sample time */
  876. 835:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->SMPR1 &= ~ADC_SMPR1(ADC_SMPR1_SMP10, sConfigInjected->InjectedChannel);
  877. 836:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  878. 837:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set the new sample time */
  879. 838:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->SMPR1 |= ADC_SMPR1(sConfigInjected->InjectedSamplingTime, sConfigInjected->Inje
  880. 839:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  881. 840:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else /* ADC_Channel include in ADC_Channel_[0..9] */
  882. 841:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  883. 842:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Clear the old sample time */
  884. 843:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->SMPR2 &= ~ADC_SMPR2(ADC_SMPR2_SMP0, sConfigInjected->InjectedChannel);
  885. 844:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  886. 845:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set the new sample time */
  887. 846:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->SMPR2 |= ADC_SMPR2(sConfigInjected->InjectedSamplingTime, sConfigInjected->Inje
  888. 847:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  889. 848:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  890. 849:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /*---------------------------- ADCx JSQR Configuration -----------------*/
  891. 850:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JSQR &= ~(ADC_JSQR_JL);
  892. 851:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JSQR |= ADC_SQR1(sConfigInjected->InjectedNbrOfConversion);
  893. 852:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  894. 853:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Rank configuration */
  895. 854:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  896. 855:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Clear the old SQx bits for the selected rank */
  897. 856:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JSQR &= ~ADC_JSQR(ADC_JSQR_JSQ1, sConfigInjected->InjectedRank,sConfigInjected->I
  898. 857:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  899. 858:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set the SQx bits for the selected rank */
  900. 859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JSQR |= ADC_JSQR(sConfigInjected->InjectedChannel, sConfigInjected->InjectedRank,
  901. 860:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  902. 861:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable external trigger if trigger selection is different of software */
  903. 862:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* start. */
  904. 863:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Note: This configuration keeps the hardware feature of parameter */
  905. 864:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* ExternalTrigConvEdge "trigger edge none" equivalent to */
  906. 865:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* software start. */
  907. 866:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(sConfigInjected->ExternalTrigInjecConv != ADC_INJECTED_SOFTWARE_START)
  908. 867:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  909. 868:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Select external trigger to start conversion */
  910. 869:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 &= ~(ADC_CR2_JEXTSEL);
  911. 870:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= sConfigInjected->ExternalTrigInjecConv;
  912. 871:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  913. 872:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Select external trigger polarity */
  914. 873:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 &= ~(ADC_CR2_JEXTEN);
  915. 874:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= sConfigInjected->ExternalTrigInjecConvEdge;
  916. 875:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  917. 876:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
  918. 877:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  919. 878:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Reset the external trigger */
  920. 879:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 &= ~(ADC_CR2_JEXTSEL);
  921. 880:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 &= ~(ADC_CR2_JEXTEN);
  922. 881:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  923. 882:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  924. 883:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (sConfigInjected->AutoInjectedConv != DISABLE)
  925. 884:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  926. 885:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the selected ADC automatic injected group conversion */
  927. 886:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR1 |= ADC_CR1_JAUTO;
  928. 887:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  929. ARM GAS /tmp/cce1ybXB.s page 17
  930. 888:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
  931. 889:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  932. 890:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable the selected ADC automatic injected group conversion */
  933. 891:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR1 &= ~(ADC_CR1_JAUTO);
  934. 892:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  935. 893:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  936. 894:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (sConfigInjected->InjectedDiscontinuousConvMode != DISABLE)
  937. 895:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  938. 896:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the selected ADC injected discontinuous mode */
  939. 897:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR1 |= ADC_CR1_JDISCEN;
  940. 898:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  941. 899:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
  942. 900:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  943. 901:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable the selected ADC injected discontinuous mode */
  944. 902:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR1 &= ~(ADC_CR1_JDISCEN);
  945. 903:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  946. 904:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  947. 905:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** switch(sConfigInjected->InjectedRank)
  948. 906:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  949. 907:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case 1U:
  950. 908:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set injected channel 1 offset */
  951. 909:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR1 &= ~(ADC_JOFR1_JOFFSET1);
  952. 910:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR1 |= sConfigInjected->InjectedOffset;
  953. 911:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  954. 912:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case 2U:
  955. 913:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set injected channel 2 offset */
  956. 914:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR2 &= ~(ADC_JOFR2_JOFFSET2);
  957. 915:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR2 |= sConfigInjected->InjectedOffset;
  958. 916:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  959. 917:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case 3U:
  960. 918:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set injected channel 3 offset */
  961. 919:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR3 &= ~(ADC_JOFR3_JOFFSET3);
  962. 920:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR3 |= sConfigInjected->InjectedOffset;
  963. 921:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  964. 922:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** default:
  965. 923:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set injected channel 4 offset */
  966. 924:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR4 &= ~(ADC_JOFR4_JOFFSET4);
  967. 925:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR4 |= sConfigInjected->InjectedOffset;
  968. 926:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  969. 927:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  970. 928:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  971. 929:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Pointer to the common control register to which is belonging hadc */
  972. 930:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* (Depending on STM32F4 product, there may be up to 3 ADC and 1 common */
  973. 931:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* control register) */
  974. 932:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
  975. 933:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  976. 934:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* if ADC1 Channel_18 is selected enable VBAT Channel */
  977. 935:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if ((hadc->Instance == ADC1) && (sConfigInjected->InjectedChannel == ADC_CHANNEL_VBAT))
  978. 936:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  979. 937:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the VBAT channel*/
  980. 938:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= ADC_CCR_VBATE;
  981. 939:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  982. 940:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  983. 941:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* if ADC1 Channel_16 or Channel_17 is selected enable TSVREFE Channel(Temperature sensor and VRE
  984. 942:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if ((hadc->Instance == ADC1) && ((sConfigInjected->InjectedChannel == ADC_CHANNEL_TEMPSENSOR) ||
  985. 943:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  986. 944:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the TSVREFE channel*/
  987. ARM GAS /tmp/cce1ybXB.s page 18
  988. 945:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= ADC_CCR_TSVREFE;
  989. 946:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  990. 947:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  991. 948:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
  992. 949:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
  993. 950:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  994. 951:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return function status */
  995. 952:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_OK;
  996. 953:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  997. 954:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  998. 955:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  999. 956:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Configures the ADC multi-mode
  1000. 957:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  1001. 958:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
  1002. 959:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param multimode pointer to an ADC_MultiModeTypeDef structure that contains
  1003. 960:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for multimode.
  1004. 961:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval HAL status
  1005. 962:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  1006. 963:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_MultiModeConfigChannel(ADC_HandleTypeDef* hadc, ADC_MultiModeTypeDef* m
  1007. 964:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1008. 965:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1009. 966:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
  1010. 967:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1011. 968:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check the parameters */
  1012. 969:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_MODE(multimode->Mode));
  1013. 970:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_DMA_ACCESS_MODE(multimode->DMAAccessMode));
  1014. 971:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_SAMPLING_DELAY(multimode->TwoSamplingDelay));
  1015. 972:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1016. 973:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process locked */
  1017. 974:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
  1018. 975:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1019. 976:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Pointer to the common control register to which is belonging hadc */
  1020. 977:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* (Depending on STM32F4 product, there may be up to 3 ADC and 1 common */
  1021. 978:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* control register) */
  1022. 979:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
  1023. 980:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1024. 981:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC mode */
  1025. 982:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR &= ~(ADC_CCR_MULTI);
  1026. 983:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= multimode->Mode;
  1027. 984:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1028. 985:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set the ADC DMA access mode */
  1029. 986:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR &= ~(ADC_CCR_DMA);
  1030. 987:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= multimode->DMAAccessMode;
  1031. 988:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1032. 989:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set delay between two sampling phases */
  1033. 990:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR &= ~(ADC_CCR_DELAY);
  1034. 991:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= multimode->TwoSamplingDelay;
  1035. 992:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1036. 993:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
  1037. 994:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
  1038. 995:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1039. 996:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return function status */
  1040. 997:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_OK;
  1041. 998:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1042. 999:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1043. 1000:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  1044. 1001:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @}
  1045. ARM GAS /tmp/cce1ybXB.s page 19
  1046. 1002:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  1047. 1003:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1048. 1004:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  1049. 1005:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief DMA transfer complete callback.
  1050. 1006:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  1051. 1007:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified DMA module.
  1052. 1008:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval None
  1053. 1009:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  1054. 1010:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** static void ADC_MultiModeDMAConvCplt(DMA_HandleTypeDef *hdma)
  1055. 1011:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1056. 1012:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Retrieve ADC handle corresponding to current DMA handle */
  1057. 1013:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_HandleTypeDef* hadc = ( ADC_HandleTypeDef* )((DMA_HandleTypeDef* )hdma)->Parent;
  1058. 1014:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1059. 1015:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Update state machine on conversion status if not in error state */
  1060. 1016:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL | HAL_ADC_STATE_ERROR_DMA))
  1061. 1017:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1062. 1018:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Update ADC state machine */
  1063. 1019:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_REG_EOC);
  1064. 1020:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1065. 1021:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Determine whether any further conversion upcoming on group regular */
  1066. 1022:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* by external trigger, continuous mode or scan sequence on going. */
  1067. 1023:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Note: On STM32F4, there is no independent flag of end of sequence. */
  1068. 1024:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* The test of scan sequence on going is done either with scan */
  1069. 1025:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* sequence disabled or with end of conversion flag set to */
  1070. 1026:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* of end of sequence. */
  1071. 1027:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
  1072. 1028:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
  1073. 1029:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->SQR1, ADC_SQR1_L) ||
  1074. 1030:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) )
  1075. 1031:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1076. 1032:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable ADC end of single conversion interrupt on group regular */
  1077. 1033:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Note: Overrun interrupt was enabled with EOC interrupt in */
  1078. 1034:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* HAL_ADC_Start_IT(), but is not disabled here because can be used */
  1079. 1035:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* by overrun IRQ process below. */
  1080. 1036:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_EOC);
  1081. 1037:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1082. 1038:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC state */
  1083. 1039:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_REG_BUSY);
  1084. 1040:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1085. 1041:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_INJ_BUSY))
  1086. 1042:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1087. 1043:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_READY);
  1088. 1044:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1089. 1045:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1090. 1046:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1091. 1047:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Conversion complete callback */
  1092. 1048:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_ConvCpltCallback(hadc);
  1093. 1049:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1094. 1050:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
  1095. 1051:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1096. 1052:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Call DMA error callback */
  1097. 1053:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->DMA_Handle->XferErrorCallback(hdma);
  1098. 1054:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1099. 1055:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1100. 1056:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1101. 1057:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  1102. 1058:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief DMA half transfer complete callback.
  1103. ARM GAS /tmp/cce1ybXB.s page 20
  1104. 1059:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  1105. 1060:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified DMA module.
  1106. 1061:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval None
  1107. 1062:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  1108. 1063:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** static void ADC_MultiModeDMAHalfConvCplt(DMA_HandleTypeDef *hdma)
  1109. 1064:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1110. 1065:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_HandleTypeDef* hadc = ( ADC_HandleTypeDef* )((DMA_HandleTypeDef* )hdma)->Parent;
  1111. 1066:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Conversion complete callback */
  1112. 1067:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_ConvHalfCpltCallback(hadc);
  1113. 1068:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1114. 1069:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1115. 1070:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  1116. 1071:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief DMA error callback
  1117. 1072:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  1118. 1073:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified DMA module.
  1119. 1074:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval None
  1120. 1075:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  1121. 1076:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** static void ADC_MultiModeDMAError(DMA_HandleTypeDef *hdma)
  1122. 1077:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1123. 27 .loc 1 1077 0
  1124. 28 .cfi_startproc
  1125. 29 @ args = 0, pretend = 0, frame = 0
  1126. 30 @ frame_needed = 0, uses_anonymous_args = 0
  1127. 31 .LVL0:
  1128. 32 0000 08B5 push {r3, lr}
  1129. 33 .LCFI0:
  1130. 34 .cfi_def_cfa_offset 8
  1131. 35 .cfi_offset 3, -8
  1132. 36 .cfi_offset 14, -4
  1133. 1078:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_HandleTypeDef* hadc = ( ADC_HandleTypeDef* )((DMA_HandleTypeDef* )hdma)->Parent;
  1134. 37 .loc 1 1078 0
  1135. 38 0002 806B ldr r0, [r0, #56]
  1136. 39 .LVL1:
  1137. 1079:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->State= HAL_ADC_STATE_ERROR_DMA;
  1138. 40 .loc 1 1079 0
  1139. 41 0004 4023 movs r3, #64
  1140. 42 0006 0364 str r3, [r0, #64]
  1141. 1080:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC error code to DMA error */
  1142. 1081:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->ErrorCode |= HAL_ADC_ERROR_DMA;
  1143. 43 .loc 1 1081 0
  1144. 44 0008 436C ldr r3, [r0, #68]
  1145. 45 000a 43F00403 orr r3, r3, #4
  1146. 46 000e 4364 str r3, [r0, #68]
  1147. 1082:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_ErrorCallback(hadc);
  1148. 47 .loc 1 1082 0
  1149. 48 0010 FFF7FEFF bl HAL_ADC_ErrorCallback
  1150. 49 .LVL2:
  1151. 50 0014 08BD pop {r3, pc}
  1152. 51 .cfi_endproc
  1153. 52 .LFE144:
  1154. 54 .section .text.ADC_MultiModeDMAHalfConvCplt,"ax",%progbits
  1155. 55 .align 1
  1156. 56 .syntax unified
  1157. 57 .thumb
  1158. 58 .thumb_func
  1159. 59 .fpu fpv4-sp-d16
  1160. 61 ADC_MultiModeDMAHalfConvCplt:
  1161. ARM GAS /tmp/cce1ybXB.s page 21
  1162. 62 .LFB143:
  1163. 1064:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_HandleTypeDef* hadc = ( ADC_HandleTypeDef* )((DMA_HandleTypeDef* )hdma)->Parent;
  1164. 63 .loc 1 1064 0
  1165. 64 .cfi_startproc
  1166. 65 @ args = 0, pretend = 0, frame = 0
  1167. 66 @ frame_needed = 0, uses_anonymous_args = 0
  1168. 67 .LVL3:
  1169. 68 0000 08B5 push {r3, lr}
  1170. 69 .LCFI1:
  1171. 70 .cfi_def_cfa_offset 8
  1172. 71 .cfi_offset 3, -8
  1173. 72 .cfi_offset 14, -4
  1174. 73 .LVL4:
  1175. 1067:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1176. 74 .loc 1 1067 0
  1177. 75 0002 806B ldr r0, [r0, #56]
  1178. 76 .LVL5:
  1179. 77 0004 FFF7FEFF bl HAL_ADC_ConvHalfCpltCallback
  1180. 78 .LVL6:
  1181. 79 0008 08BD pop {r3, pc}
  1182. 80 .cfi_endproc
  1183. 81 .LFE143:
  1184. 83 .section .text.ADC_MultiModeDMAConvCplt,"ax",%progbits
  1185. 84 .align 1
  1186. 85 .syntax unified
  1187. 86 .thumb
  1188. 87 .thumb_func
  1189. 88 .fpu fpv4-sp-d16
  1190. 90 ADC_MultiModeDMAConvCplt:
  1191. 91 .LFB142:
  1192. 1011:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Retrieve ADC handle corresponding to current DMA handle */
  1193. 92 .loc 1 1011 0
  1194. 93 .cfi_startproc
  1195. 94 @ args = 0, pretend = 0, frame = 0
  1196. 95 @ frame_needed = 0, uses_anonymous_args = 0
  1197. 96 .LVL7:
  1198. 97 0000 08B5 push {r3, lr}
  1199. 98 .LCFI2:
  1200. 99 .cfi_def_cfa_offset 8
  1201. 100 .cfi_offset 3, -8
  1202. 101 .cfi_offset 14, -4
  1203. 1013:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1204. 102 .loc 1 1013 0
  1205. 103 0002 836B ldr r3, [r0, #56]
  1206. 104 .LVL8:
  1207. 1016:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1208. 105 .loc 1 1016 0
  1209. 106 0004 1A6C ldr r2, [r3, #64]
  1210. 107 0006 12F0500F tst r2, #80
  1211. 108 000a 26D1 bne .L6
  1212. 1019:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1213. 109 .loc 1 1019 0
  1214. 110 000c 1A6C ldr r2, [r3, #64]
  1215. 111 000e 42F40072 orr r2, r2, #512
  1216. 112 0012 1A64 str r2, [r3, #64]
  1217. 1027:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
  1218. 113 .loc 1 1027 0
  1219. ARM GAS /tmp/cce1ybXB.s page 22
  1220. 114 0014 1A68 ldr r2, [r3]
  1221. 115 0016 9168 ldr r1, [r2, #8]
  1222. 116 0018 11F0405F tst r1, #805306368
  1223. 117 001c 19D1 bne .L7
  1224. 1028:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->SQR1, ADC_SQR1_L) ||
  1225. 118 .loc 1 1028 0 discriminator 1
  1226. 119 001e 197E ldrb r1, [r3, #24] @ zero_extendqisi2
  1227. 1027:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
  1228. 120 .loc 1 1027 0 discriminator 1
  1229. 121 0020 B9B9 cbnz r1, .L7
  1230. 1029:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) )
  1231. 122 .loc 1 1029 0
  1232. 123 0022 D16A ldr r1, [r2, #44]
  1233. 1028:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->SQR1, ADC_SQR1_L) ||
  1234. 124 .loc 1 1028 0
  1235. 125 0024 11F4700F tst r1, #15728640
  1236. 126 0028 03D0 beq .L8
  1237. 1030:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1238. 127 .loc 1 1030 0
  1239. 128 002a 9168 ldr r1, [r2, #8]
  1240. 1029:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) )
  1241. 129 .loc 1 1029 0
  1242. 130 002c 11F4806F tst r1, #1024
  1243. 131 0030 0FD1 bne .L7
  1244. 132 .L8:
  1245. 1036:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1246. 133 .loc 1 1036 0
  1247. 134 0032 5168 ldr r1, [r2, #4]
  1248. 135 0034 21F02001 bic r1, r1, #32
  1249. 136 0038 5160 str r1, [r2, #4]
  1250. 1039:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1251. 137 .loc 1 1039 0
  1252. 138 003a 1A6C ldr r2, [r3, #64]
  1253. 139 003c 22F48072 bic r2, r2, #256
  1254. 140 0040 1A64 str r2, [r3, #64]
  1255. 1041:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1256. 141 .loc 1 1041 0
  1257. 142 0042 1A6C ldr r2, [r3, #64]
  1258. 143 0044 12F4805F tst r2, #4096
  1259. 144 0048 03D1 bne .L7
  1260. 1043:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1261. 145 .loc 1 1043 0
  1262. 146 004a 1A6C ldr r2, [r3, #64]
  1263. 147 004c 42F00102 orr r2, r2, #1
  1264. 148 0050 1A64 str r2, [r3, #64]
  1265. 149 .L7:
  1266. 1048:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1267. 150 .loc 1 1048 0
  1268. 151 0052 1846 mov r0, r3
  1269. 152 .LVL9:
  1270. 153 0054 FFF7FEFF bl HAL_ADC_ConvCpltCallback
  1271. 154 .LVL10:
  1272. 155 0058 08BD pop {r3, pc}
  1273. 156 .LVL11:
  1274. 157 .L6:
  1275. 1053:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1276. 158 .loc 1 1053 0
  1277. ARM GAS /tmp/cce1ybXB.s page 23
  1278. 159 005a 9B6B ldr r3, [r3, #56]
  1279. 160 .LVL12:
  1280. 161 005c DB6C ldr r3, [r3, #76]
  1281. 162 005e 9847 blx r3
  1282. 163 .LVL13:
  1283. 164 0060 08BD pop {r3, pc}
  1284. 165 .cfi_endproc
  1285. 166 .LFE142:
  1286. 168 .section .text.HAL_ADCEx_InjectedStart,"ax",%progbits
  1287. 169 .align 1
  1288. 170 .global HAL_ADCEx_InjectedStart
  1289. 171 .syntax unified
  1290. 172 .thumb
  1291. 173 .thumb_func
  1292. 174 .fpu fpv4-sp-d16
  1293. 176 HAL_ADCEx_InjectedStart:
  1294. 177 .LFB130:
  1295. 160:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t counter = 0U;
  1296. 178 .loc 1 160 0
  1297. 179 .cfi_startproc
  1298. 180 @ args = 0, pretend = 0, frame = 8
  1299. 181 @ frame_needed = 0, uses_anonymous_args = 0
  1300. 182 @ link register save eliminated.
  1301. 183 .LVL14:
  1302. 184 0000 82B0 sub sp, sp, #8
  1303. 185 .LCFI3:
  1304. 186 .cfi_def_cfa_offset 8
  1305. 161:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tmp1 = 0U, tmp2 = 0U;
  1306. 187 .loc 1 161 0
  1307. 188 0002 0023 movs r3, #0
  1308. 189 0004 0193 str r3, [sp, #4]
  1309. 190 .LVL15:
  1310. 166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1311. 191 .loc 1 166 0
  1312. 192 0006 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
  1313. 193 000a 012B cmp r3, #1
  1314. 194 000c 5CD0 beq .L18
  1315. 166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1316. 195 .loc 1 166 0 is_stmt 0 discriminator 2
  1317. 196 000e 0123 movs r3, #1
  1318. 197 0010 80F83C30 strb r3, [r0, #60]
  1319. 172:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1320. 198 .loc 1 172 0 is_stmt 1 discriminator 2
  1321. 199 0014 0368 ldr r3, [r0]
  1322. 200 0016 9A68 ldr r2, [r3, #8]
  1323. 201 0018 12F0010F tst r2, #1
  1324. 202 001c 13D1 bne .L13
  1325. 175:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1326. 203 .loc 1 175 0
  1327. 204 001e 9A68 ldr r2, [r3, #8]
  1328. 205 0020 42F00102 orr r2, r2, #1
  1329. 206 0024 9A60 str r2, [r3, #8]
  1330. 179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
  1331. 207 .loc 1 179 0
  1332. 208 0026 2F4B ldr r3, .L27
  1333. 209 0028 1B68 ldr r3, [r3]
  1334. 210 002a 2F4A ldr r2, .L27+4
  1335. ARM GAS /tmp/cce1ybXB.s page 24
  1336. 211 002c A2FB0323 umull r2, r3, r2, r3
  1337. 212 0030 9B0C lsrs r3, r3, #18
  1338. 213 0032 03EB4303 add r3, r3, r3, lsl #1
  1339. 214 0036 0193 str r3, [sp, #4]
  1340. 180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1341. 215 .loc 1 180 0
  1342. 216 0038 02E0 b .L14
  1343. 217 .L15:
  1344. 182:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1345. 218 .loc 1 182 0
  1346. 219 003a 019B ldr r3, [sp, #4]
  1347. 220 003c 013B subs r3, r3, #1
  1348. 221 003e 0193 str r3, [sp, #4]
  1349. 222 .L14:
  1350. 180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1351. 223 .loc 1 180 0
  1352. 224 0040 019B ldr r3, [sp, #4]
  1353. 225 0042 002B cmp r3, #0
  1354. 226 0044 F9D1 bne .L15
  1355. 227 .L13:
  1356. 187:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1357. 228 .loc 1 187 0
  1358. 229 0046 0268 ldr r2, [r0]
  1359. 230 0048 9368 ldr r3, [r2, #8]
  1360. 231 004a 13F0010F tst r3, #1
  1361. 232 004e 3ED0 beq .L19
  1362. 192:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_INJ_EOC,
  1363. 233 .loc 1 192 0
  1364. 234 0050 036C ldr r3, [r0, #64]
  1365. 235 0052 23F44053 bic r3, r3, #12288
  1366. 236 0056 23F00103 bic r3, r3, #1
  1367. 237 005a 43F48053 orr r3, r3, #4096
  1368. 238 005e 0364 str r3, [r0, #64]
  1369. 200:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1370. 239 .loc 1 200 0
  1371. 240 0060 036C ldr r3, [r0, #64]
  1372. 241 0062 13F4807F tst r3, #256
  1373. 242 0066 01D1 bne .L16
  1374. 203:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1375. 243 .loc 1 203 0
  1376. 244 0068 0023 movs r3, #0
  1377. 245 006a 4364 str r3, [r0, #68]
  1378. 246 .L16:
  1379. 209:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1380. 247 .loc 1 209 0
  1381. 248 006c 0023 movs r3, #0
  1382. 249 006e 80F83C30 strb r3, [r0, #60]
  1383. 213:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1384. 250 .loc 1 213 0
  1385. 251 0072 6FF00403 mvn r3, #4
  1386. 252 0076 1360 str r3, [r2]
  1387. 253 .LVL16:
  1388. 221:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1389. 254 .loc 1 221 0
  1390. 255 0078 1C4B ldr r3, .L27+8
  1391. 256 007a 5B68 ldr r3, [r3, #4]
  1392. 257 007c 13F01F0F tst r3, #31
  1393. ARM GAS /tmp/cce1ybXB.s page 25
  1394. 258 0080 0ED1 bne .L17
  1395. 223:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
  1396. 259 .loc 1 223 0
  1397. 260 0082 0268 ldr r2, [r0]
  1398. 261 0084 9168 ldr r1, [r2, #8]
  1399. 262 .LVL17:
  1400. 224:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(tmp1 && tmp2)
  1401. 263 .loc 1 224 0
  1402. 264 0086 5368 ldr r3, [r2, #4]
  1403. 265 0088 03F48063 and r3, r3, #1024
  1404. 266 .LVL18:
  1405. 225:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1406. 267 .loc 1 225 0
  1407. 268 008c 11F4401F tst r1, #3145728
  1408. 269 0090 1FD1 bne .L20
  1409. 225:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1410. 270 .loc 1 225 0 is_stmt 0 discriminator 1
  1411. 271 0092 03BB cbnz r3, .L21
  1412. 228:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1413. 272 .loc 1 228 0 is_stmt 1
  1414. 273 0094 9368 ldr r3, [r2, #8]
  1415. 274 .LVL19:
  1416. 275 0096 43F48003 orr r3, r3, #4194304
  1417. 276 009a 9360 str r3, [r2, #8]
  1418. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1419. 277 .loc 1 244 0
  1420. 278 009c 0020 movs r0, #0
  1421. 279 .LVL20:
  1422. 280 009e 14E0 b .L12
  1423. 281 .LVL21:
  1424. 282 .L17:
  1425. 233:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
  1426. 283 .loc 1 233 0
  1427. 284 00a0 0368 ldr r3, [r0]
  1428. 285 00a2 9A68 ldr r2, [r3, #8]
  1429. 286 00a4 02F44012 and r2, r2, #3145728
  1430. 287 .LVL22:
  1431. 234:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance == ADC1) && tmp1 && tmp2)
  1432. 288 .loc 1 234 0
  1433. 289 00a8 5968 ldr r1, [r3, #4]
  1434. 290 00aa 01F48061 and r1, r1, #1024
  1435. 291 .LVL23:
  1436. 235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1437. 292 .loc 1 235 0
  1438. 293 00ae 1048 ldr r0, .L27+12
  1439. 294 .LVL24:
  1440. 295 00b0 8342 cmp r3, r0
  1441. 296 00b2 01D0 beq .L26
  1442. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1443. 297 .loc 1 244 0
  1444. 298 00b4 0020 movs r0, #0
  1445. 299 00b6 08E0 b .L12
  1446. 300 .L26:
  1447. 235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1448. 301 .loc 1 235 0 discriminator 1
  1449. 302 00b8 7AB9 cbnz r2, .L23
  1450. 235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1451. ARM GAS /tmp/cce1ybXB.s page 26
  1452. 303 .loc 1 235 0 is_stmt 0 discriminator 2
  1453. 304 00ba 81B9 cbnz r1, .L24
  1454. 238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1455. 305 .loc 1 238 0 is_stmt 1
  1456. 306 00bc 9A68 ldr r2, [r3, #8]
  1457. 307 .LVL25:
  1458. 308 00be 42F48002 orr r2, r2, #4194304
  1459. 309 00c2 9A60 str r2, [r3, #8]
  1460. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1461. 310 .loc 1 244 0
  1462. 311 00c4 0020 movs r0, #0
  1463. 312 00c6 00E0 b .L12
  1464. 313 .LVL26:
  1465. 314 .L18:
  1466. 166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1467. 315 .loc 1 166 0
  1468. 316 00c8 0220 movs r0, #2
  1469. 317 .LVL27:
  1470. 318 .L12:
  1471. 245:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1472. 319 .loc 1 245 0
  1473. 320 00ca 02B0 add sp, sp, #8
  1474. 321 .LCFI4:
  1475. 322 .cfi_remember_state
  1476. 323 .cfi_def_cfa_offset 0
  1477. 324 @ sp needed
  1478. 325 00cc 7047 bx lr
  1479. 326 .LVL28:
  1480. 327 .L19:
  1481. 328 .LCFI5:
  1482. 329 .cfi_restore_state
  1483. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1484. 330 .loc 1 244 0
  1485. 331 00ce 0020 movs r0, #0
  1486. 332 .LVL29:
  1487. 333 00d0 FBE7 b .L12
  1488. 334 .LVL30:
  1489. 335 .L20:
  1490. 336 00d2 0020 movs r0, #0
  1491. 337 .LVL31:
  1492. 338 00d4 F9E7 b .L12
  1493. 339 .LVL32:
  1494. 340 .L21:
  1495. 341 00d6 0020 movs r0, #0
  1496. 342 .LVL33:
  1497. 343 00d8 F7E7 b .L12
  1498. 344 .LVL34:
  1499. 345 .L23:
  1500. 346 00da 0020 movs r0, #0
  1501. 347 00dc F5E7 b .L12
  1502. 348 .L24:
  1503. 349 00de 0020 movs r0, #0
  1504. 350 00e0 F3E7 b .L12
  1505. 351 .L28:
  1506. 352 00e2 00BF .align 2
  1507. 353 .L27:
  1508. 354 00e4 00000000 .word SystemCoreClock
  1509. ARM GAS /tmp/cce1ybXB.s page 27
  1510. 355 00e8 83DE1B43 .word 1125899907
  1511. 356 00ec 00230140 .word 1073816320
  1512. 357 00f0 00200140 .word 1073815552
  1513. 358 .cfi_endproc
  1514. 359 .LFE130:
  1515. 361 .section .text.HAL_ADCEx_InjectedStart_IT,"ax",%progbits
  1516. 362 .align 1
  1517. 363 .global HAL_ADCEx_InjectedStart_IT
  1518. 364 .syntax unified
  1519. 365 .thumb
  1520. 366 .thumb_func
  1521. 367 .fpu fpv4-sp-d16
  1522. 369 HAL_ADCEx_InjectedStart_IT:
  1523. 370 .LFB131:
  1524. 255:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t counter = 0U;
  1525. 371 .loc 1 255 0
  1526. 372 .cfi_startproc
  1527. 373 @ args = 0, pretend = 0, frame = 8
  1528. 374 @ frame_needed = 0, uses_anonymous_args = 0
  1529. 375 @ link register save eliminated.
  1530. 376 .LVL35:
  1531. 377 0000 82B0 sub sp, sp, #8
  1532. 378 .LCFI6:
  1533. 379 .cfi_def_cfa_offset 8
  1534. 256:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tmp1 = 0U, tmp2 = 0U;
  1535. 380 .loc 1 256 0
  1536. 381 0002 0023 movs r3, #0
  1537. 382 0004 0193 str r3, [sp, #4]
  1538. 383 .LVL36:
  1539. 261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1540. 384 .loc 1 261 0
  1541. 385 0006 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
  1542. 386 000a 012B cmp r3, #1
  1543. 387 000c 61D0 beq .L36
  1544. 261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1545. 388 .loc 1 261 0 is_stmt 0 discriminator 2
  1546. 389 000e 0123 movs r3, #1
  1547. 390 0010 80F83C30 strb r3, [r0, #60]
  1548. 267:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1549. 391 .loc 1 267 0 is_stmt 1 discriminator 2
  1550. 392 0014 0368 ldr r3, [r0]
  1551. 393 0016 9A68 ldr r2, [r3, #8]
  1552. 394 0018 12F0010F tst r2, #1
  1553. 395 001c 13D1 bne .L31
  1554. 270:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1555. 396 .loc 1 270 0
  1556. 397 001e 9A68 ldr r2, [r3, #8]
  1557. 398 0020 42F00102 orr r2, r2, #1
  1558. 399 0024 9A60 str r2, [r3, #8]
  1559. 274:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
  1560. 400 .loc 1 274 0
  1561. 401 0026 314B ldr r3, .L45
  1562. 402 0028 1B68 ldr r3, [r3]
  1563. 403 002a 314A ldr r2, .L45+4
  1564. 404 002c A2FB0323 umull r2, r3, r2, r3
  1565. 405 0030 9B0C lsrs r3, r3, #18
  1566. 406 0032 03EB4303 add r3, r3, r3, lsl #1
  1567. ARM GAS /tmp/cce1ybXB.s page 28
  1568. 407 0036 0193 str r3, [sp, #4]
  1569. 275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1570. 408 .loc 1 275 0
  1571. 409 0038 02E0 b .L32
  1572. 410 .L33:
  1573. 277:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1574. 411 .loc 1 277 0
  1575. 412 003a 019B ldr r3, [sp, #4]
  1576. 413 003c 013B subs r3, r3, #1
  1577. 414 003e 0193 str r3, [sp, #4]
  1578. 415 .L32:
  1579. 275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1580. 416 .loc 1 275 0
  1581. 417 0040 019B ldr r3, [sp, #4]
  1582. 418 0042 002B cmp r3, #0
  1583. 419 0044 F9D1 bne .L33
  1584. 420 .L31:
  1585. 282:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1586. 421 .loc 1 282 0
  1587. 422 0046 0268 ldr r2, [r0]
  1588. 423 0048 9368 ldr r3, [r2, #8]
  1589. 424 004a 13F0010F tst r3, #1
  1590. 425 004e 43D0 beq .L37
  1591. 287:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_INJ_EOC,
  1592. 426 .loc 1 287 0
  1593. 427 0050 036C ldr r3, [r0, #64]
  1594. 428 0052 23F44053 bic r3, r3, #12288
  1595. 429 0056 23F00103 bic r3, r3, #1
  1596. 430 005a 43F48053 orr r3, r3, #4096
  1597. 431 005e 0364 str r3, [r0, #64]
  1598. 295:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1599. 432 .loc 1 295 0
  1600. 433 0060 036C ldr r3, [r0, #64]
  1601. 434 0062 13F4807F tst r3, #256
  1602. 435 0066 01D1 bne .L34
  1603. 298:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1604. 436 .loc 1 298 0
  1605. 437 0068 0023 movs r3, #0
  1606. 438 006a 4364 str r3, [r0, #68]
  1607. 439 .L34:
  1608. 304:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1609. 440 .loc 1 304 0
  1610. 441 006c 0023 movs r3, #0
  1611. 442 006e 80F83C30 strb r3, [r0, #60]
  1612. 308:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1613. 443 .loc 1 308 0
  1614. 444 0072 6FF00403 mvn r3, #4
  1615. 445 0076 1360 str r3, [r2]
  1616. 311:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1617. 446 .loc 1 311 0
  1618. 447 0078 0268 ldr r2, [r0]
  1619. 448 007a 5368 ldr r3, [r2, #4]
  1620. 449 007c 43F08003 orr r3, r3, #128
  1621. 450 0080 5360 str r3, [r2, #4]
  1622. 451 .LVL37:
  1623. 319:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1624. 452 .loc 1 319 0
  1625. ARM GAS /tmp/cce1ybXB.s page 29
  1626. 453 0082 1C4B ldr r3, .L45+8
  1627. 454 0084 5B68 ldr r3, [r3, #4]
  1628. 455 0086 13F01F0F tst r3, #31
  1629. 456 008a 0ED1 bne .L35
  1630. 321:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
  1631. 457 .loc 1 321 0
  1632. 458 008c 0268 ldr r2, [r0]
  1633. 459 008e 9168 ldr r1, [r2, #8]
  1634. 460 .LVL38:
  1635. 322:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(tmp1 && tmp2)
  1636. 461 .loc 1 322 0
  1637. 462 0090 5368 ldr r3, [r2, #4]
  1638. 463 0092 03F48063 and r3, r3, #1024
  1639. 464 .LVL39:
  1640. 323:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1641. 465 .loc 1 323 0
  1642. 466 0096 11F4401F tst r1, #3145728
  1643. 467 009a 1FD1 bne .L38
  1644. 323:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1645. 468 .loc 1 323 0 is_stmt 0 discriminator 1
  1646. 469 009c 03BB cbnz r3, .L39
  1647. 326:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1648. 470 .loc 1 326 0 is_stmt 1
  1649. 471 009e 9368 ldr r3, [r2, #8]
  1650. 472 .LVL40:
  1651. 473 00a0 43F48003 orr r3, r3, #4194304
  1652. 474 00a4 9360 str r3, [r2, #8]
  1653. 342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1654. 475 .loc 1 342 0
  1655. 476 00a6 0020 movs r0, #0
  1656. 477 .LVL41:
  1657. 478 00a8 14E0 b .L30
  1658. 479 .LVL42:
  1659. 480 .L35:
  1660. 331:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
  1661. 481 .loc 1 331 0
  1662. 482 00aa 0368 ldr r3, [r0]
  1663. 483 00ac 9A68 ldr r2, [r3, #8]
  1664. 484 00ae 02F44012 and r2, r2, #3145728
  1665. 485 .LVL43:
  1666. 332:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance == ADC1) && tmp1 && tmp2)
  1667. 486 .loc 1 332 0
  1668. 487 00b2 5968 ldr r1, [r3, #4]
  1669. 488 00b4 01F48061 and r1, r1, #1024
  1670. 489 .LVL44:
  1671. 333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1672. 490 .loc 1 333 0
  1673. 491 00b8 0F48 ldr r0, .L45+12
  1674. 492 .LVL45:
  1675. 493 00ba 8342 cmp r3, r0
  1676. 494 00bc 01D0 beq .L44
  1677. 342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1678. 495 .loc 1 342 0
  1679. 496 00be 0020 movs r0, #0
  1680. 497 00c0 08E0 b .L30
  1681. 498 .L44:
  1682. 333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1683. ARM GAS /tmp/cce1ybXB.s page 30
  1684. 499 .loc 1 333 0 discriminator 1
  1685. 500 00c2 7AB9 cbnz r2, .L41
  1686. 333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1687. 501 .loc 1 333 0 is_stmt 0 discriminator 2
  1688. 502 00c4 81B9 cbnz r1, .L42
  1689. 336:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1690. 503 .loc 1 336 0 is_stmt 1
  1691. 504 00c6 9A68 ldr r2, [r3, #8]
  1692. 505 .LVL46:
  1693. 506 00c8 42F48002 orr r2, r2, #4194304
  1694. 507 00cc 9A60 str r2, [r3, #8]
  1695. 342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1696. 508 .loc 1 342 0
  1697. 509 00ce 0020 movs r0, #0
  1698. 510 00d0 00E0 b .L30
  1699. 511 .LVL47:
  1700. 512 .L36:
  1701. 261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1702. 513 .loc 1 261 0
  1703. 514 00d2 0220 movs r0, #2
  1704. 515 .LVL48:
  1705. 516 .L30:
  1706. 343:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1707. 517 .loc 1 343 0
  1708. 518 00d4 02B0 add sp, sp, #8
  1709. 519 .LCFI7:
  1710. 520 .cfi_remember_state
  1711. 521 .cfi_def_cfa_offset 0
  1712. 522 @ sp needed
  1713. 523 00d6 7047 bx lr
  1714. 524 .LVL49:
  1715. 525 .L37:
  1716. 526 .LCFI8:
  1717. 527 .cfi_restore_state
  1718. 342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1719. 528 .loc 1 342 0
  1720. 529 00d8 0020 movs r0, #0
  1721. 530 .LVL50:
  1722. 531 00da FBE7 b .L30
  1723. 532 .LVL51:
  1724. 533 .L38:
  1725. 534 00dc 0020 movs r0, #0
  1726. 535 .LVL52:
  1727. 536 00de F9E7 b .L30
  1728. 537 .LVL53:
  1729. 538 .L39:
  1730. 539 00e0 0020 movs r0, #0
  1731. 540 .LVL54:
  1732. 541 00e2 F7E7 b .L30
  1733. 542 .LVL55:
  1734. 543 .L41:
  1735. 544 00e4 0020 movs r0, #0
  1736. 545 00e6 F5E7 b .L30
  1737. 546 .L42:
  1738. 547 00e8 0020 movs r0, #0
  1739. 548 00ea F3E7 b .L30
  1740. 549 .L46:
  1741. ARM GAS /tmp/cce1ybXB.s page 31
  1742. 550 .align 2
  1743. 551 .L45:
  1744. 552 00ec 00000000 .word SystemCoreClock
  1745. 553 00f0 83DE1B43 .word 1125899907
  1746. 554 00f4 00230140 .word 1073816320
  1747. 555 00f8 00200140 .word 1073815552
  1748. 556 .cfi_endproc
  1749. 557 .LFE131:
  1750. 559 .section .text.HAL_ADCEx_InjectedStop,"ax",%progbits
  1751. 560 .align 1
  1752. 561 .global HAL_ADCEx_InjectedStop
  1753. 562 .syntax unified
  1754. 563 .thumb
  1755. 564 .thumb_func
  1756. 565 .fpu fpv4-sp-d16
  1757. 567 HAL_ADCEx_InjectedStop:
  1758. 568 .LFB132:
  1759. 358:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
  1760. 569 .loc 1 358 0
  1761. 570 .cfi_startproc
  1762. 571 @ args = 0, pretend = 0, frame = 0
  1763. 572 @ frame_needed = 0, uses_anonymous_args = 0
  1764. 573 @ link register save eliminated.
  1765. 574 .LVL56:
  1766. 575 0000 0346 mov r3, r0
  1767. 576 .LVL57:
  1768. 365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1769. 577 .loc 1 365 0
  1770. 578 0002 90F83C20 ldrb r2, [r0, #60] @ zero_extendqisi2
  1771. 579 0006 012A cmp r2, #1
  1772. 580 0008 29D0 beq .L51
  1773. 365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1774. 581 .loc 1 365 0 is_stmt 0 discriminator 2
  1775. 582 000a 0122 movs r2, #1
  1776. 583 000c 80F83C20 strb r2, [r0, #60]
  1777. 373:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
  1778. 584 .loc 1 373 0 is_stmt 1 discriminator 2
  1779. 585 0010 026C ldr r2, [r0, #64]
  1780. 586 0012 12F4807F tst r2, #256
  1781. 587 0016 17D1 bne .L49
  1782. 374:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1783. 588 .loc 1 374 0 discriminator 1
  1784. 589 0018 0268 ldr r2, [r0]
  1785. 590 001a 5168 ldr r1, [r2, #4]
  1786. 373:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
  1787. 591 .loc 1 373 0 discriminator 1
  1788. 592 001c 11F4806F tst r1, #1024
  1789. 593 0020 12D1 bne .L49
  1790. 378:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1791. 594 .loc 1 378 0
  1792. 595 0022 9168 ldr r1, [r2, #8]
  1793. 596 0024 21F00101 bic r1, r1, #1
  1794. 597 0028 9160 str r1, [r2, #8]
  1795. 381:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1796. 598 .loc 1 381 0
  1797. 599 002a 0268 ldr r2, [r0]
  1798. 600 002c 9268 ldr r2, [r2, #8]
  1799. ARM GAS /tmp/cce1ybXB.s page 32
  1800. 601 002e 12F0010F tst r2, #1
  1801. 602 0032 12D1 bne .L52
  1802. 384:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
  1803. 603 .loc 1 384 0
  1804. 604 0034 026C ldr r2, [r0, #64]
  1805. 605 0036 22F48852 bic r2, r2, #4352
  1806. 606 003a 22F00102 bic r2, r2, #1
  1807. 607 003e 42F00102 orr r2, r2, #1
  1808. 608 0042 0264 str r2, [r0, #64]
  1809. 359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1810. 609 .loc 1 359 0
  1811. 610 0044 0020 movs r0, #0
  1812. 611 .LVL58:
  1813. 612 0046 04E0 b .L50
  1814. 613 .LVL59:
  1815. 614 .L49:
  1816. 392:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1817. 615 .loc 1 392 0
  1818. 616 0048 1A6C ldr r2, [r3, #64]
  1819. 617 004a 42F02002 orr r2, r2, #32
  1820. 618 004e 1A64 str r2, [r3, #64]
  1821. 619 .LVL60:
  1822. 394:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1823. 620 .loc 1 394 0
  1824. 621 0050 0120 movs r0, #1
  1825. 622 .LVL61:
  1826. 623 .L50:
  1827. 398:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1828. 624 .loc 1 398 0
  1829. 625 0052 0022 movs r2, #0
  1830. 626 0054 83F83C20 strb r2, [r3, #60]
  1831. 401:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1832. 627 .loc 1 401 0
  1833. 628 0058 7047 bx lr
  1834. 629 .LVL62:
  1835. 630 .L52:
  1836. 359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1837. 631 .loc 1 359 0
  1838. 632 005a 0020 movs r0, #0
  1839. 633 .LVL63:
  1840. 634 005c F9E7 b .L50
  1841. 635 .LVL64:
  1842. 636 .L51:
  1843. 365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1844. 637 .loc 1 365 0
  1845. 638 005e 0220 movs r0, #2
  1846. 639 .LVL65:
  1847. 402:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1848. 640 .loc 1 402 0
  1849. 641 0060 7047 bx lr
  1850. 642 .cfi_endproc
  1851. 643 .LFE132:
  1852. 645 .section .text.HAL_ADCEx_InjectedPollForConversion,"ax",%progbits
  1853. 646 .align 1
  1854. 647 .global HAL_ADCEx_InjectedPollForConversion
  1855. 648 .syntax unified
  1856. 649 .thumb
  1857. ARM GAS /tmp/cce1ybXB.s page 33
  1858. 650 .thumb_func
  1859. 651 .fpu fpv4-sp-d16
  1860. 653 HAL_ADCEx_InjectedPollForConversion:
  1861. 654 .LFB133:
  1862. 412:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tickstart = 0U;
  1863. 655 .loc 1 412 0
  1864. 656 .cfi_startproc
  1865. 657 @ args = 0, pretend = 0, frame = 0
  1866. 658 @ frame_needed = 0, uses_anonymous_args = 0
  1867. 659 .LVL66:
  1868. 660 0000 70B5 push {r4, r5, r6, lr}
  1869. 661 .LCFI9:
  1870. 662 .cfi_def_cfa_offset 16
  1871. 663 .cfi_offset 4, -16
  1872. 664 .cfi_offset 5, -12
  1873. 665 .cfi_offset 6, -8
  1874. 666 .cfi_offset 14, -4
  1875. 667 0002 0446 mov r4, r0
  1876. 668 0004 0D46 mov r5, r1
  1877. 669 .LVL67:
  1878. 416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1879. 670 .loc 1 416 0
  1880. 671 0006 FFF7FEFF bl HAL_GetTick
  1881. 672 .LVL68:
  1882. 673 000a 0646 mov r6, r0
  1883. 674 .LVL69:
  1884. 675 .L55:
  1885. 419:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1886. 676 .loc 1 419 0
  1887. 677 000c 2368 ldr r3, [r4]
  1888. 678 000e 1A68 ldr r2, [r3]
  1889. 679 0010 12F0040F tst r2, #4
  1890. 680 0014 0FD1 bne .L67
  1891. 422:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1892. 681 .loc 1 422 0
  1893. 682 0016 B5F1FF3F cmp r5, #-1
  1894. 683 001a F7D0 beq .L55
  1895. 424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1896. 684 .loc 1 424 0
  1897. 685 001c 25B1 cbz r5, .L56
  1898. 424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1899. 686 .loc 1 424 0 is_stmt 0 discriminator 1
  1900. 687 001e FFF7FEFF bl HAL_GetTick
  1901. 688 .LVL70:
  1902. 689 0022 801B subs r0, r0, r6
  1903. 690 0024 8542 cmp r5, r0
  1904. 691 0026 F1D2 bcs .L55
  1905. 692 .L56:
  1906. 426:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
  1907. 693 .loc 1 426 0 is_stmt 1
  1908. 694 0028 0423 movs r3, #4
  1909. 695 002a 2364 str r3, [r4, #64]
  1910. 428:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_TIMEOUT;
  1911. 696 .loc 1 428 0
  1912. 697 002c 0023 movs r3, #0
  1913. 698 002e 84F83C30 strb r3, [r4, #60]
  1914. 429:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1915. ARM GAS /tmp/cce1ybXB.s page 34
  1916. 699 .loc 1 429 0
  1917. 700 0032 0320 movs r0, #3
  1918. 701 0034 70BD pop {r4, r5, r6, pc}
  1919. 702 .LVL71:
  1920. 703 .L67:
  1921. 435:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1922. 704 .loc 1 435 0
  1923. 705 0036 6FF00C02 mvn r2, #12
  1924. 706 003a 1A60 str r2, [r3]
  1925. 438:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1926. 707 .loc 1 438 0
  1927. 708 003c 236C ldr r3, [r4, #64]
  1928. 709 003e 43F40053 orr r3, r3, #8192
  1929. 710 0042 2364 str r3, [r4, #64]
  1930. 446:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->JSQR, ADC_JSQR_JL) ||
  1931. 711 .loc 1 446 0
  1932. 712 0044 2368 ldr r3, [r4]
  1933. 713 0046 9A68 ldr r2, [r3, #8]
  1934. 714 0048 12F4401F tst r2, #3145728
  1935. 715 004c 1FD1 bne .L60
  1936. 447:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) &&
  1937. 716 .loc 1 447 0 discriminator 1
  1938. 717 004e 9A6B ldr r2, [r3, #56]
  1939. 446:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->JSQR, ADC_JSQR_JL) ||
  1940. 718 .loc 1 446 0 discriminator 1
  1941. 719 0050 12F4401F tst r2, #3145728
  1942. 720 0054 03D0 beq .L59
  1943. 448:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) &&
  1944. 721 .loc 1 448 0
  1945. 722 0056 9A68 ldr r2, [r3, #8]
  1946. 447:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) &&
  1947. 723 .loc 1 447 0
  1948. 724 0058 12F4806F tst r2, #1024
  1949. 725 005c 19D1 bne .L61
  1950. 726 .L59:
  1951. 449:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
  1952. 727 .loc 1 449 0
  1953. 728 005e 5A68 ldr r2, [r3, #4]
  1954. 448:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) &&
  1955. 729 .loc 1 448 0
  1956. 730 0060 12F4806F tst r2, #1024
  1957. 731 0064 17D1 bne .L62
  1958. 450:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (hadc->Init.ContinuousConvMode == DISABLE) ) ) )
  1959. 732 .loc 1 450 0
  1960. 733 0066 9B68 ldr r3, [r3, #8]
  1961. 449:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
  1962. 734 .loc 1 449 0
  1963. 735 0068 13F0405F tst r3, #805306368
  1964. 736 006c 15D1 bne .L63
  1965. 451:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1966. 737 .loc 1 451 0
  1967. 738 006e 237E ldrb r3, [r4, #24] @ zero_extendqisi2
  1968. 450:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (hadc->Init.ContinuousConvMode == DISABLE) ) ) )
  1969. 739 .loc 1 450 0
  1970. 740 0070 ABB9 cbnz r3, .L64
  1971. 454:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1972. 741 .loc 1 454 0
  1973. ARM GAS /tmp/cce1ybXB.s page 35
  1974. 742 0072 236C ldr r3, [r4, #64]
  1975. 743 0074 23F48053 bic r3, r3, #4096
  1976. 744 0078 2364 str r3, [r4, #64]
  1977. 456:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1978. 745 .loc 1 456 0
  1979. 746 007a 236C ldr r3, [r4, #64]
  1980. 747 007c 13F4807F tst r3, #256
  1981. 748 0080 0FD1 bne .L65
  1982. 458:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1983. 749 .loc 1 458 0
  1984. 750 0082 236C ldr r3, [r4, #64]
  1985. 751 0084 43F00103 orr r3, r3, #1
  1986. 752 0088 2364 str r3, [r4, #64]
  1987. 463:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1988. 753 .loc 1 463 0
  1989. 754 008a 0020 movs r0, #0
  1990. 755 008c 70BD pop {r4, r5, r6, pc}
  1991. 756 .LVL72:
  1992. 757 .L60:
  1993. 758 008e 0020 movs r0, #0
  1994. 759 0090 70BD pop {r4, r5, r6, pc}
  1995. 760 .LVL73:
  1996. 761 .L61:
  1997. 762 0092 0020 movs r0, #0
  1998. 763 0094 70BD pop {r4, r5, r6, pc}
  1999. 764 .LVL74:
  2000. 765 .L62:
  2001. 766 0096 0020 movs r0, #0
  2002. 767 0098 70BD pop {r4, r5, r6, pc}
  2003. 768 .LVL75:
  2004. 769 .L63:
  2005. 770 009a 0020 movs r0, #0
  2006. 771 009c 70BD pop {r4, r5, r6, pc}
  2007. 772 .LVL76:
  2008. 773 .L64:
  2009. 774 009e 0020 movs r0, #0
  2010. 775 00a0 70BD pop {r4, r5, r6, pc}
  2011. 776 .LVL77:
  2012. 777 .L65:
  2013. 778 00a2 0020 movs r0, #0
  2014. 464:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2015. 779 .loc 1 464 0
  2016. 780 00a4 70BD pop {r4, r5, r6, pc}
  2017. 781 .cfi_endproc
  2018. 782 .LFE133:
  2019. 784 .section .text.HAL_ADCEx_InjectedStop_IT,"ax",%progbits
  2020. 785 .align 1
  2021. 786 .global HAL_ADCEx_InjectedStop_IT
  2022. 787 .syntax unified
  2023. 788 .thumb
  2024. 789 .thumb_func
  2025. 790 .fpu fpv4-sp-d16
  2026. 792 HAL_ADCEx_InjectedStop_IT:
  2027. 793 .LFB134:
  2028. 479:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
  2029. 794 .loc 1 479 0
  2030. 795 .cfi_startproc
  2031. ARM GAS /tmp/cce1ybXB.s page 36
  2032. 796 @ args = 0, pretend = 0, frame = 0
  2033. 797 @ frame_needed = 0, uses_anonymous_args = 0
  2034. 798 @ link register save eliminated.
  2035. 799 .LVL78:
  2036. 800 0000 0346 mov r3, r0
  2037. 801 .LVL79:
  2038. 486:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2039. 802 .loc 1 486 0
  2040. 803 0002 90F83C20 ldrb r2, [r0, #60] @ zero_extendqisi2
  2041. 804 0006 012A cmp r2, #1
  2042. 805 0008 2DD0 beq .L72
  2043. 486:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2044. 806 .loc 1 486 0 is_stmt 0 discriminator 2
  2045. 807 000a 0122 movs r2, #1
  2046. 808 000c 80F83C20 strb r2, [r0, #60]
  2047. 494:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
  2048. 809 .loc 1 494 0 is_stmt 1 discriminator 2
  2049. 810 0010 026C ldr r2, [r0, #64]
  2050. 811 0012 12F4807F tst r2, #256
  2051. 812 0016 1BD1 bne .L70
  2052. 495:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2053. 813 .loc 1 495 0 discriminator 1
  2054. 814 0018 0268 ldr r2, [r0]
  2055. 815 001a 5168 ldr r1, [r2, #4]
  2056. 494:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
  2057. 816 .loc 1 494 0 discriminator 1
  2058. 817 001c 11F4806F tst r1, #1024
  2059. 818 0020 16D1 bne .L70
  2060. 499:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2061. 819 .loc 1 499 0
  2062. 820 0022 9168 ldr r1, [r2, #8]
  2063. 821 0024 21F00101 bic r1, r1, #1
  2064. 822 0028 9160 str r1, [r2, #8]
  2065. 502:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2066. 823 .loc 1 502 0
  2067. 824 002a 0268 ldr r2, [r0]
  2068. 825 002c 9168 ldr r1, [r2, #8]
  2069. 826 002e 11F0010F tst r1, #1
  2070. 827 0032 16D1 bne .L73
  2071. 505:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2072. 828 .loc 1 505 0
  2073. 829 0034 5168 ldr r1, [r2, #4]
  2074. 830 0036 21F08001 bic r1, r1, #128
  2075. 831 003a 5160 str r1, [r2, #4]
  2076. 508:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
  2077. 832 .loc 1 508 0
  2078. 833 003c 026C ldr r2, [r0, #64]
  2079. 834 003e 22F48852 bic r2, r2, #4352
  2080. 835 0042 22F00102 bic r2, r2, #1
  2081. 836 0046 42F00102 orr r2, r2, #1
  2082. 837 004a 0264 str r2, [r0, #64]
  2083. 480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2084. 838 .loc 1 480 0
  2085. 839 004c 0020 movs r0, #0
  2086. 840 .LVL80:
  2087. 841 004e 04E0 b .L71
  2088. 842 .LVL81:
  2089. ARM GAS /tmp/cce1ybXB.s page 37
  2090. 843 .L70:
  2091. 516:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2092. 844 .loc 1 516 0
  2093. 845 0050 1A6C ldr r2, [r3, #64]
  2094. 846 0052 42F02002 orr r2, r2, #32
  2095. 847 0056 1A64 str r2, [r3, #64]
  2096. 848 .LVL82:
  2097. 518:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2098. 849 .loc 1 518 0
  2099. 850 0058 0120 movs r0, #1
  2100. 851 .LVL83:
  2101. 852 .L71:
  2102. 522:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2103. 853 .loc 1 522 0
  2104. 854 005a 0022 movs r2, #0
  2105. 855 005c 83F83C20 strb r2, [r3, #60]
  2106. 525:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2107. 856 .loc 1 525 0
  2108. 857 0060 7047 bx lr
  2109. 858 .LVL84:
  2110. 859 .L73:
  2111. 480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2112. 860 .loc 1 480 0
  2113. 861 0062 0020 movs r0, #0
  2114. 862 .LVL85:
  2115. 863 0064 F9E7 b .L71
  2116. 864 .LVL86:
  2117. 865 .L72:
  2118. 486:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2119. 866 .loc 1 486 0
  2120. 867 0066 0220 movs r0, #2
  2121. 868 .LVL87:
  2122. 526:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2123. 869 .loc 1 526 0
  2124. 870 0068 7047 bx lr
  2125. 871 .cfi_endproc
  2126. 872 .LFE134:
  2127. 874 .section .text.HAL_ADCEx_InjectedGetValue,"ax",%progbits
  2128. 875 .align 1
  2129. 876 .global HAL_ADCEx_InjectedGetValue
  2130. 877 .syntax unified
  2131. 878 .thumb
  2132. 879 .thumb_func
  2133. 880 .fpu fpv4-sp-d16
  2134. 882 HAL_ADCEx_InjectedGetValue:
  2135. 883 .LFB135:
  2136. 541:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t tmp = 0U;
  2137. 884 .loc 1 541 0
  2138. 885 .cfi_startproc
  2139. 886 @ args = 0, pretend = 0, frame = 8
  2140. 887 @ frame_needed = 0, uses_anonymous_args = 0
  2141. 888 @ link register save eliminated.
  2142. 889 .LVL88:
  2143. 890 0000 82B0 sub sp, sp, #8
  2144. 891 .LCFI10:
  2145. 892 .cfi_def_cfa_offset 8
  2146. 542:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2147. ARM GAS /tmp/cce1ybXB.s page 38
  2148. 893 .loc 1 542 0
  2149. 894 0002 0023 movs r3, #0
  2150. 895 0004 0193 str r3, [sp, #4]
  2151. 549:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2152. 896 .loc 1 549 0
  2153. 897 0006 0368 ldr r3, [r0]
  2154. 898 0008 6FF00402 mvn r2, #4
  2155. 899 000c 1A60 str r2, [r3]
  2156. 552:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2157. 900 .loc 1 552 0
  2158. 901 000e 0139 subs r1, r1, #1
  2159. 902 .LVL89:
  2160. 903 0010 0329 cmp r1, #3
  2161. 904 0012 06D8 bhi .L75
  2162. 905 0014 DFE801F0 tbb [pc, r1]
  2163. 906 .L77:
  2164. 907 0018 10 .byte (.L76-.L77)/2
  2165. 908 0019 0C .byte (.L78-.L77)/2
  2166. 909 001a 08 .byte (.L79-.L77)/2
  2167. 910 001b 02 .byte (.L80-.L77)/2
  2168. 911 .p2align 1
  2169. 912 .L80:
  2170. 556:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2171. 913 .loc 1 556 0
  2172. 914 001c 0368 ldr r3, [r0]
  2173. 915 001e 9B6C ldr r3, [r3, #72]
  2174. 916 0020 0193 str r3, [sp, #4]
  2175. 917 .L75:
  2176. 577:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2177. 918 .loc 1 577 0
  2178. 919 0022 0198 ldr r0, [sp, #4]
  2179. 920 .LVL90:
  2180. 578:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2181. 921 .loc 1 578 0
  2182. 922 0024 02B0 add sp, sp, #8
  2183. 923 .LCFI11:
  2184. 924 .cfi_remember_state
  2185. 925 .cfi_def_cfa_offset 0
  2186. 926 @ sp needed
  2187. 927 0026 7047 bx lr
  2188. 928 .LVL91:
  2189. 929 .L79:
  2190. 930 .LCFI12:
  2191. 931 .cfi_restore_state
  2192. 561:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2193. 932 .loc 1 561 0
  2194. 933 0028 0368 ldr r3, [r0]
  2195. 934 002a 5B6C ldr r3, [r3, #68]
  2196. 935 002c 0193 str r3, [sp, #4]
  2197. 563:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_2:
  2198. 936 .loc 1 563 0
  2199. 937 002e F8E7 b .L75
  2200. 938 .L78:
  2201. 566:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2202. 939 .loc 1 566 0
  2203. 940 0030 0368 ldr r3, [r0]
  2204. 941 0032 1B6C ldr r3, [r3, #64]
  2205. ARM GAS /tmp/cce1ybXB.s page 39
  2206. 942 0034 0193 str r3, [sp, #4]
  2207. 568:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_1:
  2208. 943 .loc 1 568 0
  2209. 944 0036 F4E7 b .L75
  2210. 945 .L76:
  2211. 571:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2212. 946 .loc 1 571 0
  2213. 947 0038 0368 ldr r3, [r0]
  2214. 948 003a DB6B ldr r3, [r3, #60]
  2215. 949 003c 0193 str r3, [sp, #4]
  2216. 573:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** default:
  2217. 950 .loc 1 573 0
  2218. 951 003e F0E7 b .L75
  2219. 952 .cfi_endproc
  2220. 953 .LFE135:
  2221. 955 .section .text.HAL_ADCEx_MultiModeStart_DMA,"ax",%progbits
  2222. 956 .align 1
  2223. 957 .global HAL_ADCEx_MultiModeStart_DMA
  2224. 958 .syntax unified
  2225. 959 .thumb
  2226. 960 .thumb_func
  2227. 961 .fpu fpv4-sp-d16
  2228. 963 HAL_ADCEx_MultiModeStart_DMA:
  2229. 964 .LFB136:
  2230. 592:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t counter = 0U;
  2231. 965 .loc 1 592 0
  2232. 966 .cfi_startproc
  2233. 967 @ args = 0, pretend = 0, frame = 8
  2234. 968 @ frame_needed = 0, uses_anonymous_args = 0
  2235. 969 .LVL92:
  2236. 970 0000 10B5 push {r4, lr}
  2237. 971 .LCFI13:
  2238. 972 .cfi_def_cfa_offset 8
  2239. 973 .cfi_offset 4, -8
  2240. 974 .cfi_offset 14, -4
  2241. 975 0002 82B0 sub sp, sp, #8
  2242. 976 .LCFI14:
  2243. 977 .cfi_def_cfa_offset 16
  2244. 593:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
  2245. 978 .loc 1 593 0
  2246. 979 0004 0023 movs r3, #0
  2247. 980 0006 0193 str r3, [sp, #4]
  2248. 602:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2249. 981 .loc 1 602 0
  2250. 982 0008 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
  2251. 983 000c 012B cmp r3, #1
  2252. 984 000e 72D0 beq .L92
  2253. 602:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2254. 985 .loc 1 602 0 is_stmt 0 discriminator 2
  2255. 986 0010 0123 movs r3, #1
  2256. 987 0012 80F83C30 strb r3, [r0, #60]
  2257. 606:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2258. 988 .loc 1 606 0 is_stmt 1 discriminator 2
  2259. 989 0016 0368 ldr r3, [r0]
  2260. 990 0018 9C68 ldr r4, [r3, #8]
  2261. 991 001a 14F0010F tst r4, #1
  2262. 992 001e 13D1 bne .L84
  2263. ARM GAS /tmp/cce1ybXB.s page 40
  2264. 609:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2265. 993 .loc 1 609 0
  2266. 994 0020 9C68 ldr r4, [r3, #8]
  2267. 995 0022 44F00104 orr r4, r4, #1
  2268. 996 0026 9C60 str r4, [r3, #8]
  2269. 613:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
  2270. 997 .loc 1 613 0
  2271. 998 0028 364B ldr r3, .L96
  2272. 999 002a 1C68 ldr r4, [r3]
  2273. 1000 002c 364B ldr r3, .L96+4
  2274. 1001 002e A3FB0434 umull r3, r4, r3, r4
  2275. 1002 0032 A40C lsrs r4, r4, #18
  2276. 1003 0034 04EB4404 add r4, r4, r4, lsl #1
  2277. 1004 0038 0194 str r4, [sp, #4]
  2278. 614:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2279. 1005 .loc 1 614 0
  2280. 1006 003a 02E0 b .L85
  2281. 1007 .L86:
  2282. 616:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2283. 1008 .loc 1 616 0
  2284. 1009 003c 019C ldr r4, [sp, #4]
  2285. 1010 003e 013C subs r4, r4, #1
  2286. 1011 0040 0194 str r4, [sp, #4]
  2287. 1012 .L85:
  2288. 614:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2289. 1013 .loc 1 614 0
  2290. 1014 0042 019C ldr r4, [sp, #4]
  2291. 1015 0044 002C cmp r4, #0
  2292. 1016 0046 F9D1 bne .L86
  2293. 1017 .L84:
  2294. 621:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2295. 1018 .loc 1 621 0
  2296. 1019 0048 0368 ldr r3, [r0]
  2297. 1020 004a 9C68 ldr r4, [r3, #8]
  2298. 1021 004c 14F0010F tst r4, #1
  2299. 1022 0050 54D0 beq .L93
  2300. 626:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC | HAL_ADC_STATE_REG_OVR,
  2301. 1023 .loc 1 626 0
  2302. 1024 0052 046C ldr r4, [r0, #64]
  2303. 1025 0054 24F4E064 bic r4, r4, #1792
  2304. 1026 0058 24F00104 bic r4, r4, #1
  2305. 1027 005c 44F48074 orr r4, r4, #256
  2306. 1028 0060 0464 str r4, [r0, #64]
  2307. 632:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2308. 1029 .loc 1 632 0
  2309. 1030 0062 5B68 ldr r3, [r3, #4]
  2310. 1031 0064 13F4806F tst r3, #1024
  2311. 1032 0068 05D0 beq .L87
  2312. 634:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2313. 1033 .loc 1 634 0
  2314. 1034 006a 036C ldr r3, [r0, #64]
  2315. 1035 006c 23F44053 bic r3, r3, #12288
  2316. 1036 0070 43F48053 orr r3, r3, #4096
  2317. 1037 0074 0364 str r3, [r0, #64]
  2318. 1038 .L87:
  2319. 638:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2320. 1039 .loc 1 638 0
  2321. ARM GAS /tmp/cce1ybXB.s page 41
  2322. 1040 0076 036C ldr r3, [r0, #64]
  2323. 1041 0078 13F4805F tst r3, #4096
  2324. 1042 007c 32D0 beq .L88
  2325. 641:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2326. 1043 .loc 1 641 0
  2327. 1044 007e 436C ldr r3, [r0, #68]
  2328. 1045 0080 23F00603 bic r3, r3, #6
  2329. 1046 0084 4364 str r3, [r0, #68]
  2330. 1047 .L89:
  2331. 652:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2332. 1048 .loc 1 652 0
  2333. 1049 0086 0023 movs r3, #0
  2334. 1050 0088 80F83C30 strb r3, [r0, #60]
  2335. 655:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2336. 1051 .loc 1 655 0
  2337. 1052 008c 836B ldr r3, [r0, #56]
  2338. 1053 008e 1F4C ldr r4, .L96+8
  2339. 1054 0090 DC63 str r4, [r3, #60]
  2340. 658:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2341. 1055 .loc 1 658 0
  2342. 1056 0092 836B ldr r3, [r0, #56]
  2343. 1057 0094 1E4C ldr r4, .L96+12
  2344. 1058 0096 1C64 str r4, [r3, #64]
  2345. 661:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2346. 1059 .loc 1 661 0
  2347. 1060 0098 836B ldr r3, [r0, #56]
  2348. 1061 009a 1E4C ldr r4, .L96+16
  2349. 1062 009c DC64 str r4, [r3, #76]
  2350. 668:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2351. 1063 .loc 1 668 0
  2352. 1064 009e 0368 ldr r3, [r0]
  2353. 1065 00a0 6FF00204 mvn r4, #2
  2354. 1066 00a4 1C60 str r4, [r3]
  2355. 671:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2356. 1067 .loc 1 671 0
  2357. 1068 00a6 0468 ldr r4, [r0]
  2358. 1069 00a8 6368 ldr r3, [r4, #4]
  2359. 1070 00aa 43F08063 orr r3, r3, #67108864
  2360. 1071 00ae 6360 str r3, [r4, #4]
  2361. 1072 .LVL93:
  2362. 678:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2363. 1073 .loc 1 678 0
  2364. 1074 00b0 90F83030 ldrb r3, [r0, #48] @ zero_extendqisi2
  2365. 1075 00b4 CBB1 cbz r3, .L90
  2366. 681:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2367. 1076 .loc 1 681 0
  2368. 1077 00b6 184C ldr r4, .L96+20
  2369. 1078 00b8 6368 ldr r3, [r4, #4]
  2370. 1079 00ba 43F40053 orr r3, r3, #8192
  2371. 1080 00be 6360 str r3, [r4, #4]
  2372. 1081 .L91:
  2373. 1082 00c0 1346 mov r3, r2
  2374. 1083 00c2 0A46 mov r2, r1
  2375. 1084 .LVL94:
  2376. 1085 00c4 0446 mov r4, r0
  2377. 690:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2378. 1086 .loc 1 690 0
  2379. ARM GAS /tmp/cce1ybXB.s page 42
  2380. 1087 00c6 1549 ldr r1, .L96+24
  2381. 1088 .LVL95:
  2382. 1089 00c8 806B ldr r0, [r0, #56]
  2383. 1090 .LVL96:
  2384. 1091 00ca FFF7FEFF bl HAL_DMA_Start_IT
  2385. 1092 .LVL97:
  2386. 693:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2387. 1093 .loc 1 693 0
  2388. 1094 00ce 2368 ldr r3, [r4]
  2389. 1095 00d0 9A68 ldr r2, [r3, #8]
  2390. 1096 00d2 12F0405F tst r2, #805306368
  2391. 1097 00d6 13D1 bne .L94
  2392. 696:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2393. 1098 .loc 1 696 0
  2394. 1099 00d8 9A68 ldr r2, [r3, #8]
  2395. 1100 00da 42F08042 orr r2, r2, #1073741824
  2396. 1101 00de 9A60 str r2, [r3, #8]
  2397. 701:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2398. 1102 .loc 1 701 0
  2399. 1103 00e0 0020 movs r0, #0
  2400. 1104 00e2 09E0 b .L83
  2401. 1105 .LVL98:
  2402. 1106 .L88:
  2403. 646:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2404. 1107 .loc 1 646 0
  2405. 1108 00e4 0023 movs r3, #0
  2406. 1109 00e6 4364 str r3, [r0, #68]
  2407. 1110 00e8 CDE7 b .L89
  2408. 1111 .LVL99:
  2409. 1112 .L90:
  2410. 686:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2411. 1113 .loc 1 686 0
  2412. 1114 00ea 0B4C ldr r4, .L96+20
  2413. 1115 00ec 6368 ldr r3, [r4, #4]
  2414. 1116 00ee 23F40053 bic r3, r3, #8192
  2415. 1117 00f2 6360 str r3, [r4, #4]
  2416. 1118 00f4 E4E7 b .L91
  2417. 1119 .LVL100:
  2418. 1120 .L92:
  2419. 602:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2420. 1121 .loc 1 602 0
  2421. 1122 00f6 0220 movs r0, #2
  2422. 1123 .LVL101:
  2423. 1124 .L83:
  2424. 702:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2425. 1125 .loc 1 702 0
  2426. 1126 00f8 02B0 add sp, sp, #8
  2427. 1127 .LCFI15:
  2428. 1128 .cfi_remember_state
  2429. 1129 .cfi_def_cfa_offset 8
  2430. 1130 @ sp needed
  2431. 1131 00fa 10BD pop {r4, pc}
  2432. 1132 .LVL102:
  2433. 1133 .L93:
  2434. 1134 .LCFI16:
  2435. 1135 .cfi_restore_state
  2436. 701:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2437. ARM GAS /tmp/cce1ybXB.s page 43
  2438. 1136 .loc 1 701 0
  2439. 1137 00fc 0020 movs r0, #0
  2440. 1138 .LVL103:
  2441. 1139 00fe FBE7 b .L83
  2442. 1140 .LVL104:
  2443. 1141 .L94:
  2444. 1142 0100 0020 movs r0, #0
  2445. 1143 0102 F9E7 b .L83
  2446. 1144 .L97:
  2447. 1145 .align 2
  2448. 1146 .L96:
  2449. 1147 0104 00000000 .word SystemCoreClock
  2450. 1148 0108 83DE1B43 .word 1125899907
  2451. 1149 010c 00000000 .word ADC_MultiModeDMAConvCplt
  2452. 1150 0110 00000000 .word ADC_MultiModeDMAHalfConvCplt
  2453. 1151 0114 00000000 .word ADC_MultiModeDMAError
  2454. 1152 0118 00230140 .word 1073816320
  2455. 1153 011c 08230140 .word 1073816328
  2456. 1154 .cfi_endproc
  2457. 1155 .LFE136:
  2458. 1157 .section .text.HAL_ADCEx_MultiModeStop_DMA,"ax",%progbits
  2459. 1158 .align 1
  2460. 1159 .global HAL_ADCEx_MultiModeStop_DMA
  2461. 1160 .syntax unified
  2462. 1161 .thumb
  2463. 1162 .thumb_func
  2464. 1163 .fpu fpv4-sp-d16
  2465. 1165 HAL_ADCEx_MultiModeStop_DMA:
  2466. 1166 .LFB137:
  2467. 711:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
  2468. 1167 .loc 1 711 0
  2469. 1168 .cfi_startproc
  2470. 1169 @ args = 0, pretend = 0, frame = 0
  2471. 1170 @ frame_needed = 0, uses_anonymous_args = 0
  2472. 1171 .LVL105:
  2473. 719:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2474. 1172 .loc 1 719 0
  2475. 1173 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
  2476. 1174 0004 012B cmp r3, #1
  2477. 1175 0006 29D0 beq .L101
  2478. 711:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
  2479. 1176 .loc 1 711 0 discriminator 2
  2480. 1177 0008 10B5 push {r4, lr}
  2481. 1178 .LCFI17:
  2482. 1179 .cfi_def_cfa_offset 8
  2483. 1180 .cfi_offset 4, -8
  2484. 1181 .cfi_offset 14, -4
  2485. 1182 000a 0446 mov r4, r0
  2486. 719:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2487. 1183 .loc 1 719 0 discriminator 2
  2488. 1184 000c 0123 movs r3, #1
  2489. 1185 000e 80F83C30 strb r3, [r0, #60]
  2490. 723:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2491. 1186 .loc 1 723 0 discriminator 2
  2492. 1187 0012 0268 ldr r2, [r0]
  2493. 1188 0014 9368 ldr r3, [r2, #8]
  2494. 1189 0016 23F00103 bic r3, r3, #1
  2495. ARM GAS /tmp/cce1ybXB.s page 44
  2496. 1190 001a 9360 str r3, [r2, #8]
  2497. 1191 .LVL106:
  2498. 731:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2499. 1192 .loc 1 731 0 discriminator 2
  2500. 1193 001c 0368 ldr r3, [r0]
  2501. 1194 001e 9B68 ldr r3, [r3, #8]
  2502. 1195 0020 13F0010F tst r3, #1
  2503. 1196 0024 04D0 beq .L107
  2504. 712:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
  2505. 1197 .loc 1 712 0
  2506. 1198 0026 0020 movs r0, #0
  2507. 1199 .LVL107:
  2508. 1200 .L100:
  2509. 750:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2510. 1201 .loc 1 750 0
  2511. 1202 0028 0023 movs r3, #0
  2512. 1203 002a 84F83C30 strb r3, [r4, #60]
  2513. 753:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2514. 1204 .loc 1 753 0
  2515. 1205 002e 10BD pop {r4, pc}
  2516. 1206 .LVL108:
  2517. 1207 .L107:
  2518. 734:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2519. 1208 .loc 1 734 0
  2520. 1209 0030 0B4A ldr r2, .L108
  2521. 1210 0032 5368 ldr r3, [r2, #4]
  2522. 1211 0034 23F40053 bic r3, r3, #8192
  2523. 1212 0038 5360 str r3, [r2, #4]
  2524. 738:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2525. 1213 .loc 1 738 0
  2526. 1214 003a 806B ldr r0, [r0, #56]
  2527. 1215 .LVL109:
  2528. 1216 003c FFF7FEFF bl HAL_DMA_Abort
  2529. 1217 .LVL110:
  2530. 741:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2531. 1218 .loc 1 741 0
  2532. 1219 0040 2268 ldr r2, [r4]
  2533. 1220 0042 5368 ldr r3, [r2, #4]
  2534. 1221 0044 23F08063 bic r3, r3, #67108864
  2535. 1222 0048 5360 str r3, [r2, #4]
  2536. 744:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
  2537. 1223 .loc 1 744 0
  2538. 1224 004a 236C ldr r3, [r4, #64]
  2539. 1225 004c 23F48853 bic r3, r3, #4352
  2540. 1226 0050 23F00103 bic r3, r3, #1
  2541. 1227 0054 43F00103 orr r3, r3, #1
  2542. 1228 0058 2364 str r3, [r4, #64]
  2543. 1229 005a E5E7 b .L100
  2544. 1230 .LVL111:
  2545. 1231 .L101:
  2546. 1232 .LCFI18:
  2547. 1233 .cfi_def_cfa_offset 0
  2548. 1234 .cfi_restore 4
  2549. 1235 .cfi_restore 14
  2550. 719:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2551. 1236 .loc 1 719 0
  2552. 1237 005c 0220 movs r0, #2
  2553. ARM GAS /tmp/cce1ybXB.s page 45
  2554. 1238 .LVL112:
  2555. 1239 005e 7047 bx lr
  2556. 1240 .L109:
  2557. 1241 .align 2
  2558. 1242 .L108:
  2559. 1243 0060 00230140 .word 1073816320
  2560. 1244 .cfi_endproc
  2561. 1245 .LFE137:
  2562. 1247 .section .text.HAL_ADCEx_MultiModeGetValue,"ax",%progbits
  2563. 1248 .align 1
  2564. 1249 .global HAL_ADCEx_MultiModeGetValue
  2565. 1250 .syntax unified
  2566. 1251 .thumb
  2567. 1252 .thumb_func
  2568. 1253 .fpu fpv4-sp-d16
  2569. 1255 HAL_ADCEx_MultiModeGetValue:
  2570. 1256 .LFB138:
  2571. 764:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
  2572. 1257 .loc 1 764 0
  2573. 1258 .cfi_startproc
  2574. 1259 @ args = 0, pretend = 0, frame = 0
  2575. 1260 @ frame_needed = 0, uses_anonymous_args = 0
  2576. 1261 @ link register save eliminated.
  2577. 1262 .LVL113:
  2578. 773:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2579. 1263 .loc 1 773 0
  2580. 1264 0000 014B ldr r3, .L111
  2581. 1265 0002 9868 ldr r0, [r3, #8]
  2582. 1266 .LVL114:
  2583. 774:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2584. 1267 .loc 1 774 0
  2585. 1268 0004 7047 bx lr
  2586. 1269 .L112:
  2587. 1270 0006 00BF .align 2
  2588. 1271 .L111:
  2589. 1272 0008 00230140 .word 1073816320
  2590. 1273 .cfi_endproc
  2591. 1274 .LFE138:
  2592. 1276 .section .text.HAL_ADCEx_InjectedConvCpltCallback,"ax",%progbits
  2593. 1277 .align 1
  2594. 1278 .weak HAL_ADCEx_InjectedConvCpltCallback
  2595. 1279 .syntax unified
  2596. 1280 .thumb
  2597. 1281 .thumb_func
  2598. 1282 .fpu fpv4-sp-d16
  2599. 1284 HAL_ADCEx_InjectedConvCpltCallback:
  2600. 1285 .LFB139:
  2601. 783:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Prevent unused argument(s) compilation warning */
  2602. 1286 .loc 1 783 0
  2603. 1287 .cfi_startproc
  2604. 1288 @ args = 0, pretend = 0, frame = 0
  2605. 1289 @ frame_needed = 0, uses_anonymous_args = 0
  2606. 1290 @ link register save eliminated.
  2607. 1291 .LVL115:
  2608. 1292 0000 7047 bx lr
  2609. 1293 .cfi_endproc
  2610. 1294 .LFE139:
  2611. ARM GAS /tmp/cce1ybXB.s page 46
  2612. 1296 .section .text.HAL_ADCEx_InjectedConfigChannel,"ax",%progbits
  2613. 1297 .align 1
  2614. 1298 .global HAL_ADCEx_InjectedConfigChannel
  2615. 1299 .syntax unified
  2616. 1300 .thumb
  2617. 1301 .thumb_func
  2618. 1302 .fpu fpv4-sp-d16
  2619. 1304 HAL_ADCEx_InjectedConfigChannel:
  2620. 1305 .LFB140:
  2621. 800:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2622. 1306 .loc 1 800 0
  2623. 1307 .cfi_startproc
  2624. 1308 @ args = 0, pretend = 0, frame = 0
  2625. 1309 @ frame_needed = 0, uses_anonymous_args = 0
  2626. 1310 @ link register save eliminated.
  2627. 1311 .LVL116:
  2628. 829:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2629. 1312 .loc 1 829 0
  2630. 1313 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
  2631. 1314 0004 012B cmp r3, #1
  2632. 1315 0006 00F0F980 beq .L131
  2633. 800:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2634. 1316 .loc 1 800 0 discriminator 2
  2635. 1317 000a 30B4 push {r4, r5}
  2636. 1318 .LCFI19:
  2637. 1319 .cfi_def_cfa_offset 8
  2638. 1320 .cfi_offset 4, -8
  2639. 1321 .cfi_offset 5, -4
  2640. 829:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2641. 1322 .loc 1 829 0 discriminator 2
  2642. 1323 000c 0123 movs r3, #1
  2643. 1324 000e 80F83C30 strb r3, [r0, #60]
  2644. 832:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2645. 1325 .loc 1 832 0 discriminator 2
  2646. 1326 0012 0B68 ldr r3, [r1]
  2647. 1327 0014 092B cmp r3, #9
  2648. 1328 0016 7DD9 bls .L116
  2649. 835:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2650. 1329 .loc 1 835 0
  2651. 1330 0018 0568 ldr r5, [r0]
  2652. 1331 001a EA68 ldr r2, [r5, #12]
  2653. 1332 001c 9BB2 uxth r3, r3
  2654. 1333 001e 03EB4303 add r3, r3, r3, lsl #1
  2655. 1334 0022 1E3B subs r3, r3, #30
  2656. 1335 0024 0724 movs r4, #7
  2657. 1336 0026 04FA03F3 lsl r3, r4, r3
  2658. 1337 002a 22EA0303 bic r3, r2, r3
  2659. 1338 002e EB60 str r3, [r5, #12]
  2660. 838:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2661. 1339 .loc 1 838 0
  2662. 1340 0030 0568 ldr r5, [r0]
  2663. 1341 0032 EA68 ldr r2, [r5, #12]
  2664. 1342 0034 8C68 ldr r4, [r1, #8]
  2665. 1343 0036 0B88 ldrh r3, [r1]
  2666. 1344 0038 03EB4303 add r3, r3, r3, lsl #1
  2667. 1345 003c 1E3B subs r3, r3, #30
  2668. 1346 003e 04FA03F3 lsl r3, r4, r3
  2669. ARM GAS /tmp/cce1ybXB.s page 47
  2670. 1347 0042 1343 orrs r3, r3, r2
  2671. 1348 0044 EB60 str r3, [r5, #12]
  2672. 1349 .L117:
  2673. 850:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JSQR |= ADC_SQR1(sConfigInjected->InjectedNbrOfConversion);
  2674. 1350 .loc 1 850 0
  2675. 1351 0046 0268 ldr r2, [r0]
  2676. 1352 0048 936B ldr r3, [r2, #56]
  2677. 1353 004a 23F44013 bic r3, r3, #3145728
  2678. 1354 004e 9363 str r3, [r2, #56]
  2679. 851:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2680. 1355 .loc 1 851 0
  2681. 1356 0050 0468 ldr r4, [r0]
  2682. 1357 0052 A36B ldr r3, [r4, #56]
  2683. 1358 0054 0A69 ldr r2, [r1, #16]
  2684. 1359 0056 013A subs r2, r2, #1
  2685. 1360 0058 43EA0253 orr r3, r3, r2, lsl #20
  2686. 1361 005c A363 str r3, [r4, #56]
  2687. 856:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2688. 1362 .loc 1 856 0
  2689. 1363 005e 0568 ldr r5, [r0]
  2690. 1364 0060 AA6B ldr r2, [r5, #56]
  2691. 1365 0062 4B68 ldr r3, [r1, #4]
  2692. 1366 0064 0C69 ldr r4, [r1, #16]
  2693. 1367 0066 1B1B subs r3, r3, r4
  2694. 1368 0068 DBB2 uxtb r3, r3
  2695. 1369 006a 0333 adds r3, r3, #3
  2696. 1370 006c DBB2 uxtb r3, r3
  2697. 1371 006e 03EB8303 add r3, r3, r3, lsl #2
  2698. 1372 0072 1F24 movs r4, #31
  2699. 1373 0074 04FA03F3 lsl r3, r4, r3
  2700. 1374 0078 22EA0303 bic r3, r2, r3
  2701. 1375 007c AB63 str r3, [r5, #56]
  2702. 859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2703. 1376 .loc 1 859 0
  2704. 1377 007e 0568 ldr r5, [r0]
  2705. 1378 0080 AA6B ldr r2, [r5, #56]
  2706. 1379 0082 4B68 ldr r3, [r1, #4]
  2707. 1380 0084 0C69 ldr r4, [r1, #16]
  2708. 1381 0086 1B1B subs r3, r3, r4
  2709. 1382 0088 DBB2 uxtb r3, r3
  2710. 1383 008a 0333 adds r3, r3, #3
  2711. 1384 008c DBB2 uxtb r3, r3
  2712. 1385 008e 03EB8303 add r3, r3, r3, lsl #2
  2713. 1386 0092 0C88 ldrh r4, [r1]
  2714. 1387 0094 04FA03F3 lsl r3, r4, r3
  2715. 1388 0098 1343 orrs r3, r3, r2
  2716. 1389 009a AB63 str r3, [r5, #56]
  2717. 866:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2718. 1390 .loc 1 866 0
  2719. 1391 009c 8A69 ldr r2, [r1, #24]
  2720. 1392 009e 584B ldr r3, .L140
  2721. 1393 00a0 9A42 cmp r2, r3
  2722. 1394 00a2 4DD0 beq .L118
  2723. 869:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= sConfigInjected->ExternalTrigInjecConv;
  2724. 1395 .loc 1 869 0
  2725. 1396 00a4 0268 ldr r2, [r0]
  2726. 1397 00a6 9368 ldr r3, [r2, #8]
  2727. ARM GAS /tmp/cce1ybXB.s page 48
  2728. 1398 00a8 23F47023 bic r3, r3, #983040
  2729. 1399 00ac 9360 str r3, [r2, #8]
  2730. 870:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2731. 1400 .loc 1 870 0
  2732. 1401 00ae 0268 ldr r2, [r0]
  2733. 1402 00b0 9368 ldr r3, [r2, #8]
  2734. 1403 00b2 8C69 ldr r4, [r1, #24]
  2735. 1404 00b4 2343 orrs r3, r3, r4
  2736. 1405 00b6 9360 str r3, [r2, #8]
  2737. 873:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= sConfigInjected->ExternalTrigInjecConvEdge;
  2738. 1406 .loc 1 873 0
  2739. 1407 00b8 0268 ldr r2, [r0]
  2740. 1408 00ba 9368 ldr r3, [r2, #8]
  2741. 1409 00bc 23F44013 bic r3, r3, #3145728
  2742. 1410 00c0 9360 str r3, [r2, #8]
  2743. 874:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2744. 1411 .loc 1 874 0
  2745. 1412 00c2 0268 ldr r2, [r0]
  2746. 1413 00c4 9368 ldr r3, [r2, #8]
  2747. 1414 00c6 CC69 ldr r4, [r1, #28]
  2748. 1415 00c8 2343 orrs r3, r3, r4
  2749. 1416 00ca 9360 str r3, [r2, #8]
  2750. 1417 .L119:
  2751. 883:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2752. 1418 .loc 1 883 0
  2753. 1419 00cc 4B7D ldrb r3, [r1, #21] @ zero_extendqisi2
  2754. 1420 00ce 002B cmp r3, #0
  2755. 1421 00d0 41D0 beq .L120
  2756. 886:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2757. 1422 .loc 1 886 0
  2758. 1423 00d2 0268 ldr r2, [r0]
  2759. 1424 00d4 5368 ldr r3, [r2, #4]
  2760. 1425 00d6 43F48063 orr r3, r3, #1024
  2761. 1426 00da 5360 str r3, [r2, #4]
  2762. 1427 .L121:
  2763. 894:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2764. 1428 .loc 1 894 0
  2765. 1429 00dc 0B7D ldrb r3, [r1, #20] @ zero_extendqisi2
  2766. 1430 00de 002B cmp r3, #0
  2767. 1431 00e0 3FD0 beq .L122
  2768. 897:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2769. 1432 .loc 1 897 0
  2770. 1433 00e2 0268 ldr r2, [r0]
  2771. 1434 00e4 5368 ldr r3, [r2, #4]
  2772. 1435 00e6 43F48053 orr r3, r3, #4096
  2773. 1436 00ea 5360 str r3, [r2, #4]
  2774. 1437 .L123:
  2775. 905:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2776. 1438 .loc 1 905 0
  2777. 1439 00ec 4B68 ldr r3, [r1, #4]
  2778. 1440 00ee 022B cmp r3, #2
  2779. 1441 00f0 57D0 beq .L125
  2780. 1442 00f2 032B cmp r3, #3
  2781. 1443 00f4 62D0 beq .L126
  2782. 1444 00f6 012B cmp r3, #1
  2783. 1445 00f8 39D0 beq .L137
  2784. 924:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR4 |= sConfigInjected->InjectedOffset;
  2785. ARM GAS /tmp/cce1ybXB.s page 49
  2786. 1446 .loc 1 924 0
  2787. 1447 00fa 0268 ldr r2, [r0]
  2788. 1448 00fc 136A ldr r3, [r2, #32]
  2789. 1449 00fe 23F47F63 bic r3, r3, #4080
  2790. 1450 0102 23F00F03 bic r3, r3, #15
  2791. 1451 0106 1362 str r3, [r2, #32]
  2792. 925:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  2793. 1452 .loc 1 925 0
  2794. 1453 0108 0268 ldr r2, [r0]
  2795. 1454 010a 136A ldr r3, [r2, #32]
  2796. 1455 010c CC68 ldr r4, [r1, #12]
  2797. 1456 010e 2343 orrs r3, r3, r4
  2798. 1457 0110 1362 str r3, [r2, #32]
  2799. 926:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2800. 1458 .loc 1 926 0
  2801. 1459 0112 38E0 b .L128
  2802. 1460 .L116:
  2803. 843:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2804. 1461 .loc 1 843 0
  2805. 1462 0114 0568 ldr r5, [r0]
  2806. 1463 0116 2A69 ldr r2, [r5, #16]
  2807. 1464 0118 9BB2 uxth r3, r3
  2808. 1465 011a 03EB4303 add r3, r3, r3, lsl #1
  2809. 1466 011e 0724 movs r4, #7
  2810. 1467 0120 04FA03F3 lsl r3, r4, r3
  2811. 1468 0124 22EA0303 bic r3, r2, r3
  2812. 1469 0128 2B61 str r3, [r5, #16]
  2813. 846:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2814. 1470 .loc 1 846 0
  2815. 1471 012a 0568 ldr r5, [r0]
  2816. 1472 012c 2A69 ldr r2, [r5, #16]
  2817. 1473 012e 8C68 ldr r4, [r1, #8]
  2818. 1474 0130 0B88 ldrh r3, [r1]
  2819. 1475 0132 03EB4303 add r3, r3, r3, lsl #1
  2820. 1476 0136 04FA03F3 lsl r3, r4, r3
  2821. 1477 013a 1343 orrs r3, r3, r2
  2822. 1478 013c 2B61 str r3, [r5, #16]
  2823. 1479 013e 82E7 b .L117
  2824. 1480 .L118:
  2825. 879:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 &= ~(ADC_CR2_JEXTEN);
  2826. 1481 .loc 1 879 0
  2827. 1482 0140 0268 ldr r2, [r0]
  2828. 1483 0142 9368 ldr r3, [r2, #8]
  2829. 1484 0144 23F47023 bic r3, r3, #983040
  2830. 1485 0148 9360 str r3, [r2, #8]
  2831. 880:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2832. 1486 .loc 1 880 0
  2833. 1487 014a 0268 ldr r2, [r0]
  2834. 1488 014c 9368 ldr r3, [r2, #8]
  2835. 1489 014e 23F44013 bic r3, r3, #3145728
  2836. 1490 0152 9360 str r3, [r2, #8]
  2837. 1491 0154 BAE7 b .L119
  2838. 1492 .L120:
  2839. 891:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2840. 1493 .loc 1 891 0
  2841. 1494 0156 0268 ldr r2, [r0]
  2842. 1495 0158 5368 ldr r3, [r2, #4]
  2843. ARM GAS /tmp/cce1ybXB.s page 50
  2844. 1496 015a 23F48063 bic r3, r3, #1024
  2845. 1497 015e 5360 str r3, [r2, #4]
  2846. 1498 0160 BCE7 b .L121
  2847. 1499 .L122:
  2848. 902:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2849. 1500 .loc 1 902 0
  2850. 1501 0162 0268 ldr r2, [r0]
  2851. 1502 0164 5368 ldr r3, [r2, #4]
  2852. 1503 0166 23F48053 bic r3, r3, #4096
  2853. 1504 016a 5360 str r3, [r2, #4]
  2854. 1505 016c BEE7 b .L123
  2855. 1506 .L137:
  2856. 909:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR1 |= sConfigInjected->InjectedOffset;
  2857. 1507 .loc 1 909 0
  2858. 1508 016e 0268 ldr r2, [r0]
  2859. 1509 0170 5369 ldr r3, [r2, #20]
  2860. 1510 0172 23F47F63 bic r3, r3, #4080
  2861. 1511 0176 23F00F03 bic r3, r3, #15
  2862. 1512 017a 5361 str r3, [r2, #20]
  2863. 910:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  2864. 1513 .loc 1 910 0
  2865. 1514 017c 0268 ldr r2, [r0]
  2866. 1515 017e 5369 ldr r3, [r2, #20]
  2867. 1516 0180 CC68 ldr r4, [r1, #12]
  2868. 1517 0182 2343 orrs r3, r3, r4
  2869. 1518 0184 5361 str r3, [r2, #20]
  2870. 1519 .L128:
  2871. 1520 .LVL117:
  2872. 935:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2873. 1521 .loc 1 935 0
  2874. 1522 0186 0268 ldr r2, [r0]
  2875. 1523 0188 1E4B ldr r3, .L140+4
  2876. 1524 018a 9A42 cmp r2, r3
  2877. 1525 018c 23D0 beq .L138
  2878. 1526 .L129:
  2879. 942:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2880. 1527 .loc 1 942 0
  2881. 1528 018e 0268 ldr r2, [r0]
  2882. 1529 0190 1C4B ldr r3, .L140+4
  2883. 1530 0192 9A42 cmp r2, r3
  2884. 1531 0194 28D0 beq .L139
  2885. 1532 .L130:
  2886. 949:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2887. 1533 .loc 1 949 0
  2888. 1534 0196 0023 movs r3, #0
  2889. 1535 0198 80F83C30 strb r3, [r0, #60]
  2890. 952:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2891. 1536 .loc 1 952 0
  2892. 1537 019c 1846 mov r0, r3
  2893. 1538 .LVL118:
  2894. 953:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2895. 1539 .loc 1 953 0
  2896. 1540 019e 30BC pop {r4, r5}
  2897. 1541 .LCFI20:
  2898. 1542 .cfi_remember_state
  2899. 1543 .cfi_restore 5
  2900. 1544 .cfi_restore 4
  2901. ARM GAS /tmp/cce1ybXB.s page 51
  2902. 1545 .cfi_def_cfa_offset 0
  2903. 1546 01a0 7047 bx lr
  2904. 1547 .LVL119:
  2905. 1548 .L125:
  2906. 1549 .LCFI21:
  2907. 1550 .cfi_restore_state
  2908. 914:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR2 |= sConfigInjected->InjectedOffset;
  2909. 1551 .loc 1 914 0
  2910. 1552 01a2 0268 ldr r2, [r0]
  2911. 1553 01a4 9369 ldr r3, [r2, #24]
  2912. 1554 01a6 23F47F63 bic r3, r3, #4080
  2913. 1555 01aa 23F00F03 bic r3, r3, #15
  2914. 1556 01ae 9361 str r3, [r2, #24]
  2915. 915:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  2916. 1557 .loc 1 915 0
  2917. 1558 01b0 0268 ldr r2, [r0]
  2918. 1559 01b2 9369 ldr r3, [r2, #24]
  2919. 1560 01b4 CC68 ldr r4, [r1, #12]
  2920. 1561 01b6 2343 orrs r3, r3, r4
  2921. 1562 01b8 9361 str r3, [r2, #24]
  2922. 916:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case 3U:
  2923. 1563 .loc 1 916 0
  2924. 1564 01ba E4E7 b .L128
  2925. 1565 .L126:
  2926. 919:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR3 |= sConfigInjected->InjectedOffset;
  2927. 1566 .loc 1 919 0
  2928. 1567 01bc 0268 ldr r2, [r0]
  2929. 1568 01be D369 ldr r3, [r2, #28]
  2930. 1569 01c0 23F47F63 bic r3, r3, #4080
  2931. 1570 01c4 23F00F03 bic r3, r3, #15
  2932. 1571 01c8 D361 str r3, [r2, #28]
  2933. 920:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  2934. 1572 .loc 1 920 0
  2935. 1573 01ca 0268 ldr r2, [r0]
  2936. 1574 01cc D369 ldr r3, [r2, #28]
  2937. 1575 01ce CC68 ldr r4, [r1, #12]
  2938. 1576 01d0 2343 orrs r3, r3, r4
  2939. 1577 01d2 D361 str r3, [r2, #28]
  2940. 921:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** default:
  2941. 1578 .loc 1 921 0
  2942. 1579 01d4 D7E7 b .L128
  2943. 1580 .LVL120:
  2944. 1581 .L138:
  2945. 935:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2946. 1582 .loc 1 935 0 discriminator 1
  2947. 1583 01d6 0B68 ldr r3, [r1]
  2948. 1584 01d8 122B cmp r3, #18
  2949. 1585 01da D8D1 bne .L129
  2950. 938:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2951. 1586 .loc 1 938 0
  2952. 1587 01dc 0A4A ldr r2, .L140+8
  2953. 1588 01de 5368 ldr r3, [r2, #4]
  2954. 1589 01e0 43F48003 orr r3, r3, #4194304
  2955. 1590 01e4 5360 str r3, [r2, #4]
  2956. 1591 01e6 D2E7 b .L129
  2957. 1592 .L139:
  2958. 942:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2959. ARM GAS /tmp/cce1ybXB.s page 52
  2960. 1593 .loc 1 942 0 discriminator 1
  2961. 1594 01e8 0B68 ldr r3, [r1]
  2962. 1595 01ea 103B subs r3, r3, #16
  2963. 1596 01ec 012B cmp r3, #1
  2964. 1597 01ee D2D8 bhi .L130
  2965. 945:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2966. 1598 .loc 1 945 0
  2967. 1599 01f0 054A ldr r2, .L140+8
  2968. 1600 01f2 5368 ldr r3, [r2, #4]
  2969. 1601 01f4 43F40003 orr r3, r3, #8388608
  2970. 1602 01f8 5360 str r3, [r2, #4]
  2971. 1603 01fa CCE7 b .L130
  2972. 1604 .LVL121:
  2973. 1605 .L131:
  2974. 1606 .LCFI22:
  2975. 1607 .cfi_def_cfa_offset 0
  2976. 1608 .cfi_restore 4
  2977. 1609 .cfi_restore 5
  2978. 829:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2979. 1610 .loc 1 829 0
  2980. 1611 01fc 0220 movs r0, #2
  2981. 1612 .LVL122:
  2982. 1613 01fe 7047 bx lr
  2983. 1614 .L141:
  2984. 1615 .align 2
  2985. 1616 .L140:
  2986. 1617 0200 01000F00 .word 983041
  2987. 1618 0204 00200140 .word 1073815552
  2988. 1619 0208 00230140 .word 1073816320
  2989. 1620 .cfi_endproc
  2990. 1621 .LFE140:
  2991. 1623 .section .text.HAL_ADCEx_MultiModeConfigChannel,"ax",%progbits
  2992. 1624 .align 1
  2993. 1625 .global HAL_ADCEx_MultiModeConfigChannel
  2994. 1626 .syntax unified
  2995. 1627 .thumb
  2996. 1628 .thumb_func
  2997. 1629 .fpu fpv4-sp-d16
  2998. 1631 HAL_ADCEx_MultiModeConfigChannel:
  2999. 1632 .LFB141:
  3000. 964:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3001. 1633 .loc 1 964 0
  3002. 1634 .cfi_startproc
  3003. 1635 @ args = 0, pretend = 0, frame = 0
  3004. 1636 @ frame_needed = 0, uses_anonymous_args = 0
  3005. 1637 @ link register save eliminated.
  3006. 1638 .LVL123:
  3007. 974:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3008. 1639 .loc 1 974 0
  3009. 1640 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
  3010. 1641 0004 012B cmp r3, #1
  3011. 1642 0006 23D0 beq .L144
  3012. 964:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3013. 1643 .loc 1 964 0 discriminator 2
  3014. 1644 0008 10B4 push {r4}
  3015. 1645 .LCFI23:
  3016. 1646 .cfi_def_cfa_offset 4
  3017. ARM GAS /tmp/cce1ybXB.s page 53
  3018. 1647 .cfi_offset 4, -4
  3019. 974:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3020. 1648 .loc 1 974 0 discriminator 2
  3021. 1649 000a 0123 movs r3, #1
  3022. 1650 000c 80F83C30 strb r3, [r0, #60]
  3023. 1651 .LVL124:
  3024. 982:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= multimode->Mode;
  3025. 1652 .loc 1 982 0 discriminator 2
  3026. 1653 0010 104B ldr r3, .L149
  3027. 1654 0012 5A68 ldr r2, [r3, #4]
  3028. 1655 0014 22F01F02 bic r2, r2, #31
  3029. 1656 0018 5A60 str r2, [r3, #4]
  3030. 983:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3031. 1657 .loc 1 983 0 discriminator 2
  3032. 1658 001a 5A68 ldr r2, [r3, #4]
  3033. 1659 001c 0C68 ldr r4, [r1]
  3034. 1660 001e 2243 orrs r2, r2, r4
  3035. 1661 0020 5A60 str r2, [r3, #4]
  3036. 986:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= multimode->DMAAccessMode;
  3037. 1662 .loc 1 986 0 discriminator 2
  3038. 1663 0022 5A68 ldr r2, [r3, #4]
  3039. 1664 0024 22F44042 bic r2, r2, #49152
  3040. 1665 0028 5A60 str r2, [r3, #4]
  3041. 987:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3042. 1666 .loc 1 987 0 discriminator 2
  3043. 1667 002a 5A68 ldr r2, [r3, #4]
  3044. 1668 002c 4C68 ldr r4, [r1, #4]
  3045. 1669 002e 2243 orrs r2, r2, r4
  3046. 1670 0030 5A60 str r2, [r3, #4]
  3047. 990:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= multimode->TwoSamplingDelay;
  3048. 1671 .loc 1 990 0 discriminator 2
  3049. 1672 0032 5A68 ldr r2, [r3, #4]
  3050. 1673 0034 22F47062 bic r2, r2, #3840
  3051. 1674 0038 5A60 str r2, [r3, #4]
  3052. 991:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3053. 1675 .loc 1 991 0 discriminator 2
  3054. 1676 003a 5A68 ldr r2, [r3, #4]
  3055. 1677 003c 8968 ldr r1, [r1, #8]
  3056. 1678 .LVL125:
  3057. 1679 003e 0A43 orrs r2, r2, r1
  3058. 1680 0040 5A60 str r2, [r3, #4]
  3059. 994:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3060. 1681 .loc 1 994 0 discriminator 2
  3061. 1682 0042 0023 movs r3, #0
  3062. 1683 0044 80F83C30 strb r3, [r0, #60]
  3063. 997:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3064. 1684 .loc 1 997 0 discriminator 2
  3065. 1685 0048 1846 mov r0, r3
  3066. 1686 .LVL126:
  3067. 998:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3068. 1687 .loc 1 998 0 discriminator 2
  3069. 1688 004a 5DF8044B ldr r4, [sp], #4
  3070. 1689 .LCFI24:
  3071. 1690 .cfi_restore 4
  3072. 1691 .cfi_def_cfa_offset 0
  3073. 1692 004e 7047 bx lr
  3074. 1693 .LVL127:
  3075. ARM GAS /tmp/cce1ybXB.s page 54
  3076. 1694 .L144:
  3077. 974:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3078. 1695 .loc 1 974 0
  3079. 1696 0050 0220 movs r0, #2
  3080. 1697 .LVL128:
  3081. 1698 0052 7047 bx lr
  3082. 1699 .L150:
  3083. 1700 .align 2
  3084. 1701 .L149:
  3085. 1702 0054 00230140 .word 1073816320
  3086. 1703 .cfi_endproc
  3087. 1704 .LFE141:
  3088. 1706 .text
  3089. 1707 .Letext0:
  3090. 1708 .file 2 "/usr/include/newlib/machine/_default_types.h"
  3091. 1709 .file 3 "/usr/include/newlib/sys/_stdint.h"
  3092. 1710 .file 4 "Drivers/CMSIS/Include/core_cm4.h"
  3093. 1711 .file 5 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h"
  3094. 1712 .file 6 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h"
  3095. 1713 .file 7 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h"
  3096. 1714 .file 8 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h"
  3097. 1715 .file 9 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h"
  3098. 1716 .file 10 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h"
  3099. 1717 .file 11 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h"
  3100. 1718 .file 12 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h"
  3101. ARM GAS /tmp/cce1ybXB.s page 55
  3102. DEFINED SYMBOLS
  3103. *ABS*:0000000000000000 stm32f4xx_hal_adc_ex.c
  3104. /tmp/cce1ybXB.s:18 .text.ADC_MultiModeDMAError:0000000000000000 $t
  3105. /tmp/cce1ybXB.s:24 .text.ADC_MultiModeDMAError:0000000000000000 ADC_MultiModeDMAError
  3106. /tmp/cce1ybXB.s:55 .text.ADC_MultiModeDMAHalfConvCplt:0000000000000000 $t
  3107. /tmp/cce1ybXB.s:61 .text.ADC_MultiModeDMAHalfConvCplt:0000000000000000 ADC_MultiModeDMAHalfConvCplt
  3108. /tmp/cce1ybXB.s:84 .text.ADC_MultiModeDMAConvCplt:0000000000000000 $t
  3109. /tmp/cce1ybXB.s:90 .text.ADC_MultiModeDMAConvCplt:0000000000000000 ADC_MultiModeDMAConvCplt
  3110. /tmp/cce1ybXB.s:169 .text.HAL_ADCEx_InjectedStart:0000000000000000 $t
  3111. /tmp/cce1ybXB.s:176 .text.HAL_ADCEx_InjectedStart:0000000000000000 HAL_ADCEx_InjectedStart
  3112. /tmp/cce1ybXB.s:354 .text.HAL_ADCEx_InjectedStart:00000000000000e4 $d
  3113. /tmp/cce1ybXB.s:362 .text.HAL_ADCEx_InjectedStart_IT:0000000000000000 $t
  3114. /tmp/cce1ybXB.s:369 .text.HAL_ADCEx_InjectedStart_IT:0000000000000000 HAL_ADCEx_InjectedStart_IT
  3115. /tmp/cce1ybXB.s:552 .text.HAL_ADCEx_InjectedStart_IT:00000000000000ec $d
  3116. /tmp/cce1ybXB.s:560 .text.HAL_ADCEx_InjectedStop:0000000000000000 $t
  3117. /tmp/cce1ybXB.s:567 .text.HAL_ADCEx_InjectedStop:0000000000000000 HAL_ADCEx_InjectedStop
  3118. /tmp/cce1ybXB.s:646 .text.HAL_ADCEx_InjectedPollForConversion:0000000000000000 $t
  3119. /tmp/cce1ybXB.s:653 .text.HAL_ADCEx_InjectedPollForConversion:0000000000000000 HAL_ADCEx_InjectedPollForConversion
  3120. /tmp/cce1ybXB.s:785 .text.HAL_ADCEx_InjectedStop_IT:0000000000000000 $t
  3121. /tmp/cce1ybXB.s:792 .text.HAL_ADCEx_InjectedStop_IT:0000000000000000 HAL_ADCEx_InjectedStop_IT
  3122. /tmp/cce1ybXB.s:875 .text.HAL_ADCEx_InjectedGetValue:0000000000000000 $t
  3123. /tmp/cce1ybXB.s:882 .text.HAL_ADCEx_InjectedGetValue:0000000000000000 HAL_ADCEx_InjectedGetValue
  3124. /tmp/cce1ybXB.s:907 .text.HAL_ADCEx_InjectedGetValue:0000000000000018 $d
  3125. /tmp/cce1ybXB.s:911 .text.HAL_ADCEx_InjectedGetValue:000000000000001c $t
  3126. /tmp/cce1ybXB.s:956 .text.HAL_ADCEx_MultiModeStart_DMA:0000000000000000 $t
  3127. /tmp/cce1ybXB.s:963 .text.HAL_ADCEx_MultiModeStart_DMA:0000000000000000 HAL_ADCEx_MultiModeStart_DMA
  3128. /tmp/cce1ybXB.s:1147 .text.HAL_ADCEx_MultiModeStart_DMA:0000000000000104 $d
  3129. /tmp/cce1ybXB.s:1158 .text.HAL_ADCEx_MultiModeStop_DMA:0000000000000000 $t
  3130. /tmp/cce1ybXB.s:1165 .text.HAL_ADCEx_MultiModeStop_DMA:0000000000000000 HAL_ADCEx_MultiModeStop_DMA
  3131. /tmp/cce1ybXB.s:1243 .text.HAL_ADCEx_MultiModeStop_DMA:0000000000000060 $d
  3132. /tmp/cce1ybXB.s:1248 .text.HAL_ADCEx_MultiModeGetValue:0000000000000000 $t
  3133. /tmp/cce1ybXB.s:1255 .text.HAL_ADCEx_MultiModeGetValue:0000000000000000 HAL_ADCEx_MultiModeGetValue
  3134. /tmp/cce1ybXB.s:1272 .text.HAL_ADCEx_MultiModeGetValue:0000000000000008 $d
  3135. /tmp/cce1ybXB.s:1277 .text.HAL_ADCEx_InjectedConvCpltCallback:0000000000000000 $t
  3136. /tmp/cce1ybXB.s:1284 .text.HAL_ADCEx_InjectedConvCpltCallback:0000000000000000 HAL_ADCEx_InjectedConvCpltCallback
  3137. /tmp/cce1ybXB.s:1297 .text.HAL_ADCEx_InjectedConfigChannel:0000000000000000 $t
  3138. /tmp/cce1ybXB.s:1304 .text.HAL_ADCEx_InjectedConfigChannel:0000000000000000 HAL_ADCEx_InjectedConfigChannel
  3139. /tmp/cce1ybXB.s:1617 .text.HAL_ADCEx_InjectedConfigChannel:0000000000000200 $d
  3140. /tmp/cce1ybXB.s:1624 .text.HAL_ADCEx_MultiModeConfigChannel:0000000000000000 $t
  3141. /tmp/cce1ybXB.s:1631 .text.HAL_ADCEx_MultiModeConfigChannel:0000000000000000 HAL_ADCEx_MultiModeConfigChannel
  3142. /tmp/cce1ybXB.s:1702 .text.HAL_ADCEx_MultiModeConfigChannel:0000000000000054 $d
  3143. .debug_frame:0000000000000010 $d
  3144. UNDEFINED SYMBOLS
  3145. HAL_ADC_ErrorCallback
  3146. HAL_ADC_ConvHalfCpltCallback
  3147. HAL_ADC_ConvCpltCallback
  3148. SystemCoreClock
  3149. HAL_GetTick
  3150. HAL_DMA_Start_IT
  3151. HAL_DMA_Abort