stm32f4xx_hal_adc.lst 390 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143
  1. ARM GAS /tmp/ccMhywUy.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.c"
  17. 16 .text
  18. 17 .Ltext0:
  19. 18 .cfi_sections .debug_frame
  20. 19 .section .text.ADC_Init,"ax",%progbits
  21. 20 .align 1
  22. 21 .syntax unified
  23. 22 .thumb
  24. 23 .thumb_func
  25. 25 ADC_Init:
  26. 26 .LVL0:
  27. 27 .LFB152:
  28. 28 .file 1 "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c"
  29. 1:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  30. 2:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ******************************************************************************
  31. 3:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @file stm32f4xx_hal_adc.c
  32. 4:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @author MCD Application Team
  33. 5:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief This file provides firmware functions to manage the following
  34. 6:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * functionalities of the Analog to Digital Convertor (ADC) peripheral:
  35. 7:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * + Initialization and de-initialization functions
  36. 8:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * + IO operation functions
  37. 9:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * + State and errors functions
  38. 10:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** *
  39. 11:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** @verbatim
  40. 12:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ==============================================================================
  41. 13:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ##### ADC Peripheral features #####
  42. 14:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ==============================================================================
  43. 15:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** [..]
  44. 16:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (#) 12-bit, 10-bit, 8-bit or 6-bit configurable resolution.
  45. 17:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (#) Interrupt generation at the end of conversion, end of injected conversion,
  46. 18:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** and in case of analog watchdog or overrun events
  47. 19:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (#) Single and continuous conversion modes.
  48. 20:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (#) Scan mode for automatic conversion of channel 0 to channel x.
  49. 21:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (#) Data alignment with in-built data coherency.
  50. 22:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (#) Channel-wise programmable sampling time.
  51. 23:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (#) External trigger option with configurable polarity for both regular and
  52. 24:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** injected conversion.
  53. 25:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (#) Dual/Triple mode (on devices with 2 ADCs or more).
  54. 26:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (#) Configurable DMA data storage in Dual/Triple ADC mode.
  55. 27:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (#) Configurable delay between conversions in Dual/Triple interleaved mode.
  56. 28:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (#) ADC conversion type (refer to the datasheets).
  57. 29:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (#) ADC supply requirements: 2.4 V to 3.6 V at full speed and down to 1.8 V at
  58. 30:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** slower speed.
  59. ARM GAS /tmp/ccMhywUy.s page 2
  60. 31:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (#) ADC input range: VREF(minus) = VIN = VREF(plus).
  61. 32:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (#) DMA request generation during regular channel conversion.
  62. 33:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  63. 34:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  64. 35:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ##### How to use this driver #####
  65. 36:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ==============================================================================
  66. 37:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** [..]
  67. 38:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (#)Initialize the ADC low level resources by implementing the HAL_ADC_MspInit():
  68. 39:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (##) Enable the ADC interface clock using __HAL_RCC_ADC_CLK_ENABLE()
  69. 40:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (##) ADC pins configuration
  70. 41:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+++) Enable the clock for the ADC GPIOs using the following function:
  71. 42:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_RCC_GPIOx_CLK_ENABLE()
  72. 43:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+++) Configure these ADC pins in analog mode using HAL_GPIO_Init()
  73. 44:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (##) In case of using interrupts (e.g. HAL_ADC_Start_IT())
  74. 45:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+++) Configure the ADC interrupt priority using HAL_NVIC_SetPriority()
  75. 46:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+++) Enable the ADC IRQ handler using HAL_NVIC_EnableIRQ()
  76. 47:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+++) In ADC IRQ handler, call HAL_ADC_IRQHandler()
  77. 48:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (##) In case of using DMA to control data transfer (e.g. HAL_ADC_Start_DMA())
  78. 49:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+++) Enable the DMAx interface clock using __HAL_RCC_DMAx_CLK_ENABLE()
  79. 50:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+++) Configure and enable two DMA streams stream for managing data
  80. 51:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** transfer from peripheral to memory (output stream)
  81. 52:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+++) Associate the initialized DMA handle to the CRYP DMA handle
  82. 53:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** using __HAL_LINKDMA()
  83. 54:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+++) Configure the priority and enable the NVIC for the transfer complete
  84. 55:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** interrupt on the two DMA Streams. The output stream should have higher
  85. 56:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** priority than the input stream.
  86. 57:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  87. 58:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** *** Configuration of ADC, groups regular/injected, channels parameters ***
  88. 59:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ==============================================================================
  89. 60:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** [..]
  90. 61:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (#) Configure the ADC parameters (resolution, data alignment, ...)
  91. 62:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** and regular group parameters (conversion trigger, sequencer, ...)
  92. 63:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** using function HAL_ADC_Init().
  93. 64:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  94. 65:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (#) Configure the channels for regular group parameters (channel number,
  95. 66:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** channel rank into sequencer, ..., into regular group)
  96. 67:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** using function HAL_ADC_ConfigChannel().
  97. 68:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  98. 69:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (#) Optionally, configure the injected group parameters (conversion trigger,
  99. 70:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** sequencer, ..., of injected group)
  100. 71:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** and the channels for injected group parameters (channel number,
  101. 72:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** channel rank into sequencer, ..., into injected group)
  102. 73:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** using function HAL_ADCEx_InjectedConfigChannel().
  103. 74:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  104. 75:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (#) Optionally, configure the analog watchdog parameters (channels
  105. 76:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** monitored, thresholds, ...) using function HAL_ADC_AnalogWDGConfig().
  106. 77:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  107. 78:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (#) Optionally, for devices with several ADC instances: configure the
  108. 79:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** multimode parameters using function HAL_ADCEx_MultiModeConfigChannel().
  109. 80:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  110. 81:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** *** Execution of ADC conversions ***
  111. 82:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ==============================================================================
  112. 83:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** [..]
  113. 84:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (#) ADC driver can be used among three modes: polling, interruption,
  114. 85:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** transfer by DMA.
  115. 86:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  116. 87:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** *** Polling mode IO operation ***
  117. ARM GAS /tmp/ccMhywUy.s page 3
  118. 88:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** =================================
  119. 89:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** [..]
  120. 90:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) Start the ADC peripheral using HAL_ADC_Start()
  121. 91:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) Wait for end of conversion using HAL_ADC_PollForConversion(), at this stage
  122. 92:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** user can specify the value of timeout according to his end application
  123. 93:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) To read the ADC converted values, use the HAL_ADC_GetValue() function.
  124. 94:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) Stop the ADC peripheral using HAL_ADC_Stop()
  125. 95:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  126. 96:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** *** Interrupt mode IO operation ***
  127. 97:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ===================================
  128. 98:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** [..]
  129. 99:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) Start the ADC peripheral using HAL_ADC_Start_IT()
  130. 100:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) Use HAL_ADC_IRQHandler() called under ADC_IRQHandler() Interrupt subroutine
  131. 101:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) At ADC end of conversion HAL_ADC_ConvCpltCallback() function is executed and user can
  132. 102:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** add his own code by customization of function pointer HAL_ADC_ConvCpltCallback
  133. 103:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) In case of ADC Error, HAL_ADC_ErrorCallback() function is executed and user can
  134. 104:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** add his own code by customization of function pointer HAL_ADC_ErrorCallback
  135. 105:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) Stop the ADC peripheral using HAL_ADC_Stop_IT()
  136. 106:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  137. 107:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** *** DMA mode IO operation ***
  138. 108:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ==============================
  139. 109:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** [..]
  140. 110:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) Start the ADC peripheral using HAL_ADC_Start_DMA(), at this stage the user specify the l
  141. 111:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** of data to be transferred at each end of conversion
  142. 112:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) At The end of data transfer by HAL_ADC_ConvCpltCallback() function is executed and user
  143. 113:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** add his own code by customization of function pointer HAL_ADC_ConvCpltCallback
  144. 114:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) In case of transfer Error, HAL_ADC_ErrorCallback() function is executed and user can
  145. 115:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** add his own code by customization of function pointer HAL_ADC_ErrorCallback
  146. 116:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) Stop the ADC peripheral using HAL_ADC_Stop_DMA()
  147. 117:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  148. 118:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** *** ADC HAL driver macros list ***
  149. 119:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** =============================================
  150. 120:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** [..]
  151. 121:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** Below the list of most used macros in ADC HAL driver.
  152. 122:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  153. 123:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) __HAL_ADC_ENABLE : Enable the ADC peripheral
  154. 124:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) __HAL_ADC_DISABLE : Disable the ADC peripheral
  155. 125:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) __HAL_ADC_ENABLE_IT: Enable the ADC end of conversion interrupt
  156. 126:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) __HAL_ADC_DISABLE_IT: Disable the ADC end of conversion interrupt
  157. 127:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) __HAL_ADC_GET_IT_SOURCE: Check if the specified ADC interrupt source is enabled or disabl
  158. 128:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) __HAL_ADC_CLEAR_FLAG: Clear the ADC's pending flags
  159. 129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) __HAL_ADC_GET_FLAG: Get the selected ADC's flag status
  160. 130:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) ADC_GET_RESOLUTION: Return resolution bits in CR1 register
  161. 131:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  162. 132:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** [..]
  163. 133:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (@) You can refer to the ADC HAL driver header file for more useful macros
  164. 134:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  165. 135:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** *** Deinitialization of ADC ***
  166. 136:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ==============================================================================
  167. 137:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** [..]
  168. 138:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (#) Disable the ADC interface
  169. 139:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (++) ADC clock can be hard reset and disabled at RCC top level.
  170. 140:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (++) Hard reset of ADC peripherals
  171. 141:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** using macro __HAL_RCC_ADC_FORCE_RESET(), __HAL_RCC_ADC_RELEASE_RESET().
  172. 142:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (++) ADC clock disable using the equivalent macro/functions as configuration step.
  173. 143:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+++) Example:
  174. 144:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** Into HAL_ADC_MspDeInit() (recommended code location) or with
  175. ARM GAS /tmp/ccMhywUy.s page 4
  176. 145:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** other device clock parameters configuration:
  177. 146:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+++) HAL_RCC_GetOscConfig(&RCC_OscInitStructure);
  178. 147:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+++) RCC_OscInitStructure.OscillatorType = RCC_OSCILLATORTYPE_HSI;
  179. 148:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+++) RCC_OscInitStructure.HSIState = RCC_HSI_OFF; (if not used for system clock)
  180. 149:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+++) HAL_RCC_OscConfig(&RCC_OscInitStructure);
  181. 150:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  182. 151:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (#) ADC pins configuration
  183. 152:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (++) Disable the clock for the ADC GPIOs using macro __HAL_RCC_GPIOx_CLK_DISABLE()
  184. 153:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  185. 154:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (#) Optionally, in case of usage of ADC with interruptions:
  186. 155:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (++) Disable the NVIC for ADC using function HAL_NVIC_DisableIRQ(ADCx_IRQn)
  187. 156:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  188. 157:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (#) Optionally, in case of usage of DMA:
  189. 158:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (++) Deinitialize the DMA using function HAL_DMA_DeInit().
  190. 159:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (++) Disable the NVIC for DMA using function HAL_NVIC_DisableIRQ(DMAx_Channelx_IRQn)
  191. 160:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** *** Callback registration ***
  192. 161:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ==============================================================================
  193. 162:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** [..]
  194. 163:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  195. 164:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** The compilation flag USE_HAL_ADC_REGISTER_CALLBACKS, when set to 1,
  196. 165:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** allows the user to configure dynamically the driver callbacks.
  197. 166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** Use Functions @ref HAL_ADC_RegisterCallback()
  198. 167:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** to register an interrupt callback.
  199. 168:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** [..]
  200. 169:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  201. 170:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** Function @ref HAL_ADC_RegisterCallback() allows to register following callbacks:
  202. 171:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) ConvCpltCallback : ADC conversion complete callback
  203. 172:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) ConvHalfCpltCallback : ADC conversion DMA half-transfer callback
  204. 173:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) LevelOutOfWindowCallback : ADC analog watchdog 1 callback
  205. 174:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) ErrorCallback : ADC error callback
  206. 175:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) InjectedConvCpltCallback : ADC group injected conversion complete callback
  207. 176:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) InjectedQueueOverflowCallback : ADC group injected context queue overflow callback
  208. 177:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) LevelOutOfWindow2Callback : ADC analog watchdog 2 callback
  209. 178:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) LevelOutOfWindow3Callback : ADC analog watchdog 3 callback
  210. 179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) EndOfSamplingCallback : ADC end of sampling callback
  211. 180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) MspInitCallback : ADC Msp Init callback
  212. 181:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) MspDeInitCallback : ADC Msp DeInit callback
  213. 182:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** This function takes as parameters the HAL peripheral handle, the Callback ID
  214. 183:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** and a pointer to the user callback function.
  215. 184:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** [..]
  216. 185:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  217. 186:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** Use function @ref HAL_ADC_UnRegisterCallback to reset a callback to the default
  218. 187:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** weak function.
  219. 188:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** [..]
  220. 189:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  221. 190:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** @ref HAL_ADC_UnRegisterCallback takes as parameters the HAL peripheral handle,
  222. 191:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** and the Callback ID.
  223. 192:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** This function allows to reset following callbacks:
  224. 193:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) ConvCpltCallback : ADC conversion complete callback
  225. 194:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) ConvHalfCpltCallback : ADC conversion DMA half-transfer callback
  226. 195:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) LevelOutOfWindowCallback : ADC analog watchdog 1 callback
  227. 196:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) ErrorCallback : ADC error callback
  228. 197:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) InjectedConvCpltCallback : ADC group injected conversion complete callback
  229. 198:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) InjectedQueueOverflowCallback : ADC group injected context queue overflow callback
  230. 199:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) LevelOutOfWindow2Callback : ADC analog watchdog 2 callback
  231. 200:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) LevelOutOfWindow3Callback : ADC analog watchdog 3 callback
  232. 201:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) EndOfSamplingCallback : ADC end of sampling callback
  233. ARM GAS /tmp/ccMhywUy.s page 5
  234. 202:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) MspInitCallback : ADC Msp Init callback
  235. 203:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) MspDeInitCallback : ADC Msp DeInit callback
  236. 204:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** [..]
  237. 205:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  238. 206:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** By default, after the @ref HAL_ADC_Init() and when the state is @ref HAL_ADC_STATE_RESET
  239. 207:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** all callbacks are set to the corresponding weak functions:
  240. 208:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** examples @ref HAL_ADC_ConvCpltCallback(), @ref HAL_ADC_ErrorCallback().
  241. 209:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** Exception done for MspInit and MspDeInit functions that are
  242. 210:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** reset to the legacy weak functions in the @ref HAL_ADC_Init()/ @ref HAL_ADC_DeInit() only when
  243. 211:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** these callbacks are null (not registered beforehand).
  244. 212:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** [..]
  245. 213:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  246. 214:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** If MspInit or MspDeInit are not null, the @ref HAL_ADC_Init()/ @ref HAL_ADC_DeInit()
  247. 215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** keep and use the user MspInit/MspDeInit callbacks (registered beforehand) whatever the state.
  248. 216:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** [..]
  249. 217:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  250. 218:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** Callbacks can be registered/unregistered in @ref HAL_ADC_STATE_READY state only.
  251. 219:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** Exception done MspInit/MspDeInit functions that can be registered/unregistered
  252. 220:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** in @ref HAL_ADC_STATE_READY or @ref HAL_ADC_STATE_RESET state,
  253. 221:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** thus registered (user) MspInit/DeInit callbacks can be used during the Init/DeInit.
  254. 222:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** [..]
  255. 223:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  256. 224:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** Then, the user first registers the MspInit/MspDeInit user callbacks
  257. 225:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** using @ref HAL_ADC_RegisterCallback() before calling @ref HAL_ADC_DeInit()
  258. 226:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** or @ref HAL_ADC_Init() function.
  259. 227:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** [..]
  260. 228:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  261. 229:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** When the compilation flag USE_HAL_ADC_REGISTER_CALLBACKS is set to 0 or
  262. 230:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** not defined, the callback registration feature is not available and all callbacks
  263. 231:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** are set to the corresponding weak functions.
  264. 232:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  265. 233:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** @endverbatim
  266. 234:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ******************************************************************************
  267. 235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @attention
  268. 236:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** *
  269. 237:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
  270. 238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * All rights reserved.</center></h2>
  271. 239:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** *
  272. 240:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * This software component is licensed by ST under BSD 3-Clause license,
  273. 241:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the "License"; You may not use this file except in compliance with the
  274. 242:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * License. You may obtain a copy of the License at:
  275. 243:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * opensource.org/licenses/BSD-3-Clause
  276. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** *
  277. 245:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ******************************************************************************
  278. 246:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  279. 247:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  280. 248:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Includes ------------------------------------------------------------------*/
  281. 249:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #include "stm32f4xx_hal.h"
  282. 250:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  283. 251:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /** @addtogroup STM32F4xx_HAL_Driver
  284. 252:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @{
  285. 253:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  286. 254:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  287. 255:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /** @defgroup ADC ADC
  288. 256:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief ADC driver modules
  289. 257:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @{
  290. 258:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  291. ARM GAS /tmp/ccMhywUy.s page 6
  292. 259:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  293. 260:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #ifdef HAL_ADC_MODULE_ENABLED
  294. 261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  295. 262:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Private typedef -----------------------------------------------------------*/
  296. 263:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Private define ------------------------------------------------------------*/
  297. 264:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Private macro -------------------------------------------------------------*/
  298. 265:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Private variables ---------------------------------------------------------*/
  299. 266:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /** @addtogroup ADC_Private_Functions
  300. 267:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @{
  301. 268:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  302. 269:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Private function prototypes -----------------------------------------------*/
  303. 270:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** static void ADC_Init(ADC_HandleTypeDef* hadc);
  304. 271:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** static void ADC_DMAConvCplt(DMA_HandleTypeDef *hdma);
  305. 272:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** static void ADC_DMAError(DMA_HandleTypeDef *hdma);
  306. 273:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** static void ADC_DMAHalfConvCplt(DMA_HandleTypeDef *hdma);
  307. 274:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  308. 275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @}
  309. 276:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  310. 277:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Exported functions --------------------------------------------------------*/
  311. 278:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /** @defgroup ADC_Exported_Functions ADC Exported Functions
  312. 279:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @{
  313. 280:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  314. 281:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  315. 282:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /** @defgroup ADC_Exported_Functions_Group1 Initialization and de-initialization functions
  316. 283:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief Initialization and Configuration functions
  317. 284:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** *
  318. 285:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** @verbatim
  319. 286:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ===============================================================================
  320. 287:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ##### Initialization and de-initialization functions #####
  321. 288:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ===============================================================================
  322. 289:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** [..] This section provides functions allowing to:
  323. 290:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) Initialize and configure the ADC.
  324. 291:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) De-initialize the ADC.
  325. 292:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  326. 293:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** @endverbatim
  327. 294:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @{
  328. 295:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  329. 296:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  330. 297:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  331. 298:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief Initializes the ADCx peripheral according to the specified parameters
  332. 299:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * in the ADC_InitStruct and initializes the ADC MSP.
  333. 300:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** *
  334. 301:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @note This function is used to configure the global features of the ADC (
  335. 302:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * ClockPrescaler, Resolution, Data Alignment and number of conversion), however,
  336. 303:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the rest of the configuration parameters are specific to the regular
  337. 304:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * channels group (scan mode activation, continuous mode activation,
  338. 305:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * External trigger source and edge, DMA continuous request after the
  339. 306:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * last transfer and End of conversion selection).
  340. 307:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** *
  341. 308:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  342. 309:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified ADC.
  343. 310:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval HAL status
  344. 311:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  345. 312:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_Init(ADC_HandleTypeDef* hadc)
  346. 313:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  347. 314:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
  348. 315:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  349. ARM GAS /tmp/ccMhywUy.s page 7
  350. 316:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check ADC handle */
  351. 317:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(hadc == NULL)
  352. 318:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  353. 319:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** return HAL_ERROR;
  354. 320:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  355. 321:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  356. 322:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check the parameters */
  357. 323:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
  358. 324:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_CLOCKPRESCALER(hadc->Init.ClockPrescaler));
  359. 325:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_RESOLUTION(hadc->Init.Resolution));
  360. 326:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.ScanConvMode));
  361. 327:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.ContinuousConvMode));
  362. 328:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_EXT_TRIG(hadc->Init.ExternalTrigConv));
  363. 329:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_DATA_ALIGN(hadc->Init.DataAlign));
  364. 330:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_REGULAR_LENGTH(hadc->Init.NbrOfConversion));
  365. 331:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.DMAContinuousRequests));
  366. 332:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_EOCSelection(hadc->Init.EOCSelection));
  367. 333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.DiscontinuousConvMode));
  368. 334:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  369. 335:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(hadc->Init.ExternalTrigConv != ADC_SOFTWARE_START)
  370. 336:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  371. 337:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_EXT_TRIG_EDGE(hadc->Init.ExternalTrigConvEdge));
  372. 338:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  373. 339:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  374. 340:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(hadc->State == HAL_ADC_STATE_RESET)
  375. 341:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  376. 342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
  377. 343:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Init the ADC Callback settings */
  378. 344:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->ConvCpltCallback = HAL_ADC_ConvCpltCallback; /* Legacy weak
  379. 345:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->ConvHalfCpltCallback = HAL_ADC_ConvHalfCpltCallback; /* Legacy weak
  380. 346:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->LevelOutOfWindowCallback = HAL_ADC_LevelOutOfWindowCallback; /* Legacy weak
  381. 347:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->ErrorCallback = HAL_ADC_ErrorCallback; /* Legacy weak
  382. 348:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->InjectedConvCpltCallback = HAL_ADCEx_InjectedConvCpltCallback; /* Legacy weak
  383. 349:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if (hadc->MspInitCallback == NULL)
  384. 350:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  385. 351:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->MspInitCallback = HAL_ADC_MspInit; /* Legacy weak MspInit */
  386. 352:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  387. 353:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  388. 354:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Init the low level hardware */
  389. 355:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->MspInitCallback(hadc);
  390. 356:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #else
  391. 357:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Init the low level hardware */
  392. 358:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_MspInit(hadc);
  393. 359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
  394. 360:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  395. 361:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Initialize ADC error code */
  396. 362:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_CLEAR_ERRORCODE(hadc);
  397. 363:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  398. 364:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Allocate lock resource and initialize it */
  399. 365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Lock = HAL_UNLOCKED;
  400. 366:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  401. 367:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  402. 368:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Configuration of ADC parameters if previous preliminary actions are */
  403. 369:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* correctly completed. */
  404. 370:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL))
  405. 371:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  406. 372:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC state */
  407. ARM GAS /tmp/ccMhywUy.s page 8
  408. 373:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State,
  409. 374:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
  410. 375:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_STATE_BUSY_INTERNAL);
  411. 376:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  412. 377:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC parameters */
  413. 378:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_Init(hadc);
  414. 379:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  415. 380:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC error code to none */
  416. 381:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_CLEAR_ERRORCODE(hadc);
  417. 382:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  418. 383:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set the ADC state */
  419. 384:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State,
  420. 385:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_STATE_BUSY_INTERNAL,
  421. 386:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_STATE_READY);
  422. 387:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  423. 388:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** else
  424. 389:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  425. 390:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmp_hal_status = HAL_ERROR;
  426. 391:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  427. 392:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  428. 393:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Release Lock */
  429. 394:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_UNLOCK(hadc);
  430. 395:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  431. 396:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Return function status */
  432. 397:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** return tmp_hal_status;
  433. 398:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  434. 399:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  435. 400:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  436. 401:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief Deinitializes the ADCx peripheral registers to their default reset values.
  437. 402:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  438. 403:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified ADC.
  439. 404:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval HAL status
  440. 405:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  441. 406:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_DeInit(ADC_HandleTypeDef* hadc)
  442. 407:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  443. 408:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
  444. 409:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  445. 410:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check ADC handle */
  446. 411:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(hadc == NULL)
  447. 412:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  448. 413:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** return HAL_ERROR;
  449. 414:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  450. 415:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  451. 416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check the parameters */
  452. 417:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
  453. 418:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  454. 419:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC state */
  455. 420:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_BUSY_INTERNAL);
  456. 421:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  457. 422:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Stop potential conversion on going, on regular and injected groups */
  458. 423:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Disable ADC peripheral */
  459. 424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_DISABLE(hadc);
  460. 425:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  461. 426:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Configuration of ADC parameters if previous preliminary actions are */
  462. 427:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* correctly completed. */
  463. 428:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_ADON))
  464. 429:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  465. ARM GAS /tmp/ccMhywUy.s page 9
  466. 430:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
  467. 431:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if (hadc->MspDeInitCallback == NULL)
  468. 432:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  469. 433:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->MspDeInitCallback = HAL_ADC_MspDeInit; /* Legacy weak MspDeInit */
  470. 434:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  471. 435:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  472. 436:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* DeInit the low level hardware: RCC clock, NVIC */
  473. 437:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->MspDeInitCallback(hadc);
  474. 438:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #else
  475. 439:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* DeInit the low level hardware: RCC clock, NVIC */
  476. 440:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_MspDeInit(hadc);
  477. 441:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
  478. 442:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  479. 443:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC error code to none */
  480. 444:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_CLEAR_ERRORCODE(hadc);
  481. 445:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  482. 446:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC state */
  483. 447:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->State = HAL_ADC_STATE_RESET;
  484. 448:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  485. 449:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  486. 450:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Process unlocked */
  487. 451:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_UNLOCK(hadc);
  488. 452:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  489. 453:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Return function status */
  490. 454:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** return tmp_hal_status;
  491. 455:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  492. 456:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  493. 457:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
  494. 458:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  495. 459:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief Register a User ADC Callback
  496. 460:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * To be used instead of the weak predefined callback
  497. 461:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hadc Pointer to a ADC_HandleTypeDef structure that contains
  498. 462:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified ADC.
  499. 463:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param CallbackID ID of the callback to be registered
  500. 464:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * This parameter can be one of the following values:
  501. 465:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @arg @ref HAL_ADC_CONVERSION_COMPLETE_CB_ID ADC conversion complete callback ID
  502. 466:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @arg @ref HAL_ADC_CONVERSION_HALF_CB_ID ADC conversion DMA half-transfer call
  503. 467:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @arg @ref HAL_ADC_LEVEL_OUT_OF_WINDOW_1_CB_ID ADC analog watchdog 1 callback ID
  504. 468:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @arg @ref HAL_ADC_ERROR_CB_ID ADC error callback ID
  505. 469:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @arg @ref HAL_ADC_INJ_CONVERSION_COMPLETE_CB_ID ADC group injected conversion complet
  506. 470:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @arg @ref HAL_ADC_INJ_QUEUE_OVEFLOW_CB_ID ADC group injected context queue over
  507. 471:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @arg @ref HAL_ADC_MSPINIT_CB_ID ADC Msp Init callback ID
  508. 472:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @arg @ref HAL_ADC_MSPDEINIT_CB_ID ADC Msp DeInit callback ID
  509. 473:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param pCallback pointer to the Callback function
  510. 474:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval HAL status
  511. 475:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  512. 476:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_RegisterCallback(ADC_HandleTypeDef *hadc, HAL_ADC_CallbackIDTypeDef Callb
  513. 477:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  514. 478:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_StatusTypeDef status = HAL_OK;
  515. 479:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  516. 480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if (pCallback == NULL)
  517. 481:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  518. 482:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Update the error code */
  519. 483:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->ErrorCode |= HAL_ADC_ERROR_INVALID_CALLBACK;
  520. 484:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  521. 485:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** return HAL_ERROR;
  522. 486:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  523. ARM GAS /tmp/ccMhywUy.s page 10
  524. 487:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  525. 488:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if ((hadc->State & HAL_ADC_STATE_READY) != 0UL)
  526. 489:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  527. 490:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** switch (CallbackID)
  528. 491:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  529. 492:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** case HAL_ADC_CONVERSION_COMPLETE_CB_ID :
  530. 493:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->ConvCpltCallback = pCallback;
  531. 494:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** break;
  532. 495:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  533. 496:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** case HAL_ADC_CONVERSION_HALF_CB_ID :
  534. 497:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->ConvHalfCpltCallback = pCallback;
  535. 498:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** break;
  536. 499:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  537. 500:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** case HAL_ADC_LEVEL_OUT_OF_WINDOW_1_CB_ID :
  538. 501:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->LevelOutOfWindowCallback = pCallback;
  539. 502:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** break;
  540. 503:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  541. 504:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** case HAL_ADC_ERROR_CB_ID :
  542. 505:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->ErrorCallback = pCallback;
  543. 506:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** break;
  544. 507:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  545. 508:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** case HAL_ADC_INJ_CONVERSION_COMPLETE_CB_ID :
  546. 509:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->InjectedConvCpltCallback = pCallback;
  547. 510:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** break;
  548. 511:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  549. 512:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** case HAL_ADC_MSPINIT_CB_ID :
  550. 513:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->MspInitCallback = pCallback;
  551. 514:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** break;
  552. 515:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  553. 516:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** case HAL_ADC_MSPDEINIT_CB_ID :
  554. 517:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->MspDeInitCallback = pCallback;
  555. 518:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** break;
  556. 519:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  557. 520:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** default :
  558. 521:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Update the error code */
  559. 522:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->ErrorCode |= HAL_ADC_ERROR_INVALID_CALLBACK;
  560. 523:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  561. 524:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Return error status */
  562. 525:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** status = HAL_ERROR;
  563. 526:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** break;
  564. 527:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  565. 528:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  566. 529:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** else if (HAL_ADC_STATE_RESET == hadc->State)
  567. 530:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  568. 531:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** switch (CallbackID)
  569. 532:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  570. 533:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** case HAL_ADC_MSPINIT_CB_ID :
  571. 534:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->MspInitCallback = pCallback;
  572. 535:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** break;
  573. 536:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  574. 537:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** case HAL_ADC_MSPDEINIT_CB_ID :
  575. 538:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->MspDeInitCallback = pCallback;
  576. 539:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** break;
  577. 540:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  578. 541:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** default :
  579. 542:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Update the error code */
  580. 543:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->ErrorCode |= HAL_ADC_ERROR_INVALID_CALLBACK;
  581. ARM GAS /tmp/ccMhywUy.s page 11
  582. 544:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  583. 545:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Return error status */
  584. 546:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** status = HAL_ERROR;
  585. 547:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** break;
  586. 548:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  587. 549:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  588. 550:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** else
  589. 551:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  590. 552:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Update the error code */
  591. 553:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->ErrorCode |= HAL_ADC_ERROR_INVALID_CALLBACK;
  592. 554:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  593. 555:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Return error status */
  594. 556:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** status = HAL_ERROR;
  595. 557:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  596. 558:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  597. 559:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** return status;
  598. 560:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  599. 561:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  600. 562:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  601. 563:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief Unregister a ADC Callback
  602. 564:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * ADC callback is redirected to the weak predefined callback
  603. 565:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hadc Pointer to a ADC_HandleTypeDef structure that contains
  604. 566:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified ADC.
  605. 567:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param CallbackID ID of the callback to be unregistered
  606. 568:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * This parameter can be one of the following values:
  607. 569:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @arg @ref HAL_ADC_CONVERSION_COMPLETE_CB_ID ADC conversion complete callback ID
  608. 570:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @arg @ref HAL_ADC_CONVERSION_HALF_CB_ID ADC conversion DMA half-transfer call
  609. 571:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @arg @ref HAL_ADC_LEVEL_OUT_OF_WINDOW_1_CB_ID ADC analog watchdog 1 callback ID
  610. 572:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @arg @ref HAL_ADC_ERROR_CB_ID ADC error callback ID
  611. 573:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @arg @ref HAL_ADC_INJ_CONVERSION_COMPLETE_CB_ID ADC group injected conversion complet
  612. 574:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @arg @ref HAL_ADC_INJ_QUEUE_OVEFLOW_CB_ID ADC group injected context queue over
  613. 575:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @arg @ref HAL_ADC_MSPINIT_CB_ID ADC Msp Init callback ID
  614. 576:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @arg @ref HAL_ADC_MSPDEINIT_CB_ID ADC Msp DeInit callback ID
  615. 577:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval HAL status
  616. 578:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  617. 579:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_UnRegisterCallback(ADC_HandleTypeDef *hadc, HAL_ADC_CallbackIDTypeDef Cal
  618. 580:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  619. 581:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_StatusTypeDef status = HAL_OK;
  620. 582:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  621. 583:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if ((hadc->State & HAL_ADC_STATE_READY) != 0UL)
  622. 584:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  623. 585:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** switch (CallbackID)
  624. 586:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  625. 587:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** case HAL_ADC_CONVERSION_COMPLETE_CB_ID :
  626. 588:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->ConvCpltCallback = HAL_ADC_ConvCpltCallback;
  627. 589:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** break;
  628. 590:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  629. 591:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** case HAL_ADC_CONVERSION_HALF_CB_ID :
  630. 592:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->ConvHalfCpltCallback = HAL_ADC_ConvHalfCpltCallback;
  631. 593:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** break;
  632. 594:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  633. 595:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** case HAL_ADC_LEVEL_OUT_OF_WINDOW_1_CB_ID :
  634. 596:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->LevelOutOfWindowCallback = HAL_ADC_LevelOutOfWindowCallback;
  635. 597:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** break;
  636. 598:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  637. 599:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** case HAL_ADC_ERROR_CB_ID :
  638. 600:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->ErrorCallback = HAL_ADC_ErrorCallback;
  639. ARM GAS /tmp/ccMhywUy.s page 12
  640. 601:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** break;
  641. 602:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  642. 603:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** case HAL_ADC_INJ_CONVERSION_COMPLETE_CB_ID :
  643. 604:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->InjectedConvCpltCallback = HAL_ADCEx_InjectedConvCpltCallback;
  644. 605:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** break;
  645. 606:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  646. 607:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** case HAL_ADC_MSPINIT_CB_ID :
  647. 608:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->MspInitCallback = HAL_ADC_MspInit; /* Legacy weak MspInit */
  648. 609:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** break;
  649. 610:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  650. 611:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** case HAL_ADC_MSPDEINIT_CB_ID :
  651. 612:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->MspDeInitCallback = HAL_ADC_MspDeInit; /* Legacy weak MspDeInit */
  652. 613:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** break;
  653. 614:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  654. 615:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** default :
  655. 616:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Update the error code */
  656. 617:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->ErrorCode |= HAL_ADC_ERROR_INVALID_CALLBACK;
  657. 618:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  658. 619:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Return error status */
  659. 620:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** status = HAL_ERROR;
  660. 621:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** break;
  661. 622:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  662. 623:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  663. 624:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** else if (HAL_ADC_STATE_RESET == hadc->State)
  664. 625:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  665. 626:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** switch (CallbackID)
  666. 627:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  667. 628:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** case HAL_ADC_MSPINIT_CB_ID :
  668. 629:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->MspInitCallback = HAL_ADC_MspInit; /* Legacy weak MspInit
  669. 630:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** break;
  670. 631:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  671. 632:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** case HAL_ADC_MSPDEINIT_CB_ID :
  672. 633:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->MspDeInitCallback = HAL_ADC_MspDeInit; /* Legacy weak MspDeInit
  673. 634:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** break;
  674. 635:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  675. 636:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** default :
  676. 637:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Update the error code */
  677. 638:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->ErrorCode |= HAL_ADC_ERROR_INVALID_CALLBACK;
  678. 639:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  679. 640:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Return error status */
  680. 641:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** status = HAL_ERROR;
  681. 642:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** break;
  682. 643:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  683. 644:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  684. 645:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** else
  685. 646:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  686. 647:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Update the error code */
  687. 648:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->ErrorCode |= HAL_ADC_ERROR_INVALID_CALLBACK;
  688. 649:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  689. 650:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Return error status */
  690. 651:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** status = HAL_ERROR;
  691. 652:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  692. 653:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  693. 654:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** return status;
  694. 655:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  695. 656:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  696. 657:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
  697. ARM GAS /tmp/ccMhywUy.s page 13
  698. 658:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  699. 659:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  700. 660:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief Initializes the ADC MSP.
  701. 661:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  702. 662:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified ADC.
  703. 663:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval None
  704. 664:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  705. 665:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __weak void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc)
  706. 666:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  707. 667:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
  708. 668:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** UNUSED(hadc);
  709. 669:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* NOTE : This function Should not be modified, when the callback is needed,
  710. 670:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** the HAL_ADC_MspInit could be implemented in the user file
  711. 671:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  712. 672:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  713. 673:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  714. 674:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  715. 675:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief DeInitializes the ADC MSP.
  716. 676:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  717. 677:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified ADC.
  718. 678:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval None
  719. 679:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  720. 680:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __weak void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc)
  721. 681:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  722. 682:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
  723. 683:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** UNUSED(hadc);
  724. 684:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* NOTE : This function Should not be modified, when the callback is needed,
  725. 685:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** the HAL_ADC_MspDeInit could be implemented in the user file
  726. 686:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  727. 687:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  728. 688:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  729. 689:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  730. 690:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @}
  731. 691:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  732. 692:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  733. 693:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /** @defgroup ADC_Exported_Functions_Group2 IO operation functions
  734. 694:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief IO operation functions
  735. 695:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** *
  736. 696:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** @verbatim
  737. 697:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ===============================================================================
  738. 698:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ##### IO operation functions #####
  739. 699:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ===============================================================================
  740. 700:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** [..] This section provides functions allowing to:
  741. 701:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) Start conversion of regular channel.
  742. 702:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) Stop conversion of regular channel.
  743. 703:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) Start conversion of regular channel and enable interrupt.
  744. 704:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) Stop conversion of regular channel and disable interrupt.
  745. 705:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) Start conversion of regular channel and enable DMA transfer.
  746. 706:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) Stop conversion of regular channel and disable DMA transfer.
  747. 707:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) Handle ADC interrupt request.
  748. 708:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  749. 709:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** @endverbatim
  750. 710:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @{
  751. 711:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  752. 712:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  753. 713:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  754. 714:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief Enables ADC and starts conversion of the regular channels.
  755. ARM GAS /tmp/ccMhywUy.s page 14
  756. 715:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  757. 716:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified ADC.
  758. 717:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval HAL status
  759. 718:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  760. 719:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_Start(ADC_HandleTypeDef* hadc)
  761. 720:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  762. 721:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __IO uint32_t counter = 0U;
  763. 722:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_Common_TypeDef *tmpADC_Common;
  764. 723:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  765. 724:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check the parameters */
  766. 725:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.ContinuousConvMode));
  767. 726:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_EXT_TRIG_EDGE(hadc->Init.ExternalTrigConvEdge));
  768. 727:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  769. 728:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Process locked */
  770. 729:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_LOCK(hadc);
  771. 730:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  772. 731:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Enable the ADC peripheral */
  773. 732:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check if ADC peripheral is disabled in order to enable it and wait during
  774. 733:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** Tstab time the ADC's stabilization */
  775. 734:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if((hadc->Instance->CR2 & ADC_CR2_ADON) != ADC_CR2_ADON)
  776. 735:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  777. 736:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Enable the Peripheral */
  778. 737:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_ENABLE(hadc);
  779. 738:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  780. 739:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Delay for ADC stabilization time */
  781. 740:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Compute number of CPU cycles to wait for */
  782. 741:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U));
  783. 742:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** while(counter != 0U)
  784. 743:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  785. 744:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** counter--;
  786. 745:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  787. 746:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  788. 747:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  789. 748:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Start conversion if ADC is effectively enabled */
  790. 749:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(HAL_IS_BIT_SET(hadc->Instance->CR2, ADC_CR2_ADON))
  791. 750:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  792. 751:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC state */
  793. 752:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* - Clear state bitfield related to regular group conversion results */
  794. 753:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* - Set state bitfield related to regular group operation */
  795. 754:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State,
  796. 755:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC | HAL_ADC_STATE_REG_OVR,
  797. 756:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY);
  798. 757:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  799. 758:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* If conversions on group regular are also triggering group injected, */
  800. 759:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* update ADC state. */
  801. 760:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if (READ_BIT(hadc->Instance->CR1, ADC_CR1_JAUTO) != RESET)
  802. 761:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  803. 762:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State, HAL_ADC_STATE_INJ_EOC, HAL_ADC_STATE_INJ_BUSY);
  804. 763:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  805. 764:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  806. 765:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* State machine update: Check if an injected conversion is ongoing */
  807. 766:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if (HAL_IS_BIT_SET(hadc->State, HAL_ADC_STATE_INJ_BUSY))
  808. 767:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  809. 768:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Reset ADC error code fields related to conversions on group regular */
  810. 769:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** CLEAR_BIT(hadc->ErrorCode, (HAL_ADC_ERROR_OVR | HAL_ADC_ERROR_DMA));
  811. 770:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  812. 771:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** else
  813. ARM GAS /tmp/ccMhywUy.s page 15
  814. 772:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  815. 773:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Reset ADC all error code fields */
  816. 774:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_CLEAR_ERRORCODE(hadc);
  817. 775:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  818. 776:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  819. 777:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Process unlocked */
  820. 778:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Unlock before starting ADC conversions: in case of potential */
  821. 779:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* interruption, to let the process to ADC IRQ Handler. */
  822. 780:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_UNLOCK(hadc);
  823. 781:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  824. 782:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Pointer to the common control register to which is belonging hadc */
  825. 783:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* (Depending on STM32F4 product, there may be up to 3 ADCs and 1 common */
  826. 784:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* control register) */
  827. 785:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
  828. 786:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  829. 787:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Clear regular group conversion flag and overrun flag */
  830. 788:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* (To ensure of no unknown state from potential previous ADC operations) */
  831. 789:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_EOC | ADC_FLAG_OVR);
  832. 790:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  833. 791:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check if Multimode enabled */
  834. 792:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(HAL_IS_BIT_CLR(tmpADC_Common->CCR, ADC_CCR_MULTI))
  835. 793:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  836. 794:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #if defined(ADC2) && defined(ADC3)
  837. 795:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if((hadc->Instance == ADC1) || ((hadc->Instance == ADC2) && ((ADC->CCR & ADC_CCR_MULTI_Msk) <
  838. 796:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** || ((hadc->Instance == ADC3) && ((ADC->CCR & ADC_CCR_MULTI_Msk) <
  839. 797:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  840. 798:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* ADC2 || ADC3 */
  841. 799:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* if no external trigger present enable software conversion of regular channels */
  842. 800:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if((hadc->Instance->CR2 & ADC_CR2_EXTEN) == RESET)
  843. 801:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  844. 802:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Enable the selected ADC software conversion for regular group */
  845. 803:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR2 |= (uint32_t)ADC_CR2_SWSTART;
  846. 804:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  847. 805:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #if defined(ADC2) && defined(ADC3)
  848. 806:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  849. 807:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* ADC2 || ADC3 */
  850. 808:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  851. 809:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** else
  852. 810:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  853. 811:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* if instance of handle correspond to ADC1 and no external trigger present enable software
  854. 812:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if((hadc->Instance == ADC1) && ((hadc->Instance->CR2 & ADC_CR2_EXTEN) == RESET))
  855. 813:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  856. 814:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Enable the selected ADC software conversion for regular group */
  857. 815:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR2 |= (uint32_t)ADC_CR2_SWSTART;
  858. 816:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  859. 817:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  860. 818:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  861. 819:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  862. 820:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Return function status */
  863. 821:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** return HAL_OK;
  864. 822:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  865. 823:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  866. 824:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  867. 825:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief Disables ADC and stop conversion of regular channels.
  868. 826:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** *
  869. 827:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @note Caution: This function will stop also injected channels.
  870. 828:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** *
  871. ARM GAS /tmp/ccMhywUy.s page 16
  872. 829:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  873. 830:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified ADC.
  874. 831:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** *
  875. 832:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval HAL status.
  876. 833:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  877. 834:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_Stop(ADC_HandleTypeDef* hadc)
  878. 835:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  879. 836:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check the parameters */
  880. 837:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
  881. 838:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  882. 839:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Process locked */
  883. 840:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_LOCK(hadc);
  884. 841:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  885. 842:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Stop potential conversion on going, on regular and injected groups */
  886. 843:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Disable ADC peripheral */
  887. 844:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_DISABLE(hadc);
  888. 845:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  889. 846:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check if ADC is effectively disabled */
  890. 847:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_ADON))
  891. 848:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  892. 849:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC state */
  893. 850:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State,
  894. 851:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
  895. 852:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_STATE_READY);
  896. 853:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  897. 854:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  898. 855:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Process unlocked */
  899. 856:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_UNLOCK(hadc);
  900. 857:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  901. 858:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Return function status */
  902. 859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** return HAL_OK;
  903. 860:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  904. 861:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  905. 862:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  906. 863:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief Poll for regular conversion complete
  907. 864:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @note ADC conversion flags EOS (end of sequence) and EOC (end of
  908. 865:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * conversion) are cleared by this function.
  909. 866:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @note This function cannot be used in a particular setup: ADC configured
  910. 867:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * in DMA mode and polling for end of each conversion (ADC init
  911. 868:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * parameter "EOCSelection" set to ADC_EOC_SINGLE_CONV).
  912. 869:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * In this case, DMA resets the flag EOC and polling cannot be
  913. 870:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * performed on each conversion. Nevertheless, polling can still
  914. 871:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * be performed on the complete sequence.
  915. 872:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  916. 873:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified ADC.
  917. 874:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param Timeout Timeout value in millisecond.
  918. 875:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval HAL status
  919. 876:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  920. 877:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_PollForConversion(ADC_HandleTypeDef* hadc, uint32_t Timeout)
  921. 878:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  922. 879:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** uint32_t tickstart = 0U;
  923. 880:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  924. 881:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Verification that ADC configuration is compliant with polling for */
  925. 882:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* each conversion: */
  926. 883:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Particular case is ADC configured in DMA mode and ADC sequencer with */
  927. 884:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* several ranks and polling for end of each conversion. */
  928. 885:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* For code simplicity sake, this particular case is generalized to */
  929. ARM GAS /tmp/ccMhywUy.s page 17
  930. 886:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* ADC configured in DMA mode and polling for end of each conversion. */
  931. 887:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if (HAL_IS_BIT_SET(hadc->Instance->CR2, ADC_CR2_EOCS) &&
  932. 888:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_IS_BIT_SET(hadc->Instance->CR2, ADC_CR2_DMA) )
  933. 889:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  934. 890:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Update ADC state machine to error */
  935. 891:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG);
  936. 892:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  937. 893:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Process unlocked */
  938. 894:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_UNLOCK(hadc);
  939. 895:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  940. 896:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** return HAL_ERROR;
  941. 897:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  942. 898:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  943. 899:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Get tick */
  944. 900:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tickstart = HAL_GetTick();
  945. 901:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  946. 902:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check End of conversion flag */
  947. 903:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** while(!(__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_EOC)))
  948. 904:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  949. 905:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check if timeout is disabled (set to infinite wait) */
  950. 906:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(Timeout != HAL_MAX_DELAY)
  951. 907:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  952. 908:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if((Timeout == 0U) || ((HAL_GetTick() - tickstart ) > Timeout))
  953. 909:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  954. 910:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Update ADC state machine to timeout */
  955. 911:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_TIMEOUT);
  956. 912:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  957. 913:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Process unlocked */
  958. 914:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_UNLOCK(hadc);
  959. 915:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  960. 916:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** return HAL_TIMEOUT;
  961. 917:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  962. 918:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  963. 919:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  964. 920:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  965. 921:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Clear regular group conversion flag */
  966. 922:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_STRT | ADC_FLAG_EOC);
  967. 923:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  968. 924:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Update ADC state machine */
  969. 925:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_REG_EOC);
  970. 926:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  971. 927:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Determine whether any further conversion upcoming on group regular */
  972. 928:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* by external trigger, continuous mode or scan sequence on going. */
  973. 929:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Note: On STM32F4, there is no independent flag of end of sequence. */
  974. 930:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* The test of scan sequence on going is done either with scan */
  975. 931:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* sequence disabled or with end of conversion flag set to */
  976. 932:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* of end of sequence. */
  977. 933:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
  978. 934:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
  979. 935:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (HAL_IS_BIT_CLR(hadc->Instance->SQR1, ADC_SQR1_L) ||
  980. 936:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) )
  981. 937:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  982. 938:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC state */
  983. 939:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_REG_BUSY);
  984. 940:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  985. 941:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_INJ_BUSY))
  986. 942:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  987. ARM GAS /tmp/ccMhywUy.s page 18
  988. 943:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_READY);
  989. 944:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  990. 945:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  991. 946:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  992. 947:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Return ADC state */
  993. 948:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** return HAL_OK;
  994. 949:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  995. 950:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  996. 951:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  997. 952:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief Poll for conversion event
  998. 953:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  999. 954:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified ADC.
  1000. 955:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param EventType the ADC event type.
  1001. 956:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * This parameter can be one of the following values:
  1002. 957:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @arg ADC_AWD_EVENT: ADC Analog watch Dog event.
  1003. 958:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @arg ADC_OVR_EVENT: ADC Overrun event.
  1004. 959:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param Timeout Timeout value in millisecond.
  1005. 960:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval HAL status
  1006. 961:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1007. 962:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_PollForEvent(ADC_HandleTypeDef* hadc, uint32_t EventType, uint32_t Timeou
  1008. 963:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1009. 964:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** uint32_t tickstart = 0U;
  1010. 965:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1011. 966:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check the parameters */
  1012. 967:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
  1013. 968:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_EVENT_TYPE(EventType));
  1014. 969:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1015. 970:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Get tick */
  1016. 971:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tickstart = HAL_GetTick();
  1017. 972:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1018. 973:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check selected event flag */
  1019. 974:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** while(!(__HAL_ADC_GET_FLAG(hadc,EventType)))
  1020. 975:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1021. 976:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check for the Timeout */
  1022. 977:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(Timeout != HAL_MAX_DELAY)
  1023. 978:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1024. 979:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if((Timeout == 0U) || ((HAL_GetTick() - tickstart ) > Timeout))
  1025. 980:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1026. 981:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Update ADC state machine to timeout */
  1027. 982:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_TIMEOUT);
  1028. 983:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1029. 984:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Process unlocked */
  1030. 985:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_UNLOCK(hadc);
  1031. 986:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1032. 987:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** return HAL_TIMEOUT;
  1033. 988:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1034. 989:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1035. 990:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1036. 991:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1037. 992:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Analog watchdog (level out of window) event */
  1038. 993:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(EventType == ADC_AWD_EVENT)
  1039. 994:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1040. 995:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC state */
  1041. 996:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_AWD1);
  1042. 997:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1043. 998:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Clear ADC analog watchdog flag */
  1044. 999:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_AWD);
  1045. ARM GAS /tmp/ccMhywUy.s page 19
  1046. 1000:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1047. 1001:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Overrun event */
  1048. 1002:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** else
  1049. 1003:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1050. 1004:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC state */
  1051. 1005:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_REG_OVR);
  1052. 1006:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC error code to overrun */
  1053. 1007:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_OVR);
  1054. 1008:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1055. 1009:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Clear ADC overrun flag */
  1056. 1010:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_OVR);
  1057. 1011:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1058. 1012:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1059. 1013:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Return ADC state */
  1060. 1014:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** return HAL_OK;
  1061. 1015:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1062. 1016:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1063. 1017:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1064. 1018:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  1065. 1019:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief Enables the interrupt and starts ADC conversion of regular channels.
  1066. 1020:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  1067. 1021:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified ADC.
  1068. 1022:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval HAL status.
  1069. 1023:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1070. 1024:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_Start_IT(ADC_HandleTypeDef* hadc)
  1071. 1025:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1072. 1026:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __IO uint32_t counter = 0U;
  1073. 1027:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_Common_TypeDef *tmpADC_Common;
  1074. 1028:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1075. 1029:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check the parameters */
  1076. 1030:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.ContinuousConvMode));
  1077. 1031:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_EXT_TRIG_EDGE(hadc->Init.ExternalTrigConvEdge));
  1078. 1032:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1079. 1033:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Process locked */
  1080. 1034:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_LOCK(hadc);
  1081. 1035:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1082. 1036:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Enable the ADC peripheral */
  1083. 1037:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check if ADC peripheral is disabled in order to enable it and wait during
  1084. 1038:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** Tstab time the ADC's stabilization */
  1085. 1039:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if((hadc->Instance->CR2 & ADC_CR2_ADON) != ADC_CR2_ADON)
  1086. 1040:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1087. 1041:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Enable the Peripheral */
  1088. 1042:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_ENABLE(hadc);
  1089. 1043:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1090. 1044:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Delay for ADC stabilization time */
  1091. 1045:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Compute number of CPU cycles to wait for */
  1092. 1046:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U));
  1093. 1047:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** while(counter != 0U)
  1094. 1048:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1095. 1049:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** counter--;
  1096. 1050:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1097. 1051:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1098. 1052:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1099. 1053:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Start conversion if ADC is effectively enabled */
  1100. 1054:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(HAL_IS_BIT_SET(hadc->Instance->CR2, ADC_CR2_ADON))
  1101. 1055:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1102. 1056:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC state */
  1103. ARM GAS /tmp/ccMhywUy.s page 20
  1104. 1057:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* - Clear state bitfield related to regular group conversion results */
  1105. 1058:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* - Set state bitfield related to regular group operation */
  1106. 1059:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State,
  1107. 1060:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC | HAL_ADC_STATE_REG_OVR,
  1108. 1061:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY);
  1109. 1062:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1110. 1063:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* If conversions on group regular are also triggering group injected, */
  1111. 1064:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* update ADC state. */
  1112. 1065:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if (READ_BIT(hadc->Instance->CR1, ADC_CR1_JAUTO) != RESET)
  1113. 1066:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1114. 1067:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State, HAL_ADC_STATE_INJ_EOC, HAL_ADC_STATE_INJ_BUSY);
  1115. 1068:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1116. 1069:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1117. 1070:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* State machine update: Check if an injected conversion is ongoing */
  1118. 1071:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if (HAL_IS_BIT_SET(hadc->State, HAL_ADC_STATE_INJ_BUSY))
  1119. 1072:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1120. 1073:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Reset ADC error code fields related to conversions on group regular */
  1121. 1074:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** CLEAR_BIT(hadc->ErrorCode, (HAL_ADC_ERROR_OVR | HAL_ADC_ERROR_DMA));
  1122. 1075:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1123. 1076:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** else
  1124. 1077:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1125. 1078:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Reset ADC all error code fields */
  1126. 1079:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_CLEAR_ERRORCODE(hadc);
  1127. 1080:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1128. 1081:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1129. 1082:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Process unlocked */
  1130. 1083:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Unlock before starting ADC conversions: in case of potential */
  1131. 1084:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* interruption, to let the process to ADC IRQ Handler. */
  1132. 1085:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_UNLOCK(hadc);
  1133. 1086:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1134. 1087:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Pointer to the common control register to which is belonging hadc */
  1135. 1088:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* (Depending on STM32F4 product, there may be up to 3 ADCs and 1 common */
  1136. 1089:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* control register) */
  1137. 1090:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
  1138. 1091:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1139. 1092:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Clear regular group conversion flag and overrun flag */
  1140. 1093:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* (To ensure of no unknown state from potential previous ADC operations) */
  1141. 1094:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_EOC | ADC_FLAG_OVR);
  1142. 1095:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1143. 1096:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Enable end of conversion interrupt for regular group */
  1144. 1097:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_ENABLE_IT(hadc, (ADC_IT_EOC | ADC_IT_OVR));
  1145. 1098:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1146. 1099:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check if Multimode enabled */
  1147. 1100:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(HAL_IS_BIT_CLR(tmpADC_Common->CCR, ADC_CCR_MULTI))
  1148. 1101:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1149. 1102:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #if defined(ADC2) && defined(ADC3)
  1150. 1103:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if((hadc->Instance == ADC1) || ((hadc->Instance == ADC2) && ((ADC->CCR & ADC_CCR_MULTI_Msk) <
  1151. 1104:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** || ((hadc->Instance == ADC3) && ((ADC->CCR & ADC_CCR_MULTI_Msk) <
  1152. 1105:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1153. 1106:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* ADC2 || ADC3 */
  1154. 1107:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* if no external trigger present enable software conversion of regular channels */
  1155. 1108:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if((hadc->Instance->CR2 & ADC_CR2_EXTEN) == RESET)
  1156. 1109:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1157. 1110:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Enable the selected ADC software conversion for regular group */
  1158. 1111:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR2 |= (uint32_t)ADC_CR2_SWSTART;
  1159. 1112:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1160. 1113:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #if defined(ADC2) && defined(ADC3)
  1161. ARM GAS /tmp/ccMhywUy.s page 21
  1162. 1114:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1163. 1115:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* ADC2 || ADC3 */
  1164. 1116:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1165. 1117:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** else
  1166. 1118:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1167. 1119:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* if instance of handle correspond to ADC1 and no external trigger present enable software
  1168. 1120:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if((hadc->Instance == ADC1) && ((hadc->Instance->CR2 & ADC_CR2_EXTEN) == RESET))
  1169. 1121:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1170. 1122:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Enable the selected ADC software conversion for regular group */
  1171. 1123:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR2 |= (uint32_t)ADC_CR2_SWSTART;
  1172. 1124:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1173. 1125:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1174. 1126:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1175. 1127:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1176. 1128:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Return function status */
  1177. 1129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** return HAL_OK;
  1178. 1130:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1179. 1131:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1180. 1132:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  1181. 1133:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief Disables the interrupt and stop ADC conversion of regular channels.
  1182. 1134:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** *
  1183. 1135:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @note Caution: This function will stop also injected channels.
  1184. 1136:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** *
  1185. 1137:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  1186. 1138:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified ADC.
  1187. 1139:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval HAL status.
  1188. 1140:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1189. 1141:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_Stop_IT(ADC_HandleTypeDef* hadc)
  1190. 1142:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1191. 1143:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check the parameters */
  1192. 1144:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
  1193. 1145:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1194. 1146:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Process locked */
  1195. 1147:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_LOCK(hadc);
  1196. 1148:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1197. 1149:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Stop potential conversion on going, on regular and injected groups */
  1198. 1150:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Disable ADC peripheral */
  1199. 1151:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_DISABLE(hadc);
  1200. 1152:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1201. 1153:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check if ADC is effectively disabled */
  1202. 1154:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_ADON))
  1203. 1155:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1204. 1156:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Disable ADC end of conversion interrupt for regular group */
  1205. 1157:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_DISABLE_IT(hadc, (ADC_IT_EOC | ADC_IT_OVR));
  1206. 1158:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1207. 1159:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC state */
  1208. 1160:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State,
  1209. 1161:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
  1210. 1162:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_STATE_READY);
  1211. 1163:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1212. 1164:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1213. 1165:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Process unlocked */
  1214. 1166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_UNLOCK(hadc);
  1215. 1167:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1216. 1168:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Return function status */
  1217. 1169:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** return HAL_OK;
  1218. 1170:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1219. ARM GAS /tmp/ccMhywUy.s page 22
  1220. 1171:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1221. 1172:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  1222. 1173:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief Handles ADC interrupt request
  1223. 1174:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  1224. 1175:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified ADC.
  1225. 1176:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval None
  1226. 1177:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1227. 1178:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** void HAL_ADC_IRQHandler(ADC_HandleTypeDef* hadc)
  1228. 1179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1229. 1180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** uint32_t tmp1 = 0U, tmp2 = 0U;
  1230. 1181:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1231. 1182:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check the parameters */
  1232. 1183:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.ContinuousConvMode));
  1233. 1184:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_REGULAR_LENGTH(hadc->Init.NbrOfConversion));
  1234. 1185:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_EOCSelection(hadc->Init.EOCSelection));
  1235. 1186:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1236. 1187:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmp1 = __HAL_ADC_GET_FLAG(hadc, ADC_FLAG_EOC);
  1237. 1188:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmp2 = __HAL_ADC_GET_IT_SOURCE(hadc, ADC_IT_EOC);
  1238. 1189:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check End of conversion flag for regular channels */
  1239. 1190:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(tmp1 && tmp2)
  1240. 1191:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1241. 1192:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Update state machine on conversion status if not in error state */
  1242. 1193:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL))
  1243. 1194:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1244. 1195:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC state */
  1245. 1196:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_REG_EOC);
  1246. 1197:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1247. 1198:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1248. 1199:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Determine whether any further conversion upcoming on group regular */
  1249. 1200:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* by external trigger, continuous mode or scan sequence on going. */
  1250. 1201:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Note: On STM32F4, there is no independent flag of end of sequence. */
  1251. 1202:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* The test of scan sequence on going is done either with scan */
  1252. 1203:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* sequence disabled or with end of conversion flag set to */
  1253. 1204:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* of end of sequence. */
  1254. 1205:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
  1255. 1206:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
  1256. 1207:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (HAL_IS_BIT_CLR(hadc->Instance->SQR1, ADC_SQR1_L) ||
  1257. 1208:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) )
  1258. 1209:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1259. 1210:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Disable ADC end of single conversion interrupt on group regular */
  1260. 1211:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Note: Overrun interrupt was enabled with EOC interrupt in */
  1261. 1212:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* HAL_ADC_Start_IT(), but is not disabled here because can be used */
  1262. 1213:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* by overrun IRQ process below. */
  1263. 1214:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_EOC);
  1264. 1215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1265. 1216:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC state */
  1266. 1217:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_REG_BUSY);
  1267. 1218:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1268. 1219:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_INJ_BUSY))
  1269. 1220:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1270. 1221:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_READY);
  1271. 1222:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1272. 1223:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1273. 1224:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1274. 1225:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Conversion complete callback */
  1275. 1226:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
  1276. 1227:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->ConvCpltCallback(hadc);
  1277. ARM GAS /tmp/ccMhywUy.s page 23
  1278. 1228:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #else
  1279. 1229:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_ConvCpltCallback(hadc);
  1280. 1230:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
  1281. 1231:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1282. 1232:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Clear regular group conversion flag */
  1283. 1233:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_STRT | ADC_FLAG_EOC);
  1284. 1234:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1285. 1235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1286. 1236:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmp1 = __HAL_ADC_GET_FLAG(hadc, ADC_FLAG_JEOC);
  1287. 1237:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmp2 = __HAL_ADC_GET_IT_SOURCE(hadc, ADC_IT_JEOC);
  1288. 1238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check End of conversion flag for injected channels */
  1289. 1239:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(tmp1 && tmp2)
  1290. 1240:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1291. 1241:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Update state machine on conversion status if not in error state */
  1292. 1242:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL))
  1293. 1243:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1294. 1244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC state */
  1295. 1245:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_INJ_EOC);
  1296. 1246:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1297. 1247:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1298. 1248:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Determine whether any further conversion upcoming on group injected */
  1299. 1249:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* by external trigger, scan sequence on going or by automatic injected */
  1300. 1250:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* conversion from group regular (same conditions as group regular */
  1301. 1251:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* interruption disabling above). */
  1302. 1252:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(ADC_IS_SOFTWARE_START_INJECTED(hadc) &&
  1303. 1253:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (HAL_IS_BIT_CLR(hadc->Instance->JSQR, ADC_JSQR_JL) ||
  1304. 1254:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) &&
  1305. 1255:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) &&
  1306. 1256:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
  1307. 1257:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) ) ) )
  1308. 1258:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1309. 1259:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Disable ADC end of single conversion interrupt on group injected */
  1310. 1260:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_JEOC);
  1311. 1261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1312. 1262:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC state */
  1313. 1263:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_INJ_BUSY);
  1314. 1264:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1315. 1265:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_REG_BUSY))
  1316. 1266:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1317. 1267:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_READY);
  1318. 1268:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1319. 1269:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1320. 1270:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1321. 1271:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Conversion complete callback */
  1322. 1272:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Conversion complete callback */
  1323. 1273:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
  1324. 1274:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->InjectedConvCpltCallback(hadc);
  1325. 1275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #else
  1326. 1276:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADCEx_InjectedConvCpltCallback(hadc);
  1327. 1277:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
  1328. 1278:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1329. 1279:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Clear injected group conversion flag */
  1330. 1280:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, (ADC_FLAG_JSTRT | ADC_FLAG_JEOC));
  1331. 1281:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1332. 1282:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1333. 1283:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmp1 = __HAL_ADC_GET_FLAG(hadc, ADC_FLAG_AWD);
  1334. 1284:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmp2 = __HAL_ADC_GET_IT_SOURCE(hadc, ADC_IT_AWD);
  1335. ARM GAS /tmp/ccMhywUy.s page 24
  1336. 1285:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check Analog watchdog flag */
  1337. 1286:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(tmp1 && tmp2)
  1338. 1287:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1339. 1288:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_AWD))
  1340. 1289:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1341. 1290:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC state */
  1342. 1291:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_AWD1);
  1343. 1292:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1344. 1293:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Level out of window callback */
  1345. 1294:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
  1346. 1295:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->LevelOutOfWindowCallback(hadc);
  1347. 1296:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #else
  1348. 1297:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_LevelOutOfWindowCallback(hadc);
  1349. 1298:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
  1350. 1299:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1351. 1300:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Clear the ADC analog watchdog flag */
  1352. 1301:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_AWD);
  1353. 1302:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1354. 1303:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1355. 1304:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1356. 1305:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmp1 = __HAL_ADC_GET_FLAG(hadc, ADC_FLAG_OVR);
  1357. 1306:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmp2 = __HAL_ADC_GET_IT_SOURCE(hadc, ADC_IT_OVR);
  1358. 1307:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check Overrun flag */
  1359. 1308:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(tmp1 && tmp2)
  1360. 1309:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1361. 1310:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Note: On STM32F4, ADC overrun can be set through other parameters */
  1362. 1311:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* refer to description of parameter "EOCSelection" for more */
  1363. 1312:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* details. */
  1364. 1313:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1365. 1314:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC error code to overrun */
  1366. 1315:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_OVR);
  1367. 1316:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1368. 1317:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Clear ADC overrun flag */
  1369. 1318:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_OVR);
  1370. 1319:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1371. 1320:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Error callback */
  1372. 1321:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
  1373. 1322:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->ErrorCallback(hadc);
  1374. 1323:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #else
  1375. 1324:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_ErrorCallback(hadc);
  1376. 1325:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
  1377. 1326:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1378. 1327:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Clear the Overrun flag */
  1379. 1328:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_OVR);
  1380. 1329:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1381. 1330:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1382. 1331:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1383. 1332:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  1384. 1333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief Enables ADC DMA request after last transfer (Single-ADC mode) and enables ADC periphera
  1385. 1334:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  1386. 1335:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified ADC.
  1387. 1336:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param pData The destination Buffer address.
  1388. 1337:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param Length The length of data to be transferred from ADC peripheral to memory.
  1389. 1338:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval HAL status
  1390. 1339:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1391. 1340:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_Start_DMA(ADC_HandleTypeDef* hadc, uint32_t* pData, uint32_t Length)
  1392. 1341:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1393. ARM GAS /tmp/ccMhywUy.s page 25
  1394. 1342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __IO uint32_t counter = 0U;
  1395. 1343:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_Common_TypeDef *tmpADC_Common;
  1396. 1344:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1397. 1345:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check the parameters */
  1398. 1346:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.ContinuousConvMode));
  1399. 1347:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_EXT_TRIG_EDGE(hadc->Init.ExternalTrigConvEdge));
  1400. 1348:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1401. 1349:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Process locked */
  1402. 1350:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_LOCK(hadc);
  1403. 1351:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1404. 1352:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Enable the ADC peripheral */
  1405. 1353:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check if ADC peripheral is disabled in order to enable it and wait during
  1406. 1354:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** Tstab time the ADC's stabilization */
  1407. 1355:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if((hadc->Instance->CR2 & ADC_CR2_ADON) != ADC_CR2_ADON)
  1408. 1356:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1409. 1357:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Enable the Peripheral */
  1410. 1358:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_ENABLE(hadc);
  1411. 1359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1412. 1360:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Delay for ADC stabilization time */
  1413. 1361:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Compute number of CPU cycles to wait for */
  1414. 1362:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U));
  1415. 1363:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** while(counter != 0U)
  1416. 1364:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1417. 1365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** counter--;
  1418. 1366:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1419. 1367:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1420. 1368:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1421. 1369:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Start conversion if ADC is effectively enabled */
  1422. 1370:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(HAL_IS_BIT_SET(hadc->Instance->CR2, ADC_CR2_ADON))
  1423. 1371:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1424. 1372:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC state */
  1425. 1373:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* - Clear state bitfield related to regular group conversion results */
  1426. 1374:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* - Set state bitfield related to regular group operation */
  1427. 1375:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State,
  1428. 1376:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC | HAL_ADC_STATE_REG_OVR,
  1429. 1377:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY);
  1430. 1378:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1431. 1379:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* If conversions on group regular are also triggering group injected, */
  1432. 1380:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* update ADC state. */
  1433. 1381:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if (READ_BIT(hadc->Instance->CR1, ADC_CR1_JAUTO) != RESET)
  1434. 1382:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1435. 1383:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State, HAL_ADC_STATE_INJ_EOC, HAL_ADC_STATE_INJ_BUSY);
  1436. 1384:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1437. 1385:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1438. 1386:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* State machine update: Check if an injected conversion is ongoing */
  1439. 1387:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if (HAL_IS_BIT_SET(hadc->State, HAL_ADC_STATE_INJ_BUSY))
  1440. 1388:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1441. 1389:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Reset ADC error code fields related to conversions on group regular */
  1442. 1390:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** CLEAR_BIT(hadc->ErrorCode, (HAL_ADC_ERROR_OVR | HAL_ADC_ERROR_DMA));
  1443. 1391:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1444. 1392:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** else
  1445. 1393:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1446. 1394:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Reset ADC all error code fields */
  1447. 1395:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_CLEAR_ERRORCODE(hadc);
  1448. 1396:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1449. 1397:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1450. 1398:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Process unlocked */
  1451. ARM GAS /tmp/ccMhywUy.s page 26
  1452. 1399:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Unlock before starting ADC conversions: in case of potential */
  1453. 1400:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* interruption, to let the process to ADC IRQ Handler. */
  1454. 1401:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_UNLOCK(hadc);
  1455. 1402:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1456. 1403:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Pointer to the common control register to which is belonging hadc */
  1457. 1404:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* (Depending on STM32F4 product, there may be up to 3 ADCs and 1 common */
  1458. 1405:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* control register) */
  1459. 1406:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
  1460. 1407:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1461. 1408:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set the DMA transfer complete callback */
  1462. 1409:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->DMA_Handle->XferCpltCallback = ADC_DMAConvCplt;
  1463. 1410:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1464. 1411:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set the DMA half transfer complete callback */
  1465. 1412:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->DMA_Handle->XferHalfCpltCallback = ADC_DMAHalfConvCplt;
  1466. 1413:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1467. 1414:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set the DMA error callback */
  1468. 1415:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->DMA_Handle->XferErrorCallback = ADC_DMAError;
  1469. 1416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1470. 1417:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1471. 1418:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Manage ADC and DMA start: ADC overrun interruption, DMA start, ADC */
  1472. 1419:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* start (in case of SW start): */
  1473. 1420:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1474. 1421:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Clear regular group conversion flag and overrun flag */
  1475. 1422:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* (To ensure of no unknown state from potential previous ADC operations) */
  1476. 1423:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_EOC | ADC_FLAG_OVR);
  1477. 1424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1478. 1425:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Enable ADC overrun interrupt */
  1479. 1426:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_ENABLE_IT(hadc, ADC_IT_OVR);
  1480. 1427:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1481. 1428:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Enable ADC DMA mode */
  1482. 1429:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR2 |= ADC_CR2_DMA;
  1483. 1430:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1484. 1431:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Start the DMA channel */
  1485. 1432:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_DMA_Start_IT(hadc->DMA_Handle, (uint32_t)&hadc->Instance->DR, (uint32_t)pData, Length);
  1486. 1433:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1487. 1434:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check if Multimode enabled */
  1488. 1435:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(HAL_IS_BIT_CLR(tmpADC_Common->CCR, ADC_CCR_MULTI))
  1489. 1436:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1490. 1437:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #if defined(ADC2) && defined(ADC3)
  1491. 1438:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if((hadc->Instance == ADC1) || ((hadc->Instance == ADC2) && ((ADC->CCR & ADC_CCR_MULTI_Msk) <
  1492. 1439:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** || ((hadc->Instance == ADC3) && ((ADC->CCR & ADC_CCR_MULTI_Msk) <
  1493. 1440:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1494. 1441:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* ADC2 || ADC3 */
  1495. 1442:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* if no external trigger present enable software conversion of regular channels */
  1496. 1443:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if((hadc->Instance->CR2 & ADC_CR2_EXTEN) == RESET)
  1497. 1444:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1498. 1445:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Enable the selected ADC software conversion for regular group */
  1499. 1446:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR2 |= (uint32_t)ADC_CR2_SWSTART;
  1500. 1447:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1501. 1448:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #if defined(ADC2) && defined(ADC3)
  1502. 1449:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1503. 1450:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* ADC2 || ADC3 */
  1504. 1451:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1505. 1452:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** else
  1506. 1453:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1507. 1454:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* if instance of handle correspond to ADC1 and no external trigger present enable software
  1508. 1455:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if((hadc->Instance == ADC1) && ((hadc->Instance->CR2 & ADC_CR2_EXTEN) == RESET))
  1509. ARM GAS /tmp/ccMhywUy.s page 27
  1510. 1456:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1511. 1457:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Enable the selected ADC software conversion for regular group */
  1512. 1458:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR2 |= (uint32_t)ADC_CR2_SWSTART;
  1513. 1459:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1514. 1460:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1515. 1461:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1516. 1462:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1517. 1463:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Return function status */
  1518. 1464:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** return HAL_OK;
  1519. 1465:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1520. 1466:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1521. 1467:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  1522. 1468:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief Disables ADC DMA (Single-ADC mode) and disables ADC peripheral
  1523. 1469:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  1524. 1470:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified ADC.
  1525. 1471:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval HAL status
  1526. 1472:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1527. 1473:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_Stop_DMA(ADC_HandleTypeDef* hadc)
  1528. 1474:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1529. 1475:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
  1530. 1476:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1531. 1477:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check the parameters */
  1532. 1478:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
  1533. 1479:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1534. 1480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Process locked */
  1535. 1481:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_LOCK(hadc);
  1536. 1482:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1537. 1483:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Stop potential conversion on going, on regular and injected groups */
  1538. 1484:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Disable ADC peripheral */
  1539. 1485:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_DISABLE(hadc);
  1540. 1486:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1541. 1487:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check if ADC is effectively disabled */
  1542. 1488:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_ADON))
  1543. 1489:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1544. 1490:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Disable the selected ADC DMA mode */
  1545. 1491:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR2 &= ~ADC_CR2_DMA;
  1546. 1492:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1547. 1493:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Disable the DMA channel (in case of DMA in circular mode or stop while */
  1548. 1494:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* DMA transfer is on going) */
  1549. 1495:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmp_hal_status = HAL_DMA_Abort(hadc->DMA_Handle);
  1550. 1496:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1551. 1497:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Disable ADC overrun interrupt */
  1552. 1498:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_OVR);
  1553. 1499:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1554. 1500:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC state */
  1555. 1501:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State,
  1556. 1502:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
  1557. 1503:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_STATE_READY);
  1558. 1504:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1559. 1505:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1560. 1506:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Process unlocked */
  1561. 1507:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_UNLOCK(hadc);
  1562. 1508:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1563. 1509:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Return function status */
  1564. 1510:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** return tmp_hal_status;
  1565. 1511:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1566. 1512:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1567. ARM GAS /tmp/ccMhywUy.s page 28
  1568. 1513:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  1569. 1514:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief Gets the converted value from data register of regular channel.
  1570. 1515:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  1571. 1516:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified ADC.
  1572. 1517:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval Converted value
  1573. 1518:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1574. 1519:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** uint32_t HAL_ADC_GetValue(ADC_HandleTypeDef* hadc)
  1575. 1520:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1576. 1521:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Return the selected ADC converted value */
  1577. 1522:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** return hadc->Instance->DR;
  1578. 1523:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1579. 1524:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1580. 1525:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  1581. 1526:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief Regular conversion complete callback in non blocking mode
  1582. 1527:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  1583. 1528:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified ADC.
  1584. 1529:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval None
  1585. 1530:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1586. 1531:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __weak void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef* hadc)
  1587. 1532:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1588. 1533:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
  1589. 1534:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** UNUSED(hadc);
  1590. 1535:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* NOTE : This function Should not be modified, when the callback is needed,
  1591. 1536:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** the HAL_ADC_ConvCpltCallback could be implemented in the user file
  1592. 1537:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1593. 1538:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1594. 1539:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1595. 1540:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  1596. 1541:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief Regular conversion half DMA transfer callback in non blocking mode
  1597. 1542:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  1598. 1543:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified ADC.
  1599. 1544:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval None
  1600. 1545:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1601. 1546:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __weak void HAL_ADC_ConvHalfCpltCallback(ADC_HandleTypeDef* hadc)
  1602. 1547:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1603. 1548:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
  1604. 1549:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** UNUSED(hadc);
  1605. 1550:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* NOTE : This function Should not be modified, when the callback is needed,
  1606. 1551:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** the HAL_ADC_ConvHalfCpltCallback could be implemented in the user file
  1607. 1552:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1608. 1553:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1609. 1554:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1610. 1555:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  1611. 1556:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief Analog watchdog callback in non blocking mode
  1612. 1557:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  1613. 1558:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified ADC.
  1614. 1559:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval None
  1615. 1560:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1616. 1561:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __weak void HAL_ADC_LevelOutOfWindowCallback(ADC_HandleTypeDef* hadc)
  1617. 1562:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1618. 1563:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
  1619. 1564:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** UNUSED(hadc);
  1620. 1565:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* NOTE : This function Should not be modified, when the callback is needed,
  1621. 1566:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** the HAL_ADC_LevelOoutOfWindowCallback could be implemented in the user file
  1622. 1567:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1623. 1568:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1624. 1569:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1625. ARM GAS /tmp/ccMhywUy.s page 29
  1626. 1570:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  1627. 1571:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief Error ADC callback.
  1628. 1572:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @note In case of error due to overrun when using ADC with DMA transfer
  1629. 1573:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * (HAL ADC handle paramater "ErrorCode" to state "HAL_ADC_ERROR_OVR"):
  1630. 1574:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * - Reinitialize the DMA using function "HAL_ADC_Stop_DMA()".
  1631. 1575:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * - If needed, restart a new ADC conversion using function
  1632. 1576:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * "HAL_ADC_Start_DMA()"
  1633. 1577:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * (this function is also clearing overrun flag)
  1634. 1578:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  1635. 1579:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified ADC.
  1636. 1580:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval None
  1637. 1581:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1638. 1582:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __weak void HAL_ADC_ErrorCallback(ADC_HandleTypeDef *hadc)
  1639. 1583:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1640. 1584:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
  1641. 1585:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** UNUSED(hadc);
  1642. 1586:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* NOTE : This function Should not be modified, when the callback is needed,
  1643. 1587:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** the HAL_ADC_ErrorCallback could be implemented in the user file
  1644. 1588:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1645. 1589:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1646. 1590:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1647. 1591:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  1648. 1592:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @}
  1649. 1593:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1650. 1594:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1651. 1595:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /** @defgroup ADC_Exported_Functions_Group3 Peripheral Control functions
  1652. 1596:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief Peripheral Control functions
  1653. 1597:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** *
  1654. 1598:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** @verbatim
  1655. 1599:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ===============================================================================
  1656. 1600:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ##### Peripheral Control functions #####
  1657. 1601:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ===============================================================================
  1658. 1602:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** [..] This section provides functions allowing to:
  1659. 1603:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) Configure regular channels.
  1660. 1604:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) Configure injected channels.
  1661. 1605:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) Configure multimode.
  1662. 1606:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) Configure the analog watch dog.
  1663. 1607:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1664. 1608:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** @endverbatim
  1665. 1609:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @{
  1666. 1610:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1667. 1611:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1668. 1612:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  1669. 1613:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief Configures for the selected ADC regular channel its corresponding
  1670. 1614:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * rank in the sequencer and its sample time.
  1671. 1615:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  1672. 1616:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified ADC.
  1673. 1617:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param sConfig ADC configuration structure.
  1674. 1618:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval HAL status
  1675. 1619:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1676. 1620:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_ConfigChannel(ADC_HandleTypeDef* hadc, ADC_ChannelConfTypeDef* sConfig)
  1677. 1621:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1678. 1622:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __IO uint32_t counter = 0U;
  1679. 1623:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_Common_TypeDef *tmpADC_Common;
  1680. 1624:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1681. 1625:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check the parameters */
  1682. 1626:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_CHANNEL(sConfig->Channel));
  1683. ARM GAS /tmp/ccMhywUy.s page 30
  1684. 1627:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_REGULAR_RANK(sConfig->Rank));
  1685. 1628:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_SAMPLE_TIME(sConfig->SamplingTime));
  1686. 1629:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1687. 1630:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Process locked */
  1688. 1631:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_LOCK(hadc);
  1689. 1632:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1690. 1633:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* if ADC_Channel_10 ... ADC_Channel_18 is selected */
  1691. 1634:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if (sConfig->Channel > ADC_CHANNEL_9)
  1692. 1635:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1693. 1636:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Clear the old sample time */
  1694. 1637:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->SMPR1 &= ~ADC_SMPR1(ADC_SMPR1_SMP10, sConfig->Channel);
  1695. 1638:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1696. 1639:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set the new sample time */
  1697. 1640:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->SMPR1 |= ADC_SMPR1(sConfig->SamplingTime, sConfig->Channel);
  1698. 1641:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1699. 1642:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** else /* ADC_Channel include in ADC_Channel_[0..9] */
  1700. 1643:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1701. 1644:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Clear the old sample time */
  1702. 1645:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->SMPR2 &= ~ADC_SMPR2(ADC_SMPR2_SMP0, sConfig->Channel);
  1703. 1646:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1704. 1647:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set the new sample time */
  1705. 1648:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->SMPR2 |= ADC_SMPR2(sConfig->SamplingTime, sConfig->Channel);
  1706. 1649:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1707. 1650:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1708. 1651:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* For Rank 1 to 6 */
  1709. 1652:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if (sConfig->Rank < 7U)
  1710. 1653:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1711. 1654:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Clear the old SQx bits for the selected rank */
  1712. 1655:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->SQR3 &= ~ADC_SQR3_RK(ADC_SQR3_SQ1, sConfig->Rank);
  1713. 1656:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1714. 1657:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set the SQx bits for the selected rank */
  1715. 1658:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->SQR3 |= ADC_SQR3_RK(sConfig->Channel, sConfig->Rank);
  1716. 1659:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1717. 1660:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* For Rank 7 to 12 */
  1718. 1661:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** else if (sConfig->Rank < 13U)
  1719. 1662:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1720. 1663:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Clear the old SQx bits for the selected rank */
  1721. 1664:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->SQR2 &= ~ADC_SQR2_RK(ADC_SQR2_SQ7, sConfig->Rank);
  1722. 1665:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1723. 1666:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set the SQx bits for the selected rank */
  1724. 1667:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->SQR2 |= ADC_SQR2_RK(sConfig->Channel, sConfig->Rank);
  1725. 1668:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1726. 1669:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* For Rank 13 to 16 */
  1727. 1670:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** else
  1728. 1671:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1729. 1672:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Clear the old SQx bits for the selected rank */
  1730. 1673:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->SQR1 &= ~ADC_SQR1_RK(ADC_SQR1_SQ13, sConfig->Rank);
  1731. 1674:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1732. 1675:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set the SQx bits for the selected rank */
  1733. 1676:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->SQR1 |= ADC_SQR1_RK(sConfig->Channel, sConfig->Rank);
  1734. 1677:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1735. 1678:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1736. 1679:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Pointer to the common control register to which is belonging hadc */
  1737. 1680:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* (Depending on STM32F4 product, there may be up to 3 ADCs and 1 common */
  1738. 1681:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* control register) */
  1739. 1682:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
  1740. 1683:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1741. ARM GAS /tmp/ccMhywUy.s page 31
  1742. 1684:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* if ADC1 Channel_18 is selected for VBAT Channel ennable VBATE */
  1743. 1685:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if ((hadc->Instance == ADC1) && (sConfig->Channel == ADC_CHANNEL_VBAT))
  1744. 1686:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1745. 1687:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Disable the TEMPSENSOR channel in case of using board with multiplixed ADC_CHANNEL_VBAT & AD
  1746. 1688:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if ((uint16_t)ADC_CHANNEL_TEMPSENSOR == (uint16_t)ADC_CHANNEL_VBAT)
  1747. 1689:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1748. 1690:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmpADC_Common->CCR &= ~ADC_CCR_TSVREFE;
  1749. 1691:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1750. 1692:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Enable the VBAT channel*/
  1751. 1693:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmpADC_Common->CCR |= ADC_CCR_VBATE;
  1752. 1694:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1753. 1695:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1754. 1696:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* if ADC1 Channel_16 or Channel_18 is selected for Temperature sensor or
  1755. 1697:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** Channel_17 is selected for VREFINT enable TSVREFE */
  1756. 1698:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if ((hadc->Instance == ADC1) && ((sConfig->Channel == ADC_CHANNEL_TEMPSENSOR) || (sConfig->Channe
  1757. 1699:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1758. 1700:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Disable the VBAT channel in case of using board with multiplixed ADC_CHANNEL_VBAT & ADC_CHAN
  1759. 1701:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if ((uint16_t)ADC_CHANNEL_TEMPSENSOR == (uint16_t)ADC_CHANNEL_VBAT)
  1760. 1702:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1761. 1703:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmpADC_Common->CCR &= ~ADC_CCR_VBATE;
  1762. 1704:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1763. 1705:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Enable the Temperature sensor and VREFINT channel*/
  1764. 1706:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmpADC_Common->CCR |= ADC_CCR_TSVREFE;
  1765. 1707:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1766. 1708:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if((sConfig->Channel == ADC_CHANNEL_TEMPSENSOR))
  1767. 1709:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1768. 1710:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Delay for temperature sensor stabilization time */
  1769. 1711:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Compute number of CPU cycles to wait for */
  1770. 1712:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** counter = (ADC_TEMPSENSOR_DELAY_US * (SystemCoreClock / 1000000U));
  1771. 1713:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** while(counter != 0U)
  1772. 1714:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1773. 1715:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** counter--;
  1774. 1716:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1775. 1717:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1776. 1718:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1777. 1719:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1778. 1720:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Process unlocked */
  1779. 1721:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_UNLOCK(hadc);
  1780. 1722:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1781. 1723:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Return function status */
  1782. 1724:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** return HAL_OK;
  1783. 1725:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1784. 1726:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1785. 1727:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  1786. 1728:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief Configures the analog watchdog.
  1787. 1729:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @note Analog watchdog thresholds can be modified while ADC conversion
  1788. 1730:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * is on going.
  1789. 1731:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * In this case, some constraints must be taken into account:
  1790. 1732:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * The programmed threshold values are effective from the next
  1791. 1733:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * ADC EOC (end of unitary conversion).
  1792. 1734:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * Considering that registers write delay may happen due to
  1793. 1735:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * bus activity, this might cause an uncertainty on the
  1794. 1736:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * effective timing of the new programmed threshold values.
  1795. 1737:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  1796. 1738:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified ADC.
  1797. 1739:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param AnalogWDGConfig pointer to an ADC_AnalogWDGConfTypeDef structure
  1798. 1740:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * that contains the configuration information of ADC analog watchdog.
  1799. ARM GAS /tmp/ccMhywUy.s page 32
  1800. 1741:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval HAL status
  1801. 1742:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1802. 1743:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_AnalogWDGConfig(ADC_HandleTypeDef* hadc, ADC_AnalogWDGConfTypeDef* Analog
  1803. 1744:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1804. 1745:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #ifdef USE_FULL_ASSERT
  1805. 1746:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** uint32_t tmp = 0U;
  1806. 1747:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* USE_FULL_ASSERT */
  1807. 1748:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1808. 1749:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check the parameters */
  1809. 1750:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_ANALOG_WATCHDOG(AnalogWDGConfig->WatchdogMode));
  1810. 1751:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_CHANNEL(AnalogWDGConfig->Channel));
  1811. 1752:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(AnalogWDGConfig->ITMode));
  1812. 1753:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1813. 1754:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #ifdef USE_FULL_ASSERT
  1814. 1755:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmp = ADC_GET_RESOLUTION(hadc);
  1815. 1756:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_RANGE(tmp, AnalogWDGConfig->HighThreshold));
  1816. 1757:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_RANGE(tmp, AnalogWDGConfig->LowThreshold));
  1817. 1758:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* USE_FULL_ASSERT */
  1818. 1759:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1819. 1760:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Process locked */
  1820. 1761:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_LOCK(hadc);
  1821. 1762:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1822. 1763:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(AnalogWDGConfig->ITMode == ENABLE)
  1823. 1764:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1824. 1765:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Enable the ADC Analog watchdog interrupt */
  1825. 1766:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_ENABLE_IT(hadc, ADC_IT_AWD);
  1826. 1767:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1827. 1768:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** else
  1828. 1769:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1829. 1770:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Disable the ADC Analog watchdog interrupt */
  1830. 1771:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_AWD);
  1831. 1772:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1832. 1773:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1833. 1774:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Clear AWDEN, JAWDEN and AWDSGL bits */
  1834. 1775:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR1 &= ~(ADC_CR1_AWDSGL | ADC_CR1_JAWDEN | ADC_CR1_AWDEN);
  1835. 1776:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1836. 1777:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set the analog watchdog enable mode */
  1837. 1778:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR1 |= AnalogWDGConfig->WatchdogMode;
  1838. 1779:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1839. 1780:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set the high threshold */
  1840. 1781:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->HTR = AnalogWDGConfig->HighThreshold;
  1841. 1782:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1842. 1783:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set the low threshold */
  1843. 1784:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->LTR = AnalogWDGConfig->LowThreshold;
  1844. 1785:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1845. 1786:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Clear the Analog watchdog channel select bits */
  1846. 1787:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR1 &= ~ADC_CR1_AWDCH;
  1847. 1788:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1848. 1789:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set the Analog watchdog channel */
  1849. 1790:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR1 |= (uint32_t)((uint16_t)(AnalogWDGConfig->Channel));
  1850. 1791:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1851. 1792:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Process unlocked */
  1852. 1793:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_UNLOCK(hadc);
  1853. 1794:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1854. 1795:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Return function status */
  1855. 1796:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** return HAL_OK;
  1856. 1797:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1857. ARM GAS /tmp/ccMhywUy.s page 33
  1858. 1798:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1859. 1799:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  1860. 1800:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @}
  1861. 1801:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1862. 1802:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1863. 1803:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /** @defgroup ADC_Exported_Functions_Group4 ADC Peripheral State functions
  1864. 1804:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief ADC Peripheral State functions
  1865. 1805:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** *
  1866. 1806:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** @verbatim
  1867. 1807:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ===============================================================================
  1868. 1808:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ##### Peripheral State and errors functions #####
  1869. 1809:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ===============================================================================
  1870. 1810:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** [..]
  1871. 1811:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** This subsection provides functions allowing to
  1872. 1812:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) Check the ADC state
  1873. 1813:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (+) Check the ADC Error
  1874. 1814:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1875. 1815:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** @endverbatim
  1876. 1816:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @{
  1877. 1817:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1878. 1818:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1879. 1819:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  1880. 1820:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief return the ADC state
  1881. 1821:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  1882. 1822:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified ADC.
  1883. 1823:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval HAL state
  1884. 1824:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1885. 1825:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** uint32_t HAL_ADC_GetState(ADC_HandleTypeDef* hadc)
  1886. 1826:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1887. 1827:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Return ADC state */
  1888. 1828:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** return hadc->State;
  1889. 1829:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1890. 1830:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1891. 1831:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  1892. 1832:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief Return the ADC error code
  1893. 1833:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  1894. 1834:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified ADC.
  1895. 1835:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval ADC Error Code
  1896. 1836:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1897. 1837:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** uint32_t HAL_ADC_GetError(ADC_HandleTypeDef *hadc)
  1898. 1838:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1899. 1839:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** return hadc->ErrorCode;
  1900. 1840:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  1901. 1841:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1902. 1842:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  1903. 1843:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @}
  1904. 1844:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1905. 1845:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1906. 1846:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /** @addtogroup ADC_Private_Functions
  1907. 1847:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @{
  1908. 1848:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1909. 1849:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1910. 1850:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  1911. 1851:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief Initializes the ADCx peripheral according to the specified parameters
  1912. 1852:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * in the ADC_InitStruct without initializing the ADC MSP.
  1913. 1853:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
  1914. 1854:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified ADC.
  1915. ARM GAS /tmp/ccMhywUy.s page 34
  1916. 1855:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval None
  1917. 1856:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  1918. 1857:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** static void ADC_Init(ADC_HandleTypeDef* hadc)
  1919. 1858:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  1920. 29 .loc 1 1858 1 view -0
  1921. 30 .cfi_startproc
  1922. 31 @ args = 0, pretend = 0, frame = 0
  1923. 32 @ frame_needed = 0, uses_anonymous_args = 0
  1924. 33 @ link register save eliminated.
  1925. 1859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_Common_TypeDef *tmpADC_Common;
  1926. 34 .loc 1 1859 3 view .LVU1
  1927. 1860:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1928. 1861:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC parameters */
  1929. 1862:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Pointer to the common control register to which is belonging hadc */
  1930. 1863:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* (Depending on STM32F4 product, there may be up to 3 ADCs and 1 common */
  1931. 1864:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* control register) */
  1932. 1865:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
  1933. 35 .loc 1 1865 3 view .LVU2
  1934. 1866:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1935. 1867:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set the ADC clock prescaler */
  1936. 1868:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmpADC_Common->CCR &= ~(ADC_CCR_ADCPRE);
  1937. 36 .loc 1 1868 3 view .LVU3
  1938. 37 .loc 1 1868 22 is_stmt 0 view .LVU4
  1939. 38 0000 4A4B ldr r3, .L6
  1940. 39 0002 5A68 ldr r2, [r3, #4]
  1941. 40 0004 22F44032 bic r2, r2, #196608
  1942. 41 0008 5A60 str r2, [r3, #4]
  1943. 1869:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmpADC_Common->CCR |= hadc->Init.ClockPrescaler;
  1944. 42 .loc 1 1869 3 is_stmt 1 view .LVU5
  1945. 43 .loc 1 1869 22 is_stmt 0 view .LVU6
  1946. 44 000a 5A68 ldr r2, [r3, #4]
  1947. 45 .loc 1 1869 36 view .LVU7
  1948. 46 000c 4168 ldr r1, [r0, #4]
  1949. 47 .loc 1 1869 22 view .LVU8
  1950. 48 000e 0A43 orrs r2, r2, r1
  1951. 49 0010 5A60 str r2, [r3, #4]
  1952. 1870:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1953. 1871:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC scan mode */
  1954. 1872:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR1 &= ~(ADC_CR1_SCAN);
  1955. 50 .loc 1 1872 3 is_stmt 1 view .LVU9
  1956. 51 .loc 1 1872 7 is_stmt 0 view .LVU10
  1957. 52 0012 0268 ldr r2, [r0]
  1958. 53 .loc 1 1872 23 view .LVU11
  1959. 54 0014 5368 ldr r3, [r2, #4]
  1960. 55 0016 23F48073 bic r3, r3, #256
  1961. 56 001a 5360 str r3, [r2, #4]
  1962. 1873:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR1 |= ADC_CR1_SCANCONV(hadc->Init.ScanConvMode);
  1963. 57 .loc 1 1873 3 is_stmt 1 view .LVU12
  1964. 58 .loc 1 1873 7 is_stmt 0 view .LVU13
  1965. 59 001c 0268 ldr r2, [r0]
  1966. 60 .loc 1 1873 23 view .LVU14
  1967. 61 001e 5368 ldr r3, [r2, #4]
  1968. 62 .loc 1 1873 27 view .LVU15
  1969. 63 0020 0169 ldr r1, [r0, #16]
  1970. 64 .loc 1 1873 23 view .LVU16
  1971. 65 0022 43EA0123 orr r3, r3, r1, lsl #8
  1972. 66 0026 5360 str r3, [r2, #4]
  1973. ARM GAS /tmp/ccMhywUy.s page 35
  1974. 1874:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1975. 1875:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC resolution */
  1976. 1876:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR1 &= ~(ADC_CR1_RES);
  1977. 67 .loc 1 1876 3 is_stmt 1 view .LVU17
  1978. 68 .loc 1 1876 7 is_stmt 0 view .LVU18
  1979. 69 0028 0268 ldr r2, [r0]
  1980. 70 .loc 1 1876 23 view .LVU19
  1981. 71 002a 5368 ldr r3, [r2, #4]
  1982. 72 002c 23F04073 bic r3, r3, #50331648
  1983. 73 0030 5360 str r3, [r2, #4]
  1984. 1877:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR1 |= hadc->Init.Resolution;
  1985. 74 .loc 1 1877 3 is_stmt 1 view .LVU20
  1986. 75 .loc 1 1877 7 is_stmt 0 view .LVU21
  1987. 76 0032 0268 ldr r2, [r0]
  1988. 77 .loc 1 1877 23 view .LVU22
  1989. 78 0034 5368 ldr r3, [r2, #4]
  1990. 79 .loc 1 1877 37 view .LVU23
  1991. 80 0036 8168 ldr r1, [r0, #8]
  1992. 81 .loc 1 1877 23 view .LVU24
  1993. 82 0038 0B43 orrs r3, r3, r1
  1994. 83 003a 5360 str r3, [r2, #4]
  1995. 1878:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  1996. 1879:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC data alignment */
  1997. 1880:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR2 &= ~(ADC_CR2_ALIGN);
  1998. 84 .loc 1 1880 3 is_stmt 1 view .LVU25
  1999. 85 .loc 1 1880 7 is_stmt 0 view .LVU26
  2000. 86 003c 0268 ldr r2, [r0]
  2001. 87 .loc 1 1880 23 view .LVU27
  2002. 88 003e 9368 ldr r3, [r2, #8]
  2003. 89 0040 23F40063 bic r3, r3, #2048
  2004. 90 0044 9360 str r3, [r2, #8]
  2005. 1881:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR2 |= hadc->Init.DataAlign;
  2006. 91 .loc 1 1881 3 is_stmt 1 view .LVU28
  2007. 92 .loc 1 1881 7 is_stmt 0 view .LVU29
  2008. 93 0046 0268 ldr r2, [r0]
  2009. 94 .loc 1 1881 23 view .LVU30
  2010. 95 0048 9368 ldr r3, [r2, #8]
  2011. 96 .loc 1 1881 36 view .LVU31
  2012. 97 004a C168 ldr r1, [r0, #12]
  2013. 98 .loc 1 1881 23 view .LVU32
  2014. 99 004c 0B43 orrs r3, r3, r1
  2015. 100 004e 9360 str r3, [r2, #8]
  2016. 1882:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2017. 1883:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Enable external trigger if trigger selection is different of software */
  2018. 1884:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* start. */
  2019. 1885:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Note: This configuration keeps the hardware feature of parameter */
  2020. 1886:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* ExternalTrigConvEdge "trigger edge none" equivalent to */
  2021. 1887:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* software start. */
  2022. 1888:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(hadc->Init.ExternalTrigConv != ADC_SOFTWARE_START)
  2023. 101 .loc 1 1888 3 is_stmt 1 view .LVU33
  2024. 102 .loc 1 1888 16 is_stmt 0 view .LVU34
  2025. 103 0050 826A ldr r2, [r0, #40]
  2026. 104 .loc 1 1888 5 view .LVU35
  2027. 105 0052 374B ldr r3, .L6+4
  2028. 106 0054 9A42 cmp r2, r3
  2029. 107 0056 57D0 beq .L2
  2030. 1889:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2031. ARM GAS /tmp/ccMhywUy.s page 36
  2032. 1890:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Select external trigger to start conversion */
  2033. 1891:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR2 &= ~(ADC_CR2_EXTSEL);
  2034. 108 .loc 1 1891 5 is_stmt 1 view .LVU36
  2035. 109 .loc 1 1891 9 is_stmt 0 view .LVU37
  2036. 110 0058 0268 ldr r2, [r0]
  2037. 111 .loc 1 1891 25 view .LVU38
  2038. 112 005a 9368 ldr r3, [r2, #8]
  2039. 113 005c 23F07063 bic r3, r3, #251658240
  2040. 114 0060 9360 str r3, [r2, #8]
  2041. 1892:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR2 |= hadc->Init.ExternalTrigConv;
  2042. 115 .loc 1 1892 5 is_stmt 1 view .LVU39
  2043. 116 .loc 1 1892 9 is_stmt 0 view .LVU40
  2044. 117 0062 0268 ldr r2, [r0]
  2045. 118 .loc 1 1892 25 view .LVU41
  2046. 119 0064 9368 ldr r3, [r2, #8]
  2047. 120 .loc 1 1892 38 view .LVU42
  2048. 121 0066 816A ldr r1, [r0, #40]
  2049. 122 .loc 1 1892 25 view .LVU43
  2050. 123 0068 0B43 orrs r3, r3, r1
  2051. 124 006a 9360 str r3, [r2, #8]
  2052. 1893:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2053. 1894:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Select external trigger polarity */
  2054. 1895:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR2 &= ~(ADC_CR2_EXTEN);
  2055. 125 .loc 1 1895 5 is_stmt 1 view .LVU44
  2056. 126 .loc 1 1895 9 is_stmt 0 view .LVU45
  2057. 127 006c 0268 ldr r2, [r0]
  2058. 128 .loc 1 1895 25 view .LVU46
  2059. 129 006e 9368 ldr r3, [r2, #8]
  2060. 130 0070 23F04053 bic r3, r3, #805306368
  2061. 131 0074 9360 str r3, [r2, #8]
  2062. 1896:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR2 |= hadc->Init.ExternalTrigConvEdge;
  2063. 132 .loc 1 1896 5 is_stmt 1 view .LVU47
  2064. 133 .loc 1 1896 9 is_stmt 0 view .LVU48
  2065. 134 0076 0268 ldr r2, [r0]
  2066. 135 .loc 1 1896 25 view .LVU49
  2067. 136 0078 9368 ldr r3, [r2, #8]
  2068. 137 .loc 1 1896 38 view .LVU50
  2069. 138 007a C16A ldr r1, [r0, #44]
  2070. 139 .loc 1 1896 25 view .LVU51
  2071. 140 007c 0B43 orrs r3, r3, r1
  2072. 141 007e 9360 str r3, [r2, #8]
  2073. 142 .L3:
  2074. 1897:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2075. 1898:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** else
  2076. 1899:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2077. 1900:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Reset the external trigger */
  2078. 1901:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR2 &= ~(ADC_CR2_EXTSEL);
  2079. 1902:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR2 &= ~(ADC_CR2_EXTEN);
  2080. 1903:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2081. 1904:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2082. 1905:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Enable or disable ADC continuous conversion mode */
  2083. 1906:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR2 &= ~(ADC_CR2_CONT);
  2084. 143 .loc 1 1906 3 is_stmt 1 view .LVU52
  2085. 144 .loc 1 1906 7 is_stmt 0 view .LVU53
  2086. 145 0080 0268 ldr r2, [r0]
  2087. 146 .loc 1 1906 23 view .LVU54
  2088. 147 0082 9368 ldr r3, [r2, #8]
  2089. ARM GAS /tmp/ccMhywUy.s page 37
  2090. 148 0084 23F00203 bic r3, r3, #2
  2091. 149 0088 9360 str r3, [r2, #8]
  2092. 1907:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR2 |= ADC_CR2_CONTINUOUS((uint32_t)hadc->Init.ContinuousConvMode);
  2093. 150 .loc 1 1907 3 is_stmt 1 view .LVU55
  2094. 151 .loc 1 1907 7 is_stmt 0 view .LVU56
  2095. 152 008a 0268 ldr r2, [r0]
  2096. 153 .loc 1 1907 23 view .LVU57
  2097. 154 008c 9368 ldr r3, [r2, #8]
  2098. 155 .loc 1 1907 26 view .LVU58
  2099. 156 008e 017E ldrb r1, [r0, #24] @ zero_extendqisi2
  2100. 157 .loc 1 1907 23 view .LVU59
  2101. 158 0090 43EA4103 orr r3, r3, r1, lsl #1
  2102. 159 0094 9360 str r3, [r2, #8]
  2103. 1908:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2104. 1909:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(hadc->Init.DiscontinuousConvMode != DISABLE)
  2105. 160 .loc 1 1909 3 is_stmt 1 view .LVU60
  2106. 161 .loc 1 1909 16 is_stmt 0 view .LVU61
  2107. 162 0096 90F82030 ldrb r3, [r0, #32] @ zero_extendqisi2
  2108. 163 .loc 1 1909 5 view .LVU62
  2109. 164 009a 002B cmp r3, #0
  2110. 165 009c 3FD0 beq .L4
  2111. 1910:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2112. 1911:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_REGULAR_DISC_NUMBER(hadc->Init.NbrOfDiscConversion));
  2113. 166 .loc 1 1911 5 is_stmt 1 view .LVU63
  2114. 1912:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2115. 1913:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Enable the selected ADC regular discontinuous mode */
  2116. 1914:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR1 |= (uint32_t)ADC_CR1_DISCEN;
  2117. 167 .loc 1 1914 5 view .LVU64
  2118. 168 .loc 1 1914 9 is_stmt 0 view .LVU65
  2119. 169 009e 0268 ldr r2, [r0]
  2120. 170 .loc 1 1914 25 view .LVU66
  2121. 171 00a0 5368 ldr r3, [r2, #4]
  2122. 172 00a2 43F40063 orr r3, r3, #2048
  2123. 173 00a6 5360 str r3, [r2, #4]
  2124. 1915:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2125. 1916:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set the number of channels to be converted in discontinuous mode */
  2126. 1917:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR1 &= ~(ADC_CR1_DISCNUM);
  2127. 174 .loc 1 1917 5 is_stmt 1 view .LVU67
  2128. 175 .loc 1 1917 9 is_stmt 0 view .LVU68
  2129. 176 00a8 0268 ldr r2, [r0]
  2130. 177 .loc 1 1917 25 view .LVU69
  2131. 178 00aa 5368 ldr r3, [r2, #4]
  2132. 179 00ac 23F46043 bic r3, r3, #57344
  2133. 180 00b0 5360 str r3, [r2, #4]
  2134. 1918:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR1 |= ADC_CR1_DISCONTINUOUS(hadc->Init.NbrOfDiscConversion);
  2135. 181 .loc 1 1918 5 is_stmt 1 view .LVU70
  2136. 182 .loc 1 1918 9 is_stmt 0 view .LVU71
  2137. 183 00b2 0168 ldr r1, [r0]
  2138. 184 .loc 1 1918 25 view .LVU72
  2139. 185 00b4 4B68 ldr r3, [r1, #4]
  2140. 186 .loc 1 1918 29 view .LVU73
  2141. 187 00b6 426A ldr r2, [r0, #36]
  2142. 188 00b8 013A subs r2, r2, #1
  2143. 189 .loc 1 1918 25 view .LVU74
  2144. 190 00ba 43EA4233 orr r3, r3, r2, lsl #13
  2145. 191 00be 4B60 str r3, [r1, #4]
  2146. 192 .L5:
  2147. ARM GAS /tmp/ccMhywUy.s page 38
  2148. 1919:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2149. 1920:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** else
  2150. 1921:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2151. 1922:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Disable the selected ADC regular discontinuous mode */
  2152. 1923:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR1 &= ~(ADC_CR1_DISCEN);
  2153. 1924:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2154. 1925:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2155. 1926:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC number of conversion */
  2156. 1927:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->SQR1 &= ~(ADC_SQR1_L);
  2157. 193 .loc 1 1927 3 is_stmt 1 view .LVU75
  2158. 194 .loc 1 1927 7 is_stmt 0 view .LVU76
  2159. 195 00c0 0268 ldr r2, [r0]
  2160. 196 .loc 1 1927 24 view .LVU77
  2161. 197 00c2 D36A ldr r3, [r2, #44]
  2162. 198 00c4 23F47003 bic r3, r3, #15728640
  2163. 199 00c8 D362 str r3, [r2, #44]
  2164. 1928:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->SQR1 |= ADC_SQR1(hadc->Init.NbrOfConversion);
  2165. 200 .loc 1 1928 3 is_stmt 1 view .LVU78
  2166. 201 .loc 1 1928 7 is_stmt 0 view .LVU79
  2167. 202 00ca 0168 ldr r1, [r0]
  2168. 203 .loc 1 1928 24 view .LVU80
  2169. 204 00cc CB6A ldr r3, [r1, #44]
  2170. 205 .loc 1 1928 28 view .LVU81
  2171. 206 00ce C269 ldr r2, [r0, #28]
  2172. 207 00d0 013A subs r2, r2, #1
  2173. 208 .loc 1 1928 24 view .LVU82
  2174. 209 00d2 43EA0253 orr r3, r3, r2, lsl #20
  2175. 210 00d6 CB62 str r3, [r1, #44]
  2176. 1929:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2177. 1930:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Enable or disable ADC DMA continuous request */
  2178. 1931:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR2 &= ~(ADC_CR2_DDS);
  2179. 211 .loc 1 1931 3 is_stmt 1 view .LVU83
  2180. 212 .loc 1 1931 7 is_stmt 0 view .LVU84
  2181. 213 00d8 0268 ldr r2, [r0]
  2182. 214 .loc 1 1931 23 view .LVU85
  2183. 215 00da 9368 ldr r3, [r2, #8]
  2184. 216 00dc 23F40073 bic r3, r3, #512
  2185. 217 00e0 9360 str r3, [r2, #8]
  2186. 1932:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR2 |= ADC_CR2_DMAContReq((uint32_t)hadc->Init.DMAContinuousRequests);
  2187. 218 .loc 1 1932 3 is_stmt 1 view .LVU86
  2188. 219 .loc 1 1932 7 is_stmt 0 view .LVU87
  2189. 220 00e2 0268 ldr r2, [r0]
  2190. 221 .loc 1 1932 23 view .LVU88
  2191. 222 00e4 9368 ldr r3, [r2, #8]
  2192. 223 .loc 1 1932 26 view .LVU89
  2193. 224 00e6 90F83010 ldrb r1, [r0, #48] @ zero_extendqisi2
  2194. 225 .loc 1 1932 23 view .LVU90
  2195. 226 00ea 43EA4123 orr r3, r3, r1, lsl #9
  2196. 227 00ee 9360 str r3, [r2, #8]
  2197. 1933:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2198. 1934:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Enable or disable ADC end of conversion selection */
  2199. 1935:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR2 &= ~(ADC_CR2_EOCS);
  2200. 228 .loc 1 1935 3 is_stmt 1 view .LVU91
  2201. 229 .loc 1 1935 7 is_stmt 0 view .LVU92
  2202. 230 00f0 0268 ldr r2, [r0]
  2203. 231 .loc 1 1935 23 view .LVU93
  2204. 232 00f2 9368 ldr r3, [r2, #8]
  2205. ARM GAS /tmp/ccMhywUy.s page 39
  2206. 233 00f4 23F48063 bic r3, r3, #1024
  2207. 234 00f8 9360 str r3, [r2, #8]
  2208. 1936:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR2 |= ADC_CR2_EOCSelection(hadc->Init.EOCSelection);
  2209. 235 .loc 1 1936 3 is_stmt 1 view .LVU94
  2210. 236 .loc 1 1936 7 is_stmt 0 view .LVU95
  2211. 237 00fa 0268 ldr r2, [r0]
  2212. 238 .loc 1 1936 23 view .LVU96
  2213. 239 00fc 9368 ldr r3, [r2, #8]
  2214. 240 .loc 1 1936 26 view .LVU97
  2215. 241 00fe 4169 ldr r1, [r0, #20]
  2216. 242 .loc 1 1936 23 view .LVU98
  2217. 243 0100 43EA8123 orr r3, r3, r1, lsl #10
  2218. 244 0104 9360 str r3, [r2, #8]
  2219. 1937:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2220. 245 .loc 1 1937 1 view .LVU99
  2221. 246 0106 7047 bx lr
  2222. 247 .L2:
  2223. 1901:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR2 &= ~(ADC_CR2_EXTEN);
  2224. 248 .loc 1 1901 5 is_stmt 1 view .LVU100
  2225. 1901:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR2 &= ~(ADC_CR2_EXTEN);
  2226. 249 .loc 1 1901 9 is_stmt 0 view .LVU101
  2227. 250 0108 0268 ldr r2, [r0]
  2228. 1901:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->Instance->CR2 &= ~(ADC_CR2_EXTEN);
  2229. 251 .loc 1 1901 25 view .LVU102
  2230. 252 010a 9368 ldr r3, [r2, #8]
  2231. 253 010c 23F07063 bic r3, r3, #251658240
  2232. 254 0110 9360 str r3, [r2, #8]
  2233. 1902:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2234. 255 .loc 1 1902 5 is_stmt 1 view .LVU103
  2235. 1902:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2236. 256 .loc 1 1902 9 is_stmt 0 view .LVU104
  2237. 257 0112 0268 ldr r2, [r0]
  2238. 1902:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2239. 258 .loc 1 1902 25 view .LVU105
  2240. 259 0114 9368 ldr r3, [r2, #8]
  2241. 260 0116 23F04053 bic r3, r3, #805306368
  2242. 261 011a 9360 str r3, [r2, #8]
  2243. 262 011c B0E7 b .L3
  2244. 263 .L4:
  2245. 1923:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2246. 264 .loc 1 1923 5 is_stmt 1 view .LVU106
  2247. 1923:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2248. 265 .loc 1 1923 9 is_stmt 0 view .LVU107
  2249. 266 011e 0268 ldr r2, [r0]
  2250. 1923:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2251. 267 .loc 1 1923 25 view .LVU108
  2252. 268 0120 5368 ldr r3, [r2, #4]
  2253. 269 0122 23F40063 bic r3, r3, #2048
  2254. 270 0126 5360 str r3, [r2, #4]
  2255. 271 0128 CAE7 b .L5
  2256. 272 .L7:
  2257. 273 012a 00BF .align 2
  2258. 274 .L6:
  2259. 275 012c 00230140 .word 1073816320
  2260. 276 0130 0100000F .word 251658241
  2261. 277 .cfi_endproc
  2262. 278 .LFE152:
  2263. ARM GAS /tmp/ccMhywUy.s page 40
  2264. 280 .section .text.HAL_ADC_MspInit,"ax",%progbits
  2265. 281 .align 1
  2266. 282 .weak HAL_ADC_MspInit
  2267. 283 .syntax unified
  2268. 284 .thumb
  2269. 285 .thumb_func
  2270. 287 HAL_ADC_MspInit:
  2271. 288 .LVL1:
  2272. 289 .LFB132:
  2273. 666:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
  2274. 290 .loc 1 666 1 is_stmt 1 view -0
  2275. 291 .cfi_startproc
  2276. 292 @ args = 0, pretend = 0, frame = 0
  2277. 293 @ frame_needed = 0, uses_anonymous_args = 0
  2278. 294 @ link register save eliminated.
  2279. 668:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* NOTE : This function Should not be modified, when the callback is needed,
  2280. 295 .loc 1 668 3 view .LVU110
  2281. 672:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2282. 296 .loc 1 672 1 is_stmt 0 view .LVU111
  2283. 297 0000 7047 bx lr
  2284. 298 .cfi_endproc
  2285. 299 .LFE132:
  2286. 301 .section .text.HAL_ADC_Init,"ax",%progbits
  2287. 302 .align 1
  2288. 303 .global HAL_ADC_Init
  2289. 304 .syntax unified
  2290. 305 .thumb
  2291. 306 .thumb_func
  2292. 308 HAL_ADC_Init:
  2293. 309 .LVL2:
  2294. 310 .LFB130:
  2295. 313:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
  2296. 311 .loc 1 313 1 is_stmt 1 view -0
  2297. 312 .cfi_startproc
  2298. 313 @ args = 0, pretend = 0, frame = 0
  2299. 314 @ frame_needed = 0, uses_anonymous_args = 0
  2300. 314:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2301. 315 .loc 1 314 3 view .LVU113
  2302. 317:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2303. 316 .loc 1 317 3 view .LVU114
  2304. 317:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2305. 317 .loc 1 317 5 is_stmt 0 view .LVU115
  2306. 318 0000 38B3 cbz r0, .L13
  2307. 313:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
  2308. 319 .loc 1 313 1 view .LVU116
  2309. 320 0002 10B5 push {r4, lr}
  2310. 321 .LCFI0:
  2311. 322 .cfi_def_cfa_offset 8
  2312. 323 .cfi_offset 4, -8
  2313. 324 .cfi_offset 14, -4
  2314. 325 0004 0446 mov r4, r0
  2315. 323:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_CLOCKPRESCALER(hadc->Init.ClockPrescaler));
  2316. 326 .loc 1 323 3 is_stmt 1 view .LVU117
  2317. 324:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_RESOLUTION(hadc->Init.Resolution));
  2318. 327 .loc 1 324 3 view .LVU118
  2319. 325:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.ScanConvMode));
  2320. 328 .loc 1 325 3 view .LVU119
  2321. ARM GAS /tmp/ccMhywUy.s page 41
  2322. 326:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.ContinuousConvMode));
  2323. 329 .loc 1 326 3 view .LVU120
  2324. 327:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_EXT_TRIG(hadc->Init.ExternalTrigConv));
  2325. 330 .loc 1 327 3 view .LVU121
  2326. 328:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_DATA_ALIGN(hadc->Init.DataAlign));
  2327. 331 .loc 1 328 3 view .LVU122
  2328. 329:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_REGULAR_LENGTH(hadc->Init.NbrOfConversion));
  2329. 332 .loc 1 329 3 view .LVU123
  2330. 330:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.DMAContinuousRequests));
  2331. 333 .loc 1 330 3 view .LVU124
  2332. 331:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_EOCSelection(hadc->Init.EOCSelection));
  2333. 334 .loc 1 331 3 view .LVU125
  2334. 332:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.DiscontinuousConvMode));
  2335. 335 .loc 1 332 3 view .LVU126
  2336. 333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2337. 336 .loc 1 333 3 view .LVU127
  2338. 335:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2339. 337 .loc 1 335 3 view .LVU128
  2340. 337:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2341. 338 .loc 1 337 5 view .LVU129
  2342. 340:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2343. 339 .loc 1 340 3 view .LVU130
  2344. 340:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2345. 340 .loc 1 340 10 is_stmt 0 view .LVU131
  2346. 341 0006 036C ldr r3, [r0, #64]
  2347. 340:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2348. 342 .loc 1 340 5 view .LVU132
  2349. 343 0008 43B1 cbz r3, .L19
  2350. 344 .LVL3:
  2351. 345 .L11:
  2352. 370:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2353. 346 .loc 1 370 3 is_stmt 1 view .LVU133
  2354. 370:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2355. 347 .loc 1 370 7 is_stmt 0 view .LVU134
  2356. 348 000a 236C ldr r3, [r4, #64]
  2357. 370:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2358. 349 .loc 1 370 6 view .LVU135
  2359. 350 000c 13F0100F tst r3, #16
  2360. 351 0010 0BD0 beq .L20
  2361. 390:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2362. 352 .loc 1 390 20 view .LVU136
  2363. 353 0012 0120 movs r0, #1
  2364. 354 .L12:
  2365. 355 .LVL4:
  2366. 394:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2367. 356 .loc 1 394 3 is_stmt 1 view .LVU137
  2368. 394:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2369. 357 .loc 1 394 3 view .LVU138
  2370. 358 0014 0023 movs r3, #0
  2371. 359 0016 84F83C30 strb r3, [r4, #60]
  2372. 394:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2373. 360 .loc 1 394 3 view .LVU139
  2374. 397:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2375. 361 .loc 1 397 3 view .LVU140
  2376. 398:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2377. 362 .loc 1 398 1 is_stmt 0 view .LVU141
  2378. 363 001a 10BD pop {r4, pc}
  2379. ARM GAS /tmp/ccMhywUy.s page 42
  2380. 364 .LVL5:
  2381. 365 .L19:
  2382. 358:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
  2383. 366 .loc 1 358 5 is_stmt 1 view .LVU142
  2384. 367 001c FFF7FEFF bl HAL_ADC_MspInit
  2385. 368 .LVL6:
  2386. 362:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2387. 369 .loc 1 362 5 view .LVU143
  2388. 370 0020 0023 movs r3, #0
  2389. 371 0022 6364 str r3, [r4, #68]
  2390. 365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2391. 372 .loc 1 365 5 view .LVU144
  2392. 365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2393. 373 .loc 1 365 16 is_stmt 0 view .LVU145
  2394. 374 0024 84F83C30 strb r3, [r4, #60]
  2395. 375 0028 EFE7 b .L11
  2396. 376 .L20:
  2397. 373:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
  2398. 377 .loc 1 373 5 is_stmt 1 view .LVU146
  2399. 378 002a 236C ldr r3, [r4, #64]
  2400. 379 002c 23F48853 bic r3, r3, #4352
  2401. 380 0030 23F00203 bic r3, r3, #2
  2402. 381 0034 43F00203 orr r3, r3, #2
  2403. 382 0038 2364 str r3, [r4, #64]
  2404. 378:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2405. 383 .loc 1 378 5 view .LVU147
  2406. 384 003a 2046 mov r0, r4
  2407. 385 003c FFF7FEFF bl ADC_Init
  2408. 386 .LVL7:
  2409. 381:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2410. 387 .loc 1 381 5 view .LVU148
  2411. 388 0040 0020 movs r0, #0
  2412. 389 0042 6064 str r0, [r4, #68]
  2413. 384:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_STATE_BUSY_INTERNAL,
  2414. 390 .loc 1 384 5 view .LVU149
  2415. 391 0044 236C ldr r3, [r4, #64]
  2416. 392 0046 23F00303 bic r3, r3, #3
  2417. 393 004a 43F00103 orr r3, r3, #1
  2418. 394 004e 2364 str r3, [r4, #64]
  2419. 395 0050 E0E7 b .L12
  2420. 396 .LVL8:
  2421. 397 .L13:
  2422. 398 .LCFI1:
  2423. 399 .cfi_def_cfa_offset 0
  2424. 400 .cfi_restore 4
  2425. 401 .cfi_restore 14
  2426. 319:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2427. 402 .loc 1 319 12 is_stmt 0 view .LVU150
  2428. 403 0052 0120 movs r0, #1
  2429. 404 .LVL9:
  2430. 398:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2431. 405 .loc 1 398 1 view .LVU151
  2432. 406 0054 7047 bx lr
  2433. 407 .cfi_endproc
  2434. 408 .LFE130:
  2435. 410 .section .text.HAL_ADC_MspDeInit,"ax",%progbits
  2436. 411 .align 1
  2437. ARM GAS /tmp/ccMhywUy.s page 43
  2438. 412 .weak HAL_ADC_MspDeInit
  2439. 413 .syntax unified
  2440. 414 .thumb
  2441. 415 .thumb_func
  2442. 417 HAL_ADC_MspDeInit:
  2443. 418 .LVL10:
  2444. 419 .LFB133:
  2445. 681:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
  2446. 420 .loc 1 681 1 is_stmt 1 view -0
  2447. 421 .cfi_startproc
  2448. 422 @ args = 0, pretend = 0, frame = 0
  2449. 423 @ frame_needed = 0, uses_anonymous_args = 0
  2450. 424 @ link register save eliminated.
  2451. 683:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* NOTE : This function Should not be modified, when the callback is needed,
  2452. 425 .loc 1 683 3 view .LVU153
  2453. 687:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2454. 426 .loc 1 687 1 is_stmt 0 view .LVU154
  2455. 427 0000 7047 bx lr
  2456. 428 .cfi_endproc
  2457. 429 .LFE133:
  2458. 431 .section .text.HAL_ADC_DeInit,"ax",%progbits
  2459. 432 .align 1
  2460. 433 .global HAL_ADC_DeInit
  2461. 434 .syntax unified
  2462. 435 .thumb
  2463. 436 .thumb_func
  2464. 438 HAL_ADC_DeInit:
  2465. 439 .LVL11:
  2466. 440 .LFB131:
  2467. 407:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
  2468. 441 .loc 1 407 1 is_stmt 1 view -0
  2469. 442 .cfi_startproc
  2470. 443 @ args = 0, pretend = 0, frame = 0
  2471. 444 @ frame_needed = 0, uses_anonymous_args = 0
  2472. 408:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2473. 445 .loc 1 408 3 view .LVU156
  2474. 411:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2475. 446 .loc 1 411 3 view .LVU157
  2476. 411:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2477. 447 .loc 1 411 5 is_stmt 0 view .LVU158
  2478. 448 0000 C8B1 cbz r0, .L25
  2479. 407:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
  2480. 449 .loc 1 407 1 view .LVU159
  2481. 450 0002 10B5 push {r4, lr}
  2482. 451 .LCFI2:
  2483. 452 .cfi_def_cfa_offset 8
  2484. 453 .cfi_offset 4, -8
  2485. 454 .cfi_offset 14, -4
  2486. 455 0004 0446 mov r4, r0
  2487. 417:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2488. 456 .loc 1 417 3 is_stmt 1 view .LVU160
  2489. 420:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2490. 457 .loc 1 420 3 view .LVU161
  2491. 458 0006 036C ldr r3, [r0, #64]
  2492. 459 0008 43F00203 orr r3, r3, #2
  2493. 460 000c 0364 str r3, [r0, #64]
  2494. 424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2495. ARM GAS /tmp/ccMhywUy.s page 44
  2496. 461 .loc 1 424 3 view .LVU162
  2497. 462 000e 0268 ldr r2, [r0]
  2498. 463 0010 9368 ldr r3, [r2, #8]
  2499. 464 0012 23F00103 bic r3, r3, #1
  2500. 465 0016 9360 str r3, [r2, #8]
  2501. 428:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2502. 466 .loc 1 428 3 view .LVU163
  2503. 428:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2504. 467 .loc 1 428 6 is_stmt 0 view .LVU164
  2505. 468 0018 0368 ldr r3, [r0]
  2506. 469 001a 9B68 ldr r3, [r3, #8]
  2507. 428:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2508. 470 .loc 1 428 5 view .LVU165
  2509. 471 001c 13F0010F tst r3, #1
  2510. 472 0020 03D0 beq .L30
  2511. 473 .LVL12:
  2512. 474 .L24:
  2513. 451:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2514. 475 .loc 1 451 3 is_stmt 1 view .LVU166
  2515. 451:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2516. 476 .loc 1 451 3 view .LVU167
  2517. 477 0022 0020 movs r0, #0
  2518. 478 0024 84F83C00 strb r0, [r4, #60]
  2519. 451:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2520. 479 .loc 1 451 3 view .LVU168
  2521. 454:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2522. 480 .loc 1 454 3 view .LVU169
  2523. 455:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2524. 481 .loc 1 455 1 is_stmt 0 view .LVU170
  2525. 482 0028 10BD pop {r4, pc}
  2526. 483 .LVL13:
  2527. 484 .L30:
  2528. 440:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
  2529. 485 .loc 1 440 3 is_stmt 1 view .LVU171
  2530. 486 002a FFF7FEFF bl HAL_ADC_MspDeInit
  2531. 487 .LVL14:
  2532. 444:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2533. 488 .loc 1 444 5 view .LVU172
  2534. 489 002e 0023 movs r3, #0
  2535. 490 0030 6364 str r3, [r4, #68]
  2536. 447:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2537. 491 .loc 1 447 5 view .LVU173
  2538. 447:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2539. 492 .loc 1 447 17 is_stmt 0 view .LVU174
  2540. 493 0032 2364 str r3, [r4, #64]
  2541. 494 0034 F5E7 b .L24
  2542. 495 .LVL15:
  2543. 496 .L25:
  2544. 497 .LCFI3:
  2545. 498 .cfi_def_cfa_offset 0
  2546. 499 .cfi_restore 4
  2547. 500 .cfi_restore 14
  2548. 413:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2549. 501 .loc 1 413 12 view .LVU175
  2550. 502 0036 0120 movs r0, #1
  2551. 503 .LVL16:
  2552. 455:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2553. ARM GAS /tmp/ccMhywUy.s page 45
  2554. 504 .loc 1 455 1 view .LVU176
  2555. 505 0038 7047 bx lr
  2556. 506 .cfi_endproc
  2557. 507 .LFE131:
  2558. 509 .section .text.HAL_ADC_Start,"ax",%progbits
  2559. 510 .align 1
  2560. 511 .global HAL_ADC_Start
  2561. 512 .syntax unified
  2562. 513 .thumb
  2563. 514 .thumb_func
  2564. 516 HAL_ADC_Start:
  2565. 517 .LVL17:
  2566. 518 .LFB134:
  2567. 720:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __IO uint32_t counter = 0U;
  2568. 519 .loc 1 720 1 is_stmt 1 view -0
  2569. 520 .cfi_startproc
  2570. 521 @ args = 0, pretend = 0, frame = 8
  2571. 522 @ frame_needed = 0, uses_anonymous_args = 0
  2572. 523 @ link register save eliminated.
  2573. 720:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __IO uint32_t counter = 0U;
  2574. 524 .loc 1 720 1 is_stmt 0 view .LVU178
  2575. 525 0000 82B0 sub sp, sp, #8
  2576. 526 .LCFI4:
  2577. 527 .cfi_def_cfa_offset 8
  2578. 721:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_Common_TypeDef *tmpADC_Common;
  2579. 528 .loc 1 721 3 is_stmt 1 view .LVU179
  2580. 721:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_Common_TypeDef *tmpADC_Common;
  2581. 529 .loc 1 721 17 is_stmt 0 view .LVU180
  2582. 530 0002 0023 movs r3, #0
  2583. 531 0004 0193 str r3, [sp, #4]
  2584. 722:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2585. 532 .loc 1 722 3 is_stmt 1 view .LVU181
  2586. 725:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_EXT_TRIG_EDGE(hadc->Init.ExternalTrigConvEdge));
  2587. 533 .loc 1 725 3 view .LVU182
  2588. 726:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2589. 534 .loc 1 726 3 view .LVU183
  2590. 729:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2591. 535 .loc 1 729 3 view .LVU184
  2592. 729:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2593. 536 .loc 1 729 3 view .LVU185
  2594. 537 0006 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
  2595. 538 000a 012B cmp r3, #1
  2596. 539 000c 7DD0 beq .L42
  2597. 729:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2598. 540 .loc 1 729 3 discriminator 2 view .LVU186
  2599. 541 000e 0123 movs r3, #1
  2600. 542 0010 80F83C30 strb r3, [r0, #60]
  2601. 729:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2602. 543 .loc 1 729 3 discriminator 2 view .LVU187
  2603. 734:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2604. 544 .loc 1 734 3 discriminator 2 view .LVU188
  2605. 734:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2606. 545 .loc 1 734 11 is_stmt 0 discriminator 2 view .LVU189
  2607. 546 0014 0368 ldr r3, [r0]
  2608. 734:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2609. 547 .loc 1 734 21 discriminator 2 view .LVU190
  2610. 548 0016 9A68 ldr r2, [r3, #8]
  2611. ARM GAS /tmp/ccMhywUy.s page 46
  2612. 734:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2613. 549 .loc 1 734 5 discriminator 2 view .LVU191
  2614. 550 0018 12F0010F tst r2, #1
  2615. 551 001c 13D1 bne .L33
  2616. 737:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2617. 552 .loc 1 737 5 is_stmt 1 view .LVU192
  2618. 553 001e 9A68 ldr r2, [r3, #8]
  2619. 554 0020 42F00102 orr r2, r2, #1
  2620. 555 0024 9A60 str r2, [r3, #8]
  2621. 741:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** while(counter != 0U)
  2622. 556 .loc 1 741 5 view .LVU193
  2623. 741:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** while(counter != 0U)
  2624. 557 .loc 1 741 53 is_stmt 0 view .LVU194
  2625. 558 0026 3D4B ldr r3, .L53
  2626. 559 0028 1B68 ldr r3, [r3]
  2627. 560 002a 3D4A ldr r2, .L53+4
  2628. 561 002c A2FB0323 umull r2, r3, r2, r3
  2629. 562 0030 9B0C lsrs r3, r3, #18
  2630. 741:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** while(counter != 0U)
  2631. 563 .loc 1 741 34 view .LVU195
  2632. 564 0032 03EB4303 add r3, r3, r3, lsl #1
  2633. 741:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** while(counter != 0U)
  2634. 565 .loc 1 741 13 view .LVU196
  2635. 566 0036 0193 str r3, [sp, #4]
  2636. 742:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2637. 567 .loc 1 742 5 is_stmt 1 view .LVU197
  2638. 742:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2639. 568 .loc 1 742 10 is_stmt 0 view .LVU198
  2640. 569 0038 02E0 b .L34
  2641. 570 .L35:
  2642. 744:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2643. 571 .loc 1 744 7 is_stmt 1 view .LVU199
  2644. 744:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2645. 572 .loc 1 744 14 is_stmt 0 view .LVU200
  2646. 573 003a 019B ldr r3, [sp, #4]
  2647. 574 003c 013B subs r3, r3, #1
  2648. 575 003e 0193 str r3, [sp, #4]
  2649. 576 .L34:
  2650. 742:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2651. 577 .loc 1 742 10 is_stmt 1 view .LVU201
  2652. 742:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2653. 578 .loc 1 742 19 is_stmt 0 view .LVU202
  2654. 579 0040 019B ldr r3, [sp, #4]
  2655. 742:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2656. 580 .loc 1 742 10 view .LVU203
  2657. 581 0042 002B cmp r3, #0
  2658. 582 0044 F9D1 bne .L35
  2659. 583 .L33:
  2660. 749:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2661. 584 .loc 1 749 3 is_stmt 1 view .LVU204
  2662. 749:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2663. 585 .loc 1 749 6 is_stmt 0 view .LVU205
  2664. 586 0046 0268 ldr r2, [r0]
  2665. 587 0048 9368 ldr r3, [r2, #8]
  2666. 749:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2667. 588 .loc 1 749 5 view .LVU206
  2668. 589 004a 13F0010F tst r3, #1
  2669. ARM GAS /tmp/ccMhywUy.s page 47
  2670. 590 004e 5ED0 beq .L43
  2671. 754:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC | HAL_ADC_STATE_REG_OVR,
  2672. 591 .loc 1 754 5 is_stmt 1 view .LVU207
  2673. 592 0050 036C ldr r3, [r0, #64]
  2674. 593 0052 23F4E063 bic r3, r3, #1792
  2675. 594 0056 23F00103 bic r3, r3, #1
  2676. 595 005a 43F48073 orr r3, r3, #256
  2677. 596 005e 0364 str r3, [r0, #64]
  2678. 760:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2679. 597 .loc 1 760 5 view .LVU208
  2680. 760:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2681. 598 .loc 1 760 9 is_stmt 0 view .LVU209
  2682. 599 0060 5368 ldr r3, [r2, #4]
  2683. 760:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2684. 600 .loc 1 760 8 view .LVU210
  2685. 601 0062 13F4806F tst r3, #1024
  2686. 602 0066 05D0 beq .L36
  2687. 762:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2688. 603 .loc 1 762 7 is_stmt 1 view .LVU211
  2689. 604 0068 036C ldr r3, [r0, #64]
  2690. 605 006a 23F44053 bic r3, r3, #12288
  2691. 606 006e 43F48053 orr r3, r3, #4096
  2692. 607 0072 0364 str r3, [r0, #64]
  2693. 608 .L36:
  2694. 766:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2695. 609 .loc 1 766 5 view .LVU212
  2696. 766:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2697. 610 .loc 1 766 9 is_stmt 0 view .LVU213
  2698. 611 0074 036C ldr r3, [r0, #64]
  2699. 766:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2700. 612 .loc 1 766 8 view .LVU214
  2701. 613 0076 13F4805F tst r3, #4096
  2702. 614 007a 1BD0 beq .L37
  2703. 769:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2704. 615 .loc 1 769 7 is_stmt 1 view .LVU215
  2705. 616 007c 436C ldr r3, [r0, #68]
  2706. 617 007e 23F00603 bic r3, r3, #6
  2707. 618 0082 4364 str r3, [r0, #68]
  2708. 619 .L38:
  2709. 780:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2710. 620 .loc 1 780 5 view .LVU216
  2711. 780:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2712. 621 .loc 1 780 5 view .LVU217
  2713. 622 0084 0023 movs r3, #0
  2714. 623 0086 80F83C30 strb r3, [r0, #60]
  2715. 780:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2716. 624 .loc 1 780 5 view .LVU218
  2717. 785:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2718. 625 .loc 1 785 5 view .LVU219
  2719. 626 .LVL18:
  2720. 789:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2721. 627 .loc 1 789 5 view .LVU220
  2722. 628 008a 6FF02203 mvn r3, #34
  2723. 629 008e 1360 str r3, [r2]
  2724. 792:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2725. 630 .loc 1 792 5 view .LVU221
  2726. 792:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2727. ARM GAS /tmp/ccMhywUy.s page 48
  2728. 631 .loc 1 792 8 is_stmt 0 view .LVU222
  2729. 632 0090 244B ldr r3, .L53+8
  2730. 633 0092 5B68 ldr r3, [r3, #4]
  2731. 792:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2732. 634 .loc 1 792 7 view .LVU223
  2733. 635 0094 13F01F0F tst r3, #31
  2734. 636 0098 27D1 bne .L39
  2735. 795:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** || ((hadc->Instance == ADC3) && ((ADC->CCR & ADC_CCR_MULTI_Msk) <
  2736. 637 .loc 1 795 7 is_stmt 1 view .LVU224
  2737. 795:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** || ((hadc->Instance == ADC3) && ((ADC->CCR & ADC_CCR_MULTI_Msk) <
  2738. 638 .loc 1 795 15 is_stmt 0 view .LVU225
  2739. 639 009a 0368 ldr r3, [r0]
  2740. 795:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** || ((hadc->Instance == ADC3) && ((ADC->CCR & ADC_CCR_MULTI_Msk) <
  2741. 640 .loc 1 795 9 view .LVU226
  2742. 641 009c 224A ldr r2, .L53+12
  2743. 642 009e 9342 cmp r3, r2
  2744. 643 00a0 11D0 beq .L40
  2745. 795:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** || ((hadc->Instance == ADC3) && ((ADC->CCR & ADC_CCR_MULTI_Msk) <
  2746. 644 .loc 1 795 35 discriminator 1 view .LVU227
  2747. 645 00a2 02F58072 add r2, r2, #256
  2748. 646 00a6 9342 cmp r3, r2
  2749. 647 00a8 07D0 beq .L50
  2750. 648 .L41:
  2751. 796:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2752. 649 .loc 1 796 35 view .LVU228
  2753. 650 00aa 204A ldr r2, .L53+16
  2754. 651 00ac 9342 cmp r3, r2
  2755. 652 00ae 14D0 beq .L51
  2756. 821:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2757. 653 .loc 1 821 10 view .LVU229
  2758. 654 00b0 0020 movs r0, #0
  2759. 655 .LVL19:
  2760. 821:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2761. 656 .loc 1 821 10 view .LVU230
  2762. 657 00b2 2DE0 b .L32
  2763. 658 .LVL20:
  2764. 659 .L37:
  2765. 774:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2766. 660 .loc 1 774 7 is_stmt 1 view .LVU231
  2767. 661 00b4 0023 movs r3, #0
  2768. 662 00b6 4364 str r3, [r0, #68]
  2769. 663 00b8 E4E7 b .L38
  2770. 664 .LVL21:
  2771. 665 .L50:
  2772. 795:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** || ((hadc->Instance == ADC3) && ((ADC->CCR & ADC_CCR_MULTI_Msk) <
  2773. 666 .loc 1 795 72 is_stmt 0 discriminator 2 view .LVU232
  2774. 667 00ba 02F50072 add r2, r2, #512
  2775. 668 00be 5268 ldr r2, [r2, #4]
  2776. 795:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** || ((hadc->Instance == ADC3) && ((ADC->CCR & ADC_CCR_MULTI_Msk) <
  2777. 669 .loc 1 795 64 discriminator 2 view .LVU233
  2778. 670 00c0 12F01F0F tst r2, #31
  2779. 671 00c4 F1D1 bne .L41
  2780. 672 .L40:
  2781. 800:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2782. 673 .loc 1 800 9 is_stmt 1 view .LVU234
  2783. 800:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2784. 674 .loc 1 800 27 is_stmt 0 view .LVU235
  2785. ARM GAS /tmp/ccMhywUy.s page 49
  2786. 675 00c6 9A68 ldr r2, [r3, #8]
  2787. 800:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2788. 676 .loc 1 800 11 view .LVU236
  2789. 677 00c8 12F0405F tst r2, #805306368
  2790. 678 00cc 22D1 bne .L46
  2791. 803:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2792. 679 .loc 1 803 11 is_stmt 1 view .LVU237
  2793. 803:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2794. 680 .loc 1 803 31 is_stmt 0 view .LVU238
  2795. 681 00ce 9A68 ldr r2, [r3, #8]
  2796. 682 00d0 42F08042 orr r2, r2, #1073741824
  2797. 683 00d4 9A60 str r2, [r3, #8]
  2798. 821:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2799. 684 .loc 1 821 10 view .LVU239
  2800. 685 00d6 0020 movs r0, #0
  2801. 686 .LVL22:
  2802. 821:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2803. 687 .loc 1 821 10 view .LVU240
  2804. 688 00d8 1AE0 b .L32
  2805. 689 .LVL23:
  2806. 690 .L51:
  2807. 796:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2808. 691 .loc 1 796 72 discriminator 1 view .LVU241
  2809. 692 00da 02F58072 add r2, r2, #256
  2810. 693 00de 5268 ldr r2, [r2, #4]
  2811. 796:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2812. 694 .loc 1 796 64 discriminator 1 view .LVU242
  2813. 695 00e0 12F0100F tst r2, #16
  2814. 696 00e4 EFD0 beq .L40
  2815. 821:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2816. 697 .loc 1 821 10 view .LVU243
  2817. 698 00e6 0020 movs r0, #0
  2818. 699 .LVL24:
  2819. 821:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2820. 700 .loc 1 821 10 view .LVU244
  2821. 701 00e8 12E0 b .L32
  2822. 702 .LVL25:
  2823. 703 .L39:
  2824. 812:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2825. 704 .loc 1 812 7 is_stmt 1 view .LVU245
  2826. 812:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2827. 705 .loc 1 812 15 is_stmt 0 view .LVU246
  2828. 706 00ea 0368 ldr r3, [r0]
  2829. 812:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2830. 707 .loc 1 812 9 view .LVU247
  2831. 708 00ec 0E4A ldr r2, .L53+12
  2832. 709 00ee 9342 cmp r3, r2
  2833. 710 00f0 01D0 beq .L52
  2834. 821:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2835. 711 .loc 1 821 10 view .LVU248
  2836. 712 00f2 0020 movs r0, #0
  2837. 713 .LVL26:
  2838. 821:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2839. 714 .loc 1 821 10 view .LVU249
  2840. 715 00f4 0CE0 b .L32
  2841. 716 .LVL27:
  2842. 717 .L52:
  2843. ARM GAS /tmp/ccMhywUy.s page 50
  2844. 812:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2845. 718 .loc 1 812 54 discriminator 1 view .LVU250
  2846. 719 00f6 9A68 ldr r2, [r3, #8]
  2847. 812:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2848. 720 .loc 1 812 35 discriminator 1 view .LVU251
  2849. 721 00f8 12F0405F tst r2, #805306368
  2850. 722 00fc 0CD1 bne .L48
  2851. 815:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2852. 723 .loc 1 815 11 is_stmt 1 view .LVU252
  2853. 815:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2854. 724 .loc 1 815 31 is_stmt 0 view .LVU253
  2855. 725 00fe 9A68 ldr r2, [r3, #8]
  2856. 726 0100 42F08042 orr r2, r2, #1073741824
  2857. 727 0104 9A60 str r2, [r3, #8]
  2858. 821:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2859. 728 .loc 1 821 10 view .LVU254
  2860. 729 0106 0020 movs r0, #0
  2861. 730 .LVL28:
  2862. 821:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2863. 731 .loc 1 821 10 view .LVU255
  2864. 732 0108 02E0 b .L32
  2865. 733 .LVL29:
  2866. 734 .L42:
  2867. 729:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2868. 735 .loc 1 729 3 view .LVU256
  2869. 736 010a 0220 movs r0, #2
  2870. 737 .LVL30:
  2871. 729:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2872. 738 .loc 1 729 3 view .LVU257
  2873. 739 010c 00E0 b .L32
  2874. 740 .LVL31:
  2875. 741 .L43:
  2876. 821:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2877. 742 .loc 1 821 10 view .LVU258
  2878. 743 010e 0020 movs r0, #0
  2879. 744 .LVL32:
  2880. 745 .L32:
  2881. 822:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2882. 746 .loc 1 822 1 view .LVU259
  2883. 747 0110 02B0 add sp, sp, #8
  2884. 748 .LCFI5:
  2885. 749 .cfi_remember_state
  2886. 750 .cfi_def_cfa_offset 0
  2887. 751 @ sp needed
  2888. 752 0112 7047 bx lr
  2889. 753 .LVL33:
  2890. 754 .L46:
  2891. 755 .LCFI6:
  2892. 756 .cfi_restore_state
  2893. 821:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2894. 757 .loc 1 821 10 view .LVU260
  2895. 758 0114 0020 movs r0, #0
  2896. 759 .LVL34:
  2897. 821:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2898. 760 .loc 1 821 10 view .LVU261
  2899. 761 0116 FBE7 b .L32
  2900. 762 .LVL35:
  2901. ARM GAS /tmp/ccMhywUy.s page 51
  2902. 763 .L48:
  2903. 821:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2904. 764 .loc 1 821 10 view .LVU262
  2905. 765 0118 0020 movs r0, #0
  2906. 766 .LVL36:
  2907. 821:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2908. 767 .loc 1 821 10 view .LVU263
  2909. 768 011a F9E7 b .L32
  2910. 769 .L54:
  2911. 770 .align 2
  2912. 771 .L53:
  2913. 772 011c 00000000 .word SystemCoreClock
  2914. 773 0120 83DE1B43 .word 1125899907
  2915. 774 0124 00230140 .word 1073816320
  2916. 775 0128 00200140 .word 1073815552
  2917. 776 012c 00220140 .word 1073816064
  2918. 777 .cfi_endproc
  2919. 778 .LFE134:
  2920. 780 .section .text.HAL_ADC_Stop,"ax",%progbits
  2921. 781 .align 1
  2922. 782 .global HAL_ADC_Stop
  2923. 783 .syntax unified
  2924. 784 .thumb
  2925. 785 .thumb_func
  2926. 787 HAL_ADC_Stop:
  2927. 788 .LVL37:
  2928. 789 .LFB135:
  2929. 835:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check the parameters */
  2930. 790 .loc 1 835 1 is_stmt 1 view -0
  2931. 791 .cfi_startproc
  2932. 792 @ args = 0, pretend = 0, frame = 0
  2933. 793 @ frame_needed = 0, uses_anonymous_args = 0
  2934. 794 @ link register save eliminated.
  2935. 837:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2936. 795 .loc 1 837 3 view .LVU265
  2937. 840:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2938. 796 .loc 1 840 3 view .LVU266
  2939. 840:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2940. 797 .loc 1 840 3 view .LVU267
  2941. 798 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
  2942. 799 0004 012B cmp r3, #1
  2943. 800 0006 19D0 beq .L58
  2944. 840:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2945. 801 .loc 1 840 3 discriminator 2 view .LVU268
  2946. 802 0008 0123 movs r3, #1
  2947. 803 000a 80F83C30 strb r3, [r0, #60]
  2948. 840:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2949. 804 .loc 1 840 3 discriminator 2 view .LVU269
  2950. 844:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2951. 805 .loc 1 844 3 discriminator 2 view .LVU270
  2952. 806 000e 0268 ldr r2, [r0]
  2953. 807 0010 9368 ldr r3, [r2, #8]
  2954. 808 0012 23F00103 bic r3, r3, #1
  2955. 809 0016 9360 str r3, [r2, #8]
  2956. 847:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2957. 810 .loc 1 847 3 discriminator 2 view .LVU271
  2958. 847:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2959. ARM GAS /tmp/ccMhywUy.s page 52
  2960. 811 .loc 1 847 6 is_stmt 0 discriminator 2 view .LVU272
  2961. 812 0018 0368 ldr r3, [r0]
  2962. 813 001a 9B68 ldr r3, [r3, #8]
  2963. 847:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  2964. 814 .loc 1 847 5 discriminator 2 view .LVU273
  2965. 815 001c 13F0010F tst r3, #1
  2966. 816 0020 07D1 bne .L57
  2967. 850:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
  2968. 817 .loc 1 850 5 is_stmt 1 view .LVU274
  2969. 818 0022 036C ldr r3, [r0, #64]
  2970. 819 0024 23F48853 bic r3, r3, #4352
  2971. 820 0028 23F00103 bic r3, r3, #1
  2972. 821 002c 43F00103 orr r3, r3, #1
  2973. 822 0030 0364 str r3, [r0, #64]
  2974. 823 .L57:
  2975. 856:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2976. 824 .loc 1 856 3 view .LVU275
  2977. 856:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2978. 825 .loc 1 856 3 view .LVU276
  2979. 826 0032 0023 movs r3, #0
  2980. 827 0034 80F83C30 strb r3, [r0, #60]
  2981. 856:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2982. 828 .loc 1 856 3 view .LVU277
  2983. 859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2984. 829 .loc 1 859 3 view .LVU278
  2985. 859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2986. 830 .loc 1 859 10 is_stmt 0 view .LVU279
  2987. 831 0038 1846 mov r0, r3
  2988. 832 .LVL38:
  2989. 859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  2990. 833 .loc 1 859 10 view .LVU280
  2991. 834 003a 7047 bx lr
  2992. 835 .LVL39:
  2993. 836 .L58:
  2994. 840:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2995. 837 .loc 1 840 3 view .LVU281
  2996. 838 003c 0220 movs r0, #2
  2997. 839 .LVL40:
  2998. 860:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  2999. 840 .loc 1 860 1 view .LVU282
  3000. 841 003e 7047 bx lr
  3001. 842 .cfi_endproc
  3002. 843 .LFE135:
  3003. 845 .section .text.HAL_ADC_PollForConversion,"ax",%progbits
  3004. 846 .align 1
  3005. 847 .global HAL_ADC_PollForConversion
  3006. 848 .syntax unified
  3007. 849 .thumb
  3008. 850 .thumb_func
  3009. 852 HAL_ADC_PollForConversion:
  3010. 853 .LVL41:
  3011. 854 .LFB136:
  3012. 878:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** uint32_t tickstart = 0U;
  3013. 855 .loc 1 878 1 is_stmt 1 view -0
  3014. 856 .cfi_startproc
  3015. 857 @ args = 0, pretend = 0, frame = 0
  3016. 858 @ frame_needed = 0, uses_anonymous_args = 0
  3017. ARM GAS /tmp/ccMhywUy.s page 53
  3018. 878:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** uint32_t tickstart = 0U;
  3019. 859 .loc 1 878 1 is_stmt 0 view .LVU284
  3020. 860 0000 70B5 push {r4, r5, r6, lr}
  3021. 861 .LCFI7:
  3022. 862 .cfi_def_cfa_offset 16
  3023. 863 .cfi_offset 4, -16
  3024. 864 .cfi_offset 5, -12
  3025. 865 .cfi_offset 6, -8
  3026. 866 .cfi_offset 14, -4
  3027. 867 0002 0446 mov r4, r0
  3028. 868 0004 0D46 mov r5, r1
  3029. 879:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3030. 869 .loc 1 879 3 is_stmt 1 view .LVU285
  3031. 870 .LVL42:
  3032. 887:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_IS_BIT_SET(hadc->Instance->CR2, ADC_CR2_DMA) )
  3033. 871 .loc 1 887 3 view .LVU286
  3034. 887:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_IS_BIT_SET(hadc->Instance->CR2, ADC_CR2_DMA) )
  3035. 872 .loc 1 887 7 is_stmt 0 view .LVU287
  3036. 873 0006 0368 ldr r3, [r0]
  3037. 874 0008 9A68 ldr r2, [r3, #8]
  3038. 887:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_IS_BIT_SET(hadc->Instance->CR2, ADC_CR2_DMA) )
  3039. 875 .loc 1 887 6 view .LVU288
  3040. 876 000a 12F4806F tst r2, #1024
  3041. 877 000e 03D0 beq .L60
  3042. 888:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3043. 878 .loc 1 888 7 discriminator 1 view .LVU289
  3044. 879 0010 9B68 ldr r3, [r3, #8]
  3045. 887:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_IS_BIT_SET(hadc->Instance->CR2, ADC_CR2_DMA) )
  3046. 880 .loc 1 887 57 discriminator 1 view .LVU290
  3047. 881 0012 13F4807F tst r3, #256
  3048. 882 0016 19D1 bne .L70
  3049. 883 .L60:
  3050. 900:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3051. 884 .loc 1 900 3 is_stmt 1 view .LVU291
  3052. 900:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3053. 885 .loc 1 900 15 is_stmt 0 view .LVU292
  3054. 886 0018 FFF7FEFF bl HAL_GetTick
  3055. 887 .LVL43:
  3056. 900:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3057. 888 .loc 1 900 15 view .LVU293
  3058. 889 001c 0646 mov r6, r0
  3059. 890 .LVL44:
  3060. 903:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3061. 891 .loc 1 903 3 is_stmt 1 view .LVU294
  3062. 892 .L63:
  3063. 903:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3064. 893 .loc 1 903 8 view .LVU295
  3065. 903:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3066. 894 .loc 1 903 11 is_stmt 0 view .LVU296
  3067. 895 001e 2368 ldr r3, [r4]
  3068. 896 0020 1A68 ldr r2, [r3]
  3069. 903:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3070. 897 .loc 1 903 8 view .LVU297
  3071. 898 0022 12F0020F tst r2, #2
  3072. 899 0026 1AD1 bne .L71
  3073. 906:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3074. 900 .loc 1 906 5 is_stmt 1 view .LVU298
  3075. ARM GAS /tmp/ccMhywUy.s page 54
  3076. 906:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3077. 901 .loc 1 906 7 is_stmt 0 view .LVU299
  3078. 902 0028 B5F1FF3F cmp r5, #-1
  3079. 903 002c F7D0 beq .L63
  3080. 908:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3081. 904 .loc 1 908 7 is_stmt 1 view .LVU300
  3082. 908:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3083. 905 .loc 1 908 9 is_stmt 0 view .LVU301
  3084. 906 002e 25B1 cbz r5, .L64
  3085. 908:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3086. 907 .loc 1 908 31 discriminator 1 view .LVU302
  3087. 908 0030 FFF7FEFF bl HAL_GetTick
  3088. 909 .LVL45:
  3089. 908:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3090. 910 .loc 1 908 45 discriminator 1 view .LVU303
  3091. 911 0034 801B subs r0, r0, r6
  3092. 908:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3093. 912 .loc 1 908 26 discriminator 1 view .LVU304
  3094. 913 0036 A842 cmp r0, r5
  3095. 914 0038 F1D9 bls .L63
  3096. 915 .L64:
  3097. 911:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3098. 916 .loc 1 911 9 is_stmt 1 view .LVU305
  3099. 917 003a 236C ldr r3, [r4, #64]
  3100. 918 003c 43F00403 orr r3, r3, #4
  3101. 919 0040 2364 str r3, [r4, #64]
  3102. 914:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3103. 920 .loc 1 914 9 view .LVU306
  3104. 914:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3105. 921 .loc 1 914 9 view .LVU307
  3106. 922 0042 0023 movs r3, #0
  3107. 923 0044 84F83C30 strb r3, [r4, #60]
  3108. 914:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3109. 924 .loc 1 914 9 view .LVU308
  3110. 916:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3111. 925 .loc 1 916 9 view .LVU309
  3112. 916:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3113. 926 .loc 1 916 16 is_stmt 0 view .LVU310
  3114. 927 0048 0320 movs r0, #3
  3115. 928 004a 2CE0 b .L61
  3116. 929 .LVL46:
  3117. 930 .L70:
  3118. 891:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3119. 931 .loc 1 891 5 is_stmt 1 view .LVU311
  3120. 932 004c 036C ldr r3, [r0, #64]
  3121. 933 004e 43F02003 orr r3, r3, #32
  3122. 934 0052 0364 str r3, [r0, #64]
  3123. 894:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3124. 935 .loc 1 894 5 view .LVU312
  3125. 894:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3126. 936 .loc 1 894 5 view .LVU313
  3127. 937 0054 0023 movs r3, #0
  3128. 938 0056 80F83C30 strb r3, [r0, #60]
  3129. 894:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3130. 939 .loc 1 894 5 view .LVU314
  3131. 896:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3132. 940 .loc 1 896 5 view .LVU315
  3133. ARM GAS /tmp/ccMhywUy.s page 55
  3134. 896:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3135. 941 .loc 1 896 12 is_stmt 0 view .LVU316
  3136. 942 005a 0120 movs r0, #1
  3137. 943 .LVL47:
  3138. 896:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3139. 944 .loc 1 896 12 view .LVU317
  3140. 945 005c 23E0 b .L61
  3141. 946 .LVL48:
  3142. 947 .L71:
  3143. 922:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3144. 948 .loc 1 922 3 is_stmt 1 view .LVU318
  3145. 949 005e 6FF01202 mvn r2, #18
  3146. 950 0062 1A60 str r2, [r3]
  3147. 925:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3148. 951 .loc 1 925 3 view .LVU319
  3149. 952 0064 236C ldr r3, [r4, #64]
  3150. 953 0066 43F40073 orr r3, r3, #512
  3151. 954 006a 2364 str r3, [r4, #64]
  3152. 933:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
  3153. 955 .loc 1 933 3 view .LVU320
  3154. 933:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
  3155. 956 .loc 1 933 6 is_stmt 0 view .LVU321
  3156. 957 006c 2368 ldr r3, [r4]
  3157. 958 006e 9A68 ldr r2, [r3, #8]
  3158. 933:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
  3159. 959 .loc 1 933 5 view .LVU322
  3160. 960 0070 12F0405F tst r2, #805306368
  3161. 961 0074 16D1 bne .L67
  3162. 934:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (HAL_IS_BIT_CLR(hadc->Instance->SQR1, ADC_SQR1_L) ||
  3163. 962 .loc 1 934 17 discriminator 1 view .LVU323
  3164. 963 0076 207E ldrb r0, [r4, #24] @ zero_extendqisi2
  3165. 933:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
  3166. 964 .loc 1 933 60 discriminator 1 view .LVU324
  3167. 965 0078 B0B9 cbnz r0, .L68
  3168. 935:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) )
  3169. 966 .loc 1 935 7 view .LVU325
  3170. 967 007a DA6A ldr r2, [r3, #44]
  3171. 934:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (HAL_IS_BIT_CLR(hadc->Instance->SQR1, ADC_SQR1_L) ||
  3172. 968 .loc 1 934 60 view .LVU326
  3173. 969 007c 12F4700F tst r2, #15728640
  3174. 970 0080 03D0 beq .L66
  3175. 936:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3176. 971 .loc 1 936 7 view .LVU327
  3177. 972 0082 9B68 ldr r3, [r3, #8]
  3178. 935:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) )
  3179. 973 .loc 1 935 56 view .LVU328
  3180. 974 0084 13F4806F tst r3, #1024
  3181. 975 0088 0DD1 bne .L61
  3182. 976 .L66:
  3183. 939:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3184. 977 .loc 1 939 5 is_stmt 1 view .LVU329
  3185. 978 008a 236C ldr r3, [r4, #64]
  3186. 979 008c 23F48073 bic r3, r3, #256
  3187. 980 0090 2364 str r3, [r4, #64]
  3188. 941:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3189. 981 .loc 1 941 5 view .LVU330
  3190. 941:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3191. ARM GAS /tmp/ccMhywUy.s page 56
  3192. 982 .loc 1 941 9 is_stmt 0 view .LVU331
  3193. 983 0092 236C ldr r3, [r4, #64]
  3194. 941:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3195. 984 .loc 1 941 8 view .LVU332
  3196. 985 0094 13F4805F tst r3, #4096
  3197. 986 0098 05D1 bne .L61
  3198. 943:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3199. 987 .loc 1 943 7 is_stmt 1 view .LVU333
  3200. 988 009a 236C ldr r3, [r4, #64]
  3201. 989 009c 43F00103 orr r3, r3, #1
  3202. 990 00a0 2364 str r3, [r4, #64]
  3203. 991 00a2 00E0 b .L61
  3204. 992 .L67:
  3205. 948:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3206. 993 .loc 1 948 10 is_stmt 0 view .LVU334
  3207. 994 00a4 0020 movs r0, #0
  3208. 995 .LVL49:
  3209. 996 .L61:
  3210. 949:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3211. 997 .loc 1 949 1 view .LVU335
  3212. 998 00a6 70BD pop {r4, r5, r6, pc}
  3213. 999 .LVL50:
  3214. 1000 .L68:
  3215. 948:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3216. 1001 .loc 1 948 10 view .LVU336
  3217. 1002 00a8 0020 movs r0, #0
  3218. 1003 00aa FCE7 b .L61
  3219. 1004 .cfi_endproc
  3220. 1005 .LFE136:
  3221. 1007 .section .text.HAL_ADC_PollForEvent,"ax",%progbits
  3222. 1008 .align 1
  3223. 1009 .global HAL_ADC_PollForEvent
  3224. 1010 .syntax unified
  3225. 1011 .thumb
  3226. 1012 .thumb_func
  3227. 1014 HAL_ADC_PollForEvent:
  3228. 1015 .LVL51:
  3229. 1016 .LFB137:
  3230. 963:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** uint32_t tickstart = 0U;
  3231. 1017 .loc 1 963 1 is_stmt 1 view -0
  3232. 1018 .cfi_startproc
  3233. 1019 @ args = 0, pretend = 0, frame = 0
  3234. 1020 @ frame_needed = 0, uses_anonymous_args = 0
  3235. 963:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** uint32_t tickstart = 0U;
  3236. 1021 .loc 1 963 1 is_stmt 0 view .LVU338
  3237. 1022 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr}
  3238. 1023 .LCFI8:
  3239. 1024 .cfi_def_cfa_offset 24
  3240. 1025 .cfi_offset 4, -24
  3241. 1026 .cfi_offset 5, -20
  3242. 1027 .cfi_offset 6, -16
  3243. 1028 .cfi_offset 7, -12
  3244. 1029 .cfi_offset 8, -8
  3245. 1030 .cfi_offset 14, -4
  3246. 1031 0004 0546 mov r5, r0
  3247. 1032 0006 0E46 mov r6, r1
  3248. 1033 0008 1746 mov r7, r2
  3249. ARM GAS /tmp/ccMhywUy.s page 57
  3250. 964:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3251. 1034 .loc 1 964 3 is_stmt 1 view .LVU339
  3252. 1035 .LVL52:
  3253. 967:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_EVENT_TYPE(EventType));
  3254. 1036 .loc 1 967 3 view .LVU340
  3255. 968:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3256. 1037 .loc 1 968 3 view .LVU341
  3257. 971:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3258. 1038 .loc 1 971 3 view .LVU342
  3259. 971:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3260. 1039 .loc 1 971 15 is_stmt 0 view .LVU343
  3261. 1040 000a FFF7FEFF bl HAL_GetTick
  3262. 1041 .LVL53:
  3263. 971:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3264. 1042 .loc 1 971 15 view .LVU344
  3265. 1043 000e 8046 mov r8, r0
  3266. 1044 .LVL54:
  3267. 974:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3268. 1045 .loc 1 974 3 is_stmt 1 view .LVU345
  3269. 1046 .L74:
  3270. 974:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3271. 1047 .loc 1 974 8 view .LVU346
  3272. 974:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3273. 1048 .loc 1 974 11 is_stmt 0 view .LVU347
  3274. 1049 0010 2B68 ldr r3, [r5]
  3275. 1050 0012 1C68 ldr r4, [r3]
  3276. 974:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3277. 1051 .loc 1 974 8 view .LVU348
  3278. 1052 0014 36EA0402 bics r2, r6, r4
  3279. 1053 0018 12D0 beq .L80
  3280. 977:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3281. 1054 .loc 1 977 5 is_stmt 1 view .LVU349
  3282. 977:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3283. 1055 .loc 1 977 7 is_stmt 0 view .LVU350
  3284. 1056 001a B7F1FF3F cmp r7, #-1
  3285. 1057 001e F7D0 beq .L74
  3286. 979:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3287. 1058 .loc 1 979 7 is_stmt 1 view .LVU351
  3288. 979:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3289. 1059 .loc 1 979 9 is_stmt 0 view .LVU352
  3290. 1060 0020 2FB1 cbz r7, .L75
  3291. 979:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3292. 1061 .loc 1 979 31 discriminator 1 view .LVU353
  3293. 1062 0022 FFF7FEFF bl HAL_GetTick
  3294. 1063 .LVL55:
  3295. 979:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3296. 1064 .loc 1 979 45 discriminator 1 view .LVU354
  3297. 1065 0026 A0EB0800 sub r0, r0, r8
  3298. 979:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3299. 1066 .loc 1 979 26 discriminator 1 view .LVU355
  3300. 1067 002a B842 cmp r0, r7
  3301. 1068 002c F0D9 bls .L74
  3302. 1069 .L75:
  3303. 982:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3304. 1070 .loc 1 982 9 is_stmt 1 view .LVU356
  3305. 1071 002e 2B6C ldr r3, [r5, #64]
  3306. 1072 0030 43F00403 orr r3, r3, #4
  3307. ARM GAS /tmp/ccMhywUy.s page 58
  3308. 1073 0034 2B64 str r3, [r5, #64]
  3309. 985:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3310. 1074 .loc 1 985 9 view .LVU357
  3311. 985:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3312. 1075 .loc 1 985 9 view .LVU358
  3313. 1076 0036 0023 movs r3, #0
  3314. 1077 0038 85F83C30 strb r3, [r5, #60]
  3315. 985:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3316. 1078 .loc 1 985 9 view .LVU359
  3317. 987:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3318. 1079 .loc 1 987 9 view .LVU360
  3319. 987:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3320. 1080 .loc 1 987 16 is_stmt 0 view .LVU361
  3321. 1081 003c 0320 movs r0, #3
  3322. 1082 003e 0DE0 b .L76
  3323. 1083 .L80:
  3324. 993:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3325. 1084 .loc 1 993 3 is_stmt 1 view .LVU362
  3326. 993:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3327. 1085 .loc 1 993 5 is_stmt 0 view .LVU363
  3328. 1086 0040 012E cmp r6, #1
  3329. 1087 0042 0DD0 beq .L81
  3330. 1005:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC error code to overrun */
  3331. 1088 .loc 1 1005 5 is_stmt 1 view .LVU364
  3332. 1089 0044 2A6C ldr r2, [r5, #64]
  3333. 1090 0046 42F48062 orr r2, r2, #1024
  3334. 1091 004a 2A64 str r2, [r5, #64]
  3335. 1007:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3336. 1092 .loc 1 1007 5 view .LVU365
  3337. 1093 004c 6A6C ldr r2, [r5, #68]
  3338. 1094 004e 42F00202 orr r2, r2, #2
  3339. 1095 0052 6A64 str r2, [r5, #68]
  3340. 1010:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3341. 1096 .loc 1 1010 5 view .LVU366
  3342. 1097 0054 6FF02002 mvn r2, #32
  3343. 1098 0058 1A60 str r2, [r3]
  3344. 1014:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3345. 1099 .loc 1 1014 10 is_stmt 0 view .LVU367
  3346. 1100 005a 0020 movs r0, #0
  3347. 1101 .L76:
  3348. 1015:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3349. 1102 .loc 1 1015 1 view .LVU368
  3350. 1103 005c BDE8F081 pop {r4, r5, r6, r7, r8, pc}
  3351. 1104 .LVL56:
  3352. 1105 .L81:
  3353. 996:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3354. 1106 .loc 1 996 5 is_stmt 1 view .LVU369
  3355. 1107 0060 2A6C ldr r2, [r5, #64]
  3356. 1108 0062 42F48032 orr r2, r2, #65536
  3357. 1109 0066 2A64 str r2, [r5, #64]
  3358. 999:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3359. 1110 .loc 1 999 5 view .LVU370
  3360. 1111 0068 6FF00102 mvn r2, #1
  3361. 1112 006c 1A60 str r2, [r3]
  3362. 1014:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3363. 1113 .loc 1 1014 10 is_stmt 0 view .LVU371
  3364. 1114 006e 0020 movs r0, #0
  3365. ARM GAS /tmp/ccMhywUy.s page 59
  3366. 1115 0070 F4E7 b .L76
  3367. 1116 .cfi_endproc
  3368. 1117 .LFE137:
  3369. 1119 .section .text.HAL_ADC_Start_IT,"ax",%progbits
  3370. 1120 .align 1
  3371. 1121 .global HAL_ADC_Start_IT
  3372. 1122 .syntax unified
  3373. 1123 .thumb
  3374. 1124 .thumb_func
  3375. 1126 HAL_ADC_Start_IT:
  3376. 1127 .LVL57:
  3377. 1128 .LFB138:
  3378. 1025:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __IO uint32_t counter = 0U;
  3379. 1129 .loc 1 1025 1 is_stmt 1 view -0
  3380. 1130 .cfi_startproc
  3381. 1131 @ args = 0, pretend = 0, frame = 8
  3382. 1132 @ frame_needed = 0, uses_anonymous_args = 0
  3383. 1133 @ link register save eliminated.
  3384. 1025:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __IO uint32_t counter = 0U;
  3385. 1134 .loc 1 1025 1 is_stmt 0 view .LVU373
  3386. 1135 0000 82B0 sub sp, sp, #8
  3387. 1136 .LCFI9:
  3388. 1137 .cfi_def_cfa_offset 8
  3389. 1026:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_Common_TypeDef *tmpADC_Common;
  3390. 1138 .loc 1 1026 3 is_stmt 1 view .LVU374
  3391. 1026:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_Common_TypeDef *tmpADC_Common;
  3392. 1139 .loc 1 1026 17 is_stmt 0 view .LVU375
  3393. 1140 0002 0023 movs r3, #0
  3394. 1141 0004 0193 str r3, [sp, #4]
  3395. 1027:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3396. 1142 .loc 1 1027 3 is_stmt 1 view .LVU376
  3397. 1030:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_EXT_TRIG_EDGE(hadc->Init.ExternalTrigConvEdge));
  3398. 1143 .loc 1 1030 3 view .LVU377
  3399. 1031:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3400. 1144 .loc 1 1031 3 view .LVU378
  3401. 1034:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3402. 1145 .loc 1 1034 3 view .LVU379
  3403. 1034:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3404. 1146 .loc 1 1034 3 view .LVU380
  3405. 1147 0006 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
  3406. 1148 000a 012B cmp r3, #1
  3407. 1149 000c 00F08580 beq .L93
  3408. 1034:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3409. 1150 .loc 1 1034 3 discriminator 2 view .LVU381
  3410. 1151 0010 0123 movs r3, #1
  3411. 1152 0012 80F83C30 strb r3, [r0, #60]
  3412. 1034:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3413. 1153 .loc 1 1034 3 discriminator 2 view .LVU382
  3414. 1039:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3415. 1154 .loc 1 1039 3 discriminator 2 view .LVU383
  3416. 1039:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3417. 1155 .loc 1 1039 11 is_stmt 0 discriminator 2 view .LVU384
  3418. 1156 0016 0368 ldr r3, [r0]
  3419. 1039:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3420. 1157 .loc 1 1039 21 discriminator 2 view .LVU385
  3421. 1158 0018 9A68 ldr r2, [r3, #8]
  3422. 1039:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3423. ARM GAS /tmp/ccMhywUy.s page 60
  3424. 1159 .loc 1 1039 5 discriminator 2 view .LVU386
  3425. 1160 001a 12F0010F tst r2, #1
  3426. 1161 001e 13D1 bne .L84
  3427. 1042:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3428. 1162 .loc 1 1042 5 is_stmt 1 view .LVU387
  3429. 1163 0020 9A68 ldr r2, [r3, #8]
  3430. 1164 0022 42F00102 orr r2, r2, #1
  3431. 1165 0026 9A60 str r2, [r3, #8]
  3432. 1046:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** while(counter != 0U)
  3433. 1166 .loc 1 1046 5 view .LVU388
  3434. 1046:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** while(counter != 0U)
  3435. 1167 .loc 1 1046 53 is_stmt 0 view .LVU389
  3436. 1168 0028 404B ldr r3, .L104
  3437. 1169 002a 1B68 ldr r3, [r3]
  3438. 1170 002c 404A ldr r2, .L104+4
  3439. 1171 002e A2FB0323 umull r2, r3, r2, r3
  3440. 1172 0032 9B0C lsrs r3, r3, #18
  3441. 1046:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** while(counter != 0U)
  3442. 1173 .loc 1 1046 34 view .LVU390
  3443. 1174 0034 03EB4303 add r3, r3, r3, lsl #1
  3444. 1046:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** while(counter != 0U)
  3445. 1175 .loc 1 1046 13 view .LVU391
  3446. 1176 0038 0193 str r3, [sp, #4]
  3447. 1047:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3448. 1177 .loc 1 1047 5 is_stmt 1 view .LVU392
  3449. 1047:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3450. 1178 .loc 1 1047 10 is_stmt 0 view .LVU393
  3451. 1179 003a 02E0 b .L85
  3452. 1180 .L86:
  3453. 1049:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3454. 1181 .loc 1 1049 7 is_stmt 1 view .LVU394
  3455. 1049:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3456. 1182 .loc 1 1049 14 is_stmt 0 view .LVU395
  3457. 1183 003c 019B ldr r3, [sp, #4]
  3458. 1184 003e 013B subs r3, r3, #1
  3459. 1185 0040 0193 str r3, [sp, #4]
  3460. 1186 .L85:
  3461. 1047:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3462. 1187 .loc 1 1047 10 is_stmt 1 view .LVU396
  3463. 1047:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3464. 1188 .loc 1 1047 19 is_stmt 0 view .LVU397
  3465. 1189 0042 019B ldr r3, [sp, #4]
  3466. 1047:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3467. 1190 .loc 1 1047 10 view .LVU398
  3468. 1191 0044 002B cmp r3, #0
  3469. 1192 0046 F9D1 bne .L86
  3470. 1193 .L84:
  3471. 1054:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3472. 1194 .loc 1 1054 3 is_stmt 1 view .LVU399
  3473. 1054:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3474. 1195 .loc 1 1054 6 is_stmt 0 view .LVU400
  3475. 1196 0048 0268 ldr r2, [r0]
  3476. 1197 004a 9368 ldr r3, [r2, #8]
  3477. 1054:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3478. 1198 .loc 1 1054 5 view .LVU401
  3479. 1199 004c 13F0010F tst r3, #1
  3480. 1200 0050 65D0 beq .L94
  3481. ARM GAS /tmp/ccMhywUy.s page 61
  3482. 1059:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC | HAL_ADC_STATE_REG_OVR,
  3483. 1201 .loc 1 1059 5 is_stmt 1 view .LVU402
  3484. 1202 0052 036C ldr r3, [r0, #64]
  3485. 1203 0054 23F4E063 bic r3, r3, #1792
  3486. 1204 0058 23F00103 bic r3, r3, #1
  3487. 1205 005c 43F48073 orr r3, r3, #256
  3488. 1206 0060 0364 str r3, [r0, #64]
  3489. 1065:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3490. 1207 .loc 1 1065 5 view .LVU403
  3491. 1065:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3492. 1208 .loc 1 1065 9 is_stmt 0 view .LVU404
  3493. 1209 0062 5368 ldr r3, [r2, #4]
  3494. 1065:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3495. 1210 .loc 1 1065 8 view .LVU405
  3496. 1211 0064 13F4806F tst r3, #1024
  3497. 1212 0068 05D0 beq .L87
  3498. 1067:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3499. 1213 .loc 1 1067 7 is_stmt 1 view .LVU406
  3500. 1214 006a 036C ldr r3, [r0, #64]
  3501. 1215 006c 23F44053 bic r3, r3, #12288
  3502. 1216 0070 43F48053 orr r3, r3, #4096
  3503. 1217 0074 0364 str r3, [r0, #64]
  3504. 1218 .L87:
  3505. 1071:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3506. 1219 .loc 1 1071 5 view .LVU407
  3507. 1071:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3508. 1220 .loc 1 1071 9 is_stmt 0 view .LVU408
  3509. 1221 0076 036C ldr r3, [r0, #64]
  3510. 1071:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3511. 1222 .loc 1 1071 8 view .LVU409
  3512. 1223 0078 13F4805F tst r3, #4096
  3513. 1224 007c 22D0 beq .L88
  3514. 1074:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3515. 1225 .loc 1 1074 7 is_stmt 1 view .LVU410
  3516. 1226 007e 436C ldr r3, [r0, #68]
  3517. 1227 0080 23F00603 bic r3, r3, #6
  3518. 1228 0084 4364 str r3, [r0, #68]
  3519. 1229 .L89:
  3520. 1085:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3521. 1230 .loc 1 1085 5 view .LVU411
  3522. 1085:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3523. 1231 .loc 1 1085 5 view .LVU412
  3524. 1232 0086 0023 movs r3, #0
  3525. 1233 0088 80F83C30 strb r3, [r0, #60]
  3526. 1085:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3527. 1234 .loc 1 1085 5 view .LVU413
  3528. 1090:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3529. 1235 .loc 1 1090 5 view .LVU414
  3530. 1236 .LVL58:
  3531. 1094:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3532. 1237 .loc 1 1094 5 view .LVU415
  3533. 1238 008c 6FF02203 mvn r3, #34
  3534. 1239 0090 1360 str r3, [r2]
  3535. 1097:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3536. 1240 .loc 1 1097 5 view .LVU416
  3537. 1241 0092 0268 ldr r2, [r0]
  3538. 1242 0094 5368 ldr r3, [r2, #4]
  3539. ARM GAS /tmp/ccMhywUy.s page 62
  3540. 1243 0096 43F08063 orr r3, r3, #67108864
  3541. 1244 009a 43F02003 orr r3, r3, #32
  3542. 1245 009e 5360 str r3, [r2, #4]
  3543. 1100:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3544. 1246 .loc 1 1100 5 view .LVU417
  3545. 1100:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3546. 1247 .loc 1 1100 8 is_stmt 0 view .LVU418
  3547. 1248 00a0 244B ldr r3, .L104+8
  3548. 1249 00a2 5B68 ldr r3, [r3, #4]
  3549. 1100:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3550. 1250 .loc 1 1100 7 view .LVU419
  3551. 1251 00a4 13F01F0F tst r3, #31
  3552. 1252 00a8 27D1 bne .L90
  3553. 1103:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** || ((hadc->Instance == ADC3) && ((ADC->CCR & ADC_CCR_MULTI_Msk) <
  3554. 1253 .loc 1 1103 7 is_stmt 1 view .LVU420
  3555. 1103:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** || ((hadc->Instance == ADC3) && ((ADC->CCR & ADC_CCR_MULTI_Msk) <
  3556. 1254 .loc 1 1103 15 is_stmt 0 view .LVU421
  3557. 1255 00aa 0368 ldr r3, [r0]
  3558. 1103:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** || ((hadc->Instance == ADC3) && ((ADC->CCR & ADC_CCR_MULTI_Msk) <
  3559. 1256 .loc 1 1103 9 view .LVU422
  3560. 1257 00ac 224A ldr r2, .L104+12
  3561. 1258 00ae 9342 cmp r3, r2
  3562. 1259 00b0 11D0 beq .L91
  3563. 1103:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** || ((hadc->Instance == ADC3) && ((ADC->CCR & ADC_CCR_MULTI_Msk) <
  3564. 1260 .loc 1 1103 35 discriminator 1 view .LVU423
  3565. 1261 00b2 02F58072 add r2, r2, #256
  3566. 1262 00b6 9342 cmp r3, r2
  3567. 1263 00b8 07D0 beq .L101
  3568. 1264 .L92:
  3569. 1104:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3570. 1265 .loc 1 1104 35 view .LVU424
  3571. 1266 00ba 204A ldr r2, .L104+16
  3572. 1267 00bc 9342 cmp r3, r2
  3573. 1268 00be 14D0 beq .L102
  3574. 1129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3575. 1269 .loc 1 1129 10 view .LVU425
  3576. 1270 00c0 0020 movs r0, #0
  3577. 1271 .LVL59:
  3578. 1129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3579. 1272 .loc 1 1129 10 view .LVU426
  3580. 1273 00c2 2DE0 b .L83
  3581. 1274 .LVL60:
  3582. 1275 .L88:
  3583. 1079:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3584. 1276 .loc 1 1079 7 is_stmt 1 view .LVU427
  3585. 1277 00c4 0023 movs r3, #0
  3586. 1278 00c6 4364 str r3, [r0, #68]
  3587. 1279 00c8 DDE7 b .L89
  3588. 1280 .LVL61:
  3589. 1281 .L101:
  3590. 1103:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** || ((hadc->Instance == ADC3) && ((ADC->CCR & ADC_CCR_MULTI_Msk) <
  3591. 1282 .loc 1 1103 72 is_stmt 0 discriminator 2 view .LVU428
  3592. 1283 00ca 02F50072 add r2, r2, #512
  3593. 1284 00ce 5268 ldr r2, [r2, #4]
  3594. 1103:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** || ((hadc->Instance == ADC3) && ((ADC->CCR & ADC_CCR_MULTI_Msk) <
  3595. 1285 .loc 1 1103 64 discriminator 2 view .LVU429
  3596. 1286 00d0 12F01F0F tst r2, #31
  3597. ARM GAS /tmp/ccMhywUy.s page 63
  3598. 1287 00d4 F1D1 bne .L92
  3599. 1288 .L91:
  3600. 1108:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3601. 1289 .loc 1 1108 9 is_stmt 1 view .LVU430
  3602. 1108:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3603. 1290 .loc 1 1108 27 is_stmt 0 view .LVU431
  3604. 1291 00d6 9A68 ldr r2, [r3, #8]
  3605. 1108:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3606. 1292 .loc 1 1108 11 view .LVU432
  3607. 1293 00d8 12F0405F tst r2, #805306368
  3608. 1294 00dc 22D1 bne .L97
  3609. 1111:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3610. 1295 .loc 1 1111 11 is_stmt 1 view .LVU433
  3611. 1111:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3612. 1296 .loc 1 1111 31 is_stmt 0 view .LVU434
  3613. 1297 00de 9A68 ldr r2, [r3, #8]
  3614. 1298 00e0 42F08042 orr r2, r2, #1073741824
  3615. 1299 00e4 9A60 str r2, [r3, #8]
  3616. 1129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3617. 1300 .loc 1 1129 10 view .LVU435
  3618. 1301 00e6 0020 movs r0, #0
  3619. 1302 .LVL62:
  3620. 1129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3621. 1303 .loc 1 1129 10 view .LVU436
  3622. 1304 00e8 1AE0 b .L83
  3623. 1305 .LVL63:
  3624. 1306 .L102:
  3625. 1104:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3626. 1307 .loc 1 1104 72 discriminator 1 view .LVU437
  3627. 1308 00ea 02F58072 add r2, r2, #256
  3628. 1309 00ee 5268 ldr r2, [r2, #4]
  3629. 1104:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3630. 1310 .loc 1 1104 64 discriminator 1 view .LVU438
  3631. 1311 00f0 12F0100F tst r2, #16
  3632. 1312 00f4 EFD0 beq .L91
  3633. 1129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3634. 1313 .loc 1 1129 10 view .LVU439
  3635. 1314 00f6 0020 movs r0, #0
  3636. 1315 .LVL64:
  3637. 1129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3638. 1316 .loc 1 1129 10 view .LVU440
  3639. 1317 00f8 12E0 b .L83
  3640. 1318 .LVL65:
  3641. 1319 .L90:
  3642. 1120:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3643. 1320 .loc 1 1120 7 is_stmt 1 view .LVU441
  3644. 1120:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3645. 1321 .loc 1 1120 15 is_stmt 0 view .LVU442
  3646. 1322 00fa 0368 ldr r3, [r0]
  3647. 1120:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3648. 1323 .loc 1 1120 9 view .LVU443
  3649. 1324 00fc 0E4A ldr r2, .L104+12
  3650. 1325 00fe 9342 cmp r3, r2
  3651. 1326 0100 01D0 beq .L103
  3652. 1129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3653. 1327 .loc 1 1129 10 view .LVU444
  3654. 1328 0102 0020 movs r0, #0
  3655. ARM GAS /tmp/ccMhywUy.s page 64
  3656. 1329 .LVL66:
  3657. 1129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3658. 1330 .loc 1 1129 10 view .LVU445
  3659. 1331 0104 0CE0 b .L83
  3660. 1332 .LVL67:
  3661. 1333 .L103:
  3662. 1120:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3663. 1334 .loc 1 1120 54 discriminator 1 view .LVU446
  3664. 1335 0106 9A68 ldr r2, [r3, #8]
  3665. 1120:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3666. 1336 .loc 1 1120 35 discriminator 1 view .LVU447
  3667. 1337 0108 12F0405F tst r2, #805306368
  3668. 1338 010c 0CD1 bne .L99
  3669. 1123:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3670. 1339 .loc 1 1123 11 is_stmt 1 view .LVU448
  3671. 1123:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3672. 1340 .loc 1 1123 31 is_stmt 0 view .LVU449
  3673. 1341 010e 9A68 ldr r2, [r3, #8]
  3674. 1342 0110 42F08042 orr r2, r2, #1073741824
  3675. 1343 0114 9A60 str r2, [r3, #8]
  3676. 1129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3677. 1344 .loc 1 1129 10 view .LVU450
  3678. 1345 0116 0020 movs r0, #0
  3679. 1346 .LVL68:
  3680. 1129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3681. 1347 .loc 1 1129 10 view .LVU451
  3682. 1348 0118 02E0 b .L83
  3683. 1349 .LVL69:
  3684. 1350 .L93:
  3685. 1034:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3686. 1351 .loc 1 1034 3 view .LVU452
  3687. 1352 011a 0220 movs r0, #2
  3688. 1353 .LVL70:
  3689. 1034:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3690. 1354 .loc 1 1034 3 view .LVU453
  3691. 1355 011c 00E0 b .L83
  3692. 1356 .LVL71:
  3693. 1357 .L94:
  3694. 1129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3695. 1358 .loc 1 1129 10 view .LVU454
  3696. 1359 011e 0020 movs r0, #0
  3697. 1360 .LVL72:
  3698. 1361 .L83:
  3699. 1130:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3700. 1362 .loc 1 1130 1 view .LVU455
  3701. 1363 0120 02B0 add sp, sp, #8
  3702. 1364 .LCFI10:
  3703. 1365 .cfi_remember_state
  3704. 1366 .cfi_def_cfa_offset 0
  3705. 1367 @ sp needed
  3706. 1368 0122 7047 bx lr
  3707. 1369 .LVL73:
  3708. 1370 .L97:
  3709. 1371 .LCFI11:
  3710. 1372 .cfi_restore_state
  3711. 1129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3712. 1373 .loc 1 1129 10 view .LVU456
  3713. ARM GAS /tmp/ccMhywUy.s page 65
  3714. 1374 0124 0020 movs r0, #0
  3715. 1375 .LVL74:
  3716. 1129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3717. 1376 .loc 1 1129 10 view .LVU457
  3718. 1377 0126 FBE7 b .L83
  3719. 1378 .LVL75:
  3720. 1379 .L99:
  3721. 1129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3722. 1380 .loc 1 1129 10 view .LVU458
  3723. 1381 0128 0020 movs r0, #0
  3724. 1382 .LVL76:
  3725. 1129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3726. 1383 .loc 1 1129 10 view .LVU459
  3727. 1384 012a F9E7 b .L83
  3728. 1385 .L105:
  3729. 1386 .align 2
  3730. 1387 .L104:
  3731. 1388 012c 00000000 .word SystemCoreClock
  3732. 1389 0130 83DE1B43 .word 1125899907
  3733. 1390 0134 00230140 .word 1073816320
  3734. 1391 0138 00200140 .word 1073815552
  3735. 1392 013c 00220140 .word 1073816064
  3736. 1393 .cfi_endproc
  3737. 1394 .LFE138:
  3738. 1396 .section .text.HAL_ADC_Stop_IT,"ax",%progbits
  3739. 1397 .align 1
  3740. 1398 .global HAL_ADC_Stop_IT
  3741. 1399 .syntax unified
  3742. 1400 .thumb
  3743. 1401 .thumb_func
  3744. 1403 HAL_ADC_Stop_IT:
  3745. 1404 .LVL77:
  3746. 1405 .LFB139:
  3747. 1142:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check the parameters */
  3748. 1406 .loc 1 1142 1 is_stmt 1 view -0
  3749. 1407 .cfi_startproc
  3750. 1408 @ args = 0, pretend = 0, frame = 0
  3751. 1409 @ frame_needed = 0, uses_anonymous_args = 0
  3752. 1410 @ link register save eliminated.
  3753. 1144:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3754. 1411 .loc 1 1144 3 view .LVU461
  3755. 1147:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3756. 1412 .loc 1 1147 3 view .LVU462
  3757. 1147:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3758. 1413 .loc 1 1147 3 view .LVU463
  3759. 1414 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
  3760. 1415 0004 012B cmp r3, #1
  3761. 1416 0006 1FD0 beq .L109
  3762. 1147:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3763. 1417 .loc 1 1147 3 discriminator 2 view .LVU464
  3764. 1418 0008 0123 movs r3, #1
  3765. 1419 000a 80F83C30 strb r3, [r0, #60]
  3766. 1147:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3767. 1420 .loc 1 1147 3 discriminator 2 view .LVU465
  3768. 1151:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3769. 1421 .loc 1 1151 3 discriminator 2 view .LVU466
  3770. 1422 000e 0268 ldr r2, [r0]
  3771. ARM GAS /tmp/ccMhywUy.s page 66
  3772. 1423 0010 9368 ldr r3, [r2, #8]
  3773. 1424 0012 23F00103 bic r3, r3, #1
  3774. 1425 0016 9360 str r3, [r2, #8]
  3775. 1154:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3776. 1426 .loc 1 1154 3 discriminator 2 view .LVU467
  3777. 1154:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3778. 1427 .loc 1 1154 6 is_stmt 0 discriminator 2 view .LVU468
  3779. 1428 0018 0368 ldr r3, [r0]
  3780. 1429 001a 9A68 ldr r2, [r3, #8]
  3781. 1154:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3782. 1430 .loc 1 1154 5 discriminator 2 view .LVU469
  3783. 1431 001c 12F0010F tst r2, #1
  3784. 1432 0020 0DD1 bne .L108
  3785. 1157:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3786. 1433 .loc 1 1157 5 is_stmt 1 view .LVU470
  3787. 1434 0022 5A68 ldr r2, [r3, #4]
  3788. 1435 0024 22F08062 bic r2, r2, #67108864
  3789. 1436 0028 22F02002 bic r2, r2, #32
  3790. 1437 002c 5A60 str r2, [r3, #4]
  3791. 1160:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
  3792. 1438 .loc 1 1160 5 view .LVU471
  3793. 1439 002e 036C ldr r3, [r0, #64]
  3794. 1440 0030 23F48853 bic r3, r3, #4352
  3795. 1441 0034 23F00103 bic r3, r3, #1
  3796. 1442 0038 43F00103 orr r3, r3, #1
  3797. 1443 003c 0364 str r3, [r0, #64]
  3798. 1444 .L108:
  3799. 1166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3800. 1445 .loc 1 1166 3 view .LVU472
  3801. 1166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3802. 1446 .loc 1 1166 3 view .LVU473
  3803. 1447 003e 0023 movs r3, #0
  3804. 1448 0040 80F83C30 strb r3, [r0, #60]
  3805. 1166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3806. 1449 .loc 1 1166 3 view .LVU474
  3807. 1169:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3808. 1450 .loc 1 1169 3 view .LVU475
  3809. 1169:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3810. 1451 .loc 1 1169 10 is_stmt 0 view .LVU476
  3811. 1452 0044 1846 mov r0, r3
  3812. 1453 .LVL78:
  3813. 1169:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3814. 1454 .loc 1 1169 10 view .LVU477
  3815. 1455 0046 7047 bx lr
  3816. 1456 .LVL79:
  3817. 1457 .L109:
  3818. 1147:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3819. 1458 .loc 1 1147 3 view .LVU478
  3820. 1459 0048 0220 movs r0, #2
  3821. 1460 .LVL80:
  3822. 1170:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3823. 1461 .loc 1 1170 1 view .LVU479
  3824. 1462 004a 7047 bx lr
  3825. 1463 .cfi_endproc
  3826. 1464 .LFE139:
  3827. 1466 .section .text.HAL_ADC_Start_DMA,"ax",%progbits
  3828. 1467 .align 1
  3829. ARM GAS /tmp/ccMhywUy.s page 67
  3830. 1468 .global HAL_ADC_Start_DMA
  3831. 1469 .syntax unified
  3832. 1470 .thumb
  3833. 1471 .thumb_func
  3834. 1473 HAL_ADC_Start_DMA:
  3835. 1474 .LVL81:
  3836. 1475 .LFB141:
  3837. 1341:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __IO uint32_t counter = 0U;
  3838. 1476 .loc 1 1341 1 is_stmt 1 view -0
  3839. 1477 .cfi_startproc
  3840. 1478 @ args = 0, pretend = 0, frame = 8
  3841. 1479 @ frame_needed = 0, uses_anonymous_args = 0
  3842. 1341:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __IO uint32_t counter = 0U;
  3843. 1480 .loc 1 1341 1 is_stmt 0 view .LVU481
  3844. 1481 0000 30B5 push {r4, r5, lr}
  3845. 1482 .LCFI12:
  3846. 1483 .cfi_def_cfa_offset 12
  3847. 1484 .cfi_offset 4, -12
  3848. 1485 .cfi_offset 5, -8
  3849. 1486 .cfi_offset 14, -4
  3850. 1487 0002 83B0 sub sp, sp, #12
  3851. 1488 .LCFI13:
  3852. 1489 .cfi_def_cfa_offset 24
  3853. 1490 0004 1346 mov r3, r2
  3854. 1342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_Common_TypeDef *tmpADC_Common;
  3855. 1491 .loc 1 1342 3 is_stmt 1 view .LVU482
  3856. 1342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_Common_TypeDef *tmpADC_Common;
  3857. 1492 .loc 1 1342 17 is_stmt 0 view .LVU483
  3858. 1493 0006 0022 movs r2, #0
  3859. 1494 .LVL82:
  3860. 1342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_Common_TypeDef *tmpADC_Common;
  3861. 1495 .loc 1 1342 17 view .LVU484
  3862. 1496 0008 0192 str r2, [sp, #4]
  3863. 1343:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3864. 1497 .loc 1 1343 3 is_stmt 1 view .LVU485
  3865. 1346:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_EXT_TRIG_EDGE(hadc->Init.ExternalTrigConvEdge));
  3866. 1498 .loc 1 1346 3 view .LVU486
  3867. 1347:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3868. 1499 .loc 1 1347 3 view .LVU487
  3869. 1350:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3870. 1500 .loc 1 1350 3 view .LVU488
  3871. 1350:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3872. 1501 .loc 1 1350 3 view .LVU489
  3873. 1502 000a 90F83C20 ldrb r2, [r0, #60] @ zero_extendqisi2
  3874. 1503 000e 012A cmp r2, #1
  3875. 1504 0010 00F09A80 beq .L121
  3876. 1505 0014 0546 mov r5, r0
  3877. 1350:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3878. 1506 .loc 1 1350 3 discriminator 2 view .LVU490
  3879. 1507 0016 0122 movs r2, #1
  3880. 1508 0018 80F83C20 strb r2, [r0, #60]
  3881. 1350:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3882. 1509 .loc 1 1350 3 discriminator 2 view .LVU491
  3883. 1355:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3884. 1510 .loc 1 1355 3 discriminator 2 view .LVU492
  3885. 1355:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3886. 1511 .loc 1 1355 11 is_stmt 0 discriminator 2 view .LVU493
  3887. ARM GAS /tmp/ccMhywUy.s page 68
  3888. 1512 001c 0268 ldr r2, [r0]
  3889. 1355:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3890. 1513 .loc 1 1355 21 discriminator 2 view .LVU494
  3891. 1514 001e 9068 ldr r0, [r2, #8]
  3892. 1515 .LVL83:
  3893. 1355:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3894. 1516 .loc 1 1355 5 discriminator 2 view .LVU495
  3895. 1517 0020 10F0010F tst r0, #1
  3896. 1518 0024 13D1 bne .L112
  3897. 1358:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3898. 1519 .loc 1 1358 5 is_stmt 1 view .LVU496
  3899. 1520 0026 9068 ldr r0, [r2, #8]
  3900. 1521 0028 40F00100 orr r0, r0, #1
  3901. 1522 002c 9060 str r0, [r2, #8]
  3902. 1362:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** while(counter != 0U)
  3903. 1523 .loc 1 1362 5 view .LVU497
  3904. 1362:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** while(counter != 0U)
  3905. 1524 .loc 1 1362 53 is_stmt 0 view .LVU498
  3906. 1525 002e 4B4A ldr r2, .L132
  3907. 1526 0030 1068 ldr r0, [r2]
  3908. 1527 0032 4B4A ldr r2, .L132+4
  3909. 1528 0034 A2FB0020 umull r2, r0, r2, r0
  3910. 1529 0038 800C lsrs r0, r0, #18
  3911. 1362:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** while(counter != 0U)
  3912. 1530 .loc 1 1362 34 view .LVU499
  3913. 1531 003a 00EB4000 add r0, r0, r0, lsl #1
  3914. 1362:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** while(counter != 0U)
  3915. 1532 .loc 1 1362 13 view .LVU500
  3916. 1533 003e 0190 str r0, [sp, #4]
  3917. 1363:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3918. 1534 .loc 1 1363 5 is_stmt 1 view .LVU501
  3919. 1363:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3920. 1535 .loc 1 1363 10 is_stmt 0 view .LVU502
  3921. 1536 0040 02E0 b .L113
  3922. 1537 .L114:
  3923. 1365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3924. 1538 .loc 1 1365 7 is_stmt 1 view .LVU503
  3925. 1365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3926. 1539 .loc 1 1365 14 is_stmt 0 view .LVU504
  3927. 1540 0042 019C ldr r4, [sp, #4]
  3928. 1541 0044 013C subs r4, r4, #1
  3929. 1542 0046 0194 str r4, [sp, #4]
  3930. 1543 .L113:
  3931. 1363:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3932. 1544 .loc 1 1363 10 is_stmt 1 view .LVU505
  3933. 1363:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3934. 1545 .loc 1 1363 19 is_stmt 0 view .LVU506
  3935. 1546 0048 0198 ldr r0, [sp, #4]
  3936. 1363:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3937. 1547 .loc 1 1363 10 view .LVU507
  3938. 1548 004a 0028 cmp r0, #0
  3939. 1549 004c F9D1 bne .L114
  3940. 1550 .L112:
  3941. 1370:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3942. 1551 .loc 1 1370 3 is_stmt 1 view .LVU508
  3943. 1370:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3944. 1552 .loc 1 1370 6 is_stmt 0 view .LVU509
  3945. ARM GAS /tmp/ccMhywUy.s page 69
  3946. 1553 004e 2A68 ldr r2, [r5]
  3947. 1554 0050 9068 ldr r0, [r2, #8]
  3948. 1370:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3949. 1555 .loc 1 1370 5 view .LVU510
  3950. 1556 0052 10F0010F tst r0, #1
  3951. 1557 0056 79D0 beq .L122
  3952. 1375:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC | HAL_ADC_STATE_REG_OVR,
  3953. 1558 .loc 1 1375 5 is_stmt 1 view .LVU511
  3954. 1559 0058 286C ldr r0, [r5, #64]
  3955. 1560 005a 20F4E060 bic r0, r0, #1792
  3956. 1561 005e 20F00100 bic r0, r0, #1
  3957. 1562 0062 40F48070 orr r0, r0, #256
  3958. 1563 0066 2864 str r0, [r5, #64]
  3959. 1381:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3960. 1564 .loc 1 1381 5 view .LVU512
  3961. 1381:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3962. 1565 .loc 1 1381 9 is_stmt 0 view .LVU513
  3963. 1566 0068 5268 ldr r2, [r2, #4]
  3964. 1381:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3965. 1567 .loc 1 1381 8 view .LVU514
  3966. 1568 006a 12F4806F tst r2, #1024
  3967. 1569 006e 05D0 beq .L115
  3968. 1383:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3969. 1570 .loc 1 1383 7 is_stmt 1 view .LVU515
  3970. 1571 0070 2A6C ldr r2, [r5, #64]
  3971. 1572 0072 22F44052 bic r2, r2, #12288
  3972. 1573 0076 42F48052 orr r2, r2, #4096
  3973. 1574 007a 2A64 str r2, [r5, #64]
  3974. 1575 .L115:
  3975. 1387:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3976. 1576 .loc 1 1387 5 view .LVU516
  3977. 1387:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3978. 1577 .loc 1 1387 9 is_stmt 0 view .LVU517
  3979. 1578 007c 2A6C ldr r2, [r5, #64]
  3980. 1387:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  3981. 1579 .loc 1 1387 8 view .LVU518
  3982. 1580 007e 12F4805F tst r2, #4096
  3983. 1581 0082 36D0 beq .L116
  3984. 1390:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  3985. 1582 .loc 1 1390 7 is_stmt 1 view .LVU519
  3986. 1583 0084 6A6C ldr r2, [r5, #68]
  3987. 1584 0086 22F00602 bic r2, r2, #6
  3988. 1585 008a 6A64 str r2, [r5, #68]
  3989. 1586 .L117:
  3990. 1401:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3991. 1587 .loc 1 1401 5 view .LVU520
  3992. 1401:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3993. 1588 .loc 1 1401 5 view .LVU521
  3994. 1589 008c 0022 movs r2, #0
  3995. 1590 008e 85F83C20 strb r2, [r5, #60]
  3996. 1401:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3997. 1591 .loc 1 1401 5 view .LVU522
  3998. 1406:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  3999. 1592 .loc 1 1406 5 view .LVU523
  4000. 1593 .LVL84:
  4001. 1409:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4002. 1594 .loc 1 1409 5 view .LVU524
  4003. ARM GAS /tmp/ccMhywUy.s page 70
  4004. 1409:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4005. 1595 .loc 1 1409 9 is_stmt 0 view .LVU525
  4006. 1596 0092 AA6B ldr r2, [r5, #56]
  4007. 1409:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4008. 1597 .loc 1 1409 40 view .LVU526
  4009. 1598 0094 3348 ldr r0, .L132+8
  4010. 1599 0096 D063 str r0, [r2, #60]
  4011. 1412:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4012. 1600 .loc 1 1412 5 is_stmt 1 view .LVU527
  4013. 1412:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4014. 1601 .loc 1 1412 9 is_stmt 0 view .LVU528
  4015. 1602 0098 AA6B ldr r2, [r5, #56]
  4016. 1412:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4017. 1603 .loc 1 1412 44 view .LVU529
  4018. 1604 009a 3348 ldr r0, .L132+12
  4019. 1605 009c 1064 str r0, [r2, #64]
  4020. 1415:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4021. 1606 .loc 1 1415 5 is_stmt 1 view .LVU530
  4022. 1415:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4023. 1607 .loc 1 1415 9 is_stmt 0 view .LVU531
  4024. 1608 009e AA6B ldr r2, [r5, #56]
  4025. 1415:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4026. 1609 .loc 1 1415 41 view .LVU532
  4027. 1610 00a0 3248 ldr r0, .L132+16
  4028. 1611 00a2 D064 str r0, [r2, #76]
  4029. 1423:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4030. 1612 .loc 1 1423 5 is_stmt 1 view .LVU533
  4031. 1613 00a4 2A68 ldr r2, [r5]
  4032. 1614 00a6 6FF02200 mvn r0, #34
  4033. 1615 00aa 1060 str r0, [r2]
  4034. 1426:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4035. 1616 .loc 1 1426 5 view .LVU534
  4036. 1617 00ac 2868 ldr r0, [r5]
  4037. 1618 00ae 4268 ldr r2, [r0, #4]
  4038. 1619 00b0 42F08062 orr r2, r2, #67108864
  4039. 1620 00b4 4260 str r2, [r0, #4]
  4040. 1429:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4041. 1621 .loc 1 1429 5 view .LVU535
  4042. 1429:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4043. 1622 .loc 1 1429 9 is_stmt 0 view .LVU536
  4044. 1623 00b6 2868 ldr r0, [r5]
  4045. 1429:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4046. 1624 .loc 1 1429 25 view .LVU537
  4047. 1625 00b8 8268 ldr r2, [r0, #8]
  4048. 1626 00ba 42F48072 orr r2, r2, #256
  4049. 1627 00be 8260 str r2, [r0, #8]
  4050. 1432:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4051. 1628 .loc 1 1432 5 is_stmt 1 view .LVU538
  4052. 1432:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4053. 1629 .loc 1 1432 55 is_stmt 0 view .LVU539
  4054. 1630 00c0 2868 ldr r0, [r5]
  4055. 1432:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4056. 1631 .loc 1 1432 5 view .LVU540
  4057. 1632 00c2 0A46 mov r2, r1
  4058. 1633 00c4 00F14C01 add r1, r0, #76
  4059. 1634 .LVL85:
  4060. 1432:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4061. ARM GAS /tmp/ccMhywUy.s page 71
  4062. 1635 .loc 1 1432 5 view .LVU541
  4063. 1636 00c8 A86B ldr r0, [r5, #56]
  4064. 1637 00ca FFF7FEFF bl HAL_DMA_Start_IT
  4065. 1638 .LVL86:
  4066. 1435:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4067. 1639 .loc 1 1435 5 is_stmt 1 view .LVU542
  4068. 1435:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4069. 1640 .loc 1 1435 8 is_stmt 0 view .LVU543
  4070. 1641 00ce 284B ldr r3, .L132+20
  4071. 1642 00d0 5B68 ldr r3, [r3, #4]
  4072. 1435:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4073. 1643 .loc 1 1435 7 view .LVU544
  4074. 1644 00d2 13F01F0F tst r3, #31
  4075. 1645 00d6 27D1 bne .L118
  4076. 1438:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** || ((hadc->Instance == ADC3) && ((ADC->CCR & ADC_CCR_MULTI_Msk) <
  4077. 1646 .loc 1 1438 7 is_stmt 1 view .LVU545
  4078. 1438:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** || ((hadc->Instance == ADC3) && ((ADC->CCR & ADC_CCR_MULTI_Msk) <
  4079. 1647 .loc 1 1438 15 is_stmt 0 view .LVU546
  4080. 1648 00d8 2B68 ldr r3, [r5]
  4081. 1438:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** || ((hadc->Instance == ADC3) && ((ADC->CCR & ADC_CCR_MULTI_Msk) <
  4082. 1649 .loc 1 1438 9 view .LVU547
  4083. 1650 00da 264A ldr r2, .L132+24
  4084. 1651 00dc 9342 cmp r3, r2
  4085. 1652 00de 11D0 beq .L119
  4086. 1438:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** || ((hadc->Instance == ADC3) && ((ADC->CCR & ADC_CCR_MULTI_Msk) <
  4087. 1653 .loc 1 1438 35 discriminator 1 view .LVU548
  4088. 1654 00e0 02F58072 add r2, r2, #256
  4089. 1655 00e4 9342 cmp r3, r2
  4090. 1656 00e6 07D0 beq .L129
  4091. 1657 .L120:
  4092. 1439:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4093. 1658 .loc 1 1439 35 view .LVU549
  4094. 1659 00e8 234A ldr r2, .L132+28
  4095. 1660 00ea 9342 cmp r3, r2
  4096. 1661 00ec 14D0 beq .L130
  4097. 1464:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4098. 1662 .loc 1 1464 10 view .LVU550
  4099. 1663 00ee 0020 movs r0, #0
  4100. 1664 00f0 2DE0 b .L111
  4101. 1665 .LVL87:
  4102. 1666 .L116:
  4103. 1395:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4104. 1667 .loc 1 1395 7 is_stmt 1 view .LVU551
  4105. 1668 00f2 0022 movs r2, #0
  4106. 1669 00f4 6A64 str r2, [r5, #68]
  4107. 1670 00f6 C9E7 b .L117
  4108. 1671 .LVL88:
  4109. 1672 .L129:
  4110. 1438:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** || ((hadc->Instance == ADC3) && ((ADC->CCR & ADC_CCR_MULTI_Msk) <
  4111. 1673 .loc 1 1438 72 is_stmt 0 discriminator 2 view .LVU552
  4112. 1674 00f8 02F50072 add r2, r2, #512
  4113. 1675 00fc 5268 ldr r2, [r2, #4]
  4114. 1438:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** || ((hadc->Instance == ADC3) && ((ADC->CCR & ADC_CCR_MULTI_Msk) <
  4115. 1676 .loc 1 1438 64 discriminator 2 view .LVU553
  4116. 1677 00fe 12F01F0F tst r2, #31
  4117. 1678 0102 F1D1 bne .L120
  4118. 1679 .L119:
  4119. ARM GAS /tmp/ccMhywUy.s page 72
  4120. 1443:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4121. 1680 .loc 1 1443 9 is_stmt 1 view .LVU554
  4122. 1443:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4123. 1681 .loc 1 1443 27 is_stmt 0 view .LVU555
  4124. 1682 0104 9A68 ldr r2, [r3, #8]
  4125. 1443:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4126. 1683 .loc 1 1443 11 view .LVU556
  4127. 1684 0106 12F0405F tst r2, #805306368
  4128. 1685 010a 22D1 bne .L125
  4129. 1446:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4130. 1686 .loc 1 1446 11 is_stmt 1 view .LVU557
  4131. 1446:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4132. 1687 .loc 1 1446 31 is_stmt 0 view .LVU558
  4133. 1688 010c 9A68 ldr r2, [r3, #8]
  4134. 1689 010e 42F08042 orr r2, r2, #1073741824
  4135. 1690 0112 9A60 str r2, [r3, #8]
  4136. 1464:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4137. 1691 .loc 1 1464 10 view .LVU559
  4138. 1692 0114 0020 movs r0, #0
  4139. 1693 0116 1AE0 b .L111
  4140. 1694 .L130:
  4141. 1439:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4142. 1695 .loc 1 1439 72 discriminator 1 view .LVU560
  4143. 1696 0118 02F58072 add r2, r2, #256
  4144. 1697 011c 5268 ldr r2, [r2, #4]
  4145. 1439:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4146. 1698 .loc 1 1439 64 discriminator 1 view .LVU561
  4147. 1699 011e 12F0100F tst r2, #16
  4148. 1700 0122 EFD0 beq .L119
  4149. 1464:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4150. 1701 .loc 1 1464 10 view .LVU562
  4151. 1702 0124 0020 movs r0, #0
  4152. 1703 0126 12E0 b .L111
  4153. 1704 .L118:
  4154. 1455:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4155. 1705 .loc 1 1455 7 is_stmt 1 view .LVU563
  4156. 1455:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4157. 1706 .loc 1 1455 15 is_stmt 0 view .LVU564
  4158. 1707 0128 2B68 ldr r3, [r5]
  4159. 1455:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4160. 1708 .loc 1 1455 9 view .LVU565
  4161. 1709 012a 124A ldr r2, .L132+24
  4162. 1710 012c 9342 cmp r3, r2
  4163. 1711 012e 01D0 beq .L131
  4164. 1464:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4165. 1712 .loc 1 1464 10 view .LVU566
  4166. 1713 0130 0020 movs r0, #0
  4167. 1714 0132 0CE0 b .L111
  4168. 1715 .L131:
  4169. 1455:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4170. 1716 .loc 1 1455 54 discriminator 1 view .LVU567
  4171. 1717 0134 9A68 ldr r2, [r3, #8]
  4172. 1455:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4173. 1718 .loc 1 1455 35 discriminator 1 view .LVU568
  4174. 1719 0136 12F0405F tst r2, #805306368
  4175. 1720 013a 0CD1 bne .L127
  4176. 1458:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4177. ARM GAS /tmp/ccMhywUy.s page 73
  4178. 1721 .loc 1 1458 11 is_stmt 1 view .LVU569
  4179. 1458:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4180. 1722 .loc 1 1458 31 is_stmt 0 view .LVU570
  4181. 1723 013c 9A68 ldr r2, [r3, #8]
  4182. 1724 013e 42F08042 orr r2, r2, #1073741824
  4183. 1725 0142 9A60 str r2, [r3, #8]
  4184. 1464:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4185. 1726 .loc 1 1464 10 view .LVU571
  4186. 1727 0144 0020 movs r0, #0
  4187. 1728 0146 02E0 b .L111
  4188. 1729 .LVL89:
  4189. 1730 .L121:
  4190. 1350:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4191. 1731 .loc 1 1350 3 view .LVU572
  4192. 1732 0148 0220 movs r0, #2
  4193. 1733 .LVL90:
  4194. 1350:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4195. 1734 .loc 1 1350 3 view .LVU573
  4196. 1735 014a 00E0 b .L111
  4197. 1736 .LVL91:
  4198. 1737 .L122:
  4199. 1464:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4200. 1738 .loc 1 1464 10 view .LVU574
  4201. 1739 014c 0020 movs r0, #0
  4202. 1740 .LVL92:
  4203. 1741 .L111:
  4204. 1465:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4205. 1742 .loc 1 1465 1 view .LVU575
  4206. 1743 014e 03B0 add sp, sp, #12
  4207. 1744 .LCFI14:
  4208. 1745 .cfi_remember_state
  4209. 1746 .cfi_def_cfa_offset 12
  4210. 1747 @ sp needed
  4211. 1748 0150 30BD pop {r4, r5, pc}
  4212. 1749 .LVL93:
  4213. 1750 .L125:
  4214. 1751 .LCFI15:
  4215. 1752 .cfi_restore_state
  4216. 1464:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4217. 1753 .loc 1 1464 10 view .LVU576
  4218. 1754 0152 0020 movs r0, #0
  4219. 1755 0154 FBE7 b .L111
  4220. 1756 .L127:
  4221. 1464:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4222. 1757 .loc 1 1464 10 view .LVU577
  4223. 1758 0156 0020 movs r0, #0
  4224. 1759 0158 F9E7 b .L111
  4225. 1760 .L133:
  4226. 1761 015a 00BF .align 2
  4227. 1762 .L132:
  4228. 1763 015c 00000000 .word SystemCoreClock
  4229. 1764 0160 83DE1B43 .word 1125899907
  4230. 1765 0164 00000000 .word ADC_DMAConvCplt
  4231. 1766 0168 00000000 .word ADC_DMAHalfConvCplt
  4232. 1767 016c 00000000 .word ADC_DMAError
  4233. 1768 0170 00230140 .word 1073816320
  4234. 1769 0174 00200140 .word 1073815552
  4235. ARM GAS /tmp/ccMhywUy.s page 74
  4236. 1770 0178 00220140 .word 1073816064
  4237. 1771 .cfi_endproc
  4238. 1772 .LFE141:
  4239. 1774 .section .text.HAL_ADC_Stop_DMA,"ax",%progbits
  4240. 1775 .align 1
  4241. 1776 .global HAL_ADC_Stop_DMA
  4242. 1777 .syntax unified
  4243. 1778 .thumb
  4244. 1779 .thumb_func
  4245. 1781 HAL_ADC_Stop_DMA:
  4246. 1782 .LVL94:
  4247. 1783 .LFB142:
  4248. 1474:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
  4249. 1784 .loc 1 1474 1 is_stmt 1 view -0
  4250. 1785 .cfi_startproc
  4251. 1786 @ args = 0, pretend = 0, frame = 0
  4252. 1787 @ frame_needed = 0, uses_anonymous_args = 0
  4253. 1475:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4254. 1788 .loc 1 1475 3 view .LVU579
  4255. 1478:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4256. 1789 .loc 1 1478 3 view .LVU580
  4257. 1481:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4258. 1790 .loc 1 1481 3 view .LVU581
  4259. 1481:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4260. 1791 .loc 1 1481 3 view .LVU582
  4261. 1792 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
  4262. 1793 0004 012B cmp r3, #1
  4263. 1794 0006 28D0 beq .L137
  4264. 1474:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
  4265. 1795 .loc 1 1474 1 is_stmt 0 discriminator 2 view .LVU583
  4266. 1796 0008 10B5 push {r4, lr}
  4267. 1797 .LCFI16:
  4268. 1798 .cfi_def_cfa_offset 8
  4269. 1799 .cfi_offset 4, -8
  4270. 1800 .cfi_offset 14, -4
  4271. 1801 000a 0446 mov r4, r0
  4272. 1481:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4273. 1802 .loc 1 1481 3 is_stmt 1 discriminator 2 view .LVU584
  4274. 1803 000c 0123 movs r3, #1
  4275. 1804 000e 80F83C30 strb r3, [r0, #60]
  4276. 1481:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4277. 1805 .loc 1 1481 3 discriminator 2 view .LVU585
  4278. 1485:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4279. 1806 .loc 1 1485 3 discriminator 2 view .LVU586
  4280. 1807 0012 0268 ldr r2, [r0]
  4281. 1808 0014 9368 ldr r3, [r2, #8]
  4282. 1809 0016 23F00103 bic r3, r3, #1
  4283. 1810 001a 9360 str r3, [r2, #8]
  4284. 1488:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4285. 1811 .loc 1 1488 3 discriminator 2 view .LVU587
  4286. 1488:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4287. 1812 .loc 1 1488 6 is_stmt 0 discriminator 2 view .LVU588
  4288. 1813 001c 0368 ldr r3, [r0]
  4289. 1814 001e 9A68 ldr r2, [r3, #8]
  4290. 1488:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4291. 1815 .loc 1 1488 5 discriminator 2 view .LVU589
  4292. 1816 0020 12F0010F tst r2, #1
  4293. ARM GAS /tmp/ccMhywUy.s page 75
  4294. 1817 0024 04D0 beq .L143
  4295. 1475:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4296. 1818 .loc 1 1475 21 view .LVU590
  4297. 1819 0026 0020 movs r0, #0
  4298. 1820 .LVL95:
  4299. 1821 .L136:
  4300. 1507:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4301. 1822 .loc 1 1507 3 is_stmt 1 view .LVU591
  4302. 1507:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4303. 1823 .loc 1 1507 3 view .LVU592
  4304. 1824 0028 0023 movs r3, #0
  4305. 1825 002a 84F83C30 strb r3, [r4, #60]
  4306. 1507:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4307. 1826 .loc 1 1507 3 view .LVU593
  4308. 1510:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4309. 1827 .loc 1 1510 3 view .LVU594
  4310. 1511:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4311. 1828 .loc 1 1511 1 is_stmt 0 view .LVU595
  4312. 1829 002e 10BD pop {r4, pc}
  4313. 1830 .LVL96:
  4314. 1831 .L143:
  4315. 1491:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4316. 1832 .loc 1 1491 5 is_stmt 1 view .LVU596
  4317. 1491:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4318. 1833 .loc 1 1491 25 is_stmt 0 view .LVU597
  4319. 1834 0030 9A68 ldr r2, [r3, #8]
  4320. 1835 0032 22F48072 bic r2, r2, #256
  4321. 1836 0036 9A60 str r2, [r3, #8]
  4322. 1495:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4323. 1837 .loc 1 1495 5 is_stmt 1 view .LVU598
  4324. 1495:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4325. 1838 .loc 1 1495 22 is_stmt 0 view .LVU599
  4326. 1839 0038 806B ldr r0, [r0, #56]
  4327. 1840 .LVL97:
  4328. 1495:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4329. 1841 .loc 1 1495 22 view .LVU600
  4330. 1842 003a FFF7FEFF bl HAL_DMA_Abort
  4331. 1843 .LVL98:
  4332. 1498:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4333. 1844 .loc 1 1498 5 is_stmt 1 view .LVU601
  4334. 1845 003e 2268 ldr r2, [r4]
  4335. 1846 0040 5368 ldr r3, [r2, #4]
  4336. 1847 0042 23F08063 bic r3, r3, #67108864
  4337. 1848 0046 5360 str r3, [r2, #4]
  4338. 1501:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
  4339. 1849 .loc 1 1501 5 view .LVU602
  4340. 1850 0048 236C ldr r3, [r4, #64]
  4341. 1851 004a 23F48853 bic r3, r3, #4352
  4342. 1852 004e 23F00103 bic r3, r3, #1
  4343. 1853 0052 43F00103 orr r3, r3, #1
  4344. 1854 0056 2364 str r3, [r4, #64]
  4345. 1855 0058 E6E7 b .L136
  4346. 1856 .LVL99:
  4347. 1857 .L137:
  4348. 1858 .LCFI17:
  4349. 1859 .cfi_def_cfa_offset 0
  4350. 1860 .cfi_restore 4
  4351. ARM GAS /tmp/ccMhywUy.s page 76
  4352. 1861 .cfi_restore 14
  4353. 1481:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4354. 1862 .loc 1 1481 3 is_stmt 0 view .LVU603
  4355. 1863 005a 0220 movs r0, #2
  4356. 1864 .LVL100:
  4357. 1511:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4358. 1865 .loc 1 1511 1 view .LVU604
  4359. 1866 005c 7047 bx lr
  4360. 1867 .cfi_endproc
  4361. 1868 .LFE142:
  4362. 1870 .section .text.HAL_ADC_GetValue,"ax",%progbits
  4363. 1871 .align 1
  4364. 1872 .global HAL_ADC_GetValue
  4365. 1873 .syntax unified
  4366. 1874 .thumb
  4367. 1875 .thumb_func
  4368. 1877 HAL_ADC_GetValue:
  4369. 1878 .LVL101:
  4370. 1879 .LFB143:
  4371. 1520:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Return the selected ADC converted value */
  4372. 1880 .loc 1 1520 1 is_stmt 1 view -0
  4373. 1881 .cfi_startproc
  4374. 1882 @ args = 0, pretend = 0, frame = 0
  4375. 1883 @ frame_needed = 0, uses_anonymous_args = 0
  4376. 1884 @ link register save eliminated.
  4377. 1522:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4378. 1885 .loc 1 1522 3 view .LVU606
  4379. 1522:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4380. 1886 .loc 1 1522 14 is_stmt 0 view .LVU607
  4381. 1887 0000 0368 ldr r3, [r0]
  4382. 1522:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4383. 1888 .loc 1 1522 24 view .LVU608
  4384. 1889 0002 D86C ldr r0, [r3, #76]
  4385. 1890 .LVL102:
  4386. 1523:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4387. 1891 .loc 1 1523 1 view .LVU609
  4388. 1892 0004 7047 bx lr
  4389. 1893 .cfi_endproc
  4390. 1894 .LFE143:
  4391. 1896 .section .text.HAL_ADC_ConvCpltCallback,"ax",%progbits
  4392. 1897 .align 1
  4393. 1898 .weak HAL_ADC_ConvCpltCallback
  4394. 1899 .syntax unified
  4395. 1900 .thumb
  4396. 1901 .thumb_func
  4397. 1903 HAL_ADC_ConvCpltCallback:
  4398. 1904 .LVL103:
  4399. 1905 .LFB144:
  4400. 1532:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
  4401. 1906 .loc 1 1532 1 is_stmt 1 view -0
  4402. 1907 .cfi_startproc
  4403. 1908 @ args = 0, pretend = 0, frame = 0
  4404. 1909 @ frame_needed = 0, uses_anonymous_args = 0
  4405. 1910 @ link register save eliminated.
  4406. 1534:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* NOTE : This function Should not be modified, when the callback is needed,
  4407. 1911 .loc 1 1534 3 view .LVU611
  4408. 1538:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4409. ARM GAS /tmp/ccMhywUy.s page 77
  4410. 1912 .loc 1 1538 1 is_stmt 0 view .LVU612
  4411. 1913 0000 7047 bx lr
  4412. 1914 .cfi_endproc
  4413. 1915 .LFE144:
  4414. 1917 .section .text.HAL_ADC_ConvHalfCpltCallback,"ax",%progbits
  4415. 1918 .align 1
  4416. 1919 .weak HAL_ADC_ConvHalfCpltCallback
  4417. 1920 .syntax unified
  4418. 1921 .thumb
  4419. 1922 .thumb_func
  4420. 1924 HAL_ADC_ConvHalfCpltCallback:
  4421. 1925 .LVL104:
  4422. 1926 .LFB145:
  4423. 1547:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
  4424. 1927 .loc 1 1547 1 is_stmt 1 view -0
  4425. 1928 .cfi_startproc
  4426. 1929 @ args = 0, pretend = 0, frame = 0
  4427. 1930 @ frame_needed = 0, uses_anonymous_args = 0
  4428. 1931 @ link register save eliminated.
  4429. 1549:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* NOTE : This function Should not be modified, when the callback is needed,
  4430. 1932 .loc 1 1549 3 view .LVU614
  4431. 1553:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4432. 1933 .loc 1 1553 1 is_stmt 0 view .LVU615
  4433. 1934 0000 7047 bx lr
  4434. 1935 .cfi_endproc
  4435. 1936 .LFE145:
  4436. 1938 .section .text.ADC_DMAHalfConvCplt,"ax",%progbits
  4437. 1939 .align 1
  4438. 1940 .syntax unified
  4439. 1941 .thumb
  4440. 1942 .thumb_func
  4441. 1944 ADC_DMAHalfConvCplt:
  4442. 1945 .LVL105:
  4443. 1946 .LFB154:
  4444. 1938:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4445. 1939:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  4446. 1940:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief DMA transfer complete callback.
  4447. 1941:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  4448. 1942:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified DMA module.
  4449. 1943:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval None
  4450. 1944:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  4451. 1945:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** static void ADC_DMAConvCplt(DMA_HandleTypeDef *hdma)
  4452. 1946:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4453. 1947:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Retrieve ADC handle corresponding to current DMA handle */
  4454. 1948:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_HandleTypeDef* hadc = ( ADC_HandleTypeDef* )((DMA_HandleTypeDef* )hdma)->Parent;
  4455. 1949:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4456. 1950:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Update state machine on conversion status if not in error state */
  4457. 1951:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL | HAL_ADC_STATE_ERROR_DMA))
  4458. 1952:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4459. 1953:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Update ADC state machine */
  4460. 1954:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_REG_EOC);
  4461. 1955:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4462. 1956:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Determine whether any further conversion upcoming on group regular */
  4463. 1957:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* by external trigger, continuous mode or scan sequence on going. */
  4464. 1958:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Note: On STM32F4, there is no independent flag of end of sequence. */
  4465. 1959:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* The test of scan sequence on going is done either with scan */
  4466. 1960:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* sequence disabled or with end of conversion flag set to */
  4467. ARM GAS /tmp/ccMhywUy.s page 78
  4468. 1961:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* of end of sequence. */
  4469. 1962:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if(ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
  4470. 1963:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
  4471. 1964:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (HAL_IS_BIT_CLR(hadc->Instance->SQR1, ADC_SQR1_L) ||
  4472. 1965:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) )
  4473. 1966:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4474. 1967:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Disable ADC end of single conversion interrupt on group regular */
  4475. 1968:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Note: Overrun interrupt was enabled with EOC interrupt in */
  4476. 1969:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* HAL_ADC_Start_IT(), but is not disabled here because can be used */
  4477. 1970:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* by overrun IRQ process below. */
  4478. 1971:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_EOC);
  4479. 1972:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4480. 1973:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC state */
  4481. 1974:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_REG_BUSY);
  4482. 1975:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4483. 1976:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_INJ_BUSY))
  4484. 1977:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4485. 1978:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_READY);
  4486. 1979:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4487. 1980:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4488. 1981:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4489. 1982:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Conversion complete callback */
  4490. 1983:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
  4491. 1984:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->ConvCpltCallback(hadc);
  4492. 1985:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #else
  4493. 1986:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_ConvCpltCallback(hadc);
  4494. 1987:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
  4495. 1988:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4496. 1989:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** else /* DMA and-or internal error occurred */
  4497. 1990:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4498. 1991:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** if ((hadc->State & HAL_ADC_STATE_ERROR_INTERNAL) != 0UL)
  4499. 1992:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4500. 1993:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Call HAL ADC Error Callback function */
  4501. 1994:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
  4502. 1995:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->ErrorCallback(hadc);
  4503. 1996:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #else
  4504. 1997:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_ErrorCallback(hadc);
  4505. 1998:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
  4506. 1999:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4507. 2000:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** else
  4508. 2001:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4509. 2002:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Call DMA error callback */
  4510. 2003:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->DMA_Handle->XferErrorCallback(hdma);
  4511. 2004:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4512. 2005:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4513. 2006:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4514. 2007:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4515. 2008:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  4516. 2009:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief DMA half transfer complete callback.
  4517. 2010:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  4518. 2011:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified DMA module.
  4519. 2012:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval None
  4520. 2013:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  4521. 2014:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** static void ADC_DMAHalfConvCplt(DMA_HandleTypeDef *hdma)
  4522. 2015:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4523. 1947 .loc 1 2015 1 is_stmt 1 view -0
  4524. 1948 .cfi_startproc
  4525. ARM GAS /tmp/ccMhywUy.s page 79
  4526. 1949 @ args = 0, pretend = 0, frame = 0
  4527. 1950 @ frame_needed = 0, uses_anonymous_args = 0
  4528. 1951 .loc 1 2015 1 is_stmt 0 view .LVU617
  4529. 1952 0000 08B5 push {r3, lr}
  4530. 1953 .LCFI18:
  4531. 1954 .cfi_def_cfa_offset 8
  4532. 1955 .cfi_offset 3, -8
  4533. 1956 .cfi_offset 14, -4
  4534. 2016:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_HandleTypeDef* hadc = ( ADC_HandleTypeDef* )((DMA_HandleTypeDef* )hdma)->Parent;
  4535. 1957 .loc 1 2016 3 is_stmt 1 view .LVU618
  4536. 1958 .LVL106:
  4537. 2017:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Half conversion callback */
  4538. 2018:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
  4539. 2019:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->ConvHalfCpltCallback(hadc);
  4540. 2020:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #else
  4541. 2021:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_ConvHalfCpltCallback(hadc);
  4542. 1959 .loc 1 2021 3 view .LVU619
  4543. 1960 0002 806B ldr r0, [r0, #56]
  4544. 1961 .LVL107:
  4545. 1962 .loc 1 2021 3 is_stmt 0 view .LVU620
  4546. 1963 0004 FFF7FEFF bl HAL_ADC_ConvHalfCpltCallback
  4547. 1964 .LVL108:
  4548. 2022:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
  4549. 2023:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4550. 1965 .loc 1 2023 1 view .LVU621
  4551. 1966 0008 08BD pop {r3, pc}
  4552. 1967 .cfi_endproc
  4553. 1968 .LFE154:
  4554. 1970 .section .text.HAL_ADC_LevelOutOfWindowCallback,"ax",%progbits
  4555. 1971 .align 1
  4556. 1972 .weak HAL_ADC_LevelOutOfWindowCallback
  4557. 1973 .syntax unified
  4558. 1974 .thumb
  4559. 1975 .thumb_func
  4560. 1977 HAL_ADC_LevelOutOfWindowCallback:
  4561. 1978 .LVL109:
  4562. 1979 .LFB146:
  4563. 1562:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
  4564. 1980 .loc 1 1562 1 is_stmt 1 view -0
  4565. 1981 .cfi_startproc
  4566. 1982 @ args = 0, pretend = 0, frame = 0
  4567. 1983 @ frame_needed = 0, uses_anonymous_args = 0
  4568. 1984 @ link register save eliminated.
  4569. 1564:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* NOTE : This function Should not be modified, when the callback is needed,
  4570. 1985 .loc 1 1564 3 view .LVU623
  4571. 1568:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4572. 1986 .loc 1 1568 1 is_stmt 0 view .LVU624
  4573. 1987 0000 7047 bx lr
  4574. 1988 .cfi_endproc
  4575. 1989 .LFE146:
  4576. 1991 .section .text.HAL_ADC_ErrorCallback,"ax",%progbits
  4577. 1992 .align 1
  4578. 1993 .weak HAL_ADC_ErrorCallback
  4579. 1994 .syntax unified
  4580. 1995 .thumb
  4581. 1996 .thumb_func
  4582. 1998 HAL_ADC_ErrorCallback:
  4583. ARM GAS /tmp/ccMhywUy.s page 80
  4584. 1999 .LVL110:
  4585. 2000 .LFB147:
  4586. 1583:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
  4587. 2001 .loc 1 1583 1 is_stmt 1 view -0
  4588. 2002 .cfi_startproc
  4589. 2003 @ args = 0, pretend = 0, frame = 0
  4590. 2004 @ frame_needed = 0, uses_anonymous_args = 0
  4591. 2005 @ link register save eliminated.
  4592. 1585:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* NOTE : This function Should not be modified, when the callback is needed,
  4593. 2006 .loc 1 1585 3 view .LVU626
  4594. 1589:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4595. 2007 .loc 1 1589 1 is_stmt 0 view .LVU627
  4596. 2008 0000 7047 bx lr
  4597. 2009 .cfi_endproc
  4598. 2010 .LFE147:
  4599. 2012 .section .text.HAL_ADC_IRQHandler,"ax",%progbits
  4600. 2013 .align 1
  4601. 2014 .global HAL_ADC_IRQHandler
  4602. 2015 .syntax unified
  4603. 2016 .thumb
  4604. 2017 .thumb_func
  4605. 2019 HAL_ADC_IRQHandler:
  4606. 2020 .LVL111:
  4607. 2021 .LFB140:
  4608. 1179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** uint32_t tmp1 = 0U, tmp2 = 0U;
  4609. 2022 .loc 1 1179 1 is_stmt 1 view -0
  4610. 2023 .cfi_startproc
  4611. 2024 @ args = 0, pretend = 0, frame = 0
  4612. 2025 @ frame_needed = 0, uses_anonymous_args = 0
  4613. 1179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** uint32_t tmp1 = 0U, tmp2 = 0U;
  4614. 2026 .loc 1 1179 1 is_stmt 0 view .LVU629
  4615. 2027 0000 38B5 push {r3, r4, r5, lr}
  4616. 2028 .LCFI19:
  4617. 2029 .cfi_def_cfa_offset 16
  4618. 2030 .cfi_offset 3, -16
  4619. 2031 .cfi_offset 4, -12
  4620. 2032 .cfi_offset 5, -8
  4621. 2033 .cfi_offset 14, -4
  4622. 2034 0002 0446 mov r4, r0
  4623. 1180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4624. 2035 .loc 1 1180 3 is_stmt 1 view .LVU630
  4625. 2036 .LVL112:
  4626. 1183:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_REGULAR_LENGTH(hadc->Init.NbrOfConversion));
  4627. 2037 .loc 1 1183 3 view .LVU631
  4628. 1184:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_EOCSelection(hadc->Init.EOCSelection));
  4629. 2038 .loc 1 1184 3 view .LVU632
  4630. 1185:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4631. 2039 .loc 1 1185 3 view .LVU633
  4632. 1187:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmp2 = __HAL_ADC_GET_IT_SOURCE(hadc, ADC_IT_EOC);
  4633. 2040 .loc 1 1187 3 view .LVU634
  4634. 1187:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmp2 = __HAL_ADC_GET_IT_SOURCE(hadc, ADC_IT_EOC);
  4635. 2041 .loc 1 1187 10 is_stmt 0 view .LVU635
  4636. 2042 0004 0268 ldr r2, [r0]
  4637. 2043 0006 1168 ldr r1, [r2]
  4638. 2044 .LVL113:
  4639. 1188:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check End of conversion flag for regular channels */
  4640. 2045 .loc 1 1188 3 is_stmt 1 view .LVU636
  4641. ARM GAS /tmp/ccMhywUy.s page 81
  4642. 1188:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check End of conversion flag for regular channels */
  4643. 2046 .loc 1 1188 10 is_stmt 0 view .LVU637
  4644. 2047 0008 5368 ldr r3, [r2, #4]
  4645. 2048 .LVL114:
  4646. 1190:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4647. 2049 .loc 1 1190 3 is_stmt 1 view .LVU638
  4648. 1190:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4649. 2050 .loc 1 1190 5 is_stmt 0 view .LVU639
  4650. 2051 000a 11F0020F tst r1, #2
  4651. 2052 000e 2FD0 beq .L152
  4652. 2053 0010 03F02003 and r3, r3, #32
  4653. 2054 .LVL115:
  4654. 1190:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4655. 2055 .loc 1 1190 11 discriminator 1 view .LVU640
  4656. 2056 0014 63B3 cbz r3, .L152
  4657. 1193:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4658. 2057 .loc 1 1193 5 is_stmt 1 view .LVU641
  4659. 1193:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4660. 2058 .loc 1 1193 9 is_stmt 0 view .LVU642
  4661. 2059 0016 036C ldr r3, [r0, #64]
  4662. 2060 .LVL116:
  4663. 1193:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4664. 2061 .loc 1 1193 8 view .LVU643
  4665. 2062 0018 13F0100F tst r3, #16
  4666. 2063 001c 03D1 bne .L153
  4667. 1196:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4668. 2064 .loc 1 1196 7 is_stmt 1 view .LVU644
  4669. 2065 001e 036C ldr r3, [r0, #64]
  4670. 2066 0020 43F40073 orr r3, r3, #512
  4671. 2067 0024 0364 str r3, [r0, #64]
  4672. 2068 .L153:
  4673. 1205:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
  4674. 2069 .loc 1 1205 5 view .LVU645
  4675. 1205:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
  4676. 2070 .loc 1 1205 8 is_stmt 0 view .LVU646
  4677. 2071 0026 9368 ldr r3, [r2, #8]
  4678. 1205:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
  4679. 2072 .loc 1 1205 7 view .LVU647
  4680. 2073 0028 13F0405F tst r3, #805306368
  4681. 2074 002c 19D1 bne .L154
  4682. 1206:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (HAL_IS_BIT_CLR(hadc->Instance->SQR1, ADC_SQR1_L) ||
  4683. 2075 .loc 1 1206 19 discriminator 1 view .LVU648
  4684. 2076 002e 237E ldrb r3, [r4, #24] @ zero_extendqisi2
  4685. 1205:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
  4686. 2077 .loc 1 1205 62 discriminator 1 view .LVU649
  4687. 2078 0030 BBB9 cbnz r3, .L154
  4688. 1207:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) )
  4689. 2079 .loc 1 1207 9 view .LVU650
  4690. 2080 0032 D36A ldr r3, [r2, #44]
  4691. 1206:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (HAL_IS_BIT_CLR(hadc->Instance->SQR1, ADC_SQR1_L) ||
  4692. 2081 .loc 1 1206 62 view .LVU651
  4693. 2082 0034 13F4700F tst r3, #15728640
  4694. 2083 0038 03D0 beq .L155
  4695. 1208:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4696. 2084 .loc 1 1208 9 view .LVU652
  4697. 2085 003a 9368 ldr r3, [r2, #8]
  4698. 1207:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) )
  4699. ARM GAS /tmp/ccMhywUy.s page 82
  4700. 2086 .loc 1 1207 58 view .LVU653
  4701. 2087 003c 13F4806F tst r3, #1024
  4702. 2088 0040 0FD1 bne .L154
  4703. 2089 .L155:
  4704. 1214:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4705. 2090 .loc 1 1214 7 is_stmt 1 view .LVU654
  4706. 2091 0042 5368 ldr r3, [r2, #4]
  4707. 2092 0044 23F02003 bic r3, r3, #32
  4708. 2093 0048 5360 str r3, [r2, #4]
  4709. 1217:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4710. 2094 .loc 1 1217 7 view .LVU655
  4711. 2095 004a 236C ldr r3, [r4, #64]
  4712. 2096 004c 23F48073 bic r3, r3, #256
  4713. 2097 0050 2364 str r3, [r4, #64]
  4714. 1219:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4715. 2098 .loc 1 1219 7 view .LVU656
  4716. 1219:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4717. 2099 .loc 1 1219 11 is_stmt 0 view .LVU657
  4718. 2100 0052 236C ldr r3, [r4, #64]
  4719. 1219:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4720. 2101 .loc 1 1219 10 view .LVU658
  4721. 2102 0054 13F4805F tst r3, #4096
  4722. 2103 0058 03D1 bne .L154
  4723. 1221:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4724. 2104 .loc 1 1221 9 is_stmt 1 view .LVU659
  4725. 2105 005a 236C ldr r3, [r4, #64]
  4726. 2106 005c 43F00103 orr r3, r3, #1
  4727. 2107 0060 2364 str r3, [r4, #64]
  4728. 2108 .L154:
  4729. 1229:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
  4730. 2109 .loc 1 1229 5 view .LVU660
  4731. 2110 0062 2046 mov r0, r4
  4732. 2111 .LVL117:
  4733. 1229:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
  4734. 2112 .loc 1 1229 5 is_stmt 0 view .LVU661
  4735. 2113 0064 FFF7FEFF bl HAL_ADC_ConvCpltCallback
  4736. 2114 .LVL118:
  4737. 1233:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4738. 2115 .loc 1 1233 5 is_stmt 1 view .LVU662
  4739. 2116 0068 2368 ldr r3, [r4]
  4740. 2117 006a 6FF01202 mvn r2, #18
  4741. 2118 006e 1A60 str r2, [r3]
  4742. 2119 .L152:
  4743. 1236:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmp2 = __HAL_ADC_GET_IT_SOURCE(hadc, ADC_IT_JEOC);
  4744. 2120 .loc 1 1236 3 view .LVU663
  4745. 1236:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmp2 = __HAL_ADC_GET_IT_SOURCE(hadc, ADC_IT_JEOC);
  4746. 2121 .loc 1 1236 10 is_stmt 0 view .LVU664
  4747. 2122 0070 2368 ldr r3, [r4]
  4748. 2123 0072 1968 ldr r1, [r3]
  4749. 2124 .LVL119:
  4750. 1237:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check End of conversion flag for injected channels */
  4751. 2125 .loc 1 1237 3 is_stmt 1 view .LVU665
  4752. 1237:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check End of conversion flag for injected channels */
  4753. 2126 .loc 1 1237 10 is_stmt 0 view .LVU666
  4754. 2127 0074 5A68 ldr r2, [r3, #4]
  4755. 2128 0076 02F08002 and r2, r2, #128
  4756. 2129 .LVL120:
  4757. ARM GAS /tmp/ccMhywUy.s page 83
  4758. 1239:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4759. 2130 .loc 1 1239 3 is_stmt 1 view .LVU667
  4760. 1239:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4761. 2131 .loc 1 1239 5 is_stmt 0 view .LVU668
  4762. 2132 007a 11F0040F tst r1, #4
  4763. 2133 007e 36D0 beq .L156
  4764. 1239:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4765. 2134 .loc 1 1239 11 discriminator 1 view .LVU669
  4766. 2135 0080 002A cmp r2, #0
  4767. 2136 0082 34D0 beq .L156
  4768. 1242:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4769. 2137 .loc 1 1242 5 is_stmt 1 view .LVU670
  4770. 1242:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4771. 2138 .loc 1 1242 9 is_stmt 0 view .LVU671
  4772. 2139 0084 226C ldr r2, [r4, #64]
  4773. 2140 .LVL121:
  4774. 1242:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4775. 2141 .loc 1 1242 8 view .LVU672
  4776. 2142 0086 12F0100F tst r2, #16
  4777. 2143 008a 03D1 bne .L157
  4778. 1245:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4779. 2144 .loc 1 1245 7 is_stmt 1 view .LVU673
  4780. 2145 008c 226C ldr r2, [r4, #64]
  4781. 2146 008e 42F40052 orr r2, r2, #8192
  4782. 2147 0092 2264 str r2, [r4, #64]
  4783. 2148 .L157:
  4784. 1252:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (HAL_IS_BIT_CLR(hadc->Instance->JSQR, ADC_JSQR_JL) ||
  4785. 2149 .loc 1 1252 5 view .LVU674
  4786. 1252:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (HAL_IS_BIT_CLR(hadc->Instance->JSQR, ADC_JSQR_JL) ||
  4787. 2150 .loc 1 1252 8 is_stmt 0 view .LVU675
  4788. 2151 0094 9A68 ldr r2, [r3, #8]
  4789. 1252:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (HAL_IS_BIT_CLR(hadc->Instance->JSQR, ADC_JSQR_JL) ||
  4790. 2152 .loc 1 1252 7 view .LVU676
  4791. 2153 0096 12F4401F tst r2, #3145728
  4792. 2154 009a 21D1 bne .L158
  4793. 1253:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) &&
  4794. 2155 .loc 1 1253 9 discriminator 1 view .LVU677
  4795. 2156 009c 9A6B ldr r2, [r3, #56]
  4796. 1252:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (HAL_IS_BIT_CLR(hadc->Instance->JSQR, ADC_JSQR_JL) ||
  4797. 2157 .loc 1 1252 64 discriminator 1 view .LVU678
  4798. 2158 009e 12F4401F tst r2, #3145728
  4799. 2159 00a2 03D0 beq .L159
  4800. 1254:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) &&
  4801. 2160 .loc 1 1254 9 view .LVU679
  4802. 2161 00a4 9A68 ldr r2, [r3, #8]
  4803. 1253:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) &&
  4804. 2162 .loc 1 1253 60 view .LVU680
  4805. 2163 00a6 12F4806F tst r2, #1024
  4806. 2164 00aa 19D1 bne .L158
  4807. 2165 .L159:
  4808. 1255:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
  4809. 2166 .loc 1 1255 9 view .LVU681
  4810. 2167 00ac 5A68 ldr r2, [r3, #4]
  4811. 1254:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) &&
  4812. 2168 .loc 1 1254 64 view .LVU682
  4813. 2169 00ae 12F4806F tst r2, #1024
  4814. 2170 00b2 15D1 bne .L158
  4815. ARM GAS /tmp/ccMhywUy.s page 84
  4816. 1256:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) ) ) )
  4817. 2171 .loc 1 1256 10 view .LVU683
  4818. 2172 00b4 9A68 ldr r2, [r3, #8]
  4819. 1255:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
  4820. 2173 .loc 1 1255 60 view .LVU684
  4821. 2174 00b6 12F0405F tst r2, #805306368
  4822. 2175 00ba 11D1 bne .L158
  4823. 1257:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4824. 2176 .loc 1 1257 20 view .LVU685
  4825. 2177 00bc 227E ldrb r2, [r4, #24] @ zero_extendqisi2
  4826. 1256:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) ) ) )
  4827. 2178 .loc 1 1256 52 view .LVU686
  4828. 2179 00be 7AB9 cbnz r2, .L158
  4829. 1260:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4830. 2180 .loc 1 1260 7 is_stmt 1 view .LVU687
  4831. 2181 00c0 5A68 ldr r2, [r3, #4]
  4832. 2182 00c2 22F08002 bic r2, r2, #128
  4833. 2183 00c6 5A60 str r2, [r3, #4]
  4834. 1263:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4835. 2184 .loc 1 1263 7 view .LVU688
  4836. 2185 00c8 236C ldr r3, [r4, #64]
  4837. 2186 00ca 23F48053 bic r3, r3, #4096
  4838. 2187 00ce 2364 str r3, [r4, #64]
  4839. 1265:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4840. 2188 .loc 1 1265 7 view .LVU689
  4841. 1265:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4842. 2189 .loc 1 1265 11 is_stmt 0 view .LVU690
  4843. 2190 00d0 236C ldr r3, [r4, #64]
  4844. 1265:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4845. 2191 .loc 1 1265 10 view .LVU691
  4846. 2192 00d2 13F4807F tst r3, #256
  4847. 2193 00d6 03D1 bne .L158
  4848. 1267:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4849. 2194 .loc 1 1267 9 is_stmt 1 view .LVU692
  4850. 2195 00d8 236C ldr r3, [r4, #64]
  4851. 2196 00da 43F00103 orr r3, r3, #1
  4852. 2197 00de 2364 str r3, [r4, #64]
  4853. 2198 .L158:
  4854. 1276:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
  4855. 2199 .loc 1 1276 7 view .LVU693
  4856. 2200 00e0 2046 mov r0, r4
  4857. 2201 00e2 FFF7FEFF bl HAL_ADCEx_InjectedConvCpltCallback
  4858. 2202 .LVL122:
  4859. 1280:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4860. 2203 .loc 1 1280 5 view .LVU694
  4861. 2204 00e6 2368 ldr r3, [r4]
  4862. 2205 00e8 6FF00C02 mvn r2, #12
  4863. 2206 00ec 1A60 str r2, [r3]
  4864. 2207 .L156:
  4865. 1283:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmp2 = __HAL_ADC_GET_IT_SOURCE(hadc, ADC_IT_AWD);
  4866. 2208 .loc 1 1283 3 view .LVU695
  4867. 1283:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmp2 = __HAL_ADC_GET_IT_SOURCE(hadc, ADC_IT_AWD);
  4868. 2209 .loc 1 1283 10 is_stmt 0 view .LVU696
  4869. 2210 00ee 2268 ldr r2, [r4]
  4870. 2211 00f0 1168 ldr r1, [r2]
  4871. 2212 .LVL123:
  4872. 1284:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check Analog watchdog flag */
  4873. ARM GAS /tmp/ccMhywUy.s page 85
  4874. 2213 .loc 1 1284 3 is_stmt 1 view .LVU697
  4875. 1284:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check Analog watchdog flag */
  4876. 2214 .loc 1 1284 10 is_stmt 0 view .LVU698
  4877. 2215 00f2 5368 ldr r3, [r2, #4]
  4878. 2216 00f4 03F04003 and r3, r3, #64
  4879. 2217 .LVL124:
  4880. 1286:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4881. 2218 .loc 1 1286 3 is_stmt 1 view .LVU699
  4882. 1286:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4883. 2219 .loc 1 1286 5 is_stmt 0 view .LVU700
  4884. 2220 00f8 11F0010F tst r1, #1
  4885. 2221 00fc 04D0 beq .L160
  4886. 1286:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4887. 2222 .loc 1 1286 11 discriminator 1 view .LVU701
  4888. 2223 00fe 1BB1 cbz r3, .L160
  4889. 1288:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4890. 2224 .loc 1 1288 5 is_stmt 1 view .LVU702
  4891. 1288:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4892. 2225 .loc 1 1288 8 is_stmt 0 view .LVU703
  4893. 2226 0100 1368 ldr r3, [r2]
  4894. 2227 .LVL125:
  4895. 1288:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4896. 2228 .loc 1 1288 7 view .LVU704
  4897. 2229 0102 13F0010F tst r3, #1
  4898. 2230 0106 09D1 bne .L163
  4899. 2231 .LVL126:
  4900. 2232 .L160:
  4901. 1305:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmp2 = __HAL_ADC_GET_IT_SOURCE(hadc, ADC_IT_OVR);
  4902. 2233 .loc 1 1305 3 is_stmt 1 view .LVU705
  4903. 1305:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** tmp2 = __HAL_ADC_GET_IT_SOURCE(hadc, ADC_IT_OVR);
  4904. 2234 .loc 1 1305 10 is_stmt 0 view .LVU706
  4905. 2235 0108 2268 ldr r2, [r4]
  4906. 2236 010a 1168 ldr r1, [r2]
  4907. 2237 .LVL127:
  4908. 1306:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check Overrun flag */
  4909. 2238 .loc 1 1306 3 is_stmt 1 view .LVU707
  4910. 1306:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Check Overrun flag */
  4911. 2239 .loc 1 1306 10 is_stmt 0 view .LVU708
  4912. 2240 010c 5368 ldr r3, [r2, #4]
  4913. 2241 010e 03F08063 and r3, r3, #67108864
  4914. 2242 .LVL128:
  4915. 1308:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4916. 2243 .loc 1 1308 3 is_stmt 1 view .LVU709
  4917. 1308:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4918. 2244 .loc 1 1308 5 is_stmt 0 view .LVU710
  4919. 2245 0112 11F0200F tst r1, #32
  4920. 2246 0116 00D0 beq .L151
  4921. 1308:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4922. 2247 .loc 1 1308 11 discriminator 1 view .LVU711
  4923. 2248 0118 63B9 cbnz r3, .L164
  4924. 2249 .LVL129:
  4925. 2250 .L151:
  4926. 1330:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4927. 2251 .loc 1 1330 1 view .LVU712
  4928. 2252 011a 38BD pop {r3, r4, r5, pc}
  4929. 2253 .LVL130:
  4930. 2254 .L163:
  4931. ARM GAS /tmp/ccMhywUy.s page 86
  4932. 1291:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4933. 2255 .loc 1 1291 7 is_stmt 1 view .LVU713
  4934. 2256 011c 236C ldr r3, [r4, #64]
  4935. 2257 011e 43F48033 orr r3, r3, #65536
  4936. 2258 0122 2364 str r3, [r4, #64]
  4937. 1297:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
  4938. 2259 .loc 1 1297 7 view .LVU714
  4939. 2260 0124 2046 mov r0, r4
  4940. 2261 0126 FFF7FEFF bl HAL_ADC_LevelOutOfWindowCallback
  4941. 2262 .LVL131:
  4942. 1301:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4943. 2263 .loc 1 1301 7 view .LVU715
  4944. 2264 012a 2368 ldr r3, [r4]
  4945. 2265 012c 6FF00102 mvn r2, #1
  4946. 2266 0130 1A60 str r2, [r3]
  4947. 2267 0132 E9E7 b .L160
  4948. 2268 .LVL132:
  4949. 2269 .L164:
  4950. 1315:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4951. 2270 .loc 1 1315 5 view .LVU716
  4952. 2271 0134 636C ldr r3, [r4, #68]
  4953. 2272 .LVL133:
  4954. 1315:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4955. 2273 .loc 1 1315 5 is_stmt 0 view .LVU717
  4956. 2274 0136 43F00203 orr r3, r3, #2
  4957. 2275 013a 6364 str r3, [r4, #68]
  4958. 1318:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4959. 2276 .loc 1 1318 5 is_stmt 1 view .LVU718
  4960. 2277 013c 6FF02005 mvn r5, #32
  4961. 2278 0140 1560 str r5, [r2]
  4962. 1324:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
  4963. 2279 .loc 1 1324 7 view .LVU719
  4964. 2280 0142 2046 mov r0, r4
  4965. 2281 0144 FFF7FEFF bl HAL_ADC_ErrorCallback
  4966. 2282 .LVL134:
  4967. 1328:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  4968. 2283 .loc 1 1328 5 view .LVU720
  4969. 2284 0148 2368 ldr r3, [r4]
  4970. 2285 014a 1D60 str r5, [r3]
  4971. 1330:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4972. 2286 .loc 1 1330 1 is_stmt 0 view .LVU721
  4973. 2287 014c E5E7 b .L151
  4974. 2288 .cfi_endproc
  4975. 2289 .LFE140:
  4976. 2291 .section .text.ADC_DMAError,"ax",%progbits
  4977. 2292 .align 1
  4978. 2293 .syntax unified
  4979. 2294 .thumb
  4980. 2295 .thumb_func
  4981. 2297 ADC_DMAError:
  4982. 2298 .LVL135:
  4983. 2299 .LFB155:
  4984. 2024:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  4985. 2025:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /**
  4986. 2026:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @brief DMA error callback
  4987. 2027:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  4988. 2028:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * the configuration information for the specified DMA module.
  4989. ARM GAS /tmp/ccMhywUy.s page 87
  4990. 2029:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** * @retval None
  4991. 2030:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** */
  4992. 2031:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** static void ADC_DMAError(DMA_HandleTypeDef *hdma)
  4993. 2032:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  4994. 2300 .loc 1 2032 1 is_stmt 1 view -0
  4995. 2301 .cfi_startproc
  4996. 2302 @ args = 0, pretend = 0, frame = 0
  4997. 2303 @ frame_needed = 0, uses_anonymous_args = 0
  4998. 2304 .loc 1 2032 1 is_stmt 0 view .LVU723
  4999. 2305 0000 08B5 push {r3, lr}
  5000. 2306 .LCFI20:
  5001. 2307 .cfi_def_cfa_offset 8
  5002. 2308 .cfi_offset 3, -8
  5003. 2309 .cfi_offset 14, -4
  5004. 2033:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_HandleTypeDef* hadc = ( ADC_HandleTypeDef* )((DMA_HandleTypeDef* )hdma)->Parent;
  5005. 2310 .loc 1 2033 3 is_stmt 1 view .LVU724
  5006. 2311 .loc 1 2033 22 is_stmt 0 view .LVU725
  5007. 2312 0002 806B ldr r0, [r0, #56]
  5008. 2313 .LVL136:
  5009. 2034:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->State= HAL_ADC_STATE_ERROR_DMA;
  5010. 2314 .loc 1 2034 3 is_stmt 1 view .LVU726
  5011. 2315 .loc 1 2034 14 is_stmt 0 view .LVU727
  5012. 2316 0004 4023 movs r3, #64
  5013. 2317 0006 0364 str r3, [r0, #64]
  5014. 2035:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Set ADC error code to DMA error */
  5015. 2036:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->ErrorCode |= HAL_ADC_ERROR_DMA;
  5016. 2318 .loc 1 2036 3 is_stmt 1 view .LVU728
  5017. 2319 .loc 1 2036 19 is_stmt 0 view .LVU729
  5018. 2320 0008 436C ldr r3, [r0, #68]
  5019. 2321 000a 43F00403 orr r3, r3, #4
  5020. 2322 000e 4364 str r3, [r0, #68]
  5021. 2037:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Error callback */
  5022. 2038:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
  5023. 2039:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** hadc->ErrorCallback(hadc);
  5024. 2040:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #else
  5025. 2041:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_ADC_ErrorCallback(hadc);
  5026. 2323 .loc 1 2041 3 is_stmt 1 view .LVU730
  5027. 2324 0010 FFF7FEFF bl HAL_ADC_ErrorCallback
  5028. 2325 .LVL137:
  5029. 2042:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
  5030. 2043:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5031. 2326 .loc 1 2043 1 is_stmt 0 view .LVU731
  5032. 2327 0014 08BD pop {r3, pc}
  5033. 2328 .cfi_endproc
  5034. 2329 .LFE155:
  5035. 2331 .section .text.ADC_DMAConvCplt,"ax",%progbits
  5036. 2332 .align 1
  5037. 2333 .syntax unified
  5038. 2334 .thumb
  5039. 2335 .thumb_func
  5040. 2337 ADC_DMAConvCplt:
  5041. 2338 .LVL138:
  5042. 2339 .LFB153:
  5043. 1946:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Retrieve ADC handle corresponding to current DMA handle */
  5044. 2340 .loc 1 1946 1 is_stmt 1 view -0
  5045. 2341 .cfi_startproc
  5046. 2342 @ args = 0, pretend = 0, frame = 0
  5047. ARM GAS /tmp/ccMhywUy.s page 88
  5048. 2343 @ frame_needed = 0, uses_anonymous_args = 0
  5049. 1946:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Retrieve ADC handle corresponding to current DMA handle */
  5050. 2344 .loc 1 1946 1 is_stmt 0 view .LVU733
  5051. 2345 0000 08B5 push {r3, lr}
  5052. 2346 .LCFI21:
  5053. 2347 .cfi_def_cfa_offset 8
  5054. 2348 .cfi_offset 3, -8
  5055. 2349 .cfi_offset 14, -4
  5056. 2350 0002 0346 mov r3, r0
  5057. 1948:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5058. 2351 .loc 1 1948 3 is_stmt 1 view .LVU734
  5059. 1948:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5060. 2352 .loc 1 1948 22 is_stmt 0 view .LVU735
  5061. 2353 0004 806B ldr r0, [r0, #56]
  5062. 2354 .LVL139:
  5063. 1951:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5064. 2355 .loc 1 1951 3 is_stmt 1 view .LVU736
  5065. 1951:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5066. 2356 .loc 1 1951 7 is_stmt 0 view .LVU737
  5067. 2357 0006 026C ldr r2, [r0, #64]
  5068. 1951:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5069. 2358 .loc 1 1951 6 view .LVU738
  5070. 2359 0008 12F0500F tst r2, #80
  5071. 2360 000c 25D1 bne .L168
  5072. 1954:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5073. 2361 .loc 1 1954 5 is_stmt 1 view .LVU739
  5074. 2362 000e 036C ldr r3, [r0, #64]
  5075. 2363 .LVL140:
  5076. 1954:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5077. 2364 .loc 1 1954 5 is_stmt 0 view .LVU740
  5078. 2365 0010 43F40073 orr r3, r3, #512
  5079. 2366 0014 0364 str r3, [r0, #64]
  5080. 1962:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
  5081. 2367 .loc 1 1962 5 is_stmt 1 view .LVU741
  5082. 1962:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
  5083. 2368 .loc 1 1962 8 is_stmt 0 view .LVU742
  5084. 2369 0016 0368 ldr r3, [r0]
  5085. 2370 0018 9A68 ldr r2, [r3, #8]
  5086. 1962:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
  5087. 2371 .loc 1 1962 7 view .LVU743
  5088. 2372 001a 12F0405F tst r2, #805306368
  5089. 2373 001e 19D1 bne .L169
  5090. 1963:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (HAL_IS_BIT_CLR(hadc->Instance->SQR1, ADC_SQR1_L) ||
  5091. 2374 .loc 1 1963 19 discriminator 1 view .LVU744
  5092. 2375 0020 027E ldrb r2, [r0, #24] @ zero_extendqisi2
  5093. 1962:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
  5094. 2376 .loc 1 1962 62 discriminator 1 view .LVU745
  5095. 2377 0022 BAB9 cbnz r2, .L169
  5096. 1964:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) )
  5097. 2378 .loc 1 1964 9 view .LVU746
  5098. 2379 0024 DA6A ldr r2, [r3, #44]
  5099. 1963:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** (HAL_IS_BIT_CLR(hadc->Instance->SQR1, ADC_SQR1_L) ||
  5100. 2380 .loc 1 1963 62 view .LVU747
  5101. 2381 0026 12F4700F tst r2, #15728640
  5102. 2382 002a 03D0 beq .L170
  5103. 1965:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5104. 2383 .loc 1 1965 9 view .LVU748
  5105. ARM GAS /tmp/ccMhywUy.s page 89
  5106. 2384 002c 9A68 ldr r2, [r3, #8]
  5107. 1964:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) )
  5108. 2385 .loc 1 1964 58 view .LVU749
  5109. 2386 002e 12F4806F tst r2, #1024
  5110. 2387 0032 0FD1 bne .L169
  5111. 2388 .L170:
  5112. 1971:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5113. 2389 .loc 1 1971 7 is_stmt 1 view .LVU750
  5114. 2390 0034 5A68 ldr r2, [r3, #4]
  5115. 2391 0036 22F02002 bic r2, r2, #32
  5116. 2392 003a 5A60 str r2, [r3, #4]
  5117. 1974:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5118. 2393 .loc 1 1974 7 view .LVU751
  5119. 2394 003c 036C ldr r3, [r0, #64]
  5120. 2395 003e 23F48073 bic r3, r3, #256
  5121. 2396 0042 0364 str r3, [r0, #64]
  5122. 1976:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5123. 2397 .loc 1 1976 7 view .LVU752
  5124. 1976:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5125. 2398 .loc 1 1976 11 is_stmt 0 view .LVU753
  5126. 2399 0044 036C ldr r3, [r0, #64]
  5127. 1976:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5128. 2400 .loc 1 1976 10 view .LVU754
  5129. 2401 0046 13F4805F tst r3, #4096
  5130. 2402 004a 03D1 bne .L169
  5131. 1978:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5132. 2403 .loc 1 1978 9 is_stmt 1 view .LVU755
  5133. 2404 004c 036C ldr r3, [r0, #64]
  5134. 2405 004e 43F00103 orr r3, r3, #1
  5135. 2406 0052 0364 str r3, [r0, #64]
  5136. 2407 .L169:
  5137. 1986:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
  5138. 2408 .loc 1 1986 5 view .LVU756
  5139. 2409 0054 FFF7FEFF bl HAL_ADC_ConvCpltCallback
  5140. 2410 .LVL141:
  5141. 2411 .L167:
  5142. 2006:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5143. 2412 .loc 1 2006 1 is_stmt 0 view .LVU757
  5144. 2413 0058 08BD pop {r3, pc}
  5145. 2414 .LVL142:
  5146. 2415 .L168:
  5147. 1991:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5148. 2416 .loc 1 1991 5 is_stmt 1 view .LVU758
  5149. 1991:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5150. 2417 .loc 1 1991 14 is_stmt 0 view .LVU759
  5151. 2418 005a 026C ldr r2, [r0, #64]
  5152. 1991:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5153. 2419 .loc 1 1991 8 view .LVU760
  5154. 2420 005c 12F0100F tst r2, #16
  5155. 2421 0060 04D1 bne .L174
  5156. 2003:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5157. 2422 .loc 1 2003 7 is_stmt 1 view .LVU761
  5158. 2003:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5159. 2423 .loc 1 2003 11 is_stmt 0 view .LVU762
  5160. 2424 0062 826B ldr r2, [r0, #56]
  5161. 2003:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5162. 2425 .loc 1 2003 23 view .LVU763
  5163. ARM GAS /tmp/ccMhywUy.s page 90
  5164. 2426 0064 D26C ldr r2, [r2, #76]
  5165. 2003:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5166. 2427 .loc 1 2003 7 view .LVU764
  5167. 2428 0066 1846 mov r0, r3
  5168. 2429 .LVL143:
  5169. 2003:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5170. 2430 .loc 1 2003 7 view .LVU765
  5171. 2431 0068 9047 blx r2
  5172. 2432 .LVL144:
  5173. 2006:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5174. 2433 .loc 1 2006 1 view .LVU766
  5175. 2434 006a F5E7 b .L167
  5176. 2435 .LVL145:
  5177. 2436 .L174:
  5178. 1997:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
  5179. 2437 .loc 1 1997 7 is_stmt 1 view .LVU767
  5180. 2438 006c FFF7FEFF bl HAL_ADC_ErrorCallback
  5181. 2439 .LVL146:
  5182. 1997:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
  5183. 2440 .loc 1 1997 7 is_stmt 0 view .LVU768
  5184. 2441 0070 F2E7 b .L167
  5185. 2442 .cfi_endproc
  5186. 2443 .LFE153:
  5187. 2445 .section .text.HAL_ADC_ConfigChannel,"ax",%progbits
  5188. 2446 .align 1
  5189. 2447 .global HAL_ADC_ConfigChannel
  5190. 2448 .syntax unified
  5191. 2449 .thumb
  5192. 2450 .thumb_func
  5193. 2452 HAL_ADC_ConfigChannel:
  5194. 2453 .LVL147:
  5195. 2454 .LFB148:
  5196. 1621:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __IO uint32_t counter = 0U;
  5197. 2455 .loc 1 1621 1 is_stmt 1 view -0
  5198. 2456 .cfi_startproc
  5199. 2457 @ args = 0, pretend = 0, frame = 8
  5200. 2458 @ frame_needed = 0, uses_anonymous_args = 0
  5201. 2459 @ link register save eliminated.
  5202. 1621:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** __IO uint32_t counter = 0U;
  5203. 2460 .loc 1 1621 1 is_stmt 0 view .LVU770
  5204. 2461 0000 30B4 push {r4, r5}
  5205. 2462 .LCFI22:
  5206. 2463 .cfi_def_cfa_offset 8
  5207. 2464 .cfi_offset 4, -8
  5208. 2465 .cfi_offset 5, -4
  5209. 2466 0002 82B0 sub sp, sp, #8
  5210. 2467 .LCFI23:
  5211. 2468 .cfi_def_cfa_offset 16
  5212. 1622:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_Common_TypeDef *tmpADC_Common;
  5213. 2469 .loc 1 1622 3 is_stmt 1 view .LVU771
  5214. 1622:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** ADC_Common_TypeDef *tmpADC_Common;
  5215. 2470 .loc 1 1622 17 is_stmt 0 view .LVU772
  5216. 2471 0004 0023 movs r3, #0
  5217. 2472 0006 0193 str r3, [sp, #4]
  5218. 1623:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5219. 2473 .loc 1 1623 3 is_stmt 1 view .LVU773
  5220. 1626:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_REGULAR_RANK(sConfig->Rank));
  5221. ARM GAS /tmp/ccMhywUy.s page 91
  5222. 2474 .loc 1 1626 3 view .LVU774
  5223. 1627:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_SAMPLE_TIME(sConfig->SamplingTime));
  5224. 2475 .loc 1 1627 3 view .LVU775
  5225. 1628:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5226. 2476 .loc 1 1628 3 view .LVU776
  5227. 1631:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5228. 2477 .loc 1 1631 3 view .LVU777
  5229. 1631:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5230. 2478 .loc 1 1631 3 view .LVU778
  5231. 2479 0008 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
  5232. 2480 000c 012B cmp r3, #1
  5233. 2481 000e 00F0BB80 beq .L186
  5234. 1631:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5235. 2482 .loc 1 1631 3 discriminator 2 view .LVU779
  5236. 2483 0012 0123 movs r3, #1
  5237. 2484 0014 80F83C30 strb r3, [r0, #60]
  5238. 1631:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5239. 2485 .loc 1 1631 3 discriminator 2 view .LVU780
  5240. 1634:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5241. 2486 .loc 1 1634 3 discriminator 2 view .LVU781
  5242. 1634:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5243. 2487 .loc 1 1634 14 is_stmt 0 discriminator 2 view .LVU782
  5244. 2488 0018 0B68 ldr r3, [r1]
  5245. 1634:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5246. 2489 .loc 1 1634 6 discriminator 2 view .LVU783
  5247. 2490 001a 092B cmp r3, #9
  5248. 2491 001c 41D9 bls .L177
  5249. 1637:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5250. 2492 .loc 1 1637 5 is_stmt 1 view .LVU784
  5251. 1637:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5252. 2493 .loc 1 1637 9 is_stmt 0 view .LVU785
  5253. 2494 001e 0468 ldr r4, [r0]
  5254. 1637:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5255. 2495 .loc 1 1637 27 view .LVU786
  5256. 2496 0020 E268 ldr r2, [r4, #12]
  5257. 1637:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5258. 2497 .loc 1 1637 31 view .LVU787
  5259. 2498 0022 9BB2 uxth r3, r3
  5260. 2499 0024 03EB4303 add r3, r3, r3, lsl #1
  5261. 2500 0028 1E3B subs r3, r3, #30
  5262. 2501 002a 4FF0070C mov ip, #7
  5263. 2502 002e 0CFA03F3 lsl r3, ip, r3
  5264. 1637:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5265. 2503 .loc 1 1637 27 view .LVU788
  5266. 2504 0032 22EA0303 bic r3, r2, r3
  5267. 2505 0036 E360 str r3, [r4, #12]
  5268. 1640:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5269. 2506 .loc 1 1640 5 is_stmt 1 view .LVU789
  5270. 1640:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5271. 2507 .loc 1 1640 9 is_stmt 0 view .LVU790
  5272. 2508 0038 0468 ldr r4, [r0]
  5273. 1640:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5274. 2509 .loc 1 1640 27 view .LVU791
  5275. 2510 003a E268 ldr r2, [r4, #12]
  5276. 1640:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5277. 2511 .loc 1 1640 30 view .LVU792
  5278. 2512 003c 0B88 ldrh r3, [r1]
  5279. ARM GAS /tmp/ccMhywUy.s page 92
  5280. 2513 003e 03EB4303 add r3, r3, r3, lsl #1
  5281. 2514 0042 1E3B subs r3, r3, #30
  5282. 2515 0044 8D68 ldr r5, [r1, #8]
  5283. 2516 0046 05FA03F3 lsl r3, r5, r3
  5284. 1640:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5285. 2517 .loc 1 1640 27 view .LVU793
  5286. 2518 004a 1343 orrs r3, r3, r2
  5287. 2519 004c E360 str r3, [r4, #12]
  5288. 2520 .L178:
  5289. 1652:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5290. 2521 .loc 1 1652 3 is_stmt 1 view .LVU794
  5291. 1652:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5292. 2522 .loc 1 1652 14 is_stmt 0 view .LVU795
  5293. 2523 004e 4B68 ldr r3, [r1, #4]
  5294. 1652:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5295. 2524 .loc 1 1652 6 view .LVU796
  5296. 2525 0050 062B cmp r3, #6
  5297. 2526 0052 3DD8 bhi .L179
  5298. 1655:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5299. 2527 .loc 1 1655 5 is_stmt 1 view .LVU797
  5300. 1655:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5301. 2528 .loc 1 1655 9 is_stmt 0 view .LVU798
  5302. 2529 0054 0468 ldr r4, [r0]
  5303. 1655:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5304. 2530 .loc 1 1655 26 view .LVU799
  5305. 2531 0056 626B ldr r2, [r4, #52]
  5306. 1655:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5307. 2532 .loc 1 1655 30 view .LVU800
  5308. 2533 0058 03EB8303 add r3, r3, r3, lsl #2
  5309. 2534 005c 053B subs r3, r3, #5
  5310. 2535 005e 4FF01F0C mov ip, #31
  5311. 2536 0062 0CFA03F3 lsl r3, ip, r3
  5312. 1655:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5313. 2537 .loc 1 1655 26 view .LVU801
  5314. 2538 0066 22EA0303 bic r3, r2, r3
  5315. 2539 006a 6363 str r3, [r4, #52]
  5316. 1658:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5317. 2540 .loc 1 1658 5 is_stmt 1 view .LVU802
  5318. 1658:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5319. 2541 .loc 1 1658 9 is_stmt 0 view .LVU803
  5320. 2542 006c 0468 ldr r4, [r0]
  5321. 1658:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5322. 2543 .loc 1 1658 26 view .LVU804
  5323. 2544 006e 626B ldr r2, [r4, #52]
  5324. 1658:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5325. 2545 .loc 1 1658 29 view .LVU805
  5326. 2546 0070 4B68 ldr r3, [r1, #4]
  5327. 2547 0072 03EB8303 add r3, r3, r3, lsl #2
  5328. 2548 0076 053B subs r3, r3, #5
  5329. 2549 0078 B1F800C0 ldrh ip, [r1]
  5330. 2550 007c 0CFA03F3 lsl r3, ip, r3
  5331. 1658:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5332. 2551 .loc 1 1658 26 view .LVU806
  5333. 2552 0080 1343 orrs r3, r3, r2
  5334. 2553 0082 6363 str r3, [r4, #52]
  5335. 2554 .L180:
  5336. 1682:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5337. ARM GAS /tmp/ccMhywUy.s page 93
  5338. 2555 .loc 1 1682 5 is_stmt 1 view .LVU807
  5339. 2556 .LVL148:
  5340. 1685:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5341. 2557 .loc 1 1685 3 view .LVU808
  5342. 1685:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5343. 2558 .loc 1 1685 12 is_stmt 0 view .LVU809
  5344. 2559 0084 0268 ldr r2, [r0]
  5345. 1685:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5346. 2560 .loc 1 1685 6 view .LVU810
  5347. 2561 0086 414B ldr r3, .L190
  5348. 2562 0088 9A42 cmp r2, r3
  5349. 2563 008a 51D0 beq .L188
  5350. 2564 .L182:
  5351. 1698:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5352. 2565 .loc 1 1698 3 is_stmt 1 view .LVU811
  5353. 1698:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5354. 2566 .loc 1 1698 12 is_stmt 0 view .LVU812
  5355. 2567 008c 0268 ldr r2, [r0]
  5356. 1698:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5357. 2568 .loc 1 1698 6 view .LVU813
  5358. 2569 008e 3F4B ldr r3, .L190
  5359. 2570 0090 9A42 cmp r2, r3
  5360. 2571 0092 56D0 beq .L189
  5361. 2572 .L183:
  5362. 1721:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5363. 2573 .loc 1 1721 3 is_stmt 1 view .LVU814
  5364. 1721:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5365. 2574 .loc 1 1721 3 view .LVU815
  5366. 2575 0094 0023 movs r3, #0
  5367. 2576 0096 80F83C30 strb r3, [r0, #60]
  5368. 1721:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5369. 2577 .loc 1 1721 3 view .LVU816
  5370. 1724:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5371. 2578 .loc 1 1724 3 view .LVU817
  5372. 1724:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5373. 2579 .loc 1 1724 10 is_stmt 0 view .LVU818
  5374. 2580 009a 1846 mov r0, r3
  5375. 2581 .LVL149:
  5376. 2582 .L176:
  5377. 1725:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5378. 2583 .loc 1 1725 1 view .LVU819
  5379. 2584 009c 02B0 add sp, sp, #8
  5380. 2585 .LCFI24:
  5381. 2586 .cfi_remember_state
  5382. 2587 .cfi_def_cfa_offset 8
  5383. 2588 @ sp needed
  5384. 2589 009e 30BC pop {r4, r5}
  5385. 2590 .LCFI25:
  5386. 2591 .cfi_restore 5
  5387. 2592 .cfi_restore 4
  5388. 2593 .cfi_def_cfa_offset 0
  5389. 2594 00a0 7047 bx lr
  5390. 2595 .LVL150:
  5391. 2596 .L177:
  5392. 2597 .LCFI26:
  5393. 2598 .cfi_restore_state
  5394. 1645:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5395. ARM GAS /tmp/ccMhywUy.s page 94
  5396. 2599 .loc 1 1645 5 is_stmt 1 view .LVU820
  5397. 1645:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5398. 2600 .loc 1 1645 9 is_stmt 0 view .LVU821
  5399. 2601 00a2 0468 ldr r4, [r0]
  5400. 1645:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5401. 2602 .loc 1 1645 27 view .LVU822
  5402. 2603 00a4 2269 ldr r2, [r4, #16]
  5403. 1645:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5404. 2604 .loc 1 1645 31 view .LVU823
  5405. 2605 00a6 9BB2 uxth r3, r3
  5406. 2606 00a8 03EB4303 add r3, r3, r3, lsl #1
  5407. 2607 00ac 4FF0070C mov ip, #7
  5408. 2608 00b0 0CFA03F3 lsl r3, ip, r3
  5409. 1645:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5410. 2609 .loc 1 1645 27 view .LVU824
  5411. 2610 00b4 22EA0303 bic r3, r2, r3
  5412. 2611 00b8 2361 str r3, [r4, #16]
  5413. 1648:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5414. 2612 .loc 1 1648 5 is_stmt 1 view .LVU825
  5415. 1648:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5416. 2613 .loc 1 1648 9 is_stmt 0 view .LVU826
  5417. 2614 00ba 0468 ldr r4, [r0]
  5418. 1648:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5419. 2615 .loc 1 1648 27 view .LVU827
  5420. 2616 00bc 2269 ldr r2, [r4, #16]
  5421. 1648:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5422. 2617 .loc 1 1648 30 view .LVU828
  5423. 2618 00be 0B88 ldrh r3, [r1]
  5424. 2619 00c0 03EB4303 add r3, r3, r3, lsl #1
  5425. 2620 00c4 8D68 ldr r5, [r1, #8]
  5426. 2621 00c6 05FA03F3 lsl r3, r5, r3
  5427. 1648:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5428. 2622 .loc 1 1648 27 view .LVU829
  5429. 2623 00ca 1343 orrs r3, r3, r2
  5430. 2624 00cc 2361 str r3, [r4, #16]
  5431. 2625 00ce BEE7 b .L178
  5432. 2626 .L179:
  5433. 1661:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5434. 2627 .loc 1 1661 8 is_stmt 1 view .LVU830
  5435. 1661:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5436. 2628 .loc 1 1661 11 is_stmt 0 view .LVU831
  5437. 2629 00d0 0C2B cmp r3, #12
  5438. 2630 00d2 16D8 bhi .L181
  5439. 1664:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5440. 2631 .loc 1 1664 5 is_stmt 1 view .LVU832
  5441. 1664:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5442. 2632 .loc 1 1664 9 is_stmt 0 view .LVU833
  5443. 2633 00d4 0568 ldr r5, [r0]
  5444. 1664:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5445. 2634 .loc 1 1664 26 view .LVU834
  5446. 2635 00d6 2A6B ldr r2, [r5, #48]
  5447. 1664:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5448. 2636 .loc 1 1664 30 view .LVU835
  5449. 2637 00d8 03EB8303 add r3, r3, r3, lsl #2
  5450. 2638 00dc 233B subs r3, r3, #35
  5451. 2639 00de 1F24 movs r4, #31
  5452. 2640 00e0 04FA03F3 lsl r3, r4, r3
  5453. ARM GAS /tmp/ccMhywUy.s page 95
  5454. 1664:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5455. 2641 .loc 1 1664 26 view .LVU836
  5456. 2642 00e4 22EA0303 bic r3, r2, r3
  5457. 2643 00e8 2B63 str r3, [r5, #48]
  5458. 1667:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5459. 2644 .loc 1 1667 5 is_stmt 1 view .LVU837
  5460. 1667:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5461. 2645 .loc 1 1667 9 is_stmt 0 view .LVU838
  5462. 2646 00ea 0568 ldr r5, [r0]
  5463. 1667:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5464. 2647 .loc 1 1667 26 view .LVU839
  5465. 2648 00ec 2A6B ldr r2, [r5, #48]
  5466. 1667:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5467. 2649 .loc 1 1667 29 view .LVU840
  5468. 2650 00ee 4B68 ldr r3, [r1, #4]
  5469. 2651 00f0 03EB8303 add r3, r3, r3, lsl #2
  5470. 2652 00f4 233B subs r3, r3, #35
  5471. 2653 00f6 0C88 ldrh r4, [r1]
  5472. 2654 00f8 04FA03F3 lsl r3, r4, r3
  5473. 1667:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5474. 2655 .loc 1 1667 26 view .LVU841
  5475. 2656 00fc 1343 orrs r3, r3, r2
  5476. 2657 00fe 2B63 str r3, [r5, #48]
  5477. 2658 0100 C0E7 b .L180
  5478. 2659 .L181:
  5479. 1673:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5480. 2660 .loc 1 1673 5 is_stmt 1 view .LVU842
  5481. 1673:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5482. 2661 .loc 1 1673 9 is_stmt 0 view .LVU843
  5483. 2662 0102 0568 ldr r5, [r0]
  5484. 1673:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5485. 2663 .loc 1 1673 26 view .LVU844
  5486. 2664 0104 EA6A ldr r2, [r5, #44]
  5487. 1673:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5488. 2665 .loc 1 1673 30 view .LVU845
  5489. 2666 0106 03EB8303 add r3, r3, r3, lsl #2
  5490. 2667 010a 413B subs r3, r3, #65
  5491. 2668 010c 1F24 movs r4, #31
  5492. 2669 010e 04FA03F3 lsl r3, r4, r3
  5493. 1673:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5494. 2670 .loc 1 1673 26 view .LVU846
  5495. 2671 0112 22EA0303 bic r3, r2, r3
  5496. 2672 0116 EB62 str r3, [r5, #44]
  5497. 1676:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5498. 2673 .loc 1 1676 5 is_stmt 1 view .LVU847
  5499. 1676:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5500. 2674 .loc 1 1676 9 is_stmt 0 view .LVU848
  5501. 2675 0118 0568 ldr r5, [r0]
  5502. 1676:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5503. 2676 .loc 1 1676 26 view .LVU849
  5504. 2677 011a EA6A ldr r2, [r5, #44]
  5505. 1676:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5506. 2678 .loc 1 1676 29 view .LVU850
  5507. 2679 011c 4B68 ldr r3, [r1, #4]
  5508. 2680 011e 03EB8303 add r3, r3, r3, lsl #2
  5509. 2681 0122 413B subs r3, r3, #65
  5510. 2682 0124 0C88 ldrh r4, [r1]
  5511. ARM GAS /tmp/ccMhywUy.s page 96
  5512. 2683 0126 04FA03F3 lsl r3, r4, r3
  5513. 1676:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5514. 2684 .loc 1 1676 26 view .LVU851
  5515. 2685 012a 1343 orrs r3, r3, r2
  5516. 2686 012c EB62 str r3, [r5, #44]
  5517. 2687 012e A9E7 b .L180
  5518. 2688 .LVL151:
  5519. 2689 .L188:
  5520. 1685:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5521. 2690 .loc 1 1685 43 discriminator 1 view .LVU852
  5522. 2691 0130 0B68 ldr r3, [r1]
  5523. 1685:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5524. 2692 .loc 1 1685 32 discriminator 1 view .LVU853
  5525. 2693 0132 122B cmp r3, #18
  5526. 2694 0134 AAD1 bne .L182
  5527. 1688:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5528. 2695 .loc 1 1688 5 is_stmt 1 view .LVU854
  5529. 1693:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5530. 2696 .loc 1 1693 5 view .LVU855
  5531. 1693:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5532. 2697 .loc 1 1693 24 is_stmt 0 view .LVU856
  5533. 2698 0136 164A ldr r2, .L190+4
  5534. 2699 0138 5368 ldr r3, [r2, #4]
  5535. 2700 013a 43F48003 orr r3, r3, #4194304
  5536. 2701 013e 5360 str r3, [r2, #4]
  5537. 2702 0140 A4E7 b .L182
  5538. 2703 .L189:
  5539. 1698:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5540. 2704 .loc 1 1698 44 discriminator 1 view .LVU857
  5541. 2705 0142 0B68 ldr r3, [r1]
  5542. 1698:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5543. 2706 .loc 1 1698 81 discriminator 1 view .LVU858
  5544. 2707 0144 103B subs r3, r3, #16
  5545. 1698:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5546. 2708 .loc 1 1698 32 discriminator 1 view .LVU859
  5547. 2709 0146 012B cmp r3, #1
  5548. 2710 0148 A4D8 bhi .L183
  5549. 1701:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5550. 2711 .loc 1 1701 5 is_stmt 1 view .LVU860
  5551. 1706:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5552. 2712 .loc 1 1706 5 view .LVU861
  5553. 1706:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5554. 2713 .loc 1 1706 24 is_stmt 0 view .LVU862
  5555. 2714 014a 114A ldr r2, .L190+4
  5556. 2715 014c 5368 ldr r3, [r2, #4]
  5557. 2716 014e 43F40003 orr r3, r3, #8388608
  5558. 2717 0152 5360 str r3, [r2, #4]
  5559. 1708:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5560. 2718 .loc 1 1708 5 is_stmt 1 view .LVU863
  5561. 1708:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5562. 2719 .loc 1 1708 16 is_stmt 0 view .LVU864
  5563. 2720 0154 0B68 ldr r3, [r1]
  5564. 1708:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5565. 2721 .loc 1 1708 7 view .LVU865
  5566. 2722 0156 102B cmp r3, #16
  5567. 2723 0158 9CD1 bne .L183
  5568. 1712:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** while(counter != 0U)
  5569. ARM GAS /tmp/ccMhywUy.s page 97
  5570. 2724 .loc 1 1712 7 is_stmt 1 view .LVU866
  5571. 1712:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** while(counter != 0U)
  5572. 2725 .loc 1 1712 61 is_stmt 0 view .LVU867
  5573. 2726 015a 0E4B ldr r3, .L190+8
  5574. 2727 015c 1B68 ldr r3, [r3]
  5575. 2728 015e 02F14672 add r2, r2, #51904512
  5576. 2729 0162 02F52E32 add r2, r2, #178176
  5577. 2730 0166 02F28332 addw r2, r2, #899
  5578. 2731 016a A2FB0323 umull r2, r3, r2, r3
  5579. 2732 016e 9B0C lsrs r3, r3, #18
  5580. 1712:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** while(counter != 0U)
  5581. 2733 .loc 1 1712 42 view .LVU868
  5582. 2734 0170 03EB8303 add r3, r3, r3, lsl #2
  5583. 2735 0174 5B00 lsls r3, r3, #1
  5584. 1712:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** while(counter != 0U)
  5585. 2736 .loc 1 1712 15 view .LVU869
  5586. 2737 0176 0193 str r3, [sp, #4]
  5587. 1713:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5588. 2738 .loc 1 1713 7 is_stmt 1 view .LVU870
  5589. 1713:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5590. 2739 .loc 1 1713 12 is_stmt 0 view .LVU871
  5591. 2740 0178 02E0 b .L184
  5592. 2741 .L185:
  5593. 1715:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5594. 2742 .loc 1 1715 9 is_stmt 1 view .LVU872
  5595. 1715:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5596. 2743 .loc 1 1715 16 is_stmt 0 view .LVU873
  5597. 2744 017a 019B ldr r3, [sp, #4]
  5598. 2745 017c 013B subs r3, r3, #1
  5599. 2746 017e 0193 str r3, [sp, #4]
  5600. 2747 .L184:
  5601. 1713:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5602. 2748 .loc 1 1713 12 is_stmt 1 view .LVU874
  5603. 1713:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5604. 2749 .loc 1 1713 21 is_stmt 0 view .LVU875
  5605. 2750 0180 019B ldr r3, [sp, #4]
  5606. 1713:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5607. 2751 .loc 1 1713 12 view .LVU876
  5608. 2752 0182 002B cmp r3, #0
  5609. 2753 0184 F9D1 bne .L185
  5610. 2754 0186 85E7 b .L183
  5611. 2755 .LVL152:
  5612. 2756 .L186:
  5613. 1631:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5614. 2757 .loc 1 1631 3 view .LVU877
  5615. 2758 0188 0220 movs r0, #2
  5616. 2759 .LVL153:
  5617. 1631:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5618. 2760 .loc 1 1631 3 view .LVU878
  5619. 2761 018a 87E7 b .L176
  5620. 2762 .L191:
  5621. 2763 .align 2
  5622. 2764 .L190:
  5623. 2765 018c 00200140 .word 1073815552
  5624. 2766 0190 00230140 .word 1073816320
  5625. 2767 0194 00000000 .word SystemCoreClock
  5626. 2768 .cfi_endproc
  5627. ARM GAS /tmp/ccMhywUy.s page 98
  5628. 2769 .LFE148:
  5629. 2771 .section .text.HAL_ADC_AnalogWDGConfig,"ax",%progbits
  5630. 2772 .align 1
  5631. 2773 .global HAL_ADC_AnalogWDGConfig
  5632. 2774 .syntax unified
  5633. 2775 .thumb
  5634. 2776 .thumb_func
  5635. 2778 HAL_ADC_AnalogWDGConfig:
  5636. 2779 .LVL154:
  5637. 2780 .LFB149:
  5638. 1744:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #ifdef USE_FULL_ASSERT
  5639. 2781 .loc 1 1744 1 is_stmt 1 view -0
  5640. 2782 .cfi_startproc
  5641. 2783 @ args = 0, pretend = 0, frame = 0
  5642. 2784 @ frame_needed = 0, uses_anonymous_args = 0
  5643. 2785 @ link register save eliminated.
  5644. 1750:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_ADC_CHANNEL(AnalogWDGConfig->Channel));
  5645. 2786 .loc 1 1750 3 view .LVU880
  5646. 1751:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(AnalogWDGConfig->ITMode));
  5647. 2787 .loc 1 1751 3 view .LVU881
  5648. 1752:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5649. 2788 .loc 1 1752 3 view .LVU882
  5650. 1761:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5651. 2789 .loc 1 1761 3 view .LVU883
  5652. 1761:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5653. 2790 .loc 1 1761 3 view .LVU884
  5654. 2791 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
  5655. 2792 0004 012B cmp r3, #1
  5656. 2793 0006 34D0 beq .L196
  5657. 1744:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** #ifdef USE_FULL_ASSERT
  5658. 2794 .loc 1 1744 1 is_stmt 0 discriminator 2 view .LVU885
  5659. 2795 0008 10B4 push {r4}
  5660. 2796 .LCFI27:
  5661. 2797 .cfi_def_cfa_offset 4
  5662. 2798 .cfi_offset 4, -4
  5663. 1761:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5664. 2799 .loc 1 1761 3 is_stmt 1 discriminator 2 view .LVU886
  5665. 2800 000a 0123 movs r3, #1
  5666. 2801 000c 80F83C30 strb r3, [r0, #60]
  5667. 1761:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5668. 2802 .loc 1 1761 3 discriminator 2 view .LVU887
  5669. 1763:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5670. 2803 .loc 1 1763 3 discriminator 2 view .LVU888
  5671. 1763:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5672. 2804 .loc 1 1763 21 is_stmt 0 discriminator 2 view .LVU889
  5673. 2805 0010 0B7C ldrb r3, [r1, #16] @ zero_extendqisi2
  5674. 1763:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** {
  5675. 2806 .loc 1 1763 5 discriminator 2 view .LVU890
  5676. 2807 0012 012B cmp r3, #1
  5677. 2808 0014 27D0 beq .L201
  5678. 1771:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5679. 2809 .loc 1 1771 5 is_stmt 1 view .LVU891
  5680. 2810 0016 0268 ldr r2, [r0]
  5681. 2811 0018 5368 ldr r3, [r2, #4]
  5682. 2812 001a 23F04003 bic r3, r3, #64
  5683. 2813 001e 5360 str r3, [r2, #4]
  5684. 2814 .L195:
  5685. ARM GAS /tmp/ccMhywUy.s page 99
  5686. 1775:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5687. 2815 .loc 1 1775 3 view .LVU892
  5688. 1775:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5689. 2816 .loc 1 1775 7 is_stmt 0 view .LVU893
  5690. 2817 0020 0268 ldr r2, [r0]
  5691. 1775:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5692. 2818 .loc 1 1775 23 view .LVU894
  5693. 2819 0022 5368 ldr r3, [r2, #4]
  5694. 2820 0024 23F44003 bic r3, r3, #12582912
  5695. 2821 0028 23F40073 bic r3, r3, #512
  5696. 2822 002c 5360 str r3, [r2, #4]
  5697. 1778:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5698. 2823 .loc 1 1778 3 is_stmt 1 view .LVU895
  5699. 1778:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5700. 2824 .loc 1 1778 7 is_stmt 0 view .LVU896
  5701. 2825 002e 0268 ldr r2, [r0]
  5702. 1778:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5703. 2826 .loc 1 1778 23 view .LVU897
  5704. 2827 0030 5368 ldr r3, [r2, #4]
  5705. 1778:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5706. 2828 .loc 1 1778 41 view .LVU898
  5707. 2829 0032 0C68 ldr r4, [r1]
  5708. 1778:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5709. 2830 .loc 1 1778 23 view .LVU899
  5710. 2831 0034 2343 orrs r3, r3, r4
  5711. 2832 0036 5360 str r3, [r2, #4]
  5712. 1781:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5713. 2833 .loc 1 1781 3 is_stmt 1 view .LVU900
  5714. 1781:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5715. 2834 .loc 1 1781 7 is_stmt 0 view .LVU901
  5716. 2835 0038 0368 ldr r3, [r0]
  5717. 1781:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5718. 2836 .loc 1 1781 40 view .LVU902
  5719. 2837 003a 4A68 ldr r2, [r1, #4]
  5720. 1781:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5721. 2838 .loc 1 1781 23 view .LVU903
  5722. 2839 003c 5A62 str r2, [r3, #36]
  5723. 1784:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5724. 2840 .loc 1 1784 3 is_stmt 1 view .LVU904
  5725. 1784:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5726. 2841 .loc 1 1784 7 is_stmt 0 view .LVU905
  5727. 2842 003e 0368 ldr r3, [r0]
  5728. 1784:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5729. 2843 .loc 1 1784 40 view .LVU906
  5730. 2844 0040 8A68 ldr r2, [r1, #8]
  5731. 1784:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5732. 2845 .loc 1 1784 23 view .LVU907
  5733. 2846 0042 9A62 str r2, [r3, #40]
  5734. 1787:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5735. 2847 .loc 1 1787 3 is_stmt 1 view .LVU908
  5736. 1787:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5737. 2848 .loc 1 1787 7 is_stmt 0 view .LVU909
  5738. 2849 0044 0268 ldr r2, [r0]
  5739. 1787:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5740. 2850 .loc 1 1787 23 view .LVU910
  5741. 2851 0046 5368 ldr r3, [r2, #4]
  5742. 2852 0048 23F01F03 bic r3, r3, #31
  5743. ARM GAS /tmp/ccMhywUy.s page 100
  5744. 2853 004c 5360 str r3, [r2, #4]
  5745. 1790:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5746. 2854 .loc 1 1790 3 is_stmt 1 view .LVU911
  5747. 1790:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5748. 2855 .loc 1 1790 7 is_stmt 0 view .LVU912
  5749. 2856 004e 0268 ldr r2, [r0]
  5750. 1790:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5751. 2857 .loc 1 1790 23 view .LVU913
  5752. 2858 0050 5468 ldr r4, [r2, #4]
  5753. 2859 0052 8B89 ldrh r3, [r1, #12]
  5754. 2860 0054 2343 orrs r3, r3, r4
  5755. 2861 0056 5360 str r3, [r2, #4]
  5756. 1793:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5757. 2862 .loc 1 1793 3 is_stmt 1 view .LVU914
  5758. 1793:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5759. 2863 .loc 1 1793 3 view .LVU915
  5760. 2864 0058 0023 movs r3, #0
  5761. 2865 005a 80F83C30 strb r3, [r0, #60]
  5762. 1793:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5763. 2866 .loc 1 1793 3 view .LVU916
  5764. 1796:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5765. 2867 .loc 1 1796 3 view .LVU917
  5766. 1796:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5767. 2868 .loc 1 1796 10 is_stmt 0 view .LVU918
  5768. 2869 005e 1846 mov r0, r3
  5769. 2870 .LVL155:
  5770. 1797:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5771. 2871 .loc 1 1797 1 view .LVU919
  5772. 2872 0060 5DF8044B ldr r4, [sp], #4
  5773. 2873 .LCFI28:
  5774. 2874 .cfi_remember_state
  5775. 2875 .cfi_restore 4
  5776. 2876 .cfi_def_cfa_offset 0
  5777. 2877 0064 7047 bx lr
  5778. 2878 .LVL156:
  5779. 2879 .L201:
  5780. 2880 .LCFI29:
  5781. 2881 .cfi_restore_state
  5782. 1766:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5783. 2882 .loc 1 1766 5 is_stmt 1 view .LVU920
  5784. 2883 0066 0268 ldr r2, [r0]
  5785. 2884 0068 5368 ldr r3, [r2, #4]
  5786. 2885 006a 43F04003 orr r3, r3, #64
  5787. 2886 006e 5360 str r3, [r2, #4]
  5788. 2887 0070 D6E7 b .L195
  5789. 2888 .L196:
  5790. 2889 .LCFI30:
  5791. 2890 .cfi_def_cfa_offset 0
  5792. 2891 .cfi_restore 4
  5793. 1761:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5794. 2892 .loc 1 1761 3 is_stmt 0 view .LVU921
  5795. 2893 0072 0220 movs r0, #2
  5796. 2894 .LVL157:
  5797. 1797:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5798. 2895 .loc 1 1797 1 view .LVU922
  5799. 2896 0074 7047 bx lr
  5800. 2897 .cfi_endproc
  5801. ARM GAS /tmp/ccMhywUy.s page 101
  5802. 2898 .LFE149:
  5803. 2900 .section .text.HAL_ADC_GetState,"ax",%progbits
  5804. 2901 .align 1
  5805. 2902 .global HAL_ADC_GetState
  5806. 2903 .syntax unified
  5807. 2904 .thumb
  5808. 2905 .thumb_func
  5809. 2907 HAL_ADC_GetState:
  5810. 2908 .LVL158:
  5811. 2909 .LFB150:
  5812. 1826:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** /* Return ADC state */
  5813. 2910 .loc 1 1826 1 is_stmt 1 view -0
  5814. 2911 .cfi_startproc
  5815. 2912 @ args = 0, pretend = 0, frame = 0
  5816. 2913 @ frame_needed = 0, uses_anonymous_args = 0
  5817. 2914 @ link register save eliminated.
  5818. 1828:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5819. 2915 .loc 1 1828 3 view .LVU924
  5820. 1828:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5821. 2916 .loc 1 1828 14 is_stmt 0 view .LVU925
  5822. 2917 0000 006C ldr r0, [r0, #64]
  5823. 2918 .LVL159:
  5824. 1829:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5825. 2919 .loc 1 1829 1 view .LVU926
  5826. 2920 0002 7047 bx lr
  5827. 2921 .cfi_endproc
  5828. 2922 .LFE150:
  5829. 2924 .section .text.HAL_ADC_GetError,"ax",%progbits
  5830. 2925 .align 1
  5831. 2926 .global HAL_ADC_GetError
  5832. 2927 .syntax unified
  5833. 2928 .thumb
  5834. 2929 .thumb_func
  5835. 2931 HAL_ADC_GetError:
  5836. 2932 .LVL160:
  5837. 2933 .LFB151:
  5838. 1838:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** return hadc->ErrorCode;
  5839. 2934 .loc 1 1838 1 is_stmt 1 view -0
  5840. 2935 .cfi_startproc
  5841. 2936 @ args = 0, pretend = 0, frame = 0
  5842. 2937 @ frame_needed = 0, uses_anonymous_args = 0
  5843. 2938 @ link register save eliminated.
  5844. 1839:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5845. 2939 .loc 1 1839 3 view .LVU928
  5846. 1839:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c **** }
  5847. 2940 .loc 1 1839 14 is_stmt 0 view .LVU929
  5848. 2941 0000 406C ldr r0, [r0, #68]
  5849. 2942 .LVL161:
  5850. 1840:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c ****
  5851. 2943 .loc 1 1840 1 view .LVU930
  5852. 2944 0002 7047 bx lr
  5853. 2945 .cfi_endproc
  5854. 2946 .LFE151:
  5855. 2948 .text
  5856. 2949 .Letext0:
  5857. 2950 .file 2 "/home/gitc/\346\241\214\351\235\242/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include/
  5858. 2951 .file 3 "/home/gitc/\346\241\214\351\235\242/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include/
  5859. ARM GAS /tmp/ccMhywUy.s page 102
  5860. 2952 .file 4 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h"
  5861. 2953 .file 5 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h"
  5862. 2954 .file 6 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h"
  5863. 2955 .file 7 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h"
  5864. 2956 .file 8 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h"
  5865. 2957 .file 9 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h"
  5866. 2958 .file 10 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h"
  5867. 2959 .file 11 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h"
  5868. ARM GAS /tmp/ccMhywUy.s page 103
  5869. DEFINED SYMBOLS
  5870. *ABS*:0000000000000000 stm32f4xx_hal_adc.c
  5871. /tmp/ccMhywUy.s:20 .text.ADC_Init:0000000000000000 $t
  5872. /tmp/ccMhywUy.s:25 .text.ADC_Init:0000000000000000 ADC_Init
  5873. /tmp/ccMhywUy.s:275 .text.ADC_Init:000000000000012c $d
  5874. /tmp/ccMhywUy.s:281 .text.HAL_ADC_MspInit:0000000000000000 $t
  5875. /tmp/ccMhywUy.s:287 .text.HAL_ADC_MspInit:0000000000000000 HAL_ADC_MspInit
  5876. /tmp/ccMhywUy.s:302 .text.HAL_ADC_Init:0000000000000000 $t
  5877. /tmp/ccMhywUy.s:308 .text.HAL_ADC_Init:0000000000000000 HAL_ADC_Init
  5878. /tmp/ccMhywUy.s:411 .text.HAL_ADC_MspDeInit:0000000000000000 $t
  5879. /tmp/ccMhywUy.s:417 .text.HAL_ADC_MspDeInit:0000000000000000 HAL_ADC_MspDeInit
  5880. /tmp/ccMhywUy.s:432 .text.HAL_ADC_DeInit:0000000000000000 $t
  5881. /tmp/ccMhywUy.s:438 .text.HAL_ADC_DeInit:0000000000000000 HAL_ADC_DeInit
  5882. /tmp/ccMhywUy.s:510 .text.HAL_ADC_Start:0000000000000000 $t
  5883. /tmp/ccMhywUy.s:516 .text.HAL_ADC_Start:0000000000000000 HAL_ADC_Start
  5884. /tmp/ccMhywUy.s:772 .text.HAL_ADC_Start:000000000000011c $d
  5885. /tmp/ccMhywUy.s:781 .text.HAL_ADC_Stop:0000000000000000 $t
  5886. /tmp/ccMhywUy.s:787 .text.HAL_ADC_Stop:0000000000000000 HAL_ADC_Stop
  5887. /tmp/ccMhywUy.s:846 .text.HAL_ADC_PollForConversion:0000000000000000 $t
  5888. /tmp/ccMhywUy.s:852 .text.HAL_ADC_PollForConversion:0000000000000000 HAL_ADC_PollForConversion
  5889. /tmp/ccMhywUy.s:1008 .text.HAL_ADC_PollForEvent:0000000000000000 $t
  5890. /tmp/ccMhywUy.s:1014 .text.HAL_ADC_PollForEvent:0000000000000000 HAL_ADC_PollForEvent
  5891. /tmp/ccMhywUy.s:1120 .text.HAL_ADC_Start_IT:0000000000000000 $t
  5892. /tmp/ccMhywUy.s:1126 .text.HAL_ADC_Start_IT:0000000000000000 HAL_ADC_Start_IT
  5893. /tmp/ccMhywUy.s:1388 .text.HAL_ADC_Start_IT:000000000000012c $d
  5894. /tmp/ccMhywUy.s:1397 .text.HAL_ADC_Stop_IT:0000000000000000 $t
  5895. /tmp/ccMhywUy.s:1403 .text.HAL_ADC_Stop_IT:0000000000000000 HAL_ADC_Stop_IT
  5896. /tmp/ccMhywUy.s:1467 .text.HAL_ADC_Start_DMA:0000000000000000 $t
  5897. /tmp/ccMhywUy.s:1473 .text.HAL_ADC_Start_DMA:0000000000000000 HAL_ADC_Start_DMA
  5898. /tmp/ccMhywUy.s:1763 .text.HAL_ADC_Start_DMA:000000000000015c $d
  5899. /tmp/ccMhywUy.s:2337 .text.ADC_DMAConvCplt:0000000000000000 ADC_DMAConvCplt
  5900. /tmp/ccMhywUy.s:1944 .text.ADC_DMAHalfConvCplt:0000000000000000 ADC_DMAHalfConvCplt
  5901. /tmp/ccMhywUy.s:2297 .text.ADC_DMAError:0000000000000000 ADC_DMAError
  5902. /tmp/ccMhywUy.s:1775 .text.HAL_ADC_Stop_DMA:0000000000000000 $t
  5903. /tmp/ccMhywUy.s:1781 .text.HAL_ADC_Stop_DMA:0000000000000000 HAL_ADC_Stop_DMA
  5904. /tmp/ccMhywUy.s:1871 .text.HAL_ADC_GetValue:0000000000000000 $t
  5905. /tmp/ccMhywUy.s:1877 .text.HAL_ADC_GetValue:0000000000000000 HAL_ADC_GetValue
  5906. /tmp/ccMhywUy.s:1897 .text.HAL_ADC_ConvCpltCallback:0000000000000000 $t
  5907. /tmp/ccMhywUy.s:1903 .text.HAL_ADC_ConvCpltCallback:0000000000000000 HAL_ADC_ConvCpltCallback
  5908. /tmp/ccMhywUy.s:1918 .text.HAL_ADC_ConvHalfCpltCallback:0000000000000000 $t
  5909. /tmp/ccMhywUy.s:1924 .text.HAL_ADC_ConvHalfCpltCallback:0000000000000000 HAL_ADC_ConvHalfCpltCallback
  5910. /tmp/ccMhywUy.s:1939 .text.ADC_DMAHalfConvCplt:0000000000000000 $t
  5911. /tmp/ccMhywUy.s:1971 .text.HAL_ADC_LevelOutOfWindowCallback:0000000000000000 $t
  5912. /tmp/ccMhywUy.s:1977 .text.HAL_ADC_LevelOutOfWindowCallback:0000000000000000 HAL_ADC_LevelOutOfWindowCallback
  5913. /tmp/ccMhywUy.s:1992 .text.HAL_ADC_ErrorCallback:0000000000000000 $t
  5914. /tmp/ccMhywUy.s:1998 .text.HAL_ADC_ErrorCallback:0000000000000000 HAL_ADC_ErrorCallback
  5915. /tmp/ccMhywUy.s:2013 .text.HAL_ADC_IRQHandler:0000000000000000 $t
  5916. /tmp/ccMhywUy.s:2019 .text.HAL_ADC_IRQHandler:0000000000000000 HAL_ADC_IRQHandler
  5917. /tmp/ccMhywUy.s:2292 .text.ADC_DMAError:0000000000000000 $t
  5918. /tmp/ccMhywUy.s:2332 .text.ADC_DMAConvCplt:0000000000000000 $t
  5919. /tmp/ccMhywUy.s:2446 .text.HAL_ADC_ConfigChannel:0000000000000000 $t
  5920. /tmp/ccMhywUy.s:2452 .text.HAL_ADC_ConfigChannel:0000000000000000 HAL_ADC_ConfigChannel
  5921. /tmp/ccMhywUy.s:2765 .text.HAL_ADC_ConfigChannel:000000000000018c $d
  5922. /tmp/ccMhywUy.s:2772 .text.HAL_ADC_AnalogWDGConfig:0000000000000000 $t
  5923. /tmp/ccMhywUy.s:2778 .text.HAL_ADC_AnalogWDGConfig:0000000000000000 HAL_ADC_AnalogWDGConfig
  5924. /tmp/ccMhywUy.s:2901 .text.HAL_ADC_GetState:0000000000000000 $t
  5925. /tmp/ccMhywUy.s:2907 .text.HAL_ADC_GetState:0000000000000000 HAL_ADC_GetState
  5926. ARM GAS /tmp/ccMhywUy.s page 104
  5927. /tmp/ccMhywUy.s:2925 .text.HAL_ADC_GetError:0000000000000000 $t
  5928. /tmp/ccMhywUy.s:2931 .text.HAL_ADC_GetError:0000000000000000 HAL_ADC_GetError
  5929. UNDEFINED SYMBOLS
  5930. SystemCoreClock
  5931. HAL_GetTick
  5932. HAL_DMA_Start_IT
  5933. HAL_DMA_Abort
  5934. HAL_ADCEx_InjectedConvCpltCallback