stm32f4xx_hal_adc_ex.lst 251 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029
  1. ARM GAS /tmp/ccYVRobT.s page 1
  2. 1 .cpu cortex-m4
  3. 2 .arch armv7e-m
  4. 3 .fpu fpv4-sp-d16
  5. 4 .eabi_attribute 27, 1
  6. 5 .eabi_attribute 28, 1
  7. 6 .eabi_attribute 20, 1
  8. 7 .eabi_attribute 21, 1
  9. 8 .eabi_attribute 23, 3
  10. 9 .eabi_attribute 24, 1
  11. 10 .eabi_attribute 25, 1
  12. 11 .eabi_attribute 26, 1
  13. 12 .eabi_attribute 30, 1
  14. 13 .eabi_attribute 34, 1
  15. 14 .eabi_attribute 18, 4
  16. 15 .file "stm32f4xx_hal_adc_ex.c"
  17. 16 .text
  18. 17 .Ltext0:
  19. 18 .cfi_sections .debug_frame
  20. 19 .section .text.ADC_MultiModeDMAError,"ax",%progbits
  21. 20 .align 1
  22. 21 .syntax unified
  23. 22 .thumb
  24. 23 .thumb_func
  25. 25 ADC_MultiModeDMAError:
  26. 26 .LVL0:
  27. 27 .LFB144:
  28. 28 .file 1 "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c"
  29. 1:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  30. 2:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ******************************************************************************
  31. 3:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @file stm32f4xx_hal_adc_ex.c
  32. 4:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @author MCD Application Team
  33. 5:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief This file provides firmware functions to manage the following
  34. 6:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * functionalities of the ADC extension peripheral:
  35. 7:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * + Extended features functions
  36. 8:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *
  37. 9:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** @verbatim
  38. 10:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ==============================================================================
  39. 11:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ##### How to use this driver #####
  40. 12:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ==============================================================================
  41. 13:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** [..]
  42. 14:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (#)Initialize the ADC low level resources by implementing the HAL_ADC_MspInit():
  43. 15:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (##) Enable the ADC interface clock using __HAL_RCC_ADC_CLK_ENABLE()
  44. 16:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (##) ADC pins configuration
  45. 17:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) Enable the clock for the ADC GPIOs using the following function:
  46. 18:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_RCC_GPIOx_CLK_ENABLE()
  47. 19:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) Configure these ADC pins in analog mode using HAL_GPIO_Init()
  48. 20:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (##) In case of using interrupts (e.g. HAL_ADC_Start_IT())
  49. 21:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) Configure the ADC interrupt priority using HAL_NVIC_SetPriority()
  50. 22:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) Enable the ADC IRQ handler using HAL_NVIC_EnableIRQ()
  51. 23:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) In ADC IRQ handler, call HAL_ADC_IRQHandler()
  52. 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())
  53. 25:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) Enable the DMAx interface clock using __HAL_RCC_DMAx_CLK_ENABLE()
  54. 26:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) Configure and enable two DMA streams stream for managing data
  55. 27:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** transfer from peripheral to memory (output stream)
  56. 28:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) Associate the initialized DMA handle to the ADC DMA handle
  57. 29:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** using __HAL_LINKDMA()
  58. 30:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) Configure the priority and enable the NVIC for the transfer complete
  59. ARM GAS /tmp/ccYVRobT.s page 2
  60. 31:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** interrupt on the two DMA Streams. The output stream should have higher
  61. 32:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** priority than the input stream.
  62. 33:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (#) Configure the ADC Prescaler, conversion resolution and data alignment
  63. 34:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** using the HAL_ADC_Init() function.
  64. 35:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  65. 36:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (#) Configure the ADC Injected channels group features, use HAL_ADC_Init()
  66. 37:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** and HAL_ADC_ConfigChannel() functions.
  67. 38:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  68. 39:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (#) Three operation modes are available within this driver :
  69. 40:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  70. 41:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *** Polling mode IO operation ***
  71. 42:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** =================================
  72. 43:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** [..]
  73. 44:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Start the ADC peripheral using HAL_ADCEx_InjectedStart()
  74. 45:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Wait for end of conversion using HAL_ADC_PollForConversion(), at this stage
  75. 46:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** user can specify the value of timeout according to his end application
  76. 47:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) To read the ADC converted values, use the HAL_ADCEx_InjectedGetValue() function.
  77. 48:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Stop the ADC peripheral using HAL_ADCEx_InjectedStop()
  78. 49:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  79. 50:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *** Interrupt mode IO operation ***
  80. 51:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ===================================
  81. 52:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** [..]
  82. 53:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Start the ADC peripheral using HAL_ADCEx_InjectedStart_IT()
  83. 54:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Use HAL_ADC_IRQHandler() called under ADC_IRQHandler() Interrupt subroutine
  84. 55:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) At ADC end of conversion HAL_ADCEx_InjectedConvCpltCallback() function is executed and u
  85. 56:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** add his own code by customization of function pointer HAL_ADCEx_InjectedConvCpltCallbac
  86. 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
  87. 58:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** add his own code by customization of function pointer HAL_ADCEx_InjectedErrorCallback
  88. 59:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Stop the ADC peripheral using HAL_ADCEx_InjectedStop_IT()
  89. 60:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  90. 61:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  91. 62:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *** DMA mode IO operation ***
  92. 63:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ==============================
  93. 64:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** [..]
  94. 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
  95. 66:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** of data to be transferred at each end of conversion
  96. 67:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) At The end of data transfer ba HAL_ADCEx_InjectedConvCpltCallback() function is executed
  97. 68:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** add his own code by customization of function pointer HAL_ADCEx_InjectedConvCpltCallbac
  98. 69:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) In case of transfer Error, HAL_ADCEx_InjectedErrorCallback() function is executed and us
  99. 70:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** add his own code by customization of function pointer HAL_ADCEx_InjectedErrorCallback
  100. 71:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Stop the ADC peripheral using HAL_ADCEx_InjectedStop_DMA()
  101. 72:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  102. 73:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *** Multi mode ADCs Regular channels configuration ***
  103. 74:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ======================================================
  104. 75:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** [..]
  105. 76:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Select the Multi mode ADC regular channels features (dual or triple mode)
  106. 77:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** and configure the DMA mode using HAL_ADCEx_MultiModeConfigChannel() functions.
  107. 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
  108. 79:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** of data to be transferred at each end of conversion
  109. 80:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Read the ADCs converted values using the HAL_ADCEx_MultiModeGetValue() function.
  110. 81:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  111. 82:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  112. 83:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** @endverbatim
  113. 84:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ******************************************************************************
  114. 85:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @attention
  115. 86:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *
  116. 87:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
  117. ARM GAS /tmp/ccYVRobT.s page 3
  118. 88:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * All rights reserved.</center></h2>
  119. 89:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *
  120. 90:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * This software component is licensed by ST under BSD 3-Clause license,
  121. 91:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the "License"; You may not use this file except in compliance with the
  122. 92:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * License. You may obtain a copy of the License at:
  123. 93:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * opensource.org/licenses/BSD-3-Clause
  124. 94:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *
  125. 95:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ******************************************************************************
  126. 96:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  127. 97:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  128. 98:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Includes ------------------------------------------------------------------*/
  129. 99:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** #include "stm32f4xx_hal.h"
  130. 100:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  131. 101:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /** @addtogroup STM32F4xx_HAL_Driver
  132. 102:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @{
  133. 103:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  134. 104:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  135. 105:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /** @defgroup ADCEx ADCEx
  136. 106:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief ADC Extended driver modules
  137. 107:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @{
  138. 108:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  139. 109:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  140. 110:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** #ifdef HAL_ADC_MODULE_ENABLED
  141. 111:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  142. 112:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Private typedef -----------------------------------------------------------*/
  143. 113:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Private define ------------------------------------------------------------*/
  144. 114:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Private macro -------------------------------------------------------------*/
  145. 115:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Private variables ---------------------------------------------------------*/
  146. 116:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /** @addtogroup ADCEx_Private_Functions
  147. 117:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @{
  148. 118:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  149. 119:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Private function prototypes -----------------------------------------------*/
  150. 120:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** static void ADC_MultiModeDMAConvCplt(DMA_HandleTypeDef *hdma);
  151. 121:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** static void ADC_MultiModeDMAError(DMA_HandleTypeDef *hdma);
  152. 122:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** static void ADC_MultiModeDMAHalfConvCplt(DMA_HandleTypeDef *hdma);
  153. 123:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  154. 124:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @}
  155. 125:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  156. 126:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  157. 127:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Exported functions --------------------------------------------------------*/
  158. 128:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /** @defgroup ADCEx_Exported_Functions ADC Exported Functions
  159. 129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @{
  160. 130:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  161. 131:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  162. 132:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /** @defgroup ADCEx_Exported_Functions_Group1 Extended features functions
  163. 133:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Extended features functions
  164. 134:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *
  165. 135:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** @verbatim
  166. 136:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ===============================================================================
  167. 137:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ##### Extended features functions #####
  168. 138:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ===============================================================================
  169. 139:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** [..] This section provides functions allowing to:
  170. 140:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Start conversion of injected channel.
  171. 141:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Stop conversion of injected channel.
  172. 142:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Start multimode and enable DMA transfer.
  173. 143:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Stop multimode and disable DMA transfer.
  174. 144:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Get result of injected channel conversion.
  175. ARM GAS /tmp/ccYVRobT.s page 4
  176. 145:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Get result of multimode conversion.
  177. 146:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Configure injected channels.
  178. 147:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Configure multimode.
  179. 148:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  180. 149:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** @endverbatim
  181. 150:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @{
  182. 151:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  183. 152:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  184. 153:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  185. 154:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Enables the selected ADC software start conversion of the injected channels.
  186. 155:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  187. 156:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
  188. 157:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval HAL status
  189. 158:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  190. 159:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_InjectedStart(ADC_HandleTypeDef* hadc)
  191. 160:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  192. 161:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t counter = 0U;
  193. 162:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tmp1 = 0U, tmp2 = 0U;
  194. 163:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
  195. 164:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  196. 165:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process locked */
  197. 166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
  198. 167:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  199. 168:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the ADC peripheral */
  200. 169:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  201. 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
  202. 171:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** Tstab time the ADC's stabilization */
  203. 172:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance->CR2 & ADC_CR2_ADON) != ADC_CR2_ADON)
  204. 173:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  205. 174:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the Peripheral */
  206. 175:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_ENABLE(hadc);
  207. 176:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  208. 177:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Delay for ADC stabilization time */
  209. 178:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Compute number of CPU cycles to wait for */
  210. 179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U));
  211. 180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
  212. 181:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  213. 182:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** counter--;
  214. 183:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  215. 184:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  216. 185:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  217. 186:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Start conversion if ADC is effectively enabled */
  218. 187:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(HAL_IS_BIT_SET(hadc->Instance->CR2, ADC_CR2_ADON))
  219. 188:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  220. 189:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC state */
  221. 190:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - Clear state bitfield related to injected group conversion results */
  222. 191:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - Set state bitfield related to injected operation */
  223. 192:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
  224. 193:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_INJ_EOC,
  225. 194:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_INJ_BUSY);
  226. 195:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  227. 196:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if a regular conversion is ongoing */
  228. 197:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Note: On this device, there is no ADC error code fields related to */
  229. 198:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* conversions on group injected only. In case of conversion on */
  230. 199:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* going on group regular, no error code is reset. */
  231. 200:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_REG_BUSY))
  232. 201:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  233. ARM GAS /tmp/ccYVRobT.s page 5
  234. 202:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Reset ADC all error code fields */
  235. 203:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_CLEAR_ERRORCODE(hadc);
  236. 204:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  237. 205:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  238. 206:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
  239. 207:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Unlock before starting ADC conversions: in case of potential */
  240. 208:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* interruption, to let the process to ADC IRQ Handler. */
  241. 209:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
  242. 210:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  243. 211:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Clear injected group conversion flag */
  244. 212:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* (To ensure of no unknown state from potential previous ADC operations) */
  245. 213:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_JEOC);
  246. 214:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  247. 215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Pointer to the common control register to which is belonging hadc */
  248. 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 */
  249. 217:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* control register) */
  250. 218:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
  251. 219:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  252. 220:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if Multimode enabled */
  253. 221:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(HAL_IS_BIT_CLR(tmpADC_Common->CCR, ADC_CCR_MULTI))
  254. 222:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  255. 223:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN);
  256. 224:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
  257. 225:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(tmp1 && tmp2)
  258. 226:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  259. 227:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the selected ADC software conversion for injected group */
  260. 228:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= ADC_CR2_JSWSTART;
  261. 229:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  262. 230:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  263. 231:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
  264. 232:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  265. 233:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN);
  266. 234:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
  267. 235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance == ADC1) && tmp1 && tmp2)
  268. 236:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  269. 237:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the selected ADC software conversion for injected group */
  270. 238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= ADC_CR2_JSWSTART;
  271. 239:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  272. 240:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  273. 241:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  274. 242:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  275. 243:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return function status */
  276. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_OK;
  277. 245:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  278. 246:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  279. 247:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  280. 248:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Enables the interrupt and starts ADC conversion of injected channels.
  281. 249:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  282. 250:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
  283. 251:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *
  284. 252:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval HAL status.
  285. 253:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  286. 254:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_InjectedStart_IT(ADC_HandleTypeDef* hadc)
  287. 255:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  288. 256:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t counter = 0U;
  289. 257:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tmp1 = 0U, tmp2 = 0U;
  290. 258:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
  291. ARM GAS /tmp/ccYVRobT.s page 6
  292. 259:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  293. 260:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process locked */
  294. 261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
  295. 262:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  296. 263:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the ADC peripheral */
  297. 264:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  298. 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
  299. 266:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** Tstab time the ADC's stabilization */
  300. 267:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance->CR2 & ADC_CR2_ADON) != ADC_CR2_ADON)
  301. 268:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  302. 269:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the Peripheral */
  303. 270:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_ENABLE(hadc);
  304. 271:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  305. 272:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Delay for ADC stabilization time */
  306. 273:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Compute number of CPU cycles to wait for */
  307. 274:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U));
  308. 275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
  309. 276:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  310. 277:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** counter--;
  311. 278:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  312. 279:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  313. 280:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  314. 281:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Start conversion if ADC is effectively enabled */
  315. 282:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(HAL_IS_BIT_SET(hadc->Instance->CR2, ADC_CR2_ADON))
  316. 283:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  317. 284:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC state */
  318. 285:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - Clear state bitfield related to injected group conversion results */
  319. 286:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - Set state bitfield related to injected operation */
  320. 287:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
  321. 288:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_INJ_EOC,
  322. 289:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_INJ_BUSY);
  323. 290:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  324. 291:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if a regular conversion is ongoing */
  325. 292:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Note: On this device, there is no ADC error code fields related to */
  326. 293:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* conversions on group injected only. In case of conversion on */
  327. 294:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* going on group regular, no error code is reset. */
  328. 295:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_REG_BUSY))
  329. 296:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  330. 297:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Reset ADC all error code fields */
  331. 298:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_CLEAR_ERRORCODE(hadc);
  332. 299:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  333. 300:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  334. 301:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
  335. 302:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Unlock before starting ADC conversions: in case of potential */
  336. 303:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* interruption, to let the process to ADC IRQ Handler. */
  337. 304:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
  338. 305:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  339. 306:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Clear injected group conversion flag */
  340. 307:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* (To ensure of no unknown state from potential previous ADC operations) */
  341. 308:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_JEOC);
  342. 309:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  343. 310:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable end of conversion interrupt for injected channels */
  344. 311:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_ENABLE_IT(hadc, ADC_IT_JEOC);
  345. 312:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  346. 313:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Pointer to the common control register to which is belonging hadc */
  347. 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 */
  348. 315:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* control register) */
  349. ARM GAS /tmp/ccYVRobT.s page 7
  350. 316:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
  351. 317:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  352. 318:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if Multimode enabled */
  353. 319:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(HAL_IS_BIT_CLR(tmpADC_Common->CCR, ADC_CCR_MULTI))
  354. 320:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  355. 321:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN);
  356. 322:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
  357. 323:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(tmp1 && tmp2)
  358. 324:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  359. 325:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the selected ADC software conversion for injected group */
  360. 326:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= ADC_CR2_JSWSTART;
  361. 327:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  362. 328:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  363. 329:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
  364. 330:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  365. 331:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN);
  366. 332:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
  367. 333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance == ADC1) && tmp1 && tmp2)
  368. 334:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  369. 335:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the selected ADC software conversion for injected group */
  370. 336:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= ADC_CR2_JSWSTART;
  371. 337:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  372. 338:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  373. 339:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  374. 340:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  375. 341:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return function status */
  376. 342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_OK;
  377. 343:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  378. 344:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  379. 345:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  380. 346:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Stop conversion of injected channels. Disable ADC peripheral if
  381. 347:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * no regular conversion is on going.
  382. 348:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @note If ADC must be disabled and if conversion is on going on
  383. 349:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * regular group, function HAL_ADC_Stop must be used to stop both
  384. 350:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * injected and regular groups, and disable the ADC.
  385. 351:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @note If injected group mode auto-injection is enabled,
  386. 352:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * function HAL_ADC_Stop must be used.
  387. 353:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @note In case of auto-injection mode, HAL_ADC_Stop must be used.
  388. 354:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc ADC handle
  389. 355:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval None
  390. 356:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  391. 357:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_InjectedStop(ADC_HandleTypeDef* hadc)
  392. 358:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  393. 359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
  394. 360:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  395. 361:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check the parameters */
  396. 362:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
  397. 363:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  398. 364:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process locked */
  399. 365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
  400. 366:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  401. 367:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Stop potential conversion and disable ADC peripheral */
  402. 368:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Conditioned to: */
  403. 369:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - No conversion on the other group (regular group) is intended to */
  404. 370:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* continue (injected and regular groups stop conversion and ADC disable */
  405. 371:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* are common) */
  406. 372:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - In case of auto-injection mode, HAL_ADC_Stop must be used. */
  407. ARM GAS /tmp/ccYVRobT.s page 8
  408. 373:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(((hadc->State & HAL_ADC_STATE_REG_BUSY) == RESET) &&
  409. 374:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
  410. 375:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  411. 376:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Stop potential conversion on going, on regular and injected groups */
  412. 377:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable ADC peripheral */
  413. 378:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_DISABLE(hadc);
  414. 379:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  415. 380:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if ADC is effectively disabled */
  416. 381:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_ADON))
  417. 382:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  418. 383:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC state */
  419. 384:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
  420. 385:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
  421. 386:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_READY);
  422. 387:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  423. 388:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  424. 389:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
  425. 390:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  426. 391:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Update ADC state machine to error */
  427. 392:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG);
  428. 393:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  429. 394:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp_hal_status = HAL_ERROR;
  430. 395:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  431. 396:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  432. 397:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
  433. 398:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
  434. 399:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  435. 400:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return function status */
  436. 401:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return tmp_hal_status;
  437. 402:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  438. 403:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  439. 404:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  440. 405:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Poll for injected conversion complete
  441. 406:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  442. 407:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
  443. 408:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param Timeout Timeout value in millisecond.
  444. 409:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval HAL status
  445. 410:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  446. 411:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_InjectedPollForConversion(ADC_HandleTypeDef* hadc, uint32_t Timeout)
  447. 412:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  448. 413:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tickstart = 0U;
  449. 414:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  450. 415:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Get tick */
  451. 416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tickstart = HAL_GetTick();
  452. 417:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  453. 418:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check End of conversion flag */
  454. 419:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(!(__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_JEOC)))
  455. 420:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  456. 421:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check for the Timeout */
  457. 422:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(Timeout != HAL_MAX_DELAY)
  458. 423:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  459. 424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((Timeout == 0U)||((HAL_GetTick() - tickstart ) > Timeout))
  460. 425:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  461. 426:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->State= HAL_ADC_STATE_TIMEOUT;
  462. 427:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
  463. 428:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
  464. 429:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_TIMEOUT;
  465. ARM GAS /tmp/ccYVRobT.s page 9
  466. 430:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  467. 431:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  468. 432:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  469. 433:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  470. 434:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Clear injected group conversion flag */
  471. 435:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_JSTRT | ADC_FLAG_JEOC);
  472. 436:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  473. 437:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Update ADC state machine */
  474. 438:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_INJ_EOC);
  475. 439:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  476. 440:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Determine whether any further conversion upcoming on group injected */
  477. 441:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* by external trigger, continuous mode or scan sequence on going. */
  478. 442:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Note: On STM32F4, there is no independent flag of end of sequence. */
  479. 443:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* The test of scan sequence on going is done either with scan */
  480. 444:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* sequence disabled or with end of conversion flag set to */
  481. 445:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* of end of sequence. */
  482. 446:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(ADC_IS_SOFTWARE_START_INJECTED(hadc) &&
  483. 447:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->JSQR, ADC_JSQR_JL) ||
  484. 448:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) &&
  485. 449:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) &&
  486. 450:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
  487. 451:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (hadc->Init.ContinuousConvMode == DISABLE) ) ) )
  488. 452:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  489. 453:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC state */
  490. 454:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_INJ_BUSY);
  491. 455:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  492. 456:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_REG_BUSY))
  493. 457:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  494. 458:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_READY);
  495. 459:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  496. 460:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  497. 461:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  498. 462:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return ADC state */
  499. 463:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_OK;
  500. 464:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  501. 465:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  502. 466:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  503. 467:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Stop conversion of injected channels, disable interruption of
  504. 468:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * end-of-conversion. Disable ADC peripheral if no regular conversion
  505. 469:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * is on going.
  506. 470:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @note If ADC must be disabled and if conversion is on going on
  507. 471:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * regular group, function HAL_ADC_Stop must be used to stop both
  508. 472:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * injected and regular groups, and disable the ADC.
  509. 473:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @note If injected group mode auto-injection is enabled,
  510. 474:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * function HAL_ADC_Stop must be used.
  511. 475:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc ADC handle
  512. 476:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval None
  513. 477:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  514. 478:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_InjectedStop_IT(ADC_HandleTypeDef* hadc)
  515. 479:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  516. 480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
  517. 481:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  518. 482:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check the parameters */
  519. 483:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
  520. 484:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  521. 485:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process locked */
  522. 486:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
  523. ARM GAS /tmp/ccYVRobT.s page 10
  524. 487:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  525. 488:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Stop potential conversion and disable ADC peripheral */
  526. 489:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Conditioned to: */
  527. 490:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - No conversion on the other group (regular group) is intended to */
  528. 491:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* continue (injected and regular groups stop conversion and ADC disable */
  529. 492:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* are common) */
  530. 493:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - In case of auto-injection mode, HAL_ADC_Stop must be used. */
  531. 494:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(((hadc->State & HAL_ADC_STATE_REG_BUSY) == RESET) &&
  532. 495:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
  533. 496:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  534. 497:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Stop potential conversion on going, on regular and injected groups */
  535. 498:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable ADC peripheral */
  536. 499:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_DISABLE(hadc);
  537. 500:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  538. 501:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if ADC is effectively disabled */
  539. 502:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_ADON))
  540. 503:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  541. 504:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable ADC end of conversion interrupt for injected channels */
  542. 505:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_JEOC);
  543. 506:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  544. 507:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC state */
  545. 508:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
  546. 509:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
  547. 510:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_READY);
  548. 511:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  549. 512:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  550. 513:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
  551. 514:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  552. 515:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Update ADC state machine to error */
  553. 516:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG);
  554. 517:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  555. 518:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp_hal_status = HAL_ERROR;
  556. 519:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  557. 520:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  558. 521:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
  559. 522:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
  560. 523:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  561. 524:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return function status */
  562. 525:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return tmp_hal_status;
  563. 526:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  564. 527:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  565. 528:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  566. 529:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Gets the converted value from data register of injected channel.
  567. 530:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  568. 531:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
  569. 532:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param InjectedRank the ADC injected rank.
  570. 533:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * This parameter can be one of the following values:
  571. 534:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @arg ADC_INJECTED_RANK_1: Injected Channel1 selected
  572. 535:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @arg ADC_INJECTED_RANK_2: Injected Channel2 selected
  573. 536:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @arg ADC_INJECTED_RANK_3: Injected Channel3 selected
  574. 537:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @arg ADC_INJECTED_RANK_4: Injected Channel4 selected
  575. 538:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval None
  576. 539:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  577. 540:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t HAL_ADCEx_InjectedGetValue(ADC_HandleTypeDef* hadc, uint32_t InjectedRank)
  578. 541:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  579. 542:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t tmp = 0U;
  580. 543:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  581. ARM GAS /tmp/ccYVRobT.s page 11
  582. 544:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check the parameters */
  583. 545:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_INJECTED_RANK(InjectedRank));
  584. 546:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  585. 547:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Clear injected group conversion flag to have similar behaviour as */
  586. 548:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* regular group: reading data register also clears end of conversion flag. */
  587. 549:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_JEOC);
  588. 550:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  589. 551:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return the selected ADC converted value */
  590. 552:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** switch(InjectedRank)
  591. 553:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  592. 554:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_4:
  593. 555:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  594. 556:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp = hadc->Instance->JDR4;
  595. 557:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  596. 558:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  597. 559:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_3:
  598. 560:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  599. 561:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp = hadc->Instance->JDR3;
  600. 562:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  601. 563:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  602. 564:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_2:
  603. 565:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  604. 566:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp = hadc->Instance->JDR2;
  605. 567:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  606. 568:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  607. 569:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_1:
  608. 570:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  609. 571:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp = hadc->Instance->JDR1;
  610. 572:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  611. 573:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  612. 574:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** default:
  613. 575:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  614. 576:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  615. 577:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return tmp;
  616. 578:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  617. 579:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  618. 580:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  619. 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
  620. 582:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *
  621. 583:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @note Caution: This function must be used only with the ADC master.
  622. 584:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *
  623. 585:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  624. 586:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
  625. 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
  626. 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.
  627. 589:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval HAL status
  628. 590:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  629. 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
  630. 592:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  631. 593:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t counter = 0U;
  632. 594:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
  633. 595:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  634. 596:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check the parameters */
  635. 597:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.ContinuousConvMode));
  636. 598:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_EXT_TRIG_EDGE(hadc->Init.ExternalTrigConvEdge));
  637. 599:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.DMAContinuousRequests));
  638. 600:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  639. ARM GAS /tmp/ccYVRobT.s page 12
  640. 601:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process locked */
  641. 602:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
  642. 603:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  643. 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
  644. 605:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** Tstab time the ADC's stabilization */
  645. 606:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance->CR2 & ADC_CR2_ADON) != ADC_CR2_ADON)
  646. 607:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  647. 608:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the Peripheral */
  648. 609:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_ENABLE(hadc);
  649. 610:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  650. 611:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Delay for temperature sensor stabilization time */
  651. 612:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Compute number of CPU cycles to wait for */
  652. 613:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U));
  653. 614:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
  654. 615:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  655. 616:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** counter--;
  656. 617:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  657. 618:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  658. 619:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  659. 620:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Start conversion if ADC is effectively enabled */
  660. 621:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(HAL_IS_BIT_SET(hadc->Instance->CR2, ADC_CR2_ADON))
  661. 622:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  662. 623:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC state */
  663. 624:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - Clear state bitfield related to regular group conversion results */
  664. 625:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - Set state bitfield related to regular group operation */
  665. 626:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
  666. 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,
  667. 628:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY);
  668. 629:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  669. 630:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* If conversions on group regular are also triggering group injected, */
  670. 631:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* update ADC state. */
  671. 632:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (READ_BIT(hadc->Instance->CR1, ADC_CR1_JAUTO) != RESET)
  672. 633:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  673. 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);
  674. 635:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  675. 636:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  676. 637:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* State machine update: Check if an injected conversion is ongoing */
  677. 638:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (HAL_IS_BIT_SET(hadc->State, HAL_ADC_STATE_INJ_BUSY))
  678. 639:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  679. 640:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Reset ADC error code fields related to conversions on group regular */
  680. 641:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** CLEAR_BIT(hadc->ErrorCode, (HAL_ADC_ERROR_OVR | HAL_ADC_ERROR_DMA));
  681. 642:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  682. 643:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
  683. 644:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  684. 645:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Reset ADC all error code fields */
  685. 646:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_CLEAR_ERRORCODE(hadc);
  686. 647:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  687. 648:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  688. 649:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
  689. 650:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Unlock before starting ADC conversions: in case of potential */
  690. 651:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* interruption, to let the process to ADC IRQ Handler. */
  691. 652:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
  692. 653:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  693. 654:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set the DMA transfer complete callback */
  694. 655:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->DMA_Handle->XferCpltCallback = ADC_MultiModeDMAConvCplt;
  695. 656:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  696. 657:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set the DMA half transfer complete callback */
  697. ARM GAS /tmp/ccYVRobT.s page 13
  698. 658:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->DMA_Handle->XferHalfCpltCallback = ADC_MultiModeDMAHalfConvCplt;
  699. 659:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  700. 660:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set the DMA error callback */
  701. 661:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->DMA_Handle->XferErrorCallback = ADC_MultiModeDMAError ;
  702. 662:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  703. 663:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Manage ADC and DMA start: ADC overrun interruption, DMA start, ADC */
  704. 664:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* start (in case of SW start): */
  705. 665:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  706. 666:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Clear regular group conversion flag and overrun flag */
  707. 667:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* (To ensure of no unknown state from potential previous ADC operations) */
  708. 668:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_EOC);
  709. 669:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  710. 670:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable ADC overrun interrupt */
  711. 671:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_ENABLE_IT(hadc, ADC_IT_OVR);
  712. 672:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  713. 673:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Pointer to the common control register to which is belonging hadc */
  714. 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 */
  715. 675:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* control register) */
  716. 676:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
  717. 677:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  718. 678:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (hadc->Init.DMAContinuousRequests != DISABLE)
  719. 679:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  720. 680:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the selected ADC DMA request after last transfer */
  721. 681:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= ADC_CCR_DDS;
  722. 682:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  723. 683:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
  724. 684:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  725. 685:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable the selected ADC EOC rising on each regular channel conversion */
  726. 686:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR &= ~ADC_CCR_DDS;
  727. 687:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  728. 688:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  729. 689:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the DMA Stream */
  730. 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);
  731. 691:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  732. 692:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* if no external trigger present enable software conversion of regular channels */
  733. 693:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance->CR2 & ADC_CR2_EXTEN) == RESET)
  734. 694:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  735. 695:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the selected ADC software conversion for regular group */
  736. 696:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= (uint32_t)ADC_CR2_SWSTART;
  737. 697:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  738. 698:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  739. 699:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  740. 700:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return function status */
  741. 701:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_OK;
  742. 702:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  743. 703:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  744. 704:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  745. 705:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Disables ADC DMA (multi-ADC mode) and disables ADC peripheral
  746. 706:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  747. 707:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
  748. 708:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval HAL status
  749. 709:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  750. 710:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_MultiModeStop_DMA(ADC_HandleTypeDef* hadc)
  751. 711:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  752. 712:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
  753. 713:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
  754. 714:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  755. ARM GAS /tmp/ccYVRobT.s page 14
  756. 715:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check the parameters */
  757. 716:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
  758. 717:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  759. 718:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process locked */
  760. 719:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
  761. 720:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  762. 721:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Stop potential conversion on going, on regular and injected groups */
  763. 722:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable ADC peripheral */
  764. 723:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_DISABLE(hadc);
  765. 724:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  766. 725:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Pointer to the common control register to which is belonging hadc */
  767. 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 */
  768. 727:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* control register) */
  769. 728:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
  770. 729:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  771. 730:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if ADC is effectively disabled */
  772. 731:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_ADON))
  773. 732:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  774. 733:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable the selected ADC DMA mode for multimode */
  775. 734:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR &= ~ADC_CCR_DDS;
  776. 735:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  777. 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 */
  778. 737:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* DMA transfer is on going) */
  779. 738:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp_hal_status = HAL_DMA_Abort(hadc->DMA_Handle);
  780. 739:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  781. 740:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable ADC overrun interrupt */
  782. 741:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_OVR);
  783. 742:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  784. 743:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC state */
  785. 744:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
  786. 745:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
  787. 746:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_READY);
  788. 747:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  789. 748:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  790. 749:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
  791. 750:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
  792. 751:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  793. 752:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return function status */
  794. 753:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return tmp_hal_status;
  795. 754:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  796. 755:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  797. 756:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  798. 757:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Returns the last ADC1, ADC2 and ADC3 regular conversions results
  799. 758:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * data in the selected multi mode.
  800. 759:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  801. 760:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
  802. 761:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval The converted data value.
  803. 762:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  804. 763:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t HAL_ADCEx_MultiModeGetValue(ADC_HandleTypeDef* hadc)
  805. 764:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  806. 765:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
  807. 766:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  808. 767:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Pointer to the common control register to which is belonging hadc */
  809. 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 */
  810. 769:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* control register) */
  811. 770:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
  812. 771:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  813. ARM GAS /tmp/ccYVRobT.s page 15
  814. 772:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return the multi mode conversion value */
  815. 773:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return tmpADC_Common->CDR;
  816. 774:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  817. 775:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  818. 776:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  819. 777:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Injected conversion complete callback in non blocking mode
  820. 778:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  821. 779:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
  822. 780:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval None
  823. 781:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  824. 782:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __weak void HAL_ADCEx_InjectedConvCpltCallback(ADC_HandleTypeDef* hadc)
  825. 783:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  826. 784:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Prevent unused argument(s) compilation warning */
  827. 785:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** UNUSED(hadc);
  828. 786:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* NOTE : This function Should not be modified, when the callback is needed,
  829. 787:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** the HAL_ADC_InjectedConvCpltCallback could be implemented in the user file
  830. 788:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  831. 789:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  832. 790:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  833. 791:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  834. 792:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Configures for the selected ADC injected channel its corresponding
  835. 793:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * rank in the sequencer and its sample time.
  836. 794:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  837. 795:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
  838. 796:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param sConfigInjected ADC configuration structure for injected channel.
  839. 797:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval None
  840. 798:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  841. 799:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_InjectedConfigChannel(ADC_HandleTypeDef* hadc, ADC_InjectionConfTypeDef
  842. 800:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  843. 801:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  844. 802:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** #ifdef USE_FULL_ASSERT
  845. 803:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tmp = 0U;
  846. 804:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  847. 805:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** #endif /* USE_FULL_ASSERT */
  848. 806:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  849. 807:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
  850. 808:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  851. 809:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check the parameters */
  852. 810:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_CHANNEL(sConfigInjected->InjectedChannel));
  853. 811:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_INJECTED_RANK(sConfigInjected->InjectedRank));
  854. 812:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_SAMPLE_TIME(sConfigInjected->InjectedSamplingTime));
  855. 813:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_EXT_INJEC_TRIG(sConfigInjected->ExternalTrigInjecConv));
  856. 814:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_INJECTED_LENGTH(sConfigInjected->InjectedNbrOfConversion));
  857. 815:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_FUNCTIONAL_STATE(sConfigInjected->AutoInjectedConv));
  858. 816:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_FUNCTIONAL_STATE(sConfigInjected->InjectedDiscontinuousConvMode));
  859. 817:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  860. 818:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** #ifdef USE_FULL_ASSERT
  861. 819:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp = ADC_GET_RESOLUTION(hadc);
  862. 820:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_RANGE(tmp, sConfigInjected->InjectedOffset));
  863. 821:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** #endif /* USE_FULL_ASSERT */
  864. 822:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  865. 823:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(sConfigInjected->ExternalTrigInjecConv != ADC_INJECTED_SOFTWARE_START)
  866. 824:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  867. 825:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_EXT_INJEC_TRIG_EDGE(sConfigInjected->ExternalTrigInjecConvEdge));
  868. 826:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  869. 827:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  870. 828:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process locked */
  871. ARM GAS /tmp/ccYVRobT.s page 16
  872. 829:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
  873. 830:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  874. 831:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* if ADC_Channel_10 ... ADC_Channel_18 is selected */
  875. 832:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (sConfigInjected->InjectedChannel > ADC_CHANNEL_9)
  876. 833:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  877. 834:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Clear the old sample time */
  878. 835:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->SMPR1 &= ~ADC_SMPR1(ADC_SMPR1_SMP10, sConfigInjected->InjectedChannel);
  879. 836:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  880. 837:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set the new sample time */
  881. 838:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->SMPR1 |= ADC_SMPR1(sConfigInjected->InjectedSamplingTime, sConfigInjected->Inje
  882. 839:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  883. 840:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else /* ADC_Channel include in ADC_Channel_[0..9] */
  884. 841:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  885. 842:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Clear the old sample time */
  886. 843:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->SMPR2 &= ~ADC_SMPR2(ADC_SMPR2_SMP0, sConfigInjected->InjectedChannel);
  887. 844:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  888. 845:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set the new sample time */
  889. 846:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->SMPR2 |= ADC_SMPR2(sConfigInjected->InjectedSamplingTime, sConfigInjected->Inje
  890. 847:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  891. 848:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  892. 849:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /*---------------------------- ADCx JSQR Configuration -----------------*/
  893. 850:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JSQR &= ~(ADC_JSQR_JL);
  894. 851:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JSQR |= ADC_SQR1(sConfigInjected->InjectedNbrOfConversion);
  895. 852:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  896. 853:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Rank configuration */
  897. 854:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  898. 855:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Clear the old SQx bits for the selected rank */
  899. 856:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JSQR &= ~ADC_JSQR(ADC_JSQR_JSQ1, sConfigInjected->InjectedRank,sConfigInjected->I
  900. 857:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  901. 858:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set the SQx bits for the selected rank */
  902. 859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JSQR |= ADC_JSQR(sConfigInjected->InjectedChannel, sConfigInjected->InjectedRank,
  903. 860:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  904. 861:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable external trigger if trigger selection is different of software */
  905. 862:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* start. */
  906. 863:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Note: This configuration keeps the hardware feature of parameter */
  907. 864:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* ExternalTrigConvEdge "trigger edge none" equivalent to */
  908. 865:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* software start. */
  909. 866:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(sConfigInjected->ExternalTrigInjecConv != ADC_INJECTED_SOFTWARE_START)
  910. 867:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  911. 868:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Select external trigger to start conversion */
  912. 869:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 &= ~(ADC_CR2_JEXTSEL);
  913. 870:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= sConfigInjected->ExternalTrigInjecConv;
  914. 871:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  915. 872:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Select external trigger polarity */
  916. 873:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 &= ~(ADC_CR2_JEXTEN);
  917. 874:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= sConfigInjected->ExternalTrigInjecConvEdge;
  918. 875:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  919. 876:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
  920. 877:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  921. 878:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Reset the external trigger */
  922. 879:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 &= ~(ADC_CR2_JEXTSEL);
  923. 880:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 &= ~(ADC_CR2_JEXTEN);
  924. 881:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  925. 882:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  926. 883:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (sConfigInjected->AutoInjectedConv != DISABLE)
  927. 884:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  928. 885:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the selected ADC automatic injected group conversion */
  929. ARM GAS /tmp/ccYVRobT.s page 17
  930. 886:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR1 |= ADC_CR1_JAUTO;
  931. 887:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  932. 888:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
  933. 889:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  934. 890:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable the selected ADC automatic injected group conversion */
  935. 891:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR1 &= ~(ADC_CR1_JAUTO);
  936. 892:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  937. 893:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  938. 894:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (sConfigInjected->InjectedDiscontinuousConvMode != DISABLE)
  939. 895:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  940. 896:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the selected ADC injected discontinuous mode */
  941. 897:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR1 |= ADC_CR1_JDISCEN;
  942. 898:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  943. 899:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
  944. 900:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  945. 901:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable the selected ADC injected discontinuous mode */
  946. 902:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR1 &= ~(ADC_CR1_JDISCEN);
  947. 903:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  948. 904:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  949. 905:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** switch(sConfigInjected->InjectedRank)
  950. 906:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  951. 907:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case 1U:
  952. 908:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set injected channel 1 offset */
  953. 909:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR1 &= ~(ADC_JOFR1_JOFFSET1);
  954. 910:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR1 |= sConfigInjected->InjectedOffset;
  955. 911:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  956. 912:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case 2U:
  957. 913:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set injected channel 2 offset */
  958. 914:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR2 &= ~(ADC_JOFR2_JOFFSET2);
  959. 915:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR2 |= sConfigInjected->InjectedOffset;
  960. 916:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  961. 917:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case 3U:
  962. 918:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set injected channel 3 offset */
  963. 919:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR3 &= ~(ADC_JOFR3_JOFFSET3);
  964. 920:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR3 |= sConfigInjected->InjectedOffset;
  965. 921:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  966. 922:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** default:
  967. 923:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set injected channel 4 offset */
  968. 924:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR4 &= ~(ADC_JOFR4_JOFFSET4);
  969. 925:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR4 |= sConfigInjected->InjectedOffset;
  970. 926:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  971. 927:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  972. 928:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  973. 929:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Pointer to the common control register to which is belonging hadc */
  974. 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 */
  975. 931:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* control register) */
  976. 932:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
  977. 933:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  978. 934:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* if ADC1 Channel_18 is selected enable VBAT Channel */
  979. 935:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if ((hadc->Instance == ADC1) && (sConfigInjected->InjectedChannel == ADC_CHANNEL_VBAT))
  980. 936:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  981. 937:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the VBAT channel*/
  982. 938:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= ADC_CCR_VBATE;
  983. 939:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  984. 940:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  985. 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
  986. 942:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if ((hadc->Instance == ADC1) && ((sConfigInjected->InjectedChannel == ADC_CHANNEL_TEMPSENSOR) ||
  987. ARM GAS /tmp/ccYVRobT.s page 18
  988. 943:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  989. 944:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the TSVREFE channel*/
  990. 945:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= ADC_CCR_TSVREFE;
  991. 946:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  992. 947:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  993. 948:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
  994. 949:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
  995. 950:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  996. 951:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return function status */
  997. 952:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_OK;
  998. 953:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  999. 954:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1000. 955:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  1001. 956:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Configures the ADC multi-mode
  1002. 957:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  1003. 958:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
  1004. 959:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param multimode pointer to an ADC_MultiModeTypeDef structure that contains
  1005. 960:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for multimode.
  1006. 961:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval HAL status
  1007. 962:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  1008. 963:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_MultiModeConfigChannel(ADC_HandleTypeDef* hadc, ADC_MultiModeTypeDef* m
  1009. 964:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1010. 965:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1011. 966:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
  1012. 967:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1013. 968:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check the parameters */
  1014. 969:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_MODE(multimode->Mode));
  1015. 970:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_DMA_ACCESS_MODE(multimode->DMAAccessMode));
  1016. 971:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_SAMPLING_DELAY(multimode->TwoSamplingDelay));
  1017. 972:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1018. 973:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process locked */
  1019. 974:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
  1020. 975:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1021. 976:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Pointer to the common control register to which is belonging hadc */
  1022. 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 */
  1023. 978:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* control register) */
  1024. 979:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
  1025. 980:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1026. 981:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC mode */
  1027. 982:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR &= ~(ADC_CCR_MULTI);
  1028. 983:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= multimode->Mode;
  1029. 984:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1030. 985:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set the ADC DMA access mode */
  1031. 986:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR &= ~(ADC_CCR_DMA);
  1032. 987:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= multimode->DMAAccessMode;
  1033. 988:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1034. 989:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set delay between two sampling phases */
  1035. 990:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR &= ~(ADC_CCR_DELAY);
  1036. 991:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= multimode->TwoSamplingDelay;
  1037. 992:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1038. 993:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
  1039. 994:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
  1040. 995:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1041. 996:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return function status */
  1042. 997:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_OK;
  1043. 998:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1044. 999:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1045. ARM GAS /tmp/ccYVRobT.s page 19
  1046. 1000:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  1047. 1001:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @}
  1048. 1002:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  1049. 1003:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1050. 1004:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  1051. 1005:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief DMA transfer complete callback.
  1052. 1006:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  1053. 1007:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified DMA module.
  1054. 1008:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval None
  1055. 1009:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  1056. 1010:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** static void ADC_MultiModeDMAConvCplt(DMA_HandleTypeDef *hdma)
  1057. 1011:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1058. 1012:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Retrieve ADC handle corresponding to current DMA handle */
  1059. 1013:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_HandleTypeDef* hadc = ( ADC_HandleTypeDef* )((DMA_HandleTypeDef* )hdma)->Parent;
  1060. 1014:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1061. 1015:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Update state machine on conversion status if not in error state */
  1062. 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))
  1063. 1017:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1064. 1018:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Update ADC state machine */
  1065. 1019:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_REG_EOC);
  1066. 1020:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1067. 1021:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Determine whether any further conversion upcoming on group regular */
  1068. 1022:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* by external trigger, continuous mode or scan sequence on going. */
  1069. 1023:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Note: On STM32F4, there is no independent flag of end of sequence. */
  1070. 1024:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* The test of scan sequence on going is done either with scan */
  1071. 1025:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* sequence disabled or with end of conversion flag set to */
  1072. 1026:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* of end of sequence. */
  1073. 1027:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
  1074. 1028:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
  1075. 1029:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->SQR1, ADC_SQR1_L) ||
  1076. 1030:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) )
  1077. 1031:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1078. 1032:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable ADC end of single conversion interrupt on group regular */
  1079. 1033:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Note: Overrun interrupt was enabled with EOC interrupt in */
  1080. 1034:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* HAL_ADC_Start_IT(), but is not disabled here because can be used */
  1081. 1035:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* by overrun IRQ process below. */
  1082. 1036:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_EOC);
  1083. 1037:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1084. 1038:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC state */
  1085. 1039:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_REG_BUSY);
  1086. 1040:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1087. 1041:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_INJ_BUSY))
  1088. 1042:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1089. 1043:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_READY);
  1090. 1044:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1091. 1045:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1092. 1046:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1093. 1047:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Conversion complete callback */
  1094. 1048:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_ConvCpltCallback(hadc);
  1095. 1049:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1096. 1050:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
  1097. 1051:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1098. 1052:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Call DMA error callback */
  1099. 1053:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->DMA_Handle->XferErrorCallback(hdma);
  1100. 1054:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1101. 1055:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1102. 1056:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1103. ARM GAS /tmp/ccYVRobT.s page 20
  1104. 1057:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  1105. 1058:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief DMA half transfer complete callback.
  1106. 1059:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  1107. 1060:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified DMA module.
  1108. 1061:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval None
  1109. 1062:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  1110. 1063:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** static void ADC_MultiModeDMAHalfConvCplt(DMA_HandleTypeDef *hdma)
  1111. 1064:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1112. 1065:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_HandleTypeDef* hadc = ( ADC_HandleTypeDef* )((DMA_HandleTypeDef* )hdma)->Parent;
  1113. 1066:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Conversion complete callback */
  1114. 1067:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_ConvHalfCpltCallback(hadc);
  1115. 1068:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1116. 1069:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1117. 1070:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
  1118. 1071:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief DMA error callback
  1119. 1072:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  1120. 1073:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified DMA module.
  1121. 1074:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval None
  1122. 1075:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
  1123. 1076:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** static void ADC_MultiModeDMAError(DMA_HandleTypeDef *hdma)
  1124. 1077:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1125. 29 .loc 1 1077 1 view -0
  1126. 30 .cfi_startproc
  1127. 31 @ args = 0, pretend = 0, frame = 0
  1128. 32 @ frame_needed = 0, uses_anonymous_args = 0
  1129. 33 .loc 1 1077 1 is_stmt 0 view .LVU1
  1130. 34 0000 08B5 push {r3, lr}
  1131. 35 .LCFI0:
  1132. 36 .cfi_def_cfa_offset 8
  1133. 37 .cfi_offset 3, -8
  1134. 38 .cfi_offset 14, -4
  1135. 1078:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_HandleTypeDef* hadc = ( ADC_HandleTypeDef* )((DMA_HandleTypeDef* )hdma)->Parent;
  1136. 39 .loc 1 1078 5 is_stmt 1 view .LVU2
  1137. 40 .loc 1 1078 24 is_stmt 0 view .LVU3
  1138. 41 0002 806B ldr r0, [r0, #56]
  1139. 42 .LVL1:
  1140. 1079:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->State= HAL_ADC_STATE_ERROR_DMA;
  1141. 43 .loc 1 1079 5 is_stmt 1 view .LVU4
  1142. 44 .loc 1 1079 16 is_stmt 0 view .LVU5
  1143. 45 0004 4023 movs r3, #64
  1144. 46 0006 0364 str r3, [r0, #64]
  1145. 1080:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC error code to DMA error */
  1146. 1081:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->ErrorCode |= HAL_ADC_ERROR_DMA;
  1147. 47 .loc 1 1081 5 is_stmt 1 view .LVU6
  1148. 48 .loc 1 1081 21 is_stmt 0 view .LVU7
  1149. 49 0008 436C ldr r3, [r0, #68]
  1150. 50 000a 43F00403 orr r3, r3, #4
  1151. 51 000e 4364 str r3, [r0, #68]
  1152. 1082:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_ErrorCallback(hadc);
  1153. 52 .loc 1 1082 5 is_stmt 1 view .LVU8
  1154. 53 0010 FFF7FEFF bl HAL_ADC_ErrorCallback
  1155. 54 .LVL2:
  1156. 1083:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1157. 55 .loc 1 1083 1 is_stmt 0 view .LVU9
  1158. 56 0014 08BD pop {r3, pc}
  1159. 57 .cfi_endproc
  1160. 58 .LFE144:
  1161. ARM GAS /tmp/ccYVRobT.s page 21
  1162. 60 .section .text.ADC_MultiModeDMAHalfConvCplt,"ax",%progbits
  1163. 61 .align 1
  1164. 62 .syntax unified
  1165. 63 .thumb
  1166. 64 .thumb_func
  1167. 66 ADC_MultiModeDMAHalfConvCplt:
  1168. 67 .LVL3:
  1169. 68 .LFB143:
  1170. 1064:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_HandleTypeDef* hadc = ( ADC_HandleTypeDef* )((DMA_HandleTypeDef* )hdma)->Parent;
  1171. 69 .loc 1 1064 1 is_stmt 1 view -0
  1172. 70 .cfi_startproc
  1173. 71 @ args = 0, pretend = 0, frame = 0
  1174. 72 @ frame_needed = 0, uses_anonymous_args = 0
  1175. 1064:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_HandleTypeDef* hadc = ( ADC_HandleTypeDef* )((DMA_HandleTypeDef* )hdma)->Parent;
  1176. 73 .loc 1 1064 1 is_stmt 0 view .LVU11
  1177. 74 0000 08B5 push {r3, lr}
  1178. 75 .LCFI1:
  1179. 76 .cfi_def_cfa_offset 8
  1180. 77 .cfi_offset 3, -8
  1181. 78 .cfi_offset 14, -4
  1182. 1065:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Conversion complete callback */
  1183. 79 .loc 1 1065 5 is_stmt 1 view .LVU12
  1184. 80 .LVL4:
  1185. 1067:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1186. 81 .loc 1 1067 5 view .LVU13
  1187. 82 0002 806B ldr r0, [r0, #56]
  1188. 83 .LVL5:
  1189. 1067:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1190. 84 .loc 1 1067 5 is_stmt 0 view .LVU14
  1191. 85 0004 FFF7FEFF bl HAL_ADC_ConvHalfCpltCallback
  1192. 86 .LVL6:
  1193. 1068:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1194. 87 .loc 1 1068 1 view .LVU15
  1195. 88 0008 08BD pop {r3, pc}
  1196. 89 .cfi_endproc
  1197. 90 .LFE143:
  1198. 92 .section .text.ADC_MultiModeDMAConvCplt,"ax",%progbits
  1199. 93 .align 1
  1200. 94 .syntax unified
  1201. 95 .thumb
  1202. 96 .thumb_func
  1203. 98 ADC_MultiModeDMAConvCplt:
  1204. 99 .LVL7:
  1205. 100 .LFB142:
  1206. 1011:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Retrieve ADC handle corresponding to current DMA handle */
  1207. 101 .loc 1 1011 1 is_stmt 1 view -0
  1208. 102 .cfi_startproc
  1209. 103 @ args = 0, pretend = 0, frame = 0
  1210. 104 @ frame_needed = 0, uses_anonymous_args = 0
  1211. 1011:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Retrieve ADC handle corresponding to current DMA handle */
  1212. 105 .loc 1 1011 1 is_stmt 0 view .LVU17
  1213. 106 0000 08B5 push {r3, lr}
  1214. 107 .LCFI2:
  1215. 108 .cfi_def_cfa_offset 8
  1216. 109 .cfi_offset 3, -8
  1217. 110 .cfi_offset 14, -4
  1218. 1013:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1219. ARM GAS /tmp/ccYVRobT.s page 22
  1220. 111 .loc 1 1013 3 is_stmt 1 view .LVU18
  1221. 1013:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1222. 112 .loc 1 1013 22 is_stmt 0 view .LVU19
  1223. 113 0002 836B ldr r3, [r0, #56]
  1224. 114 .LVL8:
  1225. 1016:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1226. 115 .loc 1 1016 3 is_stmt 1 view .LVU20
  1227. 1016:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1228. 116 .loc 1 1016 7 is_stmt 0 view .LVU21
  1229. 117 0004 1A6C ldr r2, [r3, #64]
  1230. 1016:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1231. 118 .loc 1 1016 6 view .LVU22
  1232. 119 0006 12F0500F tst r2, #80
  1233. 120 000a 26D1 bne .L6
  1234. 1019:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1235. 121 .loc 1 1019 5 is_stmt 1 view .LVU23
  1236. 122 000c 1A6C ldr r2, [r3, #64]
  1237. 123 000e 42F40072 orr r2, r2, #512
  1238. 124 0012 1A64 str r2, [r3, #64]
  1239. 1027:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
  1240. 125 .loc 1 1027 5 view .LVU24
  1241. 1027:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
  1242. 126 .loc 1 1027 8 is_stmt 0 view .LVU25
  1243. 127 0014 1A68 ldr r2, [r3]
  1244. 128 0016 9168 ldr r1, [r2, #8]
  1245. 1027:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
  1246. 129 .loc 1 1027 7 view .LVU26
  1247. 130 0018 11F0405F tst r1, #805306368
  1248. 131 001c 19D1 bne .L7
  1249. 1028:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->SQR1, ADC_SQR1_L) ||
  1250. 132 .loc 1 1028 19 discriminator 1 view .LVU27
  1251. 133 001e 197E ldrb r1, [r3, #24] @ zero_extendqisi2
  1252. 1027:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
  1253. 134 .loc 1 1027 62 discriminator 1 view .LVU28
  1254. 135 0020 B9B9 cbnz r1, .L7
  1255. 1029:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) )
  1256. 136 .loc 1 1029 9 view .LVU29
  1257. 137 0022 D16A ldr r1, [r2, #44]
  1258. 1028:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->SQR1, ADC_SQR1_L) ||
  1259. 138 .loc 1 1028 62 view .LVU30
  1260. 139 0024 11F4700F tst r1, #15728640
  1261. 140 0028 03D0 beq .L8
  1262. 1030:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1263. 141 .loc 1 1030 9 view .LVU31
  1264. 142 002a 9168 ldr r1, [r2, #8]
  1265. 1029:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) )
  1266. 143 .loc 1 1029 58 view .LVU32
  1267. 144 002c 11F4806F tst r1, #1024
  1268. 145 0030 0FD1 bne .L7
  1269. 146 .L8:
  1270. 1036:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1271. 147 .loc 1 1036 7 is_stmt 1 view .LVU33
  1272. 148 0032 5168 ldr r1, [r2, #4]
  1273. 149 0034 21F02001 bic r1, r1, #32
  1274. 150 0038 5160 str r1, [r2, #4]
  1275. 1039:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1276. 151 .loc 1 1039 7 view .LVU34
  1277. ARM GAS /tmp/ccYVRobT.s page 23
  1278. 152 003a 1A6C ldr r2, [r3, #64]
  1279. 153 003c 22F48072 bic r2, r2, #256
  1280. 154 0040 1A64 str r2, [r3, #64]
  1281. 1041:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1282. 155 .loc 1 1041 7 view .LVU35
  1283. 1041:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1284. 156 .loc 1 1041 11 is_stmt 0 view .LVU36
  1285. 157 0042 1A6C ldr r2, [r3, #64]
  1286. 1041:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1287. 158 .loc 1 1041 10 view .LVU37
  1288. 159 0044 12F4805F tst r2, #4096
  1289. 160 0048 03D1 bne .L7
  1290. 1043:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1291. 161 .loc 1 1043 9 is_stmt 1 view .LVU38
  1292. 162 004a 1A6C ldr r2, [r3, #64]
  1293. 163 004c 42F00102 orr r2, r2, #1
  1294. 164 0050 1A64 str r2, [r3, #64]
  1295. 165 .L7:
  1296. 1048:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1297. 166 .loc 1 1048 5 view .LVU39
  1298. 167 0052 1846 mov r0, r3
  1299. 168 .LVL9:
  1300. 1048:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1301. 169 .loc 1 1048 5 is_stmt 0 view .LVU40
  1302. 170 0054 FFF7FEFF bl HAL_ADC_ConvCpltCallback
  1303. 171 .LVL10:
  1304. 172 .L5:
  1305. 1055:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1306. 173 .loc 1 1055 1 view .LVU41
  1307. 174 0058 08BD pop {r3, pc}
  1308. 175 .LVL11:
  1309. 176 .L6:
  1310. 1053:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1311. 177 .loc 1 1053 5 is_stmt 1 view .LVU42
  1312. 1053:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1313. 178 .loc 1 1053 9 is_stmt 0 view .LVU43
  1314. 179 005a 9B6B ldr r3, [r3, #56]
  1315. 180 .LVL12:
  1316. 1053:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1317. 181 .loc 1 1053 21 view .LVU44
  1318. 182 005c DB6C ldr r3, [r3, #76]
  1319. 1053:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1320. 183 .loc 1 1053 5 view .LVU45
  1321. 184 005e 9847 blx r3
  1322. 185 .LVL13:
  1323. 1055:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1324. 186 .loc 1 1055 1 view .LVU46
  1325. 187 0060 FAE7 b .L5
  1326. 188 .cfi_endproc
  1327. 189 .LFE142:
  1328. 191 .section .text.HAL_ADCEx_InjectedStart,"ax",%progbits
  1329. 192 .align 1
  1330. 193 .global HAL_ADCEx_InjectedStart
  1331. 194 .syntax unified
  1332. 195 .thumb
  1333. 196 .thumb_func
  1334. 198 HAL_ADCEx_InjectedStart:
  1335. ARM GAS /tmp/ccYVRobT.s page 24
  1336. 199 .LVL14:
  1337. 200 .LFB130:
  1338. 160:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t counter = 0U;
  1339. 201 .loc 1 160 1 is_stmt 1 view -0
  1340. 202 .cfi_startproc
  1341. 203 @ args = 0, pretend = 0, frame = 8
  1342. 204 @ frame_needed = 0, uses_anonymous_args = 0
  1343. 205 @ link register save eliminated.
  1344. 160:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t counter = 0U;
  1345. 206 .loc 1 160 1 is_stmt 0 view .LVU48
  1346. 207 0000 82B0 sub sp, sp, #8
  1347. 208 .LCFI3:
  1348. 209 .cfi_def_cfa_offset 8
  1349. 161:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tmp1 = 0U, tmp2 = 0U;
  1350. 210 .loc 1 161 3 is_stmt 1 view .LVU49
  1351. 161:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tmp1 = 0U, tmp2 = 0U;
  1352. 211 .loc 1 161 17 is_stmt 0 view .LVU50
  1353. 212 0002 0023 movs r3, #0
  1354. 213 0004 0193 str r3, [sp, #4]
  1355. 162:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
  1356. 214 .loc 1 162 3 is_stmt 1 view .LVU51
  1357. 215 .LVL15:
  1358. 163:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1359. 216 .loc 1 163 3 view .LVU52
  1360. 166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1361. 217 .loc 1 166 3 view .LVU53
  1362. 166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1363. 218 .loc 1 166 3 view .LVU54
  1364. 219 0006 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
  1365. 220 000a 012B cmp r3, #1
  1366. 221 000c 5CD0 beq .L18
  1367. 166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1368. 222 .loc 1 166 3 discriminator 2 view .LVU55
  1369. 223 000e 0123 movs r3, #1
  1370. 224 0010 80F83C30 strb r3, [r0, #60]
  1371. 166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1372. 225 .loc 1 166 3 discriminator 2 view .LVU56
  1373. 172:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1374. 226 .loc 1 172 3 discriminator 2 view .LVU57
  1375. 172:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1376. 227 .loc 1 172 11 is_stmt 0 discriminator 2 view .LVU58
  1377. 228 0014 0368 ldr r3, [r0]
  1378. 172:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1379. 229 .loc 1 172 21 discriminator 2 view .LVU59
  1380. 230 0016 9A68 ldr r2, [r3, #8]
  1381. 172:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1382. 231 .loc 1 172 5 discriminator 2 view .LVU60
  1383. 232 0018 12F0010F tst r2, #1
  1384. 233 001c 13D1 bne .L13
  1385. 175:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1386. 234 .loc 1 175 5 is_stmt 1 view .LVU61
  1387. 235 001e 9A68 ldr r2, [r3, #8]
  1388. 236 0020 42F00102 orr r2, r2, #1
  1389. 237 0024 9A60 str r2, [r3, #8]
  1390. 179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
  1391. 238 .loc 1 179 5 view .LVU62
  1392. 179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
  1393. ARM GAS /tmp/ccYVRobT.s page 25
  1394. 239 .loc 1 179 53 is_stmt 0 view .LVU63
  1395. 240 0026 2F4B ldr r3, .L27
  1396. 241 0028 1B68 ldr r3, [r3]
  1397. 242 002a 2F4A ldr r2, .L27+4
  1398. 243 002c A2FB0323 umull r2, r3, r2, r3
  1399. 244 0030 9B0C lsrs r3, r3, #18
  1400. 179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
  1401. 245 .loc 1 179 34 view .LVU64
  1402. 246 0032 03EB4303 add r3, r3, r3, lsl #1
  1403. 179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
  1404. 247 .loc 1 179 13 view .LVU65
  1405. 248 0036 0193 str r3, [sp, #4]
  1406. 180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1407. 249 .loc 1 180 5 is_stmt 1 view .LVU66
  1408. 180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1409. 250 .loc 1 180 10 is_stmt 0 view .LVU67
  1410. 251 0038 02E0 b .L14
  1411. 252 .L15:
  1412. 182:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1413. 253 .loc 1 182 7 is_stmt 1 view .LVU68
  1414. 182:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1415. 254 .loc 1 182 14 is_stmt 0 view .LVU69
  1416. 255 003a 019B ldr r3, [sp, #4]
  1417. 256 003c 013B subs r3, r3, #1
  1418. 257 003e 0193 str r3, [sp, #4]
  1419. 258 .L14:
  1420. 180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1421. 259 .loc 1 180 10 is_stmt 1 view .LVU70
  1422. 180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1423. 260 .loc 1 180 19 is_stmt 0 view .LVU71
  1424. 261 0040 019B ldr r3, [sp, #4]
  1425. 180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1426. 262 .loc 1 180 10 view .LVU72
  1427. 263 0042 002B cmp r3, #0
  1428. 264 0044 F9D1 bne .L15
  1429. 265 .L13:
  1430. 187:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1431. 266 .loc 1 187 3 is_stmt 1 view .LVU73
  1432. 187:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1433. 267 .loc 1 187 6 is_stmt 0 view .LVU74
  1434. 268 0046 0268 ldr r2, [r0]
  1435. 269 0048 9368 ldr r3, [r2, #8]
  1436. 187:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1437. 270 .loc 1 187 5 view .LVU75
  1438. 271 004a 13F0010F tst r3, #1
  1439. 272 004e 3DD0 beq .L19
  1440. 192:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_INJ_EOC,
  1441. 273 .loc 1 192 5 is_stmt 1 view .LVU76
  1442. 274 0050 036C ldr r3, [r0, #64]
  1443. 275 0052 23F44053 bic r3, r3, #12288
  1444. 276 0056 23F00103 bic r3, r3, #1
  1445. 277 005a 43F48053 orr r3, r3, #4096
  1446. 278 005e 0364 str r3, [r0, #64]
  1447. 200:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1448. 279 .loc 1 200 5 view .LVU77
  1449. 200:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1450. 280 .loc 1 200 9 is_stmt 0 view .LVU78
  1451. ARM GAS /tmp/ccYVRobT.s page 26
  1452. 281 0060 036C ldr r3, [r0, #64]
  1453. 200:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1454. 282 .loc 1 200 8 view .LVU79
  1455. 283 0062 13F4807F tst r3, #256
  1456. 284 0066 01D1 bne .L16
  1457. 203:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1458. 285 .loc 1 203 7 is_stmt 1 view .LVU80
  1459. 286 0068 0023 movs r3, #0
  1460. 287 006a 4364 str r3, [r0, #68]
  1461. 288 .L16:
  1462. 209:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1463. 289 .loc 1 209 5 view .LVU81
  1464. 209:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1465. 290 .loc 1 209 5 view .LVU82
  1466. 291 006c 0023 movs r3, #0
  1467. 292 006e 80F83C30 strb r3, [r0, #60]
  1468. 209:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1469. 293 .loc 1 209 5 view .LVU83
  1470. 213:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1471. 294 .loc 1 213 5 view .LVU84
  1472. 295 0072 6FF00403 mvn r3, #4
  1473. 296 0076 1360 str r3, [r2]
  1474. 218:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1475. 297 .loc 1 218 5 view .LVU85
  1476. 298 .LVL16:
  1477. 221:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1478. 299 .loc 1 221 5 view .LVU86
  1479. 221:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1480. 300 .loc 1 221 8 is_stmt 0 view .LVU87
  1481. 301 0078 1C4B ldr r3, .L27+8
  1482. 302 007a 5B68 ldr r3, [r3, #4]
  1483. 221:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1484. 303 .loc 1 221 7 view .LVU88
  1485. 304 007c 13F01F0F tst r3, #31
  1486. 305 0080 0ED1 bne .L17
  1487. 223:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
  1488. 306 .loc 1 223 7 is_stmt 1 view .LVU89
  1489. 223:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
  1490. 307 .loc 1 223 14 is_stmt 0 view .LVU90
  1491. 308 0082 0268 ldr r2, [r0]
  1492. 309 0084 9168 ldr r1, [r2, #8]
  1493. 310 .LVL17:
  1494. 224:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(tmp1 && tmp2)
  1495. 311 .loc 1 224 7 is_stmt 1 view .LVU91
  1496. 224:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(tmp1 && tmp2)
  1497. 312 .loc 1 224 14 is_stmt 0 view .LVU92
  1498. 313 0086 5368 ldr r3, [r2, #4]
  1499. 314 0088 03F48063 and r3, r3, #1024
  1500. 315 .LVL18:
  1501. 225:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1502. 316 .loc 1 225 7 is_stmt 1 view .LVU93
  1503. 225:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1504. 317 .loc 1 225 9 is_stmt 0 view .LVU94
  1505. 318 008c 11F4401F tst r1, #3145728
  1506. 319 0090 1FD1 bne .L20
  1507. 225:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1508. 320 .loc 1 225 15 discriminator 1 view .LVU95
  1509. ARM GAS /tmp/ccYVRobT.s page 27
  1510. 321 0092 03BB cbnz r3, .L21
  1511. 228:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1512. 322 .loc 1 228 9 is_stmt 1 view .LVU96
  1513. 228:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1514. 323 .loc 1 228 29 is_stmt 0 view .LVU97
  1515. 324 0094 9368 ldr r3, [r2, #8]
  1516. 325 .LVL19:
  1517. 228:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1518. 326 .loc 1 228 29 view .LVU98
  1519. 327 0096 43F48003 orr r3, r3, #4194304
  1520. 328 009a 9360 str r3, [r2, #8]
  1521. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1522. 329 .loc 1 244 10 view .LVU99
  1523. 330 009c 0020 movs r0, #0
  1524. 331 .LVL20:
  1525. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1526. 332 .loc 1 244 10 view .LVU100
  1527. 333 009e 16E0 b .L12
  1528. 334 .LVL21:
  1529. 335 .L17:
  1530. 233:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
  1531. 336 .loc 1 233 7 is_stmt 1 view .LVU101
  1532. 233:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
  1533. 337 .loc 1 233 14 is_stmt 0 view .LVU102
  1534. 338 00a0 0368 ldr r3, [r0]
  1535. 339 00a2 9A68 ldr r2, [r3, #8]
  1536. 340 00a4 02F44012 and r2, r2, #3145728
  1537. 341 .LVL22:
  1538. 234:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance == ADC1) && tmp1 && tmp2)
  1539. 342 .loc 1 234 7 is_stmt 1 view .LVU103
  1540. 234:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance == ADC1) && tmp1 && tmp2)
  1541. 343 .loc 1 234 14 is_stmt 0 view .LVU104
  1542. 344 00a8 5968 ldr r1, [r3, #4]
  1543. 345 00aa 01F48061 and r1, r1, #1024
  1544. 346 .LVL23:
  1545. 235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1546. 347 .loc 1 235 7 is_stmt 1 view .LVU105
  1547. 235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1548. 348 .loc 1 235 9 is_stmt 0 view .LVU106
  1549. 349 00ae 1048 ldr r0, .L27+12
  1550. 350 .LVL24:
  1551. 235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1552. 351 .loc 1 235 9 view .LVU107
  1553. 352 00b0 8342 cmp r3, r0
  1554. 353 00b2 01D0 beq .L26
  1555. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1556. 354 .loc 1 244 10 view .LVU108
  1557. 355 00b4 0020 movs r0, #0
  1558. 356 00b6 0AE0 b .L12
  1559. 357 .L26:
  1560. 235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1561. 358 .loc 1 235 35 discriminator 1 view .LVU109
  1562. 359 00b8 7AB9 cbnz r2, .L23
  1563. 235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1564. 360 .loc 1 235 43 discriminator 2 view .LVU110
  1565. 361 00ba 81B9 cbnz r1, .L24
  1566. 238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1567. ARM GAS /tmp/ccYVRobT.s page 28
  1568. 362 .loc 1 238 9 is_stmt 1 view .LVU111
  1569. 238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1570. 363 .loc 1 238 29 is_stmt 0 view .LVU112
  1571. 364 00bc 9A68 ldr r2, [r3, #8]
  1572. 365 .LVL25:
  1573. 238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1574. 366 .loc 1 238 29 view .LVU113
  1575. 367 00be 42F48002 orr r2, r2, #4194304
  1576. 368 00c2 9A60 str r2, [r3, #8]
  1577. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1578. 369 .loc 1 244 10 view .LVU114
  1579. 370 00c4 0020 movs r0, #0
  1580. 371 00c6 02E0 b .L12
  1581. 372 .LVL26:
  1582. 373 .L18:
  1583. 166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1584. 374 .loc 1 166 3 view .LVU115
  1585. 375 00c8 0220 movs r0, #2
  1586. 376 .LVL27:
  1587. 166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1588. 377 .loc 1 166 3 view .LVU116
  1589. 378 00ca 00E0 b .L12
  1590. 379 .LVL28:
  1591. 380 .L19:
  1592. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1593. 381 .loc 1 244 10 view .LVU117
  1594. 382 00cc 0020 movs r0, #0
  1595. 383 .LVL29:
  1596. 384 .L12:
  1597. 245:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1598. 385 .loc 1 245 1 view .LVU118
  1599. 386 00ce 02B0 add sp, sp, #8
  1600. 387 .LCFI4:
  1601. 388 .cfi_remember_state
  1602. 389 .cfi_def_cfa_offset 0
  1603. 390 @ sp needed
  1604. 391 00d0 7047 bx lr
  1605. 392 .LVL30:
  1606. 393 .L20:
  1607. 394 .LCFI5:
  1608. 395 .cfi_restore_state
  1609. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1610. 396 .loc 1 244 10 view .LVU119
  1611. 397 00d2 0020 movs r0, #0
  1612. 398 .LVL31:
  1613. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1614. 399 .loc 1 244 10 view .LVU120
  1615. 400 00d4 FBE7 b .L12
  1616. 401 .LVL32:
  1617. 402 .L21:
  1618. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1619. 403 .loc 1 244 10 view .LVU121
  1620. 404 00d6 0020 movs r0, #0
  1621. 405 .LVL33:
  1622. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1623. 406 .loc 1 244 10 view .LVU122
  1624. 407 00d8 F9E7 b .L12
  1625. ARM GAS /tmp/ccYVRobT.s page 29
  1626. 408 .LVL34:
  1627. 409 .L23:
  1628. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1629. 410 .loc 1 244 10 view .LVU123
  1630. 411 00da 0020 movs r0, #0
  1631. 412 00dc F7E7 b .L12
  1632. 413 .L24:
  1633. 414 00de 0020 movs r0, #0
  1634. 415 00e0 F5E7 b .L12
  1635. 416 .L28:
  1636. 417 00e2 00BF .align 2
  1637. 418 .L27:
  1638. 419 00e4 00000000 .word SystemCoreClock
  1639. 420 00e8 83DE1B43 .word 1125899907
  1640. 421 00ec 00230140 .word 1073816320
  1641. 422 00f0 00200140 .word 1073815552
  1642. 423 .cfi_endproc
  1643. 424 .LFE130:
  1644. 426 .section .text.HAL_ADCEx_InjectedStart_IT,"ax",%progbits
  1645. 427 .align 1
  1646. 428 .global HAL_ADCEx_InjectedStart_IT
  1647. 429 .syntax unified
  1648. 430 .thumb
  1649. 431 .thumb_func
  1650. 433 HAL_ADCEx_InjectedStart_IT:
  1651. 434 .LVL35:
  1652. 435 .LFB131:
  1653. 255:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t counter = 0U;
  1654. 436 .loc 1 255 1 is_stmt 1 view -0
  1655. 437 .cfi_startproc
  1656. 438 @ args = 0, pretend = 0, frame = 8
  1657. 439 @ frame_needed = 0, uses_anonymous_args = 0
  1658. 440 @ link register save eliminated.
  1659. 255:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t counter = 0U;
  1660. 441 .loc 1 255 1 is_stmt 0 view .LVU125
  1661. 442 0000 82B0 sub sp, sp, #8
  1662. 443 .LCFI6:
  1663. 444 .cfi_def_cfa_offset 8
  1664. 256:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tmp1 = 0U, tmp2 = 0U;
  1665. 445 .loc 1 256 3 is_stmt 1 view .LVU126
  1666. 256:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tmp1 = 0U, tmp2 = 0U;
  1667. 446 .loc 1 256 17 is_stmt 0 view .LVU127
  1668. 447 0002 0023 movs r3, #0
  1669. 448 0004 0193 str r3, [sp, #4]
  1670. 257:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
  1671. 449 .loc 1 257 3 is_stmt 1 view .LVU128
  1672. 450 .LVL36:
  1673. 258:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1674. 451 .loc 1 258 3 view .LVU129
  1675. 261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1676. 452 .loc 1 261 3 view .LVU130
  1677. 261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1678. 453 .loc 1 261 3 view .LVU131
  1679. 454 0006 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
  1680. 455 000a 012B cmp r3, #1
  1681. 456 000c 61D0 beq .L36
  1682. 261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1683. ARM GAS /tmp/ccYVRobT.s page 30
  1684. 457 .loc 1 261 3 discriminator 2 view .LVU132
  1685. 458 000e 0123 movs r3, #1
  1686. 459 0010 80F83C30 strb r3, [r0, #60]
  1687. 261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1688. 460 .loc 1 261 3 discriminator 2 view .LVU133
  1689. 267:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1690. 461 .loc 1 267 3 discriminator 2 view .LVU134
  1691. 267:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1692. 462 .loc 1 267 11 is_stmt 0 discriminator 2 view .LVU135
  1693. 463 0014 0368 ldr r3, [r0]
  1694. 267:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1695. 464 .loc 1 267 21 discriminator 2 view .LVU136
  1696. 465 0016 9A68 ldr r2, [r3, #8]
  1697. 267:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1698. 466 .loc 1 267 5 discriminator 2 view .LVU137
  1699. 467 0018 12F0010F tst r2, #1
  1700. 468 001c 13D1 bne .L31
  1701. 270:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1702. 469 .loc 1 270 5 is_stmt 1 view .LVU138
  1703. 470 001e 9A68 ldr r2, [r3, #8]
  1704. 471 0020 42F00102 orr r2, r2, #1
  1705. 472 0024 9A60 str r2, [r3, #8]
  1706. 274:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
  1707. 473 .loc 1 274 5 view .LVU139
  1708. 274:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
  1709. 474 .loc 1 274 53 is_stmt 0 view .LVU140
  1710. 475 0026 314B ldr r3, .L45
  1711. 476 0028 1B68 ldr r3, [r3]
  1712. 477 002a 314A ldr r2, .L45+4
  1713. 478 002c A2FB0323 umull r2, r3, r2, r3
  1714. 479 0030 9B0C lsrs r3, r3, #18
  1715. 274:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
  1716. 480 .loc 1 274 34 view .LVU141
  1717. 481 0032 03EB4303 add r3, r3, r3, lsl #1
  1718. 274:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
  1719. 482 .loc 1 274 13 view .LVU142
  1720. 483 0036 0193 str r3, [sp, #4]
  1721. 275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1722. 484 .loc 1 275 5 is_stmt 1 view .LVU143
  1723. 275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1724. 485 .loc 1 275 10 is_stmt 0 view .LVU144
  1725. 486 0038 02E0 b .L32
  1726. 487 .L33:
  1727. 277:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1728. 488 .loc 1 277 7 is_stmt 1 view .LVU145
  1729. 277:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1730. 489 .loc 1 277 14 is_stmt 0 view .LVU146
  1731. 490 003a 019B ldr r3, [sp, #4]
  1732. 491 003c 013B subs r3, r3, #1
  1733. 492 003e 0193 str r3, [sp, #4]
  1734. 493 .L32:
  1735. 275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1736. 494 .loc 1 275 10 is_stmt 1 view .LVU147
  1737. 275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1738. 495 .loc 1 275 19 is_stmt 0 view .LVU148
  1739. 496 0040 019B ldr r3, [sp, #4]
  1740. 275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1741. ARM GAS /tmp/ccYVRobT.s page 31
  1742. 497 .loc 1 275 10 view .LVU149
  1743. 498 0042 002B cmp r3, #0
  1744. 499 0044 F9D1 bne .L33
  1745. 500 .L31:
  1746. 282:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1747. 501 .loc 1 282 3 is_stmt 1 view .LVU150
  1748. 282:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1749. 502 .loc 1 282 6 is_stmt 0 view .LVU151
  1750. 503 0046 0268 ldr r2, [r0]
  1751. 504 0048 9368 ldr r3, [r2, #8]
  1752. 282:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1753. 505 .loc 1 282 5 view .LVU152
  1754. 506 004a 13F0010F tst r3, #1
  1755. 507 004e 42D0 beq .L37
  1756. 287:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_INJ_EOC,
  1757. 508 .loc 1 287 5 is_stmt 1 view .LVU153
  1758. 509 0050 036C ldr r3, [r0, #64]
  1759. 510 0052 23F44053 bic r3, r3, #12288
  1760. 511 0056 23F00103 bic r3, r3, #1
  1761. 512 005a 43F48053 orr r3, r3, #4096
  1762. 513 005e 0364 str r3, [r0, #64]
  1763. 295:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1764. 514 .loc 1 295 5 view .LVU154
  1765. 295:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1766. 515 .loc 1 295 9 is_stmt 0 view .LVU155
  1767. 516 0060 036C ldr r3, [r0, #64]
  1768. 295:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1769. 517 .loc 1 295 8 view .LVU156
  1770. 518 0062 13F4807F tst r3, #256
  1771. 519 0066 01D1 bne .L34
  1772. 298:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1773. 520 .loc 1 298 7 is_stmt 1 view .LVU157
  1774. 521 0068 0023 movs r3, #0
  1775. 522 006a 4364 str r3, [r0, #68]
  1776. 523 .L34:
  1777. 304:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1778. 524 .loc 1 304 5 view .LVU158
  1779. 304:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1780. 525 .loc 1 304 5 view .LVU159
  1781. 526 006c 0023 movs r3, #0
  1782. 527 006e 80F83C30 strb r3, [r0, #60]
  1783. 304:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1784. 528 .loc 1 304 5 view .LVU160
  1785. 308:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1786. 529 .loc 1 308 5 view .LVU161
  1787. 530 0072 6FF00403 mvn r3, #4
  1788. 531 0076 1360 str r3, [r2]
  1789. 311:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1790. 532 .loc 1 311 5 view .LVU162
  1791. 533 0078 0268 ldr r2, [r0]
  1792. 534 007a 5368 ldr r3, [r2, #4]
  1793. 535 007c 43F08003 orr r3, r3, #128
  1794. 536 0080 5360 str r3, [r2, #4]
  1795. 316:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1796. 537 .loc 1 316 5 view .LVU163
  1797. 538 .LVL37:
  1798. 319:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1799. ARM GAS /tmp/ccYVRobT.s page 32
  1800. 539 .loc 1 319 5 view .LVU164
  1801. 319:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1802. 540 .loc 1 319 8 is_stmt 0 view .LVU165
  1803. 541 0082 1C4B ldr r3, .L45+8
  1804. 542 0084 5B68 ldr r3, [r3, #4]
  1805. 319:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1806. 543 .loc 1 319 7 view .LVU166
  1807. 544 0086 13F01F0F tst r3, #31
  1808. 545 008a 0ED1 bne .L35
  1809. 321:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
  1810. 546 .loc 1 321 7 is_stmt 1 view .LVU167
  1811. 321:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
  1812. 547 .loc 1 321 14 is_stmt 0 view .LVU168
  1813. 548 008c 0268 ldr r2, [r0]
  1814. 549 008e 9168 ldr r1, [r2, #8]
  1815. 550 .LVL38:
  1816. 322:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(tmp1 && tmp2)
  1817. 551 .loc 1 322 7 is_stmt 1 view .LVU169
  1818. 322:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(tmp1 && tmp2)
  1819. 552 .loc 1 322 14 is_stmt 0 view .LVU170
  1820. 553 0090 5368 ldr r3, [r2, #4]
  1821. 554 0092 03F48063 and r3, r3, #1024
  1822. 555 .LVL39:
  1823. 323:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1824. 556 .loc 1 323 7 is_stmt 1 view .LVU171
  1825. 323:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1826. 557 .loc 1 323 9 is_stmt 0 view .LVU172
  1827. 558 0096 11F4401F tst r1, #3145728
  1828. 559 009a 1FD1 bne .L38
  1829. 323:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1830. 560 .loc 1 323 15 discriminator 1 view .LVU173
  1831. 561 009c 03BB cbnz r3, .L39
  1832. 326:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1833. 562 .loc 1 326 9 is_stmt 1 view .LVU174
  1834. 326:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1835. 563 .loc 1 326 29 is_stmt 0 view .LVU175
  1836. 564 009e 9368 ldr r3, [r2, #8]
  1837. 565 .LVL40:
  1838. 326:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1839. 566 .loc 1 326 29 view .LVU176
  1840. 567 00a0 43F48003 orr r3, r3, #4194304
  1841. 568 00a4 9360 str r3, [r2, #8]
  1842. 342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1843. 569 .loc 1 342 10 view .LVU177
  1844. 570 00a6 0020 movs r0, #0
  1845. 571 .LVL41:
  1846. 342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1847. 572 .loc 1 342 10 view .LVU178
  1848. 573 00a8 16E0 b .L30
  1849. 574 .LVL42:
  1850. 575 .L35:
  1851. 331:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
  1852. 576 .loc 1 331 7 is_stmt 1 view .LVU179
  1853. 331:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
  1854. 577 .loc 1 331 14 is_stmt 0 view .LVU180
  1855. 578 00aa 0368 ldr r3, [r0]
  1856. 579 00ac 9A68 ldr r2, [r3, #8]
  1857. ARM GAS /tmp/ccYVRobT.s page 33
  1858. 580 00ae 02F44012 and r2, r2, #3145728
  1859. 581 .LVL43:
  1860. 332:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance == ADC1) && tmp1 && tmp2)
  1861. 582 .loc 1 332 7 is_stmt 1 view .LVU181
  1862. 332:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance == ADC1) && tmp1 && tmp2)
  1863. 583 .loc 1 332 14 is_stmt 0 view .LVU182
  1864. 584 00b2 5968 ldr r1, [r3, #4]
  1865. 585 00b4 01F48061 and r1, r1, #1024
  1866. 586 .LVL44:
  1867. 333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1868. 587 .loc 1 333 7 is_stmt 1 view .LVU183
  1869. 333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1870. 588 .loc 1 333 9 is_stmt 0 view .LVU184
  1871. 589 00b8 0F48 ldr r0, .L45+12
  1872. 590 .LVL45:
  1873. 333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1874. 591 .loc 1 333 9 view .LVU185
  1875. 592 00ba 8342 cmp r3, r0
  1876. 593 00bc 01D0 beq .L44
  1877. 342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1878. 594 .loc 1 342 10 view .LVU186
  1879. 595 00be 0020 movs r0, #0
  1880. 596 00c0 0AE0 b .L30
  1881. 597 .L44:
  1882. 333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1883. 598 .loc 1 333 35 discriminator 1 view .LVU187
  1884. 599 00c2 7AB9 cbnz r2, .L41
  1885. 333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  1886. 600 .loc 1 333 43 discriminator 2 view .LVU188
  1887. 601 00c4 81B9 cbnz r1, .L42
  1888. 336:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1889. 602 .loc 1 336 9 is_stmt 1 view .LVU189
  1890. 336:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1891. 603 .loc 1 336 29 is_stmt 0 view .LVU190
  1892. 604 00c6 9A68 ldr r2, [r3, #8]
  1893. 605 .LVL46:
  1894. 336:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1895. 606 .loc 1 336 29 view .LVU191
  1896. 607 00c8 42F48002 orr r2, r2, #4194304
  1897. 608 00cc 9A60 str r2, [r3, #8]
  1898. 342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1899. 609 .loc 1 342 10 view .LVU192
  1900. 610 00ce 0020 movs r0, #0
  1901. 611 00d0 02E0 b .L30
  1902. 612 .LVL47:
  1903. 613 .L36:
  1904. 261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1905. 614 .loc 1 261 3 view .LVU193
  1906. 615 00d2 0220 movs r0, #2
  1907. 616 .LVL48:
  1908. 261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1909. 617 .loc 1 261 3 view .LVU194
  1910. 618 00d4 00E0 b .L30
  1911. 619 .LVL49:
  1912. 620 .L37:
  1913. 342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1914. 621 .loc 1 342 10 view .LVU195
  1915. ARM GAS /tmp/ccYVRobT.s page 34
  1916. 622 00d6 0020 movs r0, #0
  1917. 623 .LVL50:
  1918. 624 .L30:
  1919. 343:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1920. 625 .loc 1 343 1 view .LVU196
  1921. 626 00d8 02B0 add sp, sp, #8
  1922. 627 .LCFI7:
  1923. 628 .cfi_remember_state
  1924. 629 .cfi_def_cfa_offset 0
  1925. 630 @ sp needed
  1926. 631 00da 7047 bx lr
  1927. 632 .LVL51:
  1928. 633 .L38:
  1929. 634 .LCFI8:
  1930. 635 .cfi_restore_state
  1931. 342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1932. 636 .loc 1 342 10 view .LVU197
  1933. 637 00dc 0020 movs r0, #0
  1934. 638 .LVL52:
  1935. 342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1936. 639 .loc 1 342 10 view .LVU198
  1937. 640 00de FBE7 b .L30
  1938. 641 .LVL53:
  1939. 642 .L39:
  1940. 342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1941. 643 .loc 1 342 10 view .LVU199
  1942. 644 00e0 0020 movs r0, #0
  1943. 645 .LVL54:
  1944. 342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1945. 646 .loc 1 342 10 view .LVU200
  1946. 647 00e2 F9E7 b .L30
  1947. 648 .LVL55:
  1948. 649 .L41:
  1949. 342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  1950. 650 .loc 1 342 10 view .LVU201
  1951. 651 00e4 0020 movs r0, #0
  1952. 652 00e6 F7E7 b .L30
  1953. 653 .L42:
  1954. 654 00e8 0020 movs r0, #0
  1955. 655 00ea F5E7 b .L30
  1956. 656 .L46:
  1957. 657 .align 2
  1958. 658 .L45:
  1959. 659 00ec 00000000 .word SystemCoreClock
  1960. 660 00f0 83DE1B43 .word 1125899907
  1961. 661 00f4 00230140 .word 1073816320
  1962. 662 00f8 00200140 .word 1073815552
  1963. 663 .cfi_endproc
  1964. 664 .LFE131:
  1965. 666 .section .text.HAL_ADCEx_InjectedStop,"ax",%progbits
  1966. 667 .align 1
  1967. 668 .global HAL_ADCEx_InjectedStop
  1968. 669 .syntax unified
  1969. 670 .thumb
  1970. 671 .thumb_func
  1971. 673 HAL_ADCEx_InjectedStop:
  1972. 674 .LVL56:
  1973. ARM GAS /tmp/ccYVRobT.s page 35
  1974. 675 .LFB132:
  1975. 358:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
  1976. 676 .loc 1 358 1 is_stmt 1 view -0
  1977. 677 .cfi_startproc
  1978. 678 @ args = 0, pretend = 0, frame = 0
  1979. 679 @ frame_needed = 0, uses_anonymous_args = 0
  1980. 680 @ link register save eliminated.
  1981. 358:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
  1982. 681 .loc 1 358 1 is_stmt 0 view .LVU203
  1983. 682 0000 0346 mov r3, r0
  1984. 359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1985. 683 .loc 1 359 3 is_stmt 1 view .LVU204
  1986. 684 .LVL57:
  1987. 362:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1988. 685 .loc 1 362 3 view .LVU205
  1989. 365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1990. 686 .loc 1 365 3 view .LVU206
  1991. 365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1992. 687 .loc 1 365 3 view .LVU207
  1993. 688 0002 90F83C20 ldrb r2, [r0, #60] @ zero_extendqisi2
  1994. 689 0006 012A cmp r2, #1
  1995. 690 0008 29D0 beq .L51
  1996. 365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  1997. 691 .loc 1 365 3 discriminator 2 view .LVU208
  1998. 692 000a 0122 movs r2, #1
  1999. 693 000c 80F83C20 strb r2, [r0, #60]
  2000. 365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2001. 694 .loc 1 365 3 discriminator 2 view .LVU209
  2002. 373:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
  2003. 695 .loc 1 373 3 discriminator 2 view .LVU210
  2004. 373:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
  2005. 696 .loc 1 373 12 is_stmt 0 discriminator 2 view .LVU211
  2006. 697 0010 026C ldr r2, [r0, #64]
  2007. 373:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
  2008. 698 .loc 1 373 5 discriminator 2 view .LVU212
  2009. 699 0012 12F4807F tst r2, #256
  2010. 700 0016 17D1 bne .L49
  2011. 374:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2012. 701 .loc 1 374 6 discriminator 1 view .LVU213
  2013. 702 0018 0268 ldr r2, [r0]
  2014. 703 001a 5168 ldr r1, [r2, #4]
  2015. 373:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
  2016. 704 .loc 1 373 57 discriminator 1 view .LVU214
  2017. 705 001c 11F4806F tst r1, #1024
  2018. 706 0020 12D1 bne .L49
  2019. 378:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2020. 707 .loc 1 378 5 is_stmt 1 view .LVU215
  2021. 708 0022 9168 ldr r1, [r2, #8]
  2022. 709 0024 21F00101 bic r1, r1, #1
  2023. 710 0028 9160 str r1, [r2, #8]
  2024. 381:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2025. 711 .loc 1 381 5 view .LVU216
  2026. 381:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2027. 712 .loc 1 381 8 is_stmt 0 view .LVU217
  2028. 713 002a 0268 ldr r2, [r0]
  2029. 714 002c 9268 ldr r2, [r2, #8]
  2030. 381:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2031. ARM GAS /tmp/ccYVRobT.s page 36
  2032. 715 .loc 1 381 7 view .LVU218
  2033. 716 002e 12F0010F tst r2, #1
  2034. 717 0032 12D1 bne .L52
  2035. 384:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
  2036. 718 .loc 1 384 7 is_stmt 1 view .LVU219
  2037. 719 0034 026C ldr r2, [r0, #64]
  2038. 720 0036 22F48852 bic r2, r2, #4352
  2039. 721 003a 22F00102 bic r2, r2, #1
  2040. 722 003e 42F00102 orr r2, r2, #1
  2041. 723 0042 0264 str r2, [r0, #64]
  2042. 359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2043. 724 .loc 1 359 21 is_stmt 0 view .LVU220
  2044. 725 0044 0020 movs r0, #0
  2045. 726 .LVL58:
  2046. 359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2047. 727 .loc 1 359 21 view .LVU221
  2048. 728 0046 04E0 b .L50
  2049. 729 .LVL59:
  2050. 730 .L49:
  2051. 392:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2052. 731 .loc 1 392 5 is_stmt 1 view .LVU222
  2053. 732 0048 1A6C ldr r2, [r3, #64]
  2054. 733 004a 42F02002 orr r2, r2, #32
  2055. 734 004e 1A64 str r2, [r3, #64]
  2056. 394:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2057. 735 .loc 1 394 5 view .LVU223
  2058. 736 .LVL60:
  2059. 394:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2060. 737 .loc 1 394 20 is_stmt 0 view .LVU224
  2061. 738 0050 0120 movs r0, #1
  2062. 739 .LVL61:
  2063. 740 .L50:
  2064. 398:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2065. 741 .loc 1 398 3 is_stmt 1 view .LVU225
  2066. 398:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2067. 742 .loc 1 398 3 view .LVU226
  2068. 743 0052 0022 movs r2, #0
  2069. 744 0054 83F83C20 strb r2, [r3, #60]
  2070. 398:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2071. 745 .loc 1 398 3 view .LVU227
  2072. 401:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2073. 746 .loc 1 401 3 view .LVU228
  2074. 401:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2075. 747 .loc 1 401 10 is_stmt 0 view .LVU229
  2076. 748 0058 7047 bx lr
  2077. 749 .LVL62:
  2078. 750 .L52:
  2079. 359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2080. 751 .loc 1 359 21 view .LVU230
  2081. 752 005a 0020 movs r0, #0
  2082. 753 .LVL63:
  2083. 359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2084. 754 .loc 1 359 21 view .LVU231
  2085. 755 005c F9E7 b .L50
  2086. 756 .LVL64:
  2087. 757 .L51:
  2088. 365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2089. ARM GAS /tmp/ccYVRobT.s page 37
  2090. 758 .loc 1 365 3 view .LVU232
  2091. 759 005e 0220 movs r0, #2
  2092. 760 .LVL65:
  2093. 402:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2094. 761 .loc 1 402 1 view .LVU233
  2095. 762 0060 7047 bx lr
  2096. 763 .cfi_endproc
  2097. 764 .LFE132:
  2098. 766 .section .text.HAL_ADCEx_InjectedPollForConversion,"ax",%progbits
  2099. 767 .align 1
  2100. 768 .global HAL_ADCEx_InjectedPollForConversion
  2101. 769 .syntax unified
  2102. 770 .thumb
  2103. 771 .thumb_func
  2104. 773 HAL_ADCEx_InjectedPollForConversion:
  2105. 774 .LVL66:
  2106. 775 .LFB133:
  2107. 412:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tickstart = 0U;
  2108. 776 .loc 1 412 1 is_stmt 1 view -0
  2109. 777 .cfi_startproc
  2110. 778 @ args = 0, pretend = 0, frame = 0
  2111. 779 @ frame_needed = 0, uses_anonymous_args = 0
  2112. 412:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tickstart = 0U;
  2113. 780 .loc 1 412 1 is_stmt 0 view .LVU235
  2114. 781 0000 70B5 push {r4, r5, r6, lr}
  2115. 782 .LCFI9:
  2116. 783 .cfi_def_cfa_offset 16
  2117. 784 .cfi_offset 4, -16
  2118. 785 .cfi_offset 5, -12
  2119. 786 .cfi_offset 6, -8
  2120. 787 .cfi_offset 14, -4
  2121. 788 0002 0446 mov r4, r0
  2122. 789 0004 0D46 mov r5, r1
  2123. 413:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2124. 790 .loc 1 413 3 is_stmt 1 view .LVU236
  2125. 791 .LVL67:
  2126. 416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2127. 792 .loc 1 416 3 view .LVU237
  2128. 416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2129. 793 .loc 1 416 15 is_stmt 0 view .LVU238
  2130. 794 0006 FFF7FEFF bl HAL_GetTick
  2131. 795 .LVL68:
  2132. 416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2133. 796 .loc 1 416 15 view .LVU239
  2134. 797 000a 0646 mov r6, r0
  2135. 798 .LVL69:
  2136. 419:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2137. 799 .loc 1 419 3 is_stmt 1 view .LVU240
  2138. 800 .L55:
  2139. 419:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2140. 801 .loc 1 419 8 view .LVU241
  2141. 419:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2142. 802 .loc 1 419 11 is_stmt 0 view .LVU242
  2143. 803 000c 2368 ldr r3, [r4]
  2144. 804 000e 1A68 ldr r2, [r3]
  2145. 419:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2146. 805 .loc 1 419 8 view .LVU243
  2147. ARM GAS /tmp/ccYVRobT.s page 38
  2148. 806 0010 12F0040F tst r2, #4
  2149. 807 0014 0FD1 bne .L66
  2150. 422:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2151. 808 .loc 1 422 5 is_stmt 1 view .LVU244
  2152. 422:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2153. 809 .loc 1 422 7 is_stmt 0 view .LVU245
  2154. 810 0016 B5F1FF3F cmp r5, #-1
  2155. 811 001a F7D0 beq .L55
  2156. 424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2157. 812 .loc 1 424 7 is_stmt 1 view .LVU246
  2158. 424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2159. 813 .loc 1 424 9 is_stmt 0 view .LVU247
  2160. 814 001c 25B1 cbz r5, .L56
  2161. 424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2162. 815 .loc 1 424 29 discriminator 1 view .LVU248
  2163. 816 001e FFF7FEFF bl HAL_GetTick
  2164. 817 .LVL70:
  2165. 424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2166. 818 .loc 1 424 43 discriminator 1 view .LVU249
  2167. 819 0022 801B subs r0, r0, r6
  2168. 424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2169. 820 .loc 1 424 25 discriminator 1 view .LVU250
  2170. 821 0024 A842 cmp r0, r5
  2171. 822 0026 F1D9 bls .L55
  2172. 823 .L56:
  2173. 426:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
  2174. 824 .loc 1 426 9 is_stmt 1 view .LVU251
  2175. 426:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
  2176. 825 .loc 1 426 20 is_stmt 0 view .LVU252
  2177. 826 0028 0423 movs r3, #4
  2178. 827 002a 2364 str r3, [r4, #64]
  2179. 428:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_TIMEOUT;
  2180. 828 .loc 1 428 9 is_stmt 1 view .LVU253
  2181. 428:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_TIMEOUT;
  2182. 829 .loc 1 428 9 view .LVU254
  2183. 830 002c 0023 movs r3, #0
  2184. 831 002e 84F83C30 strb r3, [r4, #60]
  2185. 428:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_TIMEOUT;
  2186. 832 .loc 1 428 9 view .LVU255
  2187. 429:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2188. 833 .loc 1 429 9 view .LVU256
  2189. 429:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2190. 834 .loc 1 429 16 is_stmt 0 view .LVU257
  2191. 835 0032 0320 movs r0, #3
  2192. 836 0034 2BE0 b .L57
  2193. 837 .L66:
  2194. 435:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2195. 838 .loc 1 435 3 is_stmt 1 view .LVU258
  2196. 839 0036 6FF00C02 mvn r2, #12
  2197. 840 003a 1A60 str r2, [r3]
  2198. 438:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2199. 841 .loc 1 438 3 view .LVU259
  2200. 842 003c 236C ldr r3, [r4, #64]
  2201. 843 003e 43F40053 orr r3, r3, #8192
  2202. 844 0042 2364 str r3, [r4, #64]
  2203. 446:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->JSQR, ADC_JSQR_JL) ||
  2204. 845 .loc 1 446 3 view .LVU260
  2205. ARM GAS /tmp/ccYVRobT.s page 39
  2206. 446:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->JSQR, ADC_JSQR_JL) ||
  2207. 846 .loc 1 446 6 is_stmt 0 view .LVU261
  2208. 847 0044 2368 ldr r3, [r4]
  2209. 848 0046 9A68 ldr r2, [r3, #8]
  2210. 446:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->JSQR, ADC_JSQR_JL) ||
  2211. 849 .loc 1 446 5 view .LVU262
  2212. 850 0048 12F4401F tst r2, #3145728
  2213. 851 004c 1ED1 bne .L60
  2214. 447:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) &&
  2215. 852 .loc 1 447 7 discriminator 1 view .LVU263
  2216. 853 004e 9A6B ldr r2, [r3, #56]
  2217. 446:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->JSQR, ADC_JSQR_JL) ||
  2218. 854 .loc 1 446 62 discriminator 1 view .LVU264
  2219. 855 0050 12F4401F tst r2, #3145728
  2220. 856 0054 03D0 beq .L59
  2221. 448:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) &&
  2222. 857 .loc 1 448 7 view .LVU265
  2223. 858 0056 9A68 ldr r2, [r3, #8]
  2224. 447:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) &&
  2225. 859 .loc 1 447 58 view .LVU266
  2226. 860 0058 12F4806F tst r2, #1024
  2227. 861 005c 18D1 bne .L61
  2228. 862 .L59:
  2229. 449:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
  2230. 863 .loc 1 449 7 view .LVU267
  2231. 864 005e 5A68 ldr r2, [r3, #4]
  2232. 448:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) &&
  2233. 865 .loc 1 448 62 view .LVU268
  2234. 866 0060 12F4806F tst r2, #1024
  2235. 867 0064 16D1 bne .L62
  2236. 450:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (hadc->Init.ContinuousConvMode == DISABLE) ) ) )
  2237. 868 .loc 1 450 8 view .LVU269
  2238. 869 0066 9B68 ldr r3, [r3, #8]
  2239. 449:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
  2240. 870 .loc 1 449 58 view .LVU270
  2241. 871 0068 13F0405F tst r3, #805306368
  2242. 872 006c 14D1 bne .L63
  2243. 451:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2244. 873 .loc 1 451 18 view .LVU271
  2245. 874 006e 207E ldrb r0, [r4, #24] @ zero_extendqisi2
  2246. 450:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (hadc->Init.ContinuousConvMode == DISABLE) ) ) )
  2247. 875 .loc 1 450 50 view .LVU272
  2248. 876 0070 A0B9 cbnz r0, .L64
  2249. 454:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2250. 877 .loc 1 454 5 is_stmt 1 view .LVU273
  2251. 878 0072 236C ldr r3, [r4, #64]
  2252. 879 0074 23F48053 bic r3, r3, #4096
  2253. 880 0078 2364 str r3, [r4, #64]
  2254. 456:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2255. 881 .loc 1 456 5 view .LVU274
  2256. 456:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2257. 882 .loc 1 456 9 is_stmt 0 view .LVU275
  2258. 883 007a 236C ldr r3, [r4, #64]
  2259. 456:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2260. 884 .loc 1 456 8 view .LVU276
  2261. 885 007c 13F4807F tst r3, #256
  2262. 886 0080 05D1 bne .L57
  2263. ARM GAS /tmp/ccYVRobT.s page 40
  2264. 458:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2265. 887 .loc 1 458 7 is_stmt 1 view .LVU277
  2266. 888 0082 236C ldr r3, [r4, #64]
  2267. 889 0084 43F00103 orr r3, r3, #1
  2268. 890 0088 2364 str r3, [r4, #64]
  2269. 891 008a 00E0 b .L57
  2270. 892 .L60:
  2271. 463:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2272. 893 .loc 1 463 10 is_stmt 0 view .LVU278
  2273. 894 008c 0020 movs r0, #0
  2274. 895 .L57:
  2275. 464:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2276. 896 .loc 1 464 1 view .LVU279
  2277. 897 008e 70BD pop {r4, r5, r6, pc}
  2278. 898 .LVL71:
  2279. 899 .L61:
  2280. 463:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2281. 900 .loc 1 463 10 view .LVU280
  2282. 901 0090 0020 movs r0, #0
  2283. 902 0092 FCE7 b .L57
  2284. 903 .L62:
  2285. 904 0094 0020 movs r0, #0
  2286. 905 0096 FAE7 b .L57
  2287. 906 .L63:
  2288. 907 0098 0020 movs r0, #0
  2289. 908 009a F8E7 b .L57
  2290. 909 .L64:
  2291. 463:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2292. 910 .loc 1 463 10 view .LVU281
  2293. 911 009c 0020 movs r0, #0
  2294. 912 009e F6E7 b .L57
  2295. 913 .cfi_endproc
  2296. 914 .LFE133:
  2297. 916 .section .text.HAL_ADCEx_InjectedStop_IT,"ax",%progbits
  2298. 917 .align 1
  2299. 918 .global HAL_ADCEx_InjectedStop_IT
  2300. 919 .syntax unified
  2301. 920 .thumb
  2302. 921 .thumb_func
  2303. 923 HAL_ADCEx_InjectedStop_IT:
  2304. 924 .LVL72:
  2305. 925 .LFB134:
  2306. 479:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
  2307. 926 .loc 1 479 1 is_stmt 1 view -0
  2308. 927 .cfi_startproc
  2309. 928 @ args = 0, pretend = 0, frame = 0
  2310. 929 @ frame_needed = 0, uses_anonymous_args = 0
  2311. 930 @ link register save eliminated.
  2312. 479:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
  2313. 931 .loc 1 479 1 is_stmt 0 view .LVU283
  2314. 932 0000 0346 mov r3, r0
  2315. 480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2316. 933 .loc 1 480 3 is_stmt 1 view .LVU284
  2317. 934 .LVL73:
  2318. 483:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2319. 935 .loc 1 483 3 view .LVU285
  2320. 486:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2321. ARM GAS /tmp/ccYVRobT.s page 41
  2322. 936 .loc 1 486 3 view .LVU286
  2323. 486:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2324. 937 .loc 1 486 3 view .LVU287
  2325. 938 0002 90F83C20 ldrb r2, [r0, #60] @ zero_extendqisi2
  2326. 939 0006 012A cmp r2, #1
  2327. 940 0008 2DD0 beq .L71
  2328. 486:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2329. 941 .loc 1 486 3 discriminator 2 view .LVU288
  2330. 942 000a 0122 movs r2, #1
  2331. 943 000c 80F83C20 strb r2, [r0, #60]
  2332. 486:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2333. 944 .loc 1 486 3 discriminator 2 view .LVU289
  2334. 494:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
  2335. 945 .loc 1 494 3 discriminator 2 view .LVU290
  2336. 494:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
  2337. 946 .loc 1 494 12 is_stmt 0 discriminator 2 view .LVU291
  2338. 947 0010 026C ldr r2, [r0, #64]
  2339. 494:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
  2340. 948 .loc 1 494 5 discriminator 2 view .LVU292
  2341. 949 0012 12F4807F tst r2, #256
  2342. 950 0016 1BD1 bne .L69
  2343. 495:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2344. 951 .loc 1 495 6 discriminator 1 view .LVU293
  2345. 952 0018 0268 ldr r2, [r0]
  2346. 953 001a 5168 ldr r1, [r2, #4]
  2347. 494:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
  2348. 954 .loc 1 494 57 discriminator 1 view .LVU294
  2349. 955 001c 11F4806F tst r1, #1024
  2350. 956 0020 16D1 bne .L69
  2351. 499:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2352. 957 .loc 1 499 5 is_stmt 1 view .LVU295
  2353. 958 0022 9168 ldr r1, [r2, #8]
  2354. 959 0024 21F00101 bic r1, r1, #1
  2355. 960 0028 9160 str r1, [r2, #8]
  2356. 502:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2357. 961 .loc 1 502 5 view .LVU296
  2358. 502:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2359. 962 .loc 1 502 8 is_stmt 0 view .LVU297
  2360. 963 002a 0268 ldr r2, [r0]
  2361. 964 002c 9168 ldr r1, [r2, #8]
  2362. 502:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2363. 965 .loc 1 502 7 view .LVU298
  2364. 966 002e 11F0010F tst r1, #1
  2365. 967 0032 16D1 bne .L72
  2366. 505:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2367. 968 .loc 1 505 7 is_stmt 1 view .LVU299
  2368. 969 0034 5168 ldr r1, [r2, #4]
  2369. 970 0036 21F08001 bic r1, r1, #128
  2370. 971 003a 5160 str r1, [r2, #4]
  2371. 508:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
  2372. 972 .loc 1 508 7 view .LVU300
  2373. 973 003c 026C ldr r2, [r0, #64]
  2374. 974 003e 22F48852 bic r2, r2, #4352
  2375. 975 0042 22F00102 bic r2, r2, #1
  2376. 976 0046 42F00102 orr r2, r2, #1
  2377. 977 004a 0264 str r2, [r0, #64]
  2378. 480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2379. ARM GAS /tmp/ccYVRobT.s page 42
  2380. 978 .loc 1 480 21 is_stmt 0 view .LVU301
  2381. 979 004c 0020 movs r0, #0
  2382. 980 .LVL74:
  2383. 480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2384. 981 .loc 1 480 21 view .LVU302
  2385. 982 004e 04E0 b .L70
  2386. 983 .LVL75:
  2387. 984 .L69:
  2388. 516:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2389. 985 .loc 1 516 5 is_stmt 1 view .LVU303
  2390. 986 0050 1A6C ldr r2, [r3, #64]
  2391. 987 0052 42F02002 orr r2, r2, #32
  2392. 988 0056 1A64 str r2, [r3, #64]
  2393. 518:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2394. 989 .loc 1 518 5 view .LVU304
  2395. 990 .LVL76:
  2396. 518:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2397. 991 .loc 1 518 20 is_stmt 0 view .LVU305
  2398. 992 0058 0120 movs r0, #1
  2399. 993 .LVL77:
  2400. 994 .L70:
  2401. 522:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2402. 995 .loc 1 522 3 is_stmt 1 view .LVU306
  2403. 522:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2404. 996 .loc 1 522 3 view .LVU307
  2405. 997 005a 0022 movs r2, #0
  2406. 998 005c 83F83C20 strb r2, [r3, #60]
  2407. 522:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2408. 999 .loc 1 522 3 view .LVU308
  2409. 525:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2410. 1000 .loc 1 525 3 view .LVU309
  2411. 525:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2412. 1001 .loc 1 525 10 is_stmt 0 view .LVU310
  2413. 1002 0060 7047 bx lr
  2414. 1003 .LVL78:
  2415. 1004 .L72:
  2416. 480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2417. 1005 .loc 1 480 21 view .LVU311
  2418. 1006 0062 0020 movs r0, #0
  2419. 1007 .LVL79:
  2420. 480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2421. 1008 .loc 1 480 21 view .LVU312
  2422. 1009 0064 F9E7 b .L70
  2423. 1010 .LVL80:
  2424. 1011 .L71:
  2425. 486:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2426. 1012 .loc 1 486 3 view .LVU313
  2427. 1013 0066 0220 movs r0, #2
  2428. 1014 .LVL81:
  2429. 526:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2430. 1015 .loc 1 526 1 view .LVU314
  2431. 1016 0068 7047 bx lr
  2432. 1017 .cfi_endproc
  2433. 1018 .LFE134:
  2434. 1020 .section .text.HAL_ADCEx_InjectedGetValue,"ax",%progbits
  2435. 1021 .align 1
  2436. 1022 .global HAL_ADCEx_InjectedGetValue
  2437. ARM GAS /tmp/ccYVRobT.s page 43
  2438. 1023 .syntax unified
  2439. 1024 .thumb
  2440. 1025 .thumb_func
  2441. 1027 HAL_ADCEx_InjectedGetValue:
  2442. 1028 .LVL82:
  2443. 1029 .LFB135:
  2444. 541:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t tmp = 0U;
  2445. 1030 .loc 1 541 1 is_stmt 1 view -0
  2446. 1031 .cfi_startproc
  2447. 1032 @ args = 0, pretend = 0, frame = 8
  2448. 1033 @ frame_needed = 0, uses_anonymous_args = 0
  2449. 1034 @ link register save eliminated.
  2450. 541:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t tmp = 0U;
  2451. 1035 .loc 1 541 1 is_stmt 0 view .LVU316
  2452. 1036 0000 82B0 sub sp, sp, #8
  2453. 1037 .LCFI10:
  2454. 1038 .cfi_def_cfa_offset 8
  2455. 542:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2456. 1039 .loc 1 542 3 is_stmt 1 view .LVU317
  2457. 542:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2458. 1040 .loc 1 542 17 is_stmt 0 view .LVU318
  2459. 1041 0002 0023 movs r3, #0
  2460. 1042 0004 0193 str r3, [sp, #4]
  2461. 545:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2462. 1043 .loc 1 545 3 is_stmt 1 view .LVU319
  2463. 549:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2464. 1044 .loc 1 549 3 view .LVU320
  2465. 1045 0006 0368 ldr r3, [r0]
  2466. 1046 0008 6FF00402 mvn r2, #4
  2467. 1047 000c 1A60 str r2, [r3]
  2468. 552:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2469. 1048 .loc 1 552 3 view .LVU321
  2470. 1049 000e 0139 subs r1, r1, #1
  2471. 1050 .LVL83:
  2472. 552:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2473. 1051 .loc 1 552 3 is_stmt 0 view .LVU322
  2474. 1052 0010 0329 cmp r1, #3
  2475. 1053 0012 06D8 bhi .L74
  2476. 1054 0014 DFE801F0 tbb [pc, r1]
  2477. 1055 .L76:
  2478. 1056 0018 10 .byte (.L79-.L76)/2
  2479. 1057 0019 0C .byte (.L78-.L76)/2
  2480. 1058 001a 08 .byte (.L77-.L76)/2
  2481. 1059 001b 02 .byte (.L75-.L76)/2
  2482. 1060 .p2align 1
  2483. 1061 .L75:
  2484. 556:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2485. 1062 .loc 1 556 7 is_stmt 1 view .LVU323
  2486. 556:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2487. 1063 .loc 1 556 18 is_stmt 0 view .LVU324
  2488. 1064 001c 0368 ldr r3, [r0]
  2489. 556:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2490. 1065 .loc 1 556 28 view .LVU325
  2491. 1066 001e 9B6C ldr r3, [r3, #72]
  2492. 556:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2493. 1067 .loc 1 556 11 view .LVU326
  2494. 1068 0020 0193 str r3, [sp, #4]
  2495. ARM GAS /tmp/ccYVRobT.s page 44
  2496. 558:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_3:
  2497. 1069 .loc 1 558 5 is_stmt 1 view .LVU327
  2498. 1070 .L74:
  2499. 577:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2500. 1071 .loc 1 577 3 view .LVU328
  2501. 577:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2502. 1072 .loc 1 577 10 is_stmt 0 view .LVU329
  2503. 1073 0022 0198 ldr r0, [sp, #4]
  2504. 1074 .LVL84:
  2505. 578:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2506. 1075 .loc 1 578 1 view .LVU330
  2507. 1076 0024 02B0 add sp, sp, #8
  2508. 1077 .LCFI11:
  2509. 1078 .cfi_remember_state
  2510. 1079 .cfi_def_cfa_offset 0
  2511. 1080 @ sp needed
  2512. 1081 0026 7047 bx lr
  2513. 1082 .LVL85:
  2514. 1083 .L77:
  2515. 1084 .LCFI12:
  2516. 1085 .cfi_restore_state
  2517. 561:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2518. 1086 .loc 1 561 7 is_stmt 1 view .LVU331
  2519. 561:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2520. 1087 .loc 1 561 18 is_stmt 0 view .LVU332
  2521. 1088 0028 0368 ldr r3, [r0]
  2522. 561:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2523. 1089 .loc 1 561 28 view .LVU333
  2524. 1090 002a 5B6C ldr r3, [r3, #68]
  2525. 561:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2526. 1091 .loc 1 561 11 view .LVU334
  2527. 1092 002c 0193 str r3, [sp, #4]
  2528. 563:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_2:
  2529. 1093 .loc 1 563 5 is_stmt 1 view .LVU335
  2530. 1094 002e F8E7 b .L74
  2531. 1095 .L78:
  2532. 566:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2533. 1096 .loc 1 566 7 view .LVU336
  2534. 566:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2535. 1097 .loc 1 566 18 is_stmt 0 view .LVU337
  2536. 1098 0030 0368 ldr r3, [r0]
  2537. 566:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2538. 1099 .loc 1 566 28 view .LVU338
  2539. 1100 0032 1B6C ldr r3, [r3, #64]
  2540. 566:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2541. 1101 .loc 1 566 11 view .LVU339
  2542. 1102 0034 0193 str r3, [sp, #4]
  2543. 568:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_1:
  2544. 1103 .loc 1 568 5 is_stmt 1 view .LVU340
  2545. 1104 0036 F4E7 b .L74
  2546. 1105 .L79:
  2547. 571:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2548. 1106 .loc 1 571 7 view .LVU341
  2549. 571:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2550. 1107 .loc 1 571 18 is_stmt 0 view .LVU342
  2551. 1108 0038 0368 ldr r3, [r0]
  2552. 571:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2553. ARM GAS /tmp/ccYVRobT.s page 45
  2554. 1109 .loc 1 571 28 view .LVU343
  2555. 1110 003a DB6B ldr r3, [r3, #60]
  2556. 571:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2557. 1111 .loc 1 571 11 view .LVU344
  2558. 1112 003c 0193 str r3, [sp, #4]
  2559. 573:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** default:
  2560. 1113 .loc 1 573 5 is_stmt 1 view .LVU345
  2561. 1114 003e F0E7 b .L74
  2562. 1115 .cfi_endproc
  2563. 1116 .LFE135:
  2564. 1118 .section .text.HAL_ADCEx_MultiModeStart_DMA,"ax",%progbits
  2565. 1119 .align 1
  2566. 1120 .global HAL_ADCEx_MultiModeStart_DMA
  2567. 1121 .syntax unified
  2568. 1122 .thumb
  2569. 1123 .thumb_func
  2570. 1125 HAL_ADCEx_MultiModeStart_DMA:
  2571. 1126 .LVL86:
  2572. 1127 .LFB136:
  2573. 592:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t counter = 0U;
  2574. 1128 .loc 1 592 1 view -0
  2575. 1129 .cfi_startproc
  2576. 1130 @ args = 0, pretend = 0, frame = 8
  2577. 1131 @ frame_needed = 0, uses_anonymous_args = 0
  2578. 592:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t counter = 0U;
  2579. 1132 .loc 1 592 1 is_stmt 0 view .LVU347
  2580. 1133 0000 30B5 push {r4, r5, lr}
  2581. 1134 .LCFI13:
  2582. 1135 .cfi_def_cfa_offset 12
  2583. 1136 .cfi_offset 4, -12
  2584. 1137 .cfi_offset 5, -8
  2585. 1138 .cfi_offset 14, -4
  2586. 1139 0002 83B0 sub sp, sp, #12
  2587. 1140 .LCFI14:
  2588. 1141 .cfi_def_cfa_offset 24
  2589. 1142 0004 1346 mov r3, r2
  2590. 593:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
  2591. 1143 .loc 1 593 3 is_stmt 1 view .LVU348
  2592. 593:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
  2593. 1144 .loc 1 593 17 is_stmt 0 view .LVU349
  2594. 1145 0006 0022 movs r2, #0
  2595. 1146 .LVL87:
  2596. 593:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
  2597. 1147 .loc 1 593 17 view .LVU350
  2598. 1148 0008 0192 str r2, [sp, #4]
  2599. 594:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2600. 1149 .loc 1 594 3 is_stmt 1 view .LVU351
  2601. 597:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_EXT_TRIG_EDGE(hadc->Init.ExternalTrigConvEdge));
  2602. 1150 .loc 1 597 3 view .LVU352
  2603. 598:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.DMAContinuousRequests));
  2604. 1151 .loc 1 598 3 view .LVU353
  2605. 599:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2606. 1152 .loc 1 599 3 view .LVU354
  2607. 602:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2608. 1153 .loc 1 602 3 view .LVU355
  2609. 602:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2610. 1154 .loc 1 602 3 view .LVU356
  2611. ARM GAS /tmp/ccYVRobT.s page 46
  2612. 1155 000a 90F83C20 ldrb r2, [r0, #60] @ zero_extendqisi2
  2613. 1156 000e 012A cmp r2, #1
  2614. 1157 0010 71D0 beq .L91
  2615. 1158 0012 0546 mov r5, r0
  2616. 602:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2617. 1159 .loc 1 602 3 discriminator 2 view .LVU357
  2618. 1160 0014 0122 movs r2, #1
  2619. 1161 0016 80F83C20 strb r2, [r0, #60]
  2620. 602:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2621. 1162 .loc 1 602 3 discriminator 2 view .LVU358
  2622. 606:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2623. 1163 .loc 1 606 3 discriminator 2 view .LVU359
  2624. 606:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2625. 1164 .loc 1 606 11 is_stmt 0 discriminator 2 view .LVU360
  2626. 1165 001a 0268 ldr r2, [r0]
  2627. 606:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2628. 1166 .loc 1 606 21 discriminator 2 view .LVU361
  2629. 1167 001c 9068 ldr r0, [r2, #8]
  2630. 1168 .LVL88:
  2631. 606:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2632. 1169 .loc 1 606 5 discriminator 2 view .LVU362
  2633. 1170 001e 10F0010F tst r0, #1
  2634. 1171 0022 13D1 bne .L83
  2635. 609:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2636. 1172 .loc 1 609 5 is_stmt 1 view .LVU363
  2637. 1173 0024 9068 ldr r0, [r2, #8]
  2638. 1174 0026 40F00100 orr r0, r0, #1
  2639. 1175 002a 9060 str r0, [r2, #8]
  2640. 613:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
  2641. 1176 .loc 1 613 5 view .LVU364
  2642. 613:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
  2643. 1177 .loc 1 613 53 is_stmt 0 view .LVU365
  2644. 1178 002c 354A ldr r2, .L95
  2645. 1179 002e 1068 ldr r0, [r2]
  2646. 1180 0030 354A ldr r2, .L95+4
  2647. 1181 0032 A2FB0020 umull r2, r0, r2, r0
  2648. 1182 0036 800C lsrs r0, r0, #18
  2649. 613:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
  2650. 1183 .loc 1 613 34 view .LVU366
  2651. 1184 0038 00EB4000 add r0, r0, r0, lsl #1
  2652. 613:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
  2653. 1185 .loc 1 613 13 view .LVU367
  2654. 1186 003c 0190 str r0, [sp, #4]
  2655. 614:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2656. 1187 .loc 1 614 5 is_stmt 1 view .LVU368
  2657. 614:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2658. 1188 .loc 1 614 10 is_stmt 0 view .LVU369
  2659. 1189 003e 02E0 b .L84
  2660. 1190 .L85:
  2661. 616:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2662. 1191 .loc 1 616 7 is_stmt 1 view .LVU370
  2663. 616:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2664. 1192 .loc 1 616 14 is_stmt 0 view .LVU371
  2665. 1193 0040 019C ldr r4, [sp, #4]
  2666. 1194 0042 013C subs r4, r4, #1
  2667. 1195 0044 0194 str r4, [sp, #4]
  2668. 1196 .L84:
  2669. ARM GAS /tmp/ccYVRobT.s page 47
  2670. 614:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2671. 1197 .loc 1 614 10 is_stmt 1 view .LVU372
  2672. 614:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2673. 1198 .loc 1 614 19 is_stmt 0 view .LVU373
  2674. 1199 0046 0198 ldr r0, [sp, #4]
  2675. 614:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2676. 1200 .loc 1 614 10 view .LVU374
  2677. 1201 0048 0028 cmp r0, #0
  2678. 1202 004a F9D1 bne .L85
  2679. 1203 .L83:
  2680. 621:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2681. 1204 .loc 1 621 3 is_stmt 1 view .LVU375
  2682. 621:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2683. 1205 .loc 1 621 6 is_stmt 0 view .LVU376
  2684. 1206 004c 2A68 ldr r2, [r5]
  2685. 1207 004e 9068 ldr r0, [r2, #8]
  2686. 621:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2687. 1208 .loc 1 621 5 view .LVU377
  2688. 1209 0050 10F0010F tst r0, #1
  2689. 1210 0054 51D0 beq .L92
  2690. 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,
  2691. 1211 .loc 1 626 5 is_stmt 1 view .LVU378
  2692. 1212 0056 286C ldr r0, [r5, #64]
  2693. 1213 0058 20F4E060 bic r0, r0, #1792
  2694. 1214 005c 20F00100 bic r0, r0, #1
  2695. 1215 0060 40F48070 orr r0, r0, #256
  2696. 1216 0064 2864 str r0, [r5, #64]
  2697. 632:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2698. 1217 .loc 1 632 5 view .LVU379
  2699. 632:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2700. 1218 .loc 1 632 9 is_stmt 0 view .LVU380
  2701. 1219 0066 5268 ldr r2, [r2, #4]
  2702. 632:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2703. 1220 .loc 1 632 8 view .LVU381
  2704. 1221 0068 12F4806F tst r2, #1024
  2705. 1222 006c 05D0 beq .L86
  2706. 634:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2707. 1223 .loc 1 634 7 is_stmt 1 view .LVU382
  2708. 1224 006e 2A6C ldr r2, [r5, #64]
  2709. 1225 0070 22F44052 bic r2, r2, #12288
  2710. 1226 0074 42F48052 orr r2, r2, #4096
  2711. 1227 0078 2A64 str r2, [r5, #64]
  2712. 1228 .L86:
  2713. 638:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2714. 1229 .loc 1 638 5 view .LVU383
  2715. 638:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2716. 1230 .loc 1 638 9 is_stmt 0 view .LVU384
  2717. 1231 007a 2A6C ldr r2, [r5, #64]
  2718. 638:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2719. 1232 .loc 1 638 8 view .LVU385
  2720. 1233 007c 12F4805F tst r2, #4096
  2721. 1234 0080 30D0 beq .L87
  2722. 641:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2723. 1235 .loc 1 641 7 is_stmt 1 view .LVU386
  2724. 1236 0082 6A6C ldr r2, [r5, #68]
  2725. 1237 0084 22F00602 bic r2, r2, #6
  2726. 1238 0088 6A64 str r2, [r5, #68]
  2727. ARM GAS /tmp/ccYVRobT.s page 48
  2728. 1239 .L88:
  2729. 652:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2730. 1240 .loc 1 652 5 view .LVU387
  2731. 652:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2732. 1241 .loc 1 652 5 view .LVU388
  2733. 1242 008a 0022 movs r2, #0
  2734. 1243 008c 85F83C20 strb r2, [r5, #60]
  2735. 652:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2736. 1244 .loc 1 652 5 view .LVU389
  2737. 655:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2738. 1245 .loc 1 655 5 view .LVU390
  2739. 655:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2740. 1246 .loc 1 655 9 is_stmt 0 view .LVU391
  2741. 1247 0090 AA6B ldr r2, [r5, #56]
  2742. 655:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2743. 1248 .loc 1 655 40 view .LVU392
  2744. 1249 0092 1E48 ldr r0, .L95+8
  2745. 1250 0094 D063 str r0, [r2, #60]
  2746. 658:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2747. 1251 .loc 1 658 5 is_stmt 1 view .LVU393
  2748. 658:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2749. 1252 .loc 1 658 9 is_stmt 0 view .LVU394
  2750. 1253 0096 AA6B ldr r2, [r5, #56]
  2751. 658:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2752. 1254 .loc 1 658 44 view .LVU395
  2753. 1255 0098 1D48 ldr r0, .L95+12
  2754. 1256 009a 1064 str r0, [r2, #64]
  2755. 661:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2756. 1257 .loc 1 661 5 is_stmt 1 view .LVU396
  2757. 661:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2758. 1258 .loc 1 661 9 is_stmt 0 view .LVU397
  2759. 1259 009c AA6B ldr r2, [r5, #56]
  2760. 661:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2761. 1260 .loc 1 661 41 view .LVU398
  2762. 1261 009e 1D48 ldr r0, .L95+16
  2763. 1262 00a0 D064 str r0, [r2, #76]
  2764. 668:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2765. 1263 .loc 1 668 5 is_stmt 1 view .LVU399
  2766. 1264 00a2 2A68 ldr r2, [r5]
  2767. 1265 00a4 6FF00200 mvn r0, #2
  2768. 1266 00a8 1060 str r0, [r2]
  2769. 671:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2770. 1267 .loc 1 671 5 view .LVU400
  2771. 1268 00aa 2868 ldr r0, [r5]
  2772. 1269 00ac 4268 ldr r2, [r0, #4]
  2773. 1270 00ae 42F08062 orr r2, r2, #67108864
  2774. 1271 00b2 4260 str r2, [r0, #4]
  2775. 676:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2776. 1272 .loc 1 676 5 view .LVU401
  2777. 1273 .LVL89:
  2778. 678:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2779. 1274 .loc 1 678 5 view .LVU402
  2780. 678:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2781. 1275 .loc 1 678 19 is_stmt 0 view .LVU403
  2782. 1276 00b4 95F83020 ldrb r2, [r5, #48] @ zero_extendqisi2
  2783. 678:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2784. 1277 .loc 1 678 8 view .LVU404
  2785. ARM GAS /tmp/ccYVRobT.s page 49
  2786. 1278 00b8 BAB1 cbz r2, .L89
  2787. 681:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2788. 1279 .loc 1 681 7 is_stmt 1 view .LVU405
  2789. 681:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2790. 1280 .loc 1 681 26 is_stmt 0 view .LVU406
  2791. 1281 00ba 1748 ldr r0, .L95+20
  2792. 1282 00bc 4268 ldr r2, [r0, #4]
  2793. 1283 00be 42F40052 orr r2, r2, #8192
  2794. 1284 00c2 4260 str r2, [r0, #4]
  2795. 1285 .L90:
  2796. 690:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2797. 1286 .loc 1 690 5 is_stmt 1 view .LVU407
  2798. 1287 00c4 0A46 mov r2, r1
  2799. 1288 00c6 1549 ldr r1, .L95+24
  2800. 1289 .LVL90:
  2801. 690:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2802. 1290 .loc 1 690 5 is_stmt 0 view .LVU408
  2803. 1291 00c8 A86B ldr r0, [r5, #56]
  2804. 1292 00ca FFF7FEFF bl HAL_DMA_Start_IT
  2805. 1293 .LVL91:
  2806. 693:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2807. 1294 .loc 1 693 5 is_stmt 1 view .LVU409
  2808. 693:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2809. 1295 .loc 1 693 13 is_stmt 0 view .LVU410
  2810. 1296 00ce 2B68 ldr r3, [r5]
  2811. 693:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2812. 1297 .loc 1 693 23 view .LVU411
  2813. 1298 00d0 9A68 ldr r2, [r3, #8]
  2814. 693:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2815. 1299 .loc 1 693 7 view .LVU412
  2816. 1300 00d2 12F0405F tst r2, #805306368
  2817. 1301 00d6 13D1 bne .L93
  2818. 696:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2819. 1302 .loc 1 696 7 is_stmt 1 view .LVU413
  2820. 696:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2821. 1303 .loc 1 696 27 is_stmt 0 view .LVU414
  2822. 1304 00d8 9A68 ldr r2, [r3, #8]
  2823. 1305 00da 42F08042 orr r2, r2, #1073741824
  2824. 1306 00de 9A60 str r2, [r3, #8]
  2825. 701:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2826. 1307 .loc 1 701 10 view .LVU415
  2827. 1308 00e0 0020 movs r0, #0
  2828. 1309 00e2 0BE0 b .L82
  2829. 1310 .LVL92:
  2830. 1311 .L87:
  2831. 646:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2832. 1312 .loc 1 646 7 is_stmt 1 view .LVU416
  2833. 1313 00e4 0022 movs r2, #0
  2834. 1314 00e6 6A64 str r2, [r5, #68]
  2835. 1315 00e8 CFE7 b .L88
  2836. 1316 .LVL93:
  2837. 1317 .L89:
  2838. 686:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2839. 1318 .loc 1 686 7 view .LVU417
  2840. 686:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2841. 1319 .loc 1 686 26 is_stmt 0 view .LVU418
  2842. 1320 00ea 0B48 ldr r0, .L95+20
  2843. ARM GAS /tmp/ccYVRobT.s page 50
  2844. 1321 00ec 4268 ldr r2, [r0, #4]
  2845. 1322 00ee 22F40052 bic r2, r2, #8192
  2846. 1323 00f2 4260 str r2, [r0, #4]
  2847. 1324 00f4 E6E7 b .L90
  2848. 1325 .LVL94:
  2849. 1326 .L91:
  2850. 602:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2851. 1327 .loc 1 602 3 view .LVU419
  2852. 1328 00f6 0220 movs r0, #2
  2853. 1329 .LVL95:
  2854. 602:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2855. 1330 .loc 1 602 3 view .LVU420
  2856. 1331 00f8 00E0 b .L82
  2857. 1332 .LVL96:
  2858. 1333 .L92:
  2859. 701:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2860. 1334 .loc 1 701 10 view .LVU421
  2861. 1335 00fa 0020 movs r0, #0
  2862. 1336 .LVL97:
  2863. 1337 .L82:
  2864. 702:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2865. 1338 .loc 1 702 1 view .LVU422
  2866. 1339 00fc 03B0 add sp, sp, #12
  2867. 1340 .LCFI15:
  2868. 1341 .cfi_remember_state
  2869. 1342 .cfi_def_cfa_offset 12
  2870. 1343 @ sp needed
  2871. 1344 00fe 30BD pop {r4, r5, pc}
  2872. 1345 .LVL98:
  2873. 1346 .L93:
  2874. 1347 .LCFI16:
  2875. 1348 .cfi_restore_state
  2876. 701:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2877. 1349 .loc 1 701 10 view .LVU423
  2878. 1350 0100 0020 movs r0, #0
  2879. 1351 0102 FBE7 b .L82
  2880. 1352 .L96:
  2881. 1353 .align 2
  2882. 1354 .L95:
  2883. 1355 0104 00000000 .word SystemCoreClock
  2884. 1356 0108 83DE1B43 .word 1125899907
  2885. 1357 010c 00000000 .word ADC_MultiModeDMAConvCplt
  2886. 1358 0110 00000000 .word ADC_MultiModeDMAHalfConvCplt
  2887. 1359 0114 00000000 .word ADC_MultiModeDMAError
  2888. 1360 0118 00230140 .word 1073816320
  2889. 1361 011c 08230140 .word 1073816328
  2890. 1362 .cfi_endproc
  2891. 1363 .LFE136:
  2892. 1365 .section .text.HAL_ADCEx_MultiModeStop_DMA,"ax",%progbits
  2893. 1366 .align 1
  2894. 1367 .global HAL_ADCEx_MultiModeStop_DMA
  2895. 1368 .syntax unified
  2896. 1369 .thumb
  2897. 1370 .thumb_func
  2898. 1372 HAL_ADCEx_MultiModeStop_DMA:
  2899. 1373 .LVL99:
  2900. 1374 .LFB137:
  2901. ARM GAS /tmp/ccYVRobT.s page 51
  2902. 711:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
  2903. 1375 .loc 1 711 1 is_stmt 1 view -0
  2904. 1376 .cfi_startproc
  2905. 1377 @ args = 0, pretend = 0, frame = 0
  2906. 1378 @ frame_needed = 0, uses_anonymous_args = 0
  2907. 712:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
  2908. 1379 .loc 1 712 3 view .LVU425
  2909. 713:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2910. 1380 .loc 1 713 3 view .LVU426
  2911. 716:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2912. 1381 .loc 1 716 3 view .LVU427
  2913. 719:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2914. 1382 .loc 1 719 3 view .LVU428
  2915. 719:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2916. 1383 .loc 1 719 3 view .LVU429
  2917. 1384 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
  2918. 1385 0004 012B cmp r3, #1
  2919. 1386 0006 29D0 beq .L100
  2920. 711:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
  2921. 1387 .loc 1 711 1 is_stmt 0 discriminator 2 view .LVU430
  2922. 1388 0008 10B5 push {r4, lr}
  2923. 1389 .LCFI17:
  2924. 1390 .cfi_def_cfa_offset 8
  2925. 1391 .cfi_offset 4, -8
  2926. 1392 .cfi_offset 14, -4
  2927. 1393 000a 0446 mov r4, r0
  2928. 719:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2929. 1394 .loc 1 719 3 is_stmt 1 discriminator 2 view .LVU431
  2930. 1395 000c 0123 movs r3, #1
  2931. 1396 000e 80F83C30 strb r3, [r0, #60]
  2932. 719:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2933. 1397 .loc 1 719 3 discriminator 2 view .LVU432
  2934. 723:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2935. 1398 .loc 1 723 3 discriminator 2 view .LVU433
  2936. 1399 0012 0268 ldr r2, [r0]
  2937. 1400 0014 9368 ldr r3, [r2, #8]
  2938. 1401 0016 23F00103 bic r3, r3, #1
  2939. 1402 001a 9360 str r3, [r2, #8]
  2940. 728:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2941. 1403 .loc 1 728 3 discriminator 2 view .LVU434
  2942. 1404 .LVL100:
  2943. 731:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2944. 1405 .loc 1 731 3 discriminator 2 view .LVU435
  2945. 731:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2946. 1406 .loc 1 731 6 is_stmt 0 discriminator 2 view .LVU436
  2947. 1407 001c 0368 ldr r3, [r0]
  2948. 1408 001e 9B68 ldr r3, [r3, #8]
  2949. 731:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  2950. 1409 .loc 1 731 5 discriminator 2 view .LVU437
  2951. 1410 0020 13F0010F tst r3, #1
  2952. 1411 0024 04D0 beq .L106
  2953. 712:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
  2954. 1412 .loc 1 712 21 view .LVU438
  2955. 1413 0026 0020 movs r0, #0
  2956. 1414 .LVL101:
  2957. 1415 .L99:
  2958. 750:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2959. ARM GAS /tmp/ccYVRobT.s page 52
  2960. 1416 .loc 1 750 3 is_stmt 1 view .LVU439
  2961. 750:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2962. 1417 .loc 1 750 3 view .LVU440
  2963. 1418 0028 0023 movs r3, #0
  2964. 1419 002a 84F83C30 strb r3, [r4, #60]
  2965. 750:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2966. 1420 .loc 1 750 3 view .LVU441
  2967. 753:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  2968. 1421 .loc 1 753 3 view .LVU442
  2969. 754:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2970. 1422 .loc 1 754 1 is_stmt 0 view .LVU443
  2971. 1423 002e 10BD pop {r4, pc}
  2972. 1424 .LVL102:
  2973. 1425 .L106:
  2974. 734:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2975. 1426 .loc 1 734 5 is_stmt 1 view .LVU444
  2976. 734:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2977. 1427 .loc 1 734 24 is_stmt 0 view .LVU445
  2978. 1428 0030 0B4A ldr r2, .L107
  2979. 1429 0032 5368 ldr r3, [r2, #4]
  2980. 1430 0034 23F40053 bic r3, r3, #8192
  2981. 1431 0038 5360 str r3, [r2, #4]
  2982. 738:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2983. 1432 .loc 1 738 5 is_stmt 1 view .LVU446
  2984. 738:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2985. 1433 .loc 1 738 22 is_stmt 0 view .LVU447
  2986. 1434 003a 806B ldr r0, [r0, #56]
  2987. 1435 .LVL103:
  2988. 738:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2989. 1436 .loc 1 738 22 view .LVU448
  2990. 1437 003c FFF7FEFF bl HAL_DMA_Abort
  2991. 1438 .LVL104:
  2992. 741:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  2993. 1439 .loc 1 741 5 is_stmt 1 view .LVU449
  2994. 1440 0040 2268 ldr r2, [r4]
  2995. 1441 0042 5368 ldr r3, [r2, #4]
  2996. 1442 0044 23F08063 bic r3, r3, #67108864
  2997. 1443 0048 5360 str r3, [r2, #4]
  2998. 744:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
  2999. 1444 .loc 1 744 5 view .LVU450
  3000. 1445 004a 236C ldr r3, [r4, #64]
  3001. 1446 004c 23F48853 bic r3, r3, #4352
  3002. 1447 0050 23F00103 bic r3, r3, #1
  3003. 1448 0054 43F00103 orr r3, r3, #1
  3004. 1449 0058 2364 str r3, [r4, #64]
  3005. 1450 005a E5E7 b .L99
  3006. 1451 .LVL105:
  3007. 1452 .L100:
  3008. 1453 .LCFI18:
  3009. 1454 .cfi_def_cfa_offset 0
  3010. 1455 .cfi_restore 4
  3011. 1456 .cfi_restore 14
  3012. 719:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3013. 1457 .loc 1 719 3 is_stmt 0 view .LVU451
  3014. 1458 005c 0220 movs r0, #2
  3015. 1459 .LVL106:
  3016. 754:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3017. ARM GAS /tmp/ccYVRobT.s page 53
  3018. 1460 .loc 1 754 1 view .LVU452
  3019. 1461 005e 7047 bx lr
  3020. 1462 .L108:
  3021. 1463 .align 2
  3022. 1464 .L107:
  3023. 1465 0060 00230140 .word 1073816320
  3024. 1466 .cfi_endproc
  3025. 1467 .LFE137:
  3026. 1469 .section .text.HAL_ADCEx_MultiModeGetValue,"ax",%progbits
  3027. 1470 .align 1
  3028. 1471 .global HAL_ADCEx_MultiModeGetValue
  3029. 1472 .syntax unified
  3030. 1473 .thumb
  3031. 1474 .thumb_func
  3032. 1476 HAL_ADCEx_MultiModeGetValue:
  3033. 1477 .LVL107:
  3034. 1478 .LFB138:
  3035. 764:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
  3036. 1479 .loc 1 764 1 is_stmt 1 view -0
  3037. 1480 .cfi_startproc
  3038. 1481 @ args = 0, pretend = 0, frame = 0
  3039. 1482 @ frame_needed = 0, uses_anonymous_args = 0
  3040. 1483 @ link register save eliminated.
  3041. 765:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3042. 1484 .loc 1 765 3 view .LVU454
  3043. 770:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3044. 1485 .loc 1 770 3 view .LVU455
  3045. 773:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3046. 1486 .loc 1 773 3 view .LVU456
  3047. 773:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3048. 1487 .loc 1 773 23 is_stmt 0 view .LVU457
  3049. 1488 0000 014B ldr r3, .L110
  3050. 1489 0002 9868 ldr r0, [r3, #8]
  3051. 1490 .LVL108:
  3052. 774:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3053. 1491 .loc 1 774 1 view .LVU458
  3054. 1492 0004 7047 bx lr
  3055. 1493 .L111:
  3056. 1494 0006 00BF .align 2
  3057. 1495 .L110:
  3058. 1496 0008 00230140 .word 1073816320
  3059. 1497 .cfi_endproc
  3060. 1498 .LFE138:
  3061. 1500 .section .text.HAL_ADCEx_InjectedConvCpltCallback,"ax",%progbits
  3062. 1501 .align 1
  3063. 1502 .weak HAL_ADCEx_InjectedConvCpltCallback
  3064. 1503 .syntax unified
  3065. 1504 .thumb
  3066. 1505 .thumb_func
  3067. 1507 HAL_ADCEx_InjectedConvCpltCallback:
  3068. 1508 .LVL109:
  3069. 1509 .LFB139:
  3070. 783:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Prevent unused argument(s) compilation warning */
  3071. 1510 .loc 1 783 1 is_stmt 1 view -0
  3072. 1511 .cfi_startproc
  3073. 1512 @ args = 0, pretend = 0, frame = 0
  3074. 1513 @ frame_needed = 0, uses_anonymous_args = 0
  3075. ARM GAS /tmp/ccYVRobT.s page 54
  3076. 1514 @ link register save eliminated.
  3077. 785:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* NOTE : This function Should not be modified, when the callback is needed,
  3078. 1515 .loc 1 785 3 view .LVU460
  3079. 789:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3080. 1516 .loc 1 789 1 is_stmt 0 view .LVU461
  3081. 1517 0000 7047 bx lr
  3082. 1518 .cfi_endproc
  3083. 1519 .LFE139:
  3084. 1521 .section .text.HAL_ADCEx_InjectedConfigChannel,"ax",%progbits
  3085. 1522 .align 1
  3086. 1523 .global HAL_ADCEx_InjectedConfigChannel
  3087. 1524 .syntax unified
  3088. 1525 .thumb
  3089. 1526 .thumb_func
  3090. 1528 HAL_ADCEx_InjectedConfigChannel:
  3091. 1529 .LVL110:
  3092. 1530 .LFB140:
  3093. 800:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3094. 1531 .loc 1 800 1 is_stmt 1 view -0
  3095. 1532 .cfi_startproc
  3096. 1533 @ args = 0, pretend = 0, frame = 0
  3097. 1534 @ frame_needed = 0, uses_anonymous_args = 0
  3098. 1535 @ link register save eliminated.
  3099. 807:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3100. 1536 .loc 1 807 3 view .LVU463
  3101. 810:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_INJECTED_RANK(sConfigInjected->InjectedRank));
  3102. 1537 .loc 1 810 3 view .LVU464
  3103. 811:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_SAMPLE_TIME(sConfigInjected->InjectedSamplingTime));
  3104. 1538 .loc 1 811 3 view .LVU465
  3105. 812:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_EXT_INJEC_TRIG(sConfigInjected->ExternalTrigInjecConv));
  3106. 1539 .loc 1 812 3 view .LVU466
  3107. 813:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_INJECTED_LENGTH(sConfigInjected->InjectedNbrOfConversion));
  3108. 1540 .loc 1 813 3 view .LVU467
  3109. 814:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_FUNCTIONAL_STATE(sConfigInjected->AutoInjectedConv));
  3110. 1541 .loc 1 814 3 view .LVU468
  3111. 815:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_FUNCTIONAL_STATE(sConfigInjected->InjectedDiscontinuousConvMode));
  3112. 1542 .loc 1 815 3 view .LVU469
  3113. 816:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3114. 1543 .loc 1 816 3 view .LVU470
  3115. 823:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3116. 1544 .loc 1 823 3 view .LVU471
  3117. 825:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3118. 1545 .loc 1 825 5 view .LVU472
  3119. 829:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3120. 1546 .loc 1 829 3 view .LVU473
  3121. 829:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3122. 1547 .loc 1 829 3 view .LVU474
  3123. 1548 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
  3124. 1549 0004 012B cmp r3, #1
  3125. 1550 0006 00F0FB80 beq .L129
  3126. 800:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3127. 1551 .loc 1 800 1 is_stmt 0 discriminator 2 view .LVU475
  3128. 1552 000a 30B4 push {r4, r5}
  3129. 1553 .LCFI19:
  3130. 1554 .cfi_def_cfa_offset 8
  3131. 1555 .cfi_offset 4, -8
  3132. 1556 .cfi_offset 5, -4
  3133. ARM GAS /tmp/ccYVRobT.s page 55
  3134. 829:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3135. 1557 .loc 1 829 3 is_stmt 1 discriminator 2 view .LVU476
  3136. 1558 000c 0123 movs r3, #1
  3137. 1559 000e 80F83C30 strb r3, [r0, #60]
  3138. 829:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3139. 1560 .loc 1 829 3 discriminator 2 view .LVU477
  3140. 832:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3141. 1561 .loc 1 832 3 discriminator 2 view .LVU478
  3142. 832:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3143. 1562 .loc 1 832 22 is_stmt 0 discriminator 2 view .LVU479
  3144. 1563 0012 0B68 ldr r3, [r1]
  3145. 832:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3146. 1564 .loc 1 832 6 discriminator 2 view .LVU480
  3147. 1565 0014 092B cmp r3, #9
  3148. 1566 0016 7FD9 bls .L115
  3149. 835:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3150. 1567 .loc 1 835 5 is_stmt 1 view .LVU481
  3151. 835:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3152. 1568 .loc 1 835 9 is_stmt 0 view .LVU482
  3153. 1569 0018 0568 ldr r5, [r0]
  3154. 835:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3155. 1570 .loc 1 835 27 view .LVU483
  3156. 1571 001a EA68 ldr r2, [r5, #12]
  3157. 835:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3158. 1572 .loc 1 835 31 view .LVU484
  3159. 1573 001c 9BB2 uxth r3, r3
  3160. 1574 001e 03EB4303 add r3, r3, r3, lsl #1
  3161. 1575 0022 1E3B subs r3, r3, #30
  3162. 1576 0024 0724 movs r4, #7
  3163. 1577 0026 04FA03F3 lsl r3, r4, r3
  3164. 835:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3165. 1578 .loc 1 835 27 view .LVU485
  3166. 1579 002a 22EA0303 bic r3, r2, r3
  3167. 1580 002e EB60 str r3, [r5, #12]
  3168. 838:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3169. 1581 .loc 1 838 5 is_stmt 1 view .LVU486
  3170. 838:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3171. 1582 .loc 1 838 9 is_stmt 0 view .LVU487
  3172. 1583 0030 0568 ldr r5, [r0]
  3173. 838:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3174. 1584 .loc 1 838 27 view .LVU488
  3175. 1585 0032 EA68 ldr r2, [r5, #12]
  3176. 838:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3177. 1586 .loc 1 838 30 view .LVU489
  3178. 1587 0034 8C68 ldr r4, [r1, #8]
  3179. 1588 0036 0B88 ldrh r3, [r1]
  3180. 1589 0038 03EB4303 add r3, r3, r3, lsl #1
  3181. 1590 003c 1E3B subs r3, r3, #30
  3182. 1591 003e 04FA03F3 lsl r3, r4, r3
  3183. 838:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3184. 1592 .loc 1 838 27 view .LVU490
  3185. 1593 0042 1343 orrs r3, r3, r2
  3186. 1594 0044 EB60 str r3, [r5, #12]
  3187. 1595 .L116:
  3188. 850:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JSQR |= ADC_SQR1(sConfigInjected->InjectedNbrOfConversion);
  3189. 1596 .loc 1 850 3 is_stmt 1 view .LVU491
  3190. 850:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JSQR |= ADC_SQR1(sConfigInjected->InjectedNbrOfConversion);
  3191. ARM GAS /tmp/ccYVRobT.s page 56
  3192. 1597 .loc 1 850 7 is_stmt 0 view .LVU492
  3193. 1598 0046 0268 ldr r2, [r0]
  3194. 850:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JSQR |= ADC_SQR1(sConfigInjected->InjectedNbrOfConversion);
  3195. 1599 .loc 1 850 24 view .LVU493
  3196. 1600 0048 936B ldr r3, [r2, #56]
  3197. 1601 004a 23F44013 bic r3, r3, #3145728
  3198. 1602 004e 9363 str r3, [r2, #56]
  3199. 851:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3200. 1603 .loc 1 851 3 is_stmt 1 view .LVU494
  3201. 851:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3202. 1604 .loc 1 851 7 is_stmt 0 view .LVU495
  3203. 1605 0050 0468 ldr r4, [r0]
  3204. 851:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3205. 1606 .loc 1 851 24 view .LVU496
  3206. 1607 0052 A36B ldr r3, [r4, #56]
  3207. 851:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3208. 1608 .loc 1 851 28 view .LVU497
  3209. 1609 0054 0A69 ldr r2, [r1, #16]
  3210. 1610 0056 013A subs r2, r2, #1
  3211. 851:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3212. 1611 .loc 1 851 24 view .LVU498
  3213. 1612 0058 43EA0253 orr r3, r3, r2, lsl #20
  3214. 1613 005c A363 str r3, [r4, #56]
  3215. 856:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3216. 1614 .loc 1 856 3 is_stmt 1 view .LVU499
  3217. 856:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3218. 1615 .loc 1 856 7 is_stmt 0 view .LVU500
  3219. 1616 005e 0468 ldr r4, [r0]
  3220. 856:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3221. 1617 .loc 1 856 24 view .LVU501
  3222. 1618 0060 A26B ldr r2, [r4, #56]
  3223. 856:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3224. 1619 .loc 1 856 28 view .LVU502
  3225. 1620 0062 4B68 ldr r3, [r1, #4]
  3226. 1621 0064 0D69 ldr r5, [r1, #16]
  3227. 1622 0066 5B1B subs r3, r3, r5
  3228. 1623 0068 DBB2 uxtb r3, r3
  3229. 1624 006a 0333 adds r3, r3, #3
  3230. 1625 006c DBB2 uxtb r3, r3
  3231. 1626 006e 03EB8303 add r3, r3, r3, lsl #2
  3232. 1627 0072 4FF01F0C mov ip, #31
  3233. 1628 0076 0CFA03F3 lsl r3, ip, r3
  3234. 856:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3235. 1629 .loc 1 856 24 view .LVU503
  3236. 1630 007a 22EA0303 bic r3, r2, r3
  3237. 1631 007e A363 str r3, [r4, #56]
  3238. 859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3239. 1632 .loc 1 859 3 is_stmt 1 view .LVU504
  3240. 859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3241. 1633 .loc 1 859 7 is_stmt 0 view .LVU505
  3242. 1634 0080 0468 ldr r4, [r0]
  3243. 859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3244. 1635 .loc 1 859 24 view .LVU506
  3245. 1636 0082 A26B ldr r2, [r4, #56]
  3246. 859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3247. 1637 .loc 1 859 27 view .LVU507
  3248. 1638 0084 4B68 ldr r3, [r1, #4]
  3249. ARM GAS /tmp/ccYVRobT.s page 57
  3250. 1639 0086 0D69 ldr r5, [r1, #16]
  3251. 1640 0088 5B1B subs r3, r3, r5
  3252. 1641 008a DBB2 uxtb r3, r3
  3253. 1642 008c 0333 adds r3, r3, #3
  3254. 1643 008e DBB2 uxtb r3, r3
  3255. 1644 0090 03EB8303 add r3, r3, r3, lsl #2
  3256. 1645 0094 B1F800C0 ldrh ip, [r1]
  3257. 1646 0098 0CFA03F3 lsl r3, ip, r3
  3258. 859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3259. 1647 .loc 1 859 24 view .LVU508
  3260. 1648 009c 1343 orrs r3, r3, r2
  3261. 1649 009e A363 str r3, [r4, #56]
  3262. 866:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3263. 1650 .loc 1 866 3 is_stmt 1 view .LVU509
  3264. 866:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3265. 1651 .loc 1 866 21 is_stmt 0 view .LVU510
  3266. 1652 00a0 8A69 ldr r2, [r1, #24]
  3267. 866:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3268. 1653 .loc 1 866 5 view .LVU511
  3269. 1654 00a2 584B ldr r3, .L137
  3270. 1655 00a4 9A42 cmp r2, r3
  3271. 1656 00a6 4DD0 beq .L117
  3272. 869:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= sConfigInjected->ExternalTrigInjecConv;
  3273. 1657 .loc 1 869 5 is_stmt 1 view .LVU512
  3274. 869:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= sConfigInjected->ExternalTrigInjecConv;
  3275. 1658 .loc 1 869 9 is_stmt 0 view .LVU513
  3276. 1659 00a8 0268 ldr r2, [r0]
  3277. 869:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= sConfigInjected->ExternalTrigInjecConv;
  3278. 1660 .loc 1 869 25 view .LVU514
  3279. 1661 00aa 9368 ldr r3, [r2, #8]
  3280. 1662 00ac 23F47023 bic r3, r3, #983040
  3281. 1663 00b0 9360 str r3, [r2, #8]
  3282. 870:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3283. 1664 .loc 1 870 5 is_stmt 1 view .LVU515
  3284. 870:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3285. 1665 .loc 1 870 9 is_stmt 0 view .LVU516
  3286. 1666 00b2 0268 ldr r2, [r0]
  3287. 870:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3288. 1667 .loc 1 870 25 view .LVU517
  3289. 1668 00b4 9368 ldr r3, [r2, #8]
  3290. 870:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3291. 1669 .loc 1 870 44 view .LVU518
  3292. 1670 00b6 8C69 ldr r4, [r1, #24]
  3293. 870:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3294. 1671 .loc 1 870 25 view .LVU519
  3295. 1672 00b8 2343 orrs r3, r3, r4
  3296. 1673 00ba 9360 str r3, [r2, #8]
  3297. 873:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= sConfigInjected->ExternalTrigInjecConvEdge;
  3298. 1674 .loc 1 873 5 is_stmt 1 view .LVU520
  3299. 873:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= sConfigInjected->ExternalTrigInjecConvEdge;
  3300. 1675 .loc 1 873 9 is_stmt 0 view .LVU521
  3301. 1676 00bc 0268 ldr r2, [r0]
  3302. 873:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= sConfigInjected->ExternalTrigInjecConvEdge;
  3303. 1677 .loc 1 873 25 view .LVU522
  3304. 1678 00be 9368 ldr r3, [r2, #8]
  3305. 1679 00c0 23F44013 bic r3, r3, #3145728
  3306. 1680 00c4 9360 str r3, [r2, #8]
  3307. ARM GAS /tmp/ccYVRobT.s page 58
  3308. 874:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3309. 1681 .loc 1 874 5 is_stmt 1 view .LVU523
  3310. 874:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3311. 1682 .loc 1 874 9 is_stmt 0 view .LVU524
  3312. 1683 00c6 0268 ldr r2, [r0]
  3313. 874:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3314. 1684 .loc 1 874 25 view .LVU525
  3315. 1685 00c8 9368 ldr r3, [r2, #8]
  3316. 874:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3317. 1686 .loc 1 874 43 view .LVU526
  3318. 1687 00ca CC69 ldr r4, [r1, #28]
  3319. 874:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3320. 1688 .loc 1 874 25 view .LVU527
  3321. 1689 00cc 2343 orrs r3, r3, r4
  3322. 1690 00ce 9360 str r3, [r2, #8]
  3323. 1691 .L118:
  3324. 883:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3325. 1692 .loc 1 883 3 is_stmt 1 view .LVU528
  3326. 883:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3327. 1693 .loc 1 883 22 is_stmt 0 view .LVU529
  3328. 1694 00d0 4B7D ldrb r3, [r1, #21] @ zero_extendqisi2
  3329. 883:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3330. 1695 .loc 1 883 6 view .LVU530
  3331. 1696 00d2 002B cmp r3, #0
  3332. 1697 00d4 41D0 beq .L119
  3333. 886:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3334. 1698 .loc 1 886 5 is_stmt 1 view .LVU531
  3335. 886:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3336. 1699 .loc 1 886 9 is_stmt 0 view .LVU532
  3337. 1700 00d6 0268 ldr r2, [r0]
  3338. 886:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3339. 1701 .loc 1 886 25 view .LVU533
  3340. 1702 00d8 5368 ldr r3, [r2, #4]
  3341. 1703 00da 43F48063 orr r3, r3, #1024
  3342. 1704 00de 5360 str r3, [r2, #4]
  3343. 1705 .L120:
  3344. 894:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3345. 1706 .loc 1 894 3 is_stmt 1 view .LVU534
  3346. 894:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3347. 1707 .loc 1 894 22 is_stmt 0 view .LVU535
  3348. 1708 00e0 0B7D ldrb r3, [r1, #20] @ zero_extendqisi2
  3349. 894:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3350. 1709 .loc 1 894 6 view .LVU536
  3351. 1710 00e2 002B cmp r3, #0
  3352. 1711 00e4 3FD0 beq .L121
  3353. 897:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3354. 1712 .loc 1 897 5 is_stmt 1 view .LVU537
  3355. 897:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3356. 1713 .loc 1 897 9 is_stmt 0 view .LVU538
  3357. 1714 00e6 0268 ldr r2, [r0]
  3358. 897:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3359. 1715 .loc 1 897 25 view .LVU539
  3360. 1716 00e8 5368 ldr r3, [r2, #4]
  3361. 1717 00ea 43F48053 orr r3, r3, #4096
  3362. 1718 00ee 5360 str r3, [r2, #4]
  3363. 1719 .L122:
  3364. 905:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3365. ARM GAS /tmp/ccYVRobT.s page 59
  3366. 1720 .loc 1 905 3 is_stmt 1 view .LVU540
  3367. 905:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3368. 1721 .loc 1 905 25 is_stmt 0 view .LVU541
  3369. 1722 00f0 4B68 ldr r3, [r1, #4]
  3370. 905:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3371. 1723 .loc 1 905 3 view .LVU542
  3372. 1724 00f2 022B cmp r3, #2
  3373. 1725 00f4 57D0 beq .L123
  3374. 1726 00f6 032B cmp r3, #3
  3375. 1727 00f8 62D0 beq .L124
  3376. 1728 00fa 012B cmp r3, #1
  3377. 1729 00fc 39D0 beq .L134
  3378. 924:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR4 |= sConfigInjected->InjectedOffset;
  3379. 1730 .loc 1 924 7 is_stmt 1 view .LVU543
  3380. 924:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR4 |= sConfigInjected->InjectedOffset;
  3381. 1731 .loc 1 924 11 is_stmt 0 view .LVU544
  3382. 1732 00fe 0268 ldr r2, [r0]
  3383. 924:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR4 |= sConfigInjected->InjectedOffset;
  3384. 1733 .loc 1 924 29 view .LVU545
  3385. 1734 0100 136A ldr r3, [r2, #32]
  3386. 1735 0102 23F47F63 bic r3, r3, #4080
  3387. 1736 0106 23F00F03 bic r3, r3, #15
  3388. 1737 010a 1362 str r3, [r2, #32]
  3389. 925:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  3390. 1738 .loc 1 925 7 is_stmt 1 view .LVU546
  3391. 925:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  3392. 1739 .loc 1 925 11 is_stmt 0 view .LVU547
  3393. 1740 010c 0268 ldr r2, [r0]
  3394. 925:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  3395. 1741 .loc 1 925 29 view .LVU548
  3396. 1742 010e 136A ldr r3, [r2, #32]
  3397. 925:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  3398. 1743 .loc 1 925 47 view .LVU549
  3399. 1744 0110 CC68 ldr r4, [r1, #12]
  3400. 925:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  3401. 1745 .loc 1 925 29 view .LVU550
  3402. 1746 0112 2343 orrs r3, r3, r4
  3403. 1747 0114 1362 str r3, [r2, #32]
  3404. 926:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3405. 1748 .loc 1 926 7 is_stmt 1 view .LVU551
  3406. 1749 0116 38E0 b .L126
  3407. 1750 .L115:
  3408. 843:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3409. 1751 .loc 1 843 5 view .LVU552
  3410. 843:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3411. 1752 .loc 1 843 9 is_stmt 0 view .LVU553
  3412. 1753 0118 0568 ldr r5, [r0]
  3413. 843:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3414. 1754 .loc 1 843 27 view .LVU554
  3415. 1755 011a 2A69 ldr r2, [r5, #16]
  3416. 843:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3417. 1756 .loc 1 843 31 view .LVU555
  3418. 1757 011c 9BB2 uxth r3, r3
  3419. 1758 011e 03EB4303 add r3, r3, r3, lsl #1
  3420. 1759 0122 0724 movs r4, #7
  3421. 1760 0124 04FA03F3 lsl r3, r4, r3
  3422. 843:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3423. ARM GAS /tmp/ccYVRobT.s page 60
  3424. 1761 .loc 1 843 27 view .LVU556
  3425. 1762 0128 22EA0303 bic r3, r2, r3
  3426. 1763 012c 2B61 str r3, [r5, #16]
  3427. 846:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3428. 1764 .loc 1 846 5 is_stmt 1 view .LVU557
  3429. 846:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3430. 1765 .loc 1 846 9 is_stmt 0 view .LVU558
  3431. 1766 012e 0568 ldr r5, [r0]
  3432. 846:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3433. 1767 .loc 1 846 27 view .LVU559
  3434. 1768 0130 2A69 ldr r2, [r5, #16]
  3435. 846:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3436. 1769 .loc 1 846 30 view .LVU560
  3437. 1770 0132 8C68 ldr r4, [r1, #8]
  3438. 1771 0134 0B88 ldrh r3, [r1]
  3439. 1772 0136 03EB4303 add r3, r3, r3, lsl #1
  3440. 1773 013a 04FA03F3 lsl r3, r4, r3
  3441. 846:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3442. 1774 .loc 1 846 27 view .LVU561
  3443. 1775 013e 1343 orrs r3, r3, r2
  3444. 1776 0140 2B61 str r3, [r5, #16]
  3445. 1777 0142 80E7 b .L116
  3446. 1778 .L117:
  3447. 879:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 &= ~(ADC_CR2_JEXTEN);
  3448. 1779 .loc 1 879 5 is_stmt 1 view .LVU562
  3449. 879:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 &= ~(ADC_CR2_JEXTEN);
  3450. 1780 .loc 1 879 9 is_stmt 0 view .LVU563
  3451. 1781 0144 0268 ldr r2, [r0]
  3452. 879:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 &= ~(ADC_CR2_JEXTEN);
  3453. 1782 .loc 1 879 25 view .LVU564
  3454. 1783 0146 9368 ldr r3, [r2, #8]
  3455. 1784 0148 23F47023 bic r3, r3, #983040
  3456. 1785 014c 9360 str r3, [r2, #8]
  3457. 880:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3458. 1786 .loc 1 880 5 is_stmt 1 view .LVU565
  3459. 880:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3460. 1787 .loc 1 880 9 is_stmt 0 view .LVU566
  3461. 1788 014e 0268 ldr r2, [r0]
  3462. 880:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3463. 1789 .loc 1 880 25 view .LVU567
  3464. 1790 0150 9368 ldr r3, [r2, #8]
  3465. 1791 0152 23F44013 bic r3, r3, #3145728
  3466. 1792 0156 9360 str r3, [r2, #8]
  3467. 1793 0158 BAE7 b .L118
  3468. 1794 .L119:
  3469. 891:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3470. 1795 .loc 1 891 5 is_stmt 1 view .LVU568
  3471. 891:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3472. 1796 .loc 1 891 9 is_stmt 0 view .LVU569
  3473. 1797 015a 0268 ldr r2, [r0]
  3474. 891:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3475. 1798 .loc 1 891 25 view .LVU570
  3476. 1799 015c 5368 ldr r3, [r2, #4]
  3477. 1800 015e 23F48063 bic r3, r3, #1024
  3478. 1801 0162 5360 str r3, [r2, #4]
  3479. 1802 0164 BCE7 b .L120
  3480. 1803 .L121:
  3481. ARM GAS /tmp/ccYVRobT.s page 61
  3482. 902:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3483. 1804 .loc 1 902 5 is_stmt 1 view .LVU571
  3484. 902:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3485. 1805 .loc 1 902 9 is_stmt 0 view .LVU572
  3486. 1806 0166 0268 ldr r2, [r0]
  3487. 902:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3488. 1807 .loc 1 902 25 view .LVU573
  3489. 1808 0168 5368 ldr r3, [r2, #4]
  3490. 1809 016a 23F48053 bic r3, r3, #4096
  3491. 1810 016e 5360 str r3, [r2, #4]
  3492. 1811 0170 BEE7 b .L122
  3493. 1812 .L134:
  3494. 909:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR1 |= sConfigInjected->InjectedOffset;
  3495. 1813 .loc 1 909 7 is_stmt 1 view .LVU574
  3496. 909:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR1 |= sConfigInjected->InjectedOffset;
  3497. 1814 .loc 1 909 11 is_stmt 0 view .LVU575
  3498. 1815 0172 0268 ldr r2, [r0]
  3499. 909:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR1 |= sConfigInjected->InjectedOffset;
  3500. 1816 .loc 1 909 29 view .LVU576
  3501. 1817 0174 5369 ldr r3, [r2, #20]
  3502. 1818 0176 23F47F63 bic r3, r3, #4080
  3503. 1819 017a 23F00F03 bic r3, r3, #15
  3504. 1820 017e 5361 str r3, [r2, #20]
  3505. 910:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  3506. 1821 .loc 1 910 7 is_stmt 1 view .LVU577
  3507. 910:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  3508. 1822 .loc 1 910 11 is_stmt 0 view .LVU578
  3509. 1823 0180 0268 ldr r2, [r0]
  3510. 910:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  3511. 1824 .loc 1 910 29 view .LVU579
  3512. 1825 0182 5369 ldr r3, [r2, #20]
  3513. 910:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  3514. 1826 .loc 1 910 47 view .LVU580
  3515. 1827 0184 CC68 ldr r4, [r1, #12]
  3516. 910:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  3517. 1828 .loc 1 910 29 view .LVU581
  3518. 1829 0186 2343 orrs r3, r3, r4
  3519. 1830 0188 5361 str r3, [r2, #20]
  3520. 911:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case 2U:
  3521. 1831 .loc 1 911 7 is_stmt 1 view .LVU582
  3522. 1832 .L126:
  3523. 932:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3524. 1833 .loc 1 932 5 view .LVU583
  3525. 1834 .LVL111:
  3526. 935:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3527. 1835 .loc 1 935 3 view .LVU584
  3528. 935:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3529. 1836 .loc 1 935 12 is_stmt 0 view .LVU585
  3530. 1837 018a 0268 ldr r2, [r0]
  3531. 935:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3532. 1838 .loc 1 935 6 view .LVU586
  3533. 1839 018c 1E4B ldr r3, .L137+4
  3534. 1840 018e 9A42 cmp r2, r3
  3535. 1841 0190 23D0 beq .L135
  3536. 1842 .L127:
  3537. 942:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3538. 1843 .loc 1 942 3 is_stmt 1 view .LVU587
  3539. ARM GAS /tmp/ccYVRobT.s page 62
  3540. 942:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3541. 1844 .loc 1 942 12 is_stmt 0 view .LVU588
  3542. 1845 0192 0268 ldr r2, [r0]
  3543. 942:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3544. 1846 .loc 1 942 6 view .LVU589
  3545. 1847 0194 1C4B ldr r3, .L137+4
  3546. 1848 0196 9A42 cmp r2, r3
  3547. 1849 0198 28D0 beq .L136
  3548. 1850 .L128:
  3549. 949:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3550. 1851 .loc 1 949 3 is_stmt 1 view .LVU590
  3551. 949:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3552. 1852 .loc 1 949 3 view .LVU591
  3553. 1853 019a 0023 movs r3, #0
  3554. 1854 019c 80F83C30 strb r3, [r0, #60]
  3555. 949:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3556. 1855 .loc 1 949 3 view .LVU592
  3557. 952:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3558. 1856 .loc 1 952 3 view .LVU593
  3559. 952:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3560. 1857 .loc 1 952 10 is_stmt 0 view .LVU594
  3561. 1858 01a0 1846 mov r0, r3
  3562. 1859 .LVL112:
  3563. 953:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3564. 1860 .loc 1 953 1 view .LVU595
  3565. 1861 01a2 30BC pop {r4, r5}
  3566. 1862 .LCFI20:
  3567. 1863 .cfi_remember_state
  3568. 1864 .cfi_restore 5
  3569. 1865 .cfi_restore 4
  3570. 1866 .cfi_def_cfa_offset 0
  3571. 1867 01a4 7047 bx lr
  3572. 1868 .LVL113:
  3573. 1869 .L123:
  3574. 1870 .LCFI21:
  3575. 1871 .cfi_restore_state
  3576. 914:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR2 |= sConfigInjected->InjectedOffset;
  3577. 1872 .loc 1 914 7 is_stmt 1 view .LVU596
  3578. 914:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR2 |= sConfigInjected->InjectedOffset;
  3579. 1873 .loc 1 914 11 is_stmt 0 view .LVU597
  3580. 1874 01a6 0268 ldr r2, [r0]
  3581. 914:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR2 |= sConfigInjected->InjectedOffset;
  3582. 1875 .loc 1 914 29 view .LVU598
  3583. 1876 01a8 9369 ldr r3, [r2, #24]
  3584. 1877 01aa 23F47F63 bic r3, r3, #4080
  3585. 1878 01ae 23F00F03 bic r3, r3, #15
  3586. 1879 01b2 9361 str r3, [r2, #24]
  3587. 915:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  3588. 1880 .loc 1 915 7 is_stmt 1 view .LVU599
  3589. 915:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  3590. 1881 .loc 1 915 11 is_stmt 0 view .LVU600
  3591. 1882 01b4 0268 ldr r2, [r0]
  3592. 915:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  3593. 1883 .loc 1 915 29 view .LVU601
  3594. 1884 01b6 9369 ldr r3, [r2, #24]
  3595. 915:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  3596. 1885 .loc 1 915 47 view .LVU602
  3597. ARM GAS /tmp/ccYVRobT.s page 63
  3598. 1886 01b8 CC68 ldr r4, [r1, #12]
  3599. 915:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  3600. 1887 .loc 1 915 29 view .LVU603
  3601. 1888 01ba 2343 orrs r3, r3, r4
  3602. 1889 01bc 9361 str r3, [r2, #24]
  3603. 916:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case 3U:
  3604. 1890 .loc 1 916 7 is_stmt 1 view .LVU604
  3605. 1891 01be E4E7 b .L126
  3606. 1892 .L124:
  3607. 919:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR3 |= sConfigInjected->InjectedOffset;
  3608. 1893 .loc 1 919 7 view .LVU605
  3609. 919:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR3 |= sConfigInjected->InjectedOffset;
  3610. 1894 .loc 1 919 11 is_stmt 0 view .LVU606
  3611. 1895 01c0 0268 ldr r2, [r0]
  3612. 919:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR3 |= sConfigInjected->InjectedOffset;
  3613. 1896 .loc 1 919 29 view .LVU607
  3614. 1897 01c2 D369 ldr r3, [r2, #28]
  3615. 1898 01c4 23F47F63 bic r3, r3, #4080
  3616. 1899 01c8 23F00F03 bic r3, r3, #15
  3617. 1900 01cc D361 str r3, [r2, #28]
  3618. 920:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  3619. 1901 .loc 1 920 7 is_stmt 1 view .LVU608
  3620. 920:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  3621. 1902 .loc 1 920 11 is_stmt 0 view .LVU609
  3622. 1903 01ce 0268 ldr r2, [r0]
  3623. 920:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  3624. 1904 .loc 1 920 29 view .LVU610
  3625. 1905 01d0 D369 ldr r3, [r2, #28]
  3626. 920:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  3627. 1906 .loc 1 920 47 view .LVU611
  3628. 1907 01d2 CC68 ldr r4, [r1, #12]
  3629. 920:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
  3630. 1908 .loc 1 920 29 view .LVU612
  3631. 1909 01d4 2343 orrs r3, r3, r4
  3632. 1910 01d6 D361 str r3, [r2, #28]
  3633. 921:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** default:
  3634. 1911 .loc 1 921 7 is_stmt 1 view .LVU613
  3635. 1912 01d8 D7E7 b .L126
  3636. 1913 .LVL114:
  3637. 1914 .L135:
  3638. 935:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3639. 1915 .loc 1 935 51 is_stmt 0 discriminator 1 view .LVU614
  3640. 1916 01da 0B68 ldr r3, [r1]
  3641. 935:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3642. 1917 .loc 1 935 32 discriminator 1 view .LVU615
  3643. 1918 01dc 122B cmp r3, #18
  3644. 1919 01de D8D1 bne .L127
  3645. 938:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3646. 1920 .loc 1 938 5 is_stmt 1 view .LVU616
  3647. 938:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3648. 1921 .loc 1 938 24 is_stmt 0 view .LVU617
  3649. 1922 01e0 0A4A ldr r2, .L137+8
  3650. 1923 01e2 5368 ldr r3, [r2, #4]
  3651. 1924 01e4 43F48003 orr r3, r3, #4194304
  3652. 1925 01e8 5360 str r3, [r2, #4]
  3653. 1926 01ea D2E7 b .L127
  3654. 1927 .L136:
  3655. ARM GAS /tmp/ccYVRobT.s page 64
  3656. 942:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3657. 1928 .loc 1 942 52 discriminator 1 view .LVU618
  3658. 1929 01ec 0B68 ldr r3, [r1]
  3659. 942:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3660. 1930 .loc 1 942 97 discriminator 1 view .LVU619
  3661. 1931 01ee 103B subs r3, r3, #16
  3662. 942:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
  3663. 1932 .loc 1 942 32 discriminator 1 view .LVU620
  3664. 1933 01f0 012B cmp r3, #1
  3665. 1934 01f2 D2D8 bhi .L128
  3666. 945:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3667. 1935 .loc 1 945 5 is_stmt 1 view .LVU621
  3668. 945:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3669. 1936 .loc 1 945 24 is_stmt 0 view .LVU622
  3670. 1937 01f4 054A ldr r2, .L137+8
  3671. 1938 01f6 5368 ldr r3, [r2, #4]
  3672. 1939 01f8 43F40003 orr r3, r3, #8388608
  3673. 1940 01fc 5360 str r3, [r2, #4]
  3674. 1941 01fe CCE7 b .L128
  3675. 1942 .LVL115:
  3676. 1943 .L129:
  3677. 1944 .LCFI22:
  3678. 1945 .cfi_def_cfa_offset 0
  3679. 1946 .cfi_restore 4
  3680. 1947 .cfi_restore 5
  3681. 829:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3682. 1948 .loc 1 829 3 view .LVU623
  3683. 1949 0200 0220 movs r0, #2
  3684. 1950 .LVL116:
  3685. 953:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3686. 1951 .loc 1 953 1 view .LVU624
  3687. 1952 0202 7047 bx lr
  3688. 1953 .L138:
  3689. 1954 .align 2
  3690. 1955 .L137:
  3691. 1956 0204 01000F00 .word 983041
  3692. 1957 0208 00200140 .word 1073815552
  3693. 1958 020c 00230140 .word 1073816320
  3694. 1959 .cfi_endproc
  3695. 1960 .LFE140:
  3696. 1962 .section .text.HAL_ADCEx_MultiModeConfigChannel,"ax",%progbits
  3697. 1963 .align 1
  3698. 1964 .global HAL_ADCEx_MultiModeConfigChannel
  3699. 1965 .syntax unified
  3700. 1966 .thumb
  3701. 1967 .thumb_func
  3702. 1969 HAL_ADCEx_MultiModeConfigChannel:
  3703. 1970 .LVL117:
  3704. 1971 .LFB141:
  3705. 964:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3706. 1972 .loc 1 964 1 is_stmt 1 view -0
  3707. 1973 .cfi_startproc
  3708. 1974 @ args = 0, pretend = 0, frame = 0
  3709. 1975 @ frame_needed = 0, uses_anonymous_args = 0
  3710. 1976 @ link register save eliminated.
  3711. 966:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3712. 1977 .loc 1 966 3 view .LVU626
  3713. ARM GAS /tmp/ccYVRobT.s page 65
  3714. 969:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_DMA_ACCESS_MODE(multimode->DMAAccessMode));
  3715. 1978 .loc 1 969 3 view .LVU627
  3716. 970:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_SAMPLING_DELAY(multimode->TwoSamplingDelay));
  3717. 1979 .loc 1 970 3 view .LVU628
  3718. 971:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3719. 1980 .loc 1 971 3 view .LVU629
  3720. 974:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3721. 1981 .loc 1 974 3 view .LVU630
  3722. 974:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3723. 1982 .loc 1 974 3 view .LVU631
  3724. 1983 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
  3725. 1984 0004 012B cmp r3, #1
  3726. 1985 0006 23D0 beq .L141
  3727. 964:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3728. 1986 .loc 1 964 1 is_stmt 0 discriminator 2 view .LVU632
  3729. 1987 0008 10B4 push {r4}
  3730. 1988 .LCFI23:
  3731. 1989 .cfi_def_cfa_offset 4
  3732. 1990 .cfi_offset 4, -4
  3733. 974:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3734. 1991 .loc 1 974 3 is_stmt 1 discriminator 2 view .LVU633
  3735. 1992 000a 0123 movs r3, #1
  3736. 1993 000c 80F83C30 strb r3, [r0, #60]
  3737. 974:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3738. 1994 .loc 1 974 3 discriminator 2 view .LVU634
  3739. 979:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3740. 1995 .loc 1 979 3 discriminator 2 view .LVU635
  3741. 1996 .LVL118:
  3742. 982:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= multimode->Mode;
  3743. 1997 .loc 1 982 3 discriminator 2 view .LVU636
  3744. 982:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= multimode->Mode;
  3745. 1998 .loc 1 982 22 is_stmt 0 discriminator 2 view .LVU637
  3746. 1999 0010 104B ldr r3, .L146
  3747. 2000 0012 5A68 ldr r2, [r3, #4]
  3748. 2001 0014 22F01F02 bic r2, r2, #31
  3749. 2002 0018 5A60 str r2, [r3, #4]
  3750. 983:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3751. 2003 .loc 1 983 3 is_stmt 1 discriminator 2 view .LVU638
  3752. 983:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3753. 2004 .loc 1 983 22 is_stmt 0 discriminator 2 view .LVU639
  3754. 2005 001a 5A68 ldr r2, [r3, #4]
  3755. 2006 001c 0C68 ldr r4, [r1]
  3756. 2007 001e 2243 orrs r2, r2, r4
  3757. 2008 0020 5A60 str r2, [r3, #4]
  3758. 986:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= multimode->DMAAccessMode;
  3759. 2009 .loc 1 986 3 is_stmt 1 discriminator 2 view .LVU640
  3760. 986:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= multimode->DMAAccessMode;
  3761. 2010 .loc 1 986 22 is_stmt 0 discriminator 2 view .LVU641
  3762. 2011 0022 5A68 ldr r2, [r3, #4]
  3763. 2012 0024 22F44042 bic r2, r2, #49152
  3764. 2013 0028 5A60 str r2, [r3, #4]
  3765. 987:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3766. 2014 .loc 1 987 3 is_stmt 1 discriminator 2 view .LVU642
  3767. 987:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3768. 2015 .loc 1 987 22 is_stmt 0 discriminator 2 view .LVU643
  3769. 2016 002a 5A68 ldr r2, [r3, #4]
  3770. 2017 002c 4C68 ldr r4, [r1, #4]
  3771. ARM GAS /tmp/ccYVRobT.s page 66
  3772. 2018 002e 2243 orrs r2, r2, r4
  3773. 2019 0030 5A60 str r2, [r3, #4]
  3774. 990:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= multimode->TwoSamplingDelay;
  3775. 2020 .loc 1 990 3 is_stmt 1 discriminator 2 view .LVU644
  3776. 990:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= multimode->TwoSamplingDelay;
  3777. 2021 .loc 1 990 22 is_stmt 0 discriminator 2 view .LVU645
  3778. 2022 0032 5A68 ldr r2, [r3, #4]
  3779. 2023 0034 22F47062 bic r2, r2, #3840
  3780. 2024 0038 5A60 str r2, [r3, #4]
  3781. 991:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3782. 2025 .loc 1 991 3 is_stmt 1 discriminator 2 view .LVU646
  3783. 991:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3784. 2026 .loc 1 991 22 is_stmt 0 discriminator 2 view .LVU647
  3785. 2027 003a 5A68 ldr r2, [r3, #4]
  3786. 991:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3787. 2028 .loc 1 991 34 discriminator 2 view .LVU648
  3788. 2029 003c 8968 ldr r1, [r1, #8]
  3789. 2030 .LVL119:
  3790. 991:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3791. 2031 .loc 1 991 22 discriminator 2 view .LVU649
  3792. 2032 003e 0A43 orrs r2, r2, r1
  3793. 2033 0040 5A60 str r2, [r3, #4]
  3794. 994:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3795. 2034 .loc 1 994 3 is_stmt 1 discriminator 2 view .LVU650
  3796. 994:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3797. 2035 .loc 1 994 3 discriminator 2 view .LVU651
  3798. 2036 0042 0023 movs r3, #0
  3799. 2037 0044 80F83C30 strb r3, [r0, #60]
  3800. 994:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3801. 2038 .loc 1 994 3 discriminator 2 view .LVU652
  3802. 997:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3803. 2039 .loc 1 997 3 discriminator 2 view .LVU653
  3804. 997:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
  3805. 2040 .loc 1 997 10 is_stmt 0 discriminator 2 view .LVU654
  3806. 2041 0048 1846 mov r0, r3
  3807. 2042 .LVL120:
  3808. 998:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3809. 2043 .loc 1 998 1 discriminator 2 view .LVU655
  3810. 2044 004a 5DF8044B ldr r4, [sp], #4
  3811. 2045 .LCFI24:
  3812. 2046 .cfi_restore 4
  3813. 2047 .cfi_def_cfa_offset 0
  3814. 2048 004e 7047 bx lr
  3815. 2049 .LVL121:
  3816. 2050 .L141:
  3817. 974:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3818. 2051 .loc 1 974 3 view .LVU656
  3819. 2052 0050 0220 movs r0, #2
  3820. 2053 .LVL122:
  3821. 998:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
  3822. 2054 .loc 1 998 1 view .LVU657
  3823. 2055 0052 7047 bx lr
  3824. 2056 .L147:
  3825. 2057 .align 2
  3826. 2058 .L146:
  3827. 2059 0054 00230140 .word 1073816320
  3828. 2060 .cfi_endproc
  3829. ARM GAS /tmp/ccYVRobT.s page 67
  3830. 2061 .LFE141:
  3831. 2063 .text
  3832. 2064 .Letext0:
  3833. 2065 .file 2 "/home/gitc/\346\241\214\351\235\242/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include/
  3834. 2066 .file 3 "/home/gitc/\346\241\214\351\235\242/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include/
  3835. 2067 .file 4 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h"
  3836. 2068 .file 5 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h"
  3837. 2069 .file 6 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h"
  3838. 2070 .file 7 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h"
  3839. 2071 .file 8 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h"
  3840. 2072 .file 9 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h"
  3841. 2073 .file 10 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h"
  3842. 2074 .file 11 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h"
  3843. ARM GAS /tmp/ccYVRobT.s page 68
  3844. DEFINED SYMBOLS
  3845. *ABS*:0000000000000000 stm32f4xx_hal_adc_ex.c
  3846. /tmp/ccYVRobT.s:20 .text.ADC_MultiModeDMAError:0000000000000000 $t
  3847. /tmp/ccYVRobT.s:25 .text.ADC_MultiModeDMAError:0000000000000000 ADC_MultiModeDMAError
  3848. /tmp/ccYVRobT.s:61 .text.ADC_MultiModeDMAHalfConvCplt:0000000000000000 $t
  3849. /tmp/ccYVRobT.s:66 .text.ADC_MultiModeDMAHalfConvCplt:0000000000000000 ADC_MultiModeDMAHalfConvCplt
  3850. /tmp/ccYVRobT.s:93 .text.ADC_MultiModeDMAConvCplt:0000000000000000 $t
  3851. /tmp/ccYVRobT.s:98 .text.ADC_MultiModeDMAConvCplt:0000000000000000 ADC_MultiModeDMAConvCplt
  3852. /tmp/ccYVRobT.s:192 .text.HAL_ADCEx_InjectedStart:0000000000000000 $t
  3853. /tmp/ccYVRobT.s:198 .text.HAL_ADCEx_InjectedStart:0000000000000000 HAL_ADCEx_InjectedStart
  3854. /tmp/ccYVRobT.s:419 .text.HAL_ADCEx_InjectedStart:00000000000000e4 $d
  3855. /tmp/ccYVRobT.s:427 .text.HAL_ADCEx_InjectedStart_IT:0000000000000000 $t
  3856. /tmp/ccYVRobT.s:433 .text.HAL_ADCEx_InjectedStart_IT:0000000000000000 HAL_ADCEx_InjectedStart_IT
  3857. /tmp/ccYVRobT.s:659 .text.HAL_ADCEx_InjectedStart_IT:00000000000000ec $d
  3858. /tmp/ccYVRobT.s:667 .text.HAL_ADCEx_InjectedStop:0000000000000000 $t
  3859. /tmp/ccYVRobT.s:673 .text.HAL_ADCEx_InjectedStop:0000000000000000 HAL_ADCEx_InjectedStop
  3860. /tmp/ccYVRobT.s:767 .text.HAL_ADCEx_InjectedPollForConversion:0000000000000000 $t
  3861. /tmp/ccYVRobT.s:773 .text.HAL_ADCEx_InjectedPollForConversion:0000000000000000 HAL_ADCEx_InjectedPollForConversion
  3862. /tmp/ccYVRobT.s:917 .text.HAL_ADCEx_InjectedStop_IT:0000000000000000 $t
  3863. /tmp/ccYVRobT.s:923 .text.HAL_ADCEx_InjectedStop_IT:0000000000000000 HAL_ADCEx_InjectedStop_IT
  3864. /tmp/ccYVRobT.s:1021 .text.HAL_ADCEx_InjectedGetValue:0000000000000000 $t
  3865. /tmp/ccYVRobT.s:1027 .text.HAL_ADCEx_InjectedGetValue:0000000000000000 HAL_ADCEx_InjectedGetValue
  3866. /tmp/ccYVRobT.s:1056 .text.HAL_ADCEx_InjectedGetValue:0000000000000018 $d
  3867. /tmp/ccYVRobT.s:1060 .text.HAL_ADCEx_InjectedGetValue:000000000000001c $t
  3868. /tmp/ccYVRobT.s:1119 .text.HAL_ADCEx_MultiModeStart_DMA:0000000000000000 $t
  3869. /tmp/ccYVRobT.s:1125 .text.HAL_ADCEx_MultiModeStart_DMA:0000000000000000 HAL_ADCEx_MultiModeStart_DMA
  3870. /tmp/ccYVRobT.s:1355 .text.HAL_ADCEx_MultiModeStart_DMA:0000000000000104 $d
  3871. /tmp/ccYVRobT.s:1366 .text.HAL_ADCEx_MultiModeStop_DMA:0000000000000000 $t
  3872. /tmp/ccYVRobT.s:1372 .text.HAL_ADCEx_MultiModeStop_DMA:0000000000000000 HAL_ADCEx_MultiModeStop_DMA
  3873. /tmp/ccYVRobT.s:1465 .text.HAL_ADCEx_MultiModeStop_DMA:0000000000000060 $d
  3874. /tmp/ccYVRobT.s:1470 .text.HAL_ADCEx_MultiModeGetValue:0000000000000000 $t
  3875. /tmp/ccYVRobT.s:1476 .text.HAL_ADCEx_MultiModeGetValue:0000000000000000 HAL_ADCEx_MultiModeGetValue
  3876. /tmp/ccYVRobT.s:1496 .text.HAL_ADCEx_MultiModeGetValue:0000000000000008 $d
  3877. /tmp/ccYVRobT.s:1501 .text.HAL_ADCEx_InjectedConvCpltCallback:0000000000000000 $t
  3878. /tmp/ccYVRobT.s:1507 .text.HAL_ADCEx_InjectedConvCpltCallback:0000000000000000 HAL_ADCEx_InjectedConvCpltCallback
  3879. /tmp/ccYVRobT.s:1522 .text.HAL_ADCEx_InjectedConfigChannel:0000000000000000 $t
  3880. /tmp/ccYVRobT.s:1528 .text.HAL_ADCEx_InjectedConfigChannel:0000000000000000 HAL_ADCEx_InjectedConfigChannel
  3881. /tmp/ccYVRobT.s:1956 .text.HAL_ADCEx_InjectedConfigChannel:0000000000000204 $d
  3882. /tmp/ccYVRobT.s:1963 .text.HAL_ADCEx_MultiModeConfigChannel:0000000000000000 $t
  3883. /tmp/ccYVRobT.s:1969 .text.HAL_ADCEx_MultiModeConfigChannel:0000000000000000 HAL_ADCEx_MultiModeConfigChannel
  3884. /tmp/ccYVRobT.s:2059 .text.HAL_ADCEx_MultiModeConfigChannel:0000000000000054 $d
  3885. UNDEFINED SYMBOLS
  3886. HAL_ADC_ErrorCallback
  3887. HAL_ADC_ConvHalfCpltCallback
  3888. HAL_ADC_ConvCpltCallback
  3889. SystemCoreClock
  3890. HAL_GetTick
  3891. HAL_DMA_Start_IT
  3892. HAL_DMA_Abort